libs/gst/base/gstbasetransform.*: Add vmethod that is called before we start the...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * libs/gst/base/gstbasetransform.c:
4         (gst_base_transform_prepare_output_buffer),
5         (gst_base_transform_getrange), (gst_base_transform_chain):
6         * libs/gst/base/gstbasetransform.h:
7         Add vmethod that is called before we start the transform and which can
8         be used to configure the transform, such as dynamic properties.
9
10 2008-12-05  David Schleef  <ds@schleef.org>
11
12         * gst/gst.c:
13         Search for plugins on win32 based on the location of the
14         gstreamer DLL.  Fixes #548786
15
16 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
17
18         * configure.ac:
19         Apparently AC_CONFIG_MACRO_DIR breaks when using more
20         than one macro directory, reverting last change.
21
22 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
23
24         * configure.ac:
25         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
26         our M4 macros.
27
28 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
29
30         Patch by: Cygwin Ports maintainer
31                   <yselkowitz at users dot sourceforge dot net>
32
33         * autogen.sh:
34         * configure.ac:
35         Require gettext 0.17 because older versions don't mix with libtool
36         2.2. At build time an older gettext version will still work.
37         Fixes bug #556091.
38
39 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
40
41         Patch by: 이문형 <iwings at gmail dot com>
42
43         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
44         Adds support for FD_CONNECT event (win32). See #562258.
45
46 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
47
48         * libs/gst/base/gstbasesink.c:
49           Turn comment into gtk-doc comment.
50
51 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
52
53         * libs/gst/base/gstbasetransform.c:
54         (gst_base_transform_acceptcaps):
55         Revert quick accepcaps attempt, it's not fully equivalent to the old
56         behaviour and thus causes regressions.
57
58 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
59
60         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
61         Fix memory leak.
62
63 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
64
65         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
66
67         * gst/gstregistry.c: (gst_registry_scan_path_level):
68         Reduce the number of stat() calls for every file from three times
69         to one time. Fixes bug #560360.
70
71 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
72
73         * libs/gst/base/gstbasetransform.c:
74         (gst_base_transform_acceptcaps):
75         Rename a variable to make the code clearer.
76
77 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
78
79         * plugins/elements/gstidentity.c:
80         Don't warning on offset==-1. Taken from _check_imperfect_offset().
81
82 2008-11-21  Michael Smith <msmith@songbirdnest.com>
83
84         * plugins/elements/gstfilesrc.c:
85           Check for localhost in URI was backwards, fix it. Fixes unit test.
86
87 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
88
89         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
90         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
91         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
92         Add beginnings of a more optimized acceptcaps function than the default
93         core one.
94
95 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
96
97         * gst/gstpad.c: (gst_pad_accept_caps):
98         Avoid getting the acceptcaps function too early.
99
100 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
101
102         * tools/gst-launch.c: (event_loop):
103         Make gst-launch handle LATENCY messages and make it recalculate the
104         latency.
105
106 2008-11-20  Michael Smith <msmith@songbirdnest.com>
107
108         * plugins/elements/gstfilesrc.c:
109           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
110           out own slightly incorrect version. Fixes use of some paths on
111           win32.
112
113 2008-11-20  Michael Smith <msmith@songbirdnest.com>
114
115         * gst/gstregistrybinary.c:
116           In win32 codepath, if we fail to write the registry, create the
117           directory for it and try again, matching the behaviour in non-win32
118           codepaths.
119
120 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
121
122         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
123         Changing the render delay changes the latency and so we must post a
124         latency message.
125
126 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
127
128         * gst/gstquery.c:
129         * gst/gstquery.h:
130         Add GstQueryType for custom queries instead of having to use the
131         not-so-very-convenient registration infrastructure to register new
132         types.
133
134 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
135
136         Patch by: Andrew Feren <acferen at yahoo dot com>
137
138         * gst/gstobject.c: (gst_object_default_deep_notify):
139         Unref the GEnumClass after usage again. Fixes bug #561501.
140
141 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
142
143         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
144         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
145         (gst_bin_change_state_func):
146         * gst/gstbin.h:
147         Add do-latency signal with the old default fallback implementation. This
148         allows for custom latency calculations for when the default is not
149         sufficient.
150         API: GstBin::do-latency signal.
151
152 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
153
154         * win32/common/libgstreamer.def:
155         Add new symbols to .def file.
156
157 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
158
159         * docs/gst/gstreamer-sections.txt:
160         * gst/gstbin.c: (gst_bin_recalculate_latency),
161         (gst_bin_change_state_func):
162         * gst/gstbin.h:
163         Add method to recalculate and redistribute the latency on a bin.
164         API: gst_bin_recalculate_latency().
165
166 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
167
168         * gst/gstbuffer.h:
169         Document the free_func.
170
171 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
172
173         * libs/gst/controller/gstinterpolation.c:
174         * libs/gst/controller/gstlfocontrolsource.c:
175         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
176         as it is mapped to a cast on non-win32 platforms.
177
178 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
179
180         * libs/gst/controller/gstcontroller.c:
181         * libs/gst/controller/gstcontrollerprivate.h:
182           Keep last-value and only call set_property if value has changed. This
183           supresses all the g_object_notifies we would trigger otherwise. It
184           also allows the user to chage the value while there is no controller
185           change.
186
187 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
188
189         * gst/gstvalue.c:
190           Don't crash if either of the string GValues is empty.
191
192 2008-11-17  Andy Wingo  <wingo@pobox.com>
193
194         * tools/gst-inspect.c (print_all_uri_handlers): New function,
195         prints a summary of what URI schemes are supported by what
196         elements.
197         (main): Plumb in support for --uri-handlers or -u, and fix the
198         argc check for -a and -u.
199
200 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
201
202         * gst/gstutils.h:
203         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
204         conversion functions.
205
206 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
207
208         * gst/gstbuffer.c: (gst_buffer_finalize):
209         Avoid costly typechecking for trivially correct pointers.
210
211         * gst/gstpoll.c: (gst_poll_wait):
212         Add some G_LIKELY here and there.
213
214         * libs/gst/base/gstadapter.c: (gst_adapter_push):
215         Add some debug info.
216
217 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
218
219         * docs/random/wtay/poll-timeout:
220         Small tweaks.
221
222 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
223
224         * tests/old/testsuite/caps/intersection.c: (main):
225         * tests/old/testsuite/plugin/loading.c: (main):
226         Remove references to deprecated API g_mem_chunk*.
227         Fixes #560442.
228
229 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
230
231         * tools/gst-inspect.c: (main):
232         Add --plugin option. Fixes #560301.
233
234 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
235
236         * docs/random/wtay/poll-timeout:
237         Quick braindump for a possible (not totally verified) atomic case.
238
239 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
240
241         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
242         (gst_registry_binary_initialize_magic),
243         (gst_registry_binary_write_cache),
244         (gst_registry_binary_check_magic):
245         * gst/gstregistrybinary.h:
246         Don't write and check a CRC for the binary registry file. It's
247         guaranteed that the registry is completely written (it's first written
248         to a temporary file and then moved) and if the registry was corrupted
249         by some hardware failure we would have bigger problems.
250
251         Bump binary registry version to 0.10.21.1 for this as it's an
252         incompatible change and to ensure that the registry gets rebuild
253         after the update.
254
255         This saves some milliseconds for reading/writing the registry.
256         Fixes bug #560399.
257
258 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
259
260         * docs/random/wtay/poll-timeout:
261         Some pseudo code for how we could implement clock timeouts with GstPoll.
262
263 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
264
265         * plugins/elements/gstfilesink.c:
266           Update Author string to match others.
267
268 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
269
270         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
271         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
272         being fixed and inline the trivial check.
273
274 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
275
276         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
277         (gst_caps_merge_structure), (gst_caps_get_structure),
278         (gst_caps_copy_nth), (gst_caps_set_simple),
279         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
280         (gst_caps_is_equal_fixed), (gst_caps_intersect),
281         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
282         (gst_caps_to_string):
283         Callgrind micro optimisations.
284         Avoid array bounds checks and force inline of trivial function.
285
286         * gst/gstobject.c: (gst_object_set_name_default):
287         -1 is equivalent to letting glib to the strlen but then there is more
288         room for optimisations and it's not our fault.
289
290         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
291         no need to clear the array, we're cool.
292
293         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
294         The most common _is_fixed() check is done on fundamental glib base
295         types so we check this first instead of doing a huge amount of
296         useless GST_TYPE_ARRAY calls.
297
298 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
299
300         * gst/gstevent.h:
301         Add a SKIP seek flag for use with advanced trickmodes.
302         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
303
304 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
305
306         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
307         No need to memset, we can clear the value ourselves.
308
309         * gst/gstvalue.c: (gst_type_is_fixed),
310         (gst_value_get_compare_func):
311         Some optimisations from a few callgrind sessions:
312         When checking if a type is fixed, check for trivial fundamental types
313         first before checking types for which we need to get the type followed
314         by the heavy duty type checks, this reduces the amount of
315         g_type_fundamental() calls a lot.
316         When getting the compare function, first check for our registered types.
317         If that fails, do the heavy duty g_type_is_a() checks, reduces the
318         amount of g_type_is_a() considerably.
319
320 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
321
322         * docs/design/part-TODO.txt:
323         Mumble something about removing GstXML.
324
325 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
326
327         * gst/gstbin.c: (gst_bin_handle_message_func):
328         Get the seqnum before we dispose the message.
329
330 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
331
332         * docs/design/part-TODO.txt:
333         Refer to the framestepping document.
334
335 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
336
337         * gst/gstbin.c: (bin_handle_async_start),
338         (gst_bin_handle_message_func), (gst_bin_query):
339         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
340         (gst_base_sink_event), (gst_base_sink_change_state):
341         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
342         (gst_base_src_loop), (gst_base_src_change_state):
343         Copy seqnums from events to messages so that they can all be related
344         back to eachother.
345
346 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
347
348         * tools/gst-launch.c: (event_loop):
349         Print the message seqnums.
350
351 2008-11-04  Andy Wingo  <wingo@pobox.com>
352
353         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
354
355 2008-11-04  Andy Wingo  <wingo@pobox.com>
356
357         Add sequence numbers to events and messages. See #559250.
358
359         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
360         API: New functions.
361
362         * gst/gstevent.h:
363         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
364         events with a new sequence number, and copy it when copying.
365         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
366         an event's sequence number.
367
368         * gst/gstmessage.h:
369         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
370         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
371         so with messages.
372
373         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
374
375 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
376
377         * docs/manual/advanced-position.xml:
378         * docs/manual/basics-bins.xml:
379         * docs/manual/basics-bus.xml:
380         * docs/manual/basics-pads.xml:
381         * docs/manual/intro-gstreamer.xml:
382         * docs/manual/intro-preface.xml:
383         Some Application Development Manual fixes thanks to
384         Andrew Feren. Fixes #558459.
385
386 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
387
388         * gst/gstregistrybinary.c:
389           Don't bother with the GTimer if we don't output the results.
390
391 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
392
393         Patch by: David Schleef  <ds@schleef.org>
394
395         * libs/gst/net/Makefile.am:
396         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
397
398 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
399
400         * gst/gstregistrybinary.c:
401           Oh my, studip, stupid me. Remove double stat() call.
402
403 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
404
405         * gst/gstpreset.c:
406           Use g_unlink instead of unlink.
407
408         * gst/gststructure.c:
409           Use glib type.
410
411         * gst/gstutils.c:
412           Add a FIXME:.
413
414         * gst/gsttaglist.c:
415         * gst/gsttypefind.c:
416         * gst/gstvalue.c:
417           Formatting & whitespaces.
418
419 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
420
421         * plugins/elements/gstidentity.c:
422           Doc typo. Use return value of parent_class->event.
423   
424         * plugins/elements/gsttypefindelement.c:
425           Chain up at the end for consistency.
426   
427 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
428
429         * docs/Makefile.am:
430         * docs/gst/gstreamer-docs.sgml:
431         * docs/gst/gstreamer-sections.txt:
432         * docs/gst/running.xml:
433         * docs/libs/gstreamer-libs-docs.sgml:
434           Change to xinclude based build - its faster and easier to maintain.
435
436 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
437
438         * gst/gstregistrybinary.c:
439         * gst/gstregistryxml.c:
440           Use g_unlink() as none of these are directories.
441
442 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
443
444         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
445         Some more comments.
446
447 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
448
449         * libs/gst/base/gstbasetransform.c:
450         (gst_base_transform_find_transform), (gst_base_transform_getrange):
451         If we have a fixate function, call it even if we already have fixed caps
452         because the subclass might add some caps. Makes audioconvert add a
453         default channel layout.
454
455 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
456
457         * libs/gst/base/gstbasetransform.c:
458         (gst_base_transform_prepare_output_buffer),
459         (gst_base_transform_getrange):
460         Clear the output buffer variable.
461         Cleanups to the error path in the getrange function.
462         Fixes #557649.
463
464 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
465
466         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
467         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
468         Use gst_buffer_try_new_and_alloc() and handle errors instead of
469         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
470         be allocated.
471
472 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
473
474         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
475         Set the last_stop to a more meaningful position when configuring the
476         segment. ie. the start/stop of the segment or clipped against the
477         updated segment boundaries.
478
479         * tests/check/gst/gstsegment.c: (GST_START_TEST):
480         Add some unit tests for the last_stop.
481
482 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
483
484         * libs/gst/base/gstbytereader.c:
485         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
486         copies of them.
487
488 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
489
490         * docs/gst/gstreamer-sections.txt:
491         * gst/gstutils.h:
492         API: Move float endianness conversion macros from libgstfloatcast
493         to core as it's useful in general, even in core. Fixes bug #555196.
494         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
495         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
496         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
497
498         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
499         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
500         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
501         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
502
503 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
504
505         * docs/libs/gstreamer-libs-sections.txt:
506         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
507         (gst_byte_reader_peek_data):
508         * libs/gst/base/gstbytereader.h:
509         * win32/common/libgstbase.def:
510         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
511         to get a pointer to the data at the current position and have
512         a guaranteed size.
513
514 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
515
516         * configure.ac:
517         Fix a bug in the output of the configure script summary
518         when --gst-disable-registry is supplied
519
520 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
521
522         * libs/gst/base/gstbitreader.c:
523         * libs/gst/base/gstbytereader.c:
524         Fix the names of 2 functions in the docs strings.
525
526 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
527
528         * libs/gst/base/gstbasetransform.c:
529         (gst_base_transform_prepare_output_buffer),
530         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
531         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
532         refcount problems as seen in banshee and maybe also in farsight2.
533         Remove atomic int now that we need to take the lock anyways.
534
535 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
536
537         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
538         (gst_base_sink_default_prepare_seek_segment),
539         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
540         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
541         (gst_base_sink_query):
542         Implement more seeking in pull mode.
543         Use pad convert functions to convert position to the requested format.
544         Fix position/duration reporting in pull mode.
545         Implement position and duration reporting in other formats than time.
546
547         * libs/gst/base/gstbasesink.h:
548         Add member to keep track of when the segment is playing.
549
550 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
551
552         * gst/gstpad.c: (gst_pad_configure_src):
553         When we use gst_pad_alloc_buffer() without wanting to set the caps we
554         also don't need to check if the caps are compatible because the caller
555         presumably is going to perform its own custom checks. Fixes some cases
556         where basetransform elements would error out when it was not needed.
557
558 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
559
560         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
561         Update comment.
562
563         * libs/gst/base/gstbasetransform.c:
564         (gst_base_transform_handle_buffer),
565         (gst_base_transform_reconfigure):
566         Add some debug info.
567
568         * win32/common/libgstbase.def:
569         Add new method.
570
571 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
572
573         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
574           Remove duplicated assignment and log a message in failure case.
575
576 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
577
578         Patch by: Dig Ge <dig.ge.cn at gmail com>
579
580         * tests/examples/helloworld/helloworld.c: (main):
581           Fix copy'n'paste bug in hello world example (#556900).
582
583 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
584
585         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
586         (gst_base_sink_query):
587         Query the total number of bytes when activating the pad in pull mode.
588         Implement duration query in pull mode by using the installed pad convert
589         function to convert from bytes to the requested format.
590
591 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
592
593         * docs/libs/gstreamer-libs-sections.txt:
594         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
595         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
596         (gst_base_sink_event), (gst_base_sink_perform_seek),
597         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
598         (gst_base_sink_send_event), (gst_base_sink_change_state):
599         * libs/gst/base/gstbasesink.h:
600         Add method to commit the state in subclasses.
601         Refactor the flush_start and flush_stop code because we need it for
602         flushing while seeking too.
603         Implement the beginnings of seeking in pull mode.
604         Use the segment last_stop field for the pulling offset.
605         Fix the pause method in pull mode.
606         Configure the segment to BYTES for pull mode.
607         API: GstBaseSink::gst_base_sink_do_preroll()
608
609 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
610
611         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
612         Update some docs.
613
614 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
615
616         * gst/gstquark.c: (_priv_gst_quarks_initialize):
617           Fix printf format warning.
618
619 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
620
621         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
622         Fix flow aggregation of tee. Error out immediately for all flow returns
623         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
624         and return OK if at least one pad is linked.
625
626         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
627         and otherwise returned the flow return of the last pad, which is wrong.
628         
629         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
630         (GST_START_TEST), (tee_suite):
631         Add unit tests for the flow aggregation.
632
633 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
634
635         * docs/design/part-TODO.txt:
636         Remove item from the todo list because it was fixed with the latency
637         state change rewrites.
638
639         * docs/design/part-seeking.txt:
640         * docs/design/part-segments.txt:
641         Update some docs.
642
643         * gst/gstevent.c: (gst_event_new_new_segment_full),
644         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
645         (gst_event_parse_buffer_size), (gst_event_new_qos),
646         (gst_event_parse_qos), (gst_event_new_seek),
647         (gst_event_parse_seek), (gst_event_new_latency),
648         (gst_event_parse_latency):
649         Use quarks to construct and parse events.
650
651         * gst/gstquark.c: (_priv_gst_quarks_initialize):
652         * gst/gstquark.h:
653         Add some more quarks to the table.
654         Emit a warning when the quark tables are not in sync.
655
656         * tests/check/gst/gstbus.c: (GST_START_TEST):
657         Add an assert.
658
659 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
660
661         * plugins/elements/Makefile.am:
662         * plugins/indexers/Makefile.am:
663           Don't install static libs for plugins. Fixes #550851 for core.
664
665 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
666
667         * gst/gstbus.c: (gst_bus_source_finalize),
668         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
669         (gst_bus_enable_sync_message_emission),
670         (gst_bus_disable_sync_message_emission),
671         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
672         Fix deadlock, g_source_get_id() cannot be called in finalize.
673         Keep track of the watch source by keeping a pointer to the source object
674         instead.
675         Use the bus lock to protect access to the pointer to the current
676         watch source.
677
678 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
679
680         Base on Patch by: Olivier Crete <tester at tester dot ca>
681
682         * gst/gstbus.c: (gst_bus_source_finalize),
683         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
684         Only allow one bus watch to be set at a time. This is necessary
685         because the dispatcher pops the message from the bus and the second
686         watcher will then get NULL or the next message (and the first won't
687         get this next message then, etc). If more than one "watcher" is
688         required signal watches should be used. Fixes bug #526044.
689
690 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
691
692         * tools/gst-launch.c:
693         Change the printing of the 'buffering...' output to avoid putting
694         a \r in a translateable string (flagged by the TP).
695
696 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
697
698         * gst/gstxml.c:
699         Clarify that the save_thyself() and restore_thyself() virtual
700         functions of GstObject need to be overriden, not
701         gst_object_(save|restore)_thyself() which is impossible.
702         Fixes bug #555700.
703
704 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
705
706         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
707         Revert a patch from 21 months ago that broke caps negotiation in pull
708         mode. Basically, having a buffer pass over a pad will trigger the
709         setcaps function when caps change, just like in push mode.
710
711 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
712
713         * docs/design/part-negotiation.txt:
714         Update the docs some more.
715
716         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
717         If we pull a buffer with non-trivial caps, suggest those caps with the
718         max probability.
719
720 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
721
722         * docs/design/part-TODO.txt:
723         Add another limitation of pad-blocking with segment seeks not pushing
724         EOS events.
725
726 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
727
728         * win32/common/libgstbase.def:
729         * win32/common/libgstreamer.def:
730         Add new symbols to the win32 defs files
731
732 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
733
734         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
735         (gst_bin_handle_message_func):
736         The message src can be NULL, don't try to print the object names in that
737         case.
738
739         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
740         Add some more debug info.
741
742         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
743         (GST_START_TEST):
744         Add some debug.
745         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
746         scheduling modes.
747
748 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
749
750         * docs/design/part-negotiation.txt:
751         Small doc update.
752
753         * docs/libs/gstreamer-libs-sections.txt:
754         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
755         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
756         (gst_base_sink_init), (gst_base_sink_set_blocksize),
757         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
758         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
759         (gst_base_sink_loop), (gst_base_sink_pad_activate),
760         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
761         (gst_base_sink_change_state):
762         * libs/gst/base/gstbasesink.h:
763         Add blocksize property and methods to control the amount of data
764         to pull.
765         Negotiate first before activating upstream in pull mode so that they can
766         negotiate themselves.
767         When we operate in pull mode, we only accept the caps that we
768         negotiated.
769         Make the sink go ASYNC to PAUSED, like all other sinks.
770         API: GstBaseSink::gst_base_sink_set_blocksize()
771         API: GstBaseSink::gst_base_sink_get_blocksize()
772         API: GstBaseSink::blocksize
773
774         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
775         (gst_base_src_set_live), (gst_base_src_is_live),
776         (gst_base_src_set_format), (gst_base_src_query_latency),
777         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
778         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
779         (gst_base_src_set_property), (gst_base_src_get_property):
780         * libs/gst/base/gstbasesrc.h:
781         Add typechecking in public API functions.
782         Add methods to control the blocksize in subclasses.
783         API: GstBaseSrc::gst_base_src_set_blocksize()
784         API: GstBaseSrc::gst_base_src_get_blocksize()
785
786 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
787
788         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
789         (buffer_probe), (event_probe), (GST_START_TEST):
790         We now see 3 events go through our pad, since basesink now sends
791         upstream latency events.
792
793 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
794
795         * gst/gstpipeline.c: (gst_pipeline_change_state):
796         Release the object lock before trying to flush the bus.
797
798 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
799
800         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
801         Forward LATENCY events upstreams so that elements know about the total
802         pipeline latency. Fixes #555307.
803
804 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
805
806         * plugins/elements/gstqueue.c:
807         Allow through queries when we don't know how
808         to adjust them (not TIME or BYTES), as otherwise it's
809         not possible to query the current position in order
810         to seek in other formats at all.
811
812 2008-10-08  Andy Wingo  <wingo@pobox.com>
813
814         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
815
816 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
817
818         * gst/gstghostpad.c:
819         * gst/gstghostpad.h:
820         Unbreak -good build, private is a reserved c++ keyword.
821
822 2008-10-08  Andy Wingo  <wingo@pobox.com>
823
824         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
825         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
826         removal: re-add GST_GHOST_PAD_CAST to the header.
827
828         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
829         (GstGhostPadClass): Publically expose these structures so as to
830         allow easy subclassing from C. Hide the member data behind a
831         private opaque data pointer.
832
833         * gst/gstghostpad.c: Adapt to store instance data in the type
834         instance's private data region, not in the public struct.
835
836 2008-10-08  Andy Wingo  <wingo@pobox.com>
837
838         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
839         template via g_object_get(), be sure to unref it.
840
841         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
842
843 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
844
845         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
846         If we can't get a cache file don't try to save something to it.
847         Dereferencing NULL pointers usually isn't a good idea.
848
849 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
850
851         * tests/check/Makefile.am:
852         * tests/check/gst/gstabi.c:
853         * tests/check/gst/struct_sparc.h:
854         * tests/check/libs/libsabi.c:
855         * tests/check/libs/struct_sparc.h:
856         Add Sparc ABI checks
857
858         * tests/check/gst/gstvalue.c: (GST_START_TEST):
859         Cast signed integer to unsigned to avoid a compiler warning.
860
861 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
862
863         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
864         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
865         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
866         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
867         (gst_byte_reader_peek_int24_be):
868         Use new GST_READ_UINT24_(LE|BE) macros.
869
870 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
871
872         * docs/gst/gstreamer-sections.txt:
873         * gst/gstutils.h:
874         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
875         as it's too easy to break the ISO C strict aliasing rules with simple
876         casts to the corresponding type and this would introduce hard to debug
877         bugs. Fixes bug #545714.
878
879         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
880
881 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
882
883         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
884         * gst/gstghostpad.c: (gst_ghost_pad_construct):
885           Add 'Since' bits to gtk-doc chunks for new API.
886
887 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
888
889         * docs/gst/gstreamer-sections.txt:
890         Fix documentation
891
892 2008-10-06  Andy Wingo  <wingo@pobox.com>
893
894         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
895         that will be called on the malloc_data to free it. Basically a way
896         to avoid subclassing when all you need is a different free
897         function, i.e. free() instead of g_free().
898
899         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
900         calling the free function.
901         (gst_buffer_init): Initialize the free function to g_free.
902
903 2008-10-06  Andy Wingo  <wingo@pobox.com>
904
905         * gst/gstghostpad.h:
906         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
907         finishes the initialization of ghost pad. Useful for language
908         bindings and subclassers of GstGhostPad. Fixes #539108.
909         (gst_ghost_pad_new_full): Use the new constructor.
910
911 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
912
913         Base on Patch by: Olivier Crete <tester at tester dot ca>
914
915         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
916         (gst_bin_remove_func), (update_degree),
917         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
918         Keep track of pads that are being linked/unlinked and resync the state
919         changes.
920
921         * gst/gstpad.c: (gst_pad_get_direction),
922         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
923         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
924         (gst_pad_link_prepare), (gst_pad_link),
925         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
926         (gst_pad_check_pull_range), (gst_pad_get_range),
927         (gst_pad_pull_range):
928         Some code cleanups, use macros to check pad direction.
929         Don't need to take the lock on the pad direction.
930         Post structure change when pads are linked/unlinked.
931         Change some checks into _return_if_fail().
932
933         * tests/check/gst/gstbin.c:
934         (test_link_structure_change_state_changed_sync_cb),
935         (GST_START_TEST), (gst_bin_suite):
936         Add testcase for pad link/unlinke resync during a state change.
937         Fixes #510354.
938
939 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
940
941         * docs/gst/gstreamer-sections.txt:
942         * gst/gstmessage.c: (gst_message_new_structure_change),
943         (gst_message_parse_structure_change):
944         * gst/gstmessage.h:
945         Implement STRUCTURE_CHANGED messages. These messages will be used to
946         signal the parent bin of link/unlink operations that could require a
947         resync when doing a state change. See ##510354.
948         API: gst_message_new_structure_change()
949         API: gst_message_parse_structure_change()
950
951 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
952
953         * gst/gstquark.c:
954         * gst/gstquark.h:
955         Add some more quarks for new message. See #510354.
956
957 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
958
959         * docs/libs/gstreamer-libs-docs.sgml:
960         * docs/libs/gstreamer-libs-sections.txt:
961         * libs/gst/base/Makefile.am:
962         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
963         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
964         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
965         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
966         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
967         (gst_bit_reader_skip_to_byte):
968         * libs/gst/base/gstbitreader.h:
969         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
970         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
971         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
972         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
973         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
974         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
975         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
976         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
977         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
978         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
979         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
980         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
981         * libs/gst/base/gstbytereader.h:
982         * tests/check/Makefile.am:
983         * tests/check/libs/bitreader.c: (GST_START_TEST),
984         (gst_bit_reader_suite):
985         * tests/check/libs/bytereader.c: (GST_START_TEST),
986         (gst_byte_reader_suite):
987         API: Add bit reader and byte reader classes, including documentation
988         and an extensive unit test suite. Fixes bug #553554.
989
990 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
991
992         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
993         (gst_base_sink_query):
994         Improve position reporting while flushing and other intermediate state
995         changes. Fixes #553874.
996
997 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
998
999         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1000
1001         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1002         Original patch by : Simon Descaries
1003         Fix small refount leak in caps compatibility check.
1004         Fixes #551676.
1005
1006 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1007
1008         * docs/pwg/advanced-request.xml:
1009           Fix 0.8 api usage in example. Fixes #554561
1010
1011         * docs/pwg/appendix-porting.xml:
1012           Change 0.9 to 0.10 here.
1013
1014 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1015
1016         * docs/manual/basics-data.xml:
1017           Change "event-event interaction" to "element-element interaction".
1018           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1019           updates.
1020
1021 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1022
1023         * configure.ac:
1024         Back to development -> 0.10.21.1
1025
1026 === release 0.10.21 ===
1027
1028 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1029
1030         * configure.ac:
1031           releasing 0.10.21, "Take These Things From Me"
1032
1033 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1034
1035         * configure.ac:
1036         0.10.20.4 pre-release
1037
1038 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1039
1040         * libs/gst/base/gstbasetransform.c:
1041         * plugins/elements/gstcapsfilter.c:
1042         * tests/check/Makefile.am:
1043         * tests/check/elements/.cvsignore:
1044         * tests/check/elements/capsfilter.c:
1045         Fix assertion in basetransform when the subclass chooses not to
1046         allocate a buffer in prepare_buffer(), and make capsfilter error out
1047         cleanly if requested to apply caps that don't completely specify the
1048         buffer. Fixes #551509
1049
1050 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1051
1052         * libs/gst/base/gstbasetransform.c:
1053         (gst_base_transform_prepare_output_buffer):
1054         Take new caps ref because our old one might have been gone when the
1055         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1056
1057 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1058
1059         * configure.ac:
1060           Do not probe availability of check unit test library when cross
1061           compiling, as test would not work anyway. Also cleanup verbose output
1062           of the check test. Fixes #551952.
1063
1064 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1065
1066         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1067
1068         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1069         Avoid leaking the parent ref when we fail changing the state of the
1070         element using gst_element_sync_state_with_parent(). Fixes #551978.
1071
1072 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1073
1074         * docs/manual/intro-motivation.xml::
1075           Remove some bits that no longer apply, update others (#551642).
1076
1077 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1078
1079         * configure.ac:
1080         0.10.20.2 pre-release
1081
1082         * po/LINGUAS:
1083         * po/id.po:
1084         * po/pt_BR.po:
1085
1086         New translations.
1087
1088 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1089
1090         * win32/common/config.h.in:
1091           Add GST_DATADIR, hard-code cpu to x86.
1092
1093         * win32/common/libgstreamer.def:
1094           Spaces to tabs.
1095
1096 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1097
1098         * gst/gsttaglist.h:
1099           Fix Since: markers for new geo tags.
1100
1101 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1102
1103         * gst/gsttaglist.h:
1104           Fix actual tag name define after renaming from altitude to elevation.
1105
1106 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1107
1108         * gst/gstpad.c: (add_unref_pad_to_list),
1109         (gst_pad_get_internal_links_default):
1110         Add fallback when calling the deprecated function on an element that
1111         implements the new internal_link handler.
1112
1113 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1114
1115         * docs/gst/gstreamer-sections.txt:
1116         * gst/gsttaglist.c:
1117         * gst/gsttaglist.h:
1118           Add new tags for geo location and clarify purpose of existing location
1119           tag. Fixes #481169
1120
1121 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1122
1123         Patch by: Olivier Crete <tester at tester dot ca>
1124
1125         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1126         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1127         Use thread-safe internal links iterator. Fixes #549504.
1128
1129 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1130
1131         Based on patch by: Olivier Crete <tester at tester dot ca>
1132
1133         * docs/gst/gstreamer-sections.txt:
1134         * win32/common/libgstreamer.def:
1135         * gst/gstpad.c: (gst_pad_init),
1136         (gst_pad_set_iterate_internal_links_function),
1137         (int_link_iter_data_free), (iterate_pad),
1138         (gst_pad_iterate_internal_links_default),
1139         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1140         * gst/gstpad.h:
1141         Add threadsafe replacement functions for getting internal links of an
1142         element. Deprecate the old internal links functions.
1143         API:GstPad::gst_pad_set_iterate_internal_links_function()
1144         API:GstPad::GstPadIterIntLinkFunction
1145         API:GstPad::gst_pad_iterate_internal_links()
1146         API:GstPad::gst_pad_iterate_internal_links_default()
1147
1148         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1149         (gst_proxy_pad_init):
1150         Implement threadsafe internal links.
1151
1152         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1153         Unit test for internal links on tee. See #549504.
1154
1155 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1156
1157         * tests/check/Makefile.am:
1158         libs/transform1 test requires libs/test_transform.c
1159
1160 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1161
1162         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1163         Die evil deadlock, die !
1164
1165 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1166
1167         * gst/gstutils.c: (gst_element_get_compatible_pad):
1168         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1169         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1170         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1171         not steal the refcount of the given caps as stated.
1172
1173         REVERT THIS COMMIT ONCE FIXED !
1174         REVERT THIS COMMIT ONCE FIXED !
1175         REVERT THIS COMMIT ONCE FIXED !
1176         REVERT THIS COMMIT ONCE FIXED !
1177         REVERT THIS COMMIT ONCE FIXED !
1178         REVERT THIS COMMIT ONCE FIXED !
1179
1180 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1181
1182         * gst/gstiterator.c:
1183         * gst/gstiterator.h:
1184         After 3 years it's about time to revise the documentation of the
1185         iterator objects.
1186
1187 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1188
1189         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1190         Make the internal links function less thread-unsafe and add some
1191         comments, dunno why.
1192
1193 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1194
1195         * gst/gst_private.h:
1196           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1197           build with --disable-gst-debug.
1198
1199 2008-08-28  David Schleef  <ds@schleef.org>
1200
1201         * gst/gstpadtemplate.c: Revert last change, since it breaks
1202           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1203           but shouldn't be enabled until we've released fixed versions
1204           of -good and -ffmpeg.
1205
1206 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1207
1208         * gst/gstobject.c:
1209           Put the gst_object_get_name() back in.
1210
1211 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1212
1213         * gst/gstpadtemplate.c:
1214           The old behaviour was that gst_pad_template_new() takes ownership of
1215           the caps. As we now call g_object_new() which calls g_object_set() and
1216           which copies the caps, we have to unref them to not leak them. Fixes
1217           make valgrid for me.
1218
1219 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1220
1221         * gst/gsturi.c:
1222           Don't segfault on input like "tel:+1-123-555-1234".
1223
1224 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1225
1226         * gst/gstobject.c:
1227           Due to popular request also include ObjectType in
1228           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1229
1230 2008-08-26  David Schleef  <ds@schleef.org>
1231
1232         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1233           src_val must be positive, because that's not a requirement.
1234           This causes problems with converting negative granulepos
1235           values for Dirac.
1236         * gst/gstquery.c: Same, gst_query_new_convert().
1237
1238 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1239
1240         * gst/gstclock.c: (gst_clock_add_observation):
1241         Add some more debugging to the clock slaving code.
1242
1243         * win32/common/libgstbase.def:
1244         Add new basetransform method.
1245
1246 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1247
1248         * gst/gstbin.c: (gst_bin_element_set_state):
1249         Take the (recursive) state lock between getting the locked state of an
1250         element and changing the element state. This allows the application to
1251         lock an element's state and then change its state without races.
1252
1253 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1254
1255         * gst/gstbin.c: (gst_bin_element_set_state):
1256         When an element is in the locked state we still want to update the
1257         base_time of the element.
1258
1259 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1260
1261         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1262         Use the result from gst_pad_set_caps() instead of assuming the element
1263         always accepted the caps computed by the default negotiate function.
1264
1265 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1266
1267         * docs/libs/gstreamer-libs-sections.txt:
1268         * libs/gst/base/gstbasetransform.c:
1269         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1270         (gst_base_transform_chain), (gst_base_transform_suggest),
1271         (gst_base_transform_reconfigure):
1272         * libs/gst/base/gstbasetransform.h:
1273         Implement method for reconfiguring basetransform.
1274         API: GstBaseTransform::gst_base_transform_reconfigure()
1275
1276 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1277
1278         patch by: Murray Cumming <murrayc@murrayc.com>
1279
1280         * gst/gstutils.c:
1281           Mention that this is just like gst_buffer_merge() but with extra
1282           unreffing for C coders. Advise language bindings not to wrap it.
1283           Fixes Bug #533856.
1284           
1285           Also fix file comment.
1286
1287 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1288
1289         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1290
1291         * plugins/elements/gstfakesink.c:
1292         * plugins/elements/gstfakesrc.c:
1293           Call super::event() when not handling it. Fixes #544855.
1294
1295 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1296
1297         Patch by: Alessandro Decina <alessandro@nnva.org>
1298         * plugins/elements/gstfilesrc.c:
1299           Use 64 bit variants of stat functions on win32, to enable support
1300           of large files there.
1301           Fixes #547277.
1302
1303 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1304
1305         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1306         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1307         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1308         (gst_base_sink_get_position), (gst_base_sink_change_state):
1309         Improve position reporting in the flushing state.
1310         Also report the position when we are not yet prerolled but we
1311         have a newsegment event. Fixes #543444.
1312         Improve the pull-based negotiation code.
1313
1314         * tests/check/elements/fakesink.c: (GST_START_TEST),
1315         (fakesink_suite):
1316         Add testcase for position reporting while flushing in PAUSED and
1317         PLAYING.
1318
1319         * tests/check/generic/sinks.c: (GST_START_TEST):
1320         Update unit-test, we can now query the position as soon as we receive a
1321         NEWSEGMENT event.
1322
1323 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1324
1325         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1326
1327         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1328         When the subclass event handler releases the PREROLL_LOCK, we could be
1329         in the flushing state and we have to ignore the event. Fixes #548394.
1330
1331 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1332
1333         * tools/gst-launch.1.in:
1334           Document GST_REGISTRY_UPDATE environment variable.
1335
1336 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1337
1338         * libs/gst/base/gstbasetransform.c:
1339         (gst_base_transform_prepare_output_buffer):
1340         If the element is configured in passthrough mode but the
1341         prepare_output_buffer gave us a new output buffer, discard that buffer
1342         and reuse the input buffer.
1343
1344 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1345
1346         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1347
1348         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1349         (gst_tee_request_new_pad), (gst_tee_release_pad),
1350         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1351         * plugins/elements/gsttee.h:
1352         Protect pad_alloc with a new lock so that we can be sure that nothing is
1353         performing a pad_alloc when removing the pad. Fixes #547835.
1354
1355         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1356         (buffer_alloc_harness_teardown), (app_thread_func),
1357         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1358         Added testcase for shutdown race.
1359
1360 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1361
1362         * gst/gstpad.h:
1363         Add doc
1364
1365 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1366
1367         * libs/gst/base/gstbasetransform.c:
1368         (gst_base_transform_prepare_output_buffer),
1369         (gst_base_transform_buffer_alloc):
1370         Go over the buffer_alloc function again and make sure we always end up
1371         allocating a buffer.
1372         Add some more docs.
1373         Avoid doing pad alloc when we have a pending suggestion because we
1374         cannot yet deal with changing caps in that case. Fixes #547728
1375
1376 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1377
1378         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1379
1380         * docs/manual/advanced-clocks.xml:
1381         * docs/manual/clocks.png:
1382         * docs/manual/diagrams-clocks.svg:
1383           Add one more image showing different times together with a describing
1384           paragraph. Fixes #547729.
1385
1386 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1387
1388         * win32/common/libgstbase.def:
1389         Add new method.
1390
1391 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1392
1393         * libs/gst/base/gstbasetransform.c:
1394         (gst_base_transform_transform_caps),
1395         (gst_base_transform_prepare_output_buffer),
1396         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1397         Don't overwrite the outsize when calculating the expected size of a new
1398         buffer because we still need it in case we cannot process the new
1399         buffer.
1400         When converting the size of the new buffer to an upstream size, actually
1401         use the expected size of the buffer, not some other random value.
1402         Use an atomic int to signal that a new upstream caps suggestion is
1403         available.
1404         When we can convert the current buffer to a new format, check if the
1405         buffer size is of the expected size and allocate a new buffer of the
1406         expected size when this is not the case. Fixes #546883.
1407
1408         * tests/check/libs/transform1.c: (GST_START_TEST):
1409         remove ifdeffed code from the unit test.
1410
1411 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1412
1413         * pkgconfig/gstreamer-uninstalled.pc.in:
1414         * pkgconfig/gstreamer.pc.in:
1415           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1416           called gstcontroller-0.10.
1417
1418 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1419
1420         * gst/gstchildproxy.h:
1421         * gst/gstpreset.h:
1422           Remove double interface from doc-string.        
1423
1424 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1425
1426         * libs/gst/base/gstbasesrc.c:
1427         * libs/gst/base/gstbasetransform.c:
1428           Fix headings in docs and gtk-doc warnings.
1429
1430 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1431
1432         * gst/gstregistrybinary.c:
1433           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1434           libc.
1435           Fixes #544776.
1436
1437 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1438
1439         * libs/gst/base/gstbasetransform.c:
1440         (gst_base_transform_buffer_alloc):
1441         Fix a "may be used unitialized" warning.
1442
1443 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1444
1445         * docs/gst/gstreamer-sections.txt:
1446         * gst/gstpreset.h:
1447           Document preset-iface vmethods.
1448
1449 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1450
1451         * docs/manual/advanced-interfaces.xml:
1452           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1453           only used to discover devices.
1454
1455 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1456
1457         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1458
1459         * gst/gst.c: (init_pre):
1460         Make sure gettext returns translations in UTF-8 encoding rather
1461         than in the current locale encoding (#546822).
1462
1463 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1464
1465         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1466         Fix subset test.
1467
1468         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1469         Improve unit test subset tests and add a testcase for the subset failure
1470         cases.
1471
1472         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1473         Improve subtraction unit test.
1474
1475 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1476
1477         * plugins/elements/gsttee.c:
1478           Unlock, instead of locking again.
1479
1480 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1481
1482         * gst/gstpad.h:
1483         Clarify the docs a bit more.
1484
1485 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1486
1487         * tests/examples/metadata/read-metadata.c:
1488           Don't leak old taglist.
1489
1490 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1491
1492         Patch by: Olivier Crete <tester at tester dot ca>
1493
1494         * gst/gststructure.c:
1495         (gst_structure_fixate_field_nearest_fraction):
1496         Avoid overflows in fixation code when dealing with MAXINT values, which
1497         v4l2src seems to do.
1498         Fixes #546328.
1499
1500         * tests/check/gst/gststructure.c: (GST_START_TEST):
1501         Make a unit test to check the fix. 
1502
1503 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1504
1505         * plugins/elements/gstcapsfilter.c: (copy_func),
1506         (gst_capsfilter_set_property):
1507         Use new caps suggestion feature of basetransform to request a caps
1508         negotiation upstream.
1509
1510 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1511
1512         * docs/libs/gstreamer-libs-sections.txt:
1513         Add new function:
1514         API: GstBaseTransform::gst_base_transform_suggest()
1515
1516         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1517         (gst_base_transform_init), (gst_base_transform_transform_caps),
1518         (gst_base_transform_transform_size),
1519         (gst_base_transform_configure_caps),
1520         (gst_base_transform_can_transform),
1521         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1522         (gst_base_transform_prepare_output_buffer),
1523         (gst_base_transform_buffer_alloc),
1524         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1525         (gst_base_transform_chain), (gst_base_transform_activate),
1526         (gst_base_transform_set_passthrough),
1527         (gst_base_transform_is_passthrough),
1528         (gst_base_transform_set_in_place),
1529         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1530         (gst_base_transform_set_qos_enabled),
1531         (gst_base_transform_is_qos_enabled),
1532         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1533         (gst_base_transform_reconfigure):
1534         * libs/gst/base/gstbasetransform.h:
1535         Rewrite of basetransform to perform negotiation outside of the
1536         buffer_alloc functions.  Fixes #545853.
1537
1538         * tests/check/libs/transform1.c: (GST_START_TEST),
1539         (buffer_alloc_ct2):
1540         Update unit test.
1541
1542 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1543
1544         * tests/check/gst/gstpreset.c:
1545           Only run preset tests when $HOME is writable. Preliminary fix for
1546           #545433.
1547
1548 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1549
1550         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1551         (gst_bin_change_state_func), (bin_handle_async_done),
1552         (gst_bin_handle_message_func):
1553         Fix race for bins that simulate ASYNC state changes by inserting
1554         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1555         pending ASYNC messages even when the bin does not have ASYNC children.
1556         We note detect this behaviour because we will receive an ASYNC message
1557         that is originating from the bin itself. 
1558         Fixes races with decodebin2 state changes.
1559
1560         * tests/check/gst/gstbin.c: (GST_START_TEST):
1561         Add some more debug.
1562
1563 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1564
1565         * gst/gsttaglist.c: (_gst_tag_initialize):
1566           Fix typo.
1567
1568 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1569
1570         * gst/gsttaglist.c:
1571           Argh. actually save the text before committing. Now adds
1572           gst_tag_merge_strings_with_comma() to gst_tag_register().
1573
1574 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1575
1576         * gst/gsttaglist.c:
1577         * gst/gsttaglist.h:
1578           Do as tim pointed out and actually register the new tag. Also improve
1579           te docs and use gst_tag_merge_strings_with_comma() method to allow
1580           retriving all keywords merged in one list.
1581
1582 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1583
1584         * configure.ac:
1585         * docs/gst/gstreamer.types:
1586           Revert 'accidential' change of the configure option removal. We still
1587           need to generate the types file in configure --disable-load-save.
1588
1589 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1590
1591         * docs/gst/gstreamer-sections.txt:
1592         * gst/gsttaglist.h:
1593           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1594
1595 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1596
1597         * gst/gstpadtemplate.c:
1598           (gst_pad_template_class_init), (gst_static_pad_template_get),
1599           (gst_pad_template_new), (gst_pad_template_pad_created),
1600           (gst_pad_template_set_property), (gst_pad_template_get_property):
1601           Add "name-template", "direction", "presence" and "caps" properties,
1602           so that gst_pad_template_new() is just a thin wrapper around
1603           g_object_new(), which is better for bindings. (Fixes: #539772)
1604
1605 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1606
1607         * gst/gsturi.c:
1608           Be more liberal in what URIs we accept.
1609           Do not unescape bits of the URI for no apparent reason before passing to
1610           the element. Fixes #545352.
1611
1612 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1613
1614         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1615
1616         * gst/gst.c:
1617         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1618
1619 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1620
1621         * configure.ac:
1622         * docs/gst/gstreamer-sections.txt:
1623         * docs/gst/gstreamer.types:
1624         * docs/gst/gstreamer.types.in:
1625         * gst/Makefile.am:
1626         * gst/gst.c:
1627         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1628         * gst/gstconfig.h.in:
1629         * gst/gstelement.c: (gst_element_get_index):
1630         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1631         (gst_registry_binary_load_feature),
1632         (gst_registry_binary_read_cache):
1633         * gst/gstregistryxml.c: (load_feature),
1634         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1635         * plugins/Makefile.am:
1636         * tools/gst-indent:
1637         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1638         (print_plugin_features), (print_element_features):
1639         * tools/gst-xmlinspect.c: (print_event_masks),
1640         (print_element_info):
1641         * win32/common/gstconfig.h:
1642         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1643
1644         Disabling the indexers and URI handler code will only reduce the
1645         required amount of memory by a very small amount but on the other hand
1646         requires much more maintaince work. Apart from that many places of
1647         code are broken when disabling them.
1648
1649         Disabling the enum types doesn't reduce the required amount of memory
1650         by more than a few bytes and makes it hard to fix bugs like #539772,
1651         i.e. use the enums as GObject properties.
1652
1653 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1654
1655         * docs/design/part-TODO.txt:
1656         Add some thoughts and problems with upstream renegotiation.
1657
1658 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1659
1660         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1661         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1662         Remove silly redundant debug.
1663         Add some more debug info.
1664         Clarify the docs regarding new caps received from pad_alloc.
1665
1666 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1667
1668         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1669         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1670         Make setting the caps more threadsafe.
1671
1672 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1673
1674         * docs/design/part-element-transform.txt:
1675         Update docs.
1676
1677 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1678
1679         * plugins/elements/gstqueue.c: (gst_queue_init),
1680         (gst_queue_acceptcaps):
1681         Add and use a custom acceptcaps function instead of falling back to the
1682         potentially less optimized default implementation.
1683
1684 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1685
1686         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1687           Only sanity-check the buffer size if requested_caps == buffer_caps
1688           (ie. don't take pad caps into account, they're not relevant here)
1689
1690 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1691
1692         * plugins/elements/gsttee.c:
1693         * plugins/elements/gsttee.h:
1694           Reverting as not everything is clear yet. Needs some general design
1695           work.
1696
1697 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1698
1699         * ChangeLog:
1700           ChangeLog surgery for tee commit.
1701
1702 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1703
1704         * docs/gst/gstreamer-sections.txt:
1705           Cleanup section-file.
1706
1707 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1708
1709         * plugins/elements/gsttee.c:
1710         * plugins/elements/gsttee.h:
1711           Relay tag events in tee. Fixes parts of #474016.
1712           Downgrades 3 reoccurring debugs to log.
1713
1714 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1715
1716         * configure.ac:
1717         * libs/gst/Makefile.am:
1718           Build the net library if we have winsock2.
1719
1720 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1721
1722         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1723
1724         * docs/manual/advanced-threads.xml:
1725         * docs/manual/diagrams-pipelines.svg:
1726         * docs/manual/hello-world.png:
1727         * docs/manual/linked-elements.png:
1728         * docs/manual/mime-world.png:
1729         * docs/manual/queue.png:
1730         * docs/manual/thread-buffering.png:
1731         * docs/manual/thread-synchronizing.png:
1732           Replace one diagram with two separate ones and updates others.
1733           Fixes #542401.
1734
1735 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1736
1737         * gst/gstelement.h:
1738         Fix link in documentation.
1739
1740 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1741
1742         * gst/gstmessage.c:
1743         Fix confusing documentation.
1744
1745 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1746
1747         * libs/gst/base/gstbasesrc.h:
1748         revert the changes to the header file for the ABI.
1749
1750 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1751
1752         * libs/gst/base/gstbasesrc.c:
1753         * libs/gst/base/gstbasesrc.h:
1754         Don't cache the seekable status.
1755         Fixes bug #544174
1756
1757 2008-07-24  Rene Stadler  <mail@renestadler.de>
1758
1759         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1760         code to close the pipeline graph.  This prevents the program from
1761         printing internal data flow errors.
1762
1763 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1764
1765         * docs/manual/basics-bus.xml:
1766         Correct typo. Fixes bug #544320.
1767
1768 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1769
1770         * configure.ac:
1771           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1772           Add check (taken from -base) for winsock, adds WIN32_LIBS
1773         * gst/Makefile.am:
1774           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1775           winsock.
1776           Define GST_EXPORTS when building libgstreamer (only used on win32)
1777         * gst/gst_private.h:
1778         * gst/gstinfo.h:
1779           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1780           for symbols that we need to export in both these files.
1781         * gst/gstpoll.c:
1782           Include gst_private.h higher up to avoid some compile problems on win32.
1783
1784 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1785
1786         * gst/gstvalue.c:
1787         Fix typos.
1788
1789 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1790
1791         * gst/gstcaps.c:
1792         Previous commit was wrong NULL caps does not exist
1793         and indicate an error, so also add a FIXME to
1794         gst_caps_is_equal where NULL caps are accepted.
1795
1796 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1797
1798         * gst/gstcaps.c:
1799         Allow passing of NULL to gst_caps_union
1800
1801 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1802
1803         * gst/gstghostpad.c:
1804         Add in doc that gst_ghost_pad_set_target can accept
1805         NULL to clear target
1806
1807 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1808
1809         * gst/gstplugin.c:
1810         * gst/gstregistry.c:
1811           GstRegistryPool doesn't exist; don't refer to it in docs.
1812           Don't refer to functions that don't exist in docs, it's
1813           unhelpful.
1814
1815 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1816
1817         * gst/gst.c:
1818         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1819
1820 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1821
1822         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1823
1824         * docs/pwg/building-testapp.xml:
1825         Don't use an undeclared variable in the example program.
1826         Fixes bug #542573.
1827
1828 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1829
1830         * gst/gstdebugutils.c:
1831           Squeeze ghost-pad links and remove <> from classname labels to save
1832           more horizontal space.
1833
1834 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1835
1836         * gst/gstdebugutils.c:
1837           Give request and sometimes pads a different shpe style. Condense the
1838           graphs a little more.
1839
1840 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1841
1842         * configure.ac:
1843           Don't require flex and bison if the parser is disabled.
1844
1845 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1846
1847         * libs/gst/controller/gstinterpolationcontrolsource.c:
1848         (_list_find_sorted_custom):
1849         Don't use declarations after statements.
1850
1851 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1852
1853         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1854         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1855         of the the child-added / -removed signals as GstChildProxy
1856         only supports GstObjects.
1857
1858 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1859
1860         * gst/gstdebugutils.c:
1861         Fix memleak
1862
1863 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1864
1865         Patch by: Alessandro Decina <alessandro at nnva dot org>
1866
1867         * gst/gstpoll.c:
1868         Fix "ignored return value" compiler warning with newer glibc.
1869
1870 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1871
1872         * gst/gstchildproxy.c:
1873         Fix copy&paste error in gst_child_proxy_removed() documentation.
1874
1875 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1876
1877         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1878           Print error debug message if plugin description fields that should
1879           be set are NULL.
1880
1881         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1882           Don't crash if the string to serialise is NULL (it really should
1883           not be, but apparently this used to work with the xml registry ...).
1884
1885 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1886
1887         * tools/gst-plot-timeline.py:
1888         Fix parsing of log messages
1889
1890 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1891
1892         * win32/common/libgstbase.def::
1893           Sort alphabetically so make check-exports doesn't barf.
1894
1895 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1896
1897         * gst/gstevent.c:
1898           Use gst_format_get_name() to improve debug output.
1899
1900         * gst/gstpreset.c:
1901           Remove #ifdef'ed code. Add TODO comment.
1902
1903         * gst/gstsegment.c:
1904           Add debug output to ease spotting format != segment.format assertions.
1905
1906 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1907
1908         * tests/check/libs/gdp.c: (gst_dp_suite):
1909         Also enable the GDP unit test again on PPC now that the bug
1910         is fixed.
1911
1912 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1913
1914         * libs/gst/dataprotocol/dataprotocol.c:
1915         Don't write to the same region of memory as a uint64 and uint16
1916         as this breaks strict aliasing rules and apparantly breaks on PPC
1917         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1918
1919 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1920
1921         * libs/gst/controller/gstinterpolationcontrolsource.c:
1922           Optimize list handling. Use own find function. Exploit that fact that
1923           the list is sorted. Also pass back the node before, so that we can
1924           insert quickly. Have a fast path for append.
1925
1926 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1927
1928         * docs/design/draft-framestep.txt:
1929         * docs/design/part-negotiation.txt:
1930           Fix two typos.
1931
1932 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1933
1934         * configure.ac:
1935           Show configuration sumary after configure run. Based on patch by
1936           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1937
1938 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1939
1940         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1941
1942         * docs/manual/advanced-autoplugging.xml:
1943         * docs/manual/advanced-threads.xml:
1944         * docs/manual/basics-bins.xml:
1945         * docs/manual/basics-elements.xml:
1946         * docs/manual/basics-helloworld.xml:
1947         * docs/manual/basics-pads.xml:
1948           Add scale factor for pdf output.
1949
1950         * docs/manual/intro-basics.xml:
1951           Switched sections "pads" and "bins" and added a pipeline diagram.
1952
1953         * docs/manual/intro-gstreamer.xml:
1954           Added more info on gstreamer.
1955
1956         * docs/manual/intro-motivation.xml:
1957           Commented out the whole section "current problem", which sounds
1958           historical and somehow osolete; it could be turned in a positive
1959           way and reused to improve the design principles.
1960
1961         * docs/manual/intro-preface.xml:
1962           - Update URLs to library.gnome.org. 
1963           - Do not mention GTK+ in preliminary reading (irrelevant). 
1964           - Mention Plugin Writer's Manual and further reading only in the
1965             previous section.
1966           - Added a list of most relevant GObject/glib topics.
1967
1968         * docs/manual/Makefile.am:
1969         * docs/manual/bin-element-ghost.fig:
1970         * docs/manual/bin-element-ghost.png:
1971         * docs/manual/bin-element-noghost.fig:
1972         * docs/manual/bin-element-noghost.png:
1973         * docs/manual/bin-element.fig:
1974         * docs/manual/bin-element.png:
1975         * docs/manual/filter-element-multi.fig:
1976         * docs/manual/filter-element-multi.png:
1977         * docs/manual/filter-element.fig:
1978         * docs/manual/filter-element.png:
1979         * docs/manual/gstreamer-overview.png:
1980         * docs/manual/hello-world.fig:
1981         * docs/manual/hello-world.png:
1982         * docs/manual/linked-elements.fig:
1983         * docs/manual/linked-elements.png:
1984         * docs/manual/mime-world.fig:
1985         * docs/manual/mime-world.png:
1986         * docs/manual/queue.fig:
1987         * docs/manual/queue.png:
1988         * docs/manual/simple-player.png:
1989         * docs/manual/sink-element.fig:
1990         * docs/manual/sink-element.png:
1991         * docs/manual/src-element.fig:
1992         * docs/manual/src-element.png:
1993         * docs/manual/diagrams-general.svg:
1994         * docs/manual/diagrams-pipelines.svg:
1995           Removed .fig, added .png counterpart.
1996           
1997           Fixes: #539137
1998
1999 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2000
2001         * plugins/elements/gstmultiqueue.c:
2002         * plugins/elements/gstmultiqueue.h:
2003         revert extra-size-buffers stuff, caused some race conditions
2004         and extra-size-buffers is not used anymore. Docs needs some updates
2005
2006 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2007
2008         * win32/common/config.h:
2009         * win32/common/gstenumtypes.c:
2010         * win32/common/gstenumtypes.h:
2011         * win32/common/gstversion.h:
2012           Update win32 files.
2013
2014 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2015
2016         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2017           (GST_DEBUG_BIN_TO_DOT_FILE):
2018           Add missing Since' markers to gtk-doc blurbs.
2019
2020 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2021
2022         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2023         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2024         (set_caps_1), (set_caps_ct1), (transform_ct1),
2025         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2026         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2027         (transform_size_ct2), (buffer_alloc_ct2):
2028         Add some more tests with switching caps in buffer_alloc.
2029
2030 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2031
2032         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2033         (gst_test_trans_class_init), (result_sink_chain),
2034         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2035         (gst_test_trans_push), (gst_test_trans_pop):
2036         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2037         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2038         (set_caps_1), (set_caps_ct1), (transform_ct1),
2039         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2040         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2041         (transform_size_ct2), (buffer_alloc_ct2),
2042         (gst_basetransform_suite):
2043         More tests, prepare for tests with switching caps in buffer_alloc.
2044
2045 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2046
2047         * plugins/elements/gstmultiqueue.c:
2048         * plugins/elements/gstmultiqueue.h:
2049         Fix dead-lock in underrun_cb
2050
2051 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2052
2053         * docs/design/part-states.txt:
2054         Fix device open/close docs.
2055
2056 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2057
2058         * ChangeLog:
2059           Mention bugnumber for last commit.
2060
2061 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2062
2063         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2064
2065         * docs/manual/manual.xml:
2066         - Reorganised the previous "introduction" bundle into Foreword,
2067         Introduction, and About GStreamer. The two first are <preface>
2068         docbook elements. The later is the first part of the book.
2069         - added intro-gstreamer.xml (content partially from
2070         intro-preface.xml)
2071         - moved appendix-win32.xml into appendix-integration.xml
2072
2073         * docs/manual/intro-preface.xml: gstreamer section moved...
2074         * docs/manual/intro-gstreamer.xml: ...here. new file.
2075
2076         * docs/manual/appendix-win32.xml: removed file. Content moved...
2077         * docs/manual/appendix-integration.xml: ...here.
2078         
2079         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2080         * docs/manual/appendix-checklist.xml: ...here.
2081         
2082         Fixes: 538764
2083
2084 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2085
2086         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2087
2088         * docs/manual/basics-helloworld.xml:
2089         * docs/manual/hello-world.fig:
2090           - Explicitely include glib.h.
2091           - Do not use global variables.
2092           - Use g_printerr() instead of g_print().
2093           - Minor formating/renaming to increase readibility.
2094           - Renamed new_pad() to on_pad_added()
2095           - Improved explenatory comments.
2096           - renamed ogg parser to ogg demuxer
2097           - Use "autoaudiosink" instead of "alsasink".
2098           Fixes: #538619
2099
2100 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2101
2102         * ChangeLog:
2103           Remove cvs conflict marker.
2104
2105 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2106
2107         * docs/README:
2108           Document that for plgin-docs we extraxt he short-desc from the element
2109           details.
2110
2111         * docs/design/part-states.txt:
2112           Tell that devices should be closed in PAUSED -> READY.
2113
2114         * docs/manual/README:
2115           Document how tests in the manual are handled.
2116
2117         * docs/manuals.mak:
2118           Typo in comment.
2119
2120 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2121
2122         * gst/gstbin.c: (bin_query_latency_fold):
2123         Only care about latency min and max when the sink is actually a live
2124         sink.
2125
2126 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2127
2128         * docs/design/part-block.txt:
2129         Fix typo.
2130
2131         * docs/design/part-element-transform.txt:
2132         Add notes about why transform needs to know input/output sizes.
2133         Add some issues that need to be solved.
2134         Add some more use cases.
2135
2136         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2137         (gst_test_trans_class_init), (result_sink_chain),
2138         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2139         (gst_test_trans_push), (gst_test_trans_pop):
2140         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2141         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2142         (set_caps_1), (set_caps_ct1), (transform_ct1),
2143         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2144         (gst_basetransform_suite):
2145         Add suport for different pad templates and buffer-alloc.
2146         Add more checks for caps and buffer-alloc.
2147         Add checks for proxy buffer alloc.
2148         Add unit test for copy transform.
2149
2150 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2151
2152         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2153
2154         * docs/manual/appendix-integration.xml:
2155         * docs/manual/appendix-licensing.xml:
2156         * docs/manual/basics-elements.xml:
2157         * docs/manual/basics-helloworld.xml:
2158         * docs/manual/basics-pads.xml:
2159         * docs/manual/highlevel-components.xml:
2160         * docs/manual/highlevel-xml.xml:
2161         * docs/manual/intro-basics.xml:
2162         * docs/manual/intro-preface.xml:
2163           Typo and formatting fixes (#538594).
2164
2165 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2166
2167         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2168         Fix some memory leaks and uses of object instances that we don't
2169         actually own.
2170
2171 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2172
2173         * plugins/elements/gstmultiqueue.c:
2174         Add functionality to extra-size-buffers property.
2175
2176 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2177
2178         * plugins/elements/gstmultiqueue.c:
2179         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2180         activate the pads if they are added in STATE_NULL.
2181
2182 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2183
2184         * docs/libs/gstreamer-libs-sections.txt:
2185         Add new API to doc
2186         * libs/gst/check/gstcheck.c:
2187         * libs/gst/check/gstcheck.h:
2188         API: gst_check_teardown_pad_by_name
2189
2190 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2191
2192         * libs/gst/check/gstcheck.c:
2193         * libs/gst/check/gstcheck.h:
2194         Also setup request pads and allow setup pads by name (#537812)
2195         API: gst_check_setup_src_pad_by_name
2196         API: gst_check_setup_sink_pad_by_name
2197
2198 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2199
2200         * tests/check/gst/gstbuffer.c:
2201         * tests/check/pipelines/parse-launch.c:
2202           Use HAVE_VALGRIND_H some more.
2203
2204 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2205
2206         * scripts/cvs-update.sh:
2207           Pass arguments to make.
2208           Run autoregen.sh if Makefile is not there.
2209
2210 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2211
2212         * configure.ac:
2213         * gst/gstinfo.c:
2214           Don't assume that <valgrind/valgrind.h> exists just because
2215           the binary is there.
2216
2217 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2218
2219         * tests/check/Makefile.am:
2220         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2221         (gst_test_trans_class_init), (gst_test_trans_init),
2222         (gst_test_trans_set_data), (result_sink_chain),
2223         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2224         (gst_test_trans_pop):
2225         * tests/check/libs/transform1.c: (GST_START_TEST),
2226         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2227         Add some test basetransform element and the beginnings of various
2228         unit tests for it.
2229
2230 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2231
2232         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2233         Increase code readability.
2234         Don't try to compare buffer offsets when ther are invalid.
2235
2236 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2237
2238         * docs/design/Makefile.am:
2239           Dist some more design docs.
2240
2241         * docs/random/moving-plugins:
2242           Small addition: good plugins mustn't have functional code
2243           within assertion macros.
2244
2245 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2246
2247         * docs/design/draft-framestep.txt:
2248         Some ideas about a framestep API
2249
2250         * docs/design/part-element-transform.txt:
2251         Start design and use cases for basetransform in order to get it
2252         fixed soon.
2253
2254 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2255
2256         * gst/gsttaglist.h:
2257           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2258           be in UTF-8 encoding.
2259
2260 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2261
2262         * gst/gstbus.c:
2263           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2264
2265 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2266
2267         * plugins/elements/gstcapsfilter.c:
2268         * plugins/elements/gstfakesink.c:
2269         * plugins/elements/gstfakesrc.c:
2270         * plugins/elements/gstfdsink.c:
2271         * plugins/elements/gstfdsrc.c:
2272         * plugins/elements/gstfilesink.c:
2273         * plugins/elements/gstfilesrc.c:
2274         * plugins/elements/gstidentity.c:
2275         * plugins/elements/gstmultiqueue.c:
2276         * plugins/elements/gstqueue.c:
2277         * plugins/elements/gsttee.c:
2278         * plugins/elements/gsttypefindelement.c:
2279           Remove short_description. Add basic docs for gsttypefindelement.
2280           Simplify markup for fakesrc/fdsrc.
2281
2282 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2283
2284         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2285         Added Since doc.
2286
2287 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2288
2289         Patch by: Joel Larsson <tilljoel at gmail dot com>
2290
2291         * docs/plugins/gstreamer-plugins.args:
2292         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2293         (gst_fd_src_init), (gst_fd_src_update_fd),
2294         (gst_fd_src_set_property), (gst_fd_src_get_property),
2295         (gst_fd_src_create):
2296         * plugins/elements/gstfdsrc.h:
2297         Add timeout property like udpsrc. Fixes #538628.
2298         Add some more docs and example pipelines.
2299
2300 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2301
2302         * docs/libs/gstreamer-libs-sections.txt:
2303         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2304         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2305         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2306         (gst_base_sink_do_sync):
2307         * libs/gst/base/gstbasesink.h:
2308         * win32/common/libgstbase.def:
2309         Add method to allow sinks to specify additional delay between the sync
2310         times and the actual rendering of the data.
2311         API: gst_base_sink_set_render_delay()
2312         API: gst_base_sink_get_render_delay()
2313
2314 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2315
2316         * configure.ac:
2317         Bump version number back to dev -> 0.10.20.1
2318
2319 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2320
2321         * docs/gst/gstreamer-sections.txt:
2322         * gst/gsttaglist.c: (_gst_tag_initialize):
2323         * gst/gsttaglist.h:
2324         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2325         Fixes bug #538568.
2326
2327 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2328
2329         * libs/gst/controller/gstcontroller.c:
2330           Revert one change, that make ret value possible uninitialized.
2331
2332 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2333
2334         * libs/gst/controller/gstcontroller.c:
2335           Use freeze/thaw notify to sync notify emission a bit (its also more
2336           efficient). Move debug output to LOG (is called a lot in a loop).
2337           Always unset g_values if the have been initialized.
2338
2339 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2340
2341         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2342         (gst_base_sink_wait_eos), (gst_base_sink_event):
2343         If we have not seen a buffer before EOS, use the segment values to
2344         report the current position instead of invalid positions.
2345
2346 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2347
2348         * docs/plugins/tmpl/.cvsignore:
2349         * tests/check/gst/.cvsignore:
2350           Ignore more.
2351
2352 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2353
2354         * libs/gst/controller/gstinterpolation.c:
2355         * libs/gst/controller/gstinterpolationcontrolsource.c:
2356         * tests/check/libs/controller.c:
2357           Rewrite handling of default values. Fix overflow with unsigned types
2358           in linear interpolation. Remove now obsolete _first_value() function.
2359           Add more tests. Fixes #538201.
2360
2361 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2362
2363         * libs/gst/base/gstbasetransform.c:
2364         (gst_base_transform_class_init), (gst_base_transform_init),
2365         (gst_base_transform_transform_caps),
2366         (gst_base_transform_prepare_output_buffer):
2367         Add debug info.
2368         When a buffer is writable, its metadata is also writable so we don't
2369         need to subbuffer (which then makes the buffer not-writable anymore).
2370
2371 === release 0.10.20 ===
2372
2373 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2374
2375         * configure.ac:
2376           releasing 0.10.20, "You Crazy Diamond"
2377
2378 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2379
2380         * configure.ac:
2381         0.10.19.3 pre-release
2382
2383 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2384
2385         * configure.ac:
2386         * gst/gstpreset.c:
2387         Rename DATADIR to GST_DATADIR to avoid build problems
2388         on win32. Patch By: David Schleef <ds@schleef.org>
2389         Fixes: #536857
2390
2391 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2392
2393         * configure.ac:
2394         Explicitely link with -ldl if dladdr() is found there. Before it was
2395         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2396         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2397
2398 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2399
2400         * gst/gsterror.c: (_gst_stream_errors_init):
2401           Fix typo (spotted by Fabricio Godoy, #536723).
2402
2403 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2404
2405         * configure.ac:
2406         0.10.19.2 pre-release
2407
2408 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2409
2410         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2411         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2412         Add some debug.
2413         Make sure we don't generate invalid QoS messages.
2414
2415 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2416
2417         * gst/gstevent.c: (gst_event_new_qos):
2418         Add some assert and docs for invalid input to the qos function.
2419
2420 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2421
2422         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2423         (gst_base_sink_get_position):
2424         The reported position must always be smaller than the last seen
2425         timestamps (or timestamp + duration for reverse).
2426
2427 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2428
2429         Patch by: Rob Bradford <rob at robster dot org dot uk>
2430
2431         * gst/gstregistry.c: (gst_registry_scan_path_level):
2432         Don't recurse into .debug directories as some distros install
2433         the debugging symbols next to the plugins in .debug directories
2434         and dlopen() crashes on them sometimes. Fixes bug #508070.
2435
2436         Add FIXME for 0.11 to not recurse into directories at all because
2437         it's very inconsistent to the behaviour of other PATH environment
2438         variables.
2439
2440 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2441
2442         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2443         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2444         Fix position query range checks in reverse playback.
2445
2446 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2447
2448         * gst/gstelement.c:
2449         * gst/gstelement.h:
2450         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2451         clear of the reference to the resulting pad must be released later
2452         or not, resulting in possible leaks. Fixes bug #533865.
2453
2454 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2455
2456         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2457
2458         * gst/gstelementfactory.c:
2459         Small doc fix. Fixes #535285.
2460
2461 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2462
2463         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2464
2465         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2466         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2467         (gst_base_src_loop), (gst_base_src_set_flushing),
2468         (gst_base_src_change_state):
2469         Make sending an EOS event to the basesrc non-blocking even if the
2470         implementation does blocking waits in the create function. This is done
2471         by unlocking the create function when EOS is sent.
2472         Fixes #535218.
2473
2474 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2475
2476         * tools/gst-inspect.c: (print_element_properties_info):
2477         If possible print the element type of GValueArray properties.
2478
2479 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2480
2481         * gst/gstiterator.c:
2482         Remove an unused field from the private GstListIterator struct.
2483
2484 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2485
2486         * libs/gst/controller/gstcontroller.c:
2487           Add parameter guards.
2488
2489 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2490
2491         * tests/check/gst/gstpipeline.c:
2492           Revert test change and add comment why it should not work.
2493
2494 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2495
2496         * tests/check/gst/gstpipeline.c:
2497           Extending the test a little to verify that we also get the NULL state-
2498           change message.
2499
2500 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2501
2502         * gst/gstpreset.c: (gst_preset_default_get_meta),
2503           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2504           (gst_preset_load_preset), (gst_preset_save_preset),
2505           (gst_preset_rename_preset), (gst_preset_delete_preset),
2506           (gst_preset_set_meta):
2507           Add Since: markers to docs blurbs.
2508
2509         * win32/common/libgstreamer.def:
2510           Add recently-added API.
2511
2512 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2513
2514         Patch by: Stefan Kost  <ensonic@users.sf.net>
2515
2516         * configure.ac:
2517         Add DATADIR for storing presets.
2518
2519         * docs/gst/gstreamer-docs.sgml:
2520         * docs/gst/gstreamer-sections.txt:
2521         * docs/gst/gstreamer.types.in:
2522         Add GstPreset to docs.
2523
2524         * gst/Makefile.am:
2525         * gst/gst.h:
2526         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2527         (preset_open_and_parse_header), (preset_parse_version),
2528         (preset_merge), (preset_get_keyfile),
2529         (gst_preset_default_get_preset_names),
2530         (gst_preset_default_get_property_names),
2531         (gst_preset_default_load_preset),
2532         (gst_preset_default_save_presets_file),
2533         (gst_preset_default_save_preset),
2534         (gst_preset_default_rename_preset),
2535         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2536         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2537         (gst_preset_default_reset), (gst_preset_get_preset_names),
2538         (gst_preset_get_property_names), (gst_preset_load_preset),
2539         (gst_preset_save_preset), (gst_preset_rename_preset),
2540         (gst_preset_delete_preset), (gst_preset_set_meta),
2541         (gst_preset_get_meta), (gst_preset_class_init),
2542         (gst_preset_base_init), (gst_preset_get_type):
2543         * gst/gstpreset.h:
2544         Add GstPreset to core. Fixes #396779
2545
2546         * tests/check/Makefile.am:
2547         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2548         (gst_preset_test_set_property), (gst_preset_test_class_init),
2549         (gst_preset_test_base_init), (gst_preset_test_get_type),
2550         (gst_preset_test_plugin_init), (GST_START_TEST),
2551         (remove_preset_file), (test_setup), (test_teardown),
2552         (gst_preset_suite):
2553         Add GstPreset unit tests.
2554
2555 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2556
2557         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2558         The default event function on a sinkpad should return TRUE when
2559         there are no internal links but should collect the return values from
2560         the internal links otherwise.
2561
2562 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2563
2564         * plugins/elements/gsttypefindelement.c:
2565         (gst_type_find_element_src_event),
2566         (gst_type_find_element_handle_event):
2567         Use faster and safer _pad_push_event().
2568
2569 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2570
2571         * docs/gst/gstreamer-sections.txt:
2572         * gst/gstutils.c: (element_find_unlinked_pad),
2573           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2574         * gst/gstutils.h:
2575           API: add gst_bin_find_unlinked_pad()
2576           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2577
2578 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2579
2580         * gst/gstclock.c:
2581         * gst/gstclock.h:
2582         * gst/gsttask.c:
2583         * gst/gsttask.h:
2584         Fixed a bunch of typos.
2585
2586 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2587
2588         * gst/gstpad.h:
2589         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2590           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2591           (gst_parse_bin_from_description_full):
2592         * gst/gstutils.h:
2593           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2594
2595 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2596
2597         * docs/pwg/advanced-tagging.xml:
2598           Small docs update, can't be bothered to rewrite the nonsensical
2599           examples right now.
2600
2601 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2602
2603         * gst/gstevent.h:
2604           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2605
2606 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2607
2608         * gst/parse/grammar.y:
2609           Remove unneeded casts.
2610
2611 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2612
2613         * gst/parse/grammar.y:
2614         * tests/check/pipelines/parse-launch.c:
2615           Get all missing elements from a parse launch string if possible
2616           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2617
2618 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2619
2620         * tests/check/Makefile.am:
2621         * tests/check/pipelines/parse-launch.c:
2622           Add some unit tests for the new gst_parse_launch*_full() API.
2623           (Exposes a previously-existing memory leak in the error code
2624           path, so adding to VALGRIND_TO_FIX for now).
2625
2626 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2627
2628         * docs/gst/gstreamer-sections.txt:
2629         * gst/gst.c: (init_post):
2630         * gst/gst_private.h: (_GstParseContext):
2631         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2632           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2633           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2634           (gst_parse_launch_full):
2635         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2636           (GstParseFlags), (GstParseContext):
2637         * gst/gstutils.c: (gst_parse_bin_from_description),
2638           (gst_parse_bin_from_description_full):
2639         * gst/gstutils.h:
2640         * gst/parse/grammar.y:
2641         * gst/parse/types.h:
2642         * win32/common/libgstreamer.def:
2643           Add new gst_parse_*_full API (#528178):
2644           API: gst_parse_launch_full()
2645           API: gst_parse_launchv_full()
2646           API: gst_parse_bin_from_description_full()
2647           API: gst_parse_context_new()
2648           API: gst_parse_context_free()
2649           API: gst_parse_context_get_missing_elements()
2650
2651 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2652
2653         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2654
2655         * docs/faq/gst-uninstalled:
2656           Also support ffmpeg in gst-uninstalled.
2657
2658 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2659
2660         * configure.ac:
2661         After discussion on IRC use the binary registry as default
2662         but allow to disable it with --disable-binary-registry.
2663
2664         * win32/common/libgstreamer.def:
2665         Add the two new symbols for the binary registry.
2666
2667 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2668
2669         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2670         * gst/gstutils.c: (gst_parse_bin_from_description):
2671         * gst/parse/grammar.y: (graph):
2672           More guards against bad input; typo fix; some minor clean-ups.
2673
2674 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2675
2676         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2677
2678         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2679         If nothing else can be used, use the last buffer's start time as
2680         the segment's last stop. Fixes bug #534258.
2681
2682 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2683
2684         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2685           Move size sanity check to the right place: downstream may return
2686           a buffer with a smaller size if the buffer caps are different than
2687           the requested ones, as may happen when doing reverse negotiation.
2688
2689 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2690
2691         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2692         (gst_file_sink_render):
2693         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2694         (gst_file_src_start):
2695         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2696         use it yet.
2697
2698 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2699
2700         * gst/gstpad.c: (gst_pad_load_and_link):
2701         * gst/gstutils.c: (gst_element_link_pads),
2702         (gst_element_unlink_pads):
2703         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2704         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2705         (gst_check_teardown_sink_pad),
2706         (gst_check_element_push_buffer_list):
2707         * tests/check/elements/fakesink.c: (GST_START_TEST):
2708         * tests/check/elements/filesink.c:
2709         * tests/check/elements/filesrc.c: (GST_START_TEST):
2710         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2711         (mq_sinkpad_to_srcpad):
2712         * tests/check/elements/tee.c: (GST_START_TEST):
2713         * tests/check/generic/sinks.c: (GST_START_TEST):
2714         * tests/check/gst/gstbin.c: (GST_START_TEST):
2715         * tests/check/gst/gstevent.c: (GST_START_TEST):
2716         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2717         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2718         * tests/check/gst/gstquery.c: (GST_START_TEST):
2719         * tests/check/gst/gstutils.c: (GST_START_TEST):
2720         * tests/check/libs/basesrc.c: (GST_START_TEST):
2721         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2722         (gst_parse_test_element_change_state):
2723         Don't use gst_element_get_pad().
2724
2725 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2726
2727         * docs/Makefile.am:
2728         Fix installing plugin documentation when gtk-doc is disabled.
2729
2730 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2731
2732         * docs/manual/advanced-autoplugging.xml:
2733         * docs/manual/basics-helloworld.xml:
2734         * docs/manual/basics-pads.xml:
2735         * docs/manual/highlevel-components.xml:
2736         Avoid using a bad function in the example code.
2737
2738 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2739
2740         * gst/gstclock.c: (gst_clock_set_calibration):
2741         Fix debug of the new clock rate.
2742
2743 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2744
2745         * win32/common/libgstbase.def:
2746         Add gst_base_sink_wait_clock() to the exported symbols.
2747
2748 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2749
2750         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2751
2752         * libs/gst/base/gstbasetransform.c:
2753         (gst_base_transform_sink_event):
2754         Unref events that the GstBaseTransform::event vfunc didn't want to
2755         have forwarded by the base class. Closes a leak in identity.
2756         Fixes bug #446763.
2757
2758 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2759
2760         * docs/libs/gstreamer-libs-sections.txt:
2761         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2762         * libs/gst/base/gstbasesink.h:
2763         Expose a method that was previously used internally to synchronize
2764         against the clock because it can be useful for subclasses too.
2765         API: GstBaseSink::gst_base_sink_wait_clock()
2766
2767 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2768
2769         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2770           Add sanity check to make sure we don't get smaller buffers
2771           than requested (and fallback to normal buffer alloc if we do).
2772
2773 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2774
2775         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2776         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2777         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2778         Refactor adjusting the running_time with latency and offset into a
2779         separate method.
2780         When doing clipping, we still want to use the subclass get_times method,
2781         just in case the DURATION or TIMESTAMP are not set.
2782
2783 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2784
2785         * docs/gst/gstreamer-sections.txt:
2786         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2787         * gst/gsttypefind.h:
2788         * win32/common/libgstreamer.def:
2789           API: add gst_type_find_suggest_simple(), #533740.
2790
2791 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2792
2793         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2794           Use right error code when typefinding fails, so we can use
2795           the default (translated) error messages.
2796
2797 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2798
2799         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2800         (gst_base_src_start):
2801         When the subclass did not set caps on outgoing buffers, configure the
2802         caps we negotiated on the source pad.
2803         When the typefind helper does not find caps, error out properly instead
2804         of doing things with NULL caps.
2805
2806 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2807
2808         * gst/gsttypefind.h:
2809           Tabs to spaces, oh yes!
2810
2811 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2812
2813         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2814           Add David's and Benjamin's tests for array intersection to the
2815           unit test suite (#147931).
2816
2817 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2818
2819         * gst/gstevent.c:
2820           Document that gst_event_new_tag() and gst_event_new_navigation()
2821           take ownership of the taglist/structure passed to them. (#533635).
2822
2823 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2824
2825         * docs/Makefile.am:
2826         Don't descend into the plugins dir if plugin docs building
2827         is disabled.
2828
2829         * docs/README:
2830         Add a note about the new type:GTypeName syntax for the plugin
2831         documentation .types file.
2832
2833 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2834
2835         * gst/gstmessage.c: (gst_message_new_error),
2836         (gst_message_new_warning), (gst_message_new_info):
2837         * gst/gstmessage.h:
2838         Mark the debug string parameters as const. Fixes bug #533490.
2839
2840 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2841
2842         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2843         Sort buffer cache list by end offsets. This makes sure that we don't
2844         stop to search for a cached buffer that contains the requested data
2845         too early.
2846         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2847         more efficient. Fixes bug #459862.
2848
2849 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2850
2851         * gst/gstinfo.c:
2852           Explain why we copy the list.
2853
2854         * gst/gstpipeline.c:
2855           Improve docs.
2856
2857         * gst/gstutils.c:
2858           Add one debug-log statement to help tracing probelms with linking pads.
2859
2860 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2861
2862         * tests/check/gst/gstinfo.c:
2863         Add a test for removing the default log handler. Seems to fail under
2864         windows.
2865
2866 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2867
2868         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2869         Release pad lock before calling out to avoid a possible deadlock.
2870
2871 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2872
2873         * gst/parse/grammar.y:
2874         Remove unneeded value unset.
2875
2876         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2877         Add unit test for de/serialization of caps.
2878
2879 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2880
2881         * plugins/elements/gstfakesink.c:
2882         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2883         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2884         (gst_fake_src_class_init):
2885         Use custom marshalers that take GstMiniObject as first parameter.
2886         Using OBJECT as parameter while a GstMiniObject is given will lead
2887         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2888
2889 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2890
2891         * plugins/elements/gsttypefindelement.c:
2892         (gst_type_find_element_handle_event),
2893         (gst_type_find_element_send_cached_events),
2894         (gst_type_find_element_change_state):
2895         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2896         immediately.
2897
2898 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2899
2900         * plugins/elements/gsttypefindelement.c:
2901         (gst_type_find_handle_src_query), (stop_typefinding),
2902         (gst_type_find_element_handle_event),
2903         (gst_type_find_element_send_cached_events),
2904         (gst_type_find_element_change_state):
2905         Forward FLUSH_START events immediately and clean up instead of
2906         caching them.
2907
2908 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2909
2910         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2911
2912         * libs/gst/base/gstbasetransform.c:
2913         (gst_base_transform_buffer_alloc):
2914         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2915         fall back to default negotiation in the chain function if the caps
2916         are different from what was requested. Fixes bug #526768.
2917
2918 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2919
2920         * gst/gstsegment.c:
2921         * tests/check/gst/gstsegment.c:
2922           No, let's not use g_slice_{dup|copy} here, since they only exist
2923           since GLib 2.14 and we still depend only on >= 2.12. Also add
2924           unit test for gst_segment_copy().
2925
2926 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2927
2928         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2929           Try to fix 'dereferencing type-punned pointer will break strict
2930           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2931           changed the default GType typedef from gulong to gsize at some point,
2932           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2933           g_once_* functions all take a gsize * though, so work around the type
2934           mismatch for C++ by doing everything in gsize and casting to GType
2935           later.
2936
2937 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2938
2939         * plugins/elements/gstmultiqueue.c:
2940         Add documentation for the signals to push our core plugin docs
2941         coverage back up to 100%.
2942
2943 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2944
2945         * gst/gstinfo.h (GST_FUNCTION):
2946           Reverted GST_FUNCTION to the old version as we don't want the
2947           full signature in C++ code. Also added support for MSVC.
2948
2949 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2950
2951         * gst/gstutils.h:
2952         Intern the type name string, similar to what G_DEFINE_TYPE does.
2953
2954 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2955
2956         * gst/gstutils.h:
2957         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2958
2959 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2960
2961         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2962
2963         * libs/gst/base/gstbasetransform.c:
2964         (gst_base_transform_buffer_alloc):
2965         Don't passthrough buffer allocation too easily if the caps change.
2966         This breaks when working in passthrough mode and upstream changes
2967         it's caps. Fixes bug #526768.
2968
2969 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2970
2971         * gst/gstinfo.c (gst_debug_log_valist):
2972           Improved the __FILE__ part of debug output for MSVC.
2973
2974 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2975
2976         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2977           Declaration after statement fix for compilers like MSVC.
2978
2979 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2980
2981         * win32/common/config.h.in:
2982           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2983           use the real thing than having "???" unconditionally.
2984
2985 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2986
2987         * gst/gstinfo.h (GST_FUNCTION):
2988           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2989
2990 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2991
2992         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2993         Small code cleanup.
2994
2995         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2996         (gst_base_sink_set_flushing):
2997         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2998         Fix some comments.
2999
3000 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3001
3002         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3003         (gst_fake_src_init), (gst_fake_src_set_property),
3004         (gst_fake_src_get_property), (gst_fake_src_start):
3005         * plugins/elements/gstfakesrc.h:
3006         Added format property to control the format of the newsegment events.
3007         API: GstFakeSrc:format
3008
3009 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3010
3011         * win32/common/libgstreamer.def:
3012         Add gst_pad_has_name() to the exported symbols.
3013
3014 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3015
3016         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3017         * libs/gst/base/gstbasetransform.c:
3018         (gst_base_transform_prepare_output_buffer):
3019         Don't allow negative sizes when allocating new buffers.
3020         Fixes bug #461253.
3021
3022 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3023
3024         Patch by: Sjoerd Simons <sjoerd at luon net>
3025
3026         * gst/gstbus.c: (gst_bus_source_dispatch):
3027           Don't print a warning if the queue is empty when we try to pop
3028           here. That could happen if another thread or callback set the
3029           bus to flushing between the source's check/prepare and the
3030           dispatch being called (#531538).
3031
3032 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3033
3034         * plugins/elements/gstmultiqueue.c:
3035           Small docs fix.
3036         
3037 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3038
3039         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3040         Add unit test for deserializing uint64s and check some really large
3041         numbers in the int64 test.
3042
3043 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3044
3045         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3046         (print_interfaces), (print_element_properties_info),
3047         (print_signal_info):
3048         Use "%s" as format string instead of printing strings directly.
3049
3050 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3051
3052         * gst/gstclock.c: (gst_clock_set_calibration):
3053         Make some checks actually useful.
3054
3055         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3056         Remove some unused code. Unsigned integers tend to be >= 0.
3057
3058 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3059
3060         * gst/gstminiobject.c: (gst_value_get_mini_object):
3061           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3062           function was not in the unscheduled 0.10.19 release.
3063
3064 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3065
3066         * gst/gstregistry.c: (gst_registry_scan_path_level):
3067           Only print one log message per non-plugin file.
3068
3069 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3070
3071         * gst/gstinfo.c: (gst_debug_log_default):
3072           Fix alignment of debug log columns on 64-bit.
3073
3074 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3075
3076         * docs/libs/Makefile.am:
3077         * docs/libs/gstreamer-libs-sections.txt:
3078           Ignore private controller headers for docs.
3079
3080 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3081
3082         * libs/gst/controller/gstcontrollerprivate.h:
3083         * libs/gst/controller/gsthelper.c:
3084         * libs/gst/controller/gstinterpolation.c:
3085         * libs/gst/controller/gstinterpolationcontrolsource.c:
3086         (gst_interpolation_control_source_set_interpolation_mode):
3087         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3088         * libs/gst/controller/lib.c:
3089         Move some private declarations into private headers.
3090
3091 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3092
3093         * gst/gstdebugutils.c: (debug_dump_element_pad):
3094         Remove some code that is unused after Stefan's refactoring and uses
3095         uninitialized variables now, resulting in a compiler warning.
3096
3097 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3098
3099         * gst/gstregistry.c: (gst_registry_scan_path_level):
3100           Run g_str_has_suffix() only on the file name, not the
3101           entire file path.
3102
3103 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3104
3105         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3106           Since we're not called only from the chain function any longer,
3107           we can't assume that there's always data in the queue, so move
3108           the is_full check to the beginning of the loop (otherwise we'd
3109           hit the assert when changing the limit properties while the
3110           queue is empty or not running yet).
3111           Also, only set a discont if items were actually removed from
3112           the queue.
3113
3114         * tests/check/elements/queue.c: (test_leaky_downstream):
3115           Test case for the above.
3116
3117 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3118
3119         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3120
3121         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3122         (gst_queue_chain), (queue_capacity_change),
3123         (gst_queue_set_property):
3124         When changing thr max capacity of a leaky queue, immediatly drop buffers
3125         instead of waiting for a push on the sinkpad. Fixes #530637.
3126
3127 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3128
3129         * gst/gstdebugutils.c:
3130           Refactor code and fix handling of ghostpads and their proxypads.
3131
3132 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3133
3134         * docs/gst/gstreamer-sections.txt:
3135         * gst/gstevent.c: (gst_event_has_name):
3136         * gst/gstevent.h:
3137         * tests/check/gst/gstevent.c: (GST_START_TEST):
3138         Add method to conveniently check the name of a custom event with
3139         gst_event_has_name().
3140         Reformat the event docs so that related methods are put together instead
3141         of the default alphabetical sort.
3142         Update unit test with new method.
3143         API: GstEvent::gst_event_has_name()
3144
3145 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3146
3147         * libs/gst/check/Makefile.am:
3148           Don't add an explicit link to libgstreamer-0.10.la; it's already
3149           included in GST_OBJ_LIBS.
3150
3151 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3152
3153         * gst/gst.c:
3154         Register GstClock type from a type-safe context. Fixes bug #530317.
3155
3156 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3157
3158         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3159         * tools/gst-run.c:
3160           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3161
3162 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3163
3164         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3165         (gst_bin_dispose):
3166         Use the GLib stuff to create a private structure.
3167         Add some locking around some dispose methods to make them a little
3168         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3169
3170 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3171
3172         * libs/gst/base/gstbasesink.h:
3173         * libs/gst/base/gstbasesrc.h:
3174         * libs/gst/base/gstbasetransform.h:
3175         * libs/gst/base/gstcollectpads.h:
3176           Fix doc typos and unify caps a bit.
3177
3178 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3179
3180         * tools/gst-launch.1.in:
3181           Forgot to also add the envvar docs here.
3182
3183 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3184
3185         * gst/gst.c: (init_post), (gst_deinit):
3186         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3187           (test_concurrent_create), (gst_pipeline_suite):
3188           Ref some more classes in gst_init() to work around thread-safety
3189           issues in pre-2.16 GLibs, and add basic unit test.
3190
3191 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3192
3193         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3194         (gst_base_sink_send_event):
3195         Rearrange the latency query code. We always want to do the upstream
3196         query, even if we are not live so that the upstream elements can get the
3197         latency results too. If we fail doing the query and we are live, we
3198         return TRUE afterwards.
3199
3200 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3201
3202         patch by: Jason Zhao <e3423c@motorola.com>
3203
3204         * docs/gst/running.xml:
3205         * gst/gst.c:
3206           Enable/disable scan_and_update_registry() based on commandline switch
3207           or environment variable. Fixes #520468.
3208           
3209         * ChangeLog:
3210           Fix typo in my previous commit.
3211
3212 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3213
3214         * gst/gstregistrybinary.c:
3215           Add a warning if we hit unhandled factories when saving.
3216           More debug logging detail, but move to LOG category.
3217
3218 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3219
3220         * gst/gstregistry.c:
3221           Tell the *truth* when improving the documentation.
3222
3223 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3224
3225         * gst/gstelementfactory.c: (gst_element_factory_make):
3226         Unref the factory after it was used the last time, not before.
3227
3228         * gst/gstindexfactory.c: (gst_index_factory_make):
3229         Improve debugging a bit and don't leak a ref to the index factory with
3230         each call.
3231
3232 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3233
3234         * gst/gstregistry.c:
3235           Improve the documentation.
3236
3237 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3238
3239         * gst/gstsegment.c:
3240           The glib macro seems to be borked. Use g_slice_copy directly and cast
3241           in the hope that this fixes the warning on 64bit.
3242
3243 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3244
3245         * gst/gstsegment.c:
3246           Document the new function. Use g_slice_dup() (no need for
3247           gst_segment_init()).    
3248
3249 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3250
3251         * docs/gst/gstreamer-sections.txt:
3252           Move GParamSepc macros to standart section.
3253   
3254         * gst/gstbin.c:
3255           Dn't document _get_type - its in private section in docs anyway and
3256           this doc-blob was incomplete.
3257
3258         * gst/gstclock.h:
3259           Fix wrong symbol names in docs.
3260
3261         * gst/gstmacros.h:
3262           Add once doc sentence.
3263
3264         * tests/check/gst/.cvsignore:
3265           Ignore more.
3266
3267 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3268
3269         * docs/gst/Makefile.am:
3270           And remove those libs here.
3271
3272 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3273
3274         * docs/libs/Makefile.am:
3275           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3276
3277 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3278
3279         Patch by: Olivier Crete <tester at tester dot ca>
3280
3281         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3282         Add the min-threshold to the min latency if possible. Fixes #529148.
3283
3284 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3285
3286         * docs/gst/gstreamer.types.in:
3287           Stupid editor, I removed that line as it should go in yet.
3288
3289 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3290
3291         * docs/gst/gstreamer.types.in:
3292         * docs/libs/gstreamer-libs.types:
3293           Remove library types fro core docs and have them in libs docs.
3294           Reformat and cleanup. Add comment for miniobject types.
3295
3296 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3297
3298         * gst/gsturi.c: (gst_uri_get_protocol):
3299           Fix leak: g_strdown operates on the string in place, while
3300           g_ascii_strdown() returns a newly-allocated string.
3301
3302 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3303
3304         * tools/gst-inspect.c: (print_uri_handler_info),
3305         (print_element_info):
3306         Print the URI protocols and the URI type supported by the element.
3307
3308 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3309
3310         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3311         Use g_value_take_string() instead of the deprecated
3312         g_value_set_string_take_ownership().
3313
3314 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3315
3316         * gst/gstregistrybinary.c: (_gst_crc32):
3317         Return the old CRC instead of 0 if we give a NULL buffer
3318         or a buffer with a length of 0.
3319
3320 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3321
3322         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3323         (gst_uri_get_protocol), (gst_uri_has_protocol),
3324         (gst_uri_construct), (gst_uri_handler_set_uri):
3325         A valid URI scheme can also include '+', '-' and '.' additional
3326         to alphanumeric characters as per RFC 3986 Section 3.1.
3327
3328         Handle URI schemes case insensitive in all places and convert
3329         to lower-case when constructing an URI or setting an URI with
3330         the GstURIHandler interface. Fixes bug #528868.
3331         All elements can still assume (as before) that they will
3332         get passed URIs with a lower-case URI scheme by the GstURIHandler
3333         interface.
3334
3335 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3336
3337         * gst/gstcaps.c: (gst_static_caps_get):
3338         * gst/gstclock.c: (gst_clock_entry_new):
3339           Don't use g_atomic_set_int where it's not needed.
3340
3341 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3342
3343         * gst/gstvalue.c: (gst_value_deserialize_caps):
3344         * gst/parse/grammar.y:
3345         Fix 2 caps leaks.
3346
3347 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3348
3349         * gst/gstutils.c: (gst_atomic_int_set):
3350         Use g_atomic_int_set() here too instead of assignment +
3351         g_atomic_int_get().
3352
3353 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3354         
3355         * gst/gstutils.c:
3356         * gst/gstutils.h:
3357         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3358         now that we depend on new enough GLib.
3359
3360         * gst/gstcaps.c: (gst_static_caps_get):
3361         * gst/gstclock.c: (gst_clock_entry_new):
3362         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3363         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3364         (gst_debug_category_set_threshold):
3365         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3366         (gst_base_sink_set_qos_enabled):
3367         * libs/gst/net/gstnettimeprovider.c:
3368         (gst_net_time_provider_set_property):
3369         Use g_atomic_int_set() instead of gst_atomic_int_set().
3370
3371 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3372
3373         * gst/gstquery.c:
3374           Also use G_GINT64_CONSTANT for the queries.
3375
3376 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3377
3378         * gst/gstmessage.c:
3379           Use G_GINT64_CONSTANT in varargs function.
3380
3381 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3382
3383         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3384         Initialize the registry magic with zeroes.
3385
3386 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3387
3388         * gst/gstregistrybinary.c: (_gst_crc32),
3389         (gst_registry_binary_write),
3390         (gst_registry_binary_initialize_magic),
3391         (gst_registry_binary_write_cache),
3392         (gst_registry_binary_check_magic),
3393         (gst_registry_binary_read_cache):
3394         * gst/gstregistrybinary.h:
3395         Add crc32 checksum to the binary registry file and check this before
3396         accepting a registry file.
3397
3398         Also free the data list when writing to the registry file fails.
3399
3400 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3401
3402         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3403         (gst_registry_binary_load_feature),
3404         (gst_registry_binary_load_plugin):
3405         If an element supports the Uri interface, returns a valid pointer
3406         to the supported URI protocols but this pointer contains nothing
3407         don't try to save that as it will corrupt the registry.
3408
3409         Don't unref the plugin if we added it to the registry already but
3410         fail to load a feature as gst_registry_add_plugin() takes ownership
3411         of the plugin.
3412
3413         Improve debugging a bit.
3414
3415 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3416
3417         * gst/gsttaglist.h:
3418           Clarify some tag item docs after discussion on irc.
3419
3420 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3421
3422         * docs/gst/gstreamer-docs.sgml:
3423           Remove commented out plugins (they have their own docs). Update
3424           comments.
3425
3426 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3427
3428         * docs/gst/gstreamer-docs.sgml:
3429         * docs/gst/gstreamer-sections.txt:
3430         * gst/gstparamspecs.c:
3431         * gst/gstparamspecs.h:
3432           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3433           docs to own section.
3434
3435         * gst/gstvalue.c:
3436           This now only documents GValue.
3437           
3438         * docs/libs/gstreamer-libs-sections.txt:
3439         * libs/gst/controller/gstcontroller.h:
3440           Remove GST_PARAM_CONTROLLABLE.
3441
3442 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3443
3444         * docs/README:
3445           Correct file path. Tell about how to use -overrides.txt.
3446         * docs/design/draft-tagreading.txt:
3447           Small design update.
3448
3449 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3450
3451         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3452         (gst_registry_binary_load_plugin):
3453         Fix a typo in a debug message and revert change from yesterday as
3454         gst_registry_add_plugin() will only fail if something is really wrong
3455         already and we can't survive it anyway.
3456
3457 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3458
3459         * gst/gst.c: (init_post), (gst_deinit):
3460           Pre-register GstGError GType from a thread-safe context
3461           (fixes #527967); unref enum type classes in deinit.
3462
3463 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3464
3465         Patch by: Rene Stadler <mail at renestadler de>
3466
3467         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3468           Merging an empty list with another list in KEEP_ALL mode should
3469           yield an empty list as result and not the second list (#512578).
3470
3471         * tests/check/gst/gsttagsetter.c:
3472           Add unit test for tag merge modes and the aforementioned bug.
3473
3474 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3475
3476         Patch by: Rene Stadler <mail at renestadler de>
3477
3478         * gst/gsttaglist.h:
3479           Fix description to match the order in the table (#512577).
3480   
3481 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3482
3483         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3484
3485         * libs/gst/net/gstnettimepacket.h:
3486         * docs/libs/gstreamer-libs-sections.txt:
3487           Define socklen_t as int if it's not defined yet. Fixes compilation
3488           with MSVC6 and other versions where socklen_t is not defined in
3489           the windows headers (#518022).
3490
3491 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3492
3493         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3494         If gst_registry_add_plugin() fails our reference to the plugin is
3495         invalid so don't try to use it anymore and instead error out.
3496
3497 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3498
3499         * tools/gst-xmlinspect.c: (print_element_info), (main):
3500           De-cruft a bit. If no argument is specified, print all elements in
3501           XML syntax rather than a freestyle list of elements like gst-inspect.
3502           Also, don't print XML header chunk unless we actually have something
3503           to print (ie. don't print it before an error message); print error
3504           message to stderr not stdout. Remove support for printing plugin
3505           info (it would just output something freestyle along the lines of
3506           gst-inspect so far), which fixes #514507. Also add license header.
3507
3508 2008-04-11  Julien Moutte  <julien@fluendo.com>
3509
3510         Mac OS X love...
3511         * configure.ac: Merge platform specific defines, introduce a new
3512         define on OS X to remember that forking when updating registry is
3513         unsafe.
3514         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3515         module.
3516         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3517         is defined.
3518         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3519         condition that leads to absolutely no plugins being registered on
3520         OS X.
3521
3522 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3523
3524         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3525
3526         * gst/gstutils.c: (gst_pad_add_data_probe),
3527           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3528           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3529           (gst_pad_add_buffer_probe_full):
3530         * gst/gstutils.h:
3531         * docs/gst/gstreamer-sections.txt:
3532         * win32/common/libgstreamer.def:
3533           Add gst_pad_add_*_probe_full() functions with a notify callback that
3534           lets the caller free the data it passes to the probe functions. This
3535           is useful for bindings such as gst-python or gstreamermm (#526814).
3536           API: gst_pad_add_data_probe_full
3537           API: gst_pad_add_buffer_probe_full
3538           API: gst_pad_add_event_probe_full
3539
3540         * tests/check/gst/gstutils.c:
3541           Add minimal unit test to make sure freeing the data actually works
3542           as expected.
3543
3544         * tests/benchmarks/.cvsignore:
3545           Random cvsignore addendum.
3546
3547 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3548
3549         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3550           (GST_DEBUG_BIN_TO_DOT_FILE):
3551           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3552           to it in the docs (since these are macros the types of the arguments
3553           won't be shown in the docs otherwise).
3554
3555 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3556
3557         * gst/gstpad.c:
3558           Do not abort on out of memory for pad_alloc_buffer.
3559
3560 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3561
3562         * libs/gst/check/gstcheck.c:
3563           Remove blank line between symbol name ad parameters to fix gtkdoc
3564           warning.
3565
3566 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3567
3568         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3569
3570         * docs/gst/gstreamer-sections.txt:
3571         * gst/gstsegment.c:
3572         * gst/gstsegment.h:
3573         * win32/common/libgstreamer.def:
3574           Expose gst_segment_copy() to make things easier for the c++ bindings.
3575           Fixes #518932.
3576           API: gst_segment_copy()
3577
3578 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3579
3580         * gst/gst.c: (gst_init_get_option_group), (init_post):
3581           Fix const position; ref GType classes for enum types to work
3582           around thread-safety issues in GLib versions < 2.16.
3583
3584 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3585
3586         * docs/design/part-buffering.txt:
3587         Fix some typos and set the estimated total for push mode to -1.
3588
3589         * gst/gstquery.c: (gst_query_new_buffering):
3590         Set buffering-left to 0 as we're not buffering by default.
3591
3592         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3593         Implement BUFFERING query.
3594
3595 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3596
3597         Based on patch by: Milosz Derezynski <internalerror gmail com>
3598
3599         * gst/gsterror.c: (_gst_stream_errors_init):
3600         * gst/gsterror.h:
3601           Add two new error codes for encrypted content. Fixes #524659.
3602           API: GST_STREAM_ERROR_DECRYPT
3603           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3604
3605 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3606
3607         * gst/gstquery.h:
3608           Fix typo.
3609
3610         * win32/common/libgstreamer.def:
3611           Add new functions.
3612
3613 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3614
3615         * plugins/elements/gstidentity.c: (gst_identity_event),
3616         (gst_identity_start):
3617         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3618         event after processing some data. Fixes bug #526042.
3619
3620 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3621
3622         * docs/gst/gstreamer-sections.txt:
3623         * gst/gstquery.c: (gst_query_parse_latency),
3624         (gst_query_set_buffering_percent),
3625         (gst_query_parse_buffering_percent),
3626         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3627         * gst/gstquery.h:
3628         Rename _avail -> _range
3629         API: gst_query_set_buffering_range
3630         API: gst_query_parse_buffering_range
3631
3632 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3633
3634         * docs/design/part-buffering.txt:
3635         * gst/gstquark.c:
3636         * gst/gstquark.h:
3637         * gst/gstquery.c: (gst_query_parse_latency),
3638         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3639         (gst_query_parse_buffering_percent):
3640         * gst/gstquery.h:
3641         Add busy field and quark for the buffering query so that the app can
3642         only use the query to see if buffering is in progress.
3643
3644 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3645
3646         * docs/gst/gstreamer-sections.txt:
3647         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3648         (gst_message_parse_buffering_stats):
3649         * gst/gstmessage.h:
3650         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3651         (gst_query_parse_latency), (gst_query_new_buffering),
3652         (gst_query_set_buffering_percent),
3653         (gst_query_parse_buffering_percent),
3654         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3655         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3656         * gst/gstquery.h:
3657         Reorder the message docs and headers for clarity.
3658         Add aditional buffering stats API for messages.
3659         Add buffering query.
3660         Convert some leftover queries to use GstQuark.
3661         API: gst_message_set_buffering_stats
3662         API: gst_message_parse_buffering_stats
3663         API: GST_QUERY_BUFFERING
3664         API: GstBufferingMode
3665         API: gst_query_new_buffering
3666         API: gst_query_set_buffering_percent
3667         API: gst_query_parse_buffering_percent
3668         API: gst_query_set_buffering_stats
3669         API: gst_query_parse_buffering_stats
3670
3671 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3672
3673         * gst/gstmessage.c: (gst_message_new_error),
3674         (gst_message_new_warning), (gst_message_new_info),
3675         (gst_message_new_buffering), (gst_message_new_state_changed),
3676         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3677         (gst_message_new_new_clock), (gst_message_new_segment_start),
3678         (gst_message_new_segment_done), (gst_message_new_duration),
3679         (gst_message_new_async_start), (gst_message_parse_buffering),
3680         (gst_message_parse_state_changed),
3681         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3682         (gst_message_parse_new_clock), (gst_message_parse_error),
3683         (gst_message_parse_warning), (gst_message_parse_info),
3684         (gst_message_parse_segment_start),
3685         (gst_message_parse_segment_done), (gst_message_parse_duration),
3686         (gst_message_parse_async_start):
3687         Use GstQuark for messages.
3688
3689 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3690
3691         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3692         * gst/gstquark.h:
3693         Add some more quarks needed for messages and queries.
3694
3695 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3696
3697         * docs/design/part-buffering.txt:
3698         Remove the "none" buffering mode, STREAM is a good default.
3699         Move estimated-time to the avail query, that's when it will be needed.
3700         Other small typo fixes and updates.
3701
3702 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3703
3704         * gst/gstindex.c: (gst_index_resolver_get_type):
3705           Don't put descriptions into the nick field of a GEnumValue: it's not
3706           meant for that and some language bindings rely on the nick field to
3707           construct constants and the like. Fixes #526705.
3708
3709 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3710
3711         * NEWS:
3712         * RELEASE:
3713         * gstreamer.doap:
3714           Merge other changes from 0.10.19 release branch.
3715
3716 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3717
3718         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3719
3720         * configure.ac:
3721         Actually build dlls when cross-compiling with mingw32.
3722         Fixes bug #526247.
3723
3724 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3725
3726         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3727
3728         * gst/gstpoll.c:
3729         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3730
3731 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3732
3733         * docs/design/draft-latency.txt:
3734         Fix typo.
3735
3736         * docs/design/part-buffering.txt:
3737         Update design docs with more buffering ideas.
3738
3739 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3740
3741         * configure.ac:
3742           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3743
3744 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3745
3746         * configure.ac:
3747           Revert part that belongs to the preset patch.
3748
3749 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3750
3751         * configure.ac:
3752           Add qoutes to the define. Fixes # 525961.
3753
3754 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3755
3756         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3757         (gst_file_index_load), (gst_file_index_add_id),
3758         (gst_file_index_get_assoc_entry):
3759         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3760         (gst_mem_index_free_id), (gst_mem_index_add_id),
3761         (gst_mem_index_index_format):
3762         Use GSlice when possible.
3763
3764 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3765
3766         * libs/gst/controller/gstinterpolationcontrolsource.c:
3767         (gst_control_point_free),
3768         (gst_interpolation_control_source_set_internal):
3769         Use GSlice for allocating the control points.
3770
3771 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3772
3773         * plugins/elements/gsttypefindelement.c:
3774         (gst_type_find_element_class_init),
3775         (gst_type_find_element_set_property),
3776         (gst_type_find_element_get_property),
3777         (gst_type_find_element_activate):
3778         * plugins/elements/gsttypefindelement.h:
3779         Cleanup properties.
3780         Fix pad leak when peer query fails.
3781         We can still typefind when the peer returns -1.
3782         Add property to force caps and bypass typefinding. This will be used in
3783         uridecodebin.
3784         API::force-caps
3785
3786 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3787
3788         * configure.ac:
3789         Require GLib 2.12.
3790
3791         * gst/glib-compat-private.h:
3792         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3793         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3794         Unconditionally use GSlice for allocation.
3795
3796         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3797         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3798         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3799         (gst_structure_free):
3800         Use GSlice for allocation.
3801
3802 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3803
3804         * gst/parse/Makefile.am:
3805         * gst/parse/grammar.tab.pre.c:
3806         * gst/parse/grammar.tab.pre.h:
3807         * gst/parse/lex._gst_parse_yy.pre.c:
3808         Require a new enough flex and bison and remove the parser hacks to use
3809         a pre-regenerated version.
3810
3811 2008-04-01  Julien Moutte  <julien@fluendo.com>
3812
3813         patch by: Jason Zhao <E3423C@motorola.com>
3814
3815         * configure.ac: Add a configure switch to disable option parsing
3816         in gst_init.
3817         Fixes #522882.
3818
3819 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3820
3821         * configure.ac:
3822         * gst/gstregistry.c:
3823           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3824           and handle this case.
3825
3826         * gst/gst.c:
3827           Add a comment here describing, why we stat each plugin and not try to
3828           be smart.
3829
3830 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3831
3832         * libs/gst/base/gstbasetransform.c:
3833         (gst_base_transform_prepare_output_buffer):
3834         Also unset the GAP flag on buffers if we're working inplace but
3835         the element is not GAP-aware.
3836
3837         Mark a comment as FIXME 0.11.
3838
3839 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3840
3841         * gst/gst.c:
3842           Fix type in log message and add one to ease seeing how long registry
3843           cache verification takes.
3844
3845         * gst/gstregistry.c:
3846           Only test plugin filenames against G_MODULE_SUFFIX.
3847
3848 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3849
3850         * gst/gstdebugutils.c:
3851           Improve handling ghost/proxy pads.
3852
3853 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3854
3855         * docs/gst/gstreamer-sections.txt:
3856         * gst/gstpad.c:
3857         * gst/gstpad.h:
3858           Expose macro to docs and fix link to it.
3859
3860 2008-03-27  Michael Smith <msmith@fluendo.com>
3861
3862         * libs/gst/dataprotocol/dataprotocol.c:
3863         (gst_dp_packet_from_event_1_0):
3864           When calculating GDP body CRC, use the correct pointer. 
3865           Fixes part of #522401.
3866
3867 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3868
3869         Patch by: Mark Nauwelaerts <manauw at skynet be>
3870
3871         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3872         (gst_identity_init), (gst_identity_prepare_output_buffer):
3873         Identity is not always a passthrough element, it can modify the buffer
3874         timestamps when it has a datarate and operates in single-segment mode.
3875         We therefore make it an in_place filter with a custom buffer prepare
3876         function that conditionally makes the input buffer metadata writable
3877         when needed.  Fixes #523985.
3878
3879 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3880
3881         Patch by: Mark Nauwelaerts <manauw at skynet be>
3882
3883         * gst/gstclock.h:
3884         * libs/gst/base/gstbasesrc.h:
3885         * libs/gst/base/gstbasetransform.c:
3886         * libs/gst/check/gstcheck.c:
3887         Small documentation fixes. Fixes #523978.
3888
3889 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3890
3891         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3892         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3893         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3894
3895 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3896
3897         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3898         (single_queue_underrun_cb):
3899         When trying to make room in the queue, bump the max allowed buffers
3900         bigger than the current amount of buffers in the queue. this fixes some
3901         nasty deadlocks in multiqueue when dynamically changing the limits of
3902         the queue.
3903
3904 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3905
3906         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3907
3908         * gst/gstcaps.c: (gst_caps_set_simple),
3909         (gst_caps_set_simple_valist), (gst_caps_intersect):
3910         * gst/gstcaps.h:
3911         Constify the field gchar * params in set_simple and friends.
3912         Fixes #522326.
3913
3914 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3915
3916         * gst/gstvalue.c: (gst_value_transform_object_string):
3917         Transform a GstObject to a more meaningfull string that includes the
3918         object type in addition to its name.
3919
3920 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3921
3922         * ChangeLog:
3923           ChangeLog surgery to add bugnumber to commit.
3924
3925 2008-03-23  Rene Stadler  <mail@renestadler.de>
3926
3927         * libs/gst/base/gstbasetransform.c:
3928         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3929
3930 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3931
3932         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3933         Rename constant everywhere and don't forget one occurence.
3934
3935 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3936
3937         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3938         Align memory to the pointer size even if the architecture allows
3939         unaligned memory access. Unaligned memory access usually comes with
3940         performance penality.
3941
3942 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3943
3944         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3945         (gst_registry_binary_check_magic),
3946         (gst_registry_binary_load_pad_template),
3947         (gst_registry_binary_load_feature),
3948         (gst_registry_binary_load_plugin):
3949         Align memory to the pointer size instead of always 32 bit. Fixes
3950         unaligned memory accesses on ia64 and friends.
3951
3952         * gst/gstregistrybinary.h:
3953         Bump binary registry format version for this as it changes the
3954         format on those architectures that don't have unaligned access
3955         and 64 bit pointers.
3956
3957 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3958
3959         * docs/pwg/advanced-dparams.xml:
3960         * docs/pwg/building-props.xml:
3961         * docs/pwg/other-source.xml:
3962         * gst/glib-compat.h:
3963         * gst/gstbin.c: (gst_bin_class_init):
3964         * gst/gstclock.c: (gst_clock_class_init):
3965         * gst/gstindex.c: (gst_index_class_init):
3966         * gst/gstobject.c: (gst_object_class_init):
3967         * gst/gstpad.c: (gst_pad_class_init):
3968         * gst/gstpipeline.c: (gst_pipeline_class_init):
3969         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3970         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3971         * libs/gst/base/gstbasetransform.c:
3972         (gst_base_transform_class_init):
3973         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3974         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3975         (_gst_check_fault_handler_sighandler),
3976         (_gst_check_fault_handler_setup), (gst_check_init):
3977         * libs/gst/controller/gstcontroller.c:
3978         (_gst_controller_class_init):
3979         * libs/gst/controller/gstlfocontrolsource.c:
3980         (gst_lfo_control_source_class_init):
3981         * libs/gst/net/gstnetclientclock.c:
3982         (gst_net_client_clock_class_init):
3983         * libs/gst/net/gstnettimeprovider.c:
3984         (gst_net_time_provider_class_init):
3985         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3986         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3987         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3988         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3989         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3990         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3991         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3992         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3993         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3994         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3995         * plugins/elements/gsttee.c: (gst_tee_class_init):
3996         * plugins/elements/gsttypefindelement.c:
3997         (gst_type_find_element_class_init):
3998         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3999         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4000         use it everywhere for GParamSpecs that use static strings (i.e. all).
4001         This gives us less memory usage, fewer allocations and thus less
4002         memory defragmentation. Fixes bug #523806.
4003
4004 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4005
4006         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4007         (gst_param_spec_mini_object):
4008         * gst/gstminiobject.h:
4009         * win32/common/libgstreamer.def:
4010         * docs/gst/gstreamer-sections.txt:
4011         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4012         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4013         GstParamSpecMiniObject into a public header for this.
4014
4015         This make GstMiniObject a bit more consistent with GObject and makes
4016         it possible to extend the param specs.
4017
4018         gst_value_dup_mini_object is mainly useful for set_property methods.
4019
4020         Fixes bug #523798.
4021
4022         * tools/gst-inspect.c: (print_element_properties_info):
4023         Print something useful for GstMiniObject properties and not just
4024         "unknown type".
4025
4026 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4027
4028         * docs/gst/gstreamer-sections.txt:
4029         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4030         (gst_registry_binary_check_magic):
4031         * gst/gstregistrybinary.h:
4032         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4033         and add it to the (private part) of the docs to fix the build.
4034
4035 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4036
4037         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4038         (gst_registry_binary_check_magic),
4039         (gst_registry_binary_read_cache):
4040         * gst/gstregistrybinary.h:
4041         Don't use GST_MAJORMINOR for the binary registry version. Instead
4042         hardcode a value that must be changed whenever the format changes
4043         in an incompatible way.
4044         Also don't GST_ERROR when there is a version mismatch, just
4045         regenerate the registry silently.
4046
4047 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4048
4049         * configure.ac:
4050         Back to development - 0.10.18.1
4051
4052 === release 0.10.18 ===
4053
4054 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4055
4056         * configure.ac:
4057           releasing 0.10.18, "So far away"
4058
4059 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4060
4061         * configure.ac:
4062         * win32/common/config.h:
4063         0.10.17.4 pre-release
4064
4065 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4066
4067         Patch by: Ole André Vadla Ravnås
4068             <ole dot andre dot ravnas at tandberg dot com>
4069
4070         * docs/gst/gstreamer-sections.txt:
4071         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4072         (gst_poll_update_winsock_event_mask),
4073         (gst_poll_prepare_winsock_active_sets),
4074         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4075         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4076         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4077         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4078         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4079         * gst/gstpoll.h:
4080         * win32/common/libgstreamer.def:
4081         Add new function gst_poll_fd_ignored() for improved Windows
4082         compatibility.
4083         Various minor fixes and cleanups. See #520808.
4084
4085 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4086
4087         * gst/gstindex.c: (gst_index_entry_free):
4088         * gst/gstindex.h:
4089           Don't free key strings which we don't own. Fixes crash in
4090           gst_index_entry_free() (#522741).
4091
4092         * tests/check/Makefile.am:
4093         * tests/check/gst/.cvsignore:
4094         * tests/check/gst/gstindex.c: (test_index_entries),
4095           (gst_index_suite), (gst_index):
4096           Add unit test for the above.
4097
4098 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4099
4100         * win32/common/libgstreamer.def:
4101         Remove symbols that were removed recently. Fixes bug #521740.
4102
4103 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4104
4105         * configure.ac:
4106         * win32/common/config.h:
4107         0.10.17.3 pre-release
4108
4109 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4110
4111         Patch by: Ole André Vadla Ravnås
4112             <ole dot andre dot ravnas at tandberg dot com>
4113
4114         * docs/gst/gstreamer-sections.txt:
4115         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4116         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4117         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4118         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4119         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4120         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4121         (gst_poll_fd_can_write), (gst_poll_wait),
4122         (gst_poll_set_controllable), (gst_poll_restart),
4123         (gst_poll_set_flushing):
4124         * gst/gstpoll.h:
4125         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4126         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4127         (gst_net_time_provider_new):
4128         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4129         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4130         * tests/benchmarks/gstpollstress.c: (main):
4131         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4132         Remove GstPollMode from the API, it does not make sense to let the
4133         application control this.
4134         Add support for Win32.
4135         Fix the testsuite. Fixes #520671.
4136
4137 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4138
4139         Patch by: Ole André Vadla Ravnås
4140             <ole dot andre dot ravnas at tandberg dot com>
4141
4142         * gst/gstregistrybinary.c:
4143         Include io.h for write() and close() when building with MSVC. Fixes
4144         bug #520877.
4145
4146 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4147
4148         * configure.ac:
4149         * gst/gst_private.h:
4150         * gst/gstconfig.h.in:
4151         * gst/gstregistry.h:
4152         * gst/gstregistrybinary.c:
4153         * win32/common/gstconfig.h:
4154           Move registry backend API to private headers where we can. Add
4155           fixme-0.11 comments for the others. Add stubs for the xml backend when
4156           using the binary to ensure they functions exists (they should not be
4157           used though). Fixes #520756.
4158
4159 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4160
4161         * configure.ac:
4162         * win32/common/config.h:
4163         0.10.17.2 prelease
4164
4165 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4166
4167         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4168         (gst_registry_binary_read_cache):
4169         * gst/gstregistryxml.c: (gst_registry_save):
4170         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4171         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4172         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4173         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4174         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4175         Fixes #520152
4176
4177 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4178
4179         * gst/gstminiobject.c:
4180         Import gst_private.h before any other header that might include other
4181         glib headers. This fixes the build on windows using native compilers.
4182
4183 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4184
4185         * win32/common/gstconfig.h:
4186           Add here too, just for completeness.
4187
4188 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4189
4190         * configure.ac:
4191         * gst/gstconfig.h.in:
4192         * gst/gstregistry.h:
4193           Fix broken use of config.h-defined preprocessor directive in a public
4194           header file. Add a corresponding define to gstconfig.h, since we can't
4195           really remove those function declarations from the header file now
4196           (or can we? and why are they there in the first place?).
4197
4198 2008-03-03  Andy Wingo  <wingo@pobox.com>
4199
4200         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4201         the new warning.
4202
4203         * gst/gststructure.c (gst_structure_from_string): Warn if
4204         structure_from_string didn't consume the whole string, but the
4205         caller did not provide an end pointer.
4206
4207 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4208
4209         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4210
4211         * gst/gstregistryxml.c: (read_string), (load_feature):
4212           Strings allocated by libxml2 should be freed with xmlFree(), not
4213           with g_free(). Fixes issues on windows in certain contexts (#519698).
4214
4215 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4216
4217         * gst/gstinterface.c: (gst_element_implements_interface):
4218           Don't crash if the element supports the interface queried, but does
4219           not implement GstImplementsInterface. Fixes #519584.
4220
4221         * tests/check/Makefile.am:
4222         * tests/check/gst/.cvsignore:
4223         * tests/check/gst/gstinterface.c:
4224           Add unit test for the above.
4225
4226 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4227
4228         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4229         Small doc update.
4230
4231 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4232
4233         * gst/gstsegment.c: (gst_segment_set_seek),
4234         (gst_segment_to_stream_time):
4235         Improve some comment.
4236         Update variables where it makes more sense.
4237
4238 2008-02-29  Rene Stadler  <mail@renestadler.de>
4239
4240         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4241         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4242         URIHandlers implemented using language bindings.
4243
4244 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4245
4246         * gst/gstelementfactory.h:
4247         * tests/check/elements/fakesink.c:
4248         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4249         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4250         * tests/check/elements/filesink.c: (setup_filesink):
4251         * tests/check/elements/filesrc.c: (setup_filesrc):
4252         * tests/check/elements/identity.c: (setup_identity):
4253         * tests/check/elements/tee.c:
4254         * tests/check/generic/sinks.c:
4255         * tests/check/generic/states.c: (setup), (teardown):
4256         * tests/check/gst/gst.c:
4257         * tests/check/gst/gstabi.c:
4258         * tests/check/gst/gstbin.c:
4259         * tests/check/gst/gstbus.c: (pull_messages):
4260         * tests/check/gst/gstcaps.c:
4261         * tests/check/gst/gstelement.c:
4262         * tests/check/gst/gstevent.c:
4263         * tests/check/gst/gstghostpad.c:
4264         * tests/check/gst/gstiterator.c:
4265         * tests/check/gst/gstmessage.c:
4266         * tests/check/gst/gstminiobject.c: (my_foo_init):
4267         * tests/check/gst/gstobject.c: (thread_name_object),
4268         (gst_object_suite):
4269         * tests/check/gst/gstpad.c:
4270         * tests/check/gst/gstplugin.c:
4271         * tests/check/gst/gstpoll.c:
4272         * tests/check/gst/gstquery.c:
4273         * tests/check/gst/gstsegment.c:
4274         * tests/check/gst/gststructure.c:
4275         * tests/check/gst/gstsystemclock.c:
4276         * tests/check/gst/gsttask.c:
4277         * tests/check/gst/gstutils.c:
4278         * tests/check/gst/gstvalue.c:
4279         * tests/check/gst/struct_hppa.h:
4280         * tests/check/gst/struct_i386.h:
4281         * tests/check/gst/struct_ppc32.h:
4282         * tests/check/gst/struct_ppc64.h:
4283         * tests/check/gst/struct_x86_64.h:
4284         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4285         * tests/check/libs/basesrc.c:
4286         * tests/check/libs/controller.c: (GST_START_TEST):
4287         * tests/check/libs/gdp.c:
4288         * tests/check/libs/gstnetclientclock.c:
4289         * tests/check/libs/gstnettimeprovider.c:
4290         * tests/check/libs/libsabi.c:
4291         * tests/check/libs/struct_hppa.h:
4292         * tests/check/libs/struct_i386.h:
4293         * tests/check/libs/struct_ppc32.h:
4294         * tests/check/libs/struct_ppc64.h:
4295         * tests/check/libs/struct_x86_64.h:
4296         * tests/check/pipelines/cleanup.c:
4297         * tests/check/pipelines/simple-launch-lines.c:
4298         * tests/check/pipelines/stress.c:
4299         And correct even more valid sparse warnings.
4300
4301         * win32/common/libgstreamer.def:
4302         Add gst_poll_fd_init to the list of symbols.
4303
4304 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4305
4306         * gst/gstconfig.h.in:
4307         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4308         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4309         (gst_check_log_critical_func), (gst_check_drop_buffers),
4310         (gst_check_element_push_buffer_list):
4311         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4312         (gst_controller_get_type):
4313         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4314         (gst_object_get_controller), (gst_object_get_control_source):
4315         * libs/gst/controller/gstinterpolationcontrolsource.c:
4316         (gst_interpolation_control_source_new):
4317         * libs/gst/controller/gstlfocontrolsource.c:
4318         (gst_lfo_control_source_new):
4319         * libs/gst/dataprotocol/dataprotocol.c:
4320         (gst_dp_event_from_packet_0_2):
4321         * plugins/elements/gstfdsrc.c:
4322         * plugins/elements/gstmultiqueue.c:
4323         * plugins/elements/gsttee.c:
4324         * plugins/elements/gsttypefindelement.c:
4325         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4326         (gst_file_index_add_association):
4327         * plugins/indexers/gstmemindex.c:
4328         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4329         * tests/check/elements/queue.c: (setup_queue):
4330         * tests/check/gst/gstpipeline.c:
4331         * tests/check/libs/collectpads.c: (setup), (teardown),
4332         (gst_collect_pads_suite):
4333         * tests/examples/adapter/adapter_test.c:
4334         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4335         * tests/examples/xml/createxml.c:
4336         * tests/examples/xml/runxml.c:
4337         * tools/gst-inspect.c:
4338         * tools/gst-run.c:
4339         Correct all relevant warnings found by the sparse semantic code
4340         analyzer. This include marking several symbols static, using
4341         NULL instead of 0 for pointers, not using variable sized arrays
4342         on the stack, moving variable declarations to the beginning of
4343         a block and using "foo (void)" instead of "foo ()" for declarations.
4344
4345 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4346
4347         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4348         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4349         Don't reset GstPollFDs, this is not necessary at all.
4350
4351         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4352         (delayed_restart), (delayed_control):
4353         Use GST_POLL_FD_INIT.
4354
4355 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4356
4357         * gst/gstpoll.c: (gst_poll_fd_init):
4358         * gst/gstpoll.h:
4359         Added Since tags.
4360
4361         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4362         Use some more init macros.
4363
4364 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4365
4366         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4367         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4368         Use init macros and functions.
4369
4370 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4371
4372         * docs/gst/gstreamer-sections.txt:
4373         * gst/gstpoll.c: (gst_poll_fd_init):
4374         * gst/gstpoll.h:
4375         Add INIT macro and _init method for initializing the GstPollFD.
4376
4377 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4378
4379         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4380         (gst_fd_sink_update_fd):
4381         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4382         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4383         (delayed_restart), (delayed_control):
4384         Initialize some uninitialized variables as spotted by valgrind.
4385
4386 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4387
4388         * tests/benchmarks/Makefile.am:
4389         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4390         (main):
4391         Add poll stress test.
4392
4393 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4394
4395         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4396
4397         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4398         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4399         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4400         * plugins/elements/gstfdsink.h:
4401         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4402         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4403         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4404         (gst_fd_src_uri_set_uri):
4405         * plugins/elements/gstfdsrc.h:
4406         Port to GstPoll. See #505417.
4407
4408 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4409
4410         * win32/common/libgstreamer.def:
4411         Add new gst_poll_ symbols to win32 defs.
4412
4413 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4414
4415         * docs/libs/gstreamer-libs-sections.txt:
4416         * libs/gst/net/gstnetclientclock.c:
4417         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4418         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4419         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4420         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4421         * libs/gst/net/gstnetclientclock.h:
4422         * libs/gst/net/gstnettimeprovider.c:
4423         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4424         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4425         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4426         (gst_net_time_provider_new):
4427         * libs/gst/net/gstnettimeprovider.h:
4428         Use a private stuct to not break ABI.
4429
4430 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4431
4432         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4433
4434         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4435         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4436         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4437         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4438         * libs/gst/net/gstnetclientclock.h:
4439         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4440         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4441         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4442         (gst_net_time_provider_new):
4443         * libs/gst/net/gstnettimeprovider.h:
4444         Massive code removal and cleanups because of GstPoll.
4445         Fixes #505417.
4446
4447 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4448
4449         * configure.ac:
4450         Add checks for poll, ppoll and pselect.
4451
4452         * docs/gst/gstreamer-docs.sgml:
4453         * docs/gst/gstreamer-sections.txt:
4454         Add docs for GstPoll.
4455
4456         * gst/Makefile.am:
4457         * gst/gst.h:
4458         * gst/gstpoll.c: (find_index), (selectable_fds),
4459         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4460         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4461         (gst_poll_set_mode), (gst_poll_get_mode),
4462         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4463         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4464         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4465         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4466         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4467         (gst_poll_fd_can_write), (gst_poll_wait),
4468         (gst_poll_set_controllable), (gst_poll_restart),
4469         (gst_poll_set_flushing):
4470         * gst/gstpoll.h:
4471         Add generic poll abstraction. We ideally don't want to have this in core
4472         here but in glib intead...
4473         This code will be used in various network elements and ultimately for
4474         the nanosecond precision monotonic clock (that's why it's here in core).
4475         It'll allow us to implement cancelable socket operations for windows too.
4476
4477         * tests/check/Makefile.am:
4478         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4479         (delayed_stop), (delayed_restart), (delayed_flush),
4480         (delayed_control), (gst_poll_suite):
4481         Add GstPoll unit test.
4482
4483 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4484
4485         * gst/gstfilter.c:
4486           Improve documentation of gst_filter_run(). Fixes #518627.
4487
4488 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4489
4490         * docs/README:
4491           Add a few lines about the new 'check-inspected-versions' target.
4492
4493 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4494
4495         * tests/check/gst/gstevent.c:
4496           Add qos to the event test. Rename tcase/tsuite; is not only about
4497           custom events.
4498
4499 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4500
4501         * plugins/elements/gstqueue.c:
4502           Ensure that buffer metadata is writeable, before modifying. Spotted by
4503           Mike.
4504
4505 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4506
4507         * plugins/elements/gstqueue.c:
4508         * plugins/elements/gstqueue.h:
4509           When dropping buffers in leaky modes, mark next buffers we sent as
4510           DISCONT.
4511
4512 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4513
4514         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4515           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4516
4517 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4518
4519         * plugins/elements/Makefile.am:
4520         * plugins/elements/gstbufferstore.c:
4521         * plugins/elements/gstbufferstore.h:
4522         * plugins/elements/gsttypefindelement.h:
4523           Remove GstBufferStore, no idea why we were still building it.
4524           It's not used anywhere and superseded by GstAdapter.
4525
4526         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4527           (gst_file_src_create_mmap):
4528         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4529           Printf format fixes for 64-bit integers.
4530
4531 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4532
4533         * configure.ac:
4534         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4535         We're not in 0.8 times anymore.
4536
4537 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4538
4539         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4540         (gst_check_element_push_buffer_list):
4541         * libs/gst/check/gstcheck.h:
4542         Make the declaration in the header for
4543         gst_check_element_push_buffer_list match the implementation.
4544
4545         Fix up spelling, grammar and wording of the documentation in a few
4546         places, and add the Since keyword to new API functions.
4547         Use g_list_delete_link instead of g_list_remove in
4548         gst_check_drop_buffers, since it's immeasurably more efficient.
4549
4550         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4551         Use new gst_check_drop_buffers function where appropriate.
4552
4553         * win32/common/libgstbase.def:
4554         * win32/common/libgstreamer.def:
4555         Add new symbols gst_collect_pads_take_buffer, 
4556         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4557         exports
4558
4559         Changelog surgery to add API keyword to new gst_check API.
4560
4561 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4562
4563         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4564         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4565         Update pre-generated flex files with flex 2.3.34.
4566
4567 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4568
4569         * gst/gstminiobject.c:
4570           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4571           friendly to subclasses and not require them to know all internals
4572           of their parent class.
4573
4574 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4575
4576         * docs/libs/gstreamer-libs-sections.txt:
4577         * libs/gst/base/gstcollectpads.c:
4578         * libs/gst/base/gstcollectpads.h:
4579           Add sub-buffer functions to collectpads. Fixes #516187.
4580           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4581
4582 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4583
4584         * gst/gstbuffer.c:
4585           Copy selected buffer-flags when creating subbuffers.
4586           Fixes #516395.
4587
4588 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4589
4590         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4591         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4592         * gst/gstmessage.c: (gst_message_class_init),
4593         (gst_message_finalize):
4594         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4595         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4596         (gst_mmap_buffer_finalize):
4597         Properly chain up finalize functions to the parent class.
4598
4599 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4600
4601         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4602
4603         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4604         (gst_index_set_resolver_full):
4605         * gst/gstindex.h:
4606         Add new function with option to dispose of user_data in resolver.
4607         Actually call the dispose function when finalizing the object and not
4608         just when changing the resolver/filter.
4609         API: GstIndex::gst_index_set_resolver_full()
4610
4611         * docs/gst/gstreamer-sections.txt:
4612         Add new function to docs. Fixes #515469.
4613
4614 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4615
4616         * gst/gstindex.c: (gst_index_finalize):
4617         Chain up finalize to the parent class. Fixes leaking the GstObject
4618         name and other things.
4619
4620 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4621
4622         * configure.ac:
4623         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4624         pre-releases or releases.
4625
4626         * docs/faq/gst-uninstalled:
4627         Add gst-plugins-gl
4628
4629         * docs/random/release:
4630         Change one of the steps - we only upload core & base to Gnome FTP
4631
4632 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4633
4634         * gst/gstconfig.h.in:
4635           Add 'id' for example.
4636
4637         * gst/gstpad.c:
4638         * gst/gstutils.c:
4639         * plugins/elements/gstfdsink.c:
4640           Link to signals. Doc and comment fixes.
4641
4642 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4643
4644         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4645         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4646           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4647           unused and unimplemented; finally, it is plugin features, not
4648           plugins, that have ranks.
4649           
4650 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4651
4652         * gst/gstpluginfeature.h:
4653           Clarify GstRank range docs.
4654
4655 2008-02-05  David Schleef  <ds@schleef.org>
4656
4657         * gst/gst.c: Add a separate gst_deinitialized that prevents
4658           gst_init() from being called after gst_deinit().  Fixes #509559
4659
4660 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4661
4662         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4663         (gst_bin_class_init):
4664         * gst/gstelement.c: (gst_element_base_class_init),
4665         (gst_element_class_add_pad_template):
4666         * gst/gstpadtemplate.c: (gst_pad_template_init):
4667         * gst/gstpipeline.c: (gst_pipeline_get_type),
4668         (gst_pipeline_base_init), (gst_pipeline_class_init):
4669         * libs/gst/base/gstbasesink.c:
4670         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4671         (gst_base_src_base_init), (gst_base_src_class_init):
4672         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4673         (gst_capsfilter_class_init):
4674         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4675         (gst_fake_sink_class_init):
4676         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4677         (gst_fake_src_class_init):
4678         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4679         (gst_fd_sink_class_init):
4680         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4681         (gst_fd_src_class_init):
4682         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4683         (gst_file_sink_class_init):
4684         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4685         (gst_file_src_class_init):
4686         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4687         (gst_identity_class_init):
4688         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4689         (gst_multi_queue_class_init):
4690         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4691         (gst_queue_class_init):
4692         * plugins/elements/gsttee.c: (gst_tee_base_init),
4693         (gst_tee_class_init):
4694         * plugins/elements/gsttypefindelement.c:
4695         (gst_type_find_element_base_init),
4696         (gst_type_find_element_class_init):
4697         * tests/check/gst/gstelement.c: (gst_element_suite):
4698         Revert previous changes to the behaviour of GstPadTemplates, etc
4699         and the possiblity to call them in class_init as it breaks too
4700         many elements. Reopens bug #491501.
4701
4702         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4703         several places.
4704
4705 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4706
4707         * tools/gst-launch.c:
4708         Dump one graph per pipeline state-change and state change name
4709         (if GST_DEBUG_DUMP_DOT_DIR is set).
4710
4711 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4712
4713         * gst/gstpad.c:
4714         * tests/check/gst/gstpad.c:
4715         Be sure that we have a new copy of the caps and not
4716         reffed caps from a template
4717
4718 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4719
4720         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4721         * gst/gstpipeline.c: (gst_pipeline_get_type),
4722         (gst_pipeline_class_init):
4723         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4724         (gst_base_sink_class_init):
4725         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4726         (gst_base_src_class_init):
4727         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4728         (gst_base_transform_class_init):
4729         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4730         (gst_collect_pads_class_init):
4731         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4732         * libs/gst/net/gstnettimeprovider.c:
4733         (gst_net_time_provider_base_init),
4734         (gst_net_time_provider_class_init):
4735         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4736         (gst_capsfilter_class_init):
4737         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4738         (gst_fake_sink_class_init):
4739         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4740         (gst_fake_src_class_init):
4741         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4742         (gst_fd_sink_class_init):
4743         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4744         (gst_fd_src_class_init):
4745         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4746         (gst_file_sink_class_init):
4747         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4748         (gst_file_src_class_init):
4749         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4750         (gst_identity_class_init):
4751         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4752         (gst_multi_queue_class_init):
4753         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4754         (gst_queue_class_init):
4755         * plugins/elements/gsttee.c: (gst_tee_base_init),
4756         (gst_tee_class_init):
4757         * plugins/elements/gsttypefindelement.c:
4758         (gst_type_find_element_base_init),
4759         (gst_type_find_element_class_init):
4760         Don't use base_init where not absolutely necessary. For example it's
4761         not necessary anymore for adding pad templates or setting element
4762         details.
4763
4764         Leave empty base_init functions in several places as GST_BOILERPLATE
4765         still defines and uses them.
4766
4767 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4768
4769         * gst/gstelement.c: (gst_element_base_class_init),
4770         (gst_element_class_add_pad_template):
4771         * gst/gstpadtemplate.c:
4772         Make it possible (and recommended) to set element details and add
4773         pad templates in the class_init functions by copying the details/pad
4774         templates in GstElement's base_init.
4775
4776         Also make it possible to replace existing pad templates by adding
4777         a new one with the same name. This was done in a hackish fashion
4778         in same elements before already.
4779
4780         Don't reference pad templates that are added a second time. A
4781         new pad template has a refcount of one and is not floating anymore
4782         and to be owned by the element's class. Make this more explicit by
4783         mentioning it in the docs of gst_element_class_add_pad_template().
4784
4785         These changes are backwards compatible. Fixes bug #491501.
4786
4787         * tests/check/gst/gstelement.c:
4788         Add unit test for setting element details, adding pad templates and
4789         replacing them in a subclass.
4790
4791 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4792
4793         * tools/gst-inspect.c: (print_interfaces),
4794         (print_element_properties_info), (print_pad_info),
4795         (print_signal_info), (print_element_info):
4796         Fix a few memory leaks.
4797
4798 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4799
4800         * docs/libs/gstreamer-libs-sections.txt:
4801         * libs/gst/check/gstcheck.c:
4802         * libs/gst/check/gstcheck.h:
4803         Add more functions for unit testing: gst_check_drop_buffers,
4804         gst_check_caps_equal, gst_check_element_push_buffer_list,
4805         gst_check_element_push_buffer
4806         API: gst_check_drop_buffers
4807         API: gst_check_caps_equal
4808         API: gst_check_element_push_buffer_list
4809         API: gst_check_element_push_buffer
4810
4811 2008-02-01  Julien Moutte  <julien@fluendo.com>
4812
4813         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4814         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4815         (gst_index_finalize), (gst_index_entry_free),
4816         (gst_index_add_association): Fix memory leaks.
4817         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4818         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4819         (gst_mem_index_free_format), (gst_mem_index_free_id),
4820         (gst_mem_index_finalize): Fix memory leaks.
4821         * win32/common/config.h: Updated to CVS HEAD.
4822
4823 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4824
4825         * docs/README:
4826           Some more details about how the plugin docs works.
4827
4828         * docs/plugins/gstreamer-plugins-sections.txt:
4829           Whitespace cleanup.
4830
4831 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4832
4833         * gst/parse/grammar.tab.pre.c:
4834         * gst/parse/grammar.tab.pre.h:
4835         * gst/parse/grammar.y:
4836         * gst/parse/lex._gst_parse_yy.pre.c:
4837           Add delayed set-property. This allows to set properties on dynamicaly
4838           created objects (pads in videomxer). Fixes #509391.
4839
4840 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4841
4842         * gst/gstutils.c:
4843         Check if caps are not NULL (fix bug #510194)
4844
4845 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4846
4847         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4848         (gst_base_sink_get_position_paused):
4849         Add fixme regarding EOS in pull mode.
4850         Fix position reporting in PAUSED for negative rates.
4851
4852 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4853
4854         * gst/gstminiobject.c: (gst_mini_object_replace):
4855         When replacing a miniobject, do a quick equality check first so that we
4856         can avoid a ref/unref pair.
4857
4858 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4859
4860         * docs/design/part-synchronisation.txt:
4861         Update some docs.
4862
4863         * docs/plugins/Makefile.am:
4864         * docs/plugins/gstreamer-plugins-docs.sgml:
4865         * docs/plugins/gstreamer-plugins-sections.txt:
4866         * plugins/elements/gstmultiqueue.c:
4867         Add multiqueue to the docs.
4868
4869 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4870
4871         * configure.ac:
4872           Back to CVS
4873
4874 === release 0.10.17 ===
4875
4876 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4877
4878         * configure.ac:
4879           releasing 0.10.17, "Due Negligence"
4880
4881 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4882
4883         * gst/gstutils.c:
4884         Revert caps != NULL check temporarily for 0.10.17 release.
4885
4886 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4887
4888         * gst/gstutils.c:
4889         Check if caps are not NULL (fix bug #510194)
4890
4891 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4892
4893         * gst/gstutils.c:
4894         Fix compilation on systems that have posix timers but no
4895         monotonic clock.
4896         Fixes: #512715
4897         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4898         dot net>
4899
4900 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4901
4902         * tools/gst-inspect.c:
4903         Revert previous commit in preparation for an impromptu 0.10.17 release
4904
4905 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4906
4907         * tools/gst-inspect.c: (print_interfaces),
4908         (print_element_properties_info), (print_pad_info),
4909         (print_signal_info), (print_element_info):
4910         Fix a few memory leaks.
4911
4912 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4913
4914         * configure.ac:
4915         Back to CVS
4916
4917 === release 0.10.16 ===
4918
4919 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4920
4921         * configure.ac:
4922           releasing 0.10.16, "Special Dispensation"
4923
4924 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4925
4926         * configure.ac:
4927           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4928           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4929           not fail when trying to crosscompile on OpenEmbedded (#511750).
4930
4931 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4932
4933         * docs/manuals.mak:
4934         Use $(MAKE) instead of make to fix the build if GNU make is
4935         called different. Fixes bug #510747.
4936
4937 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4938
4939         * gst/gstplugin.c: (_gst_plugin_initialize):
4940           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4941           again, which I broke two commits ago when changing the API
4942           of gst_plugin_register_static(): the g_list_foreach() in
4943           _gst_plugin_register_static still assumed the old function
4944           signature and would therefore fail (re-fixes #510187).
4945
4946         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4947           (_gst_plugin_register_static), (gst_plugin_register_static):
4948           Revert the (technically correct) change to call g_thread_init() from
4949           the pre-main() constructor. This will break programs which call
4950           g_thread_init() without an if (!g_thread_supported()) guard in their
4951           main function. We could just blame it on GLib or the application, but
4952           it's probably best to just avoid this altogether and simply not use
4953           any GLib functions here and use plain old malloc() with a simple
4954           array to store the plugins to register later when gst_init() is
4955           finally called (re-fixes #510187).
4956
4957         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4958           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4959           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4960           (GST_START_TEST), (gst_plugin_suite):
4961           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4962           works.
4963
4964 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4965
4966         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4967           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4968           This makes gtk-doc complain, but results in slightly better
4969           compiler errors. The old _gst_plugin_register_static() is
4970           still guarded, so there'll be a compiler warning about that
4971           instead. Fixes #510187 too.
4972
4973 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4974
4975         * gst/gst.c: (init_post):
4976         * gst/gstplugin.c: (_gst_plugin_register_static),
4977           (gst_plugin_register_static), (_gst_plugin_initialize):
4978         * gst/gstplugin.h: (GstPluginFilter):
4979           Change API of gst_plugin_register_static() to not take
4980           a GstPluginDesc, but rather just take all the arguments
4981           in a GstPluginDesc directly. This is more intuitive and
4982           avoids certain mistakes when porting code from
4983           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4984           Fixes #510187.
4985
4986         * tests/check/gst/gstplugin.c:
4987           Fix up for changed API.
4988
4989 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4990
4991         * docs/faq/legal.xml:
4992           Update FAQ, Totem actually has an exception these days.
4993
4994 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4995
4996         * win32/common/libgstreamer.def:
4997         Add new API declarations
4998
4999 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5000
5001         * gst/gstminiobject.c:
5002           Spelling fixes for the API docs.
5003
5004 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5005
5006         * libs/gst/base/gstbasetransform.c:
5007           Fix long property description for QoS.
5008
5009 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5010
5011         * gst/gst.c:
5012         _gst_trace_on is already provided by gsttrace.h, no need to declare
5013         it ourselves.
5014
5015         * docs/libs/gstreamer-libs-sections.txt:
5016         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5017         and remove strange tcase_add_test which is outputting a warning.
5018
5019         * libs/gst/check/gstcheck.c:
5020         * libs/gst/check/gstcheck.h:
5021         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5022         and define them in gstcheck.c instead of having every .c file whcih
5023         includes gstcheck.h be defining its own copy and relying on symbol
5024         interposing to marry them all, which doesn't work on Solaris.
5025
5026         * tests/check/elements/identity.c: (GST_START_TEST):
5027         Don't define 'buffers' locally, it comes from libgstcheck.
5028
5029         * tests/check/generic/sinks.c: (send_buffer):
5030         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5031
5032         * tests/check/gst/gststructure.c: (GST_START_TEST):
5033         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5034         * tests/check/gst/gstutils.c: (GST_START_TEST):
5035         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5036         Add a bunch of casts to make various constants fit the types
5037         they're being assigned to.
5038
5039 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5040
5041         * gst/gstchildproxy.c:
5042           Improve docs and add some ideas for making this more general-purpose.
5043
5044 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5045
5046         * gst/gst_private.h: (GST_CAT_TYPES):
5047           Add GST_CAT_TYPES, for consistency, and so that the other
5048           debug categories don't make fun of it. Spotted by Saur on IRC.
5049
5050 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5051
5052         * gst/parse/Makefile.am:
5053           Move types.h from EXTRA_DIST to noinst_HEADERS.
5054
5055 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5056
5057         * autogen.sh:
5058           Add -Wno-portability to the automake parameters to stop warnings
5059           about GNU make extensions being used. We require GNU make in almost
5060           every Makefile anyway.
5061
5062         * configure.ac:
5063           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5064           at the same time is required for per target flags.
5065
5066 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5067
5068         * gst/gstmacros.h:
5069           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5070           __GNUC__ is defined before using it.
5071
5072 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5073
5074         * docs/gst/gstreamer-sections.txt:
5075         * gst/gst.c: (init_post):
5076         * gst/gstplugin.c: (_gst_plugin_register_static),
5077           (gst_plugin_register_static), (_gst_plugin_initialize),
5078           (gst_plugin_register_func):
5079         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5080           API: add gst_plugin_register_static() and deprecate
5081           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5082           (#498924).
5083           Also, in _gst_plugin_register_static(), make sure to call
5084           g_thread_init() before calling GLib functions such as
5085           g_list_append() if we're not initialised yet, since that
5086           may lead to random crashes with older GSlice/GLib versions.
5087
5088         * tests/check/gst/gstplugin.c:
5089           Adapt unit test to above changes.
5090
5091 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5092
5093         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5094         * gst/gstcaps.c: (gst_caps_to_string):
5095         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5096           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5097           Yet another gratuitous GString micro-optimisation: add a (private)
5098           function that serialises a structure appending to an existing
5099           GString, so that when we serialise caps we don't need to alloc+free
5100           a throwaway GString for each structure (each of which also entailing
5101           multiple reallocs on the way); also use g_string_sized_new() in
5102           various places with an approximate string length to avoid reallocs
5103           within GString. See #500143.
5104
5105 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5106
5107         * gst/gststructure.c: (gst_structure_id_set_value):
5108           Always check UTF-8 conformance of structure strings and not only
5109           if the debugging system is enabled; reasoning: the behaviour of
5110           the actual code shouldn't really change depending on whether the
5111           debugging system is enabled or not (#508291).
5112
5113 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5114
5115         * Makefile.am:
5116           Remove old coverage target in favour of "make lcov".
5117
5118 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5119
5120         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5121         (gst_base_src_loop):
5122         The start segment for reverse playback goes from start to last_stop.
5123
5124 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5125
5126         Patch by: Peter Kjellerstedt <pkj axis com>
5127
5128         * gst/gstclock.h:
5129         Cast the results from the timeval/spec_to_time macros to what the
5130         docs say it casts to, a GstClockTime. fixes #508175.
5131
5132 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5133
5134         * gst/gstbuffer.c:
5135         Update some comments.
5136
5137         * tools/gst-inspect.c: (print_element_properties_info):
5138         Improve printing of flags.
5139
5140 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5141
5142         * libs/gst/base/gstbasetransform.c:
5143           (gst_base_transform_transform_size):
5144           Print element name with g_warning() if there's a problem
5145           with the unit size.
5146
5147 2008-01-07  David Schleef  <ds@schleef.org>
5148
5149         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5150
5151         * libs/gst/controller/gstcontroller.h:
5152         * libs/gst/controller/gstcontrolsource.h:
5153         * libs/gst/controller/gstinterpolationcontrolsource.h:
5154         * libs/gst/controller/gstlfocontrolsource.h:
5155         * libs/gst/dataprotocol/dataprotocol.h:
5156           Fix empty prototypes.  Fixes bug #507957.
5157
5158 2008-01-07  David Schleef  <ds@schleef.org>
5159
5160         * docs/faq/dependencies.xml: Fix typo.
5161
5162 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5163
5164         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5165         (gst_base_src_loop):
5166         Don't update the last_stop position in do_seek, that's the position we
5167         did a seek to.
5168         Read backwards when we have a negative rate.
5169
5170         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5171         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5172         (filesrc_suite):
5173         Add check for reverse reading.
5174
5175 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5176
5177         Patch by: Alexis Ballier <aballier at gentoo org>
5178
5179         * tests/check/gst/gstabi.c:
5180         * tests/check/gst/struct_ppc64.h:
5181         * tests/check/libs/libsabi.c:
5182         * tests/check/libs/struct_ppc64.h:
5183           Decide which header to include based on the userland ABI target
5184           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5185           for 64-bit userland (#503590).  Might need something similar for
5186           x86 too.
5187
5188 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5189
5190         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5191           Log the reason why fopen fails in addition to the fact that it failed.
5192           
5193 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5194
5195         * gst/parse/parse.l:
5196         Use "%option never-interactive" to prevent useless calls to isatty()
5197         on every input when parsing. Also use "%option noinput" to not define
5198         the static input/yyinput functions which we don't use anyway. This
5199         removes a compiler warning with gcc 4.3 and saves some bytes in the
5200         library.
5201         
5202         * gst/parse/lex._gst_parse_yy.pre.c:
5203         Regenerated for the above change.
5204
5205 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5206
5207         * gst/gstpad.c: (fixate_value):
5208         Don't crash when trying to fixate and empty list.
5209         Fixes #506643.
5210
5211 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5212
5213         * docs/faq/gst-uninstalled:
5214         Clarify the comments to make the usage of this script and what it
5215         does easier to understand.
5216
5217 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5218
5219         * tools/gst-plot-timeline.py:
5220         Add more options to gst-plot-timeline
5221
5222 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5223
5224         * docs/design/part-synchronisation.txt:
5225         Some more info on how the stream_time in GstBaseSink is done.
5226
5227 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5228
5229         * tests/check/generic/sinks.c: (gst_sinks_suite):
5230           Put back the tcase_set_timeout(), apparently it's needed after
5231           all; fix it up in a way that makes things work with valgrind too.
5232
5233 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5234
5235         * gst/gstdebugutils.c:
5236           Add warning when failed to open file for writing.
5237
5238 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5239
5240         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5241
5242         * gst/gstvalue.c: (gst_value_is_fixed):
5243           Optimisation: bail out of the loop as early as possible (#500143).
5244
5245 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5246
5247         * gst/gstcaps.c: (gst_caps_to_string):
5248         * gst/gstinfo.c: (gst_debug_construct_term_color):
5249         * gst/gstparse.c: (gst_parse_launchv):
5250         * gst/gstutils.c: (gst_util_dump_mem):
5251         * gst/gstvalue.c: (gst_value_serialize_any_list),
5252           (gst_value_transform_any_list_string):
5253           Bunch of gratuitous nano-optimisations.
5254
5255 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5256
5257         * tests/check/generic/sinks.c: (async_done_func),
5258           (async_done_eos_func):
5259           Fix leak in unit test (bus sync handler must unref the message
5260           if it returns GST_BUS_DROP). Don't fiddle with the default test
5261           timeout, this is smaller than the current preconfigured value
5262           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5263           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5264
5265 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5266
5267         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5268
5269         * configure.ac:
5270         Check for stdio_ext.h for the filesink changes.
5271
5272         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5273         (gst_file_sink_class_init), (gst_file_sink_init),
5274         (gst_file_sink_dispose), (gst_file_sink_set_property),
5275         (gst_file_sink_get_property), (gst_file_sink_open_file),
5276         (gst_file_sink_close_file):
5277         * plugins/elements/gstfilesink.h:
5278         Add two properties to control the buffering mode and size.
5279         API: GstFileSink::buffer-mode
5280         API: GstFileSink::buffer-size
5281         Fixes #500150.
5282
5283 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5284
5285         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5286         Add some more docs to explain why a FIXME was wrongly added. 
5287
5288 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5289
5290         * gst/gstobject.c:
5291           Fix typo in the gst_object_{ref,unref} documentation.
5292
5293 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5294
5295         * tests/check/libs/controller.c:
5296         * tests/check/libs/typefindhelper.c:
5297         * tests/check/pipelines/parse-launch.c:
5298           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5299           going to be deprecated (see #498924).
5300
5301 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5302
5303         * gst/gsttypefind.c: (gst_type_find_register):
5304           Make gst_type_find_register work for static typefind functions,
5305           ie. allow passing plugin == NULL (prerequisite for #498924).
5306
5307         * gst/gstelementfactory.c: (gst_element_register):
5308           Small docs addition.
5309
5310 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5311
5312         * gst/gstpad.c: (gst_pad_dispose):
5313         Really unlink the peer pad instead of setting the peer pointer to NULL
5314         when we dispose the pad.
5315         This correctly calls the unlink functions and makes sure that the peer
5316         does not have a handle to invalid memory. See #504671.
5317
5318         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5319         Add testsuite for above case.
5320
5321 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5322
5323         Patch by: Peter Kjellerstedt <pkj axis com>
5324
5325         * libs/gst/check/gstcheck.h:
5326           Fix detection of the check version we're compiling against (would
5327           otherwise break if check goes v0.10.0); correctly report the
5328           name of the failed test again in case of failure, instead of
5329           just 'tf' (fixes #504499).
5330
5331 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5332
5333         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5334         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5335         (gst_base_src_loop), (gst_base_src_set_flushing),
5336         (gst_base_src_change_state):
5337         Allow sending EOS to the source to make it send out an EOS event from
5338         the streaming thread.
5339         Update docs and deprecate the old NULL/READY shutdown method.
5340
5341         * tests/check/libs/basesrc.c: (GST_START_TEST),
5342         (gst_basesrc_suite):
5343         Add unit test for controlled shutdown.
5344
5345 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5346
5347         * docs/design/part-synchronisation.txt:
5348         Small updates.
5349
5350         * gst/gstsegment.c: (gst_segment_set_seek),
5351         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5352         (gst_segment_to_running_time):
5353         The seek format can be different from the segment format when the start
5354         and stop values are not to be updated, when we only do a rate change for
5355         example.
5356
5357         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5358         (gst_segment_suite):
5359         Add a testcase for the rate-only seeks, checking that the format is
5360         correctly ignored when start and stop are not updated.
5361
5362 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5363
5364         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5365
5366         * win32/vs8/grammar.vcproj:
5367         * win32/vs8/libgstcontroller.vcproj:
5368         * win32/vs8/libgstreamer.vcproj:
5369         Fix compilation with VS8 and include some missing files.
5370
5371 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5372
5373         * gst/gsttaglist.c:
5374           Small docs addition: mention that the strings returned by
5375           gst_tag_list_get_string*() are in UTF-8 encoding.
5376
5377 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5378
5379         * Makefile.am:
5380           The check-exports stuff moved to common/win32.mak, so include that.
5381
5382 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5383
5384         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5385         (gst_base_src_perform_seek), (gst_base_src_get_range),
5386         (gst_base_src_set_playing), (gst_base_src_change_state):
5387         Make _wait_playing() not check any variables so that we can call this
5388         function from subclasses. Move the checks elsewhere similar to
5389         _wait_preroll() in basesink.
5390         Add some debugging.
5391         Only signal the LIVE cond when we are going back to PLAYING.
5392
5393 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5394
5395         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5396           Use g_remove() and g_rename(). Check result of g_rename(), and
5397           don't leak the open file descriptor if we error out when writing.
5398
5399         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5400           Must check the return value of close() after writing out the new
5401           registry file.  Sometimes write problems such as out-of-diskspace
5402           are only reported when the file is closed and not already during
5403           the write.  This may have caused partial/broken registry files in
5404           some rare circumstances. Should fix #503675.
5405
5406 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5407
5408         * docs/gst/.cvsignore:
5409         * docs/libs/.cvsignore:
5410         * docs/plugins/.cvsignore:
5411         Ignore files generated by new common/* modifications
5412
5413 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5414
5415         * win32/common/libgstbase.def:
5416           Yes, you can also have a <TAB> if you want.
5417
5418 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5419
5420         * win32/common/libgstbase.def:
5421           Add new basetransform API to win export file.
5422
5423 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5424
5425         * tests/check/gst/gstbin.c:
5426           Adjust the test to the refcount change two days ago.
5427
5428 2007-12-14  David Schleef  <ds@schleef.org>
5429
5430         * docs/faq/getting.xml: Fix typo.
5431
5432 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5433
5434         * docs/libs/gstreamer-libs-sections.txt:
5435         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5436           (gst_base_transform_prepare_output_buffer),
5437           (gst_base_transform_set_gap_aware):
5438         * libs/gst/base/gstbasetransform.h:
5439           API: Add gst_base_transform_set_gap_aware() to control whether
5440           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5441           get buffers with this flag at all. Fixes #503231.
5442
5443 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5444
5445         * libs/gst/base/gstbasesink.c:
5446         * libs/gst/base/gstbasesrc.c:
5447         * libs/gst/base/gstbasetransform.c:
5448           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5449           thread. Correct log message in gstbasesrc.c.
5450
5451 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5452
5453         * gst/gstutils.c: (element_find_unconnected_pad):
5454           Fix possible compiler warning (#503417).
5455
5456 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5457
5458         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5459           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5460
5461 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5462
5463         * tools/gst-inspect.c: (print_element_properties_info):
5464           Add support for GstFraction properties.
5465
5466 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5467
5468         * Makefile.am:
5469           Add check-exports target and run it as part of 'make check'
5470           (see #499140 and #493983).
5471
5472         * gst/gst_private.h:
5473         * gst/gstelementfactory.h:
5474         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5475         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5476           (_priv_gst_in_valgrind):
5477         * gst/gstinfo.h: (GstLogFunction):
5478         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5479           (gst_type_find_register):
5480         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5481           (gst_type_find_factory_get_type):
5482         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5483           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5484           (gst_controller_new_valist), (gst_controller_new_list),
5485           (_gst_controller_dispose), (_gst_controller_class_init):
5486         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5487         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5488           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5489           (gst_object_get_controller), (gst_object_set_controller),
5490           (gst_object_suggest_next_sync), (gst_object_sync_values),
5491           (gst_object_set_control_source), (gst_object_get_control_source),
5492           (gst_object_get_value_arrays), (gst_object_get_value_array),
5493           (gst_object_get_control_rate), (gst_object_set_control_rate):
5494         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5495         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5496           Make some functions that should be static static; rename some
5497           private symbols so that they don't get exported; add some FIXME
5498           comments so we can move accidentally exported functions into
5499           our private section in 0.11.
5500
5501         * win32/common/libgstreamer.def:
5502           Add gst_utils_get_timestamp().
5503
5504 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5505
5506         * gst/gstvalue.c:
5507         * gst/gstvalue.h:
5508           Add more missing "Since:" tags to docs.
5509
5510 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5511
5512         * gst/gstutils.c:
5513           Add mising "Since:" to docs.
5514
5515 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5516
5517         * gst/gstplugin.c:
5518           Include "glib-compat-private.h" to fix the build on system with
5519           glib < 2.10. Fixes #503131.
5520
5521 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5522
5523         * gst/gstutils.c:
5524         * gst/gstutils.h:
5525           Actually its not PURE as it gets the time from elsewhere.
5526
5527 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5528
5529         * docs/gst/gstreamer-sections.txt:
5530         * gst/gstclock.h:
5531         * gst/gstdebugutils.c:
5532         * gst/gstinfo.c:
5533         * gst/gstutils.c:
5534         * gst/gstutils.h:
5535         * libs/gst/base/gstbasesink.c:
5536         * tools/gst-launch.c:
5537           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5538           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5539           Thanks Tim for spotting.
5540           API: gst_util_get_timestamp
5541
5542 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5543
5544         * configure.ac:
5545           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5546
5547 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5548
5549         * gst/gststructure.c: (gst_structure_validate_name),
5550           (gst_structure_new_valist), (gst_structure_parse_value),
5551           (gst_structure_from_string):
5552           Don't crash in _from_string() if the structure name is not valid
5553           (fixes #501560).  Allow structure names to start with a number
5554           again (this apparently broke the ubuntu codec installer).
5555
5556         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5557           (GST_START_TEST):
5558           Add unit test for the crash; update unit tests for new behaviour.
5559
5560 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5561
5562         * gst/gstutils.c:
5563         Clarify gst_element_get_compatible_pad() documentation.
5564         Fixes #500919.
5565
5566 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5567
5568         * tests/check/Makefile.am:
5569           Don't forget to dist {gst,libs}/struct_hppa.h.
5570
5571 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5572
5573         * libs/gst/base/gstbasesink.c:
5574           Use new API to get elapsed time.
5575
5576 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5577
5578         * gst/gstdebugutils.c:
5579         * gst/gstinfo.c:
5580           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5581
5582         * tools/gst-launch.c:
5583           Use new API to get elapsed time.
5584
5585 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5586
5587         * docs/gst/gstreamer-sections.txt:
5588         * gst/gstclock.h:
5589         * gst/gstdebugutils.c:
5590         * gst/gstinfo.c:
5591           Rename new API + ChangeLog surgery to remove old name from last entry..
5592
5593 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5594
5595         * docs/gst/gstreamer-sections.txt:
5596         * gst/gstclock.h:
5597         * gst/gstdebugutils.c:
5598         * gst/gstinfo.c:
5599           Now hide the different clock stuff behind a macro.
5600
5601 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5602
5603         * configure.ac:
5604         * gst/gstdebugutils.c:
5605         * gst/gstinfo.c:
5606           Apply the posix-timer check from #361155. Conditionally use the posix
5607           timer for logging. This gives better timestamp precission, less
5608           overhead and no ntp jitter.
5609
5610 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5611
5612         * gst/gstminiobject.c: (gst_mini_object_get_type),
5613         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5614         (gst_mini_object_finalize), (gst_mini_object_copy),
5615         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5616         (gst_mini_object_replace), (param_mini_object_validate),
5617         (gst_param_spec_mini_object_get_type):
5618         Some cleanup and checking against invalid function parameters.
5619
5620 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5621
5622         * docs/gst/gstreamer-sections.txt:
5623         * gst/gstclock.h:
5624         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5625         (gst_systemclock_suite):
5626         Start merging in the easy bits of #361155, the monotonic clock patch.
5627         This one adds a few handy macros with docs and a testsuite.
5628
5629 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5630
5631         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5632         Be a bit smarter when seeking, like, don't try to do a seek when it's
5633         not needed. This avoids errors when the file is not seekable.
5634         Fixes #499771.
5635
5636 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5637
5638         * docs/gst/gstreamer-docs.sgml:
5639         * docs/gst/gstreamer-sections.txt:
5640         * docs/gst/gstreamer.types.in:
5641         * gst/Makefile.am:
5642         * gst/gst.h:
5643         * gst/gstpreset.c:
5644         * gst/gstpreset.h:
5645         * plugins/elements/gstqueue.c:
5646           Due to popular request remove preset interface again. :-(.
5647
5648 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5649
5650         * tools/gst-inspect.c:
5651           Print 'default value' for enums and flags too.
5652
5653 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5654
5655         * docs/random/ensonic/profiling.txt:
5656           More ideas.
5657
5658         * gst/gstbin.c:
5659           Fix typo and give better log output.
5660
5661         * gst/gstdebugutils.c:
5662         * gst/gstdebugutils.h:
5663           More ideas, make graphs a bit smaller and fix param name in macro.
5664
5665 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5666
5667         * gst/gstpreset.c:
5668           Try harder to use the return value from fgets().
5669
5670 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5671
5672         * gst/gstpreset.c:
5673           For theses two fgets we handle the error below.
5674
5675 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5676
5677         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5678         Only send upstream events upstream. Fixes #498746.
5679
5680 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5681
5682         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5683
5684         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5685         (gst_identity_init), (gst_identity_transform_ip),
5686         (gst_identity_set_property), (gst_identity_get_property):
5687         * plugins/elements/gstidentity.h:
5688         Add property to disable handoff signal emission. Fixes #498694.
5689         API: GstIdentity::signal-handoffs
5690
5691 2007-11-21  Julien Moutte  <julien@fluendo.com>
5692
5693         * docs/faq/gst-uninstalled: Yet another missing library for the
5694         uninstalled script (fft)
5695
5696 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5697
5698         * docs/faq/developing.xml:
5699         Add a question about how to submit new translations.
5700
5701         * docs/random/release:
5702         Update the contact email address for the Translation Project
5703
5704         * plugins/elements/gstfdsrc.c:
5705         The parent_class for fdsrc is pushsrc, not GstElement.
5706
5707 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5708
5709         * gst/gstpreset.c:
5710           Plug a leak and fix saving.
5711
5712 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5713
5714         * docs/gst/gstreamer-sections.txt:
5715         Add new gst_preset__get_property_names() function to the docs
5716         to fix the build.
5717
5718 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5719
5720         * gst/gstpreset.c:
5721         * gst/gstpreset.h:
5722           Change _get_preset_names API to return a strv with copies. Add
5723           _get_property_names to allow implementations to filter and provide
5724           good default implementation.
5725
5726 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5727
5728         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5729         script (sdp).
5730
5731 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5732
5733         * gst/gstpreset.c:
5734           More cleanups, docs, and TODOs from comments that now slowly come in.
5735
5736 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5737
5738         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5739         search path.
5740
5741 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5742
5743         * gst/gstpreset.c:
5744           Fix bogus warning and make the property type specific code more
5745           similar.
5746
5747 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5748
5749         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5750         it build on OS X.
5751
5752 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5753
5754         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5755         (gst_bin_add_func), (gst_bin_remove_func),
5756         (gst_bin_change_state_func), (gst_bin_continue_func):
5757         Change email, cleanups add some more debug and comments.
5758         Also set bus and clock on new elements when the pipeline was in error.
5759
5760 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5761
5762         * gst/gstbin.c:
5763         * gst/gstdebugutils.c:
5764           Fix build with --disable-gst-debug. Fixes #497859.
5765           Spotted by Sameer Naik.
5766
5767 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5768
5769         * gst/gstevent.c:
5770           Little documentation improvment.
5771
5772         * gst/gstpreset.c:
5773           More TODO cleanups. Remove c++ comments.
5774
5775         * libs/gst/controller/gstcontroller.c:
5776           Add TODO and use quark from static string.
5777
5778         * tests/check/gst/gstmessage.c:
5779         * tests/check/gst/gststructure.c:
5780           Use quark from static string.
5781
5782 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5783
5784         * gst/gstpreset.c:
5785           Add some comments and TODOs.
5786
5787         * gst/gstpreset.h:
5788           Add padding for future changes.
5789
5790         * plugins/elements/gstqueue.c:
5791           Implement the iface.    
5792
5793 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5794
5795         * docs/gst/gstreamer-docs.sgml:
5796         * docs/gst/gstreamer-sections.txt:
5797         * docs/gst/gstreamer.types.in:
5798         * gst/Makefile.am:
5799         * gst/gst.h:
5800         * gst/gstpreset.c:
5801         * gst/gstpreset.h:
5802           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5803
5804 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5805
5806         * configure.ac:
5807
5808         Back to CVS
5809
5810 === release 0.10.15 ===
5811
5812 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5813
5814         * configure.ac:
5815           releasing 0.10.15, "October"
5816
5817 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5818
5819         * win32/vs6/libgstreamer.dsp:
5820         Convert line endings back to DOS.
5821
5822 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5823
5824         * docs/design/draft-tagreading.txt:
5825         * docs/random/ensonic/profiling.txt:
5826         Update fast tagreading draft and performance profiling ideas.
5827
5828 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5829
5830         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5831         Don't hold the object lock when unreffing a buffer because it could
5832         cause a deadlock when the finalize function wants to grab the object
5833         lock too. Fixes #495133.
5834
5835 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5836
5837         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5838         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5839         Also accumulate time correctly when doing reverse playback. Fixes
5840         #488201,
5841         When converting to running and stream time, use default values for
5842         start/stop/time/accum when comparing different formats. Fixes #494245.
5843
5844         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5845         Do running/stream time in TIME format.
5846
5847         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5848         (gst_segment_suite):
5849         2 new unit tests for segment accumulation.
5850
5851 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5852
5853         * gst/gst.c: (init_pre):
5854         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5855           (_gst_debug_bin_to_dot_file):
5856           Move getenv() back into gst_init, so everyone can live happily
5857           ever after. Make sure the symbol isn't exported though.
5858
5859 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5860
5861         Patch by: Sebastien Moutte  <sebastien moutte net>
5862
5863         * win32/common/gstenumtypes.c:
5864         * win32/common/gstenumtypes.h:
5865           Update enum types.
5866
5867         * win32/vs6/libgstreamer.dsp:
5868           Update vs6 project files (#494343).
5869
5870 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5871
5872         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5873         (gst_base_src_perform_seek), (gst_base_src_default_event),
5874         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5875         (gst_base_src_activate_pull):
5876         Unify flushing code, remove some old unlock code that is no longer used.
5877         Take the streaming lock when seeking to avoid races. Fixes #492729.
5878         Added some more comments.
5879
5880 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5881
5882         * gst/gst.c: (_gst_disable_segtrap):
5883           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5884           we can use gst_segtrap_is_enabled() there now that we have that API.
5885           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5886           to do the getenv here (and export the variable).
5887
5888         * gst/gstdebugutils.c: (debug_dump_element),
5889           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5890           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5891
5892         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5893           (gst_debug_log_default):
5894           Rename _gst_info_start_time to priv_gst_info_start_time so it
5895           doesn't get exported (was never in any header).
5896
5897         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5898           (gst_plugin_loading_mutex):
5899           Make static mutex gst_plugin_loading_mutex really static (was never
5900           in any header), and use gst_segtrap_is_enabled() instead of
5901           _gst_disable_segtrap.
5902
5903         * gst/gsttrace.c: (_gst_trace_default):
5904           Make local _gst_trace_default static (was never in any header).
5905
5906 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5907
5908         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5909
5910         * win32/common/libgstbase.def:
5911         * win32/common/libgstcontroller.def:
5912         * win32/common/libgstdataprotocol.def:
5913         * win32/common/libgstnet.def:
5914         * win32/common/libgstreamer.def:
5915           Add more missing symbols, remove some duplicates, and sort
5916           as the 'sort' command sorts it (partially fixes #493983).
5917
5918 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5919
5920         * gst/gstelement.c: (gst_element_set_state_func):
5921         Only change the state cookie if a different state was set on the
5922         element. See #492729.
5923
5924 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5925
5926         * gst/gstvalue.c:
5927           Remove unused and uninitialised type variables that were still
5928           exported for some reason (they were never in any header files
5929           though).
5930
5931 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5932
5933         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5934         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5935         (gst_base_sink_event), (gst_base_sink_get_position_last),
5936         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5937         (gst_base_sink_change_state):
5938         Don't try to report a 0 position when we don't know, return -1 and FALSE
5939         instead. This mostly happens when we are prerolling.
5940         Make sure we can report the right position before we post the ASYNC_DONE
5941         message so that a message handler can query position without races.
5942
5943         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5944         (async_done_handoff), (async_done_func), (send_buffer),
5945         (async_done_eos_func), (gst_sinks_suite):
5946         Add two tests for the above.
5947
5948 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5949
5950         * MAINTAINERS:
5951         Update with new email address.
5952
5953         * docs/design/part-TODO.txt:
5954         Add some more info about future pad-block and negotiation changes.
5955
5956         * docs/design/part-buffering.txt:
5957         Add some ideas about buffering reporting.
5958
5959 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5960
5961         * tests/check/gst/gstobject.c:
5962         Disable silly racy test that always fails on this combination of CPU
5963         and kernel.
5964
5965 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5966
5967         Patch by: Murray Cumming  <murrayc@murrayc.com>
5968
5969         * gst/gstobject.c:
5970           Corrected the registration of the parent-set and parent-unset
5971           signals: The parameter is a GstObject, not a GObject (#493134).
5972
5973 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5974
5975         * gst/gst_private.h:
5976         * gst/gstbuffer.h:
5977         * gst/gstevent.h:
5978         * gst/gstformat.h:
5979         * gst/gstmessage.h:
5980         * gst/gstplugin.h:
5981         * gst/gstquery.h:
5982         * gst/gsttaglist.h:
5983         * gst/gstvalue.h:
5984           Move declaration of private _gst_foo_initialize() functions into
5985           our private header file where they should have been all along.
5986
5987 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5988
5989         * docs/plugins/gstreamer-plugins-sections.txt:
5990         * gst/gstdebugutils.h:
5991         * gst/gstxml.h:
5992         * plugins/elements/gstqueue.c:
5993           gtk-doc fixes; trailing-comma-in-enum fix.
5994
5995 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5996
5997         * gst/gst.c: (gst_deinit):
5998           Clean up on deinit (not the external ones though, doesn't seem to be
5999           needed for some reason).
6000
6001 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6002
6003         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6004           Remove __declspec(dllimport) for MSVC that was copied over into core
6005           from a plugin, obviously without ever having been tested (note the
6006           single underscore in _declspec in the initial commit), and that doesn't
6007           really make sense.  See #492077.
6008
6009 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6010
6011         * gst/gst.c: (init_post):
6012         * gst/gstevent.c: (_gst_event_initialize):
6013         * gst/gstquery.c: (_gst_query_initialize):
6014         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6015           g_type_class_ref() other types as well, see #349410 and #64764.
6016
6017         * gst/gstbuffer.c: (_gst_buffer_initialize):
6018         * gst/gstmessage.c: (_gst_message_initialize):
6019           Simplify existing g_type_class_ref().
6020
6021 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6022
6023         * gst/gstformat.c: (_gst_format_initialize):
6024           g_type_class_ref() our GstFormat type to make sure we avoid the
6025           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6026           bug #64764. Should fix intermittent tee unit test failures (#474823).
6027
6028 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6029
6030         * tests/check/elements/tee.c: (test_num_buffers):
6031           Simplify, simplify, simplify - or not.  Rewrite unit test
6032           not to use gst_parse_launch(); allow N sub-streams. Increasing
6033           the number of sub-streams seems to reproduce #474823 more easily.
6034
6035 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6036
6037         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6038
6039         * gst/gsttrace.c:
6040         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6041         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6042         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6043           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6044           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6045           so use _pipe() directly (#492077).
6046
6047         * win32/common/dirent.c: (_treaddir):
6048           Add a couple of casts to make it build without warnings with MSVC.
6049
6050         * win32/common/libgstreamer.def:
6051           Add some more symbols that need to be exported.
6052
6053 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6054
6055         * tests/examples/metadata/read-metadata.c: (message_loop):
6056           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6057           arriving in a second or third tag message are added to
6058           the tag list as well.
6059
6060 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6061
6062         * libs/gst/base/gstbasesrc.c:
6063           Its "Since:" and not "@Since:". And remove an superflous cast.
6064
6065 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6066
6067         * docs/libs/gstreamer-libs-sections.txt:
6068         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6069         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6070         (gst_base_sink_get_property), (gst_base_sink_render_object),
6071         (gst_base_sink_preroll_object),
6072         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6073         (gst_base_sink_change_state):
6074         * libs/gst/base/gstbasesink.h:
6075         Add a new last-buffer property that contains the last buffer used in
6076         basesink for preroll or rendering. useful for making snapshots.
6077         API: gst_base_sink_get_last_buffer()
6078         API: GstBaseSink::last-buffer
6079
6080 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6081
6082         * docs/gst/running.xml:
6083         * gst/gst.c:
6084         * gst/gstdebugutils.c:
6085         * gst/gstdebugutils.h:
6086         * tools/gst-launch.c:
6087           Improve bin graph dumping, by using the envvar to specify a path.
6088           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6089
6090 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6091
6092         * plugins/elements/gsttypefindelement.c:
6093           (gst_type_find_element_handle_event),
6094           (gst_type_find_element_activate):
6095           Post special error message if we can't determine the type of a stream
6096           because it's empty.
6097
6098 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6099
6100         * docs/gst/running.xml:
6101         * gst/gstdebugutils.c:
6102           Document new env-var. Add one log-line after dumpng a graph.
6103
6104 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6105
6106         * configure.ac:
6107           Ugly hack to put the (recently removed and non-portable, apparently)
6108           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6109           GNU ld, because without that 'make check' fails miserably on my debian
6110           stable box.  Someone with more knowledge of linker intricacies and
6111           portability issues than me fix this properly please.
6112
6113 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6114
6115         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6116         Reset last seen position after flushing so that we don't report the old
6117         position anymore.
6118
6119 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6120
6121         * gst/gstelementfactory.c: (gst_element_register):
6122         * gst/gsturi.h:
6123         Patch from Alessandro Decina adding get_type_full and
6124         get_protocols_full private vfuncs to the URIHandler interface
6125         to allow bindings to support creating URI handlers. 
6126         Partially fixes: #339279
6127         API: GstURIHandlerInterface::get_type_full
6128         API: GstURIHandlerInterface::get_protocols_full
6129
6130 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6131
6132         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6133         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6134         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6135         Make it so that pads are considered linked until a buffer is pushed
6136         and discovered otherwise. This avoids problems with decodebin2 hanging
6137         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6138         case.
6139
6140         Make sure we lock the multiqueue when updating the max-size properties.
6141         
6142         Fix a crash on Solaris in a debug statement in get_request_pad that
6143         passes a NULL string to GST_DEBUG. 
6144
6145         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6146         (run_output_order_test):
6147         Fix the test to allow the first buffer on not-linked pads to come out
6148         of sequence while multiqueue discovers that they are not-linked.
6149
6150 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6151
6152         * configure.ac:
6153         * libs/gst/check/Makefile.am:
6154         Use a custom export symbol regex for libgstcheck, as it needs
6155         to export symbols that don't match the standard GStreamer gst_*
6156         pattern, and  --export-dynamic is not portable (only works on 
6157         GNU ld)
6158
6159         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6160         (gst_check_setup_sink_pad):
6161         Make sure to pass a message parameter to the fail_* macros.
6162
6163         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6164         Fix some compiler warnings.
6165
6166 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6167
6168         * tests/check/gst/gststructure.c: (test_to_string):
6169           Disable test that checks that white spaces are not allowed
6170           in structure names or field names, since we need to
6171           support that for now for backwards compatibility reasons.
6172
6173 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6174
6175         * docs/gst/gstreamer-sections.txt:
6176         * gst/gsttaglist.c:
6177         * gst/gsttaglist.h:
6178           API: add GST_TAG_ARTIST_SORTNAME
6179           API: add GST_TAG_ALBUM_SORTNAME
6180           API: add GST_TAG_TITLE_SORTNAME
6181           Add tag variants for sorting (#414539).
6182
6183 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6184
6185         * gst/gststructure.c:
6186           Also allow white space for names so we don't break
6187           backwards compatibility.
6188
6189 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6190
6191         * docs/design/part-TODO.txt:
6192         * docs/design/part-segments.txt:
6193         * docs/design/part-streams.txt:
6194         Small updates.
6195
6196 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6197
6198         * docs/gst/gstreamer-sections.txt:
6199          Fixed documentation from my previous commit (added new API add
6200          gst_value_set_structure(), add gst_value_get_structure() and
6201          GST_VALUE_HOLDS_STRUCTURE).
6202
6203 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6204
6205         * gst/gstdebugutils.c:
6206           Reflow code to fix uninitialized variable warning.
6207
6208 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6209
6210         * gst/gstcaps.c: (gst_caps_to_string),
6211         (gst_caps_from_string_inplace):
6212         * gst/gststructure.c: (gst_structure_get_abbrs),
6213         (gst_structure_to_string), (gst_structure_from_string):
6214         * gst/gstvalue.c: (gst_value_set_structure),
6215         (gst_value_get_structure), (gst_value_serialize_structure),
6216         (gst_value_deserialize_structure), (_gst_value_initialize):
6217         * gst/gstvalue.h:
6218         * tests/check/gst/gststructure.c: (GST_START_TEST),
6219         (gst_structure_suite):
6220         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6221          Added GstStructure to gst_value_table and its related functions.
6222          Changed gst_structure_to_string to print ';' in the end.
6223          Changed gst_caps_to_string to not print ';' beteween its
6224          fields (structures) anymore and remove the lastes ';' from latest
6225          structure. Now it is possible to have nested structures.
6226          In addition, backward compatibilty is assured by accepting '\0' as
6227          end delimiter. Fixes: #487969.
6228          API: add gst_value_set_structure()
6229          API: add gst_value_get_structure()
6230          API: add GST_VALUE_HOLDS_STRUCTURE
6231
6232 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6233
6234         * gst/gstbus.c:
6235           When no GSource callback has been set up, tell developer
6236           to use a function that actually exists.
6237
6238 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6239
6240         * docs/gst/gstreamer-sections.txt:
6241         * gst/Makefile.am:
6242         * gst/gst.c:
6243         * gst/gst.h:
6244         * gst/gstdebugutils.c:
6245         * gst/gstdebugutils.h:
6246         * gst/gstinfo.c:
6247         * gst/gstinfo.h:
6248         * tools/gst-launch.c:
6249           Allow dumping pipelines as dot graphs. Fixes #456573.
6250
6251 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6252
6253         * gst/gststructure.c:
6254           Allow '+' as well, it can be part of media or mime types
6255           such as image/svg+xml.
6256
6257 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6258
6259         * docs/gst/gstreamer-sections.txt:
6260         * gst/gstbus.c:
6261         * gst/gstbus.h:
6262           API: add gst_bus_pop_filtered
6263           API: add gst_bus_timed_pop_filtered
6264           Two new functions for waiting for specific message types on the
6265           bus for a specified amount of time without iterating any main
6266           loops or main contexts.
6267
6268         * tests/check/gst/gstbus.c:
6269           Some tests for the new functions.
6270
6271 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6272
6273         * docs/libs/gstreamer-libs-sections.txt:
6274           Make gtk-doc ignore stuff it should ignore.
6275
6276 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6277
6278         * libs/gst/check/gstcheck.c:
6279         * libs/gst/check/gstcheck.h:
6280           Allow runtime selection of unit tests to run via the GST_CHECKS
6281           environment variable (test case function names, comma-separated).
6282
6283 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6284
6285         * gst/gststructure.c:
6286         * tests/check/gst/gststructure.c:
6287           Revert serialisation change and constrain structure-names after
6288           consensus on irc. Update api documentation to reflect the change.
6289
6290 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6291
6292         * gst/gststructure.c:
6293           Improve serialization and fix tests.
6294
6295         * tests/check/gst/gststructure.c:
6296           Add another test that covers why I actually did the previous structure
6297           change.
6298
6299 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6300
6301         * tools/gst-inspect.c: (print_element_info):
6302         Don't crash when inspecting an element.
6303
6304 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6305
6306         * tests/check/gst/gststructure.c:
6307           Add unit test for escaping of structure name when serialising
6308           and deserialising to/from strings.
6309
6310 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6311
6312         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6313         (gst_single_queue_new):
6314         * plugins/elements/gstqueue.c: (gst_queue_init),
6315         (gst_queue_push_one):
6316         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6317         upstream is tricked into thinking it can suggest a format downstream
6318         while downstream does not support that format. The real problem is that
6319         core calls acceptcaps when pushing a buffer with new caps, for which we
6320         do a little workaround by setting the caps on the srcpad ourselves
6321         before pushing the buffer (until this is figured out). Fixes #486758.
6322
6323 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6324
6325         * gst/gststructure.c:
6326         * gst/gstvalue.c:
6327           Add some more comments and debug output. Quote structure name to fix
6328           deserialisation of some strings.
6329
6330 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6331
6332         * gst/gstbuffer.h:
6333           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6334           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6335
6336 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6337
6338         * tools/gst-inspect.c:
6339           Save approx. 400 1 byte allocs when printing. Use API to acces element
6340           details.
6341
6342         * tools/gst-run.c:
6343           Avoid a strdup.
6344
6345         * tools/gst-xmlinspect.c:
6346           Use API to acces element details.
6347
6348 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6349
6350         * gst/gstinfo.c:
6351           Fix some spelling errors.
6352
6353 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6354
6355         * gst/gstbin.c: (bin_handle_async_done):
6356         Correctly set the next state if all of our async children commited their
6357         state. This makes sure we can actually cancel the state change in
6358         progress. Fixes a regression in Rhythmbox when seeking.
6359
6360 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6361
6362         * gst/gstbin.c:
6363           Don't shadow local variable.
6364
6365         * gst/gstinfo.c:
6366           Don't shadow global function name.
6367
6368 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6369
6370         * gst/gstelementfactory.c:
6371         * gst/gstpluginfeature.c:
6372         * gst/gstpluginfeature.h:
6373         * gst/gstregistrybinary.c:
6374         * gst/gstregistryxml.c:
6375         * gst/gsttypefind.c:
6376           Use already-interned string for the private GstPluginFeature
6377           plugin_name field.
6378
6379 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6380
6381         * docs/libs/gstreamer-libs-sections.txt:
6382           Add new API to docs; fixes the build.
6383
6384 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6385         
6386         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6387
6388         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6389         (gst_base_sink_event):
6390         * libs/gst/base/gstbasesink.h:
6391         Add function to wait for EOS, subclasses can use this to correctly wait
6392         for devices to drain before performing the EOS logic. Fixes #485343.
6393         API: gst_base_sink_wait_eos()
6394
6395 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6396
6397         * gst/gstplugin.h:
6398           Cast description string constants in GST_PLUGIN_DEFINE macros
6399           to a (gchar*) to make C++ code using these macros compile
6400           without warning with g++-4.2 (see #462737).  Even if slightly
6401           ugly, this seems preferable to putting the description strings
6402           into the GLib quark table or making the structure member a
6403           const gchar * and doing casts in core code that allocs and
6404           frees these strings, or requiring a cast in the C++ code.
6405
6406 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6407
6408         * gst/gstinfo.h:
6409           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6410           to print the entire class/function signature into the log
6411           file for C++ code.  This only affects C++ code, for C code
6412           everything remains the same.
6413
6414 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6415
6416         * gst/gstbin.c: (remove_from_queue):
6417         Work around a problem with pipelines containing (semi)loops until a
6418         proper, more complicated solution is ready. See #475455.
6419
6420 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6421
6422         * gst/gstplugin.c:
6423         * gst/gstplugin.h:
6424         * gst/gstregistrybinary.c:
6425         * gst/gstregistryxml.c:
6426           Put more strings into the GLib quark table. No need to keep
6427           a hundred-something copies of identical version strings,
6428           license strings, package name strings and package origin
6429           strings around. 
6430
6431 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6432
6433         * docs/manual/advanced-dataaccess.xml:
6434           Don't imply that it's okay to unconditionally change
6435           buffer data or buffer metadata in a pad probe callback,
6436           and a bunch of other comments. Fixes #430031.
6437
6438 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6439
6440         * win32/common/gstenumtypes.c:
6441         * win32/common/gstenumtypes.h:
6442         * win32/common/gstversion.h:
6443           Update generated files.
6444
6445 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6446
6447         * docs/manual/advanced-autoplugging.xml:
6448           Prefix section with broken code with a warning (see #342432).
6449
6450 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6451
6452         * docs/manual/appendix-integration.xml:
6453         * docs/manual/basics-init.xml:
6454           Call g_thread_init() before g_option_context_new() to
6455           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6456
6457 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6458
6459         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6460         (gst_base_sink_queue_object_unlocked),
6461         (gst_base_sink_queue_object), (gst_base_sink_event),
6462         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6463         When we received EOS and are waiting for when to post the EOS message,
6464         our state is prerolled and we should not return ASYNC.
6465         Reorganize some code paths to implement this behavior.
6466
6467         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6468         (gst_sinks_suite):
6469         Add unit test to verify above EOS fix.
6470
6471 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6472
6473         * plugins/elements/gsttypefindelement.c:
6474         (gst_type_find_element_have_type), (gst_type_find_element_init),
6475         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6476         Move detecting the input caps of the sinkpad to the setcaps function.
6477         This allows us to update the output caps when we receive new input caps
6478         instead of always using the first detected caps.
6479
6480 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6481
6482         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6483         (gst_base_sink_get_position):
6484         Don't try to preroll non-async elements after a flush.
6485         Subtract latency form clock times when reporting position.
6486
6487 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6488
6489         * gst/gstpad.c: (gst_pad_pause_task):
6490         * gst/gstutils.c:
6491         Small comment and documentation update.
6492
6493 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6494
6495         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6496         (gst_base_src_set_live), (gst_base_src_is_live),
6497         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6498         (gst_base_src_default_event), (gst_base_src_wait),
6499         (gst_base_src_do_sync), (gst_base_src_get_range),
6500         (gst_base_src_pad_get_range), (gst_base_src_loop),
6501         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6502         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6503         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6504         (gst_base_src_change_state):
6505         Rework the locking of basesrc in a similar fashion to basesink. We
6506         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6507         us to handle live sources and semi live ones much better.
6508         Simplify flushing.
6509         Fix unlocking when seeking, shutting down and pausing in live sources.
6510
6511 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6512
6513         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6514         Fix compilation again.
6515
6516 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6517
6518         * gst/gstelement.c:
6519           Use meaningful categories for the logs to clean the default one.
6520
6521 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6522
6523         * tests/check/pipelines/cleanup.c:
6524           Print message name and not just number.
6525
6526 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6527
6528         * docs/design/draft-tagreading.txt:
6529           Add some more thoughts.
6530
6531 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6532
6533         * tests/check/pipelines/simple-launch-lines.c:
6534           Print message name and not just number.
6535
6536 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6537
6538         * libs/gst/base/gsttypefindhelper.c:
6539           Speedup typefinding. This is work in progress (see #459862).
6540
6541 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6542
6543         * gst/gstplugin.c:
6544           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6545           Spotted by Josep Torra Valles <josep@fluendo.com>.
6546
6547 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6548
6549         * gst/gstclock.h:
6550           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6551           field has moved to GstObject.
6552
6553 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6554
6555         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6556         (gst_base_src_get_range), (gst_base_src_change_state):
6557         Call unlock for live sources so that they can't get stuck in _create and
6558         produce a buffer before they are set back to PLAYING.
6559
6560 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6561
6562         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6563         (gst_queue_locked_dequeue):
6564         Comment the segment-related code... in the PROPER function.
6565         See #482147 and my commit from yesterday.
6566
6567 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6568
6569         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6570         Also initialize the counter that calculates the first timestamp on a
6571         buffer correctly for non-live sources.
6572
6573 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6574
6575         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6576         Disable code that's breaking the current-time-level reporting.
6577         See #482147
6578
6579 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6580
6581         * docs/gst/gstreamer-sections.txt:
6582         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6583         as they shouldn't show up. Fixes the docs build.
6584
6585 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6586         
6587         * gst/gstinfo.h:
6588         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6589         Define M_PI which is used in files which are including gstinfo.h. 
6590         VS6 includes doesn't define it.
6591         * win32/common/libgstbase.def:
6592         * win32/common/libgstcontroller.def:
6593         * win32/common/libgstreamer.def:
6594         Add new exported functions and variables.
6595         * win32/vs6/libgstcontroller.dsp:
6596         * win32/vs6/libgstreamer.dsp:
6597         Update the list of files to build.
6598         
6599 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6600
6601         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6602
6603         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6604         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6605         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6606         Improve debugging. Fixes #480858.
6607
6608 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6609
6610         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6611
6612         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6613         First patch of code cleanups, use the macros and right arguments in the
6614         macros to signal and lock the queue. See #480858.
6615
6616 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6617
6618         * gst/gstbus.c: (poll_func):
6619         Improve debugging when dealing with _poll().
6620
6621 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6622
6623         * gst/gstregistryxml.c:
6624           Fix memory leak I introduced a few days ago.
6625
6626 2007-09-26  Michael Smith <msmith@fluendo.com>
6627
6628         * gst/gstbuffer.c: (gst_buffer_finalize):
6629           Make it once again possible to free GstBuffers in the default
6630           build.
6631           The poisoning scribbles on parts of the miniobject we need in
6632           order to free it.
6633           Fixes #480341
6634
6635 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6636
6637         * docs/gst/gstreamer-sections.txt:
6638         * gst/gsttaglist.c:
6639         * gst/gsttaglist.h:
6640         API: add GST_TAG_COMPOSER, fixes #459809.
6641
6642 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6643
6644         * gst/gstplugin.c:
6645         * gst/gstplugin.h:
6646         Add the 3-clause BSD license and the MIT/X11 license to the license
6647         list. Fixes #479784.
6648
6649 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6650
6651         * docs/faq/getting.xml:
6652           Add Q+A about different GStreamer versions (#364056).
6653
6654 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6655
6656         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6657         (gst_base_sink_event), (gst_base_sink_change_state):
6658         Return correct gboolean from query function.
6659
6660 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6661
6662         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6663         (gst_base_sink_event), (gst_base_sink_query),
6664         (gst_base_sink_change_state):
6665         Simplify latency query.
6666         When not synchronizing, we can report latency without querying the peer
6667         element.
6668
6669 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6670
6671         * gst/gstobject.h:
6672         * gst/gstvalue.c:
6673         Fix small typos in the docs.
6674
6675 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6676
6677         * docs/design/draft-latency.txt:
6678         * docs/design/draft-push-pull.txt:
6679         * docs/design/draft-tagreading.txt:
6680         * docs/design/part-MT-refcounting.txt:
6681         * docs/design/part-activation.txt:
6682         * docs/design/part-block.txt:
6683         * docs/design/part-element-source.txt:
6684         * docs/design/part-events.txt:
6685         * docs/design/part-gstbin.txt:
6686         * docs/design/part-gstelement.txt:
6687         * docs/design/part-gstobject.txt:
6688         * docs/design/part-gstpipeline.txt:
6689         * docs/design/part-messages.txt:
6690         * docs/design/part-preroll.txt:
6691         * docs/design/part-push-pull.txt:
6692         * docs/design/part-qos.txt:
6693         * docs/design/part-query.txt:
6694         * docs/design/part-scheduling.txt:
6695         * docs/design/part-seeking.txt:
6696         * docs/design/part-segments.txt:
6697         * docs/design/part-states.txt:
6698         Documentation updates and typo fixes.
6699
6700 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6701
6702         * plugins/elements/gstfakesink.c:
6703           Add some debug text to error message to indicate that
6704           we errored out on request.
6705
6706         * tools/gst-launch.c:
6707           When the state change to PLAYING fails, check for an
6708           error message on the bus and print it.
6709
6710 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6711
6712         translated by: Jorge González González <aloriel@gmail.com>
6713
6714         * po/LINGUAS:
6715         * po/es.po:
6716           Added Spanish translation.
6717
6718 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6719
6720         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6721         Fix printf arguments.
6722
6723 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6724
6725         * tests/check/generic/states.c:
6726           Improved state change unit test.
6727
6728 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6729
6730         * gst/gstbin.h:
6731           Move priv to the right place.
6732
6733         * gst/gstsystemclock.c:
6734           Add FIXME: and improve log.
6735
6736         * tests/check/Makefile.am:
6737         * tests/examples/manual/Makefile.am:
6738           Work with all types of registries.
6739
6740 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6741
6742         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6743         Don't unref the event after pushing it. Fixes #478401.
6744
6745 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6746
6747         * .cvsignore:
6748         * tests/examples/manual/.cvsignore:
6749           Ignore registries in any format.
6750
6751 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6752
6753         * gst/glib-compat-private.h:
6754           Add compatibility macro for g_intern_string() for
6755           GLib-2.8 (any reason we can't just bump the
6756           requirement to at least 2.10?)
6757
6758         * gst/gstpadtemplate.h:
6759         * gst/gstelementfactory.c:
6760         * gst/gstregistryxml.c:
6761         * gst/gstregistrybinary.c:
6762           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6763           up the internal code accordingly.  This shouldn't be a problem, since
6764           there is no reason external code could ever assume the string in such
6765           a structure is dynamically allocated unless it did that itself;  the
6766           use of g_strdup() is private to element factories.  The new code also
6767           saves some memory by putting pad template name strings into the GLib
6768           quark table instead of allocating them dynamically.
6769           Declaring this field constant fixes warnings with g++-4.2 when using
6770           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6771
6772 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6773
6774         * gst/gstelementfactory.c:
6775           Release static caps. Fixes #475723.
6776
6777 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6778
6779         * gst/gstinfo.c:
6780         * gst/gstinfo.h:
6781           Make some internal API take const gchar * instead of just
6782           gchar * to avoid compiler warnings with g++-4.2.2 when
6783           passing string constants (partially fixes #478092).
6784
6785 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6786
6787         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6788         A latency query fails when one of the sinks fail.
6789
6790         * gst/gstelement.c: (gst_element_set_base_time):
6791         Improve debugging.
6792
6793 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6794
6795         * gst/gstbin.c: (gst_bin_continue_func):
6796         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6797         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6798         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6799
6800         Fix minor compilation warnings shown with Forte.
6801
6802 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6803
6804         * plugins/elements/gstqueue.c: (apply_buffer),
6805         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6806         Measure queue level based on the diff between head and tail timestamps
6807         even when pushing the first buffer.
6808
6809 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6810
6811         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6812         (gst_base_sink_event), (gst_base_sink_change_state):
6813         Sinks that don't preroll can always be queried for the latency.
6814         Don't post ASYNC start when we are not async.
6815
6816 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6817
6818         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6819         (gst_queue_handle_sink_event), (gst_queue_chain),
6820         (gst_queue_push_one), (gst_queue_handle_src_query),
6821         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6822         * plugins/elements/gstqueue.h:
6823         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6824         push more buffers but allow pushing of EOS and NEWSEGMENT.
6825         Add some more debug info here and there. Fixes #476514.
6826
6827 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6828
6829         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6830         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6831         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6832         (gst_base_sink_set_flushing), (gst_base_sink_query),
6833         (gst_base_sink_change_state):
6834         Latency query is allowed after we are prerolled. Introduce a new flag
6835         for this and stop abusing other variables.
6836
6837 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6838
6839         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6840         Push OOB events downstream when we get them in send_event. This allows
6841         the application to insert events in the pipeline.
6842         Add some more comments.
6843
6844 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6845
6846         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6847         (do_bin_latency), (gst_bin_change_state_func):
6848         * gst/gstpipeline.c: (gst_pipeline_change_state):
6849         Move latency query from GstPipeline to GstBin so that we can also
6850         use it when async-handling is enabled on bins.
6851
6852 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6853
6854         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6855         (gst_base_src_do_sync), (gst_base_src_change_state):
6856         Update docs.
6857         Clean up the timestamping and syncing code for pseudo live sources.
6858
6859 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6860
6861         Patch by: Steve Fink  <sphink gmail com>
6862
6863         * docs/manual/appendix-checklist.xml:
6864           Mention less -R switch in the section about debug output (#474055).
6865
6866 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6867
6868         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6869         Queue can latency to the pipeline up to the configured max size in time.
6870         Report this fact in the latency query.
6871
6872 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6873
6874         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6875
6876         * libs/gst/controller/gstinterpolation.c:
6877         * libs/gst/controller/gstlfocontrolsource.c:
6878         Use gst_guint64_to_gdouble() when converting from a uint64 or
6879         GstClockTime to double to fix the build on win32. Fixes #474371.
6880
6881 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6882
6883         * gst/gstbuffer.c: (gst_buffer_finalize):
6884         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6885         When finalizing a buffer the complete struct is filled with 0xff,
6886         thus making a use of the buffer after the final unref impossible.
6887
6888 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6889
6890         * tests/check/libs/controller.c: (GST_START_TEST):
6891         Use fail_unless_equals_int(a, b) instead of
6892         fail_unless_equals (a == b) to get better output on failures.
6893
6894 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6895
6896         * tests/check/gst/gsturi.c:
6897           Also check for the other file URI variant on win32.
6898
6899 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6900
6901         * gst/gsturi.c: (gst_uri_get_location):
6902           If there's no hostname, we want to return 'c:/foo/bar.txt'
6903           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6904
6905         * tests/check/gst/gsturi.c:
6906           Unit test for the above and a few more things.
6907
6908 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6909
6910         * docs/design/part-live-source.txt:
6911         Add docs on how live sources should timestamp.
6912
6913         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6914         Add some more debug info.
6915         For subclasses that are live and like to sync, add aditional startup
6916         latency to sync time and timestamps so that we timstamp according to the
6917         design doc.
6918
6919 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6920
6921         * gst/gstbuffer.c:
6922           Also do a g_type_class_ref() for the subbuffer type in
6923           the init function.
6924
6925 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6926
6927         * docs/gst/gstreamer-sections.txt:
6928         * gst/gstpad.c: (gst_pad_peer_query):
6929         * gst/gstpad.h:
6930         Add function to perform a query on the peer of a pad.
6931         API: gst_pad_peer_query()
6932
6933 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6934
6935         * tests/check/gst/gstsystemclock.c:
6936           Cleanup the test a little (use gst-logging and not g_message). Improve
6937           test to check if a wait reached the target.
6938
6939 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6940
6941         * docs/libs/gstreamer-libs-sections.txt:
6942           Add new API to docs and fix the build.
6943
6944 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6945
6946         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6947         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6948         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6949         (gst_base_src_get_property), (gst_base_src_do_sync):
6950         * libs/gst/base/gstbasesrc.h:
6951         Add property to make the basesrc timestamp buffers based on the current
6952         running time.
6953         API: GstBaseSrc::do-timestamp
6954         API: gst_base_src_set_do_timestamp()
6955         API: gst_base_src_get_do_timestamp()
6956
6957 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6958
6959         * docs/random/release:
6960           Really make sure translations are up-to-date before
6961           a release (#465010).
6962
6963 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6964
6965         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6966         Always destroy the timer, also in error cases.
6967
6968 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6969
6970         * docs/manual/highlevel-xml.xml:
6971         Fix XML example code. Fixes #472714.
6972
6973 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6974
6975         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6976         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6977         (gst_base_sink_query):
6978         Protect eos and have_preroll with the OBJECT lock so we don't need to
6979         take the PREROLL lock when querying the latency. Fixes #473846.
6980
6981 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6982
6983         * gst/gstelement.c:
6984           Give some log-messages a category.
6985
6986 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6987
6988         * gst/gststructure.c:
6989         (gst_structure_fixate_field_nearest_fraction):
6990         Fix fraction list fixation code. Take the fraction with the smallest
6991         difference with the target instead of the first one in the list.
6992
6993         * tests/check/gst/gststructure.c: (GST_START_TEST),
6994         (gst_structure_suite):
6995         Added test to verify correct fraction list fixation behaviour.
6996
6997 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6998
6999         * win32/common/libgstreamer.def:
7000           Export gst_bus_add_signal_watch too.
7001
7002 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7003
7004         * docs/libs/gstreamer-libs-sections.txt:
7005         Add new methods to docs.
7006
7007         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7008         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7009         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7010         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7011         * libs/gst/base/gstbasesink.h:
7012         Add ts-offset property to fine-tune the synchronisation.
7013         API: GstBaseSink::ts-offset property
7014         API: gst_base_sink_set_ts_offset()
7015         API: gst_base_sink_get_ts_offset()
7016
7017 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7018
7019         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7020         (gst_base_sink_init), (gst_base_sink_set_sync),
7021         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7022         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7023         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7024         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7025         (gst_base_sink_get_property), (gst_base_sink_change_state):
7026         * libs/gst/base/gstbasesink.h:
7027         Add async property to instruct the sink never to inform the parent about
7028         ASYNC state changes, update docs.
7029         Check argument with g_return_* for the public functions.
7030         API: GstBaseSink::async property
7031         API: gst_base_sink_set_async_enabled()
7032         API: gst_base_sink_is_async_enabled()
7033
7034 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7035
7036         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7037         Improve debugging.
7038
7039         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7040         (gst_base_src_default_query), (gst_base_src_wait),
7041         (gst_base_src_do_sync), (gst_base_src_change_state):
7042         Rearrange some code so that we can add support for measuring the 
7043         startup latency.
7044
7045 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7046
7047         * docs/random/ensonic/dynlink.txt:
7048           More thoughs on this.
7049
7050         * plugins/elements/gstcapsfilter.c:
7051           Add bugzilla ticket number to FIXME comment.
7052
7053 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7054
7055         * docs/design/part-TODO.txt:
7056         * docs/design/part-block.txt:
7057         Update some docs.
7058
7059 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7060
7061         * gst/Makefile.am:
7062           Revert patch which uses $(gst_headers) instead of $^ because it
7063           breaks make dist.
7064
7065 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7066
7067         * tests/check/gst/gstbin.c: (GST_START_TEST):
7068           Fix leaks in the new unit test.
7069
7070 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7071
7072         * gst/gst.c:
7073           Don't use GST_INFO before the debug system is actually initialised
7074           (shouldn't do any harm, but won't print anything either, so we can
7075           just as well remove it).
7076
7077         * gst/gstinfo.h:
7078           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7079           compilers that don't support variadic macros (such as MSVC), should
7080           check for debug_level <= __gst_debug_min as well, since that's the
7081           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7082           inline helper functions. Should improve performance a bit, but also
7083           makes sure uses of GST_INFO et.al are ignored if the debugging
7084           system isn't initialised yet (instead of printing an assertion
7085           failure).
7086
7087 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7088
7089         patch by: David Nečas <yeti@physics.muni.cz>
7090
7091         * gst/Makefile.am:
7092           Replace some non portable makefile constructs.
7093
7094 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7095
7096         * common/gtk-doc-plugins.mak:
7097           Grrrrr. Don't remove the types file on make clean.
7098
7099 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7100
7101         * tools/gst-launch.1.in:
7102         Add colorspace to example pipeline. Fixes #458274.
7103
7104 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7105
7106         * docs/random/release:
7107           The release manager should run 'make download-po' before making a
7108           release to make sure translations are up-to-date.
7109
7110         * po/LINGUAS:
7111         * po/be.po:
7112         * po/pl.po:
7113         * po/rw.po:
7114           Add some new translations.
7115
7116 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7117
7118         * tools/gst-launch.c: (event_loop), (main):
7119         Don´t try to do any state management when a live pipeline posts
7120         buffering messages.
7121         Also make the buffering string translatable.
7122
7123 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7124
7125         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7126         (bin_handle_async_start), (gst_bin_handle_message_func):
7127         Improve debugging.
7128         When adding elements, insert messages into the bus of the newly added
7129         element and make sure the element is the source of the message. This
7130         allows the parent bin to intercept the message and do the
7131         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7132         messages to the app (which is not allowed).
7133         Update some docs.
7134
7135         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7136         Fix testsuite so that is does not work around messages that should not
7137         have been posted in the first place.
7138
7139 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7140
7141         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7142         (update_degree), (gst_bin_sort_iterator_next):
7143         Fix annoying bug in the sorted iterator where a sink that is not really
7144         a sink (when it has downstream links) screwed up the iterator.
7145
7146         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7147         Unit test to verify the fix.
7148
7149 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7150
7151         * gst/gstmessage.h:
7152         Add some more docs for the messages.
7153
7154         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7155         (gst_base_sink_query):
7156         Add some more debugging.
7157
7158         * tools/gst-launch.c: (event_loop):
7159         When interrupting, don't try to set pipeline to PAUSED twice.
7160
7161 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7162
7163         
7164         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7165         (bin_handle_async_start), (gst_bin_handle_message_func):
7166         Move ASYNC_START message posting to where it belongs, similar to
7167         async_done. 
7168         Don't post ASYNC_START when we are in error. 
7169         Post ASYNC_START when we added an async element to a bin.
7170
7171 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7172
7173         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7174         generation from vargs. Fixes #466595.
7175
7176 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7177
7178         * gst/gstbin.c: (gst_bin_element_set_state):
7179         Always change the state of a NO_PREROLL element even if it has ASYNC
7180         elements inside (in case of a bin).
7181
7182         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7183         Unit test for this case.
7184
7185 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7186
7187         * libs/gst/check/gstbufferstraw.c:
7188         * libs/gst/check/gstcheck.h:
7189         * libs/gst/controller/gstcontroller.c:
7190         * libs/gst/controller/gstcontrolsource.h:
7191         * libs/gst/controller/gstlfocontrolsource.h:
7192         * plugins/elements/gstcapsfilter.h:
7193         * plugins/elements/gstfdsink.h:
7194         * plugins/elements/gstfdsrc.h:
7195           Add more missing docs.
7196
7197 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7198
7199         * gst/gststructure.c:
7200         Add Since tag to docs.
7201
7202 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7203
7204         * docs/gst/gstreamer-sections.txt:
7205         * gst/gststructure.c: (gst_structure_get_uint):
7206         * gst/gststructure.h:
7207         Add function to get uint from a structure.
7208         API: gst_structure_get_uint()
7209
7210 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7211
7212         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7213         (gst_caps_intersect):
7214         Fix proper check for simple caps.
7215
7216 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7217
7218         * docs/gst/Makefile.am:
7219         * docs/libs/Makefile.am:
7220           Remove cruft and do some cleanups.
7221
7222         * docs/gst/gstreamer-docs.sgml:
7223         * docs/libs/gstreamer-libs-docs.sgml:
7224           Prepare for comming gtkdoc features (rebase against online docs).
7225
7226 2007-08-10  Michael Smith <msmith@fluendo.com>
7227
7228         * docs/gst/gstreamer-sections.txt:
7229           Add gst_registry_add_path to docs.
7230
7231 2007-08-10  Michael Smith <msmith@fluendo.com>
7232
7233         * gst/gstregistry.h:
7234           Add gst_registry_add_path, which was missing from this header.
7235
7236 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7237
7238         * libs/gst/controller/gstlfocontrolsource.c:
7239           Printf format fix.
7240
7241 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7242
7243         * libs/gst/base/gstbasesink.c:
7244           Don't send an async_start message during downwards state change if 
7245           target state is less than READY
7246
7247 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7248
7249         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7250
7251         * po/LINGUAS:
7252         * po/hu.po:
7253           Added Hungarian translation.
7254
7255 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7256
7257         * po/fi.po:
7258         * po/it.po:
7259         * po/nl.po:
7260         * po/sv.po:
7261         * po/uk.po:
7262           Updated translations.
7263
7264 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7265
7266         * libs/gst/controller/Makefile.am:
7267         Dist gstlfocontrolsourceprivate.h
7268
7269 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7270
7271         * docs/libs/gstreamer-libs.types:
7272         Don't register the enum type gst_lfo_waveform_get_type() in the
7273         .types file - only GObject derived types belong.
7274
7275 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7276
7277         Patch by: <arenevier at fdn dot fr>
7278
7279         * gst/gstbuffer.h:
7280         Remove comma from last element in enum to avoid compile errors when
7281         using -pendantic. Fixes #464366.
7282
7283 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7284
7285         * docs/design/part-TODO.txt:
7286         Add some more TODO items
7287
7288         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7289         Improve debugging.
7290
7291         * gst/gstcaps.c: (gst_caps_intersect):
7292         Optimize trivial intersection case between identical caps pointers.
7293
7294         * gst/gstelement.c: (gst_element_continue_state),
7295         (gst_element_set_state_func):
7296         * gst/gstpad.c:
7297         Fix spelling and grammar mistakes.
7298
7299 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7300
7301         * po/POTFILES.in:
7302         * po/POTFILES.skip:
7303           Update POTFILES. Fixes #461599.
7304
7305 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7306
7307         * gst/gst.c:
7308         Fix confusing typo in debug output.
7309
7310 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7311
7312         reviewed by: Stefan Kost <ensonic@users.sf.net>
7313
7314         * libs/gst/controller/Makefile.am:
7315         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7316         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7317         (gst_lfo_control_source_new),
7318         (gst_lfo_control_source_set_waveform),
7319         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7320         (gst_lfo_control_source_finalize),
7321         (gst_lfo_control_source_dispose),
7322         (gst_lfo_control_source_set_property),
7323         (gst_lfo_control_source_get_property),
7324         (gst_lfo_control_source_class_init):
7325         * libs/gst/controller/gstlfocontrolsource.h:
7326         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7327         API: Add GstLFOControlSource, a control source that gives values
7328         for specific timestamps based on several periodic waveforms.
7329         Fixes #459717.
7330
7331         * tests/check/libs/controller.c: (GST_START_TEST),
7332         (gst_controller_suite):
7333         * docs/libs/gstreamer-libs-docs.sgml:
7334         * docs/libs/gstreamer-libs-sections.txt:
7335         * docs/libs/gstreamer-libs.types:
7336         Add documentation and unit tests for GstLFOControlSource.
7337
7338 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7339
7340         * configure.ac:
7341         Back to CVS
7342
7343 === release 0.10.14 ===
7344
7345 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7346
7347         * configure.ac:
7348           releasing 0.10.14, "Breathing Vacuum"
7349
7350 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7351
7352         * gst/gstelement.c: (gst_element_class_set_details_simple):
7353         * gst/gstelement.h:
7354           Make strings passed to gst_element_class_set_details_simple()
7355           constant, as they should be (#462752).
7356
7357 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7358
7359         * gst/gstbin.c: (gst_bin_change_state_func),
7360         (bin_handle_async_done), (gst_bin_handle_message_func):
7361         Don't forget about the fact that some element went ASYNC even after a
7362         resync. This makes us post the ASYNC_DONE message correctly.
7363         Fixes #462558.
7364
7365 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7366
7367         * gst/gstregistry.c: (gst_registry_add_feature):
7368         When replacing an existing feature in the registry, make sure to
7369         continue holding a reference until we've replaced the name string
7370         within our feature hash table. Make sure to use g_hash_table_replace
7371         instead of g_hash_table_insert to ensure the new name string is used
7372         as a key instead of the old one that we're about to free.
7373         Fixes: #462085
7374
7375 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7376
7377         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7378         (gst_plugin_feature_set_name):
7379         Revert patch from #459466 until after the release and we can work
7380         out exactly what the problem is (if any).
7381
7382 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7383
7384         * docs/gst/gstreamer-sections.txt:
7385         * gst/gsttaglist.c:
7386         * gst/gsttaglist.h:
7387           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7388
7389 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7390
7391         * docs/libs/Makefile.am:
7392         Include our build-prefix libs and includes before the generic ones to
7393         avoid linking against the installed libs when we want the build-tree
7394         ones.
7395
7396 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7397
7398         Patch by: Steve Fink  <sphink gmail com>
7399
7400         * docs/pwg/building-testapp.xml:
7401           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7402           if people try to build or install the example from the plugin
7403           template against a GStreamer from package using the configure
7404           defaults.
7405
7406 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7407
7408         Patch by: Steve Fink  <sphink gmail com>
7409
7410         * tools/gst-inspect.1.in:
7411           Document --print-all and --print-plugin-auto-install-info command
7412           line options in man page.
7413
7414 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7415
7416         * docs/gst/gstreamer-sections.txt:
7417         Add docs for new api function.
7418
7419 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7420
7421         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7422         * gst/gstelementfactory.h:
7423         API: gst_element_factory_has_interface()
7424         Added method to check if an element factory implements a named
7425         interface.
7426
7427 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7428
7429         * configure.ac:
7430         * docs/gst/gstreamer.types.in:
7431           Another conditional doc check.
7432
7433         * gst/gstmessage.c:
7434         * gst/gstparamspecs.h:
7435         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7436         * gst/gstvalue.c:
7437         * gst/gstxml.h:
7438           API-doc fixes.
7439
7440 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7441
7442         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7443         (gst_registry_binary_load_feature),
7444         (gst_registry_binary_load_plugin),
7445         (gst_registry_binary_read_cache):
7446           Print error just once and with additional info.
7447
7448 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7449
7450         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7451         (helper_find_suggest), (helper_find_get_length),
7452         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7453         (gst_type_find_helper_for_buffer):
7454           Cleanup the typefindhelper code and add private doc comments.
7455
7456 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7457
7458         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7459         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7460         Fix capsfilter for cases where the caps set on capsfilter will provide
7461         additional information.
7462         Fixes #449197
7463
7464 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7465
7466         * gst/gsttypefindfactory.c:
7467           Fix docs that recommened wrong function to use.
7468
7469 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7470
7471         * tools/gst-inspect.c: (print_plugin_features):
7472           Also give media-type for typefinders in element output.
7473
7474 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7475
7476         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7477         (gst_registry_remove_features_for_plugin_unlocked),
7478         (gst_registry_add_feature), (gst_registry_remove_feature),
7479         (gst_registry_lookup_feature_locked):
7480         * gst/gstregistry.h:
7481           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7482           Fixes #459501.
7483
7484 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7485
7486         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7487         (gst_plugin_feature_set_name):
7488           Avoid double memory usage for pluginfeature names. Fixes #459466.
7489
7490 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7491
7492         * gst/gstpad.h:
7493           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7494           driving the pipeline may need to explicitly check for NOT_LINKED as
7495           well, since IS_FATAL doesn't cover that.
7496
7497 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7498
7499         * docs/pwg/advanced-types.xml:
7500           Fix typo and duplicate entry in video formats list.
7501
7502 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7503
7504         * libs/gst/controller/gstinterpolation.c:
7505         Also round to the nearest int when using cubic interpolation.
7506
7507 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7508
7509         * libs/gst/controller/gstinterpolation.c:
7510         When linearly interpolating integer types, round to the nearest int
7511         by adding 0.5. Don't do it for float/double types.
7512         Fixes the failing controller test on my machine, which is somehow
7513         rounding differently than on the buildbots.
7514
7515 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7516
7517         * tools/gst-plot-timeline.py:
7518           Better log parsing (categories can have -). Adjust text vs. lines, so
7519           that they span the same y-range.        
7520
7521 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7522
7523         * docs/random/ensonic/audiobaseclasses.txt:
7524         * docs/random/ensonic/dynlink.txt:
7525         * docs/random/ensonic/profiling.txt:
7526           Save my thoughts.
7527
7528         * docs/random/moving-plugins:
7529           Add note to use g_assert type macros.
7530
7531 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7532
7533         * configure.ac:
7534         * libs/gst/check/Makefile.am:
7535           Add libm check as we use in for plugins.
7536
7537 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7538
7539         * gst/gstbin.c: (gst_bin_continue_func):
7540         Check that the state_cookie hasn't changed since the continue_func
7541         was scheduled. Avoids problems where the state changes back to
7542         something it shouldn't be because it was changed in the meantime.
7543
7544 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7545
7546         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7547         (gst_registry_binary_save_string),
7548         (gst_registry_binary_save_pad_template),
7549         (gst_registry_binary_save_feature),
7550         (gst_registry_binary_save_plugin),
7551         (gst_registry_binary_load_feature),
7552         (gst_registry_binary_load_plugin),
7553         (gst_registry_binary_read_cache):
7554           Fix memory leak. Be less verbose in the log.
7555
7556 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7557
7558         * tests/check/elements/.cvsignore:
7559         Add file to cvsignore as commanded.
7560
7561 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7562
7563         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7564         (mq_dummypad_event), (run_output_order_test):
7565         Use a GStaticMutex to protect all cases where libcheck
7566         fail_if/fail_unless macros might be called from multiple threads
7567         simultaneously to avoid errors like:
7568           "check_pack.c:107: :-1081725400:Bad message type arg"
7569
7570 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7571
7572         * tests/check/pipelines/stress.c: (GST_START_TEST):
7573         Make sure we set the pipeline back to the NULL state before
7574         dropping our final reference.
7575
7576 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7577
7578         * tests/check/elements/tee.c: (GST_START_TEST):
7579         Make the tee stress-test a little less stressful so it doesn't just
7580         time out on slow-machines, and remove a small race when it's starting 
7581         up by adding a get_state() call.
7582
7583 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7584
7585         * gst/gst.c:
7586           Avoid reading registry twice on startup. Fixes #457322.
7587
7588 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7589
7590         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7591         * pkgconfig/gstreamer-check.pc.in:
7592         Substitute the CFLAGS for libcheck into our .pc file too so that
7593         dependent modules will pick it up properly if libcheck is installed
7594         into some other prefix.
7595
7596 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7597
7598         * configure.ac:
7599         Revert the pkg-config check for libcheck, since it pulls in the
7600         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7601         a proper solution, either from the check project, or something else.
7602
7603 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7604
7605         * configure.ac:
7606           Use pkg-config to locate check.
7607
7608 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7609
7610         * gst/gsttaglist.c:
7611           Fix doc syntax.
7612
7613         * gst/gstutils.c:
7614         * gst/gstutils.h:
7615           Add deprecation guards.
7616
7617         * libs/gst/base/gstcollectpads.h:
7618           Don't document object (this is implicitly private).
7619
7620 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7621
7622         * gst/gststructure.c: (gst_structure_parse_value):
7623           When deserialising foo=bar without a type cast, check if it's a
7624           boolean before falling back to a string type, otherwise things like
7625           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7626           because the filtercaps end up having a signed=(string)true field,
7627           which causes problems later when intersection caps.
7628
7629         * tests/check/gst/gststructure.c: (GST_START_TEST):
7630           Add a unit test for this.
7631
7632 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7633
7634         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7635
7636         * libs/gst/controller/Makefile.am:
7637         * libs/gst/controller/gstcontroller.c:
7638         (gst_controlled_property_add_interpolation_control_source),
7639         (gst_controlled_property_new), (gst_controlled_property_free),
7640         (gst_controller_find_controlled_property),
7641         (gst_controller_new_valist), (gst_controller_new_list),
7642         (gst_controller_new), (gst_controller_remove_properties_valist),
7643         (gst_controller_remove_properties_list),
7644         (gst_controller_remove_properties),
7645         (gst_controller_set_property_disabled),
7646         (gst_controller_set_disabled), (gst_controller_set_control_source),
7647         (gst_controller_get_control_source), (gst_controller_get),
7648         (gst_controller_sync_values), (gst_controller_get_value_array),
7649         (_gst_controller_dispose), (gst_controller_get_type),
7650         (gst_controlled_property_set_interpolation_mode),
7651         (gst_controller_set), (gst_controller_set_from_list),
7652         (gst_controller_unset), (gst_controller_unset_all),
7653         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7654         * libs/gst/controller/gstcontroller.h:
7655         * libs/gst/controller/gstcontrollerprivate.h:
7656         * libs/gst/controller/gstcontrolsource.c:
7657         (gst_control_source_class_init), (gst_control_source_init),
7658         (gst_control_source_get_value),
7659         (gst_control_source_get_value_array), (gst_control_source_bind):
7660         * libs/gst/controller/gstcontrolsource.h:
7661         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7662         (gst_object_get_control_source):
7663         * libs/gst/controller/gstinterpolation.c:
7664         (gst_interpolation_control_source_find_control_point_node),
7665         (gst_interpolation_control_source_get_first_value),
7666         (_interpolate_none_get), (interpolate_none_get),
7667         (interpolate_none_get_boolean_value_array),
7668         (interpolate_none_get_enum_value_array),
7669         (interpolate_none_get_string_value_array),
7670         (_interpolate_trigger_get), (interpolate_trigger_get),
7671         (interpolate_trigger_get_boolean_value_array),
7672         (interpolate_trigger_get_enum_value_array),
7673         (interpolate_trigger_get_string_value_array):
7674         * libs/gst/controller/gstinterpolationcontrolsource.c:
7675         (gst_control_point_free), (gst_interpolation_control_source_reset),
7676         (gst_interpolation_control_source_new),
7677         (gst_interpolation_control_source_set_interpolation_mode),
7678         (gst_interpolation_control_source_bind),
7679         (gst_control_point_compare), (gst_control_point_find),
7680         (gst_interpolation_control_source_set_internal),
7681         (gst_interpolation_control_source_set),
7682         (gst_interpolation_control_source_set_from_list),
7683         (gst_interpolation_control_source_unset),
7684         (gst_interpolation_control_source_unset_all),
7685         (gst_interpolation_control_source_get_all),
7686         (gst_interpolation_control_source_get_count),
7687         (gst_interpolation_control_source_init),
7688         (gst_interpolation_control_source_finalize),
7689         (gst_interpolation_control_source_dispose),
7690         (gst_interpolation_control_source_class_init):
7691         * libs/gst/controller/gstinterpolationcontrolsource.h:
7692         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7693         API: Refactor GstController into the core controller which can take
7694         a GstControlSource for providing actual values for timestamps.
7695         Implement a interpolation control source and use this for backward
7696         compatibility, deprecate a bunch of functions that are now handled
7697         by GstControlSource or GstInterpolationControlSource.
7698         Make it possible to disable the controller completely or only for
7699         specific properties. Fixes #450711.
7700         * docs/libs/gstreamer-libs-docs.sgml:
7701         * docs/libs/gstreamer-libs-sections.txt:
7702         * docs/libs/gstreamer-libs.types:
7703         Add new functions and classes to the docs.
7704         * tests/check/libs/controller.c: (GST_START_TEST),
7705         (gst_controller_suite):
7706         * tests/examples/controller/audio-example.c: (main):
7707         Port unit test and example to the new API and add some new
7708         unit tests.
7709
7710 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7711
7712         Patch by: Mark Nauwelaerts <manauw at skynet be>
7713
7714         * plugins/elements/gstmultiqueue.c:
7715         (gst_multi_queue_get_internal_links), (apply_buffer),
7716         (single_queue_overrun_cb), (gst_single_queue_new):
7717         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7718         the pipeline layout can be tracked correctly. Fixes #453732.
7719
7720 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7721
7722         * docs/gst/Makefile.am:
7723         * docs/libs/Makefile.am:
7724         * docs/plugins/Makefile.am:
7725           Simplify --extra-dir as gtkdoc scans recursively.
7726
7727 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7728
7729         * tools/gst-launch.c: (main):
7730         When we got an error, there is no point in waiting for preroll when
7731         shutting down.
7732
7733 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7734
7735         * plugins/elements/gsttee.c: (gst_tee_base_init),
7736         (gst_tee_request_new_pad), (gst_tee_release_pad),
7737         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7738         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7739         (gst_tee_chain):
7740         Be a lot smarter when deciding what srcpad to use for proxying
7741         the buffer_alloc. Also handle pad added/removed when doing so.
7742         Fixes #357959.
7743         Keep track of what pads we already pushed on in case we have pads
7744         added/removed while pushing. Fixes #374639 
7745
7746         * tests/check/Makefile.am:
7747         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7748         (tee_suite):
7749         Added unit test for pad resync.
7750
7751 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7752
7753         * po/nl.po:
7754         * po/sv.po:
7755           Updated translations.
7756
7757 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7758
7759         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7760
7761         * po/LINGUAS:
7762         * po/fi.po:
7763           Added new Finnish translation.
7764
7765 2007-06-28  Wim Taymans  <wim@fluendo.com>
7766
7767         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7768         (single_queue_overrun_cb):
7769         When figuring out when a queue is filled, use our internal time estimate
7770         based on segments, just like check_full does.
7771
7772 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7773
7774         * gst/gstminiobject.c: (gst_mini_object_get_type):
7775           Remove 3 do-nothing methods.
7776
7777 2007-06-27  Wim Taymans  <wim@fluendo.com>
7778
7779         Patch by: Tim Angus <tim at ngus dot net>
7780
7781         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7782         (gst_capsfilter_set_property):
7783         Take a reference instead of a copy when setting "caps".
7784         Fix documentation to clarify this behaviour. Fixes #449414.
7785
7786 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7787
7788         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7789         * gst/gstplugin.c: (gst_plugin_init):
7790         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7791         * gst/gstquery.c: (gst_query_get_type):
7792         * gst/gstregistry.c: (gst_registry_init):
7793         * gst/gsturi.c: (gst_uri_handler_base_init):
7794           Remove empty instance_init() functions to save relocs and lessen the
7795           noise. Remove some of the function prototypes that are doubled by
7796           G_DEFINE_TYPE.
7797           
7798 2007-06-27  Wim Taymans  <wim@fluendo.com>
7799
7800         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7801
7802         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7803         Add peer and direction in the XML serialisation of ghostpads.
7804         Fixes #449226.
7805
7806 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7807
7808         * configure.ac:
7809           Preserve useful information, thanks Tim.
7810
7811 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7812
7813         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7814         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7815         (gst_single_queue_push_one), (gst_multi_queue_loop),
7816         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7817         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7818         (compute_high_id), (gst_single_queue_new):
7819         * plugins/elements/gstmultiqueue.h:
7820         Take the multiqueue lock when updating the fill level so we don't get
7821         confused. 
7822
7823         After applying a buffer or event on the src pad segment, make sure to
7824         call gst_data_queue_limits_changed() to get the data queue to unblock
7825         and check the filled state again.
7826         
7827         Rework the not-linked pad handling so the logic is that not-linked 
7828         pads can push as fast as they like, but only so they never get 
7829         ahead of any linked pads.
7830
7831         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7832         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7833         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7834
7835         Add a test to check that not-linked pads always stay behind
7836         linked pads.
7837
7838         Fixes: #430682
7839
7840 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7841
7842         * docs/random/release:
7843           Some updates to the release procedure.
7844
7845 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7846
7847         * gst/gstelementfactory.c: (__gst_element_details_clear):
7848           Microoptimization that saves stunning 80 bytes.
7849
7850 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7851
7852         * docs/plugins/gstreamer-plugins.args:
7853         * docs/plugins/inspect/plugin-coreelements.xml:
7854         * docs/plugins/inspect/plugin-coreindexers.xml:
7855           Update docs with caps info.
7856
7857 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7858
7859         * po/it.po:
7860           Updated Italian translation.
7861
7862 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7863
7864         * ChangeLog:
7865         * po/vi.po:
7866           Update Vietnamese translations.
7867
7868 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7869
7870         * libs/gst/base/gstbasesink.c:
7871           Remove unused signal enum.
7872
7873 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7874
7875         * docs/gst/gstreamer-sections.txt:
7876         * gst/gstelement.c:
7877         * gst/gstutils.c: (gst_type_register_static_full):
7878         Beef up and include the docs for gst_type_register_static_full and
7879         gst_element_class_set_details_simple and add the API keyword
7880         in the ChangeLog.
7881
7882 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7883
7884         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7885         (update_time_level), (gst_single_queue_push_one),
7886         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7887         (single_queue_overrun_cb), (single_queue_underrun_cb),
7888         (single_queue_check_full):
7889         Fix setting max-* properties after adding queues.
7890         Use IS_FILLED for checking visible items.
7891         Signal overrun if multiple queues overrun.
7892         Add extra debug output.
7893         Patch by: Wim Taymans <wim@fluendo.com>
7894
7895 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7896
7897         * gst/gstelement.c: (gst_element_class_set_details_simple):
7898         * gst/gstelement.h:
7899         * gst/gstutils.c: (gst_type_register_static_full):
7900         * gst/gstutils.h:
7901         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7902         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7903         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7904         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7905         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7906         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7907         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7908         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7909         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7910         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7911         (apply_buffer), (gst_queue_chain):
7912         * plugins/elements/gsttee.c: (gst_tee_base_init):
7913         * plugins/elements/gsttypefindelement.c:
7914         (gst_type_find_element_base_init),
7915         (gst_type_find_element_class_init):
7916           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7917           API: add gst_type_register_static_full
7918           API: add gst_element_class_set_details_simple
7919
7920 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7921
7922         * docs/pwg/advanced-types.xml:
7923           Fix typo in iana.org URI.
7924
7925 2007-06-19  Andy Wingo  <wingo@pobox.com>
7926
7927         * tests/check/pipelines/simple-launch-lines.c
7928         (test_state_change_returns): Enable pull-mode tests now that
7929         basesink has been fixed.
7930
7931         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7932         Changed from gst_base_sink_is_prerolled, reversing the sense of
7933         the return value. Returns FALSE also if the sink is in pull mode,
7934         in which case it needs no preroll.
7935         (gst_base_sink_query, gst_base_sink_change_state): Update for
7936         needs_preroll change.
7937         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7938         chaining up, in which we return SUCCESS directly if we activated
7939         in pull mode instead of ASYNC. Involves countering an async_start
7940         message sent before chaining up; not sure if this is correct, in
7941         an ideal world we only send async-start when activating in push
7942         mode.
7943
7944         * tests/check/pipelines/simple-launch-lines.c
7945         (test_state_change_returns): New test, partially disabled until
7946         basesink is fixed.
7947
7948 2007-06-19  Wim Taymans  <wim@fluendo.com>
7949
7950         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7951         (gst_multi_queue_sink_event):
7952         Fix event leak.
7953
7954 2007-06-19  Wim Taymans  <wim@fluendo.com>
7955
7956         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7957         (gst_bin_change_state_func), (bin_push_state_continue),
7958         (bin_handle_async_start), (bin_handle_async_done),
7959         (gst_bin_handle_message_func):
7960         Move the common code for posting state-change messages into
7961         one function.
7962         Broadcast the state signal after we posted the messages.
7963         Mark the bin as busy when it's doing a state-change.
7964         Make sure async-start/done messages don't interfere with the bin's
7965         state when it's busy.
7966         After the state change, let the bin check which elements completed the
7967         state change while it was busy so that it can update its state.
7968
7969 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7970
7971         * docs/random/release:
7972         Add a note about updating the doap file to the release checklist
7973
7974 2007-06-18  Wim Taymans  <wim@fluendo.com>
7975
7976         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7977         (gst_single_queue_push_one), (gst_multi_queue_chain),
7978         (gst_multi_queue_sink_event):
7979         Make sure we don't reference the buffer/event after we have given away
7980         ownership in the queue.
7981
7982 2007-06-18  Wim Taymans  <wim@fluendo.com>
7983
7984         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7985         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7986         Update queue state _after_ adding the item in the queue because else we
7987         could end up being full without the element added yet.
7988
7989 2007-06-18  Wim Taymans  <wim@fluendo.com>
7990
7991         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7992         (gst_bin_remove_func), (gst_bin_get_state_func),
7993         (gst_bin_element_set_state), (gst_bin_continue_func),
7994         (bin_push_state_continue), (bin_handle_async_start),
7995         (bin_handle_async_done), (gst_bin_handle_message_func):
7996         * gst/gstbin.h:
7997         Immediatly commit the toplevel bin state when receiving an async-done
7998         message. This enables us to avoid spawning a thread to commit the state
7999         in some common cases and it also avoids some races.
8000         Avoid spawning a state thread when adding/removing async elements to a
8001         toplevel bin. Instead we immediatly update the bin state.
8002         Get rid of iterating all the children when getting the state in the bin
8003         because it is now always up-to-date.
8004         Fix bug where locked elements would always return _SUCCESS even it they
8005         returned NO_PREROLL before being locked.
8006         Fix the order of the state_change, async-start/done messages that was
8007         sometimes incorrect.
8008         Mark the state_dirty field as deprecated, we don't need it anymore as we
8009         are always up-to-date.
8010
8011         * gst/gstelement.c: (gst_element_get_state_func),
8012         (gst_element_continue_state):
8013         Small debug inprovements.
8014         Return the previous element state return when nothing is pending instead
8015         of blindly returning SUCCESS.
8016
8017         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8018         (gst_sinks_suite):
8019         Add a whole bunch of new testcases.
8020
8021 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8022
8023         * po/uk.po:
8024         * po/vi.po:
8025           Update translations.
8026
8027 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8028
8029         * gst/gstpad.c:
8030         Fix typo in the docs.
8031
8032 2007-06-15  Wim Taymans  <wim@fluendo.com>
8033
8034         * docs/libs/gstreamer-libs-sections.txt:
8035         Add docs for new methods.
8036
8037 2007-06-15  Wim Taymans  <wim@fluendo.com>
8038
8039         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8040         (gst_multi_queue_item_new):
8041         Don't use GSlice because we don't depend on >= 2.10 yet.
8042
8043 2007-06-15  Wim Taymans  <wim@fluendo.com>
8044
8045         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8046         (update_time_level), (apply_segment), (apply_buffer),
8047         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8048         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8049         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8050         (single_queue_underrun_cb), (single_queue_check_full):
8051         Remove debug printf.
8052
8053 2007-06-15  Wim Taymans  <wim@fluendo.com>
8054
8055         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8056         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8057         (gst_data_queue_set_flushing), (gst_data_queue_push),
8058         (gst_data_queue_pop), (gst_data_queue_drop_head),
8059         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8060         * libs/gst/base/gstdataqueue.h:
8061         Various cleanups.
8062         Added methods to get the current levels and to inform the queue that the
8063         'full' limits changed.
8064
8065         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8066         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8067         (gst_single_queue_flush), (update_time_level), (apply_segment),
8068         (apply_buffer), (gst_single_queue_push_one),
8069         (gst_multi_queue_item_steal_object),
8070         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8071         (gst_multi_queue_loop), (gst_multi_queue_chain),
8072         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8073         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8074         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8075         (single_queue_underrun_cb), (single_queue_check_full),
8076         (gst_single_queue_new):
8077         Keep track of time in the queue by measuring the difference between
8078         running_time on input and output. This gives more accurate results and
8079         can compensate for segments correctly.
8080         Make a queue by default only 5 buffers deep. We will now increase the
8081         buffer size depending on the filledness of the other queues.
8082         Factor out commong flush code.
8083         Make sure we don't add additional refcounts to buffers when we can avoid
8084         it.
8085         Propagate GstFlowReturn differently.
8086         Use GSlice for intermediate GstMultiQueueItems.
8087         Keep track of EOS.
8088         Resize queues on over and underruns based on filled level of other
8089         queues.
8090         When checking if the queue is filled, prefer to measure in time if we
8091         can and fall back to bytes when no time is known.
8092
8093         * plugins/elements/gstqueue.c:
8094         Fix return value.
8095
8096 2007-06-15  Wim Taymans  <wim@fluendo.com>
8097
8098         * libs/gst/base/gstbasetransform.c:
8099         (gst_base_transform_sink_event):
8100         Work around the brokenness of the event vmethod in basetransform. Prefer
8101         to return TRUE when the subclass returned FALSE (meaning don't forward
8102         the event). 
8103
8104         * libs/gst/base/gstbasetransform.h:
8105         Clarify the docs.
8106
8107 2007-06-15  Wim Taymans  <wim@fluendo.com>
8108
8109         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8110         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8111         (gst_base_src_default_query), (gst_base_src_get_range),
8112         (gst_base_src_start):
8113         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8114         Improve debugging.
8115
8116 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8117
8118         * docs/pwg/advanced-types.xml:
8119           Added more formats to caps table.
8120
8121 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8122
8123         * tools/gst-launch.c: (main):
8124           Remove crufy code. GOption does not need this workaround.
8125
8126 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8127
8128         * libs/gst/controller/gstcontroller.c:
8129         (gst_controlled_property_set_interpolation_mode):
8130           Fix wrong getter for enums in controller.
8131
8132 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8133
8134         * libs/gst/check/gstcheck.c: (gst_check_init):
8135           Intercept criticals and warnings in the Gst-Phonon log domain, so
8136           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8137           well.
8138         
8139 2007-06-14  Edward Hervey  <edward@fluendo.com>
8140
8141         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8142         Since this file doesn't include "gst.h" it will not go through the
8143         macros that disable GST_LOG if debugging was disabled.
8144
8145 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8146
8147         * libs/gst/check/Makefile.am:
8148         * libs/gst/check/gstcheck.h:
8149         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8150         * pkgconfig/gstreamer-check.pc.in:
8151           Ugly 'fix' for the controller unit test on the p5 bot: in
8152           fail_unless_equals_float() check whether the values are 'almost
8153           equal' by allowing a small absolute error, which should be good
8154           enough for our use cases (normal numbers and values close to 0).
8155           Proper fixage left to floating point arithmetic aficionados.
8156
8157 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8158
8159         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8160         (gst_base_sink_render_object), (gst_base_sink_get_position):
8161           Add two breaks thats where missing.
8162
8163 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8164
8165         * docs/libs/gstreamer-libs-sections.txt:
8166         * libs/gst/check/gstcheck.h:
8167           API: add fail_unless_equals_float() and assert_equals_float().
8168           Add documentation for some of the macros.
8169
8170         * tests/check/libs/controller.c: (GST_START_TEST):
8171           Use newly-added asserts.
8172
8173 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8174
8175         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8176           Show the caps change in the log to help spotting the case of not
8177           exactly matching caps.
8178
8179 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8180
8181         * docs/pwg/building-boiler.xml:
8182           Fix typos, spotted by Thijs Vermeir (#447190).
8183
8184 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8185
8186         * docs/plugins/tmpl/.cvsignore:
8187         Ignore file to keep the buildbots happy
8188
8189 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8190
8191         * docs/plugins/Makefile.am:
8192         * docs/plugins/gstreamer-plugins-docs.sgml:
8193         * docs/plugins/gstreamer-plugins-sections.txt:
8194         Pull fdsink into the docs too.
8195
8196 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8197
8198         * libs/gst/controller/gstinterpolation.c:
8199         Actually use the new functions with min/max checks for the trigger and
8200         none interpolation modes for get() and get_value_array() instead of
8201         just the latter.
8202
8203 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8204
8205         * libs/gst/controller/gstcontroller.c:
8206         (gst_controlled_property_free):
8207         Unset the minimum and maximum GValues when freeing the corresponding
8208         GstControllerProperty struct.
8209
8210 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8211
8212         * libs/gst/controller/gstcontroller.c:
8213         (gst_controlled_property_new):
8214         * libs/gst/controller/gstcontrollerprivate.h:
8215         * libs/gst/controller/gstinterpolation.c:
8216         (gst_controlled_property_find_control_point_node),
8217         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8218         (interpolate_none_get_string_value_array),
8219         (interpolate_trigger_get),
8220         (interpolate_trigger_get_enum_value_array),
8221         (interpolate_trigger_get_string_value_array):
8222         Protect against values larger or smaller than the minimum or maximum
8223         allowed value for the property when using values that can be compared.
8224
8225         Optimize trigger interpolator a bit by taking the last requested value
8226         into account instead of always looping through the complete list.
8227
8228         Fix coding style a bit, everywhere else we use "return foo" instead
8229         of "return (foo)".
8230         
8231         * tests/check/libs/controller.c: (GST_START_TEST),
8232         (gst_controller_suite):
8233         Add unit test for the protection against too large or too small
8234         values.
8235
8236 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8237
8238         * docs/random/slomo/controller.txt:
8239         Add some thoughts about the future of the controller.
8240
8241 2007-06-08  Wim Taymans  <wim@fluendo.com>
8242
8243         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8244         Don't overflow in retimestamping code.
8245
8246 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8247
8248         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8249         Use gst_util_guint64_to_gdouble for conversions.
8250         * win32/common/libgstreamer.def:
8251         Add new exported functions.
8252
8253 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8254
8255         * gst/gstutils.c:
8256           Small docs addition.
8257
8258 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8259
8260         * README:
8261           Remove that test line again.
8262
8263 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8264
8265         * README:
8266           Test commit mail sending.
8267
8268 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8269
8270         * configure.ac:
8271           Fix typo and test commit mail sending.
8272
8273 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8274
8275         * tests/examples/controller/audio-example.c:
8276           Improve comment and test commit mail sending.
8277
8278 2007-06-07  Wim Taymans  <wim@fluendo.com>
8279
8280         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8281         (gst_bin_remove_func), (gst_bin_element_set_state),
8282         (bin_handle_async_start), (bin_handle_async_done),
8283         (gst_bin_handle_message_func):
8284         Add helper function to find messages.
8285         Generate the async-done messages together with the state change
8286         messages.
8287         Small cleanups in handling toplevel bins.
8288
8289 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8290
8291         * libs/gst/base/gstdataqueue.c:
8292         * libs/gst/base/gstdataqueue.h:
8293         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8294         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8295         (gst_multi_queue_sink_event):
8296         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8297           Fix multiqueue leaking buffers and events when downstream or the
8298           queue are flushing. Make refcounting assumptions explicit and
8299           document them (shouldn't break existing code that uses it other than
8300           maybe leak miniobjects, but that already happens anyway). Add unit
8301           test for the most common flushing case. Fixes #423700.
8302           
8303 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8304
8305         * libs/gst/controller/gstcontroller.c:
8306         Clarify docs: The get_all, get_value_array(s) functions
8307         don't modify the GObject properties.
8308
8309 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8310
8311         * libs/gst/controller/gstcontroller.c:
8312         (gst_controlled_property_set_interpolation_mode),
8313         (gst_controlled_property_prepend_default),
8314         (gst_controlled_property_new), (gst_controller_set_unlocked),
8315         (gst_controller_set), (gst_controller_set_from_list),
8316         (gst_controller_unset), (gst_controller_unset_all):
8317         * libs/gst/controller/gstcontrollerprivate.h:
8318         * libs/gst/controller/gstinterpolation.c:
8319         Factor out the 'set' logic into gst_controller_set_unlocked for the
8320         gst_controller_set and gst_controller_set_from_list functions.
8321
8322         To make life of the interpolators easier always add a control point
8323         at timestamp zero with the default value.
8324
8325         In the linear interpolator make things more obvious by better variable
8326         naming (slope).
8327
8328         Implement cubic interpolation mode (by using a natural cubic spline)
8329         and map the quadratic interpolation mode to this too (as quadratic
8330         doesn't make much sense, see discussion on the list).
8331
8332         * tests/check/libs/controller.c: (GST_START_TEST),
8333         (gst_controller_suite):
8334         Add unit test for the cubic interpolation mode and check everywhere
8335         if the interpolation mode could be set as expected.
8336
8337 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8338
8339         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8340           Don't use GLib-2.10 functions, we still depend on
8341           GLib-how-old-is-it-again-2.8.
8342
8343 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8344
8345         * docs/gst/gstreamer-sections.txt:
8346         * gst/Makefile.am:
8347         * gst/gst.c:
8348         * gst/gst.h:
8349         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8350         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8351         (_gst_param_fraction_values_cmp),
8352         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8353         * gst/gstparamspecs.h:
8354         * gst/gstvalue.c:
8355         * tests/check/Makefile.am:
8356         * tests/check/gst/.cvsignore:
8357         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8358         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8359         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8360         (GST_START_TEST), (gst_param_spec_suite):
8361           API: add GstParamSpecFraction, so elements can have fraction
8362           properties without lots of painful string parsing (#444648).
8363
8364 2007-06-05  Wim Taymans  <wim@fluendo.com>
8365
8366         * gst/gstobject.c: (gst_object_class_init):
8367         Fix signal signature.
8368
8369         * gst/gstsegment.c:
8370         Add small clarification in the api docs.
8371
8372         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8373         States are protected with object lock.
8374
8375 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8376
8377         * AUTHORS:
8378         I should probably be listed as an author by now.
8379
8380         * docs/random/release:
8381         Update the release doc
8382
8383 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8384
8385         * gst/gstvalue.c:
8386           Make docs for gst_value_compare() mention return enums that
8387           actually exist.
8388
8389 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8390
8391         * configure.ac:
8392           Back to CVS
8393
8394 === release 0.10.13 ===
8395
8396 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8397
8398         * configure.ac:
8399           releasing 0.10.13, "With or without you"
8400
8401 2007-05-25  Wim Taymans  <wim@fluendo.com>
8402
8403         * gst/gstbin.c: (bin_handle_async_done):
8404         Make sure that the child bin stops after completing the async state
8405         change so that the parent can continue the state change to PLAYING.
8406         Fixes #441159.
8407
8408 2007-05-25  Wim Taymans  <wim@fluendo.com>
8409
8410         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8411         (unref_data), (gst_collect_pads_remove_pad),
8412         (gst_collect_pads_check_pads):
8413         Use additional refcounting to avoid crashes when dynamically adding and
8414         removing pads. Fixes #420206.
8415
8416 2007-05-24  Wim Taymans  <wim@fluendo.com>
8417
8418         * tools/gst-launch.c: (event_loop):
8419         When buffering goes from a two digit to a single digit number, make sure
8420         to remove the old second digit by writing a blank over it.
8421
8422 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8423
8424         * libs/gst/base/gstdataqueue.c:
8425           Eliminate tabs and trailing comma in enum list; fix some typos.
8426
8427 2007-05-24  Wim Taymans  <wim@fluendo.com>
8428
8429         * tests/check/gst/gstbin.c: (GST_START_TEST):
8430         Allow refcount of 3 and 4 because some state thread might still be busy
8431         with it.
8432
8433 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8434
8435         * plugins/elements/Makefile.am:
8436         * plugins/elements/gstmultiqueue.h:
8437         * plugins/elements/gstqueue.h:
8438           These are not installed headers, no need for padding.
8439
8440 2007-05-24  Wim Taymans  <wim@fluendo.com>
8441
8442         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8443         (gst_bin_continue_func):
8444         Enable latency for next release.
8445         Restore STATE_LOCK around recalc_state that was left out during the
8446         rewrite and could result in racy behaviour when _get_state and
8447         recalc_state are run concurrently. See #440463.
8448
8449 2007-05-23  Wim Taymans  <wim@fluendo.com>
8450
8451         * tests/check/gst/gstsystemclock.c: (store_callback),
8452         (GST_START_TEST):
8453         Improve test_async_order to also work when both timers are already
8454         expired when we get scheduled to check it.
8455
8456 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8457
8458         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8459         (gst_bin_set_property), (gst_bin_get_property),
8460         (gst_bin_remove_func), (gst_bin_handle_message_func):
8461         * gst/gstbin.h:
8462           'private' is a c++ keyword, let's not use that in header files,
8463           otherwise c++ compilers will throw a tantrum.
8464
8465 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8466
8467         * plugins/elements/gstelements.c:
8468         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8469         (gst_file_sink_get_current_offset):
8470         * plugins/indexers/gstindexers.c: (plugin_init):
8471           Use #ifdef for HAVE_XYZ for consistency.
8472
8473         * tests/check/Makefile.am:
8474         * tests/check/elements/.cvsignore:
8475         * tests/check/elements/filesink.c: (setup_filesink),
8476         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8477           Add some unit tests for filesink.
8478
8479 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8480
8481         Patch by: Mark Nauwelaerts <manauw at skynet be>
8482
8483         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8484         (gst_file_sink_query), (gst_file_sink_do_seek),
8485         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8486         * plugins/elements/gstfilesink.h:
8487           Fix position reporting; rename data_written member to current_pos to
8488           reflect its real meaning (fixes #412648).
8489
8490 2007-05-22  Edward Hervey  <edward@fluendo.com>
8491
8492         * docs/gst/gstreamer-sections.txt:
8493         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8494         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8495         (gst_bin_remove_func), (gst_bin_handle_message_func):
8496         * gst/gstbin.h:
8497         Add a property for bins that handle the state change of their childs.
8498         Fixes #435880
8499
8500 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8501
8502         * libs/gst/controller/gstinterpolation.c:
8503         Use an array of the correct type when using _get_value_array with
8504         linear interpolation.
8505
8506 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8507
8508         * gst/gstelement.c (gst_element_requires_clock,
8509           gst_element_provides_clock, gst_element_request_pad,
8510           gst_element_class_set_details, gst_element_class_set_details_simple,
8511           gst_element_default_send_event, gst_element_abort_state,
8512           gst_element_continue_state, gst_element_set_state,
8513           gst_element_set_state_func, iterator_activate_fold_with_resync):
8514         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8515           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8516           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8517           gst_pad_get_range, gst_pad_pull_range):
8518         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8519           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8520           GstPadActivateModeFunction, GstPadChainFunction,
8521           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8522           GstPadFixateCapsFunction, GstPadTemplate):
8523         * gst/gstpipeline.c (gst_pipeline_change_state,
8524           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8525           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8526           gst_pipeline_get_delay):
8527           Whitespace and docs fixes.
8528
8529 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8530
8531         * libs/gst/controller/gstinterpolation.c:
8532         (interpolate_trigger_get_enum_value_array),
8533         (interpolate_trigger_get_string_value_array):
8534         Add support for retrieving value arrays when using the trigger
8535         interpolation mode. 
8536
8537 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8538
8539         * libs/gst/controller/gstcontroller.c:
8540         (gst_controller_get_value_array):
8541         * libs/gst/controller/gstcontroller.h:
8542         Clarify the docs of gst_controller_get_value_array(): The array where
8543         the values should be written to must be allocated as there seems to be
8544         no way to get the size of a random GType. This doesn't change any
8545         behaviour. Also fix some typos all over the place and remove an unused,
8546         commented function that is not necessary as g_object_set() could be
8547         used instead.
8548         * tests/check/libs/controller.c: (GST_START_TEST),
8549         (gst_controller_suite):
8550         Add unit test for gst_controller_get_value_array().
8551
8552 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8553
8554         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8555
8556         Disable part of the gst_buffer_try_new_and_alloc test, because
8557         it can happily succeed on 64-bit systems where there's more address
8558         space available.
8559
8560 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8561
8562         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8563         Add unit test for the improved caps checking from bug #421543.
8564
8565 2007-05-21  Wim Taymans  <wim@fluendo.com>
8566
8567         * docs/design/part-synchronisation.txt:
8568         Small addition.
8569
8570         * gst/gstbin.c: (gst_bin_query):
8571         * plugins/elements/gstqueue.c: (apply_segment):
8572         Improve debugging.
8573
8574         * gst/gstmessage.h:
8575         Improve docs.
8576
8577 2007-05-21  Wim Taymans  <wim@fluendo.com>
8578
8579         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8580         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8581         (gst_pad_configure_src):
8582         Added simple version of improved caps checking. It was previously
8583         assumed that a setcaps function would check the validity of the caps but
8584         people prefer us to check caps against the template automatically. 
8585         Fixes #421543.
8586
8587 2007-05-21  Wim Taymans  <wim@fluendo.com>
8588
8589         * libs/gst/base/gstbasetransform.h:
8590         Fix macro for locking/unlocking the transform lock.
8591
8592 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8593
8594         * docs/plugins/tmpl/.cvsignore:
8595           Ignore more.
8596
8597 2007-05-18  Edward Hervey  <edward@fluendo.com>
8598
8599         * plugins/elements/gstqueue.c: (gst_queue_loop):
8600         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8601         for the subtle art of warning a potentially blocking thread that it
8602         should check the source pad return value, and relay the information
8603         upstream.
8604
8605 2007-05-18  Edward Hervey  <edward@fluendo.com>
8606
8607         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8608         Release the queue lock !
8609
8610 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8611
8612         * docs/libs/gstreamer-libs-sections.txt:
8613         Add the two new controller functions to the appropiate places.
8614
8615 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8616
8617         reviewed by: Stefan Kost <ensonic@users.sf.net>
8618
8619         * libs/gst/controller/gstcontroller.c:
8620         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8621         (_gst_controller_get_property), (_gst_controller_set_property),
8622         (_gst_controller_init), (_gst_controller_class_init):
8623         * libs/gst/controller/gstcontroller.h:
8624         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8625         (gst_object_get_control_rate), (gst_object_set_control_rate):
8626         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8627         Add API that provides sync suggestion timestamps for elements that
8628         call gst_object_sync_values() from which those elements can subdivide
8629         their processing loop to get the best results for the controlled
8630         properties. For now it just suggests last_sync + control_rate as
8631         new timestamp but this will be improved in the future.
8632
8633         While doing that change the control-rate property to a GstClockTime
8634         from guint and change it's meaning from samples to nanoseconds as
8635         the GstController doesn't know anything about sampling rate. Strictly
8636         speaking this breaks ABI but as the control-rate property didn't do
8637         anything in the past and as such couldn't be used this should be no
8638         problem.        
8639
8640 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8641
8642         reviewed by: Stefan Kost <ensonic@users.sf.net>
8643
8644         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8645         (gst_controller_unset_all):
8646         * libs/gst/controller/gstcontrollerprivate.h:
8647         * libs/gst/controller/gstinterpolation.c:
8648         (gst_controlled_property_find_control_point_node):
8649         Save last synced value from the list to continue searching from there
8650         in future syncs. This speeds everything up a bit.
8651         
8652 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8653
8654         reviewed by: Stefan Kost <ensonic@users.sf.net>
8655
8656         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8657         (gst_control_point_find), (gst_controlled_property_new),
8658         (gst_control_point_free), (gst_controlled_property_free),
8659         (gst_controller_set), (gst_controller_set_from_list),
8660         (gst_controller_unset), (gst_controller_unset_all),
8661         (gst_controller_sync_values):
8662         * libs/gst/controller/gstcontroller.h:
8663         * libs/gst/controller/gstcontrollerprivate.h:
8664         * libs/gst/controller/gstinterpolation.c:
8665         (gst_controlled_property_find_control_point_node),
8666         (interpolate_none_get), (interpolate_trigger_get):
8667         Add a new private GstControlPoint struct which "inherits" from
8668         GstTimedValue to allow different interpolators to store internal
8669         values next to each control point. From the outside everything is
8670         still a GstControlPoint so we don't loose binary compatibility.
8671         Also fixup all the GValue handling to not leak GValues or list nodes.
8672         * tests/check/libs/controller.c: (GST_START_TEST):
8673         Free the list nodes and GValues in the controller_misc test.
8674
8675 2007-05-17  Edward Hervey  <edward@fluendo.com>
8676
8677         * gst/gstsegment.c:
8678         Small doc fix.
8679
8680 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8681
8682         * gst/gstplugin.c: (gst_plugin_load_file):
8683           If we fail to load a plugin because of unresolved symbols or missing
8684           libraries and spew a warning to stderr, we may just as well mention
8685           which plugin it was that failed to load.
8686
8687 2007-05-13  David Schleef  <ds@schleef.org>
8688
8689         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8690           handles the case when ENABLE_GTK_DOC is false, and installs
8691           the prebuilt documentation.  So gtk-doc subdirs are 
8692           unconditionally enabled.  Fixes: #349099.
8693
8694 2007-05-13  David Schleef  <ds@schleef.org>
8695
8696         * gst/gstutils.h: Reword some documentation.
8697
8698 2007-05-12  David Schleef  <ds@schleef.org>
8699
8700         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8701           do anything with the passed "module" parameter, so remove it.
8702           Allows removal of additional vestigal code.
8703
8704 2007-05-12  David Schleef  <ds@schleef.org>
8705
8706         * gst/gstplugin.c:
8707           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8708           Switch to using g_stat() because it's more portable.
8709
8710 2007-05-12  David Schleef  <ds@schleef.org>
8711
8712         * gst/gst.c:
8713           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8714           parsing for embedded systems.
8715         * gst/gstelementfactory.c:
8716           Allow gst_element_register() to be called with plugin==NULL.
8717           Did nobody notice that static elements were broken?
8718
8719 2007-05-12  Wim Taymans  <wim@fluendo.com>
8720
8721         * tools/gst-launch.c: (event_loop):
8722         Give more interesting info when buffering starts and stops.
8723         Fix case where buffering starts but we fail to update the buffering flag
8724         because the target state is not PLAYING.
8725
8726 2007-05-12  Wim Taymans  <wim@fluendo.com>
8727
8728         * plugins/elements/gstqueue.c: (gst_queue_init),
8729         (gst_queue_finalize), (update_time_level), (apply_segment),
8730         (apply_buffer), (gst_queue_locked_flush),
8731         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8732         (gst_queue_handle_sink_event), (gst_queue_chain),
8733         (gst_queue_push_one), (gst_queue_loop):
8734         * plugins/elements/gstqueue.h:
8735         Refactor an cleanup queue a bit.
8736         Do better time level calculations that also work when the srcpad is not
8737         yet running.
8738         Remove some unneeded debug lines.
8739
8740         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8741         Added testcase for time level measurement.
8742         Try to make some stuff more racefree.
8743
8744 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8745
8746         * gst/gsturi.c: (gst_element_make_from_uri):
8747           Don't leak plugin feature.
8748
8749         * tests/check/Makefile.am:
8750         * tests/check/gst/.cvsignore:
8751         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8752           Add brain-dead unit test.
8753
8754 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8755
8756         Patch by: Jeroen Wouters <woutersj at gmail com>
8757
8758         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8759           Treat protocol strings in a case-insensitive way (#437563).
8760
8761 2007-05-11  Michael Smith <msmith@fluendo.com>
8762
8763         * gst/gstplugin.c: (gst_plugin_load_file):
8764         * gst/gstregistry.c: (gst_registry_scan_path_level):
8765           Don't print a g_warning for any failure to load a shared object.
8766           Instead, push this down into gstplugin.c, and warn _only_ if we
8767           failed to open the module (i.e. failure to link).
8768           Avoids warnings on normal, working, non-plugin .so files.
8769
8770 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8771
8772         * gst/gstplugin.c (gst_plugin_load_file):
8773         * gst/gstregistry.c (GST_CAT_DEFAULT,
8774           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8775           Print a g_warning if there was an error when loading a plugins during
8776           registry scan. The shuld help beginners starting with gst-plugin
8777           template.
8778
8779 2007-05-10  Wim Taymans  <wim@fluendo.com>
8780
8781         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8782         (update_time_level), (gst_queue_locked_flush),
8783         (gst_queue_handle_sink_event), (gst_queue_chain),
8784         (gst_queue_push_one), (gst_queue_loop):
8785         * plugins/elements/gstqueue.h:
8786         Be smarter when calculating the current amount of data in the queue by
8787         measuring the difference between start and end timestamps (in running
8788         time) inside the queue. Fixes #432876.
8789         API: GstQueue::pushing to notify elements that we are pushing data again
8790         since the running signal is rather broken for this purpose.
8791
8792 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8793
8794         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8795           gst_queue_base_init, gst_queue_init):
8796           use GST_BOILERPLATE
8797
8798 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8799
8800         * win32/common/libgstreamer.def:
8801         Add new exported functions.
8802         * win32/vs6/grammar.dsp:
8803         Use grammar pre-generated files.
8804
8805 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8806
8807         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8808
8809         * gst/Makefile.am:
8810         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8811         * gst/gstparse.h:
8812         * gst/gstutils.c: (gst_parse_bin_from_description):
8813         * gst/gstutils.h:
8814           Maintain API and ABI when --disable-parse is used. Now that
8815           we have an appropriate error code, we can just return NULL and the
8816           appropriate error when gst_parse_launch() is used despite it having
8817           been disabled (#342564).
8818
8819         * tests/check/Makefile.am:
8820         * tests/check/pipelines/.cvsignore:
8821         * tests/check/pipelines/parse-disabled.c:
8822           Make sure these functions exist and return NULL plus a GError when
8823           --disable-parse is used.
8824
8825 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8826
8827         * tests/benchmarks/complexity.c: (main):
8828         * tests/benchmarks/mass-elements.c: (main):
8829           Set a good example and don't leak messages.
8830
8831 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8832
8833         * docs/gst/Makefile.am:
8834         * docs/libs/Makefile.am:
8835           Correct fixxrefs options.
8836
8837         * docs/plugins/Makefile.am:
8838         * docs/plugins/gstreamer-plugins-docs.sgml:
8839         * docs/plugins/gstreamer-plugins-sections.txt:
8840         * plugins/elements/Makefile.am:
8841         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8842         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8843           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8844           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8845           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8846           _GstCapsFilterClass, trans_class):
8847         * plugins/elements/gstelements.c (name, rank, type, _elements):
8848         * plugins/elements/gstidentity.c
8849           (gst_identity_check_imperfect_timestamp,
8850           gst_identity_check_imperfect_offset):
8851           Document capsfilter and add doc-blurb to identity.
8852
8853 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8854
8855         * libs/gst/controller/gstcontroller.c:
8856         (gst_controlled_property_set_interpolation_mode):
8857         * libs/gst/controller/gstinterpolation.c:
8858           Don't crash if someone tries to set an interpolation mode that
8859           is invalid or that isn't supported yet. Fixes #422295.
8860
8861         * tests/check/libs/controller.c: (GST_START_TEST),
8862         (gst_controller_suite):
8863           Add a test case for the above.
8864
8865 2007-05-03  Edward Hervey  <edward@fluendo.com>
8866
8867         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8868         Properly set the last_stop position on GstSegment. This will only happen
8869         if there is a buffer to push out.
8870
8871 2007-05-03  Wim Taymans  <wim@fluendo.com>
8872
8873         * libs/gst/base/gstbasetransform.c:
8874         (gst_base_transform_buffer_alloc):
8875         always_in_place does not mean that the sink and source caps are the
8876         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8877
8878 2007-05-03  Wim Taymans  <wim@fluendo.com>
8879
8880         * docs/libs/gstreamer-libs-sections.txt:
8881         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8882         (gst_base_src_default_query), (gst_base_src_get_range):
8883         * libs/gst/base/gstbasesrc.h:
8884         API: gst_base_src_query_latency(). Added method so that subclasses can
8885         easily get the latency values of the base source class.
8886
8887 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8888
8889         * tools/gst-inspect.c (print_implementation_info):
8890         Remove 0.8 cruft.
8891
8892 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8893
8894         * tools/Makefile.am:
8895         * tools/gst-launch.1.in:
8896           Don't create a customised man page based on the host architecture,
8897           describe the default registry path generically. That way the man
8898           page is the same for all architectures and packagers have one
8899           multilib issue less to deal with. Fixes #434926.
8900
8901 2007-05-02  Wim Taymans  <wim@fluendo.com>
8902
8903         * gst/gstpad.c:
8904         Fix documentation as spotted by rg on IRC. 
8905
8906 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8907
8908         * gst/gstutils.c:
8909           Improve docs for gst_element_{link,unlink}.
8910
8911 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8912
8913         * docs/design/part-events.txt:
8914         * docs/design/part-overview.txt:
8915         * gst/gstevent.c:
8916         * gst/gsturi.c:
8917         * gst/gsturi.h:
8918         * libs/gst/base/gstbasesink.c:
8919           Typo fixes; minor docs addition.
8920
8921 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8922
8923         * docs/gst/gstreamer-sections.txt:
8924         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8925         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8926         * gst/gsturi.h:
8927         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8928         or src that supports a given URI protocol exists.
8929
8930 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8931
8932         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8933         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8934         Set the location to NULL if "file://" is set as URI. Otherwise
8935         some random previous URI would still be set if "file://" is
8936         set on an already used filesink/filesrc.
8937
8938 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8939
8940         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8941         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8942         Special case the "file://" URI as as this is used by some
8943         applications to test with gst_element_make_from_uri if there's
8944         an element that supports the URI protocol.
8945         Also move the g_path_is_absolute() check for the location part
8946         of the URI to also check this for "file://localhost/bla" URIs.
8947
8948 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8949
8950         * docs/gst/gstreamer-sections.txt:
8951         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8952         * gst/gstbuffer.h:
8953         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8954         (gst_buffer_suite):
8955           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8956
8957 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8958
8959         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8960         (gst_registry_binary_load_pad_template),
8961         (gst_registry_binary_load_plugin),
8962         (gst_registry_binary_read_cache):
8963         * gst/gstregistrybinary.h:
8964           Implement no-mmap alternative for registry reading. Do code cleanups.
8965           Add more comments about avoiding strdups for all text data. Comments
8966           welcome.
8967
8968 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8969
8970         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8971           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8972           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8973           Comment structs and reformat to fix the build (that stuff should go
8974           into a priv. header).
8975
8976 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8977
8978         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8979         (gst_registry_binary_load_feature):
8980         * gst/gstregistrybinary.h:
8981           Refactor so that we can implement multiple features. Add support for
8982           TypeFindFactory features.
8983
8984 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8985
8986         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8987
8988         * configure.ac:
8989           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8990
8991 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8992
8993         * gst/gstbin.c: (gst_bin_element_set_state),
8994         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8995         (bin_handle_async_done), (gst_bin_handle_message_func):
8996           Fix build with --gst-disable-gst-debug
8997
8998 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8999
9000         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9001           Make sure streaming has finished before calling the ::stop() vfunc,
9002           since that vfunc might clear state which is being used in the
9003           streaming thread. This fixes a race that caused crashes in
9004           audioresample when shutting down a pipeline (#420106).
9005
9006 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9007
9008         * docs/gst/gstreamer-sections.txt:
9009           That was one byte missing.
9010
9011 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9012
9013         * configure.ac:
9014         * docs/gst/gstreamer-sections.txt:
9015         * gst/Makefile.am:
9016         * gst/gstconfig.h.in:
9017         * gst/gstobject.c: (gst_object_class_init),
9018         (gst_signal_object_class_init):
9019         * gst/gstobject.h:
9020           2nd attempt to have a xml-less build as a joined effort of #413123
9021           and #421480.
9022
9023 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9024
9025         * docs/design/draft-tagreading.txt:
9026           Added open issues/thoughts to draft.
9027
9028 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9029
9030         * gst/parse/grammar.tab.pre.c:
9031         * gst/parse/grammar.tab.pre.h:
9032         * gst/parse/lex._gst_parse_yy.pre.c:
9033         Update the prebuild parser sources.
9034
9035 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9036
9037         * gst/parse/Makefile.am:
9038         And now fix the building of the flex sources. Now everything should
9039         work as expected.
9040
9041 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9042
9043         * gst/parse/Makefile.am:
9044         Now hopefully fix the build failures by setting proper rule
9045         dependencies and moving instead of copying.
9046
9047 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9048
9049         * tests/benchmarks/complexity.gnuplot:
9050         * tests/benchmarks/complexity.scm:
9051         * tests/benchmarks/mass-elements.gnuplot:
9052         * tests/benchmarks/mass-elements.scm:
9053           Total licensification.
9054
9055 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9056
9057         * gst/parse/Makefile.am:
9058           Fix the build by correcting the rule that gave wrong files to flex.
9059
9060 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9061
9062         * tests/benchmarks/complexity.c:
9063         * tests/benchmarks/mass-elements.c:
9064           Change licence to LGPL as granted by Benjamin and Andy.
9065
9066 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9067
9068         * gst/parse/Makefile.am:
9069         Add correct grammar.tab.h dependency if compiling without new enough
9070         flex. Fixes #431150.
9071
9072 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9073
9074         * gst/parse/Makefile.am:
9075         Fix typo and use outdated sources if the flex/bison sources are newer
9076         than the pregenerated ones but flex is too old. Print a warning in
9077         that case. This should fix the build on the build bot.
9078
9079 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9080
9081         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9082         * gst/parse/Makefile.am:
9083         * gst/parse/grammar.y:
9084         * gst/parse/parse.l:
9085         Make the parser reentrant and recursively callable. This requires flex
9086         >= 2.5.31, for older versions pregenerated sources are used as we
9087         can't bump the build dependency. Finally fixes #349180.
9088
9089         * gst/gstparse.c: (gst_parse_launch):
9090         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9091         now anyway.
9092
9093         * docs/gst/Makefile.am:
9094         * docs/gst/Makefile.am:
9095         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9096         (__gst_parse_strfree), (__gst_parse_link_new),
9097         (__gst_parse_link_free), (__gst_parse_chain_new),
9098         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9099         (gst_parse_element_set), (gst_parse_free_link),
9100         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9101         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9102         (_gst_parse_launch):
9103         * gst/parse/grammar.tab.pre.h:
9104         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9105         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9106         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9107         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9108         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9109         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9110         (_gst_parse_yypop_buffer_state),
9111         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9112         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9113         (yy_fatal_error), (_gst_parse_yyget_extra),
9114         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9115         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9116         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9117         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9118         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9119         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9120         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9121         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9122         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9123         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9124         (_gst_parse_yyfree):
9125         If the installed flex version is too old use pre-generated parser
9126         sources. These pre-generated parser sources are always updated when
9127         the actual flex/bison sources change but require everybody who wants
9128         to change something in the parser to have flex >= 2.5.31 installed.
9129
9130 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9131
9132         * common/m4/gst-gettext.m4:
9133         * gst/gst-i18n-lib.h:
9134           Make --disable-nls to work
9135
9136 2007-04-17  Wim Taymans  <wim@fluendo.com>
9137
9138         * gst/gstconfig.h.in:
9139         Revert previous change that broke the build.
9140
9141 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9142
9143         * configure.ac:
9144         * gst/Makefile.am:
9145         * gst/gstconfig.h.in:
9146           Drop libxml2 dependency when building with 
9147           --enable-binary-registry --disable-loadsave
9148
9149 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9150
9151         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9152         (gst_registry_binary_read_cache):
9153         * gst/gstregistrybinary.h:
9154           Remove unnecessary <sys/mman.h> include which broke the win32 build
9155           with MingW; move includes from header file to .c file, even if the
9156           header file isn't installed; use g_strerror() where UTF-8 strings
9157           are expected, such as in GST_DEBUG messages.
9158
9159 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9160
9161         * docs/libs/gstreamer-libs-sections.txt:
9162         Remove bogus addition for API I didn't end up keeping.
9163
9164         * libs/gst/base/gstbasesrc.h:
9165         Mention Since: 0.10.13 in the documentation.
9166
9167         Add the API keyword to the previous ChangeLog entry.
9168
9169 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9170
9171         * docs/libs/gstreamer-libs-sections.txt:
9172         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9173         (gst_base_src_default_prepare_seek_segment),
9174         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9175         * libs/gst/base/gstbasesrc.h:
9176         Allow basesrc derived classes to execute seeks in other formats
9177         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9178         to prepare the GstSegment in any format that their perform_seek method
9179         will be able to understand. The default implementation provides the
9180         old behaviour of attempting to convert the seek offsets to the 
9181         configured native format.
9182
9183         API: basesrc::prepare_seek_segment vmethod.
9184
9185 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9186
9187         * gst/gstelement.c: (gst_element_get_state_func):
9188         Don't output the same debug statement twice.
9189
9190         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9191         (gst_adapter_peek), (gst_adapter_take_buffer):
9192         Optimise the case where we have buffers at the head of the queue that
9193         can be joined quickly (because they're contiguous sub-buffers) by
9194         merging them together rather than copying data out into new memory.
9195
9196         * gst/parse/grammar.y:
9197         * tests/check/pipelines/parse-launch.c:
9198         Fix a leak in an error path for parse_launch, and add a check 
9199         for it to the testsuite.
9200
9201 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9202
9203         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9204           Don't deadlock when releasing a pad - gst_pad_set_active may try
9205           and take the multiqueue lock too.
9206
9207 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9208
9209         * gst/gsterror.c: (_gst_core_errors_init):
9210         * gst/gsterror.h:
9211           API: add GST_CORE_ERROR_DISABLED (#392804).
9212
9213 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9214
9215         * docs/faq/gst-uninstalled:
9216           don't get empty paths on the PATH variables
9217         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9218           Don't format for the uncommon terminal width of 84 characters.
9219
9220 2007-04-06  Wim Taymans  <wim@fluendo.com>
9221
9222         * gst/gstpipeline.c: (reset_stream_time),
9223         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9224         Only try to select a different pipeline clock when we went back to
9225         PAUSED and not when we merely got flushed.
9226
9227 2007-04-05  Michael Smith  <msmith@fluendo.com>
9228
9229         * tools/gst-launch.1.in:
9230           fractions are better supported in gstreamer than ractions, so
9231           suggest using those.
9232
9233 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9234
9235         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9236
9237         * po/LINGUAS:
9238         * po/da.po:
9239           Added Danish translation.
9240
9241 2007-04-05  Wim Taymans  <wim@fluendo.com>
9242
9243         * libs/gst/base/gstbasesink.c:
9244         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9245         Fix leak caused when refusing newsegment after EOS.
9246
9247         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9248         (gst_fake_sink_init), (gst_fake_sink_set_property),
9249         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9250         (gst_fake_sink_render), (gst_fake_sink_change_state):
9251         * plugins/elements/gstfakesink.h:
9252         Add num-buffers property to make the element generate EOS after a
9253         configurable amount of buffers.
9254         API: fakesink::num-buffers property.
9255
9256         * tests/check/elements/fakesink.c: (GST_START_TEST),
9257         (fakesink_suite):
9258         Fix GstBus leak in test.
9259         Test for fakesink num-buffers.
9260
9261 2007-04-05  Wim Taymans  <wim@fluendo.com>
9262
9263         * libs/gst/base/gstbasesink.c:
9264         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9265         (gst_base_sink_change_state):
9266         Don't accept anything after an EOS, return UNEXPECTED instead.
9267
9268         * tests/check/elements/fakesink.c: (GST_START_TEST),
9269         (fakesink_suite):
9270         Unit test for new EOS behaviour.
9271
9272 2007-04-05  Wim Taymans  <wim@fluendo.com>
9273
9274         * gst/gstelement.c: (gst_element_get_request_pad):
9275         Make padtemplates also work when they don't contain %s or %d.
9276
9277 2007-04-05  Wim Taymans  <wim@fluendo.com>
9278
9279         * docs/gst/gstreamer-sections.txt:
9280         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9281         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9282         * gst/gstclock.h:
9283         Improve _adjust_unlocked() so that it overflows less.
9284         Add gst_clock_unadjust_unlocked to convert from external time to
9285         internal time based on calibration.
9286         Add some more debug.
9287         API: GstClock::gst_clock_unadjust_unlocked()
9288
9289 2007-04-03  Wim Taymans  <wim@fluendo.com>
9290
9291         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9292
9293         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9294         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9295         when releasing sink pad. Fixes #425400.
9296
9297 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9298
9299         * docs/random/ensonic/dynlink.txt:
9300           More work on proposal for new core api.
9301
9302         * docs/libs/gstreamer-libs-sections.txt:
9303         * libs/gst/base/gstbasetransform.h:
9304           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9305           
9306         * libs/gst/controller/gstcontroller.c:
9307         (on_object_controlled_property_changed),
9308         (gst_controller_sync_values),
9309         (gst_controller_set_interpolation_mode):
9310         * libs/gst/controller/gstcontroller.h:
9311           Less verbose logging add docs for unimplemented parts and correctly
9312           return when using unavailable parts.
9313
9314 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9315
9316         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9317         Move all the debug to the CLOCK category, and associate it with
9318         the clock object.
9319
9320 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9321
9322         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9323         Make take_buffer a bit quicker by removing redundant checks
9324         caused by calling gst_adapter_take.
9325
9326 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9327
9328         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9329           Don't leak GCond.
9330
9331         * tests/check/Makefile.am:
9332         * tests/check/elements/.cvsignore:
9333         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9334         (GST_START_TEST), (multiqueue_suite):
9335           Add some dead simple unit tests for the 'multiqueue' element
9336           (some bits don't work yet and are disabled for now).
9337
9338 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9339
9340         * gst/gstelement.c: (gst_element_get_request_pad),
9341         (gst_element_class_get_request_pad_template):
9342           Make gst_element_get_request_pad() create request pads only for
9343           request pad templates and not for, say, sometimes pad templates.
9344
9345 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9346
9347         * docs/design/draft-klass.txt:
9348           Add example that needs more thinking.
9349         
9350         * docs/design/draft-missing-plugins.txt:
9351           More thoughts about wrapper plugins.
9352         
9353         * docs/random/ensonic/embedded.txt:
9354         * docs/random/ensonic/profiling.txt:
9355           More design work.
9356
9357 2007-03-25  Wim Taymans  <wim@fluendo.com>
9358
9359         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9360         (gst_base_src_loop):
9361         Only push the segment events in the PLAYING state for live sources.
9362
9363 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9364
9365         * gst/gstpipeline.c: (gst_pipeline_change_state):
9366         Modify the clock distribution path in PAUSED->PLAYING so that we 
9367         never attempt to choose a new clock unless we're actually leaving
9368         the PAUSED state for the first time. This prevents choosing a
9369         different clock when the state_change gets called for a 2nd time due
9370         to some element doing an async state change.
9371
9372 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9373
9374         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9375         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9376         (gst_pad_chain_unchecked), (gst_pad_push):
9377         Revert last commit. This needs some more thoughts.
9378
9379 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9380
9381         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9382         (gst_pad_chain_unchecked), (gst_pad_push):
9383         Check in set_caps if the caps are compatible with the pad and remove
9384         two functions that are redundant now. Fixes #421543.
9385
9386 2007-03-22  Wim Taymans  <wim@fluendo.com>
9387
9388         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9389         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9390         Unref some more to make valgrind happy.
9391
9392 2007-03-22  Wim Taymans  <wim@fluendo.com>
9393
9394         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9395         (gst_system_clock_id_wait_jitter),
9396         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9397         Fix anoying regression that survived a few releases. When adding an
9398         async entry while blocking on a sync entry, the sync entry will unblock
9399         but still be busy, so it should continue to wait instead of returning
9400         _BUSY to the app.
9401         Add some comments here and there.
9402
9403         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9404         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9405         Add testcase for this.
9406
9407 2007-03-22  Wim Taymans  <wim@fluendo.com>
9408
9409         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9410         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9411         WRONG_STATE and can silently pause the task. All other cases should
9412         error out.
9413
9414 2007-03-22  Wim Taymans  <wim@fluendo.com>
9415
9416         Patch by: Ville Syrjala <syrjala at sci dot fi>
9417
9418         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9419         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9420         Improve debugging.
9421
9422 2007-03-21  Michael Smith  <msmith@fluendo.com>
9423
9424         * docs/pwg/advanced-types.xml:
9425           Fix some errors in the typefinding docs pointed out on irc.
9426
9427 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9428
9429         * libs/gst/base/gstbasesrc.c:
9430         Clarify FIXME comment in the face of having added unlock_stop()
9431
9432 2007-03-21  Wim Taymans  <wim@fluendo.com>
9433
9434         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9435         Prepare for release where we warn against possible app breakage in the
9436         case of live pipelines along with an env var to enable/disable live
9437         preroll mode (GST_COMPAT=[no-]live-preroll).
9438
9439 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9440
9441         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9442         So we should use correct constants for checking for None offset.
9443
9444 2007-03-20  Wim Taymans  <wim@fluendo.com>
9445
9446         * docs/design/part-block.txt:
9447         Mention the fact that the newly switched element should be set to at
9448         least PAUSED.
9449
9450 2007-03-20  Wim Taymans  <wim@fluendo.com>
9451
9452         * gst/gst.c:
9453         Fix compilation with registry disabled as spotted by Saur.
9454
9455 2007-03-20  Wim Taymans  <wim@fluendo.com>
9456
9457         Patch by: Olivier Crete <tester at tester dot ca>
9458
9459         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9460         Look at the pending state too when syncing the element state to the
9461         parent. Fixes #420133.
9462
9463 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9464
9465         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9466         (gst_base_sink_change_state):
9467         * libs/gst/base/gstbasesink.h:
9468         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9469         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9470         (gst_base_src_deactivate):
9471         * libs/gst/base/gstbasesrc.h:
9472         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9473         for sub-classes to correctly clear any state they set trying to
9474         unlock, such as clearing out unlock commands from a command fd.
9475         API: basesrc::unlock_stop
9476         API: basesink::unlock_stop
9477
9478         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9479         (gst_fd_sink_render), (gst_fd_sink_unlock),
9480         (gst_fd_sink_unlock_stop):
9481         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9482         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9483         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9484
9485         Implement unlock_stop in fdsrc and fdsink.
9486         Implement seeking in fdsrc when a seekable fd is passed, as in
9487         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9488
9489 2007-03-19  Wim Taymans  <wim@fluendo.com>
9490
9491         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9492
9493         * gst/gstelement.c: (gst_element_class_init):
9494         Fix pad-added and pad-removed signal signatures so that the pad type is
9495         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9496
9497 2007-03-19  Wim Taymans  <wim@fluendo.com>
9498
9499         * docs/gst/gstreamer-sections.txt:
9500         Add new element field and method.
9501
9502         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9503         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9504         (gst_bin_recalc_state), (gst_bin_get_state_func),
9505         (gst_bin_element_set_state), (gst_bin_change_state_func),
9506         (gst_bin_continue_func), (bin_bus_handler),
9507         (bin_push_state_continue), (bin_handle_async_start),
9508         (bin_handle_async_done), (gst_bin_handle_message_func):
9509         Make async state changes a bit smarter by using new ASYNC_START and
9510         ASYNC_DONE messages. This reduces the number of times we run the state
9511         recalculation thread.
9512         Don't change state of element with a pending ASYNC_START message.
9513         Deprecate STATE_DIRTY messages.
9514         
9515         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9516         (gst_element_get_state_func), (gst_element_continue_state),
9517         (gst_element_lost_state), (gst_element_set_state_func),
9518         (gst_element_change_state):
9519         * gst/gstelement.h:
9520         Keep the state that was last set by the app in a new element field.
9521         Don't allow state changes when handling an element event.
9522         Post ASYNC_START and ASYNC_DONE messages.
9523         Change lost_state so that we go to PAUSED and wait for the parent to set
9524         us to PLAYING again (so latency calculation can be performed)
9525         Export gst_element_change_state() method so that subclasses can use it.
9526         API: gst_element_change_state()
9527         API: GST_STATE_TARGET
9528
9529         * gst/gstpipeline.c: (gst_pipeline_class_init),
9530         (reset_stream_time), (gst_pipeline_change_state),
9531         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9532         Using the new ASYNC_START message we can reset the base_time when
9533         needed. This can then be used to implement base_time redistribution in
9534         flushing seeks so that we can remove the explicit seek handling.
9535         Perform latency query and configuration when going to PLAYING.
9536
9537         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9538         (gst_base_sink_query), (gst_base_sink_change_state):
9539         Post new ASYNC_START/ASYNC_DONE messages.
9540
9541         * tests/check/generic/sinks.c: (GST_START_TEST):
9542         Fix test because the bin will not set the async element to PLAYING right
9543         away.
9544
9545         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9546         Make the message check a little stronger.
9547         Handle ASYNC messages.
9548
9549         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9550         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9551         Expect ASYNC_DONE messages.
9552
9553 2007-03-19  Wim Taymans  <wim@fluendo.com>
9554
9555         * docs/gst/gstreamer-sections.txt:
9556         * gst/gstmessage.c: (gst_message_new_async_start),
9557         (gst_message_new_async_done), (gst_message_parse_info),
9558         (gst_message_parse_async_start):
9559         * gst/gstmessage.h:
9560         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9561         support.
9562
9563 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9564
9565         * tools/gst-inspect.c:
9566         (print_plugin_automatic_install_info_codecs):
9567           Now that we don't check for the 'Codec' keyword any longer in the
9568           klass, we shouldn't spew a warning if the klass isn't a decoder or
9569           encoder (since it might be a Source/Network, for example).
9570
9571 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9572
9573         * tools/gst-inspect.c:
9574         (print_plugin_automatic_install_info_codecs):
9575           Don't require decoder/demuxer/depayloader elements or
9576           encoder/muxer/paylader elements to have 'Codec' as part of their
9577           factory class string when introspecting a plugin's capabilities.
9578           draft-klass.txt mentions that it might be removed in future, and
9579           flump3dec doesn't have it as part of its class string, so chances
9580           are others might also not have it.
9581
9582 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9583
9584         * po/af.po:
9585         * po/az.po:
9586         * po/bg.po:
9587         * po/ca.po:
9588         * po/cs.po:
9589         * po/de.po:
9590         * po/en_GB.po:
9591         * po/fr.po:
9592         * po/it.po:
9593         * po/nb.po:
9594         * po/nl.po:
9595         * po/ru.po:
9596         * po/sq.po:
9597         * po/sr.po:
9598         * po/sv.po:
9599         * po/tr.po:
9600         * po/uk.po:
9601         * po/vi.po:
9602         * po/zh_CN.po:
9603         * po/zh_TW.po:
9604           Update translations from translation project
9605
9606 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9607
9608         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9609         (gst_child_proxy_set_property):
9610           Invert precondition check to be alike the ones in the mimiced gobject
9611           api.
9612
9613 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9614
9615         * docs/design/draft-tagreading.txt:
9616         * docs/random/ensonic/audiobaseclasses.txt:
9617           Do some Architect work.
9618
9619         * gst/gstobject.c: (gst_object_set_name):
9620           Add a WARNING.
9621
9622         * gst/gstpad.c:
9623           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9624
9625 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9626
9627         * gst/gstsystemclock.c: (gst_system_clock_init),
9628         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9629         Defer starting the async system clock thread until the first async
9630         wait is scheduled. Fixes #414986.
9631
9632 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9633
9634         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9635         (gst_single_queue_free):
9636           Fix small leak (free GstSingleQueue structure too, not only contents).
9637
9638 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9639
9640         * gst/gstbin.c:(gst_bin_add):
9641         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9642         * win32/common/libgstbase.def:
9643         * win32/common/libgstreamer.def:
9644         Add new exported functions.
9645
9646 2007-03-09  Wim Taymans  <wim@fluendo.com>
9647
9648         * docs/plugins/gstreamer-plugins-sections.txt:
9649         Fix GstTee docs.
9650
9651 2007-03-09  Wim Taymans  <wim@fluendo.com>
9652
9653         * docs/gst/gstreamer-sections.txt:
9654         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9655         * gst/gstbuffer.h:
9656         Add metadata copy functions. Fixes #393099.
9657         API: gst_buffer_copy_metadata()
9658
9659         * gst/gstutils.c: (gst_buffer_stamp):
9660         * libs/gst/base/gstbasetransform.c:
9661         (gst_base_transform_prepare_output_buffer):
9662         Use new metadata copy functions.
9663
9664 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9665
9666         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9667         (gst_identity_init), (gst_identity_check_perfect),
9668         (gst_identity_check_imperfect_timestamp),
9669         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9670         (gst_identity_set_property), (gst_identity_get_property):
9671         * plugins/elements/gstidentity.h:
9672         Separate out check-imperfect-timestamp and check-imperfect-offset.
9673         Put back check-perfect as it was to keep compatibility.
9674
9675 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9676
9677         * gst/gstelement.c: (gst_element_dispose):
9678         There's no need to warn if VOID_PENDING is not NONE here, as
9679         long as the state is NULL it's ok, and that's checked immediately
9680         above.
9681
9682 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9683
9684         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9685         Fix check for perfect stream to ignore buffers with -1 
9686         offsets/offset ends when checking data contiguity.
9687
9688 2007-03-08  Wim Taymans  <wim@fluendo.com>
9689
9690         * tools/gst-launch.c: (event_loop):
9691         Print INFO messages.
9692
9693 2007-03-08  Wim Taymans  <wim@fluendo.com>
9694
9695         * libs/gst/base/gstbasetransform.c:
9696         (gst_base_transform_sink_eventfunc),
9697         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9698         (gst_base_transform_activate):
9699         * libs/gst/base/gstbasetransform.h:
9700         Add support for dropping buffers with custom GstFlowReturn.
9701         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9702         buffers or dropped buffers.
9703
9704         * docs/libs/gstreamer-libs-sections.txt:
9705         docs for new custom return code.
9706
9707         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9708         Use drop support in base class to implement drop-probability.
9709
9710 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9711
9712         * gst/gst.c: (load_plugin_func):
9713         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9714         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9715         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9716           Remove newlines at end of debug log strings.
9717
9718 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9719
9720         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9721         Only post bus message at max, once per buffer received.
9722
9723 2007-03-07  Wim Taymans  <wim@fluendo.com>
9724
9725         * docs/design/Makefile.am:
9726         * docs/design/part-synchronisation.txt:
9727         Add doc about synchronisation
9728
9729         * docs/design/draft-latency.txt:
9730         * docs/design/part-TODO.txt:
9731         * docs/design/part-clocks.txt:
9732         * docs/design/part-events.txt:
9733         * docs/design/part-gstbus.txt:
9734         * docs/design/part-gstpipeline.txt:
9735         * docs/design/part-live-source.txt:
9736         * docs/design/part-messages.txt:
9737         * docs/design/part-overview.txt:
9738         * docs/design/part-streams.txt:
9739         * docs/design/part-trickmodes.txt:
9740         Documentation updates.
9741
9742 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9743
9744         * gstreamer.doap:
9745         Update the doap file.
9746
9747 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9748
9749         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9750         Rename non-perfect to imperfect for Mike and for the sanctity of the
9751         language.
9752         Also make sure bus message gets emitted for data-incontiguities.
9753
9754 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9755
9756         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9757         (gst_identity_start):
9758         * plugins/elements/gstidentity.h:
9759         Emit bus message if check-perfect is true and we encounter a
9760         non-perfect stream between 2 consecutive buffers.
9761         Fixes #415394.
9762
9763 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9764
9765         * configure.ac:
9766         Back to CVS
9767
9768 === release 0.10.12 ===
9769
9770 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9771
9772         * configure.ac:
9773           releasing 0.10.12, "Inevitable Demise"
9774
9775 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9776
9777         * configure.ac:
9778          Version 0.10.11.2 (0.10.12 pre-release)
9779          Bump libtool versioning.
9780
9781 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9782
9783         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9784           Log flow-names and not numbers.
9785
9786 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9787
9788         * configure.ac:
9789           Convert to new AG_GST style.
9790
9791 2007-02-28  Wim Taymans  <wim@fluendo.com>
9792
9793         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9794         Don't unref query twice.
9795
9796 2007-02-28  Wim Taymans  <wim@fluendo.com>
9797
9798         * gst/gstvalue.c: (gst_value_transform_object_string),
9799         (_gst_value_initialize):
9800         Implement GstObject -> string transform so we print object names
9801         when serializing GValues containing GstObjects.
9802
9803 2007-02-28  Wim Taymans  <wim@fluendo.com>
9804
9805         * docs/gst/gstreamer-sections.txt:
9806         Add new stuff to docs.
9807
9808 2007-02-28  Wim Taymans  <wim@fluendo.com>
9809
9810         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9811         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9812         (gst_base_sink_change_state):
9813         Improve latency query code.
9814         Don't leak latency events.
9815
9816         * tests/check/gst/gstbin.c: (GST_START_TEST):
9817         Improve debugging.
9818
9819 2007-02-28  Wim Taymans  <wim@fluendo.com>
9820
9821         * gst/gstelement.c: (gst_element_message_full),
9822         (gst_element_get_state_func):
9823         * gst/gstelement.h:
9824         Improve docs a little. Added Since: for new macro.
9825
9826         * gst/gstobject.c: (gst_object_sink):
9827         * gst/gstpipeline.c: (gst_pipeline_change_state),
9828         (gst_pipeline_set_new_stream_time):
9829         * gst/gstpipeline.h:
9830         Improve debugging and docs.
9831
9832         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9833         Improve debugging.
9834
9835 2007-02-28  Wim Taymans  <wim@fluendo.com>
9836
9837         * gst/gstelement.c: (gst_element_message_full),
9838         (gst_element_set_locked_state), (gst_element_get_state_func),
9839         (gst_element_change_state):
9840         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9841         Documentation updates.
9842         Small code cleanups.
9843
9844         * gst/gstmessage.c: (gst_message_new_info),
9845         (gst_message_parse_info):
9846         * gst/gstmessage.h:
9847         API: gst_message_new_info()
9848         API: gst_message_parse_info()
9849         Add INFO message create and parse code.
9850
9851 2007-02-28  Wim Taymans  <wim@fluendo.com>
9852
9853         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9854         (bin_query_latency_done):
9855         Also report the live parameter of a latency query.
9856
9857 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9858
9859         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9860           Copy the current generic/states example from -base and adapt so
9861           we can use the exact same code everywhere.
9862           Check a STATES_IGNORE_ELEMENTS env var which can be used
9863           to ignore certain element factories for this test, which is
9864           what is being done in -base
9865         * tests/check/Makefile.am:
9866           Mention this environment variable.
9867
9868 2007-02-27  Wim Taymans  <wim@fluendo.com>
9869
9870         * docs/gst/gstreamer-sections.txt:
9871         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9872         (gst_bus_timed_pop), (gst_bus_pop):
9873         * gst/gstbus.h:
9874         API: gst_bus_timed_pop()
9875         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9876         message to arrive on the bus.
9877
9878         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9879         (gst_bus_suite):
9880         Two unit tests for new _timed_pop() function.
9881
9882 2007-02-23  Wim Taymans  <wim@fluendo.com>
9883
9884         * gst/gstpipeline.c: (gst_pipeline_change_state),
9885         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9886         Don't ref a NULL clock in _provide_clock_func().
9887         Don't allow an INVALID delay.
9888         Don't try to calculate base_time with an invalid start_time.
9889         Also distribute and notify a NULL clock when it was selected.
9890
9891         * tools/gst-launch.c: (event_loop):
9892         Don't crash when a NULL clock was selected in the pipeline.
9893
9894 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9895
9896         * docs/design/Makefile.am:
9897         * docs/design/draft-missing-plugins.txt:
9898         * docs/random/draft-missing-plugins.txt:
9899           Some small updates: update plugin system identifier prefix
9900           ('gstreamer.net' to 'gstreamer'), mention our new install
9901           API in libgstbaseutils rather than libgimme-codec, add
9902           reference to the online docs.
9903
9904 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9905
9906         * win32/common/config.h:
9907           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9908           use moap cl ci to only check in what is mentioned in the ChangeLog.
9909
9910 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9911
9912         * docs/gst/gstreamer-sections.txt:
9913         * gst/gstelement.h:
9914           Fix up documentation to link to the correct GstGError section.
9915           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9916
9917 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9918
9919         * tools/gst-launch.c: (event_loop):
9920           Make sure that we actually show the important message part of a
9921           warning message.
9922           No need to check if the gerror is not NULL to free; first of all
9923           g_free accepts NULL; and second the default error handler would
9924           segfault if gerror was NULL.
9925
9926 2007-02-21  Wim Taymans  <wim@fluendo.com>
9927
9928         * docs/gst/gstreamer-sections.txt:
9929         Removed docs as well.
9930
9931 2007-02-21  Wim Taymans  <wim@fluendo.com>
9932
9933         * gst/gstmessage.c: (gst_message_parse_duration):
9934         * gst/gstmessage.h:
9935         Remove new messages for release.
9936
9937 2007-02-20  Wim Taymans  <wim@fluendo.com>
9938
9939         * docs/design/part-gstghostpad.txt:
9940         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9941         (gst_ghost_pad_new_full):
9942         Make the ghostpad a parent of the internal pad again for better backward
9943         compatibility. Don't write code that relies on this however.
9944
9945         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9946         (gst_pad_link_check_hierarchy):
9947         Require that parents should be GstElements in the hierarchy check.
9948
9949 2007-02-20  Wim Taymans  <wim@fluendo.com>
9950
9951         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9952         (gst_bin_change_state_func), (bin_query_min_max_init),
9953         (bin_query_latency_fold), (bin_query_latency_done),
9954         (gst_bin_query):
9955         Improve debug info.
9956         Implement latency query.
9957
9958 2007-02-20  Wim Taymans  <wim@fluendo.com>
9959
9960         * docs/design/part-gstghostpad.txt:
9961         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9962         (gst_ghost_pad_internal_do_activate_push),
9963         (gst_ghost_pad_internal_do_activate_pull),
9964         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9965         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9966         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9967         Do not set the internal pad as a parent anymore so we can avoid
9968         hierarchy linking errors when the ghostpad has no parent yet. This also
9969         fixes failed activation because of unlinked internal pads, which in
9970         turn fixes the impossible case where you have to activate a pad before
9971         you can add it to a running element.
9972         Also fix the docs.
9973
9974         * gst/gstpad.c: (pre_activate), (post_activate),
9975         (gst_pad_set_active), (gst_pad_activate_pull),
9976         (gst_pad_activate_push), (gst_pad_check_pull_range):
9977         Add some more debug info.
9978         Mark activation mode in pre_activate so that we don't try to activate in
9979         endless loops. Fixes #385084.
9980
9981 2007-02-19  Wim Taymans  <wim@fluendo.com>
9982
9983         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9984         (gst_base_transform_check_get_range):
9985         Implement a checkgetrange function instead of relying on the default
9986         core behaviour that assumes we can operate in pull mode if we have a
9987         getrange function. First step at fixing #385084.
9988
9989 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9990
9991         * gst/gstchildproxy.h:
9992         * libs/gst/base/gstbasesink.h:
9993         * libs/gst/base/gstbasesrc.h:
9994         * libs/gst/base/gstbasetransform.h:
9995         More docs coverage and some ChangeLog surgery (add missing names)
9996
9997 2007-02-15  Wim Taymans  <wim@fluendo.com>
9998
9999         * docs/design/part-TODO.txt:
10000         * docs/design/part-activation.txt:
10001         * docs/design/part-block.txt:
10002         * docs/design/part-buffering.txt:
10003         * docs/design/part-clocks.txt:
10004         * docs/design/part-element-source.txt:
10005         * docs/design/part-events.txt:
10006         * docs/design/part-gstbin.txt:
10007         * docs/design/part-gstbus.txt:
10008         * docs/design/part-gstpipeline.txt:
10009         * docs/design/part-live-source.txt:
10010         * docs/design/part-messages.txt:
10011         * docs/design/part-overview.txt:
10012         * docs/design/part-qos.txt:
10013         * docs/design/part-query.txt:
10014         * docs/design/part-states.txt:
10015         * docs/design/part-trickmodes.txt:
10016         Some doc updates. Start renaming from stream_time to running_time where
10017         it was used wrongly.
10018
10019 2007-02-15  Wim Taymans  <wim@fluendo.com>
10020
10021         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10022         Answer LATENCY query.
10023
10024 2007-02-15  Wim Taymans  <wim@fluendo.com>
10025
10026         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10027         (GST_START_TEST):
10028         Improve debugging.
10029
10030 2007-02-15  Wim Taymans  <wim@fluendo.com>
10031
10032         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10033         (gst_pad_dispatcher):
10034         Improve debugging of default pad dispatcher and query functions.
10035
10036 2007-02-15  Wim Taymans  <wim@fluendo.com>
10037
10038         * docs/gst/gstreamer-sections.txt:
10039         Remove old unused method.
10040
10041 2007-02-13  Wim Taymans  <wim@fluendo.com>
10042
10043         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10044         Fix check
10045
10046 2007-02-13  Wim Taymans  <wim@fluendo.com>
10047
10048         * docs/design/part-seeking.txt:
10049         Some small update.
10050
10051         * gst/gstsegment.c: (gst_segment_set_seek):
10052         Revert old bogus change that should make seeking work again.
10053
10054 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10055
10056         * docs/random/ensonic/dynlink.txt:
10057         * docs/random/ensonic/interfaces.txt:
10058         * docs/random/ensonic/receipies.txt:
10059           Possible dynamic reconnection api, plus some type fixes the other two
10060           docs.
10061
10062 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10063
10064         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10065         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10066         Also check for an absolute path following file:// in the filesrc
10067         element. Remove redundant check and call g_path_is_absolute() on the
10068         unescaped location.
10069
10070 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10071
10072         * docs/design/draft-klass.txt:
10073           Add existing category analysis.
10074           
10075         * gst/gstcaps.c:
10076           Fix doc example, framerate is a fraction.
10077
10078 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10079
10080         * configure.ac:
10081         * docs/gst/Makefile.am:
10082         * docs/gst/gstreamer-sections.txt:
10083         * docs/libs/Makefile.am:
10084           Erm, forgot a bunch of --extra-dir.
10085
10086 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10087
10088         * configure.ac:
10089         * docs/gst/Makefile.am:
10090         * docs/libs/Makefile.am:
10091         * docs/plugins/Makefile.am:
10092           Add crossreferences to glib/gobject docs.
10093
10094 2007-02-12  Wim Taymans  <wim@fluendo.com>
10095
10096         * docs/design/draft-latency.txt:
10097         Small update.
10098
10099         * docs/libs/gstreamer-libs-sections.txt:
10100         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10101         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10102         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10103         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10104         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10105         (gst_base_sink_get_position), (gst_base_sink_query),
10106         (gst_base_sink_change_state):
10107         * libs/gst/base/gstbasesink.h:
10108         API: gst_base_sink_query_latency() to let subclasses query the upstream
10109         latency.
10110         API: gst_base_sink_get_latency() to let subclasses query the configured
10111         latency in the sink.
10112         Implement query and set latency.
10113         Update some docs.
10114         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10115         don't continue preroll when we are flushing. Fixes #405284.
10116
10117         * tests/check/pipelines/stress.c: (change_state_timeout),
10118         (quit_timeout), (GST_START_TEST), (stress_suite):
10119         Test for #405284.
10120
10121 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10122
10123         Patch by: René Stadler <mail at renestadler de>
10124
10125         * docs/gst/gstreamer-sections.txt:
10126         * gst/gsttaglist.c: (_gst_tag_initialize):
10127         * gst/gsttaglist.h:
10128           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10129
10130 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10131
10132         * docs/libs/Makefile.am:
10133           Fix path to core docs.
10134
10135         * gst/gstbin.c: (gst_bin_get_by_interface),
10136         (gst_bin_iterate_all_by_interface):
10137           Refix docs by also renaming 'interface' to 'iface' in implementation.
10138
10139         * docs/gst/gstreamer-sections.txt:
10140         * gst/gstcaps.c:
10141         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10142         * gst/gstchildproxy.h:
10143         * gst/gstelementfactory.c:
10144         * gst/gstpadtemplate.h:
10145         * libs/gst/controller/gstcontroller.c:
10146         (gst_controlled_property_new):
10147           Document more.
10148
10149 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10150
10151         * gst/gstbin.h:(gst_bin_get_by_interface),
10152         (gst_bin_iterate_all_by_interface):
10153         Replace interface parameter name by iface as interface is 
10154         a reserved keyword in Visual Studio for C++ projects so it removes
10155         a build error for application developpers using VS.
10156         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10157         Fix a bug on Windows in uri format check. Now the prefix checked
10158         is file:// and next we check if the path after file:// is absolute.
10159         * win32/common/libgstbase.def:
10160         * win32/common/libgstdataprotocol.def:
10161         * win32/common/libgstgstreamer.def:
10162         Add new exported functions.
10163
10164 2007-02-09  Andy Wingo  <wingo@pobox.com>
10165
10166         * tests/check/pipelines/simple-launch-lines.c
10167         (simple_launch_lines_suite, test_tee): Disable tee test until I
10168         have time to fix it :-(
10169
10170         * tests/check/Makefile.am (noinst_HEADERS): 
10171         * tests/check/libs/libsabi.c: 
10172         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10173         * tests/check/gst/gstabi.c: 
10174         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10175
10176         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10177         tests for push and pull tee behavior.
10178
10179         * plugins/elements/gsttee.h: 
10180         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10181         mark as deprecated as well as unimplemented. It was a crack idea.
10182         Add support for tee operating in pull mode, off by default.
10183
10184         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10185         normal-case logs down to LOG, raise errors to WARNING.
10186         (gst_registry_xml_read_cache): Don't log before calling a function
10187         that logs.
10188
10189         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10190         exit (registry finalize).
10191         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10192         DEBUG log when we emit signals that people don't even have the
10193         chance to connect to.
10194         (gst_registry_scan_path_level): Less logging in the normal case.
10195
10196 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10197
10198         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10199
10200         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10201         Correctly generate EOS for non-seekable files. We don't have a total
10202         length for them and would get an unexpected end of file if we only
10203         special-cased for regular files. (Fixes: #404569)
10204
10205 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10206
10207         * tests/check/elements/filesrc.c: (GST_START_TEST),
10208         (filesrc_suite):
10209         Add unit test for the GstURIHandler interface in filesrc. This also
10210         tests the newly added file://localhost/foo/bar support.
10211
10212 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10213
10214         * gst/gstelementfactory.h:
10215           The klass string is not a hierarchy. Add reference to the design doc
10216           for more information and common types.
10217
10218 2007-02-02  Wim Taymans  <wim@fluendo.com>
10219
10220         * gst/gstquery.c: (gst_query_new_latency):
10221         Remove old structure field.
10222
10223 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10224
10225         * tools/gst-launch.1.in:
10226           Give example for network streaming (#351998)
10227
10228 2007-02-02  Wim Taymans  <wim@fluendo.com>
10229
10230         * docs/gst/gstreamer-sections.txt:
10231         Add docs for new methods.
10232
10233         * gst/gstevent.c: (gst_event_new_latency),
10234         (gst_event_parse_latency):
10235         * gst/gstevent.h:
10236         Add new LATENCY event to configure latency in a pipeline.
10237         API: gst_event_new_latency
10238         API: gst_event_parse_latency
10239
10240         * gst/gstmessage.c: (gst_message_new_buffering),
10241         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10242         (gst_message_new_latency), (gst_message_parse_buffering),
10243         (gst_message_parse_lost_preroll):
10244         * gst/gstmessage.h:
10245         Added messages used in draft-latency.
10246         API: gst_message_new_lost_preroll
10247         API: gst_message_parse_lost_preroll
10248         API: gst_message_new_prerolled
10249         API: gst_message_new_latency
10250
10251         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10252         (gst_query_parse_latency):
10253         * gst/gstquery.h:
10254         Implemented new latency query as in design doc.
10255         API: gst_query_new_latency
10256         API: gst_query_set_latency
10257         API: gst_query_parse_latency
10258
10259 2007-02-02  Wim Taymans  <wim@fluendo.com>
10260
10261         * docs/design/draft-latency.txt:
10262         Slight redesign to allow for dynamic latency adjustments.
10263
10264         * docs/design/part-negotiation.txt:
10265         Fix some typos.
10266
10267 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10268
10269         reviewed by: Wim Taymans <wim@fluendo.com>
10270
10271         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10272         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10273         Allow file://localhost/foo/bar URLs and correctly fail for every other
10274         hostname that one sets. This was gnomevfssrc is linked for those if
10275         installed as it can handle it (#403172)
10276
10277 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10278
10279         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10280
10281         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10282         (unref_data), (gst_collect_pads_add_pad_full):
10283         * libs/gst/base/gstcollectpads.h:
10284         Don't put the previously added destroy notify in the GstCollectData
10285         struct as all it's padding is already used and we don't want to break
10286         ABI. Instead put in the pad's GObject data for now. This should be
10287         cleaned up for 0.11 (#402393).
10288
10289 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10290
10291         reviewed by: Wim Taymans <wim@fluendo.com>
10292
10293         * docs/libs/gstreamer-libs-sections.txt:
10294         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10295         (unref_data), (gst_collect_pads_add_pad),
10296         (gst_collect_pads_add_pad_full):
10297         * libs/gst/base/gstcollectpads.h:
10298         API: Add function to specify a destroy notification for custom
10299         GstCollectData when adding new pads in GstCollectPads (#402393).
10300
10301 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10302
10303         * po/sv.po:
10304           Update Swedish translation (#378255).
10305
10306 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10307
10308         * docs/design/draft-klass.txt:
10309           Fix the previous change, this is a list of categories and not a hierarchy.
10310
10311 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10312
10313         * docs/design/draft-klass.txt:
10314           Add info about how to get a list of used classes.
10315
10316 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10317
10318         * plugins/elements/gsttypefindelement.c:
10319         (gst_type_find_element_chain_do_typefinding),
10320         (gst_type_find_element_change_state):
10321           Don't leak found caps in chain function (no idea why that never
10322           showed up as a leak anywhere).
10323
10324 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10325
10326         * gst/gstplugin.h:
10327           Fix and expand GstPluginDesc API docs.
10328
10329 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10330
10331         * gst/gstcaps.c:
10332         * gst/gstelementfactory.c:
10333         * gst/gstpadtemplate.h:
10334           api doc fixes
10335
10336         * libs/gst/controller/gstcontroller.c:
10337         (gst_controlled_property_new):
10338         * tests/examples/controller/audio-example.c:
10339           comment fixes
10340
10341 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10342
10343         * configure.ac:
10344           comment about refining the xml deps
10345
10346         * docs/manuals.mak:
10347           comments about moving away from jade for docs
10348         
10349         * gst/gst.c:
10350           recommit the ifdefs to use the binary registry
10351         
10352         * gst/gstbin.c: (gst_bin_change_state_func):
10353           this break is obsolete
10354
10355         * gst/gstelementfactory.h:
10356           better GST_ELEMENT_DETAILS docs, add comment about translation
10357
10358         * gst/gstinfo.h:
10359           remove eol slash
10360
10361         * gst/gstobject.c: (gst_signal_object_get_type):
10362           add G_UNLIKELY as usual
10363
10364         * gst/gstpad.c: (gst_pad_event_default):
10365           add fall trhu comment
10366
10367         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10368         (gst_registry_binary_initialize_magic),
10369         (gst_registry_binary_save_string),
10370         (gst_registry_binary_save_pad_template),
10371         (gst_registry_binary_save_feature),
10372         (gst_registry_binary_save_plugin),
10373         (gst_registry_binary_write_cache),
10374         (gst_registry_binary_check_magic),
10375         (gst_registry_binary_load_pad_template),
10376         (gst_registry_binary_load_feature),
10377         (gst_registry_binary_load_plugin),
10378         (gst_registry_binary_read_cache):
10379           comment typo and formatting
10380
10381         * gst/gstutils.c: (gst_element_state_get_name),
10382         (gst_element_state_change_return_get_name):
10383           remove obsolete breaks
10384
10385         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10386           add FIXME 0.11 and remove cpp comment
10387
10388 2007-01-29  Edward Hervey  <edward@fluendo.com>
10389
10390         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10391         Fix print statement in an even more portable way.
10392
10393 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10394
10395         * docs/gst/gstreamer-sections.txt:
10396         * gst/gstutils.h:
10397           API: add GST_ROUND_DOWN_* macros (#401781).
10398
10399 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10400
10401         * docs/gst/gstreamer.types.in:
10402         * gst/gstregistry.c: (gst_registry_class_init):
10403           Document registry signals and make gtk-doc pick them up (#401381).
10404
10405 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10406
10407         * docs/pwg/building-testapp.xml:
10408           Add some audioconverts and audioresample to the pipeline, and some
10409           more comments and error handling.
10410
10411 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10412
10413         * docs/manual/manual.xml:
10414         * docs/pwg/pwg.xml:
10415           Fix typo (#400987).
10416
10417 2007-01-26  Wim Taymans  <wim@fluendo.com>
10418
10419         * gst/gstcaps.c: (gst_static_caps_get):
10420         Init caps flags too.
10421
10422 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10423
10424         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10425
10426         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10427         If not using mmap'ed files try to seek to the end instead of the
10428         start to determine whether we can seek at all. This fixes the case
10429         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10430         seeks for everything afterwards fail. Fixes #400656
10431
10432 2007-01-25  Wim Taymans  <wim@fluendo.com>
10433
10434         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10435         Add some refcount debugging.
10436         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10437         in multiple streaming threads.
10438
10439 2007-01-25  Wim Taymans  <wim@fluendo.com>
10440
10441         Patch by: David Schleef <ds at schleef dot org>
10442
10443         * docs/libs/gstreamer-libs-sections.txt:
10444         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10445         * libs/gst/base/gstadapter.h:
10446         API: gst_adapter_copy() that can reduce the amount of memcpy when
10447         getting data from the adapter. Fixes #388201.
10448
10449 2007-01-25  Edward Hervey  <edward@fluendo.com>
10450
10451         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10452         In print statements, "%x" is for guint. Fixes build on macosx.
10453
10454 2007-01-24  Edward Hervey  <edward@fluendo.com>
10455
10456         * plugins/elements/gstmultiqueue.c:
10457         (gst_multi_queue_loop):
10458         Small fix.
10459         (single_queue_overrun_cb), (single_queue_underrun_cb),
10460         (single_queue_check_full), (gst_single_queue_new):
10461         Implement single queue growth system.
10462         This uses the extra-size properties, and will grow single queues by
10463         that much if one goes full whereas there are others empty. This is
10464         called extra-mode in the code.
10465         When a single queue's levels go back below the initial max-size
10466         limits, it is no longer in extra-mode. This is to ensure we don't
10467         consume too much memory.
10468         Fixes #399875
10469
10470 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10471
10472         * gst/gst.c: (gst_init_get_option_group):
10473           Make warning about late g_thread_init() calls a bit more explicit,
10474           so that it's more obvious to application developers what they need
10475           to do if a user files a bug against their application.
10476
10477 2007-01-22  Edward Hervey  <edward@fluendo.com>
10478
10479         * plugins/elements/gstmultiqueue.c:
10480         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10481         Remove previous hack of unsetting the flushing flag for the source pad
10482         instead of activating it. Instead, fix the source pad activate function
10483         so that it no longer depends on having a parent set or not.
10484
10485 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10486
10487         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10488
10489         * docs/manual/basics-bus.xml:
10490           Fix example code, gst_element_unref() doesn't exist any longer.
10491
10492 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10493
10494         Patch by: Mark Nauwelaerts <manauw at skynet be>
10495
10496         * gst/gstpad.c:
10497           Fix two docs typoes (#399094).
10498
10499 2007-01-19  Edward Hervey  <edward@fluendo.com>
10500
10501         * docs/faq/gst-uninstalled:
10502         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10503         depending on libgstbaseutils can work in uninstalled environment.
10504
10505 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10506
10507         * gst/gsttaglist.h:
10508         * gst/gsttagsetter.c:
10509         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10510         statement for new tag.
10511
10512 2007-01-17  Edward Hervey  <edward@fluendo.com>
10513
10514         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10515         When dynamically creating single queues, activate sinkpad before adding
10516         it.
10517         We should be doing the same thing for the source pad, but we can't
10518         since it would call a method which needs the parent to be set in order
10519         to work propertly. Instead of activating the source pad, we just unset
10520         the flushing flag, which is the minimal requirement for adding a pad
10521         to an element in a state greater than READY.
10522
10523 2007-01-17  Edward Hervey  <edward@fluendo.com>
10524
10525         * docs/faq/gst-uninstalled:
10526         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10527         Mac OS X.
10528
10529 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10530
10531         * tests/check/gst/gstabi.c:
10532         * tests/check/gst/struct_hppa.h:
10533         * tests/check/libs/libsabi.c:
10534         * tests/check/libs/struct_hppa.h:
10535           Add ABI structs for HPPA (see #393796).
10536
10537 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10538
10539         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10540           Actually write ABI structs to the file specified in the GST_ABI
10541           environment variable, as the message we print claims we would.
10542
10543 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10544
10545         * tests/check/gst/gsttask.c:
10546           Fix header comment.
10547
10548 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10549
10550         * gst/gsttaglist.c: (_gst_tag_initialize):
10551           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10552           previous two entries.
10553
10554 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10555
10556         * docs/gst/gstreamer-sections.txt:
10557         * gst/gsttaglist.c: (_gst_tag_initialize):
10558         * gst/gsttaglist.h:
10559           Add tag support for beat-per-minute.
10560
10561 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10562
10563         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10564         (gst_registry_binary_initialize_magic),
10565         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10566         (gst_registry_binary_save_pad_template),
10567         (gst_registry_binary_save_feature),
10568         (gst_registry_binary_save_plugin),
10569         (gst_registry_binary_write_cache),
10570         (gst_registry_binary_check_magic),
10571         (gst_registry_binary_load_pad_template),
10572         (gst_registry_binary_load_feature),
10573         (gst_registry_binary_load_plugin),
10574         (gst_registry_binary_read_cache):
10575         * gst/gstregistrybinary.h:
10576           Use glib types, cleanup comments, impement interfaces and uri-types.
10577
10578 2007-01-13  Andy Wingo  <wingo@pobox.com>
10579
10580         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10581         getrange() to return buffers with other caps, while we fix
10582         demuxers and typefind, or otherwise change part-negotiation.txt.
10583
10584 2007-01-12  Andy Wingo  <wingo@pobox.com>
10585
10586         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10587         Factor start/stop into this private function instead of partially
10588         in activate functions and partially in the change_state function.
10589         Fixes setup before the element has changed from READY->PAUSED, as
10590         is the case in pull-mode pipelines.
10591         (gst_base_transform_sink_activate_push)
10592         (gst_base_transform_src_activate_pull): Refactor to use
10593         gst_base_transform_activate().
10594         (gst_base_transform_change_state): Removed, not needed any more.
10595
10596         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10597         Truncate before fixating.
10598         
10599         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10600         Don't set_caps() if the result of fixating is ANY, as it's not
10601         supported, and not necessary in the case of a link with no
10602         template caps on either side. Fixes tests/check/libs/basesrc in
10603         some pull-mode tests.
10604
10605         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10606         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10607         (gst_base_transform_src_activate_pull): 
10608         Track the activation mode.
10609         (gst_base_transform_setcaps): In pull mode, when activating the
10610         src pad, after activating the sink pad, activate the sink pad's
10611         peer, as discussed in part-negotiation.txt.
10612
10613         * libs/gst/base/gstbasesrc.h: 
10614         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10615         vmethod, as in basesink.
10616
10617         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10618
10619         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10620         mode, first proxy the setcaps to the peer pad.
10621         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10622         new fixate vmethod.
10623         (gst_base_sink_default_activate_pull): Rename from
10624         gst_base_sink_activate_pull.
10625         (gst_base_sink_negotiate_pull): New function, performs negotiation
10626         in pull mode before calling ::activate_pull().
10627         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10628         vmethod instead of the default implementation. I have no idea how
10629         this worked before. Negotiate before calling activate_pull.
10630
10631         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10632         sink pads in pull mode. In addition to being correct, fixes
10633         filesrc ! decodebin ! identity ! fakesink.
10634         (gst_pad_get_range, gst_pad_pull_range): Don't call
10635         gst_pad_set_caps() if the caps changes; instead error out with
10636         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10637
10638 2007-01-12  Andy Wingo  <wingo@pobox.com>
10639
10640         * docs/design/part-negotiation.txt: Update with more policy.
10641
10642 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10643
10644         * libs/gst/check/gstbufferstraw.h:
10645         * libs/gst/check/gstcheck.h:
10646           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10647           belongs.
10648
10649 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10650
10651         * tests/check/Makefile.am:
10652         * tests/check/gst/.cvsignore:
10653         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10654         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10655         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10656         (GST_START_TEST), (gst_tag_setter_suite):
10657           Add minimal unit test for beforementioned GstTagSetter bug.
10658
10659 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10660
10661         Patch by: René Stadler <mail at renestadler dot de>
10662
10663         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10664           gst_tag_list_merge() returns a new list, so it's not the best idea
10665           to ingore its return value. Effectively meant that tags could only
10666           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10667           Also add function guard to require a non-NULL taglist as input (has
10668           always been so due to gst_tag_list_copy(), just making it explicit).
10669
10670 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10671
10672         * docs/random/draft-missing-plugins.txt:
10673           Some additions: mention new API that is supposed to be used at the
10674           various stages; short blob about new gst-inspect introspection
10675           option; mention potential future problem with plugins that have
10676           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10677
10678 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10679
10680         * tools/gst-inspect.c:
10681         (print_plugin_automatic_install_info_codecs),
10682         (print_plugin_automatic_install_info_protocols),
10683         (print_plugin_automatic_install_info), (main):
10684         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10685         introspect plugin files and get machine-parsable output that corresponds
10686         to the last bit of the missing-plugin installer string (small gotcha:
10687         doesn't take into account ranks).
10688
10689 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10690
10691         * configure.ac:
10692         * docs/gst/gstreamer-sections.txt:
10693         * gst/Makefile.am:
10694         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10695         (gst_registry_lookup_locked):
10696         * gst/gstregistry.h:
10697         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10698         (gst_registry_binary_initialize_magic),
10699         (gst_registry_binary_save_string),
10700         (gst_registry_binary_save_pad_template),
10701         (gst_registry_binary_save_feature),
10702         (gst_registry_binary_save_plugin),
10703         (gst_registry_binary_write_cache),
10704         (gst_registry_binary_check_magic),
10705         (gst_registry_binary_load_pad_template),
10706         (gst_registry_binary_load_feature),
10707         (gst_registry_binary_load_plugin),
10708         (gst_registry_binary_read_cache):
10709         * gst/gstregistrybinary.h:
10710         * gst/gstregistryxml.c: (load_feature),
10711         (gst_registry_xml_read_cache):
10712           commit binary registry (disabled by default, see #359653)
10713
10714 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10715
10716         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10717           Fix 'make check' too.
10718
10719 2007-01-10  Andy Wingo  <wingo@pobox.com>
10720
10721         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10722         notes.
10723         
10724         * docs/design/part-negotiation.txt: Update with, um, one way that
10725         pull-mode negotiation might work?
10726
10727         * gst/gstpad.h: 
10728         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10729         that the pad must be a src pad; makes sense to call it the other
10730         way in pull mode, and the logic is symmetric anyway.
10731
10732 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10733
10734         * plugins/elements/gstfilesink.c:
10735           Include <stdio.h> for fseeko().
10736
10737 2007-01-10  Wim Taymans  <wim@fluendo.com>
10738
10739         * gst/gstevent.c:
10740         * gst/gstevent.h:
10741         Reserve LATENCY event.
10742
10743 2007-01-09  Wim Taymans  <wim@fluendo.com>
10744
10745         * docs/design/draft-latency.txt:
10746         Updates.
10747
10748 2007-01-09  Wim Taymans  <wim@fluendo.com>
10749
10750         * docs/design/draft-latency.txt:
10751         Updates.
10752
10753         * gst/gstelement.h:
10754         * gst/gststructure.c:
10755         * gst/gsttrace.c:
10756         Small typo fixes.
10757
10758 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10759
10760         * tests/check/.cvsignore:
10761           Ignore test-registry.xml as well.
10762
10763 2007-01-09  Wim Taymans  <wim@fluendo.com>
10764
10765         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10766         unref data at the end when we are done with the pad.
10767
10768 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10769
10770         * docs/gst/gstreamer-sections.txt:
10771         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10772         (init_post), (gst_deinit), (gst_update_registry):
10773         * gst/gst.h:
10774           API: add gst_update_registry() (#391296).
10775
10776         * tests/check/Makefile.am:
10777         * tests/check/gst/gstregistry.c:
10778         * tests/check/gst/.cvsignore:
10779           Simple unit test for the above.
10780
10781 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10782
10783         * gst/gstregistry.c: (gst_registry_scan_path_level):
10784           Plugin extension on HP-UX is .sl, add that to the list of approved
10785           plugin extensions (see #393796).
10786
10787         * tests/check/gst/gstpad.c: (GST_START_TEST):
10788           ulong => gulong. Fixes compilation with HP-UX compiler.
10789
10790         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10791           Fix compilation if valgrind headers are not available.
10792
10793 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10794
10795         * win32/common/libgstreamer.def: 
10796           Add new exported function.
10797         * win32/vs6/libgstbase.dsp: 
10798           Add gstdataqueue.c to the build.
10799         * win32/vs6/libgstcoreelements.dsp:
10800           Add gstmultiqueue.c to the build.
10801         
10802 2007-01-06  Andy Wingo  <wingo@pobox.com>
10803
10804         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10805         activate_pull(), providing for a way to specialize the process of
10806         spawning a thread to pull on the sink pad. There is a default
10807         implementation.
10808
10809         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10810         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10811         (gst_base_sink_init): Renamed pad activation functions (inserting
10812         "_pad" in their names). Refactor to use the new activate_pull
10813         vmethod, as appropriate.
10814         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10815         default activate_pull function to start a task pulling from the
10816         sink pad, as before.
10817
10818         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10819         on the pads if necessary, as in push()/chain(). Update docs.
10820         Shouldn't affect existing pull() usage as it is currently only
10821         being used on buffers without caps.
10822
10823 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10824
10825         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10826         (init_pre):
10827           Call g_thread_init() first thing in gst_init() / gst_check_init().
10828           When initialisation is done via gst_init_get_option_group() and
10829           GOption parsing, issue a warning if the GLib thread system has not
10830           been initialised yet by the time gst_init_get_option_group() is
10831           called, as it's quite likely other GLib functions such as
10832           g_option_context_new() have been called already then, and
10833           g_thread_init() must be called before any other GLib function. The
10834           application in question must be fixed in that case, since memory
10835           corruption might happen otherwise.
10836           We issue the warning because even if the GLib folks decide to work
10837           around the problem on their end in future, this is still an issue
10838           with all GLib versions >= 2.10.0, so we should warn until we depend
10839           on a GLib version we know to be safe.
10840           Update documentation as well.
10841           Closes bug #391278.
10842
10843 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10844
10845         * tools/gst-inspect.c: (main):
10846         * tools/gst-launch.c: (main):
10847         * tools/gst-typefind.c: (main):
10848         * tools/gst-xmlinspect.c: (main):
10849           Call g_thread_init() really really early, before any other GLib
10850           function (see #342564 and recent discussion on gtk-devel-list).
10851
10852 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10853
10854         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10855
10856         * gst/gst_private.h:
10857         * gst/gstconfig.h.in:
10858         * gst/gstinfo.h:
10859           On win32, all the __declspec stuff for symbol exporting is
10860           apparently only needed with MSVC, but doesn't work with MingW.
10861           Fixes compilation with MingW and #391909.
10862
10863 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10864
10865         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10866           Change some GST_ERROR_OBJECT that aren't really errors to
10867           GST_WARNING_OBJECT in order to reduce terminal spam.
10868
10869 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10870
10871         * tests/check/Makefile.am:
10872           disable test again, as there seem to be still race problems
10873
10874 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10875
10876         * tests/check/Makefile.am:
10877         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10878         (GST_START_TEST), (queue_suite):
10879           enable queue test again, add tests for the leaky behaviour
10880
10881 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10882
10883         * configure.ac:
10884         * tests/examples/Makefile.am:
10885           Compile adapter test/example only if the required headers are
10886           available (fixes #391915).
10887
10888 2007-01-01  David Schleef  <ds@schleef.org>
10889
10890         * gst/gstplugin.c:
10891           Restore the previous signal handler for SIGSEGV instead of
10892           setting to default, since we may have stolen it away from
10893           someone.  (i.e., Mono)
10894
10895 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10896
10897         * docs/random/draft-missing-plugins.txt:
10898           Some small additions and clarifications.
10899
10900 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10901
10902         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10903           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10904           since that can lead to random memory corruptions and crashes
10905           (may or may not be related to #383244, #386711, and #386711).
10906
10907 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10908
10909         * tests/check/.cvsignore:
10910         * tests/check/Makefile.am:
10911           sync .cvsignome and CLEANFILES
10912
10913 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10914
10915         * tests/check/Makefile.am:
10916           fix distcheck
10917
10918 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10919
10920         * docs/design/part-states.txt:
10921           two tiny additional comments
10922         
10923         * gst/gststructure.c:
10924           doc fixing
10925
10926         * tests/check/Makefile.am:
10927         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10928         (GST_START_TEST):
10929           disable test for now, unless it gets fixed
10930
10931 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10932
10933         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10934         (GST_START_TEST):
10935           fix race in underrun test
10936
10937 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10938
10939         * tests/check/elements/.cvsignore:
10940           ignore more
10941
10942         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10943         (GST_START_TEST):
10944           try to narrow test failure
10945
10946 2006-12-21  David Schleef  <ds@schleef.org>
10947
10948         * plugins/elements/gstfakesrc.c:
10949           Use g_random_int_range(), since it produces better random
10950           numbers in a range than almost-correct floating point code.
10951
10952 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10953
10954         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10955         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10956         (gst_check_teardown_sink_pad):
10957           do not automatically (de)activate pads
10958
10959         * tests/check/Makefile.am:
10960         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10961         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10962           add new, yet simple tests for queue
10963
10964         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10965         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10966         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10967         (GST_START_TEST):
10968         * tests/check/elements/identity.c: (cleanup_identity):
10969           consistent pad (de)activation
10970
10971 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10972
10973         Patch by: Sebastian Dröge  <slomo ubuntu com>
10974
10975         * libs/gst/base/gstcollectpads.c:
10976           Fix two doc typos (#387866).
10977
10978 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10979
10980         * docs/manual/advanced-dparams.xml:
10981           Fix typo (g_object_control_properties() doesn't exist).
10982
10983 2006-12-19  Edward Hervey  <edward@fluendo.com>
10984
10985         * gst/gstsegment.c: (gst_segment_set_seek):
10986         Fine tune the cases where the segment start/stop values are really
10987         updated.
10988         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10989         Add tests for the return values of gst_segment_set_seek().
10990
10991 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10992
10993         * gst/gst.c:
10994           Docs typo fix.
10995
10996         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10997         (gst_queue_init):
10998           Fix incorrect documentation and flesh it out a bit more.
10999           Set default values for the max properties on the GParamSpec as well,
11000           so it shows up correctly in gst-inspect.
11001
11002 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11003
11004         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11005           Correct docs of queue, add more detail and crosslink it more.
11006
11007 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11008
11009         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11010           Print additional debug info when the stream isn't perfectly
11011           timestamped; don't try to use invalid durations.
11012
11013 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11014
11015         * docs/design/Makefile.am:
11016           Dist new design docs.
11017
11018 2006-12-16  Wim Taymans  <wim@fluendo.com>
11019
11020         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11021
11022         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11023         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11024         (gst_collect_pads_stop), (gst_collect_pads_event),
11025         (gst_collect_pads_chain):
11026         * libs/gst/base/gstcollectpads.h:
11027         Add refcounting to the collectpads data so we can track when it's safe
11028         to free the data. Fixes #383382.
11029
11030 2006-12-15  Wim Taymans  <wim@fluendo.com>
11031
11032         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11033         (gst_collect_pads_remove_pad):
11034         Automatically activate/deactivate pads when they are added to a
11035         started/stoped collectpads.
11036
11037 2006-12-15  Wim Taymans  <wim@fluendo.com>
11038
11039         * gst/gstelement.c: (gst_element_add_pad):
11040         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11041         * gst/gstpad.c: (gst_pad_init):
11042         Set pads to FLUSHING when they are created. Check, warn and fix when a
11043         demuxer adds an inactive pad to itself when running. Fixes #339326.
11044
11045 2006-12-15  Wim Taymans  <wim@fluendo.com>
11046
11047         * gst/gstelement.c: (gst_element_class_init),
11048         (gst_element_default_send_event), (gst_element_send_event),
11049         (gst_element_default_query), (gst_element_query):
11050         Expose default element send_event and query handling as vmethods that
11051         subclasses can chain up to.
11052
11053 2006-12-15  Wim Taymans  <wim@fluendo.com>
11054
11055         * gst/gstelement.c: (gst_element_set_state_func):
11056         Small documentation fixes.
11057
11058 2006-12-15  Wim Taymans  <wim@fluendo.com>
11059
11060         * docs/design/draft-latency.txt:
11061         Checked in draft for handling latency in pipelines.
11062
11063 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11064
11065         * Makefile.am:
11066         * gstreamer.doap:
11067         * gstreamer.spec.in:
11068           adding .doap file
11069
11070 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11071
11072         * gst/gst.c: (init_pre), (init_post):
11073           init_pre() and init_post() might be called via our GOptionGroup or
11074           from gst_init(), and we should skip both of them if we've already
11075           been initialised, otherwise we will init some things twice or add
11076           two default log functions.
11077
11078 2006-12-13  Edward Hervey  <edward@fluendo.com>
11079
11080         * docs/manual/basics-bus.xml:
11081         No, gst_main_loop does not exist. Its g_main_loop.
11082         Discovered by somebody who abused the copy-paste technique of coding :)
11083
11084 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11085
11086         * gst/gstghostpad.c:
11087           Log ghostpad debug stuff to the GST_PADS category as well rather
11088           than just to the default category.
11089
11090 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11091
11092         * configure.ac:
11093         * gst/gst.c: (init_pre):
11094           Add some basic system details such as OS and architecture
11095           to the debug output if possible, courtesy of uname().
11096
11097 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11098
11099         * docs/gst/running.xml:
11100           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11101           environment variables.
11102
11103 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11104
11105         * tests/check/gst/gstbin.c: (GST_START_TEST):
11106         It is acceptable to have a refcount of 2 or 3 at this point in the
11107         test, because the pipeline might be just posting its state_change
11108         message. The next line then waits for that message to appear using
11109         bus_poll, so that should be fine too.
11110
11111 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11112
11113         * gst/gst.c: (ensure_current_registry_forking):
11114         Ignore EINTR when reading from the child registry pipe.
11115         Explicitly ignore the return value from close, since it makes no
11116         difference.
11117
11118         * gst/gstminiobject.c: (gst_mini_object_ref),
11119         (gst_mini_object_unref):
11120         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11121
11122         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11123         When removing cached plugins, remove their features too, so they're
11124         not visible after they've disappeared.
11125
11126         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11127         In the unlikely case that we are linking pads with no parents, don't
11128         crash trying to get the non-existent parent bin.
11129
11130         * gst/parse/grammar.y:
11131         Output debug in the PIPELINE category
11132
11133 2005-03-08  Wim Taymans  <wim@fluendo.com>
11134
11135         Patch by: René Stadler <mail at renestadler dot de>
11136
11137         * gst/gstclock.c: (gst_clock_new_periodic_id):
11138         Reject invalid clock times for interval of periodic ids.
11139         Fixes ##383506.
11140
11141 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11142
11143         * gst/gstelementfactory.c: (gst_element_factory_create):
11144         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11145         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11146         * tools/gst-inspect.c: (print_element_info):
11147         Fix refcounting of gst_plugin_feature_load to match the docs. 
11148         Fixes: #380129
11149
11150 2006-12-07  Wim Taymans  <wim@fluendo.com>
11151
11152         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11153         (gst_base_sink_get_position):
11154         Improve debugging of events.
11155
11156 2006-12-07  Wim Taymans  <wim@fluendo.com>
11157
11158         Patch by: René Stadler <mail at renestadler dot de>
11159
11160         * gst/gstclock.c: (gst_clock_id_wait):
11161         Make period ids add the interval to the origial requested time instead
11162         of the possibly updated time which can be wrong when there are multiple
11163         waiters for the same id. Fixes #382592.
11164
11165         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11166         (gst_system_clock_id_wait_jitter_unlocked),
11167         (gst_system_clock_id_wait_jitter):
11168         Fix restart in the async notify thread when an async entry is added to
11169         the front of the list. Fixes #381492. 
11170
11171         * tests/check/gst/gstsystemclock.c: (store_callback),
11172         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11173         Added test for multiple async waits.
11174         Added test for async wait order.
11175
11176 2006-12-07  Wim Taymans  <wim@fluendo.com>
11177
11178         * gst/gstbin.c: (gst_bin_query):
11179         Add some more docs about the POSITION query.
11180
11181 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11182
11183         * configure.ac:
11184         Bump version nano - back to CVS.
11185
11186 === release 0.10.11 ===
11187
11188 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11189
11190         * configure.ac:
11191           releasing 0.10.11, "Love never runs on time"
11192
11193 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11194
11195         * win32/common/libgstbase.def:
11196         * win32/common/libgstreamer.def:
11197         * win32/vs8/libgstbase.vcproj:
11198         * win32/vs8/libgstcoreelements.vcproj:
11199         * win32/vs8/libgstreamer.vcproj:
11200         Fix compilation on win32 under VS8
11201         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11202         Partially fixes #381175
11203
11204 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11205
11206         * gst/gstvalue.c: (gst_value_compare_fraction):
11207         If someone is foolish enough to compare 2 fractions with denominator =
11208         0, return UNORDERED rather than aborting.
11209
11210 2006-11-28  Edward Hervey  <edward@fluendo.com>
11211
11212         * libs/gst/base/Makefile.am:
11213         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11214         (gst_data_queue_base_init), (gst_data_queue_class_init),
11215         (gst_data_queue_init), (gst_data_queue_new),
11216         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11217         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11218         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11219         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11220         (gst_data_queue_set_flushing), (gst_data_queue_push),
11221         (gst_data_queue_pop), (gst_data_queue_drop_head),
11222         (gst_data_queue_set_property), (gst_data_queue_get_property):
11223         * libs/gst/base/gstdataqueue.h:
11224         New GstDataQueue object for threadsafe queueing. Most useful for
11225         elements that need some queueing functionnality.
11226         * docs/libs/gstreamer-libs-docs.sgml:
11227         * docs/libs/gstreamer-libs-sections.txt:
11228         Insert documentation for GstDataQueue
11229         * plugins/elements/Makefile.am:
11230         * plugins/elements/gstelements.c:
11231         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11232         (gst_multi_queue_class_init), (gst_multi_queue_init),
11233         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11234         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11235         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11236         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11237         (gst_multi_queue_loop), (gst_multi_queue_chain),
11238         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11239         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11240         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11241         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11242         (wake_up_next_non_linked), (compute_next_non_linked),
11243         (single_queue_overrun_cb), (single_queue_underrun_cb),
11244         (single_queue_check_full), (gst_single_queue_new):
11245         * plugins/elements/gstmultiqueue.h:
11246         New multiqueue element, using GstDataQueue. Used for queuing multiple
11247         streams.
11248         Closes #344639 and #347785
11249
11250 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11251
11252         * docs/pwg/advanced-types.xml:
11253           add more missing type details
11254
11255         * tools/gst-run.c: (main):
11256           remove unused variable
11257
11258 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11259
11260         * docs/libs/Makefile.am:
11261         * docs/libs/gstreamer-libs.types:
11262           add types of base classes to enable gobject specific stuff in the docs
11263
11264         * docs/random/ensonic/embedded.txt:
11265           more ideas about isolating platform specific things
11266
11267 2006-11-20  Wim Taymans  <wim@fluendo.com>
11268
11269         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11270
11271         * libs/gst/check/gstcheck.h:
11272         Fix compilation and running against 0.9.4. Fixes #377332.
11273
11274 2006-11-20  Wim Taymans  <wim@fluendo.com>
11275
11276         * gst/gstsegment.c: (gst_segment_set_seek),
11277         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11278         (gst_segment_to_running_time):
11279         Fix boundary checking in to_running_time() and to_stream_time().
11280         Fixes #377183.
11281
11282         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11283         stream and running time can now be calculated for the complete
11284         clipped segment.
11285
11286 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11287
11288         * gst/gstpad.c: (gst_pad_push_event):
11289           Can't access event structure after giving away ownership of
11290           the event.
11291
11292 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11293
11294         * docs/random/ensonic/embedded.txt:
11295         * docs/random/ensonic/profiling.txt:
11296         * docs/random/ensonic/receipies.txt:
11297           more thinking
11298
11299 2006-11-13  Wim Taymans  <wim@fluendo.com>
11300
11301         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11302
11303         * gst/gstpad.c:
11304         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11305
11306 2006-11-13  Wim Taymans  <wim@fluendo.com>
11307
11308         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11309
11310         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11311         Store new length in segment duration so we don't keep on calling the
11312         potentially expensize get_size() call. Fixes #370865.
11313
11314 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11315
11316         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11317
11318         * win32/common/libgstreamer.def:
11319           Add two missing symbols (#366492).
11320
11321 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11322
11323         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11324         (gst_adapter_take_buffer):
11325         Fix format string to use all its arguments.
11326         Remove useless >= check on a guint
11327
11328 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11329
11330         * tests/examples/adapter/.cvsignore:
11331         Ignore build file as commanded by the build-bot
11332
11333 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11334
11335         * tests/examples/adapter/Makefile.am:
11336         * tests/examples/adapter/adapter_test.c: (run_test_take),
11337         (run_test_take_buffer), (run_tests), (main):
11338
11339         Add new files from the previous commit
11340
11341 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11342
11343         * Makefile.am:
11344         * configure.ac:
11345         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11346         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11347         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11348         * libs/gst/base/gstadapter.h:
11349         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11350         (GST_START_TEST), (gst_adapter_suite):
11351         * tests/examples/Makefile.am:
11352         Do some optimisation work in GstAdapter to avoid copies in more cases.
11353         It could still do slightly better by merging buffers when
11354         gst_buffer_is_span_fast is true, but is already faster. 
11355
11356         Also, avoid traversing a single-linked list to append each incoming 
11357         buffer inside the adapter.
11358
11359         Add simple test app that times the adapter behaviour in different
11360         situations, and extend the unit test to check that bytes enter and
11361         exit the adapter in their original order.
11362
11363 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11364
11365         * docs/random/draft-missing-plugins.txt:
11366           Update: use element message instead of adding a new message
11367           type to the core; don't provide GStreamer API to initiate the
11368           plugin download, just provide API to compose the strings needed
11369           and let an external libgimmestuff handle the rest.
11370
11371 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11372
11373         * tools/gst-inspect.c: (print_element_properties_info):
11374         Print a string instead of 'unknown type' for GValueArray properties
11375
11376 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11377
11378         * docs/random/draft-missing-plugins.txt:
11379         More small fixes.
11380
11381 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11382
11383         * tests/examples/typefind/typefind.c: (type_found), (main):
11384           Make typefind element example work again (#371894); add a
11385           license header.
11386
11387 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11388
11389         * docs/random/draft-missing-plugins.txt:
11390           Commit initial draft about how to deal with missing plugins,
11391           needs work (API too).
11392
11393 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11394
11395         * docs/pwg/advanced-types.xml:
11396           documents the new caps elements (see #363118)
11397
11398 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11399
11400         * gst/gstplugin.c: (gst_plugin_load_file):
11401         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11402         (gst_file_src_map_region), (gst_file_src_start):
11403         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11404         (gst_file_index_commit):
11405           Use g_strerror() instead of strerror() - we want UTF-8.
11406
11407 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11408
11409         Patch by: Peter Kjellerstedt <pkj at axis com>
11410
11411         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11412           Another printf fix (#371493).
11413
11414 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11415
11416         * tests/check/gst/gsttag.c:
11417           relicence (okay with author=company)
11418
11419 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11420
11421         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11422         (gst_pad_push_event):
11423           Enhance debug and improve docs
11424         
11425         * gst/gsturi.c:
11426           Fix docs
11427
11428 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11429
11430         * docs/random/ensonic/distributed.txt:
11431         * docs/random/ensonic/profiling.txt:
11432           more ideas
11433
11434 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11435
11436         * docs/gst/gstreamer-sections.txt:
11437           add new API and fix the build
11438           
11439         * gst/gstbin.c: (gst_bin_recalc_state):
11440         * gst/gstelement.c: (gst_element_message_full),
11441         (gst_element_get_state_func), (gst_element_set_state_func):
11442           use new API and improve logging
11443         
11444         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11445         * gst/gstutils.h:
11446           API: add function to get StateChangereturn names to improve logs 
11447
11448 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11449
11450         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11451           I'm considering shooting the next person to put strerror stuff
11452           in the translateable part of the message.
11453
11454 2006-11-03  Wim Taymans  <wim@fluendo.com>
11455
11456         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11457         Get the type and printf conversion specifiers right.
11458
11459 2006-11-03  Wim Taymans  <wim@fluendo.com>
11460
11461         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11462
11463         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11464         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11465         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11466         Some small cleanups. Improve debugging.
11467         * gst/gstpad.h:
11468         Signal all waiting threads with a broadcast instead of just one.
11469         Fixes #369942.
11470
11471 2006-11-03  Wim Taymans  <wim@fluendo.com>
11472
11473         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11474         (gst_fd_src_create):
11475         Add some debugging. 
11476         Only update fd when it's different from the old.
11477
11478 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11479
11480         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11481           Printf fixes for PPC/OSX, take two (#369366).
11482
11483 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11484
11485         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11486
11487         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11488         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11489         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11490           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11491           don't cast to long long for portability reasons, but use
11492           GLib's types instead.
11493
11494 2006-10-30  Michael Smith  <msmith@fluendo.com>
11495
11496         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11497           Get the arguments to lseek() the right way around.
11498           Fixes 367677.
11499
11500 2006-10-30  Wim Taymans  <wim@fluendo.com>
11501
11502         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11503
11504         * gst/gstinfo.h:
11505         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11506
11507 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11508
11509         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11510
11511         * docs/design/part-MT-refcounting.txt:
11512         * docs/random/wtay/capsnego2-docs:
11513         * gst/gstclock.c:
11514         * gst/gstxml.c:
11515           Typo fixes (#366212).
11516
11517 2006-10-28  Wim Taymans  <wim@fluendo.com>
11518
11519         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11520
11521         * gst/gst.c:
11522         * win32/common/libgstbase.def:
11523         * win32/common/libgstreamer.def:
11524         * win32/vs8/libgstbase.vcproj:
11525         * win32/vs8/libgstcontroller.vcproj:
11526         Add needed entries in .def files.
11527         Use HAVE_UNISTD_H.
11528         Rearrange def files in vs8 solutions. Fixes #366286.
11529
11530 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11531
11532         * win32/common/gstconfig.h:
11533           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11534           hand-made win32 gstconfig.h. Fixes #366321.
11535
11536 2006-10-27  Wim Taymans  <wim@fluendo.com>
11537
11538         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11539         (gst_ghost_pad_new_full):
11540         Make acceptcaps return TRUE when we don't have a target, just like
11541         setcaps does.
11542
11543 2006-10-27  Wim Taymans  <wim@fluendo.com>
11544
11545         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11546         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11547
11548 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11549
11550         * gst/gststructure.c: (gst_structure_id_set_value):
11551           If someone tries to set a non-UTF8 string field on a structure,
11552           don't just print a warning, but also ignore the request and do
11553           not change/add that field to the structure.
11554
11555         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11556           Test for the above.
11557
11558 2006-10-25  David Schleef  <ds@schleef.org>
11559
11560         * gst/gstinfo.c:
11561           g_hash_table_insert() needs a cast to a non-const pointer duh.
11562
11563 2006-10-25  David Schleef  <ds@schleef.org>
11564
11565         * gst/gstinfo.c:
11566         * gst/gstinfo.h:
11567           Change name parameter of _gst_debug_register_funcptr to const
11568           to reflect the constness of its use in the function as well
11569           as to quiet a gcc warning.
11570
11571 2006-10-25  Edward Hervey  <edward@fluendo.com>
11572
11573         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11574         Don't push the buffer if it's empty.
11575         Closes #363095
11576
11577 2006-10-24  Wim Taymans  <wim@fluendo.com>
11578
11579         * gst/gstevent.h:
11580         Add small comment.
11581
11582         * libs/gst/base/gstbasetransform.c:
11583         (gst_base_transform_sink_eventfunc):
11584         Debug segment values *after* updating them as this is more
11585         interesting.
11586
11587 2006-10-23  Wim Taymans  <wim@fluendo.com>
11588
11589         * docs/design/part-events.txt:
11590         Update some docs.
11591
11592         * docs/design/part-block.txt:
11593         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11594         (gst_pad_push_event):
11595         Revert BLOCKING patch, it tries to be smart without really having a
11596         clear idea what or how. So, now we discard all FLUSHING events again on
11597         a blocking pad. Should fix gnonlin again.
11598
11599 2006-10-23  Wim Taymans  <wim@fluendo.com>
11600
11601         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11602
11603         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11604         (gst_base_src_start), (gst_base_src_activate_push):
11605         Make sure size is always initialized. Fixes #364388.
11606
11607 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11608
11609         * docs/random/ensonic/distributed.txt:
11610           add some ideas about doing distributed processing
11611
11612         * docs/random/ensonic/profiling.txt:
11613           get_rusage look promising
11614
11615 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11616
11617         * docs/manual/basics-helloworld.xml:
11618           Add a cast in example to fix compile warning
11619
11620 2006-10-18  Wim Taymans  <wim@fluendo.com>
11621
11622         * gst/gstsegment.c: (gst_segment_set_last_stop),
11623         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11624         Relax arg checking again, -1 is allowed.
11625
11626 2006-10-18  Wim Taymans  <wim@fluendo.com>
11627
11628         * gst/gstsegment.c: (gst_segment_set_last_stop),
11629         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11630         _set_last_stop() must be with a value != -1
11631         A _TYPE_SET to -1 means seek to 0.
11632         Calc last_stop correctly for negative rates.
11633         Make sure we work with positive durations when updating a segment.
11634
11635 2006-10-18  Wim Taymans  <wim@fluendo.com>
11636
11637         * docs/design/part-live-source.txt:
11638         * gst/gstclock.h:
11639         Small docs fixes.
11640
11641 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11642
11643         * gst/gstbuffer.h:
11644           Add an explicit cast to GstBuffer** to keep old code that added an
11645           explicit cast to GstMiniObject** for gst_mini_object_replace()
11646           compiling without warning.
11647
11648 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11649
11650         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11651           check for validity of dates
11652
11653 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11654
11655         * docs/gst/gstreamer-sections.txt:
11656           Forgot this one, makes gtk-doc shut up.
11657
11658 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11659
11660         Patch by: Peter Kjellerstedt <pkj at axis com>
11661
11662         * gst/gstobject.h:
11663           Don't define xmlNodePtr to gpointer if the core was built with
11664           --disable-loadsave and --disable-registry, this will break
11665           applications that want to use libxml2 but are buildling against a
11666           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11667           instead so we don't have to mess with the libxml2 namespace
11668           (#361675).
11669
11670 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11671
11672         * gst/gstbuffer.h:
11673           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11674           type-punned pointer warnings.
11675
11676 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11677
11678         * gst/gstelement.h:
11679           Add casts to the correct return type to state <=> state transition
11680           macros.
11681
11682 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11683
11684         * docs/design/part-live-source.txt:
11685           describe howto handle latency
11686         
11687         * docs/random/ensonic/profiling.txt:
11688           more ideas
11689
11690         * tools/gst-plot-timeline.py:
11691           fix log parsing for solaris, remove unused function
11692
11693 2006-10-16  Wim Taymans  <wim@fluendo.com>
11694
11695         * docs/design/part-trickmodes.txt:
11696         * gst/gstevent.c:
11697         Update some docs regarding reverse playback.
11698
11699 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11700
11701         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11702
11703         * win32/vs8/grammar.vcproj:
11704           Error out with a warning if glib-genmarshal.exe is not in path,
11705           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11706
11707 2006-10-13  Wim Taymans  <wim@fluendo.com>
11708
11709         * gst/gstsegment.c: (gst_segment_set_seek):
11710         When seeking to stop -1, set last_stop (current position) to the
11711         duration of the segment.
11712
11713 2006-10-13  Wim Taymans  <wim@fluendo.com>
11714
11715         * gst/gstelement.h:
11716         Clarify _NO_PREROLL a bit more.
11717
11718         * gst/gstevent.c:
11719         Fix docs.
11720
11721         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11722         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11723         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11724         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11725         due to wrong locking order. Fixes #361769.
11726         Remove some redundant/misplaced checks in pad_block.
11727
11728         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11729         For negative rates, count backwards from the duration.
11730
11731 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11732
11733         * gst/gsterror.c: (_gst_library_errors_init):
11734           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11735           up with something better).
11736
11737 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11738
11739         * win32/vs6/libgstreamer.dsp:
11740         * win32/vs7/libgstreamer.vcproj:
11741         * win32/vs8/libgstreamer.vcproj:
11742           Don't reference glib-compat.c which is currently not used and not
11743           disted; add gstquark.c which was recently added. Fixes #361730.
11744
11745 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11746
11747         * win32/common/libgstbase.def:
11748         * win32/common/libgstcontroller.def:
11749         * win32/common/libgstreamer.def:
11750           Add gst_caps_merge() and a bunch of other recently-added functions.
11751           Fixes #361732.
11752
11753 2006-10-11  Wim Taymans  <wim@fluendo.com>
11754
11755         * docs/plugins/gstreamer-plugins.args:
11756         * docs/plugins/inspect/plugin-coreelements.xml:
11757         * docs/plugins/inspect/plugin-coreindexers.xml:
11758         Update element args.
11759
11760         * gst/gstsystemclock.c:
11761         Small comment update.
11762
11763         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11764         (gst_tee_request_new_pad), (gst_tee_release_pad),
11765         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11766         (gst_tee_sink_activate_pull):
11767         * plugins/elements/gsttee.h:
11768         Some tee loving:
11769         Add default property defines.
11770         Implement release pad function.
11771         Give properties better blubs etc.
11772         Activate pads before adding them to a running tee.
11773         Do simple buffer_alloc on the first requested pad.
11774         Post error when activation fails.
11775
11776 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11777
11778         * gst/gst.c: (ensure_current_registry_forking):
11779           Check return value of write() to make compiler happy.
11780
11781 2006-10-11  Wim Taymans  <wim@fluendo.com>
11782
11783         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11784
11785         * plugins/elements/gstqueue.c: (gst_queue_chain):
11786         Recheck queue filledness after signalling the overrun when we're about
11787         to leak downstream because we released the lock when emitting the signal
11788         and the queue could be empty again. Fixes #352345.
11789
11790 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11791
11792         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11793           Fix refcounting here too, just like we did for _new_valist() a few
11794           days ago (#357180) (thanks to René Stadler). Also remove all those
11795           'Since: 0.9' from the gtk-doc blobs.
11796
11797         * tests/check/libs/controller.c: (controller_refcount_new_list),
11798         (gst_controller_suite):
11799           Unit test for the above.
11800
11801 2006-10-10  Wim Taymans  <wim@fluendo.com>
11802
11803         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11804
11805         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11806         (gst_pad_save_thyself):
11807         Update some docs.
11808         Write pad direction in XML output. Fixes #345496.
11809
11810 2006-10-10  Wim Taymans  <wim@fluendo.com>
11811
11812         Patch by: René Stadler <mail at renestadler dot de>
11813
11814         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11815         (gst_controller_new_list), (_gst_controller_dispose),
11816         (_gst_controller_finalize), (_gst_controller_class_init):
11817         Take ref to controlled object so that it cannot disappear. 
11818         Fixes #357432.
11819
11820 2006-10-10  Wim Taymans  <wim@fluendo.com>
11821
11822         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11823         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11824         (gst_check_teardown_sink_pad):
11825         Activate/deactivate pads in setup/teardown respectively.
11826
11827 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11828
11829         Patch by: Josep Torra Valles <josep@fluendo.com>
11830
11831         * gst/Makefile.am:
11832         Cast values when making gstenumtypes.h.  This pacifies Forte
11833         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11834         in the enumeration.
11835
11836 2006-10-09  Wim Taymans  <wim@fluendo.com>
11837
11838         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11839         Rename some more @cur to @start to fix docs. 
11840
11841         * gst/gstsegment.c: (gst_segment_set_seek):
11842         Fix typo.
11843         time and start must always stay in sync as defined in design doc.
11844
11845         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11846         Rename param to fix docs.
11847
11848         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11849         Check that start and time are in sync.
11850
11851         * tests/check/pipelines/parse-launch.c:
11852         (gst_parse_test_element_change_state):
11853         Activate pad before adding to the element.
11854
11855 2006-10-09  Wim Taymans  <wim@fluendo.com>
11856
11857         * docs/design/part-qos.txt:
11858         Fix typo.
11859
11860         * gst/gstevent.c:
11861         * gst/gstevent.h:
11862         Update seek event docs regarding negative rates.
11863         Rename @cur to @start. 
11864
11865         * gst/gstsegment.c: (gst_segment_set_seek):
11866         * gst/gstsegment.h:
11867         Update set_seek docs regarding negative rates.
11868         Correctly update last_stop to @stop when dealing with negative
11869         rates.
11870         Rename @cur to @start. 
11871
11872         * tests/check/gst/gstpad.c: (GST_START_TEST):
11873         Activate pads before trying to use them.
11874
11875         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11876         (gst_segment_suite):
11877         Add simple check for segments and negative rates.
11878
11879 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11880
11881         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11882         * gst/gsttaglist.h:
11883         * docs/gst/gstreamer-sections.txt:
11884           API: add gst_tag_list_is_empty() (#360467).
11885
11886         * tests/check/gst/gsttag.c: (GST_START_TEST):
11887           And a test case.
11888
11889 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11890
11891         * gst/gstmessage.h:
11892         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11893         a value that doesn't fit on enumeration.
11894
11895 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11896
11897         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11898         Remove local debugging system and use Gstreamer's instead.
11899
11900 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11901
11902         Patch by: Josep Torra Valles <josep@fluendo.com>
11903
11904         * common/m4/gst-error.m4:
11905         Disable warning of statement not reached on Forte.
11906         * gst/gstmessage.h:
11907         Fix warning on Forte (value doesn't fit on enumeration).
11908         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11909         Fix warning on Forte (value doesn't fit on enumeration).
11910         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11911         DEBUG macro says it takes minimum of 2 args and so Forte
11912         complains about the use with just 1 arg.
11913         * plugins/elements/gstfdsink.c:
11914         * plugins/elements/gstfdsrc.c:
11915         * plugins/elements/gstfilesink.c:
11916         * plugins/elements/gstfilesrc.c:
11917         Use correct return type for the uri handler implementations.
11918
11919         All these fix warnings in Forte.  Fixes bug #360860.
11920
11921 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11922
11923         * gst/gstelement.h:
11924           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11925           format string, so don't use G_GNUC_PRINTF for those versions.
11926
11927 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11928
11929         * gst/gsttaglist.c: (gst_is_tag_list):
11930         * gst/gsttaglist.h:
11931           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11932
11933         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11934           Small test for the above.
11935
11936 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11937
11938         * gst/gsttaglist.h:
11939           Less tabs, more spaces.
11940
11941 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11942
11943         * gst/gstinfo.h:
11944           Those two function declarations do actually belong there, revert
11945           commit from yesterday that turned them intro macros.
11946
11947 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11948
11949         Patch by: Josep Torra Valles <josep@fluendo.com>
11950
11951         * gst/gst.c: (gst_init_get_option_group):
11952         Fix empty declaration and type mismatch.
11953         * gst/gstbin.c: (gst_bin_change_state_func):
11954         Fix type mismatch.
11955         * gst/gstelement.c: (gst_element_continue_state),
11956         (gst_element_set_state_func), (gst_element_change_state),
11957         (gst_element_change_state_func):
11958         Fix type mismatches.
11959         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11960         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11961         Cast as appropriate.
11962         * gst/gstobject.c: (gst_class_signal_connect):
11963         Cast as appropriate.  The function pointer parameter really
11964         has the wrong type but would break API if we change it.
11965         * gst/gstquery.c:
11966         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11967         order of including string.h.
11968         * gst/gstutils.c: (gst_element_state_get_name):
11969         Remove unreachable line.
11970         * gst/gstxml.c: (gst_xml_parse_doc):
11971         Fix type mismatch.
11972         All these caught by Forte.
11973
11974 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11975
11976         Patch by: Josep Torra Valles <josep@fluendo.com>
11977
11978         * common/m4/gst-error.m4:
11979         Fixed bug #360151.
11980         We need to disable warnings on Forte for empty declarations
11981         due to gst-indent adding ;s to lines that just use macros
11982         where the macro actually doesn't need a ; at end to end
11983         statement.
11984
11985 2006-10-06  Wim Taymans  <wim@fluendo.com>
11986
11987         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11988         (gst_file_sink_close_file), (gst_file_sink_event),
11989         (gst_file_sink_render):
11990         Add some FIXME for the NEWSEGMENT handling.
11991
11992 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11993
11994         * gst/parse/grammar.y:
11995         Remove static function gst_parse_element_lock as all it does
11996         is return.  Looks like cruft from 0.8.
11997
11998 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11999
12000         Patch by: Josep Torra Valles <josep@fluendo.com>
12001
12002         * common/m4/gst-error.m4:
12003         * configure.ac:
12004         * libs/gst/net/Makefile.am:
12005         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12006         libresolv.
12007
12008 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12009
12010         * gst/gstpad.c: (pre_activate):
12011         * gst/gstregistry.c: (gst_registry_scan_path_level):
12012         * gst/gstregistryxml.c: (load_plugin):
12013         * libs/gst/controller/gstcontroller.c:
12014         (gst_controlled_property_set_interpolation_mode):
12015         * libs/gst/dataprotocol/dataprotocol.c:
12016         (gst_dp_packet_from_event_1_0):
12017         * libs/gst/net/gstnetclientclock.c:
12018         (gst_net_client_clock_observe_times):
12019         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12020           Printf fixes.
12021
12022 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12023
12024         * configure.ac:
12025         * docs/gst/gstreamer-sections.txt:
12026         * gst/gstconfig.h.in:
12027         * gst/gstelement.h:
12028         * gst/gstinfo.h:
12029           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12030           whether we can use G_GNUC_PRINTF in other header files and at
12031           least check the printf format/arguments of debug messages and
12032           GST_ELEMENT_ERROR messages when the printf extension is not
12033           being used.
12034           Replace more tabs with spaces in gstinfo.h and remove two spurious
12035           function declarations in GST_DISABLE_DEBUG part with macros.
12036
12037 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12038
12039         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12040           More docs for the sync-message signal (mention that it is not
12041           emitted by default); log message structures of messages posted on
12042           the bus as well.
12043
12044 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12045
12046         * gst/gst.c: (ensure_current_registry_forking):
12047         Use a pipe pair to receive status results from the forked child, and
12048         ignore the result from waitpid. Fixes #355499
12049
12050 2006-10-02  Wim Taymans  <wim@fluendo.com>
12051
12052         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12053         (gst_ghost_pad_suite):
12054         Fix leak in check.
12055
12056 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12057
12058         * gst/gstpad.c:
12059           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12060
12061 2006-10-02  Edward Hervey  <edward@fluendo.com>
12062
12063         * docs/design/part-block.txt:
12064         Further explain the use of flushing on blocked pads.
12065         * docs/gst/gstreamer-sections.txt:
12066         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12067         (gst_pad_push_event):
12068         * gst/gstpad.h:
12069         Added new GstPadFlag : GST_PAD_BLOCKING.
12070         Adds the notion of pads really blocking, which enables to properly
12071         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12072         Fixes #358999
12073         API: gst_pad_is_blocking()
12074         API: GST_PAD_IS_BLOCKING() macro
12075         API: GST_PAD_BLOCKING GstPadFlag
12076         
12077 2006-10-02  Wim Taymans  <wim@fluendo.com>
12078
12079         Patch by: mrcgran <mrc.gran at gmail dot com>
12080
12081         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12082         Filter the proxied caps against the padtemplate if we have one.
12083
12084         * gst/gstquery.c: (gst_query_new_segment):
12085         Add include for gstinfo.h so that compilation with
12086         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12087
12088 2006-10-02  Wim Taymans  <wim@fluendo.com>
12089
12090         Patch by: Alessandro Decina  <alessandro at nnva org>
12091
12092         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12093         (gst_file_sink_set_location), (gst_file_sink_open_file),
12094         (gst_file_sink_close_file), (gst_file_sink_event),
12095         (gst_file_sink_render):
12096         Set file to NULL when closing filesink so that we can set a new filename
12097         in READY. Fixes #358613.
12098
12099 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12100
12101         Patch by: Alessandro Decina  <alessandro at nnva org>
12102
12103         * gst/gstevent.c: (_gst_event_copy):
12104           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12105           with event structures by setting the parent refcount address of the
12106           copied structure to the address of the refcount member of the newly
12107           copied event rather than the address of the refcount member of the
12108           original event. Fixes #358737.
12109
12110         * tests/check/gst/gstevent.c: (GST_START_TEST):
12111           Unit test for the above.
12112
12113 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12114
12115         * docs/design/Makefile.am:
12116           Dist some more files.
12117
12118 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12119
12120         * tests/check/libs/controller.c: (GST_START_TEST),
12121         (gst_controller_suite):
12122           Add test for the previous fix; add some more tests
12123           for correct refcounting behaviour; fix a few leaks
12124           in test cases; call gst_controller_init() at start
12125           of all tests.
12126
12127 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12128
12129         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12130         (gst_controller_set_from_list):
12131           Don't g_return_val_if_fail() on timed values with invalid timestamps
12132           inside a critical section without unlocking the mutex. Spotted by
12133           René Stadler. (#357617)
12134           Also, fix up refcounting properly: when returning an existing
12135           controller, we should increase the reference only once and not
12136           once per property and when trying to control a property again
12137           we should also increase the refcount.
12138
12139 2006-09-29  Wim Taymans  <wim@fluendo.com>
12140
12141         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12142         * libs/gst/net/gstnettimeprovider.c:
12143         (gst_net_time_provider_thread):
12144         Stop reading commands when EOF as well.
12145
12146         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12147         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12148         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12149         Unify description of the dump property.
12150
12151 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12152
12153         * tests/examples/manual/.cvsignore:
12154         OK, so it's actually cvsignore that needs changing. Stop laughing.
12155
12156 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12157
12158         * tests/examples/manual/Makefile.am:
12159         Gah, declare vars *before* using them
12160
12161 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12162
12163         * gst/gst.c: (init_pre), (scan_and_update_registry),
12164         (ensure_current_registry_nonforking),
12165         (ensure_current_registry_forking), (ensure_current_registry),
12166         (init_post), (gst_debug_help), (gst_deinit):
12167         * gst/gst_private.h:
12168         * gst/gstregistry.c: (gst_registry_finalize),
12169         (gst_registry_remove_features_for_plugin_unlocked),
12170         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12171         (gst_registry_scan_path),
12172         (_priv_gst_registry_remove_cache_plugins),
12173         (_priv_gst_registry_cleanup):
12174         * gst/gstregistry.h:
12175         Re-commit the registry changes, along with an extra fix:
12176           When a cached plugin is encountered at a different file path,
12177           update the stored path in the registry cache so that the parent
12178           process knows where it actually is now when it re-reads the registry
12179           cache. Fixes the thing that broke distcheck with the previous commit.
12180
12181         * tests/check/Makefile.am:
12182         Clean up files named 'core' too when running make clean.
12183
12184         * tests/examples/manual/Makefile.am:
12185         Set up a registry path for running these tests, and clean it properly
12186         for distcheck.
12187
12188 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12189
12190         * configure.ac:
12191         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12192         want gmodule-no-export-2.0.pc instead so that we don't drag in
12193         --export-dynamic on every project that links to GStreamer.
12194
12195         Also, make our export regex only match the start of symbols, rather 
12196         than any symbol that contains '_gst' somewhere.
12197
12198         * libs/gst/check/Makefile.am:
12199         The libgstcheck we build does however need export-dynamic, as it
12200         produces some symbols that don't match our _gst... style regex.
12201         Fixes: #318031
12202
12203 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12204
12205         * gst/gst.c: (init_pre), (scan_and_update_registry),
12206         (ensure_current_registry_nonforking),
12207         (ensure_current_registry_forking), (ensure_current_registry),
12208         (init_post), (gst_debug_help), (gst_deinit):
12209         * gst/gst_private.h:
12210         * gst/gstregistry.c: (gst_registry_finalize),
12211         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12212         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12213         (_gst_registry_cleanup):
12214         * gst/gstregistry.h:
12215           Revert previous change until I figure out why it breaks distcheck.
12216
12217 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12218
12219         * gst/gst.c: (init_pre), (scan_and_update_registry),
12220         (ensure_current_registry_nonforking),
12221         (ensure_current_registry_forking), (ensure_current_registry),
12222         (init_post), (gst_debug_help), (gst_deinit):
12223
12224           Make init_pre and init_post take the full complement of GOptionFunc
12225           args so they can return useful GErrors. Make the registry updating
12226           functions do so.
12227
12228           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12229           ensure that the registry we're about to write out doesn't contain
12230           stale information about old-deleted plugin files.
12231
12232           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12233           that deletion of plugin files is considered a registry change.
12234
12235         * gst/gst_private.h:
12236         * gst/gstregistry.c: (gst_registry_finalize),
12237         (gst_registry_remove_features_for_plugin_unlocked),
12238         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12239         (gst_registry_scan_path),
12240         (_priv_gst_registry_remove_cache_plugins),
12241         (_priv_gst_registry_cleanup):
12242         * gst/gstregistry.h:
12243         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12244         by adding _priv prefix, so that they won't appear in the global
12245         symbol table. They still do atm though because of #318031. Move the
12246         prototypes to gst_private.h
12247
12248         When removing a plugin, remove all features for that plugin too. 
12249         Fixes #340878.
12250
12251 2006-09-27  Wim Taymans  <wim@fluendo.com>
12252
12253         * docs/random/moving-plugins:
12254         Make it clear that the "compiled-in descriptions" really mean
12255         the element details.
12256
12257         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12258         (gst_base_sink_wait_preroll):
12259         Update docs.
12260
12261         * docs/libs/gstreamer-libs-sections.txt:
12262         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12263         (gst_base_src_get_range), (gst_base_src_activate_push):
12264         * libs/gst/base/gstbasesrc.h:
12265         Added function to block while waiting for PLAYING, this function
12266         is used by live sources that block on the clock.
12267         API: gst_base_src_wait_playing()
12268
12269 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12270
12271         Patch by: Peter Kjellerstedt <pkj at axis com>
12272
12273         * Makefile.am:
12274           gst-element-check.m4 is generated and should therefore be
12275           copied from the build dir rather than the source dir (#357593).
12276           'make distcheck' hasn't noticed this because we were disting
12277           the file as well, so stop doing that.
12278
12279 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12280
12281         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12282           Add some tests for gst_caps_intersect().
12283
12284         * tools/gst-launch.c: (event_loop):
12285           Print all buffering percentages we get, even the 100% one.
12286
12287 2006-09-26  Wim Taymans  <wim@fluendo.com>
12288
12289         * tools/gst-inspect.c: (print_element_properties_info),
12290         (print_signal_info):
12291         Fix printing of flags to match the look of enums.
12292
12293 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12294
12295         * gst/gstelementfactory.c:
12296           Fix typo in docs blurb.
12297
12298 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12299
12300         * gst/gsturi.c: (search_by_entry):
12301           Don't assert/crash here if a uri handler doesn't return any
12302           supported protocols. The list of protocols could be generated
12303           dynamically at runtime or at plugin registration, and an error
12304           in the underlying library shouldn't be fatal (#353301).
12305
12306 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12307
12308         * gst/gstinfo.c:
12309           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12310           (spotted by Peter Kjellerstedt).
12311
12312 2006-09-23  Wim Taymans  <wim@fluendo.com>
12313
12314         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12315
12316         * libs/gst/base/gstbasesrc.c:
12317         (gst_base_src_default_check_get_range), (gst_base_src_start),
12318         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12319         (gst_base_src_change_state):
12320         Match _start/_stop calls in the activate functions. Remove redundant
12321         _stop call from the state change function. Fixes #356910.
12322         Turn failure DEBUG into ERROR. 
12323
12324 2006-09-22  Wim Taymans  <wim@fluendo.com>
12325
12326         * docs/design/part-buffering.txt:
12327         * gst/gstmessage.c: (gst_message_new_buffering),
12328         (gst_message_parse_buffering):
12329         Update docs about buffering.
12330
12331         * docs/design/part-trickmodes.txt:
12332         Fix typo.
12333
12334 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12335
12336         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12337         (gst_controller_new_list):
12338           Ref instances when returning them again (fixes #357180)
12339
12340 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12341
12342         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12343           Don't forget to release proxy lock when there's an error.
12344
12345 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12346
12347         * gst/gstcaps.h:
12348           Add extra initialisers for Caps things, to fix some plugin warnings
12349           when using -Wextra
12350
12351 2006-09-18  Wim Taymans  <wim@fluendo.com>
12352
12353         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12354           Also set template on the internal pad so that a getcaps from the 
12355           target pad returns the template caps.
12356
12357 2006-09-18  Wim Taymans  <wim@fluendo.com>
12358
12359         * gst/gstelement.c: (gst_element_post_message),
12360         (gst_element_dispose):
12361         Use _DEBUG_OBJECT some more.
12362
12363         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12364         Avoid typechecks.
12365
12366         * tools/gst-launch.c: (main):
12367         If the toplevel element is not a GstPipeline, it must be put in a
12368         pipeline so that a bus and clock is selected.
12369
12370 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12371
12372         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12373           JITTER, RATE, and LATENCY query should be handled by the
12374           default case and not by the CONVERT query code.
12375
12376 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12377
12378         * gst/gstformat.c: (gst_format_register):
12379           Fix locking order (must take lock before using n_values).
12380
12381         * gst/gstvalue.c: (gst_value_serialize_enum),
12382         (gst_value_deserialize_enum_iter_cmp),
12383         (gst_value_deserialize_enum):
12384           Fix serialisation/deserialisation of custom registered GstFormats.
12385
12386         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12387           Unit test for custom format serialisation/deserialisation.
12388
12389 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12390
12391         * docs/pwg/building-boiler.xml:
12392         * plugins/elements/gstcapsfilter.c:
12393         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12394         section.
12395
12396 2006-09-16  Edward Hervey  <edward@fluendo.com>
12397
12398         * libs/gst/base/gstbasetransform.c:
12399         (gst_base_transform_buffer_alloc):
12400         Check if requested caps are the same as the sinks caps IF
12401         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12402         is FALSE.
12403         This fixes the renegotiation issues stated in #352827.
12404
12405 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12406
12407         * configure.ac:
12408         * docs/manual/advanced-autoplugging.xml:
12409         * tests/examples/Makefile.am:
12410         * tests/examples/manual/.cvsignore:
12411         * tests/examples/manual/Makefile.am:
12412         * tests/examples/manual/extract.pl:
12413           Extract the manual examples again like we used to do.
12414           Fix one of them.
12415
12416 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12417
12418         * win32/common/config.h:
12419           update for version
12420
12421 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12422
12423         * gst/gsterror.c:
12424           Documents how to receive errors.
12425
12426 2006-09-15  Wim Taymans  <wim@fluendo.com>
12427
12428         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12429         (event_loop), (main):
12430         Added some comments here and there.
12431         Post an application message when an interrupt is caught instead of doing
12432         an uncontrolled state change.
12433         Clean up the event loop.
12434         Handle buffering messages, pause/resume the pipeline.
12435         Make shutdown because of an interrupt more reliable.
12436
12437 2006-09-15  Wim Taymans  <wim@fluendo.com>
12438
12439         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12440         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12441         (gst_base_sink_preroll_object):
12442         Make sure that our internal state is correct when we commit our state
12443         asynchronously. This solves a race where a state change to PLAYING
12444         could cause the sink to remain blocked in preroll in some situations.
12445
12446 2006-09-15  Wim Taymans  <wim@fluendo.com>
12447
12448         * tools/gst-inspect.c: (print_element_properties_info),
12449         (print_signal_info):
12450         List flags as hex so it's easier to deal with.
12451
12452 2006-09-15  Wim Taymans  <wim@fluendo.com>
12453
12454         * docs/libs/gstreamer-libs-sections.txt:
12455         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12456         (gst_base_sink_do_sync):
12457         * libs/gst/base/gstbasesink.h:
12458         Expose logic to wait for preroll so that subclasses such as audiosink
12459         can also use this method.
12460         API: gst_base_sink_wait_preroll()
12461
12462 2006-09-15  Wim Taymans  <wim@fluendo.com>
12463
12464         * gst/gstobject.c: (gst_object_set_parent):
12465         * gst/gstpipeline.c: (do_pipeline_seek):
12466         Small cleanups in docs and code.
12467
12468         * gst/gstsegment.c: (gst_segment_clip):
12469         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12470         if stop == start and start is in the segment, no clipping should be
12471         done. Also add a test for this.
12472
12473 2006-09-15  Wim Taymans  <wim@fluendo.com>
12474
12475         * docs/design/part-buffering.txt:
12476         * docs/gst/gstreamer-sections.txt:
12477         * gst/gstmessage.c: (gst_message_new_buffering),
12478         (gst_message_parse_buffering):
12479         * gst/gstmessage.h:
12480         Added methods to create and parse BUFFERING messages.
12481         Added preliminary docs about buffering.
12482         API: gst_message_new_buffering
12483         API: gst_message_parse_buffering
12484
12485 2006-09-06  Wim Taymans  <wim@fluendo.com>
12486
12487         * gst/gstbin.c:
12488         Update documentation.
12489
12490         * gst/gstelement.c: (gst_element_class_init),
12491         (gst_element_release_request_pad), (gst_element_set_clock),
12492         (gst_element_get_index), (gst_element_add_pad),
12493         (gst_element_remove_pad), (gst_element_get_random_pad),
12494         (gst_element_send_event), (gst_element_get_query_types),
12495         (gst_element_query), (gst_element_post_message),
12496         (gst_element_message_full), (gst_element_continue_state),
12497         (gst_element_lost_state), (gst_element_save_thyself),
12498         (gst_element_restore_thyself):
12499         Documentation updates.
12500         Rename last bit of the new-pad -> pad-added signal rename.
12501         Fix the case where an element query would only work if the source
12502         pad was linked.
12503         Avoid some useless type checking in message handling.
12504
12505         * gst/gstevent.c:
12506         * gst/gstevent.h:
12507         * gst/gstutils.c:
12508         Documentation updates.
12509
12510 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12511
12512         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12513           add an INFO line for when we actually update the fd
12514
12515 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12516
12517         * configure.ac:
12518           back to TRUNK
12519
12520 === release 0.10.10 ===
12521
12522 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12523
12524         * configure.ac:
12525           releasing 0.10.10, "Pais"
12526
12527 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12528
12529         * docs/manual/advanced-position.xml:
12530           Fix typo in sample code.
12531
12532 2006-09-05  Wim Taymans  <wim@fluendo.com>
12533
12534         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12535         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12536         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12537         * libs/gst/net/gstnetclientclock.h:
12538         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12539         * libs/gst/net/gstnettimepacket.h:
12540         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12541         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12542         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12543         * libs/gst/net/gstnettimeprovider.h:
12544         Make stuff compile on windows. Fixes #345295.
12545
12546 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12547
12548         * gst/gst.c: (ensure_current_registry_forking):
12549           Print better details when child was terminated by signal.
12550
12551 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12552
12553         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12554           Print a warning rather than g_assert() if a plugin feature
12555           is a URI handler but returns no protocols (#353976).
12556
12557 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12558
12559         * docs/random/moving-plugins:
12560         Fix two typos.         
12561
12562 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12563
12564         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12565           Fix locking order, handle NULL function values properly.
12566
12567         * gst/gstinfo.h:
12568           Fix docs.
12569
12570         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12571           Initialise variable before using it and fix debug statement to
12572           print the address of the function rather than the address of the
12573           variable on the stack holding the address of the function.
12574
12575 2006-09-01  Wim Taymans  <wim@fluendo.com>
12576
12577         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12578         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12579         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12580         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12581         (gst_ghost_pad_parent_unset),
12582         (gst_ghost_pad_internal_do_activate_push),
12583         (gst_ghost_pad_internal_do_activate_pull),
12584         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12585         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12586         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12587         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12588         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12589         (gst_ghost_pad_new_no_target_from_template),
12590         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12591         More cleanups.
12592         Avoid needless typechecking in macros.
12593         Since the internal pad is always present and never changes, there is
12594         no need to locking or ref when retrieving it.
12595         Improve debugging a bit.
12596         Handle link errors when setting the target. Fixes #341029.
12597
12598 2006-09-01  Wim Taymans  <wim@fluendo.com>
12599
12600         * docs/libs/gstreamer-libs-sections.txt:
12601         * docs/plugins/gstreamer-plugins-sections.txt:
12602         Fix docs some more.
12603
12604         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12605         (gst_collect_pads_event):
12606         * libs/gst/base/gstcollectpads.h:
12607         Documentation updates.
12608         Free queued buffer when removing a pad.
12609
12610 2006-08-31  Michael Smith  <msmith@fluendo.com>
12611
12612         * gst/gstutils.c: (gst_element_link_pads),
12613         (gst_element_link_pads_filtered):
12614           Ensure that we set a capsfilter to NULL if we failed to link it
12615           when doing filtered linking, to avoid criticals.
12616
12617           No need to check for unreffing srcpad, which is explicly NULLed
12618           above (a trivial code cleanup).
12619
12620 2006-08-31  Wim Taymans  <wim@fluendo.com>
12621
12622         * docs/design/part-gstghostpad.txt:
12623         Update ascii art in documentation.
12624
12625         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12626         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12627         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12628         (gst_ghost_pad_internal_do_activate_push),
12629         (gst_ghost_pad_internal_do_activate_pull),
12630         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12631         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12632         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12633         (gst_ghost_pad_set_target):
12634         Small cleanups and leak fixes.
12635         Remove some checks now that the internal pad is never NULL.
12636         Fix the case where linking pads without a target would create nasty
12637         criticals. Fixes #341029.
12638         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12639         value of _set_target().
12640
12641         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12642         (gst_ghost_pad_suite):
12643         Some more tests for creating and linking untargeted ghostpads.
12644
12645 2006-08-31  Edward Hervey  <edward@fluendo.com>
12646
12647         * docs/gst/gstreamer-sections.txt:
12648         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12649         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12650         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12651         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12652         (gst_ghost_pad_new_from_template),
12653         (gst_ghost_pad_new_no_target_from_template):
12654         * gst/gstghostpad.h:
12655         Refactored *_new() functions.
12656         Templates are now used as a g_object_new() parameter.
12657         Use template in _do_getcaps() if we don't have a target.
12658         Small documentation cleanups.
12659         Added two new constructors:
12660         gst_ghost_pad_new_from_template()
12661         gst_ghost_pad_new_no_target_from_template()
12662         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12663         (gst_ghost_pad_suite):
12664         Added tests for new ghostpad instanciation functions.
12665
12666         API additions: gst_ghost_pad_new_from_template,
12667         gst_ghost_pad_new_no_target_from_template
12668
12669 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12670
12671         * docs/random/ensonic/profiling.txt:
12672           Ideas about qos profiling.
12673
12674 2006-08-29  Wim Taymans  <wim@fluendo.com>
12675
12676         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12677         Code cleanups.
12678         Fix memleak.
12679
12680 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12681
12682         * gst/gstxml.c:
12683           Improve and detypofy docs.
12684
12685         * tests/check/Makefile.am:
12686         * tests/check/gst/.cvsignore:
12687         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12688           Add a basic test suite for GstXML.
12689
12690 2006-08-29  Wim Taymans  <wim@fluendo.com>
12691
12692         * gst/gstelement.c: (activate_pads), (clear_caps),
12693         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12694         Clear the pad caps when the element shut down all of the pads and
12695         is not streaming data that could modify the caps. 
12696         Fixes #352958.
12697
12698 2006-08-28  Michael Smith  <msmith@fluendo.com>
12699
12700         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12701           Revert previous change; I misunderstood single-segment mode.
12702
12703 2006-08-28  Michael Smith  <msmith@fluendo.com>
12704
12705         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12706           Unset DISCONT on buffers when using single-segment mode.
12707
12708 2006-08-28  Wim Taymans  <wim@fluendo.com>
12709
12710         * gst/gstcaps.c: (gst_caps_merge_structure):
12711         * gst/gstcaps.h:
12712         Fix docs and indentation again.
12713
12714         * tests/check/gst/gstquery.c: (GST_START_TEST):
12715         Fix leak in tests and add some more tests.
12716
12717 2006-08-28  Edward Hervey  <edward@fluendo.com>
12718
12719         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12720         Inform GstSegment of the last stop position in order for the current
12721         segment to have a proper duration if it doesn't have a specific stop
12722         position from which a duration could be calculated.
12723         This bug was noticeable when a non-flushing, non-update new segment was
12724         followed by another segment (all buffers from the new segment were being
12725         dropped).
12726
12727 2006-08-28  Wim Taymans  <wim@fluendo.com>
12728
12729         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12730         Small comment update.
12731
12732         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12733         (gst_identity_transform_ip):
12734         Drop-probability is broken, mention this in the code with a 
12735         FIXME and also in the property description.
12736         Make silent also be silent about the drop messages.
12737
12738 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12739
12740         * docs/manual/appendix-win32.xml:
12741           Remove mention of popt, we don't depend on that any
12742           longer (#353136). Add some comments pointing out that
12743           this section is slightly outdated.
12744
12745 2006-08-28  Wim Taymans  <wim@fluendo.com>
12746
12747         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12748
12749         * gst/gstquery.c: (gst_query_new_segment):
12750         * tests/check/gst/gstquery.c: (GST_START_TEST):
12751         Initialize variables when creating a new segment query.
12752         Fixes #353121.
12753
12754 2006-08-28  Wim Taymans  <wim@fluendo.com>
12755
12756         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12757
12758         * gst/gstelement.c: (gst_element_get_bus):
12759         * tests/check/gst/gstelement.c: (GST_START_TEST):
12760         Check for NULL before _reffing the bus. Fixes #353122.
12761
12762 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12763
12764         * docs/manual/basics-bus.xml:
12765           Docs update: fix wrong callback return value explanation; add
12766           some lines about the implicit relationship between main loop
12767           and main context; remove duplicate main loop variable declaration.
12768
12769 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12770
12771         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12772           Don't leak caps in unit test; add a few more simple
12773           checks. 
12774
12775 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12776
12777         * docs/gst/gstreamer-sections.txt:
12778         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12779         (gst_caps_structure_is_subset), (gst_caps_merge),
12780         (gst_caps_merge_structure):
12781         * gst/gstcaps.h:
12782         * libs/gst/base/gstbasetransform.c:
12783         (gst_base_transform_transform_caps):
12784         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12785           implement caps merging (fixes #352580)
12786
12787 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12788
12789         * tools/Makefile.am:
12790         * tools/gst-plot-timeline.py:
12791           add debug-log plotting developer tool (#340674)
12792
12793 2006-08-23  Wim Taymans  <wim@fluendo.com>
12794
12795         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12796         (gst_pad_stop_task):
12797         Improve debugging for task functions.
12798
12799         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12800         (gst_task_start), (gst_task_pause), (gst_task_join):
12801         Make sure that the task function started and finished after a 
12802         join(). 
12803         Don't try to push the task function on the threadpool multiple
12804         times.
12805         Improve the g_warning message with some useful suggestions
12806         about how to fix the problem. 
12807
12808 2006-08-23  Wim Taymans  <wim@fluendo.com>
12809
12810         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12811         Handle RESYNC correctly in _proxy_getcaps.
12812
12813 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12814
12815         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12816         (gst_xml_parse_memory), (gst_xml_get_element):
12817           Chain up to parent class in dispose function and also
12818           unref the elements in the toplevel_elements GList.
12819           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12820           Always return a reference in gst_xml_get_element() rather
12821           than only sometimes.
12822
12823         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12824           Don't leak GstXml object.
12825
12826 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12827
12828         * docs/gst/gstreamer-sections.txt:
12829         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12830         (gst_caps_merge):
12831         * gst/gstcaps.h:
12832         * libs/gst/base/gstbasetransform.c:
12833         (gst_base_transform_transform_caps):
12834           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12835           in a better way
12836
12837 2006-08-21  Edward Hervey  <edward@fluendo.com>
12838
12839         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12840         Implement GObject::dispose virtual method in GstXML so we can free the
12841         top_elements GList.
12842
12843 2006-08-21  Wim Taymans  <wim@fluendo.com>
12844
12845         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12846         (gst_buffer_create_sub):
12847         Copy duration/offset_end/caps when creating a subbuffer of the
12848         complete parent.
12849         Make the subbuffer read-only when we make the metadata writable for
12850         now. Fixes #351768.
12851
12852         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12853         Added check for metadata copy when creating subbuffers.
12854
12855 2006-08-21  Edward Hervey  <edward@fluendo.com>
12856
12857         * libs/gst/base/gstbasetransform.c:
12858         (gst_base_transform_buffer_alloc):
12859         Only call downstream buffer_alloc if transform element is passthrough
12860         or always_in_place. Closes #350449.
12861
12862 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12863
12864         * ChangeLog:
12865           ChangeLog surgery to add comments to previous changes
12866
12867 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12868
12869         * gst/gst.c:
12870           Add comments
12871
12872         * gst/gstpad.c: (gst_pad_set_active):
12873           Be more verbose in the log
12874
12875         * libs/gst/base/gstbasetransform.c:
12876         (gst_base_transform_transform_caps):
12877           Simplify caps to get rid of duplicates, fixes #345444
12878
12879 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12880
12881         * gst/gstvalue.c:
12882         * gst/gstvalue.h:
12883           Use these optimizations only internally.
12884
12885 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12886
12887         * gst/gstvalue.c: (gst_value_compare_list),
12888         (gst_value_compare_fraction_range),
12889         (gst_value_intersect_fraction_fraction_range),
12890         (gst_value_intersect_fraction_range_fraction_range),
12891         (gst_value_subtract_fraction_fraction_range),
12892         (gst_value_subtract_fraction_range_fraction_range),
12893         (gst_value_get_compare_func), (gst_value_compare),
12894         (gst_value_compare_with_func):
12895         * gst/gstvalue.h:
12896           Saves the expensive lookup of the compare function in many cases
12897          (#345444)
12898
12899 2006-08-18  Edward Hervey  <edward@fluendo.com>
12900
12901         * tests/check/gst/gstinfo.c: (gst_info_suite):
12902         Disable test that require gstdebug if it wasn't built in core.
12903
12904 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12905
12906         * docs/random/ensonic/logging.txt:
12907           update ideas
12908           
12909         * gst/gstinfo.c: (gst_debug_log_default):
12910           reorder fields, save some columns, add optional color codes for log
12911           levels
12912
12913 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12914
12915         * docs/random/ensonic/logging.txt:
12916           add ideas about making the logs a bit more useful
12917
12918 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12919
12920         * docs/pwg/advanced-events.xml:
12921         * docs/pwg/titlepage.xml:
12922           Update for 0.10 API (#340627). Add myself
12923           to authors list.
12924
12925 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12926
12927         * docs/libs/gstreamer-libs-docs.sgml:
12928         * docs/libs/gstreamer-libs-sections.txt:
12929         * libs/gst/check/gstbufferstraw.c:
12930           Make gstcheck stuff show up in docs (still needs to
12931           be documented properly though).
12932
12933 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12934
12935         * docs/gst/gstreamer-sections.txt:
12936         * gst/Makefile.am:
12937         * gst/gst.c: (init_post):
12938         * gst/gst_private.h:
12939         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12940         * gst/gstquark.h:
12941         * gst/gstquery.c: (gst_query_new_position),
12942         (gst_query_set_position), (gst_query_parse_position),
12943         (gst_query_new_duration), (gst_query_set_duration),
12944         (gst_query_parse_duration), (gst_query_new_convert),
12945         (gst_query_set_convert), (gst_query_parse_convert),
12946         (gst_query_new_segment), (gst_query_set_segment),
12947         (gst_query_parse_segment), (gst_query_new_seeking),
12948         (gst_query_set_seeking), (gst_query_parse_seeking):
12949         Add internal helpers for pre-registering quarks from static strings
12950         and using the quark values directly instead of looking them up when
12951         creating and parsing queries. Can be used for event construction too.
12952         Closes #350432.
12953
12954 2006-08-16  Wim Taymans  <wim@fluendo.com>
12955
12956         * gst/gstbin.c:
12957         Fix bogus docs.
12958
12959 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12960
12961         * gst/gstutils.c: (gst_util_set_value_from_string):
12962           Fix memleak (#351502).
12963
12964         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12965           Add unit test for most of gst_util_set_value_from_string()
12966           (not that one would want to encourage use of this function).
12967
12968 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12969
12970         * libs/gst/check/gstcheck.h:
12971           Use const gchar * variables in fail_unless_equals_string
12972           macro to avoid compiler warnings (and don't use tabs for
12973           indenting).
12974
12975 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12976
12977         * tools/gst-launch.c: (print_tag):
12978           More space on the left for the tag names, to cater
12979           for the 'extended comment' tag (not touching the
12980           string for the first line since it's translated).
12981
12982 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12983
12984         * libs/gst/check/gstcheck.h:
12985           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12986           print something when they fail.
12987
12988 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12989
12990         * docs/gst/gstreamer-sections.txt:
12991         * gst/gsttaglist.c: (_gst_tag_initialize):
12992         * gst/gsttaglist.h:
12993           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12994           Also change merge function for GST_TAG_COMMENT to
12995           use_first.
12996
12997 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12998
12999         * gst/gstinfo.c: (gst_debug_print_object):
13000           Make GST_PTR_FORMAT print messages as well.
13001
13002         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13003         (GST_START_TEST), (gst_info_suite):
13004           More tests.
13005
13006 2006-08-14  Edward Hervey  <edward@fluendo.com>
13007
13008         * gst/gstelementfactory.c: (gst_element_register):
13009         If the GstElementClass doesn't have a GstElementDetails with all fields
13010         filled up correctly (longname, description AND author), then error out
13011         nicely instead of crashing.
13012
13013 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13014
13015         * gst/gststructure.c:
13016           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13017
13018         * gst/gstvalue.h:
13019           Expand on the difference between arrays and lists as we use them.
13020           
13021 2006-08-14  Wim Taymans  <wim@fluendo.com>
13022
13023         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13024         If the parent state change function failed, don't assume we can safely
13025         stop the source, this will be done when the pads are deactivated.
13026
13027 2006-08-14  Wim Taymans  <wim@fluendo.com>
13028
13029         * gst/gstbuffer.c:
13030         * gst/gsttask.c: (gst_task_join):
13031         Small doc updates.
13032
13033         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13034         (gst_pad_stop_task):
13035         When pad (de)activation failed for some reason, restore the old
13036         activation mode and set the pad to flushing instead of assuming the
13037         pad is deactivated.
13038         If the _task_join() failed, reinstall the task on the pad so that it can
13039         be stopped later and return an error.
13040
13041 2006-08-11  Andy Wingo  <wingo@pobox.com>
13042
13043         * configure.ac:
13044         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13045         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13046         is only for users of API that don't want to see deprecated
13047         functions in the headers; people that want to compile out
13048         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13049         CFLAGS. Fixes the build of multifdsink, or will soon..
13050
13051 2006-08-11  Wim Taymans  <wim@fluendo.com>
13052
13053         * docs/gst/gstreamer-sections.txt:
13054         Add GstClockClass vmethod docs.
13055
13056         * gst/gstcaps.h:
13057         Mark #endif with comment for associated #if
13058
13059         * gst/gstclock.c: (gst_clock_id_wait):
13060         * gst/gstclock.h:
13061         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13062         most clock implementations.
13063         Document vmethods.
13064         Flesh out docs about resolution methods.
13065         API: GstClockClass::wait_jitter
13066
13067         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13068         (gst_system_clock_async_thread),
13069         (gst_system_clock_id_wait_jitter_unlocked),
13070         (gst_system_clock_id_wait_jitter):
13071         Use base class wait_jitter variant for improved performance
13072         due to less clock polling.
13073
13074 2006-08-11  Edward Hervey  <edward@fluendo.com>
13075
13076         * gst/gst.c: (gst_init_check), (init_post):
13077         Set gst as being initialized before scanning/updating the registry,
13078         since there might be my python plugin loader that calls gst_init() and
13079         we don't want to loop back in.
13080         Closes #350879
13081
13082 2006-08-11  Wim Taymans  <wim@fluendo.com>
13083
13084         * docs/design/part-qos.txt:
13085         Bring docs in line with the code. Mostly the sign of the jitter was
13086         wrong in the docs. Fixes #349943.
13087
13088         * gst/gstclock.c:
13089         Fix the docs for the jitter.
13090
13091         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13092         (gst_event_parse_tag), (gst_event_new_buffer_size),
13093         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13094         (gst_event_new_seek), (gst_event_parse_seek),
13095         (gst_event_new_navigation):
13096         Make sure the GstStructure has no parent when creating custom
13097         events.
13098         Add some more argument checking so that we avoid 0.0 rates.
13099         Flesh out the docs for the QoS event some more.
13100
13101 2006-08-11  Wim Taymans  <wim@fluendo.com>
13102
13103         * docs/gst/gstreamer-sections.txt:
13104         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13105         (ensure_current_registry_forking), (ensure_current_registry),
13106         (parse_one_option), (parse_goption_arg), (gst_deinit),
13107         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13108         * gst/gst.h:
13109         Doc updates.
13110         Added API and command line option to disable registry forking in
13111         addition to the environment variable.
13112         Constify some static arrays.
13113         Added some more debug.
13114         Don't deinit twice.
13115         API: gst_registry_fork_is_enabled()
13116         API: gst_registry_fork_set_enabled()
13117         API: --gst-disable-registry-fork command line option
13118         Fixes #348918.
13119
13120 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13121
13122         * gst/gst.c: (gst_init):
13123           Fix typo in error message.
13124
13125 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13126
13127         * libs/gst/controller/gstcontroller.h:
13128           fix ABI size-correction
13129
13130         * tests/check/libs/gdp.c: (gst_dp_suite):
13131           make tests that use deprecated API conditional
13132
13133 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13134
13135         * docs/libs/gstreamer-libs-sections.txt:
13136         * libs/gst/controller/gstcontroller.c:
13137         (_gst_controller_get_property), (_gst_controller_set_property),
13138         (_gst_controller_init), (_gst_controller_class_init):
13139         * libs/gst/controller/gstcontroller.h:
13140         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13141         (gst_object_set_control_rate):
13142           API: add gst_object_{s,g}et_control_rate(), add private data section,
13143           fix docs
13144
13145         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13146         * libs/gst/dataprotocol/dataprotocol.h:
13147           add deprecation guards to make gtk-doc happy and allow disabling cruft
13148
13149 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13150
13151         * tests/check/Makefile.am:
13152         * tests/check/gst/.cvsignore:
13153           Let's enable the new unit test as well.
13154
13155 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13156
13157         * configure.ac:
13158         * docs/gst/gstreamer-sections.txt:
13159         * gst/gstconfig.h.in:
13160         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13161         (_gst_info_printf_extension_ptr),
13162         (_gst_info_printf_extension_segment):
13163           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13164           register that lets us easily dump GstSegments into debug
13165           logs (#350419).
13166
13167         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13168         (info_segment_format_printf_extension), (gst_info_suite):
13169           Add simple unit test that logs a bunch of different segments (not
13170           valgrinded at the moment because of leaks in
13171           gst_debug_add_log_function).
13172
13173 2006-08-09  Edward Hervey  <edward@fluendo.com>
13174
13175         * libs/gst/base/gstbasetransform.c:
13176         (gst_base_transform_buffer_alloc):
13177         Even if we can't figure out the proper format to request downstream,
13178         call buffer_alloc() downstream with the input parameters without setting
13179         the caps on the srcpad. This will force negotiation in the chain
13180         function.
13181         Closes #350449
13182
13183 2006-08-08  Edward Hervey  <edward@fluendo.com>
13184
13185         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13186         Unlinking from a pad without a target is now a perfectly valid case
13187         which should NOT raise an assertion.
13188         This case would happen if a linked ghostpad its target set to NULL after
13189         it was previously linked.
13190
13191 2006-08-08  Edward Hervey  <edward@fluendo.com>
13192
13193         * tests/check/libs/gdp.c:
13194         Also comment out the test (see below).
13195
13196 2006-08-08  Edward Hervey  <edward@fluendo.com>
13197
13198         * tests/check/libs/gdp.c: (gst_dp_suite):
13199         Use the architecture information from config.h and not gcc macros
13200         in order to properly disable a test that fails on PPC64.
13201
13202 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13203
13204         * gst/gstelement.c: (gst_element_remove_pad):
13205           Don't crash printing the warning if the pad has no parent.
13206
13207 2006-08-02  Wim Taymans  <wim@fluendo.com>
13208
13209         * libs/gst/dataprotocol/dataprotocol.c:
13210         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13211         (gst_dp_crc), (gst_dp_header_payload_length),
13212         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13213         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13214         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13215         (gst_dp_event_from_packet), (gst_dp_validate_header),
13216         (gst_dp_validate_payload):
13217         Make debug category static
13218         Constify the crc table.
13219         Do some more arg checking in public functions.
13220         Fix some docs and do some small cleanups.
13221
13222         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13223         Add some more checks to see if GDP deals with bogus input.
13224
13225 2006-07-31  Wim Taymans  <wim@fluendo.com>
13226
13227         * gst/gstvalue.c: (gst_value_compare_list):
13228         Fix GstValueList comparison code. Fixes #347293.
13229
13230         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13231         Check to test GstValueList comparison.
13232
13233 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13234
13235         * gst/gstelementfactory.c: (gst_element_factory_create):
13236         Remove unnecessary ref/unref pair
13237
13238         * gst/parse/grammar.y:
13239         Make sure to free the parse buffer on all code paths.
13240         Move a g_free up to the error handler where it's easier to see.
13241
13242         * tests/check/gst/gstevent.c: (test_event):
13243         Extending timeout for downstream travelling events to 10 seconds to
13244         hopefully avoid intermittent failure on the buildbots.
13245
13246         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13247         Don't manually set the state of the src element - it will happen as a
13248         natural consequence of the pipeline changing state, and that way it
13249         will do it in the right order too.
13250
13251 2006-07-31  Wim Taymans  <wim@fluendo.com>
13252
13253         * libs/gst/base/gstbasetransform.c:
13254         (gst_base_transform_buffer_alloc):
13255         Use OBJECT_LOCK and refcounting to get the pad caps in the
13256         buffer_alloc function because the caps could change while we are
13257         busy with them. Fixes #349105
13258
13259 2006-07-31  Wim Taymans  <wim@fluendo.com>
13260
13261         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13262         Protect _PAD_CAPS with OBJECT_LOCK.
13263
13264 2006-07-31  Wim Taymans  <wim@fluendo.com>
13265
13266         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13267         (gst_pad_get_property), (gst_pad_activate_pull),
13268         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13269         (gst_pad_set_activate_function),
13270         (gst_pad_set_activatepull_function),
13271         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13272         (gst_pad_set_getrange_function),
13273         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13274         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13275         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13276         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13277         (gst_pad_set_acceptcaps_function),
13278         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13279         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13280         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13281         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13282         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13283         (gst_pad_configure_sink), (gst_pad_configure_src),
13284         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13285         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13286         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13287         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13288         (gst_pad_send_event):
13289         Use _DEBUG_OBJECT when it makes sense.
13290         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13291         Small cleanups and code reflows.
13292         Avoid caps refcounting in _accept_caps.
13293         Refactor alloc_buffer so that the code performed on the peer is in a
13294         separate function. Also if the pad does not implement a buffer alloc
13295         function, we should still check if the pad is flushing before falling
13296         back to the default allocator.
13297
13298 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13299
13300         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13301         Make all uses of identity and fakesink have silent=true to avoid
13302         serialising every passing data structure, which is breaking tests
13303         on FC4 for some unknown reason.
13304
13305 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13306
13307         * gst/parse/Makefile.am:
13308         * gst/parse/grammar.y:
13309         * gst/parse/parse.l:
13310           Reverted previous patch as it required to bump the flex dependency to
13311           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13312
13313 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13314
13315         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13316
13317         * gst/parse/Makefile.am:
13318         * gst/parse/grammar.y:
13319         * gst/parse/parse.l:
13320           push & pop the state of the lexer for reentrant use case
13321           Fixes #349180
13322
13323 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13324
13325         * libs/gst/base/gstbasesrc.h:
13326           Note in the docs that the ::newsegment vfunc is not actually used by
13327           GstBaseSrc.
13328
13329 2006-07-28  Wim Taymans  <wim@fluendo.com>
13330
13331         * libs/gst/base/gstcollectpads.c:
13332         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13333         (gst_collect_pads_clear), (gst_collect_pads_flush),
13334         (gst_collect_pads_event), (gst_collect_pads_chain):
13335         When flushing a pad, also clear the queued buffer so that we don't
13336         accidentally use it when we shouldn't.
13337         Fix leaks by inreffing incomming buffer.
13338         Flush out queued buffers in case of errors.
13339         Fixes #347452.
13340
13341 2006-07-28  Wim Taymans  <wim@fluendo.com>
13342
13343         * docs/random/phonon-gst:
13344         Random notes about a Phonon backend.
13345
13346 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13347
13348         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13349         Extra debug output
13350         * tests/check/libs/gdp.c: (gst_dp_suite):
13351         Take a whack at fixing the ppc compile using a different define to
13352         disable the broken test.
13353
13354         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13355         Remove excess g_print()
13356
13357 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13358
13359         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13360         Oops, meant to uncomment this line too to dampen the noise a bit.
13361
13362 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13363
13364         * gst/parse/grammar.y:
13365         * gst/parse/parse.l:
13366         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13367         (GST_START_TEST), (parse_suite):
13368         Fix some of the leaks exposed by extending the parse-launch testsuite,
13369         and move the 3 I can't figure out into a separate test that won't run
13370         the pipelines unless the appropriate line is uncommented.
13371
13372 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13373
13374         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13375           Requesting 0 bytes before the end of the file should result in
13376           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13377           unit test.
13378
13379 2006-07-27  Wim Taymans  <wim@fluendo.com>
13380
13381         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13382         Fix useless assert, a uint is always positive.
13383
13384         * gst/gststructure.c: (gst_structure_nth_field_name),
13385         (gst_structure_foreach), (gst_structure_map_in_place):
13386         Check input arguments for public functions to avoid obvious crashes.
13387
13388         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13389         * plugins/elements/gstfakesink.h:
13390         Do less useless typechecking.
13391
13392 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13393
13394         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13395           Do not use mmap() by default since there are a number of error
13396           conditions that we would like to handle in a non-fatal way that
13397           will result in a SIGBUS if we use mmap(). Examples: external
13398           devices (USB harddrive, portable music player) being unplugged
13399           while in use; file on mounted CD/DVD that can't be read because
13400           the medium is partly damaged. Fixes #348455 and #348475.
13401
13402 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13403
13404         * gst/gstquery.h:
13405         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13406         rates are a gdouble
13407
13408 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13409
13410         * gst/gstregistry.c:
13411           Move big documentation comment into class section header, so that it
13412           appears in the API docs.
13413
13414 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13415
13416         * docs/gst/gstreamer-sections.txt:
13417         Oops. Commit the docs additions too for new API.
13418         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13419
13420 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13421
13422         * gst/gststructure.c: (gst_structure_id_set),
13423         (gst_structure_id_set_valist):
13424         * gst/gststructure.h:
13425         Add API for setting values into structures without performing
13426         a quark lookup, if the appropriate quark is already known.
13427
13428         API: gst_structure_id_set
13429         API: gst_structure_id_set_valist
13430
13431         * gst/parse/grammar.y:
13432         * gst/parse/parse.l:
13433         Remove some dead code shown by the coverage information.
13434         Don't throw a critical g_warning when encountering a syntax error,
13435         just warn and let the normal error path handle it.
13436
13437         * plugins/elements/gstelements.c:
13438         Bump the rank of filesink up to PRIMARY so that it is preferred over
13439         gnomevfssink for file:// sink uri's
13440
13441         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13442         (GST_START_TEST), (run_delayed_test),
13443         (gst_parse_test_element_base_init),
13444         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13445         (gst_parse_test_element_change_state),
13446         (gst_register_parse_element), (parse_suite):
13447         Beef up the tests for parse syntax to check that more error cases
13448         fail as they are supposed to. Increases the test coverage a bit.
13449
13450 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13451
13452         * docs/manual/basics-elements.xml:
13453           Fix gst_element_link() example.
13454
13455         * gst/gstutils.c:
13456           Mention in API docs that one should usually gst_bin_add()
13457           elements to a bin or pipeline before doing the linking.
13458           
13459 2006-07-26  Wim Taymans  <wim@fluendo.com>
13460
13461         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13462         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13463         Avoid function call for known types by keeping the buffer and
13464         subbuffer GType global.
13465
13466         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13467         Random silly optimisations in read() path.
13468
13469 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13470
13471         * tools/gst-launch.c: (main):
13472           If the top-level of the parse is a normal bin, it doesn't do the
13473           right logic to run as a top-level element, so place it inside a
13474           pipeline.
13475
13476 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13477
13478         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13479           Remove superfluous g_object_notify() calls, GObject does
13480           that for us automatically.
13481
13482 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13483
13484         * gst/gstinfo.h:
13485           on Win32, use dllspec to export the debug category symbols
13486
13487 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13488
13489         * gst/gsttaglist.c: (_gst_tag_initialize):
13490           Allow more than one GST_TAG_IMAGE per taglist.
13491
13492 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13493
13494         * gst/gstminiobject.c:
13495           update docs
13496         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13497         (gst_fd_src_create):
13498           log recurring events at LOG level
13499           add more debug for when the fd gets set
13500
13501 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13502
13503         * gst/gstparse.c: (gst_parse_launch):
13504           Also remove reentrance checks if flex is MT safe (#348179)
13505          Fix my empty ChangeLog entry below
13506
13507 2006-07-21  Andy Wingo  <wingo@pobox.com>
13508
13509         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13510
13511         * libs/gst/check/Makefile.am
13512         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13513         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13514         * libs/gst/check/gstbufferstraw.h:
13515         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13516         functions, thus proving I am still a GStreamer haxor. OK I wrote
13517         them a long time ago, but anyways.
13518
13519 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13520
13521         * configure.ac:
13522         * gst/gstparse.c: (gst_parse_launch):
13523           Check for flex version and omit mutex if we have a MT save flex
13524           (fixes #348179)
13525
13526 2006-07-21  Wim Taymans  <wim@fluendo.com>
13527
13528         * gst/gstparse.c: (gst_parse_launch):
13529         Protect recursive calls to _parse with a recursive mutex
13530         and busy flag.
13531
13532 2006-07-21  Wim Taymans  <wim@fluendo.com>
13533
13534         * tests/check/gst/gstpad.c: (GST_START_TEST):
13535         Fix leak in test.
13536
13537 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13538
13539         * gst/gstparse.c: (gst_parse_launch):
13540           Do not hang on recursive usage of gst_parse_launch()
13541
13542 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13543
13544         * gst/gsttaglist.c:
13545           Add some more docs, comments and FIXME 0.11s here and there
13546           and also fix some typos.
13547
13548 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13549
13550         * gst/gstsegment.h:
13551           Convert tabs to spaces for better readability. 
13552
13553 2006-07-20  Edward Hervey  <edward@fluendo.com>
13554
13555         * tests/check/libs/gdp.c: (gst_dp_suite):
13556         the test_buffer test fails at line 140 on ppc64 at the following
13557         check:
13558         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13559                 GST_BUFFER_FLAG_IN_CAPS),
13560                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13561         See bug #348114 for more details.
13562
13563 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13564
13565         * docs/pwg/advanced-scheduling.xml:
13566         * gst/gstpad.c:
13567           Fix typos (#348000).
13568
13569 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13570
13571         * docs/pwg/intro-basics.xml:
13572           Fix wrong links (#347927).
13573
13574 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13575
13576         * gst/gstregistry.h:
13577         * gst/gstregistryxml.c: (load_feature),
13578         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13579         * win32/common/config.h:
13580           make --disable-index work (#342564)
13581
13582 2006-07-18  Wim Taymans  <wim@fluendo.com>
13583
13584         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13585
13586         * gst/Makefile.am:
13587         * gst/gsttrace.h:
13588         The attached patch adds two missing defines to gsttrace.h when tracing
13589         is disabled.  It also corrects one existing define.
13590         Fixes #347756.
13591
13592 2006-07-17  Wim Taymans  <wim@fluendo.com>
13593
13594         * docs/gst/gstreamer-sections.txt:
13595         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13596         * gst/gst.h:
13597         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13598         Add two functions to check and change the SIGSEGV behaviour
13599         when loading plugins.
13600         Don't mess with the SIGSEGV handler when we were told not to.
13601         Fixes #347794.
13602         API: gst_segtrap_is_enabled
13603         API: gst_segtrap_set_enabled
13604
13605 2006-07-14  Wim Taymans  <wim@fluendo.com>
13606
13607         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13608         * tests/check/elements/filesrc.c: (GST_START_TEST):
13609         Revert fix for regression in #347408 after release.
13610
13611 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13612
13613         Patch by: Antoine Tremblay <hexa00 at gmail com>
13614
13615         * gst/gstutils.c: (gst_element_unlink):
13616           Free iterator when done (#347311).
13617
13618         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13619           And add a test case for this.
13620
13621 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13622
13623         * configure.ac:
13624         Bump nano back to CVS
13625
13626 === release 0.10.9 ===
13627
13628 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13629
13630         * configure.ac:
13631           releasing 0.10.9, "On the road again"
13632
13633 2006-07-13  Wim Taymans  <wim@fluendo.com>
13634
13635         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13636         * tests/check/elements/filesrc.c: (GST_START_TEST):
13637         Revert pull-0 fix for release. Disable check. Fixes #347408.
13638
13639 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13640
13641         * libs/gst/dataprotocol/dataprotocol.c:
13642         (gst_dp_event_from_packet_1_0):
13643           Fixes #347337: failure to deserialize event packets with
13644           empty payload (only event type)
13645
13646 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13647
13648         * gst/Makefile.am:
13649           do not install a .c file in the header directory
13650
13651 2006-07-13  Edward Hervey  <edward@fluendo.com>
13652
13653         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13654         GhostPad no longer implicitely use the padtemplates of the targets.
13655         Fixes #347384
13656
13657 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13658
13659         * gst/gstvalue.c: (gst_value_compare_list),
13660         (gst_value_compare_array), (_gst_value_initialize):
13661         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13662         Make GstValueArray comparison be order dependent as designed.
13663         Add checks for value lists and value array comparisons.
13664         Fixes #347221
13665
13666 2006-07-11  Edward Hervey  <edward@fluendo.com>
13667
13668         * gst/gstbin.c: (activate_pads),
13669         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13670         (gst_bin_change_state_func):
13671         (de)activate src pads before calling state_change on the childs.
13672         This is to avoid the case where a src ghostpad is blocked (holding the
13673         stream lock), which would block the deactivation of the ghostpad's
13674         target pad.
13675         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13676         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13677         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13678         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13679         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13680         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13681         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13682         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13683         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13684         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13685         (gst_ghost_pad_class_init),
13686         (gst_ghost_pad_internal_do_activate_push),
13687         (gst_ghost_pad_internal_do_activate_pull),
13688         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13689         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13690         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13691         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13692         GhostPads now create their internal GstProxyPad at creation (and not
13693         when they're linked, as it was being done previously).
13694         The internal and target pads are linked straight away.
13695         The data will also travel through the other pad in order to make
13696         pad blocking and probes non-hackish (the probe/block now really happens
13697         on the GhostPad and not on the target).
13698         * gst/gstpad.c: (gst_pad_set_blocked_async),
13699         (gst_pad_link_prepare), (gst_pad_push_event):
13700         Remove previous ghostpad cruft.
13701         * gst/gstutils.c: (gst_pad_add_data_probe),
13702         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13703         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13704         (gst_pad_remove_buffer_probe):
13705         Remove previous ghost pad cruft.
13706         Added more detailed debug statements.
13707         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13708         Fix the testsuite for refcounting changes.
13709         The comments about who has references were correct, but the refcount
13710         being checked wasn't the same (!?!).
13711
13712         Fixes #341029
13713
13714 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13715
13716         * docs/gst/gstreamer-sections.txt:
13717         * gst/gstconfig.h.in:
13718         More docs for configuration options, add docs to gtk-doc.
13719
13720 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13721
13722         * gst/Makefile.am:
13723         * gst/gstconfig.h.in:
13724         * win32/common/config.h:
13725         Fix build when disabling tracing (fixes #344016). Also start to document
13726         the defines that disable the sub-systems.
13727
13728 2006-07-10  Edward Hervey  <edward@fluendo.com>
13729
13730         * gst/gst.c: (ensure_current_registry_forking):
13731         let's make valgrind happy...
13732
13733 2006-07-09  Wim Taymans  <wim@fluendo.com>
13734
13735         * gst/gstelement.c: (activate_pads),
13736         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13737         Better pad activation code: Reset the collect value too on resync.
13738         Add some comments.
13739
13740 2006-07-09  Wim Taymans  <wim@fluendo.com>
13741
13742         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13743         (gst_pad_activate_push):
13744         Use some more macros where it makes sense.
13745         Allow pad mode switching instead of asserting. When a pad
13746         is activated in one mode and we activate it in another, 
13747         deactivate it first before activating it in a different mode.
13748         Fixes #329198.
13749
13750 2006-07-08  Andy Wingo  <wingo@pobox.com>
13751
13752         * tools/gst-launch.c (main): Handle err == NULL.
13753
13754         * gst/gst.c (init_post, ensure_current_registry)
13755         (ensure_current_registry_forking)
13756         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13757         factoring out the registry scanning into separate functions. Don't
13758         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13759         Better environment var name/interface suggestions accepted.
13760
13761 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13762
13763         * gst/gstobject.c: (gst_object_set_name_default),
13764         (gst_object_set_name):
13765           Random micro-optimisation: don't use a hash table
13766           with strings as keys and the usual strdup/strcmp
13767           involved, but rather just use the GQuark of the
13768           type name as key, since it needs to be looked up
13769           anyway to get the type name string.
13770
13771         * tests/check/gst/gstobject.c: (GST_START_TEST):
13772           Fix various leaks.
13773
13774 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13775
13776         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13777         (gst_bin_iterate_all_by_interface):
13778           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13779           GTypes are gulongs and thus the top 4 bytes might be cut
13780           off on some platforms when doing GPOINTER_TO_INT, leading
13781           to invalid GTypes and bad things happening (see RH bug #179654).
13782           Also add a check to make sure the type passed in is really
13783           an interface type.
13784
13785 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13786
13787         * .cvsignore:
13788           Ignore more.
13789
13790 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13791
13792         * Makefile.am:
13793         * configure.ac:
13794         * gst-element-check.m4:
13795         * gst-element-check.m4.in:
13796           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13797           instead of the unversioned gst-inspect (#324176, #168659).
13798
13799 2006-07-06  Wim Taymans  <wim@fluendo.com>
13800
13801         * gst/gstmessage.h:
13802         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13803         warnings.
13804
13805 2006-07-06  Wim Taymans  <wim@fluendo.com>
13806
13807         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13808         (gst_base_src_wait), (gst_base_src_update_length),
13809         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13810         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13811         (gst_base_src_loop), (gst_base_src_start),
13812         (gst_base_src_activate_pull):
13813         Update docs.
13814         blocksize == 0 now means the default blocksize when working in push
13815         based mode.
13816         Remove some pointless asserts in _wait function.
13817         Fix offset/length calculations and EOS handling. We can now pull 0
13818         bytes as well, which is allowed.
13819         use _check_get_range() to decide if we can operate in _pull based
13820         mode.
13821         Fix refcounting leak when check_get_range function was not 
13822         implemented.
13823         API GstBaseSrc::blocksize range can be 0 too now (default)
13824
13825         * tests/check/elements/filesrc.c: (GST_START_TEST),
13826         (filesrc_suite):
13827         Added check to test _get_range() behaviour.
13828
13829 2006-07-06  Wim Taymans  <wim@fluendo.com>
13830
13831         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13832         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13833         (gst_pad_pull_range):
13834         * gst/gstpad.h:
13835         Lots of comments and docs added to the pad functions.
13836         Flesh out the expected behaviour of the get_range() functions.
13837
13838 2006-07-06  Wim Taymans  <wim@fluendo.com>
13839
13840         * gst/gstbus.h:
13841         * gst/gstclock.h:
13842         * gst/gstevent.h:
13843         * gst/gstiterator.h:
13844         * gst/gstpad.h:
13845         * gst/gstplugin.h:
13846         * gst/gsttask.h:
13847         Remove comma at end of enumerator list. 
13848
13849 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13850
13851         * win32/common/libgstbase.def:
13852         * win32/common/libgstdataprotocol.def:
13853         * win32/common/libsgtreamer.def:
13854         Add new exported functions.
13855
13856 2006-07-05  Wim Taymans  <wim@fluendo.com>
13857
13858         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13859         Add some more docs here and there.
13860
13861 2006-07-05  Wim Taymans  <wim@fluendo.com>
13862
13863         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13864         (gst_base_sink_loop), (gst_base_sink_get_position):
13865         When operating in pull mode update the offset so that we
13866         read sequentially.
13867
13868 2006-07-05  Wim Taymans  <wim@fluendo.com>
13869
13870         * gst/gstregistryxml.c: (read_string):
13871         Avoid strdup. (will happen in libxml, but hey!)
13872
13873         * gst/gsturi.c:
13874         Add some more docs.
13875
13876 2006-07-05  Wim Taymans  <wim@fluendo.com>
13877
13878         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13879         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13880         (gst_buffer_suite):
13881         No point in checking if the size of the subbuffer > 0, the
13882         code handles it correclty as demonstrated by unit test.
13883         Also add a unit test for the zero sized _new_and_alloc and
13884         _copy. Fixes #346663.
13885
13886 2006-07-05  Wim Taymans  <wim@fluendo.com>
13887
13888         * libs/gst/base/gstbasetransform.c:
13889         (gst_base_transform_prepare_output_buffer),
13890         (gst_base_transform_buffer_alloc),
13891         (gst_base_transform_handle_buffer):
13892         Make sure the buffer we pass to transform_ip has a refcount of
13893         1 and thus is writable. Fixes #343196
13894
13895 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13896
13897         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13898         (gst_file_src_init), (gst_file_src_set_property),
13899         (gst_file_src_get_property), (gst_file_src_map_region):
13900         * plugins/elements/gstfilesrc.h:
13901         Add "sequential" property, off by default, to use madvise and hint
13902         to the kernel that sequential access is desired.
13903         Touch all retrieved pages by default to ensure they are pulled
13904         into memory. (Closes #345720)
13905
13906 2006-07-03  Wim Taymans  <wim@fluendo.com>
13907
13908         * docs/design/part-block.txt:
13909         * docs/design/part-dynamic.txt:
13910         Small docs updates.
13911
13912 2006-07-03  Wim Taymans  <wim@fluendo.com>
13913
13914         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13915         (gst_caps_unref), (gst_static_caps_get),
13916         (gst_caps_append_structure):
13917         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13918         Use GSlice when the glib we build against is >= 2.10
13919
13920 2006-07-03  Wim Taymans  <wim@fluendo.com>
13921
13922         * gst/gstelement.c: (gst_element_pads_activate):
13923         Small cleanup in pad activation code.
13924
13925 2006-07-03  Wim Taymans  <wim@fluendo.com>
13926
13927         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13928
13929         * gst/gst-i18n-app.h:
13930         * gst/gst-i18n-lib.h:
13931         * tools/gst-inspect.c: (print_signal_info):
13932         The attached patch will make the inclusion of gettext.h unconditional in
13933         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13934         libintl.h in tools/gst-inspect.c.
13935         This allows use of --disable-nls again and fixes #344642.
13936
13937 2006-07-03  Edward Hervey  <edward@fluendo.com>
13938
13939         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13940         Implement pad blocking on events according to part-block.txt.
13941         More comments on behaviour.
13942         * tests/check/gst/gstevent.c: (test_event):
13943         Send event to peer pad of blocked pad (else it will block).
13944
13945 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13946
13947         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13948         (gst_check_run_suite):
13949           if we get the wrong message, give us the types as string
13950         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13951           Fix a translatable
13952         * tests/check/elements/filesrc.c: (GST_START_TEST):
13953           add a test for trying to open a non-existing file
13954
13955 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13956
13957         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13958           add a test for adding self
13959
13960 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13961
13962         * libs/gst/check/gstcheck.h:
13963           add some assert_ as alias for fail_unless_*
13964         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13965           increase test coverage
13966
13967 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13968
13969         * Makefile.am:
13970           include lcov.mak for lcov coverage generation
13971         * tools/Makefile.am:
13972           add to CLEANFILES
13973
13974 2006-07-02  Edward Hervey  <edward@fluendo.com>
13975
13976         * tests/check/elements/.cvsignore:
13977         moaping
13978
13979 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13980
13981         * configure.ac:
13982           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13983         * tests/check/Makefile.am:
13984           clean up gcov files
13985
13986 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13987
13988         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13989           remove gst_caps_simplify; it was not declared and not used
13990           and deprecated in 0.8
13991
13992 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13993
13994         * docs/faq/gst-uninstalled:
13995           don't put empty paths on PYTHONPATH
13996         * docs/gst/gstreamer-sections.txt:
13997           remove some symbols that are not there
13998
13999 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14000
14001         * gst/gstcaps.c: (gst_caps_compare_structures):
14002           whitespace fixes
14003         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14004         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14005           add more tests
14006
14007 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14008
14009         * libs/gst/dataprotocol/Makefile.am:
14010           build dataprotocol test by linking to the lib, instead of
14011           compiling the source, so we get coverage
14012         * tests/check/Makefile.am:
14013         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14014         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14015           add a test for filesrc
14016
14017 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14018
14019         * tests/check/gst/gststructure.c: (GST_START_TEST),
14020         (gst_structure_suite):
14021           Push coverage from 59.04% to 70.00%
14022
14023 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14024
14025         * tests/check/Makefile.am:
14026           gst-inspect every element; this makes sure that we also get
14027           coverage on element's get/set functions
14028
14029 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14030
14031         * configure.ac:
14032           set CFLAGS and friends to -O0 if gcov is being used
14033           add GCOV LIBS
14034         * gst/Makefile.am:
14035         * libs/gst/base/Makefile.am:
14036         * libs/gst/check/Makefile.am:
14037         * libs/gst/controller/Makefile.am:
14038         * libs/gst/dataprotocol/Makefile.am:
14039         * libs/gst/net/Makefile.am:
14040         * plugins/elements/Makefile.am:
14041         * plugins/indexers/Makefile.am:
14042           add makefile rules to generate gcov data and clean up
14043         * tests/check/Makefile.am:
14044           add a coverage target that generates an html overview
14045           of coverage data
14046
14047 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14048
14049         * tests/check/elements/fakesink.c:
14050         * tests/check/elements/fakesrc.c:
14051         * tests/check/elements/fdsrc.c:
14052         * tests/check/elements/identity.c:
14053         * tests/check/generic/sinks.c: (gst_sinks_suite):
14054         * tests/check/generic/states.c:
14055         * tests/check/gst/gst.c:
14056         * tests/check/gst/gstabi.c:
14057         * tests/check/gst/gstbin.c:
14058         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14059         * tests/check/gst/gstbus.c: (gst_bus_suite):
14060         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14061         * tests/check/gst/gstelement.c:
14062         * tests/check/gst/gstevent.c: (gst_event_suite):
14063         * tests/check/gst/gstghostpad.c:
14064         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14065         * tests/check/gst/gstmessage.c: (gst_message_suite):
14066         * tests/check/gst/gstminiobject.c:
14067         * tests/check/gst/gstobject.c:
14068         * tests/check/gst/gstpad.c:
14069         * tests/check/gst/gstpipeline.c:
14070         * tests/check/gst/gstplugin.c:
14071         * tests/check/gst/gstquery.c: (gst_query_suite):
14072         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14073         * tests/check/gst/gststructure.c:
14074         * tests/check/gst/gstsystemclock.c:
14075         * tests/check/gst/gsttag.c:
14076         * tests/check/gst/gsttask.c: (gst_task_suite):
14077         * tests/check/gst/gstutils.c:
14078         * tests/check/gst/gstvalue.c:
14079         * tests/check/libs/adapter.c:
14080         * tests/check/libs/basesrc.c:
14081         * tests/check/libs/collectpads.c:
14082         * tests/check/libs/controller.c:
14083         * tests/check/libs/gdp.c: (gst_dp_suite):
14084         * tests/check/libs/gstnetclientclock.c:
14085         * tests/check/libs/gstnettimeprovider.c:
14086         * tests/check/libs/libsabi.c: (libsabi_suite):
14087         * tests/check/libs/typefindhelper.c:
14088         * tests/check/pipelines/cleanup.c:
14089         * tests/check/pipelines/parse-launch.c:
14090         * tests/check/pipelines/simple-launch-lines.c:
14091         * tests/check/pipelines/stress.c: (stress_suite):
14092           use the new macro
14093
14094 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14095
14096         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14097         * libs/gst/check/gstcheck.h:
14098           create a macro and function so that the simple unit test
14099           case can be just one macro to create main()
14100
14101 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14102
14103         * gst/gstbin.c: (gst_bin_restore_thyself):
14104         * gst/gstxml.c: (gst_xml_make_element):
14105           Fix deserialisation from XML. Set parent manually
14106           instead of using gst_bin_add(), since gst_bin_add()
14107           will unlink all pads of the element being added.
14108           Fixes #341667.
14109
14110 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14111
14112         Patch by: Peter Kjellerstedt <pkj at axis com>
14113
14114         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14115           Fix missing g_strdup() and double free when using the
14116           --gst-plugin-load command line option (#346097).
14117
14118 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14119
14120         * gst/gstinfo.c:
14121           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14122
14123         * libs/gst/net/gstnetclientclock.c:
14124         * libs/gst/net/gstnettimeprovider.c:
14125           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14126
14127 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14128
14129         * docs/manual/advanced-dataaccess.xml:
14130           Fix buffer probe example compilation in
14131           ADM (#345708).
14132         
14133 2006-06-22  Edward Hervey  <edward@fluendo.com>
14134
14135         * gst/gstelement.c: (gst_element_pads_activate):
14136         We need to deactivate src pads first and then sink pads.
14137         The reason is the src pads might be blocking while holding the streaming
14138         lock, so we need to deactivate them first so that deactivating the sink
14139         pads doesn't block (since it will require the streaming lock).
14140
14141 2006-06-22  Wim Taymans  <wim@fluendo.com>
14142
14143         * libs/gst/base/gstbasetransform.c:
14144         (gst_base_transform_buffer_alloc):
14145         Forgot to remove two unneeded unrefs.
14146         Simplify a check _is_equal allready checks the obvious case.
14147
14148 2006-06-22  Wim Taymans  <wim@fluendo.com>
14149
14150         * docs/design/part-block.txt:
14151         Some docs about what pad_block should do.
14152
14153 2006-06-22  Wim Taymans  <wim@fluendo.com>
14154
14155         * gst/gstcaps.c: (gst_caps_replace):
14156         Fix crasher when passed NULL. Doc clarification.
14157         Optimize for the trivial case.
14158
14159         * gst/gstpipeline.c: (gst_pipeline_change_state):
14160         Small cleanups.
14161
14162         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14163         Small documentation cleanup.
14164
14165         * libs/gst/base/gstbasetransform.c:
14166         (gst_base_transform_buffer_alloc):
14167         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14168         is what we need and it avoids a whole lot of redundant 
14169         refcount operations.
14170
14171 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14172
14173         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14174
14175         * docs/manual/advanced-dataaccess.xml:
14176           Fix 'Embedding static elements' section to use
14177           GST_PLUGIN_DEFINE_STATIC (#345607).
14178
14179 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14180
14181         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14182           Attempt to 'fix' spuriously failing test case: it seems like the
14183           timeout of half a second is simply too small when the system is under
14184           load otherwise, and the timeout doesn't really seem to serve any
14185           particular purpose here. Give the pipeline a few seconds to preroll
14186           first, and then give it another half a second to go from PAUSED to
14187           PLAYING and marshal the message into the main thread.
14188
14189 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14190
14191         * tools/gst-feedback-m.m:
14192           Don't only use unversioned tools, try versioned tools as well
14193           (#345086).
14194
14195 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14196
14197         * gst/gstbus.c: (gst_bus_class_init):
14198           Fix some typos, make docs more explicit.
14199
14200 2006-06-20  Wim Taymans  <wim@fluendo.com>
14201
14202         * tests/check/gst/gstghostpad.c: (block_callback),
14203         (GST_START_TEST), (gst_ghost_pad_suite):
14204         Added some more ghostpad tests, mainly blocking
14205         and probes.
14206
14207 2006-06-16  Wim Taymans  <wim@fluendo.com>
14208
14209         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14210         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14211         (gst_file_sink_event), (gst_file_sink_render):
14212         * plugins/elements/gstfilesink.h:
14213         Check if we can seek in the file instead of assuming
14214         we always can. Post an error when we are asked to seek in a
14215         non-seekable file (like a fifo). Fixes #343312.
14216         Some cleanups.
14217
14218 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14219
14220         * tools/gst-launch.1.in:
14221           Un-garble (fourcc) bit in filtered caps section.
14222
14223 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14224
14225         * docs/manual/advanced-autoplugging.xml:
14226         * docs/manual/basics-helloworld.xml:
14227         * docs/manual/highlevel-components.xml:
14228           Don't leak bus reference in sample code.
14229
14230 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14231
14232         * autogen.sh:
14233           Add default for new --enable-plugin-docs switch.
14234
14235         * configure.ac:
14236           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14237           Fixes #344039.
14238
14239         * docs/Makefile.am:
14240           Use new ENABLE_PLUGIN_DOCS conditional.
14241
14242 2006-06-14  Wim Taymans  <wim@fluendo.com>
14243
14244         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14245         Make it clear with a FIXME and a real define what the #if 0
14246         previously disabled.
14247
14248 2006-06-14  Wim Taymans  <wim@fluendo.com>
14249
14250         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14251         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14252         * libs/gst/base/gstbasetransform.c:
14253         (gst_base_transform_sink_eventfunc):
14254         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14255         Don't randomly and silently reset a segment when the format 
14256         changes as this is a bug somewhere upstream. Fixes #330379.
14257
14258 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14259
14260         Patch by: Wouter Paesen  <wouter at kangaroot net>
14261
14262         * libs/gst/controller/gstcontroller.c:
14263         (gst_controlled_property_new):
14264           Fix controlling of float properties (#344849).
14265
14266         * tests/check/libs/controller.c:
14267         (gst_test_mono_source_get_property),
14268         (gst_test_mono_source_set_property),
14269         (gst_test_mono_source_class_init), (GST_START_TEST):
14270           While we're at it, add some float stuff to unit test.
14271
14272 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14273
14274         * docs/README:
14275         * docs/images/gdp-header.svg:
14276           add a gdp image
14277         * docs/libs/Makefile.am:
14278         * docs/libs/gdp-header.png:
14279         * libs/gst/dataprotocol/dataprotocol.c:
14280           add it to the API docs
14281         * docs/manual/intro-motivation.xml:
14282           fix typo
14283
14284 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14285
14286         * gst/gst.c: (scan_and_update_registry), (init_post):
14287           If the fork()'ed child process can't write the updated registry cache
14288           file to disk for some reason, make it exit with a failure exit code,
14289           so that the parent can then re-scan the plugins itself and update the
14290           registry structures in memory and work with that (rather than failing
14291           when creating elements because seemingly no plugins are available).
14292           Refactor registry scanning code into separate function for this and
14293           also separate fork() and non-fork() code paths. Fixes #344748.
14294
14295 2006-06-13  Wim Taymans  <wim@fluendo.com>
14296
14297         * docs/manual/advanced-dataaccess.xml:
14298         Fix wrong PluginDesc. Fixes #344755.
14299
14300 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14301
14302         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14303           Fix silly bug that prevented us from creating
14304           ~/.gstreamer-0.10 and writing the registry in one
14305           go (the first call to g_mkstemp() would overwrite the
14306           placeholder in the template string, so the second call
14307           to g_mkstemp() after creating the missing directory
14308           would then error out with 'invalid argument').
14309
14310 2006-06-13  Edward Hervey  <edward@fluendo.com>
14311
14312         * gst/gst.c: (init_post):
14313         Free string.
14314
14315 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14316
14317         * gst/glib-compat-private.h:
14318         * gst/glib-compat.c:
14319         * gst/glib-compat.h:
14320         * gst/gstvalue.c: (gst_value_serialize_flags):
14321           remove GLib 2.6 compatibility code
14322
14323 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14324
14325         * gst/parse/Makefile.am:
14326           Fix build with 'make -j N' even more (#340016).
14327
14328 2006-06-12  Wim Taymans  <wim@fluendo.com>
14329
14330         * docs/gst/gstreamer-sections.txt:
14331         Fix docs.
14332
14333 2006-06-12  Wim Taymans  <wim@fluendo.com>
14334
14335         * gst/gstsegment.c: (gst_segment_set_duration),
14336         (gst_segment_set_last_stop), (gst_segment_set_seek),
14337         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14338         (gst_segment_to_running_time), (gst_segment_clip):
14339         Use G_UNLIKELY to help the compiler a bit.
14340
14341 2006-06-12  Wim Taymans  <wim@fluendo.com>
14342
14343         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14344
14345         * gst/gstevent.c: (gst_event_get_type):
14346         * gst/gstmessage.c:
14347         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14348         (gst_pad_push):
14349         constify quark registration strings. Fixes #344115
14350         Avoid unneeded type checking is _pad_push() by internally
14351         calling gst_pad_chain_unchecked().
14352
14353 2006-06-12  Wim Taymans  <wim@fluendo.com>
14354
14355         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14356         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14357         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14358         (gst_buffer_is_span_fast), (gst_buffer_span):
14359         Init _type for consistency.
14360         Use _FLAGS macro to avoid type check.
14361         Avoid unneeded type checks in subbufer code.
14362
14363 2006-06-12  Wim Taymans  <wim@fluendo.com>
14364
14365         * gst/gst.c: (gst_debug_help):
14366         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14367         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14368         (gst_plugin_feature_list_free):
14369         * gst/gstregistry.c: (gst_registry_add_plugin),
14370         (gst_registry_add_feature), (gst_registry_plugin_filter),
14371         (gst_registry_feature_filter), (gst_registry_find_plugin),
14372         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14373         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14374         * gst/gstregistryxml.c: (load_feature),
14375         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14376         * gst/gstminiobject.c: (gst_mini_object_unref),
14377         (gst_mini_object_replace), (gst_value_mini_object_free),
14378         (gst_value_mini_object_copy):
14379         Use _CAST macros to avoid unneeded type checking.
14380         Added some more G_UNLIKELY.
14381
14382 2006-06-12  Wim Taymans  <wim@fluendo.com>
14383
14384         * gst/gstbuffer.h:
14385         Avoid unneeded type checking.
14386         API: GST_BUFFER_IS_DISCONT
14387
14388         * gst/gstminiobject.h:
14389         Avoid type check in flag accessor.
14390
14391         * gst/gstelementfactory.h:
14392         * gst/gstplugin.h:
14393         * gst/gstpluginfeature.h:
14394         Add _CAST macros.
14395         API: GST_ELEMENT_FACTORY_CAST
14396         API: GST_PLUGIN_CAST
14397         API: GST_PLUGIN_FEATURE_CAST
14398
14399 2006-06-12  Wim Taymans  <wim@fluendo.com>
14400
14401         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14402         (gst_object_unref):
14403         Add G_UNLIKELY in type registration.
14404         Avoid type check in _ref/_unref since that is also
14405         done in glib.
14406
14407 2006-06-12  Wim Taymans  <wim@fluendo.com>
14408
14409         * gst/gsterror.c: (gst_g_error_get_type):
14410         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14411         (gst_static_pad_template_get_type):
14412         * gst/gsttaglist.c: (gst_tag_list_get_type):
14413         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14414         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14415         * gst/gsturi.c: (gst_uri_handler_get_type):
14416         * gst/gstvalue.c: (gst_date_get_type):
14417         * gst/gstxml.c: (gst_xml_get_type):
14418         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14419         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14420         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14421         Add G_UNLIKELY in type registration.
14422
14423 2006-06-12  Wim Taymans  <wim@fluendo.com>
14424
14425         * tools/gst-inspect.c: (print_signal_info):
14426         Properly print enum values.
14427
14428 2006-06-12  Wim Taymans  <wim@fluendo.com>
14429
14430         * gst/gstinfo.c: (gst_debug_set_active),
14431         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14432         * gst/gstinfo.h:
14433         Add some G_[UN]LIKELY.
14434         Maintain __gst_debug_min to avoid formatting the arguments of
14435         debug messages that will be dropped anyway to avoid a lot of 
14436         overhead from the debugging system.
14437
14438 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14439
14440         * po/POTFILES.in:
14441         * po/POTFILES.skip:
14442           add missing files containing translatable strings, tell intltool about
14443           one exception
14444
14445 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14446
14447         * tests/check/libs/.cvsignore:
14448         add test-binary to ignore list
14449
14450 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14451
14452         * docs/libs/gstreamer-libs-docs.sgml:
14453         reorder (put dp into a chapter) and indent
14454
14455 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14456
14457         * configure.ac:
14458           back to HEAD
14459
14460 === release 0.10.8 ===
14461
14462 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14463
14464         * configure.ac:
14465           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14466
14467 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14468
14469         * gst/gst.c: (init_post):
14470           move pid declaration to declaration block
14471
14472 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14473
14474         * gst/gst.c: (init_post):
14475           use _exit() instead of exit() in our forked child; this ensures
14476           that none of the registered exit handlers from whatever is using
14477           GStreamer get executed.  This fixes gnome-mixer-applet failing
14478           to load, because ORBit would shut down.
14479           Spotted by: Edward Hervey  <edward@fluendo.com>
14480           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14481           Fixes #344474
14482
14483 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14484
14485         * configure.ac:
14486           back to TRUNK
14487
14488 === release 0.10.7 ===
14489
14490 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14491
14492         * configure.ac:
14493           releasing 0.10.7, "Soepeke, ik zie ou"
14494
14495 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14496
14497         * configure.ac:
14498         * po/af.po:
14499         * po/az.po:
14500         * po/bg.po:
14501         * po/ca.po:
14502         * po/cs.po:
14503         * po/de.po:
14504         * po/en_GB.po:
14505         * po/fr.po:
14506         * po/it.po:
14507         * po/nb.po:
14508         * po/nl.po:
14509         * po/ru.po:
14510         * po/sq.po:
14511         * po/sr.po:
14512         * po/sv.po:
14513         * po/tr.po:
14514         * po/uk.po:
14515         * po/vi.po:
14516         * po/zh_CN.po:
14517         * po/zh_TW.po:
14518         * win32/common/config.h:
14519           0.10.6.2 prerelease
14520
14521 2006-06-07  Wim Taymans  <wim@fluendo.com>
14522
14523         * gst/gstindex.c: (gst_index_gtype_resolver):
14524         * tools/gst-xmlinspect.c: (print_plugin_info):
14525         Fix leak spotted by coverity checker. Fixes #343827
14526         Fix another other leak found by paolo borelli.
14527
14528 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14529
14530         * libs/gst/dataprotocol/dataprotocol.c:
14531         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14532         (gst_dp_version_get_type), (gst_dp_init),
14533         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14534         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14535         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14536         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14537         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14538         (gst_dp_packetizer_free):
14539         * libs/gst/dataprotocol/dataprotocol.h:
14540           API: add a GstDPPacketizer object, and create/free functions
14541           API: add GstDPVersion enum
14542           Add 1.0 event function that uses the string serialization
14543           Serialize more useful buffer flags
14544           Fixes #343988
14545
14546 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14547
14548         * tests/check/Makefile.am:
14549         * tests/check/gst/gstabi.c:
14550         * tests/check/gst/struct_ppc64.h:
14551         * tests/check/libs/libsabi.c:
14552         * tests/check/libs/struct_ppc64.h:
14553           add ppc64 structure sizes
14554
14555 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14556
14557         * tests/check/Makefile.am:
14558         * tests/check/gst/gstabi.c:
14559         * tests/check/gst/struct_x86_64.h:
14560         * tests/check/libs/libsabi.c:
14561         * tests/check/libs/struct_x86_64.h:
14562           generate and add structure size lists for x86_64
14563
14564 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14565
14566         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14567         * libs/gst/check/gstcheck.h:
14568           factor out the method from tests that checks size of structures,
14569           and add code to generate the header containing these sizes
14570         * tests/check/gst/gstabi.c: (GST_START_TEST):
14571         * tests/check/gst/struct_i386.h:
14572         * tests/check/libs/libsabi.c: (GST_START_TEST):
14573         * tests/check/libs/struct_i386.h:
14574           use it
14575
14576 2006-06-06  Michael Smith  <msmith@fluendo.com>
14577
14578         * gst/gstsegment.h:
14579           Don't use c++-style comments, fixes #343929
14580
14581 2006-06-05  Edward Hervey  <edward@fluendo.com>
14582
14583         * gst/gst.c:
14584         plugin_paths is not used if we build without registry support.
14585
14586         * gst/gstsegment.c: (gst_segment_copy): 
14587         _copy() was always returning NULL...
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 CRC code
14595
14596 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14597
14598         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14599           make sure we unset caps
14600
14601 2006-06-02  Michael Smith  <msmith@fluendo.com>
14602
14603         * libs/gst/check/gstcheck.c: (gst_check_init),
14604         (gst_check_chain_func):
14605         * libs/gst/check/gstcheck.h:
14606           Add a cond/mutex to the check support lib, signal this whenever we
14607           add to the buffers list. This will allow tests to not busy-wait on
14608           the buffer-list.
14609
14610 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14611
14612         * libs/gst/dataprotocol/dataprotocol.c:
14613         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14614         (gst_dp_packet_from_event):
14615           factor out some common header init code
14616
14617 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14618
14619         * docs/libs/gstreamer-libs-sections.txt:
14620         * docs/libs/tmpl/gstdataprotocol.sgml:
14621         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14622         * libs/gst/dataprotocol/dataprotocol.h:
14623           API: make gst_dp_crc() public
14624
14625 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14626
14627         * plugins/indexers/gstindexers.c: (plugin_init):
14628         conditionally register fileindexer (fixes #343598)
14629
14630 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14631
14632         * gst/gsttagsetter.h:
14633         Can't cast ifaces to a class
14634
14635         * libs/gst/net/gstnetclientclock.h:
14636         * libs/gst/net/gstnettimeprovider.h:
14637         * plugins/elements/gstfakesink.h:
14638         * plugins/elements/gstfakesrc.h:
14639         * plugins/elements/gstfdsink.h:
14640         * plugins/elements/gstfdsrc.h:
14641         * plugins/elements/gstfilesink.h:
14642         * plugins/elements/gstfilesrc.h:
14643         * plugins/elements/gstidentity.h:
14644         * plugins/elements/gstqueue.h:
14645         * plugins/elements/gsttee.h:
14646         * plugins/indexers/gstfileindex.c:
14647         * plugins/indexers/gstmemindex.c:
14648         * tests/old/examples/plugins/example.h:
14649         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14650
14651 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14652
14653         * libs/gst/dataprotocol/dataprotocol.c:
14654         (gst_dp_header_from_buffer):
14655           make sure we zero the whole ABI-compatible area
14656
14657 2006-06-01  Wim Taymans  <wim@fluendo.com>
14658
14659         Patch by: Alessandro Decina <alessandro at nnva dot org>
14660
14661         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14662         Make sure the EOS flag is cleared from pads after a flush
14663         or stop. Fixes #343538.
14664
14665         * tests/check/libs/collectpads.c: (GST_START_TEST),
14666         (gst_collect_pads_suite):
14667         Added test for collectpads reusage after EOS.
14668
14669 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14670
14671         * gst/gst.c:
14672          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14673         * win32/common/libgstbase.def:
14674          export gst_collect_pads_set_flushing
14675         * win32/common/libgstreamer.def:
14676          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14677          gst_value_fraction_multiply
14678         * win32/vs6/gst_inspect.dsp:
14679          add a link to intl.lib
14680
14681 2006-05-30  Wim Taymans  <wim@fluendo.com>
14682
14683         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14684         (gst_collect_pads_chain):
14685         Handle the case where a pad is removed from the collection
14686         that could cause the other pads to become collectable.
14687
14688 2006-05-30  Wim Taymans  <wim@fluendo.com>
14689
14690         * gst/gstelement.c:
14691         Clarify the use of _release_request_pad() and
14692         _get_request_pad() a bit better.
14693
14694         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14695         (gst_adapter_take_buffer):
14696         Fix some doc and comment typos.
14697
14698 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14699
14700         * docs/gst/gstreamer-sections.txt:
14701         * docs/libs/gstreamer-libs-sections.txt:
14702           add declared symbols
14703
14704 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14705
14706         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14707         Add debug that can be enabled using a #define at the top of the file,
14708         for dumping stats about how late/early we were when waking up from
14709         waiting on the clock.
14710
14711 2006-05-30  Wim Taymans  <wim@fluendo.com>
14712
14713         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14714         When rebuilding the pad list, don't leak the previous list.
14715
14716 2006-05-30  Wim Taymans  <wim@fluendo.com>
14717
14718         Patch by: Lutz Mueller <lutz at topfrose dot de>
14719
14720         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14721         (gst_base_src_get_query_types), (gst_base_src_update_length):
14722         Publish supported query types.
14723         Update last_stop field in get_range mode so the position
14724         query works. Fixes #342321.
14725
14726 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14727
14728         * docs/gst/gstreamer-sections.txt:
14729         * gst/gsttaglist.c: (_gst_tag_initialize):
14730         * gst/gsttaglist.h:
14731           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14732
14733 2006-05-30  Wim Taymans  <wim@fluendo.com>
14734
14735         Patch by: Alessandro Decina <alessandro at nnva dot org>
14736
14737         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14738         Unlock mutex when removing an unknown pad.
14739         Fixes #343334.
14740
14741         * tests/check/Makefile.am:
14742         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14743         (push_event), (setup), (teardown), (GST_START_TEST),
14744         (gst_collect_pads_suite), (main):
14745         Added collecpads check, disabled for now as check crashes for
14746         some reason.
14747
14748 2006-05-29  Wim Taymans  <wim@fluendo.com>
14749
14750         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14751         Don't leak pads lists.
14752
14753 2006-05-29  Wim Taymans  <wim@fluendo.com>
14754
14755         * docs/libs/gstreamer-libs-sections.txt:
14756         * libs/gst/base/gstcollectpads.c:
14757         (gst_collect_pads_set_flushing_unlocked),
14758         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14759         (gst_collect_pads_stop):
14760         * libs/gst/base/gstcollectpads.h:
14761         API: gst_collect_pads_set_flushing()
14762         Added api to set the pads to flushing, useful for seeking
14763         code in elements using collectpads.
14764         Clear segment when receiving a flush.
14765
14766 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14767
14768         * gst/gst.c: (add_path_func), (init_post):
14769           Don't scan registry paths passed via --gst-plugin-path immediately
14770           (will crash, because absolutely nothing is set up and no types are
14771           registered etc.); do this later in init_post(). Fixes #343057.
14772
14773 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14774
14775         * gst/gst.c: (init_post):
14776           if we have fork, fork while reading/rebuilding the registry
14777           so the parent doesn't take the hit of having all plugins loaded
14778           in memory.  Fixes #342777.
14779         * configure.ac:
14780           Check if we have fork()
14781         * win32/common/config.h.in:
14782           no fork() on win32
14783
14784 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14785
14786         * plugins/elements/gstelements.c:
14787         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14788         (gst_file_src_init), (gst_file_src_set_property),
14789         (gst_file_src_get_property), (gst_file_src_start):
14790         * plugins/elements/gstfilesrc.h:
14791           API: GstFileSrc::use-mmap
14792
14793         Add a use-mmap property to enable easier testing of all code paths.
14794         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14795         in the absence of gnomevfssrc. (Closes #340501)
14796
14797 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14798
14799         * tools/gst-inspect.c:
14800         Add missing include, removes warning of ngettext not being defined on
14801         some arches.
14802
14803 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14804
14805         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14806         Handle NULL input and output pointers silently as a failed conversion,
14807         rather than g_warnings.
14808
14809 2006-05-25  Wim Taymans  <wim@fluendo.com>
14810
14811         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14812         Initialize variable before using. Fixes #342820.
14813
14814 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14815
14816         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14817           Fix off-by-one bug that would only allow peeks of N-1 bytes
14818           from the start even if the buffer to typefind on contains
14819           in fact N bytes of data (makes vorbis typefinding from a
14820           vorbis identification header buffer work).
14821
14822         * tests/check/Makefile.am:
14823         * tests/check/libs/.cvsignore:
14824         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14825         (gst_typefindhelper_suite), (main), (foobar_typefind),
14826         (plugin_init):
14827           Add very basic unit test for gst_type_find_helper_for_buffer()
14828           that checks for the problem fixed above.
14829
14830 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14831
14832         * tools/gst-inspect.c: (print_interfaces),
14833         (print_element_properties_info), (print_element_list), (main):
14834           add more translatable strings
14835
14836 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14837
14838         Patch by: Julien Moutte  <julien at moutte net>
14839
14840         * docs/gst/gstreamer-sections.txt:
14841           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14842           
14843         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14844         (gst_fake_sink_preroll):
14845         * plugins/elements/gstfakesink.h:
14846           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14847
14848 2006-05-23  Wim Taymans  <wim@fluendo.com>
14849
14850         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14851         * gst/gstpad.h:
14852         Added _CUSTOM error and success GstFlowReturn that can be
14853         used be elements internally. 
14854         Added macro to check for SUCCESS flowreturns.
14855         API: GST_FLOW_CUSTOM_SUCCESS
14856         API: GST_FLOW_CUSTOM_ERROR
14857         API: GST_FLOW_IS_SUCCESS
14858
14859         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14860         Added check for GstFlowReturn sanity.
14861
14862 2006-05-23  Wim Taymans  <wim@fluendo.com>
14863
14864         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14865
14866         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14867         (gst_collect_pads_event):
14868         clear/reset segment info in FLUSH_STOP.
14869         Fixes #336929.
14870
14871 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14872
14873         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14874         (gst_collect_pads_check_collected):
14875         Flush queued buffer on _stop(), fixes playing again (#342454)
14876
14877 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14878
14879         * tests/check/gst/gststructure.c: (GST_START_TEST),
14880         (gst_structure_suite):
14881           add a test for a complete structure
14882
14883 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14884
14885         * docs/faq/developing.xml:
14886         * docs/faq/faq.xml:
14887         * docs/faq/troubleshooting.xml:
14888         * docs/faq/using.xml:
14889           Some minor FAQ updates that won't change the fact that
14890           our FAQ is badly structured, full of information hardly
14891           anyone new to GStreamer needs to know and lacking lots
14892           of information people constantly ask for.
14893           
14894 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14895
14896         * gst/gstpad.c: (gst_pad_set_caps):
14897           Short-circuit gst_pad_set_caps if setting the existing
14898           caps pointer again, and avoid printing debug and 
14899           reffing/unreffing the caps.
14900
14901         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14902           There's actually no need to set the caps before pushing -
14903           the acceptcaps method will handle it anyway.
14904
14905 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14906
14907         * docs/gst/gstreamer-sections.txt:
14908         * win32/common/libgstreamer.def:
14909         * gst/gstutils.c: (gst_element_seek_simple):
14910         * gst/gstutils.h:
14911           API: add gst_element_seek_simple() (#342238).
14912
14913 2006-05-18  Edward Hervey  <edward@fluendo.com>
14914
14915         * gst/gsttypefind.c: (gst_type_find_get_type):
14916         * gst/gsttypefind.h:
14917         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14918         registered for GstTypeFind pointers. This allows wrapping the structure
14919         in bindings (i.e. gst-python).
14920
14921 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14922
14923         * gst/gsttagsetter.c:
14924           Docs additions and fixes (see #339918).
14925
14926 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14927
14928         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14929         The caps intersection algorithm can produce multiple copies of the
14930         caps. Until that is fixed, we need to simplify the result to be
14931         sure whether the allowed caps are fixed or not.
14932
14933         * plugins/elements/gstqueue.c: (gst_queue_init),
14934         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14935         (gst_queue_push_one):
14936         Proxied buffer alloc should not set the caps on the source pad.
14937         When pushing buffers, we always accept the caps change that triggers.
14938         This prevents negotiation errors caused by caps changing mid-stream 
14939         and then being refused on our source pad (because upstream is now
14940         refusing those caps).
14941
14942 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14943
14944         * tests/examples/helloworld/helloworld.c: (main):
14945           Must plug audioconvert and audioresample between decoder
14946           and audio sink.
14947
14948 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14949
14950         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14951         (load_feature), (load_plugin):
14952         Allow empty strings for some of the plugin fields so we don't 
14953         drop valid plugin entries that were written out correctly
14954         (Fixes #341479)
14955
14956 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14957         
14958         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14959           Use g_remove and g_rename instead of remove and rename that don't 
14960           handle utf8 characters. rename was failing for users who had specific
14961           characters in their name then the registry was built at each 
14962           gstreamer init.
14963         * win32/vs6/gst_inspect.dsp:
14964         * win32/vs6/gst_launch.dsp:
14965         * win32/vs6/libgstbase.dsp:
14966         * win32/vs6/libgstcoreelements.dsp:
14967         * win32/vs6/libgstreamer.dsp:
14968           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14969           build of libgstreamer and clean unused libraries in projects link 
14970           settings.
14971
14972 2006-05-17  Edward Hervey  <edward@fluendo.com>
14973
14974         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14975         The queue is not responsible for pushing an EOS when receiving a fatal
14976         flow error. It's up to the real element driving the pipeline to do that.
14977
14978 2006-05-16  Edward Hervey  <edward@fluendo.com>
14979
14980         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14981         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14982         buffer returned a fatal error. It should just send an EOS and stop
14983         its task.
14984         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14985         when pushing buffers on the queue and will be able to handle the event.
14986
14987 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14988
14989         * docs/manual/basics-bins.xml:
14990         * docs/manual/basics-init.xml:
14991           Fix typos and minor errors in sample code (#341856).
14992
14993 2006-05-16  Wim Taymans  <wim@fluendo.com>
14994
14995         * docs/design/part-qos.txt:
14996         Fix indexes in formulas to make more sense.
14997
14998 2006-05-15  Wim Taymans  <wim@fluendo.com>
14999
15000         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15001         Don't report POSITION based on clock time if sync is
15002         disabled in a sink.
15003
15004 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15005
15006         * gst/gstobject.h:
15007           Add cast to make compiler happy - refcount variable was a gint
15008           in GstObject but is a guint in GObject and g_atomic_int_get()
15009           wants a gint *.
15010
15011 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15012
15013         * gst/parse/Makefile.am:
15014           chain commands using &&, which also makes parallel make work
15015
15016 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15017
15018         * docs/gst/gstreamer-sections.txt:
15019         * gst/gstevent.c:
15020         * gst/gstevent.h:
15021         * gst/gstmessage.h:
15022           Minor docs fixes.
15023
15024 === release 0.10.6 ===
15025
15026 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15027
15028         * configure.ac:
15029           releasing 0.10.6, "Take the cannoli"
15030
15031 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15032
15033         * tools/gst-launch.c: (print_tag):
15034           Fix use of uninitialized variable in the hypothetical
15035           case that some broken plugin creates a GST_TAG_IMAGE
15036           tag containing a NULL buffer (#341667).
15037
15038 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15039
15040         * tools/gst-launch.c: (print_tag):
15041           Print something more intelligible for image tags when
15042           using the -t switch (#341556).
15043
15044 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15045
15046         * Makefile.am:
15047           updates for win32
15048         * configure.ac:
15049           define GST_MAJORMINOR so we have it available in win32/common/config.h
15050           Possibly remove it from our Makefile.am files later
15051         * win32/common/config.h:
15052         * win32/common/config.h.in:
15053           added GST_MAJORMINOR
15054         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15055         * win32/common/gstversion.h:
15056           updated
15057
15058 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15059
15060         * win32/MANIFEST:
15061           Update win32 files listing.
15062         * win32/common/gstversion.h:
15063           Add GST_MAJORMINOR definition.
15064         * win32/common/libgstreamer.def:
15065           Add new exported functions.
15066           
15067 2006-05-12  Michael Smith  <msmith@fluendo.com>
15068
15069         * gst/gstplugin.c: (gst_plugin_load_file):
15070           If an so file has no plugin entry point, unload the module.
15071
15072 2006-05-11  Wim Taymans  <wim@fluendo.com>
15073
15074         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15075         (gst_queue_set_property):
15076         Don't forget to signal the _chain or _loop function 
15077         when the queue size or thresholds change since that might
15078         cause them to make progres again.
15079
15080 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15081
15082         * gst/gstclock.c: (gst_clock_class_init):
15083         * gst/gstindex.c: (gst_index_class_init):
15084         * gst/gstobject.c: (gst_object_class_init):
15085         * gst/gstpad.c: (gst_pad_class_init):
15086         * gst/gstpipeline.c: (gst_pipeline_class_init):
15087         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15088         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15089         * libs/gst/base/gstbasetransform.c:
15090         (gst_base_transform_class_init):
15091         * libs/gst/net/gstnetclientclock.c:
15092         (gst_net_client_clock_class_init):
15093         * libs/gst/net/gstnettimeprovider.c:
15094         (gst_net_time_provider_class_init):
15095         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15096         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15097         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15098         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15099         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15100         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15101         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15102         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15103         * plugins/elements/gsttee.c: (gst_tee_class_init):
15104         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15105         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15106           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15107
15108 2006-05-11  Wim Taymans  <wim@fluendo.com>
15109
15110         * gst/gstbuffer.c: (_gst_buffer_initialize):
15111         Register subbufer along with the buffer type so that
15112         it does not accidentally gets registered from N
15113         different streaming threads in a non threadsafe way.
15114
15115 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15116
15117         * gst/gstbuffer.h:
15118         * gst/gstevent.h:
15119         * gst/gstmessage.h:
15120           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15121           gst_event_ref() and gst_message_ref() functions again
15122           (ugly hack, please do fix if there's a better way besides
15123           overrides.txt, which doesn't seem to work).
15124
15125 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15126
15127         * libs/gst/check/gstcheck.h:
15128           add an assert for setting state to avoid lots of repetitive code
15129           in the future
15130
15131 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15132
15133         * gst/gstvalue.c: (gst_value_serialize_flags):
15134           fix a leak if no flags are set
15135         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15136           fix leak in tests
15137
15138 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15139
15140         * docs/manual/basics-pads.xml:
15141           Expand a bit on caps and filtered links and update
15142           examples that were still using the no longer existing
15143           gst_pad_link_filtered() (#338206).
15144
15145 2006-05-10  Wim Taymans  <wim@fluendo.com>
15146
15147         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15148         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15149         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15150         (gst_collect_pads_stop):
15151         * libs/gst/base/gstcollectpads.h:
15152         No need to call _stop in _finalize.
15153         Iterate the main pad list in _finalize.
15154         Added some more debug.
15155         Free lists and data in the right order.
15156         Also free data whem doing _remove_pad when stopped for
15157         backward compatibility protect ::started with PAD_LOCK as
15158         well.
15159
15160 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15161
15162         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15163         (gst_structure_parse_value):
15164           add some comments
15165           rename a method so that it actually says what it does better
15166
15167 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15168
15169         * gst/gstevent.c: (_gst_event_initialize):
15170         * gst/gstformat.c: (_gst_format_initialize):
15171           make sure some essential types used by events are registered
15172           as part of gst_init()
15173         * gst/gstvalue.c: (gst_value_serialize_flags):
15174           if no flags are set, serialize them to a value that represents NONE
15175           so that deserializing them works
15176         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15177           add tests for serialization and deserialization of flags
15178
15179 2006-05-10  Wim Taymans  <wim@fluendo.com>
15180
15181         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15182         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15183         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15184         (gst_collect_pads_event), (gst_collect_pads_chain):
15185         Update docs.
15186         Better debug info.
15187         Catch and return errors from the collect function
15188         Refuse data on eos pads.
15189
15190 2006-05-10  Edward Hervey  <edward@fluendo.com>
15191
15192         * gst/gstinterface.h:
15193         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15194         GInterface type checking.
15195         They were previously using non-defined macros.
15196
15197 2006-05-09  Wim Taymans  <wim@fluendo.com>
15198
15199         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15200         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15201         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15202         (gst_collect_pads_start), (gst_collect_pads_stop),
15203         (gst_collect_pads_peek), (gst_collect_pads_pop),
15204         (gst_collect_pads_available), (gst_collect_pads_read),
15205         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15206         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15207         (gst_collect_pads_chain):
15208         * libs/gst/base/gstcollectpads.h:
15209         Clean up the mess that is collectpads, add comments and
15210         FIXMEs where needed.
15211         Maintain a separate pad list so we can add pads while
15212         collecting the other ones. For this we need a new separate 
15213         lock (see comics).
15214         Fix memory leak in finalize.
15215         Refactor some weird code to set/unset pad flushing flags, mark
15216         with comments.
15217         Don't crash in _available, _read, _flush when we're EOS.
15218
15219         * tests/check/libs/.cvsignore:
15220         Ignore adapter check binary.
15221
15222 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15223
15224         * gst/gstindex.c: (gst_index_resolver_get_type):
15225         * plugins/elements/gstfakesink.c:
15226         (gst_fake_sink_state_error_get_type):
15227         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15228         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15229         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15230           Const-ify GEnumValue arrays.
15231
15232 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15233
15234         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15235           Add test case for flags + gst_buffer_make_metadata_writable().
15236
15237 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15238
15239         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15240           gst_buffer_make_metadata_writable() should maintain the
15241           buffer flags (those that make sense at least) (see #340859).
15242
15243 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15244
15245         * tools/gst-inspect.c:
15246         * tools/gst-launch.c:
15247         * tools/gst-typefind.c:
15248         * tools/gst-xmlinspect.c:
15249         * tools/tools.h:
15250           Fix up includes: need to include stdlib.h in tools.h for exit().
15251
15252 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15253
15254         * gst/gsttaglist.c: (_gst_tag_initialize):
15255         * gst/gsttaglist.h:
15256           API: add GST_TAG_IMAGE tag (#340721).
15257
15258 2006-05-08  Wim Taymans  <wim@fluendo.com>
15259
15260         * gst/gstquery.c:
15261         Added some docs for the segment query.
15262
15263 2006-05-08  Wim Taymans  <wim@fluendo.com>
15264
15265         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15266         (gst_base_src_loop), (gst_base_src_change_state):
15267         Always push non-flushing serialized events in the streaming 
15268         thread.
15269
15270 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15271
15272         * gst/gsterror.c: (_gst_stream_errors_init):
15273           Add a missing error string.
15274
15275 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15276
15277         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15278         Add applied_rate to the debug
15279
15280         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15281         Copy applied_rate into the outgoing NEWSEGMENT event
15282
15283 2006-05-08  Wim Taymans  <wim@fluendo.com>
15284
15285         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15286
15287         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15288         (gst_base_sink_change_state):
15289         call ::unlock before taking the PREROLL_LOCK so we can safely
15290         handle elements that lock in ::render.
15291         Fixes #340174.
15292
15293 2006-05-08  Edward Hervey  <edward@fluendo.com>
15294
15295         * autogen.sh: (CONFIGURE_DEF_OPT): 
15296         Darwin's libtoolize is in fact called glibtoolize.
15297         Adding glibtoolize to the list of accepted names for libtoolize.
15298
15299 2006-05-08  Wim Taymans  <wim@fluendo.com>
15300
15301         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15302         Unify error handling, don't post an error message
15303         when a push() returns EOS but perform our normal EOS
15304         handling code. Fixes #340772.
15305
15306 2006-05-08  Wim Taymans  <wim@fluendo.com>
15307
15308         * docs/design/part-overview.txt:
15309         Make upsteam/downstream concepts more clear.
15310         Give an example of serialized/non-serialized events.
15311
15312         * docs/design/part-events.txt:
15313         * docs/design/part-streams.txt:
15314         Mention applied_rate.
15315
15316         * docs/design/part-trickmodes.txt:
15317         Mention applied rate, flesh out some more use cases.
15318
15319         * gst/gstevent.c: (gst_event_new_new_segment),
15320         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15321         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15322         (gst_event_parse_tag), (gst_event_new_buffer_size),
15323         (gst_event_parse_buffer_size), (gst_event_new_qos),
15324         (gst_event_parse_qos), (gst_event_parse_seek),
15325         (gst_event_new_navigation):
15326         * gst/gstevent.h:
15327         Add applied_rate field to NEWSEGMENT event.
15328         API: gst_event_new_new_segment_full()
15329         API: gst_event_parse_new_segment_full()
15330
15331         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15332         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15333         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15334         * gst/gstsegment.h:
15335         Add applied_rate to GstSegment structure.
15336         Make calculation of stream_time and running_time more correct
15337         wrt rate/applied_rate.
15338         Add some more docs.
15339         API: GstSegment::applied_rate field
15340         API: gst_segment_set_newsegment_full();
15341
15342         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15343         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15344         * libs/gst/base/gstbasetransform.c:
15345         (gst_base_transform_sink_eventfunc),
15346         (gst_base_transform_handle_buffer):
15347         Parse and use applied_rate in the GstSegment field.
15348
15349         * tests/check/gst/gstevent.c: (GST_START_TEST):
15350         Add check for applied_rate field.
15351
15352         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15353         (gstsegments_suite):
15354         Add more checks for various GstSegment operations.
15355
15356 2006-05-08  Wim Taymans  <wim@fluendo.com>
15357
15358         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15359         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15360         (gst_base_sink_get_position), (gst_base_sink_change_state):
15361         Store the sync time of the buffer end position separatly in a
15362         new variable eos_rtime so we can properly sync the EOS event.
15363         Fixes #340697.
15364         Fix the docs for gst_base_sink_set_qos_enabled().
15365         Don't set segment start to invalid value when we receive a 
15366         non TIME newsegment.
15367         get closer to handling position reporting for negative rates 
15368         correctly.
15369
15370 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15371
15372         * gst/gstcaps.c:
15373         Docs about how to print caps for debug purposes.
15374
15375         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15376         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15377
15378 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15379
15380         * gst/gstelement.c:
15381           use full enum names and preprend a '%' in docs strings to make recent 
15382           gtk-doc turn that into a link
15383
15384 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15385
15386         * docs/manual/basics-bins.xml:
15387         * docs/manual/basics-bus.xml:
15388         * docs/manual/basics-pads.xml:
15389           Some typo fixes, some additions, some clarifications. 
15390
15391 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15392
15393         * tools/gst-inspect.c: (main):
15394         * tools/gst-launch.c: (main):
15395         * tools/gst-run.c: (main):
15396         * tools/gst-typefind.c: (main):
15397         * tools/gst-xmlinspect.c: (main):
15398           Use the string passed to g_option_context_new() for
15399           what it's intended for - the program name is already
15400           printed elsewhere.
15401
15402 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15403
15404         * tools/Makefile.am:
15405         * tools/gst-inspect.c: (main):
15406         * tools/gst-launch.c: (main):
15407         * tools/gst-xmlinspect.c: (main):
15408         * tools/tools.h:
15409           Add back --version command line option (#340460).
15410
15411         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15412           Add --version option and use GOption for argument parsing; refactor a
15413           bit; accept directories as arguments and recurse into them; lastly,
15414           print a decent error message when things go wrong.
15415
15416 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15417
15418         * docs/manual/basics-bins.xml:
15419         Don't mention GstThread (#340611)
15420         * docs/manual/basics-elements.xml:
15421         Update link to GObject tutorial (#340607)
15422         
15423 2006-05-05  Wim Taymans  <wim@fluendo.com>
15424
15425         * gst/gstbuffer.h:
15426         * gst/gstminiobject.c:
15427         Add note about refcounting and miniobject/buffer writeability
15428         to docs. Fixes #340604
15429
15430         * gst/gstelementfactory.h:
15431         Added some explanation about @klass.
15432
15433 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15434
15435         * docs/manual/intro-motivation.xml:
15436         * docs/manual/manual.xml:
15437         Avoid CORBA & Bonobo references (#340598)
15438
15439 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15440
15441         * docs/manual/basics-bus.xml:
15442         * docs/manual/basics-pads.xml:
15443         Fix up some inaccuracies and omissions (#340609)
15444         
15445 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15446
15447         * gst/gstghostpad.c:
15448           Small typo in docs (#340625)
15449
15450 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15451
15452         * gst/parse/Makefile.am:
15453           Make 'make -j' proof (see #340698).
15454
15455 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15456
15457         * configure.ac:
15458           Require GLib-2.8 here as well.
15459
15460 2006-05-05  Wim Taymans  <wim@fluendo.com>
15461
15462         * gst/glib-compat.c:
15463         * gst/gst.c: (init_pre):
15464         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15465         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15466         (gst_object_dispatch_properties_changed):
15467         * gst/gstobject.h:
15468         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15469         * gst/gststructure.c: (gst_structure_set_valist):
15470         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15471         Remove pre glib2.8 compatibility, fixes #340508
15472
15473 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15474
15475         * gst/gsttaglist.h:
15476           Mention type of tags in doc blurbs.
15477
15478 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15479
15480         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15481         (gst_pad_configure_src), (gst_pad_push):
15482         Restore acceptcaps checking behaviour now that good plugins have
15483         been released.
15484
15485 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15486
15487         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15488
15489         * gst/gst.c:
15490         * gst/gstbus.c:
15491         * gst/gstclock.c:
15492         * gst/gstevent.c:
15493         * gst/gstformat.c:
15494         * gst/gstmessage.c:
15495         * gst/gstparse.c:
15496         * gst/gstquery.c:
15497         * gst/gstutils.c:
15498         * gst/parse/Makefile.am:
15499         * libs/gst/base/gstadapter.c:
15500         * libs/gst/base/gstbasesrc.c:
15501         * libs/gst/base/gstpushsrc.c:
15502         * libs/gst/base/gsttypefindhelper.c:
15503         * plugins/elements/gstfakesrc.c:
15504         * plugins/elements/gstidentity.c:
15505           Make sure gstprivate.h and/or config.h are
15506           always included first, otherwise some of our
15507           defines (like _FILE_OFFSET_BITS) might be
15508           redefined in the system headers. Fixes build
15509           on opensolaris (#340016).
15510
15511 2006-05-04  Wim Taymans  <wim@fluendo.com>
15512
15513         * docs/libs/gstreamer-libs-sections.txt:
15514         API: addition: gst_adapter_take_buffer()
15515         
15516         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15517         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15518         (gst_adapter_available_fast):
15519         * libs/gst/base/gstadapter.h:
15520         Prepare for optimizing the hell out of this hugely inefficient
15521         piece of code. 
15522         Added gst_adapter_take_buffer() so we can at least start thinking
15523         about subbuffering and merging.
15524         Added some comments.
15525
15526         * tests/check/Makefile.am:
15527         * tests/check/libs/adapter.c: (GST_START_TEST),
15528         (gst_adapter_suite), (main):
15529         Added GstAdapter check.
15530
15531 2006-05-04  Wim Taymans  <wim@fluendo.com>
15532
15533         * docs/design/part-overview.txt:
15534         Fix some typos, add blurb about buffer flags.
15535
15536 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15537
15538         * docs/libs/gstreamer-libs-sections.txt:
15539           make sure GstBaseTransformClass shows up in the docs
15540         * libs/gst/base/gstbasetransform.c:
15541         * libs/gst/base/gstbasetransform.h:
15542           move docs so gtk-doc picks it up now
15543
15544 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15545
15546         * docs/libs/gstreamer-libs-sections.txt:
15547           add missing symbols to docs
15548
15549 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15550
15551         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15552           back out the newsegment handling change, see #340060 for ongoing
15553           discussion
15554
15555 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15556
15557         * tools/gst-run.c: (get_candidates), (main):
15558           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15559           work); fix typo in error message. Fixes #340079.
15560
15561 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15562
15563         * common/Makefile.am:
15564         * docs/Makefile.am:
15565         * docs/faq/Makefile.am:
15566         * docs/gst/Makefile.am:
15567         * docs/libs/Makefile.am:
15568         * docs/manual/Makefile.am:
15569         * docs/plugins/Makefile.am:
15570         * docs/pwg/Makefile.am:
15571         * docs/slides/Makefile.am:
15572         * docs/upload.mak:
15573         * common/upload.mak:
15574           move upload.mak to common
15575
15576 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15577
15578         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15579           add more asserts on refcounts
15580           do more cleanup at end of tests
15581           fix test leaks showing in FC5
15582
15583 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15584
15585         * plugins/elements/gsttypefindelement.c:
15586         (gst_type_find_element_handle_event):
15587         reverted wrong change and reflowed code to avoid others falling into
15588         this trap
15589
15590 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15591
15592         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15593           fix changelog entry about last collectpads change,
15594           add notes about proper fix
15595
15596 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15597
15598         * gst/gst.c:
15599         * gst/gstregistry.c: (gst_registry_scan_path_level),
15600         (gst_registry_scan_path):
15601         * gst/gstregistry.h:
15602           only write out registry if it has changed, fixes #338339
15603
15604 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15605
15606         * gst/gstbin.c:
15607         * gst/gstpipeline.c:
15608         * plugins/elements/gstcapsfilter.c:
15609         * plugins/elements/gstfakesink.c:
15610         * plugins/elements/gstfakesrc.c:
15611         * plugins/elements/gstfdsink.c:
15612         * plugins/elements/gstfdsrc.c:
15613         * plugins/elements/gstfilesink.c:
15614         * plugins/elements/gstfilesrc.c:
15615         * plugins/elements/gstidentity.c:
15616         * plugins/elements/gstqueue.c:
15617         * plugins/elements/gsttee.c:
15618         * plugins/elements/gsttypefindelement.c:
15619         (gst_type_find_element_handle_event):
15620           make GstElementDetails const
15621
15622 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15623
15624         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15625         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15626         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15627           more detailed debug and formatting cleanup,
15628           forward newsegments to src-pad (so that e.g. adder not eats them)
15629
15630 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15631
15632         * gst/gstutils.c: (gst_element_link_pads):
15633           cleanup double code
15634
15635 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15636
15637         * libs/gst/controller/gstcontroller.c:
15638         (gst_controller_sync_values):
15639           some little tuning
15640         * tests/check/libs/controller.c: (GST_START_TEST),
15641         (gst_controller_suite):
15642           a new test for live value handling
15643
15644 2006-04-28  Wim Taymans  <wim@fluendo.com>
15645
15646         * gst/gstutils.c: (push_and_ref):
15647         Added some more docs.
15648         Fix refcount issue whith gst_element_found_tags() helper 
15649         function. Fixes #338335
15650
15651         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15652         Added testsuite for gst_element_found_tags().
15653
15654 2006-04-28  Michael Smith  <msmith@fluendo.com>
15655
15656         * gst/gstvalue.c: (gst_value_serialize_flags):
15657           Avoid NULL dereference when trying to serialize flags containing
15658           invalid values.
15659
15660 2006-04-28  Michael Smith  <msmith@fluendo.com>
15661
15662         * plugins/elements/gsttypefindelement.c:
15663         (gst_type_find_element_handle_event):
15664           If we get EOS before any data is accumulated, don't use
15665           uninitialised local variables.
15666
15667 2006-04-28  Michael Smith  <msmith@fluendo.com>
15668
15669         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15670         (gst_dp_event_from_packet):
15671           Fixes in reading/writing events over GDP (not currently used?) - 
15672           dereferencing NULL events for unknown/invalid event types, memory
15673           leak, and change g_warning to GST_WARNING.
15674
15675 2006-04-28  Wim Taymans  <wim@fluendo.com>
15676
15677         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15678         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15679         (gst_base_sink_get_position), (gst_base_sink_change_state):
15680         When frame dropping is enabled, we should not ignore frames
15681         without a duration.
15682         Update some documentation.
15683
15684 2006-04-28  Wim Taymans  <wim@fluendo.com>
15685
15686         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15687         (gst_base_src_send_event), (gst_base_src_change_state):
15688         Documentation updates.
15689
15690 2006-04-28  Wim Taymans  <wim@fluendo.com>
15691
15692         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15693         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15694         handle EAGAIN, EINTR and short writes correctly. Also clean
15695         up some error cases, avoid a deadlock on bad file descriptors and
15696         use GST_DEBUG_OBJECT.
15697         Fixes #339843
15698
15699 2006-04-28  Wim Taymans  <wim@fluendo.com>
15700
15701         * gst/gstvalue.c: (gst_value_serialize_buffer),
15702         (gst_value_deserialize_buffer):
15703         Don't try to serialize a GValue with a NULL buffer. 
15704         Fixes #339821.
15705
15706         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15707         Added check for serialisation of NULL buffers.
15708
15709 2006-04-28  Wim Taymans  <wim@fluendo.com>
15710
15711         * gst/gstminiobject.c: (gst_value_take_mini_object):
15712         Taking a NULL miniobject is valid, fix the case where
15713         we try to unref the NULL miniobject.
15714
15715 2006-04-28  Wim Taymans  <wim@fluendo.com>
15716
15717         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15718
15719         * gst/gstbin.c: (gst_bin_handle_message_func):
15720         Update docs.
15721         Don't leak bin refcount when a state recalc is
15722         in progress and we delay another one #339808.
15723
15724 2006-04-28  Wim Taymans  <wim@fluendo.com>
15725
15726         * docs/design/part-TODO.txt:
15727         Mention QoS as an ongoing work item.
15728
15729         * docs/design/part-buffering.txt:
15730         New doc about buffering that needs to be fleshed out
15731         at some point.
15732
15733         * docs/design/part-qos.txt:
15734         More QoS policy for decoders/demuxers/transforms
15735
15736         * docs/design/part-trickmodes.txt:
15737         Small update.
15738
15739 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15740
15741         * configure.ac:
15742           back to HEAD
15743
15744 === release 0.10.5 ===
15745
15746 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15747
15748         * configure.ac:
15749           releasing 0.10.5, "Fogo"
15750
15751 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15752
15753         patch by: Wim Taymans
15754
15755         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15756         (gst_pad_configure_src), (gst_pad_push):
15757         * gst/gstpipeline.c: (gst_pipeline_init):
15758           Fix internal data flow errors.  Fixes #338711.
15759
15760 2006-04-12  Wim Taymans  <wim@fluendo.com>
15761
15762         * tests/check/gst/gstelement.c: (GST_START_TEST):
15763         Don't leak the factory.
15764
15765 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15766
15767         * configure.ac:
15768         * win32/common/config.h:
15769           prerelease
15770
15771 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15772
15773         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15774         (gst_controller_unset_all):
15775           Free allocated GstTimedValues when freeing list nodes.
15776           Should fix leaks 'make check-valgrind' complains about.
15777
15778         * win32/common/libgstcontroller.def:
15779           Add gst_controller_unset_all.
15780
15781 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15782
15783         * docs/libs/gstreamer-libs-sections.txt:
15784         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15785         (gst_controller_unset_all):
15786         * libs/gst/controller/gstcontroller.h:
15787         API: Added new method gst_controller_unset_all()
15788         fixed gst_controller_unset()
15789         * tests/check/libs/controller.c: (GST_START_TEST),
15790         (gst_controller_suite):
15791         Added two testcases for new and fixed method
15792
15793 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15794
15795         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15796           MSG_DONTWAIT is not defined on Cygwin, so work
15797           around that (fixes #317048).
15798           
15799 2006-04-11  Wim Taymans  <wim@fluendo.com>
15800
15801         * gst/gstelementfactory.c: (gst_element_register),
15802         (gst_element_factory_create), (gst_element_factory_make):
15803         Some cleanups.
15804         Fixed a FIXME.
15805         Updated docs (Fixes #131079)
15806
15807         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15808         Small cleanups.
15809
15810         * tests/check/gst/gstelement.c: (GST_START_TEST),
15811         (gst_element_suite):
15812         Added testcase for elementfactory class field.
15813
15814 2006-04-10  Wim Taymans  <wim@fluendo.com>
15815
15816         * gst/gstsegment.c:
15817         Added some more docs.
15818
15819         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15820         (gst_base_sink_reset_qos):
15821         Calculate more accurate rate values.
15822
15823 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15824
15825         * gst/gst_private.h:
15826           add a new #ifdef to use __declspec(dllimport) only for
15827           other modules and not for gstreamer core
15828         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15829           use gst_guint64_to_gdouble for conversion
15830         * win32/common/libgstreamer.def:
15831           add new exported functions
15832         * win32/vs6/gst_inspect.dsp:
15833         * win32/vs6/gst_launch.dsp:
15834         * win32/vs6/libgstbase.dsp:
15835         * win32/vs6/libgstcontroller.dsp:
15836         * win32/vs6/libgstcoreelements.dsp:
15837         * win32/vs6/libgstdataprotocol.dsp:
15838         * win32/vs6/libgstnet.dsp:
15839           update project files
15840
15841 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15842
15843         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15844         * gst/gstclock.c: (gst_clock_class_init):
15845         * gst/gstelement.c: (gst_element_class_init):
15846         * gst/gstindex.c: (gst_index_class_init):
15847         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15848         * gst/gstobject.c: (gst_object_class_init),
15849         (gst_signal_object_class_init):
15850         * gst/gstpad.c: (gst_pad_class_init):
15851         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15852         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15853         * gst/gstregistry.c: (gst_registry_class_init):
15854         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15855         * gst/gsttask.c: (gst_task_class_init):
15856         * gst/gstxml.c: (gst_xml_class_init):
15857         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15858         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15859         (gst_base_src_loop):
15860         * libs/gst/controller/gstcontroller.c:/
15861         (_gst_controller_class_init):
15862         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15863         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15864         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15865         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15866         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15867         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15868
15869 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15870
15871         * gst/gstpad.c: (gst_pad_link):
15872           Must set peer pads before calling the link function, otherwise
15873           a task started from a link function might get a flow-not-linked
15874           result when trying to push because the other thread where the
15875           linking happens hasn't had a chance to set the peers yet. This
15876           might happen for example when a queue gets linked to a downstream
15877           element, as queue starts a streaming task when its source pad
15878           gets linked. Happens in real life when playing back flac/musepack
15879           files in playbin (#332390).
15880           
15881 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15882
15883         * gst/gstindex.h:
15884         * gst/gstxml.h:
15885         * libs/gst/base/gstadapter.h:
15886         * libs/gst/base/gstbasesink.h:
15887         * libs/gst/base/gstbasesrc.h:
15888         * libs/gst/base/gstbasetransform.h:
15889         * libs/gst/base/gstcollectpads.h:
15890         * libs/gst/base/gstpushsrc.h:
15891         Fix broken GObject macros
15892
15893 2006-04-07  Wim Taymans  <wim@fluendo.com>
15894
15895         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15896         Initialize start and stop times, thanks valgrind.
15897
15898 2006-04-07  Wim Taymans  <wim@fluendo.com>
15899
15900         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15901         Be a bit nicer to badly behaving upstream elements that expect
15902         us to deal with non TIME segments and timestamps (such as fakesrc
15903         in the testsuite).
15904
15905 2006-04-07  Wim Taymans  <wim@fluendo.com>
15906
15907         * gst/gstbus.c:
15908         Small documentation clarification about the signal watch.
15909
15910         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15911         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15912         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15913         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15914         (gst_base_sink_get_position_last),
15915         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15916         Convert and store timestamps in stream time and running time, the
15917         raw timestamps are not useful, also document this better.
15918         Use different window sizes for good and bad QoS observations so
15919         we react to badness a little quicker.
15920         Keep track of the amount of rendered and dropped buffers.
15921         Send QoS timestamps in running time.
15922
15923         * libs/gst/base/gstbasetransform.c:
15924         (gst_base_transform_sink_eventfunc),
15925         (gst_base_transform_handle_buffer):
15926         Compare QoS timestamps against running time.
15927
15928 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15929
15930         * gst/gstpad.c:
15931           Typo fixes in docs.
15932
15933 2006-04-06  Michael Smith  <msmith@fluendo.com>
15934
15935         * gst/gstpad.c: (gst_pad_set_property):
15936           Use g_value_get_object() instead of g_value_dup_gst_object(),
15937           to avoid double-reffing the pad template (which we then sink,
15938           so this worked previously if (and only if) the pad template
15939           was floating.
15940
15941         * gst/gstpadtemplate.c: (gst_pad_template_init),
15942         (gst_pad_template_pad_created):
15943           Never return floating references to pad templates, create
15944           them as initially-sunken.
15945
15946           Document an extra function (and make this stop sinking our
15947           pad template, since that is now guaranteed to do nothing,
15948           since we created it sunken).
15949
15950         * gst/gstghostpad.c:
15951           Fix docs typo.
15952
15953 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15954
15955         * gst/gstinfo.c: (__gst_in_valgrind):
15956           Add some newlines.
15957
15958         * plugins/elements/gsttypefindelement.c:
15959         (gst_type_find_element_chain):
15960           Don't leak buffer caps.
15961
15962 2006-04-06  Michael Smith  <msmith@fluendo.com>
15963
15964         * gst/parse/grammar.y:
15965           Fix a leak in parse-launch for any source-or-sink named element 
15966           references used.
15967
15968         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15969           Unref the pipeline if it exists after we've failed parsing.
15970
15971 2006-04-05  Michael Smith  <msmith@fluendo.com>
15972
15973         * gst/gstpipeline.c: (gst_pipeline_init):
15974           When we create a pipeline bus, initially create it in flushing mode.
15975           Fixes leaks in at least one test, and makes a new pipeline work the
15976           same as one that has gone to READY and then back to NULL.
15977
15978         * gst/gstelement.c:
15979           Typo fix in docs.
15980
15981 2006-04-05  Michael Smith  <msmith@fluendo.com>
15982
15983         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15984           Unref a pad we reffed.
15985         * tests/check/gst/gstutils.c: (GST_START_TEST):
15986           Unref bins
15987
15988 2006-04-05  Michael Smith  <msmith@fluendo.com>
15989
15990         * gst/gstquery.c: (gst_query_set_formats),
15991         (gst_query_set_formatsv):
15992           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15993
15994 2006-04-05  Michael Smith  <msmith@fluendo.com>
15995
15996         * tests/check/generic/sinks.c: (GST_START_TEST):
15997           Fix a variety of memleaks in sinks check, which are only sometimes 
15998           shown by running the tests under valgrind (weird?).
15999
16000 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16001
16002         * docs/version.entities.in:
16003           Fix the substituted entity name after thomas' changes on the
16004           weekend.
16005
16006 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16007
16008         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16009         VALGRIND_PRINTF
16010         
16011 2006-04-05  Andy Wingo  <wingo@pobox.com>
16012
16013         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16014
16015         * libs/gst/base/gstbasetransform.c
16016         (gst_base_transform_sink_eventfunc): When resetting our segment on
16017         FLUSH_STOP, also update the flag saying we haven't seen a
16018         newsegment.
16019
16020 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16021
16022         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16023
16024         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16025         (gst_plugin_check_license):
16026           minor clean-ups: G_DEFINE_TYPE already takes care of the
16027           parent_class stuff, no need to do it twice. Mark array of
16028           license strings as constant. (#337103)
16029           
16030 2006-04-04  Michael Smith  <msmith@fluendo.com>
16031
16032         * tools/gst-inspect.c: (print_element_list):
16033           Free the right plugin list; fixes a memory leak.
16034
16035 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16036
16037         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16038
16039         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16040           Don't error out on empty buffers (#336945).
16041           
16042 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16043
16044         * docs/libs/gstreamer-libs-sections.txt:
16045         * gst/gsttaglist.c:
16046         * libs/gst/base/gstbasesink.c:
16047         * libs/gst/base/gstbasesink.h:
16048         * libs/gst/base/gstbasesrc.c:
16049         * libs/gst/base/gstbasesrc.h:
16050           Documentation updates. Make BaseSink and BaseSrc docs contain the
16051           class structure so that people can actually see the prototypes for
16052           virtual functions they're supposed to be overriding.
16053
16054 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16055
16056         * plugins/elements/gsttypefindelement.c:
16057         (gst_type_find_element_chain):
16058           More debug info; when skipping typefinding, send cached
16059           events in all cases.
16060
16061 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16062
16063         * configure.ac:
16064           use new AS_VERSION and AS_NANO macros
16065         * gst/gst-i18n-lib.h:
16066         * gst/gst.c:
16067         * gst/gsterror.c:
16068         * gst/gstversion.h.in:
16069         * win32/common/config.h:
16070         * win32/common/config.h.in:
16071           update accordingly
16072
16073 2006-03-31  Michael Smith  <msmith@fluendo.com>
16074
16075         * plugins/elements/gsttypefindelement.c:
16076         (gst_type_find_element_chain):
16077           Do not typefind content if the buffers already have caps.
16078           Neccesary for icydemux (#333657), and the right thing to do anyway.
16079
16080 2006-03-30  Wim Taymans  <wim@fluendo.com>
16081
16082         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16083         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16084         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16085         (gst_base_sink_record_qos_observation),
16086         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16087         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16088         (gst_base_sink_change_state):
16089         More QoS measurements as described in the design doc.
16090         Get rid of ringbuffer with observations, running average is
16091         more simple and equally good.
16092         Calculates valid proportion now.
16093         Added beginning of flood measurement.
16094
16095 2006-03-29  Wim Taymans  <wim@fluendo.com>
16096
16097         * docs/design/part-qos.txt:
16098         * gst/gstclock.c:
16099         Small documentation updates and additions.
16100
16101 2006-03-29  Wim Taymans  <wim@fluendo.com>
16102
16103         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16104         (gst_base_src_send_event), (gst_base_src_loop),
16105         (gst_base_src_change_state):
16106         Perform the EOS logic when we reach the segment stop position.
16107         Fix compilation on gcc4.1
16108
16109 2006-03-29  Wim Taymans  <wim@fluendo.com>
16110
16111         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16112
16113         * plugins/elements/gstqueue.c: (gst_queue_init),
16114         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16115         (gst_queue_set_property):
16116         * plugins/elements/gstqueue.h:
16117         In queue, when EOS is received, if minimum threshold > max_size -
16118         current_level, there is chance that queue blocks forever in conditional
16119         item del wait. This is because the queue is not emptied completely due
16120         to minimum threshold.  Here is another approach. Instead of setting
16121         cur_levels to max in EOS, just zero all minimum threshold levels. This
16122         should make sure that queue gives out all data. When going to READY
16123         (stop) state, just reset the original minimum threshold levels.
16124         Fixes #336336.
16125
16126 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16127
16128         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16129         (gst_type_find_element_handle_event),
16130         (gst_type_find_element_send_cached_events),
16131         (gst_type_find_element_change_state):
16132         * plugins/elements/gsttypefindelement.h:
16133           When typefinding is done in push mode, we should cache
16134           events we receive during typefinding instead of just
16135           dropping them (e.g. newsegment, custom events from
16136           dvdreadsrc etc.) and then send them out once we've
16137           determined the type of the stream (and decodebin
16138           has had a chance to plug in a decoder/demuxer).
16139           
16140 2006-03-27  Wim Taymans  <wim@fluendo.com>
16141
16142         * docs/design/part-qos.txt:
16143         First QoS ideas.
16144
16145 2006-03-27  Wim Taymans  <wim@fluendo.com>
16146
16147         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16148
16149         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16150         (gst_base_src_send_event), (gst_base_src_change_state):
16151         Handle element seek correctly when we are streaming.
16152         Fixes #326998.
16153
16154 2006-03-24  Michael Smith  <msmith@fluendo.com>
16155
16156         * docs/faq/gst-uninstalled:
16157           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16158           allow you to correctly run intalled applications built against old 
16159           core, using plugins that require updated core (e.g. running
16160           installed totem against a full uninstalled gstreamer stack)
16161
16162 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16163
16164         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16165         more debug details
16166
16167 2006-03-24  Wim Taymans  <wim@fluendo.com>
16168
16169         * docs/gst/gstreamer-sections.txt:
16170         Rearrange the order of the methods so that related methods
16171         are grouped together in sections.
16172
16173 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16174
16175         * gst/gstelement.c:
16176           Little clarification in the docs
16177
16178 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16179
16180         * docs/README:
16181         formatting fix
16182         * plugins/elements/gstidentity.c:
16183         * plugins/elements/gstqueue.c:
16184         * plugins/elements/gsttee.c:
16185         * plugins/elements/gsttypefindelement.c:
16186         GST_ELEMENT_DETAILS formatting
16187
16188 2006-03-24  Wim Taymans  <wim@fluendo.com>
16189
16190         * libs/gst/base/gstbasesink.h:
16191         Only add fields, not insert or we break ABI.
16192
16193 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16194
16195         * win32/common/libgstbase.def:
16196         * win32/common/libgstreamer.def:
16197           Update, add recently added functions.
16198
16199 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16200
16201         * docs/gst/gstreamer-sections.txt:
16202         * gst/gstutils.c: (gst_pad_query_peer_position),
16203         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16204         * gst/gstutils.h:
16205           API: add some new utility functions:
16206            - gst_pad_query_peer_position()
16207            - gst_pad_query_peer_duration()
16208            - gst_pad_query_peer_convert()
16209           
16210 2006-03-23  Wim Taymans  <wim@fluendo.com>
16211
16212         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16213         (gst_base_sink_init), (gst_base_sink_finalize),
16214         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16215         (gst_base_sink_set_property), (gst_base_sink_get_property),
16216         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16217         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16218         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16219         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16220         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16221         (gst_base_sink_preroll_object), (gst_base_sink_event),
16222         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16223         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16224         (gst_base_sink_query), (gst_base_sink_change_state):
16225         Decouple max-lateness and the fact that QoS messages are generated
16226         with a new property (qos).
16227         added API: GstBaseSink::async_play()
16228         Add vmethod so subclasses can be notified of ASYNC playing
16229         state changes.
16230         Collect timestamp start and stop to report better current
16231         position in EOS/PLAYING/PAUSED/READY/NULL.
16232         Refactor QoS/frame dropping and other measurements.
16233         API: GstBaseSrc::qos
16234         Fixes #326311
16235
16236         * libs/gst/base/gstbasesink.h:
16237         Added Private struct.
16238         API: gst_base_sink_set_qos_enabled()
16239         API: gst_base_sink_is_qos_enabled()
16240
16241 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16242
16243         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16244           If compiling against GLib-2.8 or newer, try to read the
16245           registry file using GMappedFile first before falling back
16246           to fopen() + fread() (#332151).
16247
16248 2006-03-22  Wim Taymans  <wim@fluendo.com>
16249
16250         * gst/gstinfo.c: (gst_debug_set_active),
16251         (gst_debug_category_set_threshold):
16252         Disable debugging unless explicitly activated.
16253         Fixes #335480.
16254
16255 2006-03-22  Wim Taymans  <wim@fluendo.com>
16256
16257         * gst/gstelement.c: (gst_element_set_locked_state),
16258         (gst_element_dispose):
16259         Cleanup the error case.
16260
16261         * gst/gstobject.c: (gst_object_dispose):
16262         print a critical when some object was disposed with
16263         a parent, also revive the object since it might
16264         crash the parent.
16265
16266 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16267
16268         * tools/gst-launch.1.in:
16269           Fix another typo.
16270
16271 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16272
16273         * configure.ac:
16274         * tests/check/Makefile.am:
16275           disable some tests when we don't have a registry
16276         * tests/check/gst/gstutils.c: (gst_utils_suite):
16277           don't build the part that needs parsing
16278
16279 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16280
16281         * gst/Makefile.am
16282         * tests/examples/Makefile.am:
16283           fix --disable-parse build
16284
16285 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16286
16287         * tools/gst-feedback.1.in:
16288           Fix typo: s/feeback/feedback/ (#133494).
16289
16290 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16291
16292         * tools/Makefile.am:
16293         * tools/gst-launch.1.in:
16294           Add FILES section and correct entry about GST_REGISTRY_PATH
16295           environment variable (#133495; #133494).
16296
16297 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16298
16299         * tools/Makefile.am:
16300         * tools/gst-md5sum.1.in:
16301         * tools/gst-md5sum.c:
16302           Remove gst-md5sum and man page (the md5sink element
16303           required was removed ages ago)
16304
16305 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16306
16307         * gst/gststructure.c: (gst_structure_id_set_value):
16308           Make sure that string fields in structures/taglists
16309           contain valid UTF-8 - we don't want to pass rubbish to
16310           applications because of a buggy plugin (cp. #334167).
16311
16312 2006-03-21  Edward Hervey  <edward@fluendo.com>
16313
16314         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16315         (gst_bin_handle_message_func):
16316         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16317         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16318         (gst_element_set_bus_func):
16319         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16320         * gst/gstminiobject.c: (gst_value_set_mini_object),
16321         (gst_value_take_mini_object):
16322         * gst/gstpad.c: (gst_pad_set_pad_template):
16323         * gst/gstpipeline.c: (gst_pipeline_dispose),
16324         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16325         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16326         (gst_collect_pads_chain):
16327         * libs/gst/net/gstnettimeprovider.c:
16328         (gst_net_time_provider_set_property):
16329         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16330         It's in fact all issues with gst_*object_replace().
16331
16332 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16333
16334         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16335         
16336         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16337         * pkgconfig/gstreamer-check.pc.in:
16338           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16339
16340 2006-03-21  Edward Hervey  <edward@fluendo.com>
16341
16342         * gst/gstbuffer.h:
16343         * gst/gstevent.h:
16344         * gst/gstmessage.h:
16345         gst_[buffer|event|message]_ref() macros are replaced by a static
16346         inline functions because gcc-4.1 will about if the return value
16347         isn't used.
16348         * tests/check/gst/gstevent.c: (event_probe):
16349         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16350
16351 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16352
16353         * gst/gstutils.h:
16354         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16355         the type' case. (Closes: #335195 for now). In the future, when we
16356         depend on GLib 2.10, we could also intern the type name using
16357         g_intern_static_string()
16358
16359 2006-03-20  Wim Taymans  <wim@fluendo.com>
16360
16361         * gst/gstbin.c: (gst_bin_handle_message_func),
16362         (bin_query_max_init), (bin_query_position_fold),
16363         (bin_query_position_done), (gst_bin_query):
16364         Position query should also take max of all streams.
16365
16366 2006-03-20  Wim Taymans  <wim@fluendo.com>
16367
16368         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16369         (gst_fake_src_finalize):
16370         Fix leaks in fakesrc.
16371
16372         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16373         Fix leaks in the testcase.
16374
16375 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16376
16377         * gst/gst_private.h:
16378           add win32 specific import decoration(__declspec(dllimport)) 
16379           for all extern GstDebugCategory * variables
16380         * win32/common/libgstbase.def:
16381         * win32/common/libgstcontroller.def:
16382         * win32/common/libgstreamer.def:
16383           Add some exports, remove empty lines
16384         * win32/common/libgstdataprotocol.def:
16385         * win32/common/libgstdataprotocol.dsp:
16386         * win32/common/libgstnet.def:
16387         * win32/common/libgstnet.dsp:
16388           new project files and exportation files added
16389         
16390 2006-03-19  Wim Taymans  <wim@fluendo.com>
16391
16392         * tests/check/libs/basesrc.c: (eos_event_counter):
16393         Use proper return value for probe.
16394
16395 2006-03-17  Wim Taymans  <wim@fluendo.com>
16396
16397         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16398         (gst_pad_push):
16399         Don't leak buffers, caps and pads on negotiation errors.
16400
16401 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16402
16403         * docs/faq/cvs.xml:
16404         * docs/faq/dependencies.xml:
16405         * docs/faq/developing.xml:
16406         * docs/faq/faq.xml:
16407         * docs/faq/general.xml:
16408         * docs/faq/getting.xml:
16409         * docs/faq/legal.xml:
16410         * docs/faq/troubleshooting.xml:
16411         * docs/faq/using.xml:
16412         Faq review and update.
16413
16414 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16415
16416         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16417         (gst_pad_push):
16418         Don't pound the cpu to pieces by checking get_caps when accept_caps
16419         is called with the same caps as the pad already has.
16420         Use GST_DEBUG_OBJECT when outputting caps change information.
16421
16422 2006-03-15  Wim Taymans  <wim@fluendo.com>
16423
16424         * gst/gstclock.c: (gst_clock_class_init):
16425         Fix docs.
16426
16427 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16428
16429         * gst/gstbuffer.h:
16430         Documentation fix.
16431
16432         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16433         (gst_pad_accept_caps), (gst_pad_configure_sink),
16434         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16435         Make the default acceptcaps behaviour be to check the requested 
16436         caps against the gst_pad_get_caps output. 
16437
16438         Ensure that gst_pad_accept_caps is used to check caps when a pad
16439         doesn't have a setcaps function, so that pads automatically refuse 
16440         caps that they don't allow in their pad template. (Fixes #332986)
16441
16442         When a buffer with attached caps is pushed, ensure that the source 
16443         pad receives those caps even if the element didn't call
16444         gst_pad_set_caps first.
16445
16446 2006-03-15  Wim Taymans  <wim@fluendo.com>
16447
16448         * libs/gst/base/gstadapter.c:
16449         Add some docs.
16450
16451 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16452
16453         * win32/common/libgstbase.def:
16454         * win32/common/libgstcontroller.def:
16455         * win32/common/libgstreamer.def:
16456           Add a whole bunch of missing functions (#334434).
16457
16458 2006-03-14  Wim Taymans  <wim@fluendo.com>
16459
16460         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16461         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16462         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16463         Better debug info when we receive a segment event.
16464         Reorganize a bit so we can pass the get_times() results around.
16465         Use the segment format when calculating the running time.
16466         Don't do QoS is sync is disabled or we have no clock or the
16467         element does not want us to sync to the clock.
16468         Don't drop buffers if QoS is disabled for now.
16469
16470 2006-03-14  Wim Taymans  <wim@fluendo.com>
16471
16472         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16473         Marked the stats property as unimplemented so people don't get
16474         wild ideas.
16475         Add debug message when regression goes wrong.
16476         Added some more docs.
16477
16478 2006-03-14  Wim Taymans  <wim@fluendo.com>
16479
16480         * gst/gstsegment.c: (gst_segment_to_stream_time):
16481         Return correct return type in case of errors.
16482
16483 2006-03-14  Wim Taymans  <wim@fluendo.com>
16484
16485         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16486           Don't segfault on invalid formats.
16487
16488 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16489
16490         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16491           Can't use gst_segment_to_running_time() when the segment
16492           is not in GST_TIME_FORMAT (like with filesink, for example).
16493           Stops flac encoding pipelines from spewing critical warnings
16494           at EOS (#331248).
16495           
16496 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16497
16498         * gst/gstpipeline.c: (gst_pipeline_class_init):
16499           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16500
16501         * plugins/elements/gsttypefindelement.c:
16502         (gst_type_find_element_handle_event):
16503           Don't try to typefind empty streams.
16504
16505 2006-03-14  Wim Taymans  <wim@fluendo.com>
16506
16507         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16508         (gst_base_sink_do_qos):
16509         Separate QoS calculation.
16510         Only drop buffers when lateness is bigger than the 
16511         duration of the buffer.
16512
16513 2006-03-13  Wim Taymans  <wim@fluendo.com>
16514
16515         * gst/gstpipeline.c: (gst_pipeline_set_property),
16516         (gst_pipeline_get_property), (do_pipeline_seek),
16517         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16518         (gst_pipeline_get_delay):
16519         Don't deadlock when reading properties.
16520
16521 2006-03-13  Wim Taymans  <wim@fluendo.com>
16522
16523         * libs/gst/base/gstbasetransform.c:
16524         (gst_base_transform_class_init), (gst_base_transform_init),
16525         (gst_base_transform_sink_event),
16526         (gst_base_transform_sink_eventfunc),
16527         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16528         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16529         (gst_base_transform_set_property),
16530         (gst_base_transform_get_property),
16531         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16532         (gst_base_transform_set_qos_enabled),
16533         (gst_base_transform_is_qos_enabled):
16534         * libs/gst/base/gstbasetransform.h:
16535         Make basetransform virtual method for src events too.
16536         Handle QOS in basetransform.
16537         API: gst_base_transform_update_qos()
16538         API: gst_base_transform_set_qos_enabled()
16539         API: gst_base_transform_is_qos_enabled()
16540
16541 2006-03-13  Wim Taymans  <wim@fluendo.com>
16542
16543         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16544         (gst_base_sink_do_sync):
16545         Small cleanups.
16546         Use QOS debug category.
16547
16548 2006-03-13  Wim Taymans  <wim@fluendo.com>
16549
16550         * plugins/elements/gstqueue.c:
16551         Very small doc update.
16552
16553 2006-03-13  Wim Taymans  <wim@fluendo.com>
16554
16555         * gst/gst_private.h:
16556         * gst/gstinfo.c: (_gst_debug_init):
16557         Added QOS debug category
16558
16559 2006-03-13  Wim Taymans  <wim@fluendo.com>
16560
16561         * docs/gst/gstreamer-sections.txt:
16562         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16563         * gst/gstbin.h:
16564         * gst/gstbus.c: (gst_bus_class_init):
16565         * gst/gstbus.h:
16566         * gst/gstclock.c:
16567         * gst/gstelement.c: (gst_element_set_locked_state):
16568         * gst/gstsegment.c:
16569         Documentation updates.
16570
16571         * gst/gstpipeline.c: (gst_pipeline_get_type),
16572         (gst_pipeline_class_init), (gst_pipeline_init),
16573         (gst_pipeline_dispose), (gst_pipeline_set_property),
16574         (gst_pipeline_get_property), (do_pipeline_seek),
16575         (gst_pipeline_send_event), (gst_pipeline_change_state),
16576         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16577         (gst_pipeline_get_delay):
16578         * gst/gstpipeline.h:
16579         Added methods for setting the delay.
16580         API: gst_pipeline_set_delay()
16581         API: gst_pipeline_get_delay()
16582         Add pipeline debug category
16583         Various cleanups.
16584         Updated docs.
16585         Don't reset stream time when seek failed.
16586
16587 2006-03-13  Wim Taymans  <wim@fluendo.com>
16588
16589         * docs/design/draft-klass.txt:
16590         * docs/design/part-clocks.txt:
16591         * docs/design/part-events.txt:
16592         * docs/design/part-gstbin.txt:
16593         * docs/design/part-gstpipeline.txt:
16594         * docs/design/part-messages.txt:
16595         * docs/design/part-negotiation.txt:
16596         * docs/design/part-overview.txt:
16597         * docs/design/part-preroll.txt:
16598         * docs/design/part-seeking.txt:
16599         * docs/design/part-states.txt:
16600         * docs/design/part-streams.txt:
16601         Documentation updates.
16602
16603 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16604
16605         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16606         us to leak strings...
16607
16608 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16609
16610         * libs/gst/net/gstnettimeprovider.c:
16611           fix docs
16612         * win32/common/config.h:
16613           update
16614
16615 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16616
16617         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16618
16619         * configure.ac:
16620           Don't check for libgnomeui (leftover from old examples
16621           that aren't built or disted any longer) (#334303).
16622           
16623 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16624
16625         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16626         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16627           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16628           there's no space left on the device.
16629
16630 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16631
16632         * gst/gstclock.h:
16633           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16634           to cast the input to GstClockTime before comparing with
16635           another GstClockTime value.
16636
16637 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16638
16639         * configure.ac:
16640           back to trunk
16641
16642 === release 0.10.4 ===
16643
16644 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16645
16646         * configure.ac:
16647           releasing 0.10.4, "Light"
16648
16649 2006-03-10  Michael Smith  <msmith@fluendo.com>
16650
16651         * libs/gst/dataprotocol/dataprotocol.c:
16652           Fix docs for dataprocotol to not get the return types completely
16653           wrong for a few functions.
16654
16655 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16656
16657         * docs/gst/gstreamer-sections.txt:
16658         * gst/gstpipeline.c: (gst_pipeline_class_init),
16659         (gst_pipeline_init), (gst_pipeline_set_property),
16660         (gst_pipeline_get_property), (gst_pipeline_change_state),
16661         (gst_pipeline_set_auto_flush_bus),
16662         (gst_pipeline_get_auto_flush_bus):
16663         * gst/gstpipeline.h:
16664           Add new API: gst_pipeline_set_auto_flush_bus() and
16665           gst_pipeline_get_auto_flush_bus() to disable automatic
16666           flushing of the pipeline's GstBus when going from READY
16667           to NULL state (#332045).
16668
16669 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16670
16671         * docs/gst/gstreamer-sections.txt:
16672         * gst/gsturi.c: (gst_uri_has_protocol):
16673         * gst/gsturi.h:
16674            Add new API: gst_uri_has_protocol() (#333779).
16675
16676 2006-03-09  Wim Taymans  <wim@fluendo.com>
16677
16678         * gst/gstclock.c: (gst_clock_entry_new),
16679         (gst_clock_id_compare_func), (gst_clock_id_wait),
16680         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16681         (gst_clock_init), (gst_clock_get_internal_time),
16682         (gst_clock_set_master), (do_linear_regression),
16683         (gst_clock_add_observation), (gst_clock_set_property):
16684         * gst/gstclock.h:
16685         Review docs.
16686         Small cleanups.
16687         Fix a possible segfault when the window-size is made smaller.
16688         Calculate jitter before performing the clock wait. Ideally
16689         the clock implementation should calculate jitter but we need
16690         API breakage for that.
16691
16692         * gst/gstsystemclock.c: (gst_system_clock_init):
16693         Docs review.
16694         
16695         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16696         Remove leftover else
16697
16698         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16699         (gst_systemclock_suite):
16700         Added check to test GST_CLOCK_DIFF.
16701
16702 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16703
16704         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16705         (gst_type_find_helper_get_range):
16706           If we are provided with the size, we should implement
16707           GstTypeFind::get_length, so that typefind functions who
16708           want to can actually peek at the middle of a file.
16709
16710 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16711
16712         * docs/manual/advanced-dataaccess.xml:
16713           Add some very very basic error checking.
16714
16715         * docs/pwg/appendix-checklist.xml:
16716           Some updates to the list of things to check when writing an element.
16717
16718 2006-03-08  Wim Taymans  <wim@fluendo.com>
16719
16720         * docs/design/part-element-transform.txt:
16721         Added some docs about the design of tranform elements.
16722
16723         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16724         (gst_base_src_loop), (gst_base_src_change_state):
16725         Mark buffers with the DISCONT flag.
16726
16727 2006-03-08  Michael Smith  <msmith@fluendo.com>
16728
16729         * gst/gstregistry.h:
16730         * gst/gstregistryxml.c: (gst_registry_save),
16731         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16732         (gst_registry_xml_save_pad_template),
16733         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16734         (gst_registry_xml_write_cache):
16735           Rewrite registry-saving to avoid race conditions and check for
16736           failed writes.
16737
16738 2006-03-08  Wim Taymans  <wim@fluendo.com>
16739
16740         * libs/gst/base/gstbasetransform.c:
16741         (gst_base_transform_transform_caps),
16742         (gst_base_transform_transform_size),
16743         (gst_base_transform_prepare_output_buffer),
16744         (gst_base_transform_get_unit_size),
16745         (gst_base_transform_buffer_alloc),
16746         (gst_base_transform_handle_buffer),
16747         (gst_base_transform_change_state):
16748         Cleanups, separate normal flow from errors, add sensible
16749         DEBUG lines.
16750         Don't try to renegotiate when allocating an output buffer.
16751         Also copy DISCONT buffer flag when copying a buffer.
16752         Reset the transform after we finish streaming, not during.
16753
16754 2006-03-08  Wim Taymans  <wim@fluendo.com>
16755
16756         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16757         Use last buffer timestamp in qos message.
16758
16759 2006-03-07  Wim Taymans  <wim@fluendo.com>
16760
16761         Patch by: Christophe Fergeau
16762
16763         * docs/pwg/advanced-tagging.xml:
16764         * docs/pwg/building-pads.xml:
16765           fixes #333416
16766
16767 2006-03-07  Wim Taymans  <wim@fluendo.com>
16768
16769         * docs/libs/gstreamer-libs-sections.txt:
16770         Added basesink new methods.
16771
16772         * gst/gstevent.c:
16773         * gst/gstevent.h:
16774         Docs updates. Flesh out the QoS docs.
16775
16776         * libs/gst/base/gstadapter.c:
16777         Small doc clarification about ownership and flushing.
16778
16779         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16780         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16781         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16782         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16783         * libs/gst/base/gstbasesink.h:
16784         API additions: 
16785         Added new methods to allow subclass to control max-lateness 
16786         and sync.
16787         Generate very basic QoS events based on last sync observation.
16788         Updated docs, fix typo, added some QoS blurb.
16789
16790         * libs/gst/base/gstbasesrc.c:
16791         Remove obsolete _get_state() calls from docs.
16792
16793 2006-03-07  Wim Taymans  <wim@fluendo.com>
16794
16795         * docs/libs/gstreamer-libs-sections.txt:
16796         * libs/gst/base/gstbasetransform.h:
16797         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16798         Fix docs for GstBaseSrc.
16799
16800 2006-03-07  Wim Taymans  <wim@fluendo.com>
16801
16802         * docs/gst/gstreamer-sections.txt:
16803         * gst/gstbuffer.h:
16804         * gst/gstvalue.c:
16805         * libs/gst/base/gstbasetransform.h:
16806         Small documentation fixes.
16807
16808 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16809
16810         * gst/gstvalue.c:
16811           Document thread-unsafety of gst_value_register_foo_func()
16812           when used at the same time as gst_value_foo() (#322628).
16813
16814 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16815
16816         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16817         (gst_push_src_check_get_range):
16818           Push sources don't support pull mode by default.
16819
16820 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16821
16822         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16823         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16824         (gst_base_src_default_check_get_range):
16825         * libs/gst/base/gstbasesrc.h:
16826           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16827           provide default implementation, and rename
16828           gst_base_src_check_get_range() to
16829           gst_base_src_pad_check_get_range() for clarity.
16830
16831 2006-03-06  Wim Taymans  <wim@fluendo.com>
16832
16833         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16834         Make property overridable.
16835
16836 2006-03-06  Wim Taymans  <wim@fluendo.com>
16837
16838         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16839         (gst_base_sink_init), (gst_base_sink_set_property),
16840         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16841         * libs/gst/base/gstbasesink.h:
16842         API addition: Make max-lateness a property.
16843
16844 2006-03-06  Wim Taymans  <wim@fluendo.com>
16845
16846         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16847         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16848         Don't ever draw a frame that is >10ms late.
16849
16850 2006-03-06  Michael Smith  <msmith@fluendo.com>
16851
16852         * gst/gstmessage.c: (_gst_message_copy):
16853           When copying a message, set the parent_refcount of the enclosed
16854           structure to point at the copy, not the original message.
16855
16856 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16857
16858         Patch by: Christophe Fergeau
16859
16860         * gst/gstutils.h:
16861           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16862           usable in c++ code (#333417)
16863
16864 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16865
16866         * gst/gstclock.h:
16867           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16868
16869 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16870
16871         * libs/gst/base/gstbasetransform.c:
16872         (gst_base_transform_transform_caps):
16873           Make sure caps are writable before passing them to
16874           gst_caps_append().
16875
16876 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16877
16878         * gst/gsterror.h:
16879           Fix some minor docs errors.
16880
16881 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16882
16883           Patch by: Ross Burton <ross at burtonini dot com>
16884
16885         * gst/gsterror.c: (_gst_resource_errors_init):
16886         * gst/gsterror.h:
16887           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16888
16889 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16890
16891         * gst/gst.c:
16892         Add a check and output a g_warning when GStreamer is built
16893         against GLib 2.6 but running against 2.8 or higher, and vice 
16894         versa. (Closes: #323542)
16895
16896 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16897
16898         * gst/parse/parse.l:
16899           Commit patch for parse_launch syntax from #331255. Removes 
16900           support for quoted strings and mimetypes when writing filtered 
16901           caps. See the bug report for more details - I'm pretty sure this
16902           obscure feature is not in use by _anyone_ anywhere.
16903
16904           With this simple change, the size of the gstreamer.so here 
16905           drops from 2193KB to 1565KB.
16906
16907 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16908
16909         * plugins/elements/gsttypefindelement.h:
16910         * plugins/elements/gsttypefindelement.c:
16911         (gst_type_find_element_src_event), (start_typefinding),
16912         (stop_typefinding), (gst_type_find_element_handle_event),
16913         (gst_type_find_element_chain),
16914         (gst_type_find_element_chain_do_typefinding):
16915           Use gst_type_find_helper_for_buffer() for chain-based
16916           typefinding.
16917
16918 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16919
16920         * plugins/elements/gsttypefindelement.c:
16921         (gst_type_find_element_class_init),
16922         (gst_type_find_element_set_property),
16923         (gst_type_find_element_get_property):
16924           Deprecate "maximum" property (not only was it only taken into
16925           account for typefinding in push-mode anyway, it also was never
16926           actually possible to set it in the first place because the
16927           property was registered with the numeric property ID for the
16928           "minimum" property). Register "maximum" property correctly,
16929           for the sake of future copy'n'pasters. Remove some cruft
16930           from property get/set functions.
16931
16932 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16933
16934         * plugins/elements/gsttypefindelement.c:
16935         (gst_type_find_element_activate):
16936           Use gst_type_find_helper_get_range() here, so we
16937           can honour the "minimum" property and also emit
16938           the signal with the correct probability of the found caps.
16939
16940 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16941
16942         * docs/libs/gstreamer-libs-sections.txt:
16943         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16944         (helper_find_suggest), (gst_type_find_helper_get_range),
16945         (gst_type_find_helper):
16946         * libs/gst/base/gsttypefindhelper.h:
16947           New API: gst_type_find_helper_get_range() (#333042).
16948
16949 2006-03-02  Michael Smith  <msmith@fluendo.com>
16950
16951         * gst/gstregistryxml.c: (load_feature):
16952           Asserting on a failure to read part of the registry is Not Cool.
16953           Just log a warning and return NULL (which is already handled)
16954
16955 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16956
16957         * win32/common/libgstbase.def:
16958           added export of gst_type_find_helper_for_buffer
16959         * win32/common/libgstbase.def:
16960           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16961           gst_ghost_pad_get_target
16962
16963 2006-02-28  Wim Taymans  <wim@fluendo.com>
16964
16965         * docs/design/draft-klass.txt:
16966         We use Filter now.
16967         Added Connector to mark elements that are only used to
16968         allow pipeline connections.
16969         Moved Debug to extra feature since most of them are 
16970         functionally something else.
16971
16972 2006-02-28  Wim Taymans  <wim@fluendo.com>
16973
16974         * docs/design/draft-klass.txt:
16975         Some updates and clarifications.
16976
16977 2006-02-28  Wim Taymans  <wim@fluendo.com>
16978
16979         * docs/design/draft-klass.txt:
16980         Proposal for klass field values.
16981
16982         * docs/design/part-streams.txt:
16983         Start of a doc describing stream anatomy.
16984
16985 2006-02-28  Wim Taymans  <wim@fluendo.com>
16986
16987         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16988         Help the compiler a bit with type registration.
16989         Use existing forward cod path instead of duplicating it when 
16990         handling a message.
16991         
16992         * gst/gstbus.c: (gst_bus_get_type):
16993         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16994         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16995         * gst/gstclock.c: (gst_clock_get_type):
16996         * gst/gstelement.c: (gst_element_get_type),
16997         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16998         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16999         * gst/gstminiobject.c: (gst_mini_object_get_type):
17000         * gst/gstpad.c: (gst_pad_get_type):
17001         * gst/gstsegment.c: (gst_segment_get_type):
17002         * gst/gststructure.c: (gst_structure_get_type):
17003         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17004         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17005         * gst/gstvalue.c:
17006         Help compiler with type registration.
17007
17008         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17009         Small doc update.
17010
17011 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17012
17013         * plugins/elements/gsttypefindelement.c:
17014         (gst_type_find_element_handle_event):
17015           When we get an EOS event and have not found a type yet
17016           (most likely because we had not yet accumulated
17017           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17018           type given the data we have so far. Fixes typefinding
17019           for very short streams again, most notably quicktime
17020           redirections as used on Apple's trailer site (#331701).
17021
17022 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17023
17024         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17025         (gst_type_find_helper):
17026           Try typefinding factories with the highest rank first.
17027
17028 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17029
17030         * docs/libs/gstreamer-libs-docs.sgml:
17031         * docs/libs/gstreamer-libs-sections.txt:
17032         * libs/gst/base/gsttypefindhelper.c:
17033           Add section for typefind helper and add documentation
17034           for the old and the new function.
17035
17036 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17037
17038         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17039         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17040         (gst_type_find_helper_for_buffer):
17041         * libs/gst/base/gsttypefindhelper.h:
17042           New API: gst_type_find_helper_for_buffer() (#332723).
17043           
17044 2006-02-27  Michael Smith  <msmith@fluendo.com>
17045
17046         Patch by: Loïc Minier
17047
17048         * configure.ac:
17049         * docs/Makefile.am:
17050         * docs/slides/Makefile.am:
17051           prevent CVS directories getting disted.
17052
17053 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17054
17055         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17056           Use the REFCOUNTING category for caps refcounting.
17057           
17058 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17059
17060         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17061           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17062
17063 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17064
17065         * plugins/elements/gsttypefindelement.c:
17066         (gst_type_find_element_activate):
17067           Use gst_pad_check_pull_range() before _activate_pull()
17068           to avoid unnecessary open/close (see #331690).
17069
17070 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17071
17072         * gst/gstutils.c:
17073           Docs enhancement: make it crystal clear what the
17074           gst_pad_add_*_probe() callbacks should look like.
17075
17076 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17077
17078         * libs/gst/base/gstbasesrc.c:
17079           Document how applications can stop recording from
17080           live sources (see #330996).
17081
17082 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17083
17084         * tests/check/Makefile.am:
17085         * tests/check/libs/basesrc.c: (eos_event_counter),
17086         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17087         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17088         (gst_basesrc_suite), (main):
17089           ... and add some tests for the base source EOS stuff.
17090
17091 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17092
17093         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17094           Test case originally showed the problem fixed below,
17095           but was then amended. Add checks back at the place
17096           where they used to be.
17097
17098 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17099
17100         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17101         (gst_base_src_init), (gst_base_src_loop),
17102         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17103         (gst_base_src_change_state):
17104         * libs/gst/base/gstbasesrc.h:
17105           Don't unconditionally send EOS when going from PAUSED to
17106           READY state, esp. make sure we don't send two EOS events
17107           in some cases (e.g. one when reaching EOS and one when
17108           going from PAUSED to READY). Also, we don't want to send
17109           EOS events when operating in pull mode. However, we do
17110           want to send an EOS event when shutting down a live
17111           source explicitly, for example (fixes #330996).
17112           
17113 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17114
17115         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17116           Update src->read_position after a seek when not using mmap.
17117           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17118
17119 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17120
17121         * gst/Makefile.am:
17122         * gst/gstparse.h:
17123         * gst/gstutils.c:
17124         * gst/gstutils.h:
17125         Make things work with --disable-parse as they do with 
17126         --disable-load-save - the symbols involved disappear, but the
17127         header is still installed and GST_DISABLE_PARSE is included via
17128         gstconfig.h
17129
17130 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17131
17132         * libs/gst/base/gstbasetransform.c:
17133         (gst_base_transform_change_state): Fix a stupid bug. I was 
17134         sure I compiled that.
17135
17136 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17137
17138         * gst/gstpad.c: (gst_pad_set_blocked_async):
17139         * gst/gstutils.c: (gst_pad_add_data_probe),
17140         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17141         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17142         (gst_pad_remove_buffer_probe): Make those function act on the
17143         ghostpad target when it's a ghostpad. (Closes #331727)
17144
17145 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17146
17147         * libs/gst/base/gstbasetransform.c:
17148         (gst_base_transform_change_state): Make basetransform reusable.
17149         (Closes #331898)
17150
17151 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17152
17153         * docs/random/release:
17154         Move the current documentation of how to do a release to the top
17155         of the file.
17156
17157         * gst/gstbin.c: (gst_bin_class_init),
17158         (gst_bin_handle_message_func):
17159         Allow multiple state-recalculation threads. (Closes #328873)
17160
17161 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17162
17163         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17164         * gst/gstpad.c: (gst_pad_set_event_function),
17165         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17166         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17167         2 strings. You can't use the STR_NULL macro on that.
17168
17169 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17170
17171         * gst/gstpad.c: (gst_pad_set_event_function),
17172         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17173         (gst_pad_set_getcaps_function)
17174         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17175           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17176           So now, we can use --gst-debug-level=5 on Windows
17177         * win32/common/libgstcontroller.def:
17178           Added export of gst_controller_init
17179         * win32/vs6/libgstcontroller.dsp:
17180           Fixed Release post build configuration
17181
17182 2006-02-17  Wim Taymans  <wim@fluendo.com>
17183
17184         * tests/check/gst/gstquery.c: (GST_START_TEST):
17185         Added another check.
17186
17187 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17188
17189         * plugins/elements/gsttypefindelement.c: (find_peek):
17190           We can do peeks at non-zero offsets, as long as they
17191           fall within the buffer we have.
17192
17193 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17194
17195         * tests/check/Makefile.am:
17196         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17197         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17198         (parse_suite), (main):
17199           Add testsuite for parse launch syntax
17200
17201 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17202
17203         * plugins/elements/gsttypefindelement.c:
17204         (gst_type_find_element_chain):
17205           When typefinding is unsuccessful in the chain function, don't
17206           error out immediately. Only error out with NO_CAPS_FOUND if
17207           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17208           otherwise simply wait for more data so we can try typefinding
17209           again with more data later. Also, don't attempt to typefind
17210           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17211           this should improve typefinding from network sources where the
17212           size of the first buffer can be somewhat random.
17213
17214 2006-02-14  Wim Taymans  <wim@fluendo.com>
17215
17216         * docs/gst/gstreamer-sections.txt:
17217         * gst/gstpadtemplate.c:
17218         * gst/gstpadtemplate.h:
17219         Fix padtemplate docs, fixes #328805.
17220
17221 2006-02-14  Wim Taymans  <wim@fluendo.com>
17222
17223         * tools/gst-launch.c: (main):
17224         NO_PREROLL is not an ERROR so don't send confusing messages
17225         to the user.
17226
17227 2006-02-14  Wim Taymans  <wim@fluendo.com>
17228
17229         Patch by: Torsten Schoenfeld
17230
17231         * gst/gstregistry.c: (gst_registry_get_default),
17232         (_gst_registry_cleanup):
17233         Protect default registry with lock and ref/sink it.
17234         Fixes #324818
17235
17236 2006-02-14  Wim Taymans  <wim@fluendo.com>
17237
17238         * gst/gstbuffer.c:
17239         * gst/gstquery.c: (gst_query_list_add_format),
17240         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17241         (gst_query_parse_formats_nth):
17242         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17243         Docs fixes.
17244
17245 2006-02-14  Wim Taymans  <wim@fluendo.com>
17246
17247         * docs/gst/gstreamer-sections.txt:
17248         Reworked query docs.
17249
17250         * gst/gstquery.c: (gst_query_new_formats),
17251         (gst_query_list_add_format), (gst_query_set_formats),
17252         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17253         (gst_query_parse_formats_nth):
17254         * gst/gstquery.h:
17255         Flesh out formats query, added some new methods.
17256         Fix part of #324398.
17257
17258         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17259         Added query creation tests.
17260
17261 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17262
17263         * gst/gstpad.c: (fixate_value):
17264         Add a default fixation for fraction lists.
17265
17266 2006-02-13  Wim Taymans  <wim@fluendo.com>
17267
17268         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17269         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17270         (gst_task_join):
17271         * gst/gsttask.h:
17272         Detect and warn for obvious deadlocks. fixes #320340
17273         Fix error case where lock was not released.
17274
17275         * tests/check/Makefile.am:
17276         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17277         (task_func), (gst_element_suite), (main):
17278         Add task check.
17279
17280 2006-02-13  Wim Taymans  <wim@fluendo.com>
17281
17282         * docs/gst/gstreamer-sections.txt:
17283         * gst/gstbus.c:
17284         Add new functions to docs.
17285
17286 2006-02-13  Wim Taymans  <wim@fluendo.com>
17287
17288         * docs/design/part-TODO.txt:
17289         Updated TODO list, basesrc supports seeking to non-bytes
17290         formats.
17291
17292         * docs/design/part-element-sink.txt:
17293         Update docs.
17294
17295         * gst/gstbin.c: (bin_replace_message),
17296         (gst_bin_handle_message_func):
17297         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17298         * gst/gstevent.c: (gst_event_finalize):
17299         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17300         (gst_pad_send_event):
17301         Use shiny new _TYPE_NAME macros.
17302
17303         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17304         Move debug statement up.
17305
17306         * gst/gstelement.c: (gst_element_set_locked_state):
17307         Add some debugging.
17308
17309 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17310
17311         * docs/gst/gstreamer-sections.txt:
17312         * gst/gstmessage.h:
17313         * gst/gstquery.h:
17314           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17315           macros (#330906). Also, document the already existing
17316           GST_QUERY_TYPE macro.
17317
17318 2006-02-13  Wim Taymans  <wim@fluendo.com>
17319
17320         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17321         (event_probe), (GST_START_TEST):
17322         Only events up to the pipeline EOS are counted, there are
17323         some more when going to NULL currently which we don't care
17324         about for now.
17325
17326 2006-02-13  Wim Taymans  <wim@fluendo.com>
17327
17328         * gst/gstpad.c: (gst_pad_send_event):
17329         Correctly check flushing and emit probes. fixes #330125
17330
17331 2006-02-10  Andy Wingo  <wingo@pobox.com>
17332
17333         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17334         structure.
17335         (gst_bus_init): Cache the location of the private data in the
17336         instance structure.
17337         (gst_bus_enable_sync_message_emission) 
17338         (gst_bus_disable_sync_message_emission): Implement new public
17339         functions.
17340         (gst_bus_post): Emit the sync-message signal if the user asked for
17341         it. Fixes #330684.
17342
17343         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17344         location of the bus-private structure.
17345         (gst_bus_enable_sync_message_emission)
17346         (gst_bus_disable_sync_message_emission): API addition
17347
17348 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17349
17350         Patch by: Vincent Torri
17351
17352         * docs/pwg/building-boiler.xml:
17353         PWG patch from #326800
17354
17355 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17356
17357         * configure.ac:
17358         * docs/Makefile.am:
17359         * docs/design/Makefile.am:
17360           Dist design docs.
17361
17362 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17363
17364         * configure.ac:
17365           back to CVS
17366
17367 === release 0.10.3 ===
17368
17369 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17370
17371         * configure.ac:
17372           releasing 0.10.3, "Like a virgin"
17373
17374 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17375
17376         * configure.ac:
17377           2nd prerelease of 0.10.3
17378           Bump libtool versioning.
17379
17380 2006-02-07  Andy Wingo  <wingo@pobox.com>
17381
17382         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17383         update last_stop if we're in TIME format and the timestamp is
17384         valid.
17385
17386         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17387         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17388         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17389         If we get a new newsegment with a different format, adapt
17390         accordingly.
17391
17392         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17393         of 0. Not a problem, really.
17394
17395         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17396         warn if sync=true.
17397
17398 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17399
17400         * configure.ac:
17401           Prelease of 0.10.3
17402
17403 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17404
17405         * win32/vs7:
17406           project files updated to the default vs7 configuration
17407         * win32/common/libgstbase.def:
17408         * win32/common/libgstreamer.def:
17409           added new symbols,
17410           removed empty lines,
17411           sorted all exported symbols alphabetically
17412         * win32/common/dirent.c:
17413         * win32/common/dirent.h:
17414         * win32/common/gchar.h:
17415           use windows line end.
17416           
17417 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17418
17419         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17420           Send EOS event when stopping.
17421
17422 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17423
17424         * docs/README:
17425           Tell folks what to do if the plugin-foobar.xml file
17426           hasn't been generated for a newly-added plugin.
17427
17428 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17429
17430         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17431         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17432         (gst_collect_pads_start), (gst_collect_pads_stop),
17433         (gst_collect_pads_event): Collectpads now holds a reference
17434         to the GstPad that was added. Indeed we don't want to look
17435         at pads that might just go away with no warning...
17436
17437 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17438
17439         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17440         (gst_collect_pads_start), (gst_collect_pads_stop),
17441         (gst_collect_pads_event), (gst_collect_pads_chain):
17442         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17443         Mark Nauwelaerts's patch on bug #328491.
17444
17445 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17446
17447         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17448         (gst_utils_suite):
17449           Add some simple tests for gst_parse_bin_from_description() and
17450           gst_bin_find_unconnected_pad() (#329069).
17451
17452 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17453
17454         * tools/gst-launch.c: (event_loop), (main):
17455           Catch errors during preroll (#320084).
17456
17457 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17458
17459         * plugins/elements/gsttypefindelement.c:
17460         (gst_type_find_element_activate):
17461           Post TYPE_NOT_FOUND error message when typefinding
17462           is unsuccessful in the activate function as well.
17463
17464 2006-02-02  Wim Taymans  <wim@fluendo.com>
17465
17466         * docs/design/part-element-sink.txt:
17467         Updated doc.
17468
17469 2006-02-02  Wim Taymans  <wim@fluendo.com>
17470
17471         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17472         (gst_base_sink_render_object),
17473         (gst_base_sink_queue_object_unlocked):
17474         Only keep track of prerollable items when we are 
17475         prerolling.
17476         Before rendering after preroll, always check if we
17477         have queued items.
17478         Added some more debugging.
17479
17480 2006-02-02  Wim Taymans  <wim@fluendo.com>
17481
17482         * gst/gstelement.c: (gst_element_continue_state),
17483         (gst_element_set_state_func), (gst_element_change_state):
17484         Fixed #326576, been running this for quite some time with
17485         no regressions at all.
17486
17487 2006-02-02  Wim Taymans  <wim@fluendo.com>
17488
17489         * common/gst.supp:
17490         Added more suppressions
17491
17492 2006-02-02  Wim Taymans  <wim@fluendo.com>
17493
17494         * docs/design/part-element-sink.txt:
17495         Updated document.
17496
17497         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17498         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17499         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17500         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17501         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17502         (gst_base_sink_preroll_object),
17503         (gst_base_sink_queue_object_unlocked),
17504         (gst_base_sink_queue_object), (gst_base_sink_event),
17505         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17506         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17507         (gst_base_sink_get_position), (gst_base_sink_change_state):
17508         * libs/gst/base/gstbasesink.h:
17509         Totally refactored matching the design doc.
17510         Use two segments, one to clip incomming buffers and another to
17511         perform sync.
17512         Handle queueing correctly, bypass the queue when playing.
17513         Make EOS cancelable.
17514         Handle errors correctly when operating in pull based mode.
17515
17516         * tests/check/elements/fakesink.c: (GST_START_TEST),
17517         (fakesink_suite):
17518         Added new check for sinks.
17519
17520 2006-02-02  Wim Taymans  <wim@fluendo.com>
17521
17522         * gst/gstsegment.c: (gst_segment_clip):
17523         No reason to refuse to clip when start == -1
17524
17525 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17526
17527         * docs/README:
17528         * docs/manual/intro-basics.xml:
17529         * docs/manual/intro-preface.xml:
17530         * docs/manual/manual.xml:
17531         * docs/pwg/advanced-dparams.xml:
17532         * docs/pwg/intro-basics.xml:
17533         * docs/pwg/intro-preface.xml:
17534         * docs/pwg/pwg.xml:
17535           describe dparams (controller) for plugins
17536           unify docs a little more
17537
17538 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17539
17540         * docs/gst/gstreamer-sections.txt:
17541         * gst/gstutils.c: (element_find_unconnected_pad),
17542         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17543         * gst/gstutils.h:
17544           Add new API: gst_parse_bin_from_description() and
17545           gst_bin_find_unconnected_pad() (#329069).
17546
17547 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17548
17549         * docs/manual/README:
17550           uncover a nasty detail of the docs build
17551
17552 2006-01-31  Wim Taymans  <wim@fluendo.com>
17553
17554         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17555         Don't cache duration messages if we're not going to use or
17556         free them.
17557
17558 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17559
17560         * docs/manual/advanced-dparams.xml:
17561         * docs/pwg/advanced-dparams.xml:
17562           more dparam docs
17563         * gst/gstindex.c:
17564           fix docs
17565         * libs/gst/controller/lib.c: (gst_controller_init):
17566           init just once
17567
17568 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17569
17570         * gst/gstelement.c: (gst_element_message_full):
17571           also show file/line/func if no additional debug was given
17572
17573 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17574         
17575         * win32/vs7/grammar.vcproj:
17576           activate copy of autogenerated files for Release mode
17577
17578 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17579         
17580         * win32/common/libgstreamer.def:
17581           export gst_value_compare
17582
17583 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17584
17585         * plugins/elements/Makefile.am:
17586         * plugins/elements/gstelements.c:
17587         * plugins/elements/gstfdsink.c: (_do_init),
17588         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17589         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17590         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17591         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17592         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17593         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17594         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17595         * plugins/elements/gstfdsink.h:
17596         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17597
17598 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17599
17600         * docs/manual/advanced-dparams.xml:
17601           describe controller
17602         * docs/manual/advanced-position.xml:
17603         * docs/manual/basics-init.xml:
17604         * docs/manual/manual.xml:
17605         * docs/manual/titlepage.xml:
17606         * docs/pwg/pwg.xml:
17607         * docs/pwg/titlepage.xml:
17608           cleanup xml (more to come)
17609         * libs/gst/controller/gstcontroller.c:
17610           fix typo
17611
17612 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17613         
17614         * win32/vs6/grammar.dsp:
17615           add autogen of gstmarshal.c,h for Release mode
17616                 
17617 2006-01-30  Wim Taymans  <wim@fluendo.com>
17618
17619         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17620         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17621         (gst_base_sink_handle_object), (gst_base_sink_event),
17622         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17623         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17624         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17625         (gst_base_sink_deactivate), (gst_base_sink_activate),
17626         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17627         (gst_base_sink_query), (gst_base_sink_change_state):
17628         Basesink cleanups, remove some old code.
17629         Handle the case where a subclass can preroll in the render
17630         method (mostly audiosinks).
17631         Handle more events.
17632         Remove some locks around variables that are now protected
17633         with the PREROLL_LOCK (clock_id, flushing, ..).
17634         Optimize position query some more, do correct locking.
17635         Remove old code to push queue in state change, this is not
17636         needed anymore since preroll blocks on all prerollable items 
17637         now.
17638         Almost implemented as described in design doc.
17639
17640 2006-01-30  Wim Taymans  <wim@fluendo.com>
17641
17642         * tests/check/gst/gstbin.c: (GST_START_TEST):
17643         Wait for refcount to settle down before checking.
17644
17645 2006-01-30  Wim Taymans  <wim@fluendo.com>
17646
17647         * docs/design/part-element-sink.txt:
17648         Pseudo code overview of desired sink behaviour regarding
17649         preroll.
17650
17651 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17652         * win32/vs6/grammar.dsp:
17653           fix some bugs in Release mode for autogenerated files
17654                 
17655 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17656         * win32/common/libgstbase.def:
17657         * win32/common/libgstreamer.def:
17658           export some new symbols: gst_base_src_set_format,
17659           gst_iterator_next, gst_structure_set_valist
17660
17661 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17662
17663         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17664         Set pad functions unconditionally. Fixes #329105.
17665
17666 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17667         * win32/vs8:
17668           add vs8 project files created by Sergey Scobich
17669
17670 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17671
17672         * gst/gstutils.c: (gst_element_unlink_pads):
17673         Don't leak pad references.
17674
17675         * tests/check/elements/fakesink.c: (GST_START_TEST):
17676         * tests/check/generic/sinks.c: (GST_START_TEST):
17677         * tests/check/generic/states.c: (GST_START_TEST):
17678         * tests/check/gst/gstbin.c: (GST_START_TEST):
17679         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17680         * tests/check/gst/gstelement.c: (GST_START_TEST):
17681         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17682         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17683         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17684         Fix a bunch of leaks. Make generic/sinks.c
17685         use a bit less cpu by slowing the buffer rate
17686         between fakesrc and fakesink.
17687         
17688 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17689         * gst/gstcaps.c:
17690         * gst/gstelement.c: (gst_element_send_event):
17691         * gst/gstevent.c:
17692         * gst/gstinfo.c:
17693         * gst/gstiterator.c:
17694         * gst/gstiterator.h:
17695         * gst/gstpad.c: (gst_pad_send_event):
17696         * gst/gststructure.c:
17697         * gst/gsturi.c:
17698         * gst/gstutils.c:
17699         * gst/gstvalue.c:
17700         * libs/gst/base/gstadapter.c:
17701           doc fixes, to link to function, just write gst_cool_function(), don't
17702           prefix with '#'
17703
17704 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17705
17706         * plugins/elements/gsttee.c: (gst_tee_do_push),
17707         (gst_tee_handle_buffer):
17708         Always prefer an actual return value from a src
17709         pad in place of NOT_LINKED. This means we return
17710         WRONG_STATE when all src pads are WRONG_STATE
17711         instead of NOT_LINKED.
17712
17713         Lock when replacing the last message to prevent
17714         racing with the get_property method.
17715
17716         Add debug output
17717
17718 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17719
17720         * tests/check/Makefile.am:
17721         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17722         (main):
17723         Add a very simple check that should have caught the memleak I fixed
17724         last night (if not for the slice allocator hiding it)
17725
17726 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17727
17728         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17729         (gst_bin_remove_func), (gst_bin_handle_message_func),
17730         (bin_query_duration_fold), (bin_query_generic_fold):
17731         Clean up references to the clock provider when disposed or when
17732         handling a clock-lost message from it.
17733
17734         Unref sinks when performing a query via gst_iterator_fold, as the
17735         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17736
17737         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17738         (gst_clock_set_master):
17739         Drop our reference to the master clock, if any, when we are disposed.
17740
17741         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17742         Chain up in dispose. 
17743
17744 2006-01-26  Wim Taymans  <wim@fluendo.com>
17745
17746         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17747         Add some debugging.
17748
17749 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17750
17751         * plugins/elements/gsttee.c: (gst_tee_do_push),
17752         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17753         handles pad being NOT_LINKED or in WRONG_STATE.
17754
17755 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17756
17757         * win32/MANIFEST:
17758           more updating
17759
17760 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17761
17762         * win32/MANIFEST:
17763           remove obsolete entry
17764
17765 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17766
17767         * docs/gst/gstreamer-sections.txt:
17768         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17769         (gst_bin_iterate_sources), (gst_bin_send_event):
17770         * gst/gstbin.h:
17771         * gst/gstelement.c: (gst_element_send_event):
17772         * gst/gstevent.c:
17773         * gst/gstpad.c: (gst_pad_send_event):
17774           added code for downstream events, reviewed docs in gstevent.c
17775
17776 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17777
17778         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17779         We only query position using the clock in the playing state.
17780         Query peer in the other cases.
17781         * win32/common/config.h: Updates.
17782
17783 2006-01-24  Wim Taymans  <wim@fluendo.com>
17784
17785         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17786         A clock entry that is scheduled for the exact time of the
17787         clock is still in time.
17788
17789         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17790         (gst_base_sink_do_sync):
17791         Add some more debug info.
17792
17793 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17794
17795         * win32/vs7:
17796           Add new vs7 project files and solution.
17797
17798 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17799
17800         * win32/vs7:
17801           all files removed as they were out-dated.
17802
17803 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17804
17805         * docs/random/release:
17806           update notes
17807         * gst/gstbin.c: (gst_bin_init):
17808         * gst/gstbus.c: (gst_bus_new):
17809         * gst/gstbus.h:
17810         * gst/gstpipeline.c: (gst_pipeline_init):
17811           use gst_bus_new(), improve logging, fix docs
17812         * win32/common/config.h:
17813           update for cvs build
17814
17815 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17816
17817         * autogen.sh:
17818           up required version of automake to 1.7
17819
17820 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17821
17822         * win32/common/libgstreamer.def:
17823           export gst_buffer_is_metadata_writable
17824
17825 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17826
17827         * docs/gst/gstreamer-sections.txt:
17828         * gst/gstevent.h:
17829           Add gst_event_replace() (#327001)
17830
17831 2006-01-20  Wim Taymans  <wim@fluendo.com>
17832
17833         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17834         Make it actually compile too..
17835
17836 2006-01-20  Wim Taymans  <wim@fluendo.com>
17837
17838         * gst/gstcaps.c:
17839         Clarify behaviour of _is_equal() when passing NULL parameters.
17840
17841         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17842         (gst_pad_set_caps):
17843         Cleanups. Don't unref NULL caps.
17844         When setting the same caps, protect caps of the pad with
17845         proper lock.
17846         Use full functionality of _is_equal() when comparing caps.
17847
17848 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17849
17850         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17851         Don't loop infinitely if there are no buffers to present. Partially
17852         fixes #327197, but collectpads is just broken for reusing elements
17853         to do multiple encodes atm.
17854
17855 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17856
17857         * tools/gst-inspect.c: (print_element_features):
17858         * tools/gst-xmlinspect.c: (main):
17859         URL_HANDLER is not a plugin feature we can search for in
17860         the registry.
17861
17862 2006-01-19  Edward Hervey  <edward@fluendo.com>
17863
17864         * gst/gstelement.c: (gst_element_pads_activate): 
17865         When activating, do src pads first, then sink pads.
17866         When de-activating, do sink pads first, then src pads.
17867
17868 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17869
17870         * docs/gst/gstreamer-sections.txt:
17871         Add gst_index_add_associationv to the docs
17872
17873 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17874
17875         * gst/gstevent.c:
17876           Fix docs typo
17877
17878         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17879         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17880           Do some refactoring. Doesn't actually change functionality,
17881           but makes landing the DRAIN event easier later.
17882
17883 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17884
17885         * docs/pwg/advanced-scheduling.xml:
17886           Update from 0.9.x to 0.10 API and make example a bit
17887           clearer.
17888
17889 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17890
17891         * docs/gst/gstreamer-sections.txt:
17892         Add gst_buffer_(is|make)_metadata_writable methods.
17893
17894 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17895
17896         * docs/design/part-sparsestreams.txt:
17897         Update sparse streams doc, hopefully for greater clarity
17898
17899 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17900
17901         * docs/design/part-events.txt:
17902         Remove mention of FILLER events.
17903         Add DRAIN event.
17904
17905         * docs/design/part-sparsestreams.txt:
17906         Write some things about using NEWSEGMENT to keep sparse streams
17907         flowing.
17908
17909 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17910
17911         * gst/gstbin.c: (gst_bin_dispose):
17912           Guard gst_object_unref call against a NULL object (dispose
17913           can theoretically be called multiple times).
17914           
17915 2006-01-18  Wim Taymans  <wim@fluendo.com>
17916
17917         * gst/gstbin.c: (gst_bin_element_set_state):
17918         * gst/gstclock.c: (gst_clock_id_wait):
17919         Added some more debug info.
17920
17921         * libs/gst/base/gstadapter.c:
17922         Added more docs.
17923
17924         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17925         (gst_base_sink_do_sync), (gst_base_sink_chain):
17926         Added some comments.
17927
17928 2006-01-18  Wim Taymans  <wim@fluendo.com>
17929
17930         * tests/check/Makefile.am:
17931         * tests/check/elements/fakesink.c: (chain_async_buffer),
17932         (chain_async), (chain_async_return), (GST_START_TEST),
17933         (fakesink_suite), (main):
17934         Added fakesink test that checks prerolling and clipping
17935         behaviour.
17936
17937         * tests/check/gst/gstutils.c: (GST_START_TEST):
17938         Make check run faster so that buildbots don't timeout.
17939
17940 2006-01-18  Wim Taymans  <wim@fluendo.com>
17941
17942         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17943         (gst_base_sink_do_sync):
17944         Some cleanups.
17945         When the sink finishes blocking on the preroll buffer, it can
17946         immediatly render it instead of rendering when the next buffer
17947         arrives.
17948
17949 2006-01-18  Wim Taymans  <wim@fluendo.com>
17950
17951         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17952         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17953         (gst_base_sink_chain):
17954         Small cleanups.
17955         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17956         Don't store _last_stop if the buffer is dropped.
17957
17958 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17959
17960         * plugins/elements/gsttypefindelement.c:
17961         (gst_type_find_element_class_init):
17962           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17963           object method handler that sets the caps on the pad and we want
17964           that to happen before we emit the signal (fixes e.g. feeding a
17965           plain text file to decodebin).
17966
17967 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17968
17969         * gst/gstplugin.c: Add MPL and Proprietary as license options
17970
17971 2006-01-18  Andy Wingo  <wingo@pobox.com>
17972
17973         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17974         symbol was exported before, it appears this was just an oversight.
17975         Fixes #168703.
17976         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17977
17978         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17979         prototype to gint. OK since this prototype was not in the header.
17980
17981 2006-01-17  Andy Wingo  <wingo@pobox.com>
17982
17983         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17984         registry while we remove plugins.
17985
17986         * tools/gst-inspect.c (print_element_info): Don't unref the
17987         factory arg, that should be the responsibility of whatever code
17988         received the ref. Fixes a double-free when called from
17989         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17990         (main): Unref the factory if we have one.
17991         (print_element_list): No change -- relies on the
17992         plugin_feature_list_free to free the list of features.
17993
17994 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17995
17996         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17997         (gst_buffer_make_metadata_writable):
17998         * gst/gstbuffer.h:
17999         * libs/gst/base/gstbasetransform.c:
18000         (gst_base_transform_prepare_output_buf):
18001         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18002         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18003           Replace gst_buffer_(make|is)_metadata_writable patch now
18004           that the release is out.
18005
18006 2006-01-17  Andy Wingo  <wingo@pobox.com>
18007
18008         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18009         in the present tense without reference to versions.
18010
18011         * gst/gstregistry.c (gst_registry_add_plugin)
18012         (gst_registry_remove_plugin, gst_registry_remove_feature)
18013         (gst_registry_find_feature, gst_registry_get_feature_list)
18014         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18015         (gst_registry_lookup, gst_registry_scan_path)
18016         (_gst_registry_remove_cache_plugins)
18017         (gst_registry_get_feature_list_by_plugin): Add argument
18018         validation.
18019
18020 === release 0.10.2 ===
18021
18022 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18023
18024         * configure.ac:
18025           releasing 0.10.2, "If man is five"
18026
18027 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18028
18029         * gst/gstbuffer.c:
18030         * gst/gstbuffer.h:
18031         * libs/gst/base/gstbasetransform.c:
18032         (gst_base_transform_prepare_output_buf):
18033         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18034         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18035           Back out patch until after the release.
18036
18037 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18038
18039         * gst/gstminiobject.c:
18040           Spelling fix in docs.
18041         * ChangeLog - remove conflict indicator
18042
18043 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18044
18045         Reviewed By: Andy Wingo
18046
18047         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18048         (gst_buffer_make_metadata_writable):
18049         * gst/gstbuffer.h:
18050           Add gst_buffer_(is|make)_metadata_writable as analogues of
18051           gst_buffer_(is|make)_writable.
18052
18053         * libs/gst/base/gstbasetransform.c:
18054         (gst_base_transform_prepare_output_buf):
18055         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18056           Use name gst_buffer_(is|make)_metadata_writable functions.
18057
18058         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18059           Test gst_buffer_(is|make)_metadata_writable
18060         
18061           (Closes: #324162)
18062
18063 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18064
18065         * docs/manual/Makefile.am:
18066           don't do parallel make
18067         * configure.ac:
18068           AC_SUBST HOST_CPU
18069         * win32/common/config.h.in:
18070           add generations for HOST_CPU and GST_MAJORMINOR
18071         * win32/common/config.h:
18072           commit generated result
18073
18074 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18075
18076         * docs/manual/appendix-integration.xml:
18077           Update GNOME integration section to use gst_init_get_option_group()
18078           instead of the old popt stuff (#322911). Also, GNOME applications
18079           should  now use gconf*sink and gconf*src instead of the old gconf
18080           helper lib we had.
18081
18082 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18083
18084
18085         * docs/gst/gstreamer-docs.sgml:
18086         * docs/gst/gstreamer-sections.txt:
18087         * docs/libs/gstreamer-libs-sections.txt:
18088           add new API entries to the docs
18089         * libs/gst/controller/Makefile.am:
18090         * libs/gst/controller/gstcontroller.c:
18091         * libs/gst/controller/gstcontroller.h:
18092         * libs/gst/controller/gstcontrollerprivate.h:
18093         * libs/gst/controller/gsthelper.c:
18094         * libs/gst/controller/gstinterpolation.c:
18095           move private structs to private header
18096         * po/README:
18097           gstreamer-0.7 -> gstreamer-0.10
18098         * tests/check/libs/struct_i386.h:
18099           remove private structs
18100
18101 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18102
18103         * plugins/indexers/Makefile.am:
18104           Fixes as part of #317048
18105
18106 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18107
18108         * plugins/indexers/Makefile.am:
18109           fix #316086 - compilation when mmap is missing
18110
18111 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18112
18113         * libs/gst/base/gstbasesink.c:
18114           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18115           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18116         * win32/common/config.h:
18117           added some defines GST_MAJORMINOR and HOST_CPU
18118         * win32/common/libgstbase.def:
18119         * win32/common/libgstreamer.def:
18120           added some exported functions.
18121
18122 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18123
18124         * libs/gst/controller/gstcontroller.c:
18125         (gst_controlled_property_set_interpolation_mode),
18126         (gst_controlled_property_new):
18127         * libs/gst/controller/gstcontroller.h:
18128         * libs/gst/controller/gstinterpolation.c:
18129         (interpolate_none_get_string_value_array):
18130           make G_TYPE_STRING controlable
18131
18132 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18133
18134         * tools/README:
18135         * tools/gst-feedback.1.in:
18136         * tools/gst-inspect.1.in:
18137         * tools/gst-launch.1.in:
18138         * tools/gst-md5sum.1.in:
18139         * tools/gst-typefind.1.in:
18140         * tools/gst-xmlinspect.1.in:
18141         * tools/gst-xmllaunch.1.in:
18142           cleanup man-pages, remove reference to gst-register, document env-vars
18143
18144 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18145
18146         * gst/gstbuffer.c: (gst_buffer_span):
18147           gst_buffer_span should copy the timestamp of the first buffer
18148           if they were both originally overlapping subbuffers of the 
18149           same parent, using the same logic as the 'slow copy' case.
18150
18151 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18152
18153         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18154           Need to awaken ALL the pads when we pop a buffer, otherwise
18155           collectpads only works when there is 2 input streams.
18156
18157 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18158
18159         * docs/random/ensonic/media-device-daemon.txt:
18160           more ideas (dbus)
18161         * gst/gstbuffer.c:
18162           fix doc example, add clarification
18163         * tools/gst-launch.1.in:
18164           add initial info about GST_PLUGIN_PATH, needs more work
18165
18166 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18167
18168         * docs/manual/basics-bins.xml:
18169         * docs/manual/basics-elements.xml:
18170         * docs/manual/intro-basics.xml:
18171           Some more minor docs additions and updates.
18172
18173 2006-01-11  Wim Taymans  <wim@fluendo.com>
18174
18175         * docs/manual/basics-bins.xml:
18176         * docs/manual/basics-elements.xml:
18177         Some small fixes as pointed out by Ser-ver on IRC.
18178
18179 2006-01-10  Edward Hervey  <edward@fluendo.com>
18180
18181         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18182         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18183         the single-segment mode.
18184
18185 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18186
18187         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18188
18189         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18190         (gst_base_src_perform_seek), (gst_base_src_send_event),
18191         (gst_base_src_set_property), (gst_base_src_get_property),
18192         (gst_base_src_loop), (gst_base_src_start),
18193         (gst_base_src_activate_push):
18194         * libs/gst/base/gstbasesrc.h:
18195           Name (private) union; makes Sun's Forte compiler happy (#324900).
18196
18197 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18198
18199         * README:
18200           gst-register is gone.
18201
18202 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18203
18204         * gst/gstvalue.c: (_gst_value_initialize):
18205           make the G_TYPE_DATE instantiation work if debug is disabled
18206
18207 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18208
18209         * gst/gstmessage.c: (gst_message_parse_tag),
18210         (gst_message_parse_error), (gst_message_parse_warning):
18211           Don't crash when return location for error/warning debug
18212           string is NULL; add fact that return locations can be
18213           NULL to docs where appropriate.
18214
18215 2006-01-05  Wim Taymans  <wim@fluendo.com>
18216
18217         * gst/gstplugin.c: (gst_plugin_load_file):
18218         Replace strdup by g_strdup.
18219
18220 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18221
18222         * docs/pwg/advanced-types.xml:
18223           fix doc borkage
18224
18225 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18226
18227         submitted by: Abel Cheung
18228
18229         * po/LINGUAS:
18230         * po/zh_TW.po:
18231           Added Chinese (traditional) translation
18232
18233 2006-01-04  Wim Taymans  <wim@fluendo.com>
18234
18235         * docs/manual/basics-pads.xml:
18236         * docs/plugins/Makefile.am:
18237         * docs/plugins/gstreamer-plugins-docs.sgml:
18238         * docs/plugins/gstreamer-plugins-sections.txt:
18239         * docs/pwg/advanced-clock.xml:
18240         * docs/pwg/advanced-scheduling.xml:
18241         * docs/pwg/advanced-types.xml:
18242         * plugins/elements/gstfdsink.c:
18243         * plugins/elements/gstfdsrc.c:
18244         * plugins/elements/gstfdsrc.h:
18245         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18246         * plugins/elements/gstidentity.h:
18247         * plugins/elements/gstqueue.h:
18248         * plugins/elements/gsttee.c:
18249         * plugins/elements/gsttee.h:
18250         * plugins/elements/gsttypefindelement.c:
18251         (gst_type_find_element_class_init):
18252         * plugins/elements/gsttypefindelement.h:
18253         Small updates to various docs.
18254         Added core plugins to docs.
18255
18256 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18257
18258         * common/gst.supp:
18259           add a suppression for liboil's uninitialized variable
18260
18261 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18262
18263         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18264
18265         * gst/gstutils.h:
18266           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18267           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18268           compiler switch is being used (#325429).
18269
18270 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18271
18272         * gst/gstbin.c: (gst_bin_query):
18273           Disable duration query caching in bins until it gets
18274           fixed (see #324807).
18275
18276 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18277
18278         * tools/gst-inspect.c: (print_element_properties_info):
18279           Handle properties of POINTER and BOXED type.
18280
18281 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18282
18283         * gst/gst.c: (init_post):
18284           Init tags stuff and some other things before loading
18285           any static plugins (there may be other static plugins
18286           than just the GStreamer ones, and they may want to
18287           register their own tags or formats or whatever, and
18288           preferably without segfaulting).
18289
18290         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18291           Print at least a warning in the debug logs if we drop a
18292           query just because we don't know how to adjust the value
18293           in the particular format.
18294
18295 2005-12-24  David Schleef  <ds@schleef.org>
18296
18297         * tools/gstreamer-completion:
18298           Replacement for gst-complete written in sh and sed.  Only
18299           completes names of features, but that's 90% of what I want
18300           it for.  Properties are not available in registry.xml.  (Maybe
18301           they should be...)
18302
18303 === release 0.10.1 ===
18304
18305 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18306
18307         * configure.ac:
18308           releasing 0.10.1, "Nollaig chridheil"
18309
18310 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18311
18312         * docs/faq/cvs.xml:
18313           Add missing quote, should be make ERROR_CFLAGS="".
18314
18315 2005-12-20  Wim Taymans  <wim@fluendo.com>
18316
18317         * docs/design/part-trickmodes.txt:
18318         More documentation on trickmodes.
18319
18320 2005-12-20  Edward Hervey  <edward@fluendo.com>
18321
18322         * gst/gstcaps.c: (gst_static_caps_get_type):
18323         * gst/gstcaps.h:
18324           API addition: GST_TYPE_STATIC_CAPS
18325         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18326         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18327         * gst/gstpadtemplate.h:
18328           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18329         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18330         bindings.
18331
18332 2005-12-18  Wim Taymans  <wim@fluendo.com>
18333
18334         * libs/gst/base/gstadapter.c:
18335         * libs/gst/base/gstadapter.h:
18336         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18337         (gst_base_sink_get_position):
18338         * libs/gst/base/gstbasesink.h:
18339         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18340         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18341         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18342         (gst_base_src_send_event), (gst_base_src_update_length),
18343         (gst_base_src_get_range), (gst_base_src_loop),
18344         (gst_base_src_start):
18345         * libs/gst/base/gstbasesrc.h:
18346         * libs/gst/base/gstbasetransform.h:
18347         * libs/gst/base/gstcollectpads.h:
18348         * libs/gst/base/gstpushsrc.c:
18349         * libs/gst/base/gstpushsrc.h:
18350         * libs/gst/dataprotocol/dataprotocol.c:
18351         * libs/gst/dataprotocol/dataprotocol.h:
18352         * libs/gst/net/gstnetclientclock.h:
18353         * libs/gst/net/gstnettimeprovider.h:
18354         Documentation updates.
18355
18356 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18357
18358         * docs/manual/basics-helloworld.xml:
18359           Remove superfluous closing bracket in helloworld example.
18360
18361 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18362
18363         * tools/gst-launch.1.in:
18364           Update gst-launch man page; add a section with useful
18365           environment variables. Fixes #323882.
18366
18367 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18368
18369         * gst/gst.c:
18370         * gst/gst_private.h:
18371           change some char* into char[]
18372
18373 2005-12-16  Wim Taymans  <wim@fluendo.com>
18374
18375         * gst/gstregistryxml.c: (load_feature):
18376         Cleanups.
18377         Don't use g_object_unref on GstObjects so that we avoid
18378         leaks on unsafe glibs.
18379
18380 2005-12-16  Wim Taymans  <wim@fluendo.com>
18381
18382         * gst/gstbin.c: (gst_bin_recalc_state):
18383         Small doc updates.
18384
18385 2005-12-16  Wim Taymans  <wim@fluendo.com>
18386
18387         * common/check.mak:
18388         Added make forever target for check.
18389
18390 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18391
18392         * gst/gst.c: (init_post):
18393           make the registry cache file HOST_CPU-dependent
18394
18395 2005-12-16  Andy Wingo  <wingo@pobox.com>
18396
18397         * plugins/elements/gstbufferstore.c
18398         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18399         return value.
18400
18401         * tests/check/gst/gstobject.c
18402         (test_fake_object_name_threaded_unique): Pay attention to
18403         g_list_sort return value.
18404
18405 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18406
18407         * tools/gst-feedback-m.m:
18408           Update for 0.9/0.10 (fixes #323870).
18409
18410 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18411
18412         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18413           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18414           
18415         * tests/check/gst/gstminiobject.c: (my_foo_init),
18416         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18417         (test_value_collection), (gst_mini_object_suite):
18418           Add test to ensure refcounts end up as expected when passing
18419           GstMiniObjects through g_object_get() and g_object_set().
18420
18421 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18422
18423         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18424         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18425         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18426         of collectpads. This version removes a lot of races without
18427         touching API/ABI. Yay !
18428
18429 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18430
18431         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18432           Don't allow activation of a srcpad in pull_range if it has no
18433           getrange function.
18434           Change some debug statements to be a little clearer
18435
18436         * plugins/elements/gsttypefindelement.c:
18437         (gst_type_find_handle_src_query):
18438           Check that we have a peer before executing queries thereupon.
18439
18440         * tests/examples/metadata/read-metadata.c: (message_loop):
18441           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18442           immediately return us any available message with 0 timeout.
18443
18444 2005-12-12  Michael Smith  <msmith@fluendo.com>
18445
18446         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18447           Don't unref factories after calling them.
18448         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18449         * plugins/elements/gsttypefindelement.c:
18450         (gst_type_find_element_chain):
18451           Free lists of factories after using them. Fixing typefinding memory
18452           leaks.
18453
18454 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18455
18456         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18457         (gst_plugin_feature_load):
18458           more meaningful debug output
18459         * configure.ac:
18460         * tests/Makefile.am:
18461         * tests/old/examples/Makefile.am:
18462           make make distcheck happy again
18463
18464 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18465
18466         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18467           Catch the special case where we are operating chain-based,
18468           but the downstream peer pad has no chain function. Emit a
18469           custom error message in this case instead of letting the
18470           core generate one implying that this is some sort of core
18471           bug. It's not, it just means that whatever got plugged
18472           into the pipeline downstream when we announced the type
18473           can only operate pull-based, while our source can only
18474           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18475           Error string has not been marked for translation yet, as
18476           it probably needs some more work first.
18477
18478         (gst_type_find_element_get_best_possibility):
18479           Add helper function to find the best of all available
18480           found possibilities that qualify given the min. threshold.
18481
18482         (gst_type_find_element_handle_event):
18483           Fix the case where we get an EOS while still in TYPEFIND
18484           mode (we want to chose the best of all possible types,
18485           not just the first type that happens to be in our unsorted
18486           list of possible types).
18487
18488         (gst_type_find_element_chain):
18489           Make sure we return GST_FLOW_ERROR when we errored out
18490           in stop_typefinding(); also, don't just find the best of
18491           all found type entries and then use the last examined
18492           type entry, but actually use the best entry.
18493
18494 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18495
18496         * tests/examples/typefind/typefind.c: (type_found):
18497         * tests/examples/xml/runxml.c: (xml_loaded):
18498           More gcc4 fixes and a mem leak fix.
18499
18500 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18501
18502         * tests/examples/xml/createxml.c: (object_saved):
18503           gcc 4 fixes
18504
18505 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18506
18507         * tests/Makefile.am:
18508           enable the examples even more
18509
18510 2005-12-12  Andy Wingo  <wingo@pobox.com>
18511
18512         * libs/gst/net/gstnettimeprovider.c
18513         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18514         (gst_net_time_provider_set_property)
18515         (gst_net_time_provider_get_property):
18516         API addition: Export "active" as a GObject property.
18517         (gst_net_time_provider_thread): Only respond to time queries if
18518         the time provider is active.
18519
18520         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18521         NetTimeProvider, preserving binary compat.
18522
18523 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18524
18525         * tests/examples/controller/audio-example.c: (main):
18526         * tests/examples/launch/Makefile.am:
18527           convert comments again
18528
18529 2005-12-12  Wim Taymans  <wim@fluendo.com>
18530
18531         * libs/gst/base/gstpushsrc.c:
18532         Fix typo.
18533
18534 2005-12-12  Wim Taymans  <wim@fluendo.com>
18535
18536         * docs/libs/gstreamer-libs-sections.txt:
18537         Added new symbol to docs.
18538
18539         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18540         (gst_base_src_init), (gst_base_src_set_format),
18541         (gst_base_src_default_query), (gst_base_src_query),
18542         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18543         (gst_base_src_perform_seek), (gst_base_src_send_event),
18544         (gst_base_src_default_event), (gst_base_src_event_handler),
18545         (gst_base_src_set_property), (gst_base_src_get_property),
18546         (gst_base_src_wait), (gst_base_src_do_sync),
18547         (gst_base_src_update_length), (gst_base_src_get_range),
18548         (gst_base_src_check_get_range), (gst_base_src_loop),
18549         (gst_base_src_default_negotiate), (gst_base_src_start),
18550         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18551         (gst_base_src_change_state):
18552         * libs/gst/base/gstbasesrc.h:
18553         Implement seeking to other formats than _BYTES.
18554         Implement more seeking methods correctly.
18555         Doc updates.
18556         Added query vmethod.
18557         Added do_seek vmethod to make life easier for subclasses
18558         when seeking.
18559         API addition: gst_base_src_set_format()
18560
18561 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18562
18563         * tests/examples/Makefile.am:
18564           added that too
18565
18566 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18567
18568         * configure.ac:
18569         * docs/random/ensonic/media-device-daemon.txt:
18570         * tests/examples/controller/.cvsignore:
18571         * tests/examples/controller/Makefile.am:
18572         * tests/examples/controller/audio-example.c: (main):
18573         * tests/examples/helloworld/.cvsignore:
18574         * tests/examples/helloworld/Makefile.am:
18575         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18576         * tests/examples/launch/.cvsignore:
18577         * tests/examples/launch/Makefile.am:
18578         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18579         * tests/examples/metadata/.cvsignore:
18580         * tests/examples/metadata/Makefile.am:
18581         * tests/examples/metadata/read-metadata.c: (message_loop),
18582         (make_pipeline), (print_tag), (main):
18583         * tests/examples/queue/.cvsignore:
18584         * tests/examples/queue/Makefile.am:
18585         * tests/examples/queue/queue.c: (event_loop), (main):
18586         * tests/examples/typefind/.cvsignore:
18587         * tests/examples/typefind/Makefile.am:
18588         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18589         (main):
18590         * tests/examples/xml/.cvsignore:
18591         * tests/examples/xml/Makefile.am:
18592         * tests/examples/xml/createxml.c: (object_saved), (main):
18593         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18594         * tests/old/examples/Makefile.am:
18595         * tests/old/examples/TODO:
18596         * tests/old/examples/controller/.cvsignore:
18597         * tests/old/examples/controller/Makefile.am:
18598         * tests/old/examples/controller/audio-example.c:
18599         * tests/old/examples/helloworld/.cvsignore:
18600         * tests/old/examples/helloworld/Makefile.am:
18601         * tests/old/examples/helloworld/helloworld.c:
18602         * tests/old/examples/launch/.cvsignore:
18603         * tests/old/examples/launch/Makefile.am:
18604         * tests/old/examples/launch/mp3parselaunch.c:
18605         * tests/old/examples/launch/mp3play:
18606         * tests/old/examples/manual/Makefile.am:
18607         * tests/old/examples/metadata/Makefile.am:
18608         * tests/old/examples/metadata/read-metadata.c:
18609         * tests/old/examples/queue/.cvsignore:
18610         * tests/old/examples/queue/Makefile.am:
18611         * tests/old/examples/queue/queue.c:
18612         * tests/old/examples/typefind/.cvsignore:
18613         * tests/old/examples/typefind/Makefile.am:
18614         * tests/old/examples/typefind/typefind.c:
18615         * tests/old/examples/xml/.cvsignore:
18616         * tests/old/examples/xml/Makefile.am:
18617         * tests/old/examples/xml/createxml.c:
18618         * tests/old/examples/xml/runxml.c:
18619           applied some simple fixing to some examples
18620           re-enabled the working examples
18621
18622 2005-12-12  Wim Taymans  <wim@fluendo.com>
18623
18624         * gst/gstsegment.c: (gst_segment_init),
18625         (gst_segment_set_last_stop), (gst_segment_set_seek),
18626         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18627         (gst_segment_to_running_time):
18628         Added more documentation.
18629         Make sure the last_pos value is updated properly.
18630         Make sure to_stream_time and to_running_time don't
18631         operate on wrong values.
18632
18633         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18634         Update check.
18635
18636 2005-12-12  Michael Smith  <msmith@fluendo.com>
18637
18638         * plugins/elements/gsttypefindelement.c: (free_entry),
18639         (gst_type_find_element_chain):
18640           Now that we're not leaking factories, make sure we keep references
18641           to them while we need them.
18642
18643 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18644
18645         * tests/check/gst/struct_i386.h:
18646           ifdef out the XML structs
18647
18648 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18649
18650         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18651           floor is not needed, F is always positive; this obviates the
18652           need for adding -lm when building without libxml
18653
18654 2005-12-12  Wim Taymans  <wim@fluendo.com>
18655
18656         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18657         Take current playback rate into account when reporting
18658         the position.
18659
18660 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18661
18662         * docs/manual/mime-world.fig:
18663           Let's try this again, this time with a file that is
18664           actually in XFig format.
18665
18666 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18667
18668         * docs/manual/mime-world.fig:
18669           Add audioconvert element to diagram so that it
18670           matches the text and the code (fixes #319526).
18671
18672 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18673
18674         * docs/pwg/building-chainfn.xml:
18675         * docs/pwg/building-pads.xml:
18676         * docs/pwg/building-state.xml:
18677         * docs/pwg/other-source.xml:
18678           Update state change stuff for 0.10 (fixes #322969).
18679
18680 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18681
18682         * docs/manual/advanced-dataaccess.xml:
18683         * docs/manual/appendix-checklist.xml:
18684         * docs/manual/appendix-programs.xml:
18685         * docs/manual/basics-pads.xml:
18686         * docs/manual/highlevel-components.xml:
18687         * docs/manual/manual.xml:
18688           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18689           add converters in front of pipelines; remove curly
18690           brackets for threads stuff, they no longer exist; use
18691           GST_TYPE_FRACTION for framerates; update some pieces of
18692           code to 0.10, but there's plenty more to do.
18693
18694         * docs/manual/appendix-porting.xml:
18695           Expand on asynchroneous state changes; s/0.9/0.10/;
18696           mention disappearance of gst_init_get_popt_table()
18697           (fixes #322916).
18698
18699 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18700
18701         * docs/faq/using.xml:
18702           Spider no longer exists, and neither does gst-launch-ext.
18703           Update examples to use decodebin and playbin and put
18704           converters in front of sinks (fixes #323726).
18705
18706 2005-12-09  Michael Smith  <msmith@fluendo.com>
18707
18708         * plugins/elements/gsttypefindelement.c: (find_peek),
18709         (gst_type_find_element_chain):
18710           Fix leaking element factories in typefinding.
18711           Fix problem where we forgot about a probable type on non-seekable
18712           files, and thus later mis-typefound it.
18713
18714 2005-12-09  Michael Smith  <msmith@fluendo.com>
18715
18716         * common/m4/gst-makecontext.m4:
18717         * common/m4/gst-mcsc.m4:
18718         * configure.ac:
18719         * win32/common/config.h:
18720         * win32/common/config.h.in:
18721           Remove makecontext stuff; not used in 0.10 and causes problems on
18722           HPUX according to bug #322441
18723
18724 2005-12-07  Wim Taymans  <wim@fluendo.com>
18725
18726         * tests/check/Makefile.am:
18727         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18728         (main):
18729         * tests/check/libs/struct_i386.h:
18730         Added ABI check for libs
18731
18732 2005-12-07  Wim Taymans  <wim@fluendo.com>
18733
18734         * tests/check/Makefile.am:
18735         And add the struct_i386.h to dist.
18736
18737 2005-12-07  Wim Taymans  <wim@fluendo.com>
18738
18739         * tests/check/Makefile.am:
18740         * tests/check/gst/.cvsignore:
18741         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18742         (main):
18743         * tests/check/gst/struct_i386.h:
18744         Added check for ABI compatibility.
18745
18746 2005-12-07  Wim Taymans  <wim@fluendo.com>
18747
18748         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18749         (gst_fake_src_get_times), (gst_fake_src_create):
18750         Fix broken sync option, fixes #323259
18751
18752 2005-12-07  Wim Taymans  <wim@fluendo.com>
18753
18754         * gst/gstbuffer.c:
18755         Small docs update.
18756
18757         * gst/gstcaps.c: (gst_caps_is_equal):
18758         Don't assert on NULL <--> X. Fixes #323260
18759
18760         * gst/gstminiobject.c: (gst_mini_object_replace):
18761         If we're doing atomic operations, we might just as well use
18762         the proper way to get an atomic pointer.
18763
18764         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18765         Clean up debugging.
18766
18767 2005-12-07  Michael Smith  <msmith@fluendo.com>
18768
18769         * gst/parse/grammar.y:
18770           Remove handling of { } for threads.
18771
18772 2005-12-06  David Schleef  <ds@schleef.org>
18773
18774         * libs/gst/base/gstbasetransform.c: speling fix.
18775
18776 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18777
18778         * docs/libs/tmpl/gstdataprotocol.sgml:
18779         * docs/random/omega/testing/gstobject.c:
18780         * gst/gst.c:
18781         * gst/gstclock.c:
18782         * gst/gstelement.c:
18783         * gst/gstelementfactory.c:
18784         * gst/gsterror.c:
18785         * gst/gstevent.c:
18786         * gst/gstghostpad.c:
18787         * gst/gstinfo.c:
18788         * gst/gstpadtemplate.c:
18789         * gst/gstregistryxml.c:
18790         * gst/gsttaglist.c:
18791         * gst/gsttagsetter.c:
18792         * gst/gsttypefind.c:
18793         * gst/gstvalue.c:
18794         * libs/gst/base/gstbasesrc.c:
18795         * libs/gst/net/gstnetclientclock.c:
18796         * libs/gst/net/gstnettimeprovider.c:
18797         * plugins/elements/gstfakesrc.c:
18798         * plugins/elements/gstfdsrc.c:
18799         * plugins/elements/gstfilesrc.c:
18800         * plugins/elements/gstidentity.c:
18801         * plugins/elements/gstqueue.c:
18802         * plugins/elements/gsttypefindelement.c:
18803         * plugins/indexers/gstfileindex.c:
18804         * plugins/indexers/gstmemindex.c:
18805         * tests/check/gst/gsttag.c:
18806         * tests/old/examples/cutter/cutter.c:
18807         * tests/old/examples/mixer/mixer.c:
18808         * tests/old/examples/xml/runxml.c: (main):
18809         * tests/old/testsuite/caps/normalisation.c:
18810         * tests/old/testsuite/debug/global.c:
18811         * tests/old/testsuite/parse/parse1.c:
18812         * tools/gst-xmlinspect.c:
18813         * win32/common/dirent.c:
18814           expand tabs
18815
18816 === release 0.10.0 ===
18817
18818 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18819
18820         * configure.ac:
18821           releasing 0.10.0, "Maroilles"
18822
18823 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18824
18825         submitted by: Funda Wang <fundawang@linux.net.cn>
18826
18827         * po/LINGUAS:
18828         * po/zh_CN.po:
18829           added Chinese (Traditional) translation
18830
18831 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18832
18833         * docs/gst/gstreamer-sections.txt:
18834         * docs/libs/tmpl/gstdataprotocol.sgml:
18835         * docs/random/thomasvs/TODO:
18836         * gst/gstutils.c:
18837         * gst/gstutils.h:
18838           fix docs
18839
18840 2005-12-05  Andy Wingo  <wingo@pobox.com>
18841
18842         patch by: Wim Taymans <wim@fluendo.com>
18843
18844         * libs/gst/base/gstbasetransform.c
18845         (gst_base_transform_prepare_output_buf)
18846         (gst_base_transform_buffer_alloc):
18847         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18848         alloc_buffer_and_set_caps.
18849
18850         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18851         set_caps on the source pad.
18852         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18853         alloc_buffer used to do. Fixes #322874.
18854
18855         * docs/gst/gstreamer-sections.txt: 
18856         * docs/design/part-negotiation.txt: 
18857         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18858         changes.
18859
18860 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18861
18862         patch by: Sebastien Moutte
18863
18864         * win32/MANIFEST:
18865         * win32/common/config.h.in:
18866         * win32/vs6/libgstcontroller.dsp:
18867           win32 build fixes
18868
18869 2005-12-05  Wim Taymans  <wim@fluendo.com>
18870
18871         * gst/gstcaps.c: (gst_caps_is_equal):
18872         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18873         (gst_fake_src_create):
18874         Back out previous code changes, leave doc updates, file bugs 
18875         instead. 
18876
18877 2005-12-05  Wim Taymans  <wim@fluendo.com>
18878
18879         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18880         (gst_fake_src_get_times), (gst_fake_src_create):
18881         * plugins/elements/gstfakesrc.h:
18882         Fix broken sync code.
18883
18884 2005-12-05  Wim Taymans  <wim@fluendo.com>
18885
18886         * gst/gstcaps.c: (gst_caps_is_equal):
18887         Comparing NULL against !NULL yields different caps, not a
18888         failure.
18889
18890 2005-12-05  Wim Taymans  <wim@fluendo.com>
18891
18892         * gst/gstpipeline.c:
18893         Fix small typo in docs.
18894
18895 2005-12-05  Andy Wingo  <wingo@pobox.com>
18896
18897         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18898
18899         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18900         registries/plugins with a MAJORMINOR one.
18901         (plugin_desc): Rename library from gstcoreleements to
18902         staticelements. Fixes #323222.
18903
18904 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18905
18906         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18907           Change debug category to 'collectpads' from 'collect_pads'
18908           (fixes #323250).
18909
18910 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18911
18912         patch by: Sebastien Moutte
18913
18914         * libs/gst/controller/gstinterpolation.c:
18915           use convert function for uint64/double
18916         * win32/vs6/libgstcontroller.dsp:
18917           link to GLib
18918
18919 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18920
18921         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18922         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18923         * gst/gstutils.h:
18924         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18925           add tests that seem to show that the guint64/gdouble conversions
18926           are correct.
18927
18928 2005-12-02  Wim Taymans  <wim@fluendo.com>
18929
18930         * gst/gstregistry.c: (gst_registry_add_path):
18931         * gst/gstregistry.h:
18932         * gst/gstregistryxml.c:
18933         Fix docs again.
18934
18935 2005-12-02  Wim Taymans  <wim@fluendo.com>
18936
18937         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18938         (gst_util_uint64_scale_int):
18939         Small cleanup.
18940
18941         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18942         Add debug log line.
18943
18944         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18945         Add FIXME.
18946
18947 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18948
18949         * win32/MANIFEST:
18950         * win32/common/config.h:
18951         * win32/vs6/gstreamer.dsw:
18952         * win32/vs6/libgstcoreelements.dsp:
18953         * win32/vs6/libgstelements.dsp:
18954           renamed core elements plugin
18955
18956 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18957
18958         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18959         (get_candidates):
18960           do piece-wise major/minor comparison so 0.9 < 0.10
18961           also allow .exe extensions for tools
18962
18963 2005-12-02  Michael Smith  <msmith@fluendo.com>
18964
18965         * gst/gst.c:
18966           Escape a % to make gtkdoc happier; bug 322958.
18967
18968 === release 0.9.7 ===
18969
18970 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18971
18972         * configure.ac:
18973           releasing 0.9.7, "My Dog Has No Nose"
18974
18975 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18976
18977         * common/gst-xmlinspect.py:
18978         * configure.ac:
18979         * docs/libs/tmpl/gstdataprotocol.sgml:
18980         * docs/random/release:
18981         * po/af.po:
18982         * po/az.po:
18983         * po/bg.po:
18984         * po/ca.po:
18985         * po/cs.po:
18986         * po/de.po:
18987         * po/en_GB.po:
18988         * po/fr.po:
18989         * po/it.po:
18990         * po/nb.po:
18991         * po/nl.po:
18992         * po/ru.po:
18993         * po/sq.po:
18994         * po/sr.po:
18995         * po/sv.po:
18996         * po/tr.po:
18997         * po/uk.po:
18998         * po/vi.po:
18999         * win32/common/config.h:
19000         * win32/common/config.h.in:
19001         * win32/vs6/gst_inspect.dsp:
19002         * win32/vs6/gst_launch.dsp:
19003         * win32/vs6/libgstbase.dsp:
19004         * win32/vs6/libgstelements.dsp:
19005         * win32/vs6/libgstreamer.dsp:
19006         * win32/vs7/GStreamer.vcproj:
19007         * win32/vs7/gst-inspect.vcproj:
19008         * win32/vs7/gst-launch.vcproj:
19009         * win32/vs7/libgstbase.vcproj:
19010           bump GST_MAJORMINOR to 0.10
19011           reset libtool version
19012
19013 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19014
19015         * po/LINGUAS:
19016         * po/bg.po:
19017           Added Bulgarian translation by (Alexander Shopov)
19018
19019 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19020
19021         * tests/check/gst/gstplugin.c:
19022           fix test
19023
19024 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19025
19026         * common/gst-xmlinspect.py:
19027         * common/gtk-doc-plugins.mak:
19028         * configure.ac:
19029         * docs/Makefile.am:
19030         * docs/gst/Makefile.am:
19031         * docs/gst/gstreamer-docs.sgml:
19032         * docs/gst/gstreamer-sections.txt:
19033         * docs/gst/gstreamer.types:
19034         * docs/gst/gstreamer.types.in:
19035         * docs/plugins/Makefile.am:
19036         * docs/plugins/gstreamer-plugins-docs.sgml:
19037         * docs/plugins/gstreamer-plugins-sections.txt:
19038         * docs/plugins/gstreamer-plugins.types:
19039         * docs/plugins/inspect.stamp:
19040         * docs/plugins/inspect/plugin-coreelements.xml:
19041         * docs/plugins/inspect/plugin-coreindexers.xml:
19042         * docs/plugins/scanobj-build.stamp:
19043         * gstreamer.spec.in:
19044         * plugins/elements/Makefile.am:
19045         * plugins/elements/gstelements.c:
19046         * plugins/elements/gstfakesink.c:
19047         * plugins/elements/gstfakesrc.c:
19048         * plugins/elements/gstfilesink.c:
19049         * plugins/elements/gstfilesrc.c:
19050         * plugins/elements/gstqueue.c:
19051         * plugins/indexers/Makefile.am:
19052         * plugins/indexers/gstindexers.c:
19053           document core plugins in a separate document just like all the
19054           others
19055           rename these plugins to something starting with core
19056
19057 2005-12-01  Andy Wingo  <wingo@pobox.com>
19058
19059         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19060         padding here before, but it missed the commit.
19061
19062 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19063
19064         * libs/gst/controller/gstinterpolation.c:
19065           whitespace prices have crashed, we should feel free to use some now
19066           use gst_guint64_to_gdouble
19067
19068 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19069
19070         * libs/gst/controller/gstcontroller.c:
19071         * libs/gst/controller/gsthelper.c:
19072         * libs/gst/controller/gstinterpolation.c:
19073         * libs/gst/controller/lib.c:
19074           wrap config.h include
19075
19076 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19077
19078         * docs/gst/gstreamer-sections.txt:
19079           update docs
19080
19081 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19082
19083         * plugins/elements/gstelements.c:
19084         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19085         (gst_fd_sink__class_init), (gst_fd_sink__init),
19086         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19087         (gst_fd_sink__get_property):
19088         * plugins/elements/gstfdsink.h:
19089         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19090         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19091         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19092         (gst_fd_src_unlock), (gst_fd_src_set_property),
19093         (gst_fd_src_get_property), (gst_fd_src_create),
19094         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19095         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19096         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19097         (gst_fd_src_uri_handler_init):
19098         * plugins/elements/gstfdsrc.h:
19099         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19100           more anal cleanup
19101
19102 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19103
19104         * docs/gst/Makefile.am:
19105         * docs/gst/gstreamer.types.in:
19106         * gst/Makefile.am:
19107           fix the docs build
19108
19109 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19110
19111         * configure.ac:
19112         * gst/Makefile.am:
19113         * gst/gst.c:
19114         * gst/gstplugin.h:
19115         * gst/gstregistry.h:
19116         * tests/benchmarks/complexity.c:
19117         * tests/benchmarks/mass-elements.c:
19118         * tests/check/Makefile.am:
19119         * tools/Makefile.am:
19120         * tools/gst-inspect.c:
19121         * tools/gst-xmlinspect.c:
19122           various fixes to make
19123           --disable-nls --disable-registry --disable-loadsave
19124           --disable-parse --disable-gst-debug
19125           work and get the core .so down to 360444 bytes after stripping
19126
19127 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19128
19129         * Makefile.am:
19130         * configure.ac:
19131           descend into tests
19132         * docs/random/thomasvs/TODO:
19133         * tests/Makefile.am:
19134         * tests/README:
19135           add a README
19136
19137 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19138
19139         * win32/GStreamer.vcproj:
19140         * win32/MANIFEST:
19141         * win32/Makefile:
19142         * win32/Makefile.inspect:
19143         * win32/Makefile.launch:
19144         * win32/Makefile.register:
19145         * win32/README.txt:
19146         * win32/gst-inspect.vcproj:
19147         * win32/gst-launch.vcproj:
19148         * win32/gst-register.vcproj:
19149         * win32/gstelements.vcproj:
19150         * win32/gstgetbits.def:
19151         * win32/gstgetbits.vcproj:
19152         * win32/gstreamer-dbg.def:
19153         * win32/gstreamer.def:
19154         * win32/libgstbase.def:
19155         * win32/libgstbase.vcproj:
19156         * win32/link_oldruntime.c:
19157         * win32/mman.c:
19158         * win32/mman.h:
19159         * win32/mman.inl:
19160         * win32/msvc71.sln:
19161           move even more stuff, win32/ is nice and clean now
19162
19163 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19164
19165         * libs/gst/control/.cvsignore:
19166         * win32/MANIFEST:
19167         * win32/config.h:
19168         * win32/dirent.c:
19169         * win32/dirent.h:
19170         * win32/gstbytestream.def:
19171         * win32/gstbytestream.vcproj:
19172         * win32/gstconfig.h:
19173         * win32/gstenumtypes.c:
19174         * win32/gstenumtypes.h:
19175         * win32/gstoptimalscheduler.vcproj:
19176         * win32/gstversion.h:
19177         * win32/gtchar.h:
19178         * win32/testsuite/bins.vcproj:
19179         * win32/testsuite/bytestream.vcproj:
19180         * win32/testsuite/caps.vcproj:
19181         * win32/testsuite/cleanup.vcproj:
19182         * win32/testsuite/clock.vcproj:
19183         * win32/testsuite/debug.vcproj:
19184         * win32/testsuite/dlopen.vcproj:
19185         * win32/testsuite/dynparams.vcproj:
19186         * win32/testsuite/elements.vcproj:
19187         * win32/testsuite/ghostpads.vcproj:
19188         * win32/testsuite/indexers.vcproj:
19189         * win32/testsuite/negotiation.vcproj:
19190         * win32/testsuite/parse.vcproj:
19191         * win32/testsuite/plugin.vcproj:
19192         * win32/testsuite/refcounting.vcproj:
19193         * win32/testsuite/schedulers.vcproj:
19194         * win32/testsuite/states.vcproj:
19195         * win32/testsuite/tags.vcproj:
19196         * win32/testsuite/threads.vcproj:
19197           remove old win32 stuff that isn't maintained and should be
19198           reorganized
19199
19200 2005-11-30  Andy Wingo  <wingo@pobox.com>
19201
19202         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19203         loading the gst.interfaces python module bork.
19204
19205         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19206         available since GLib 2.2. Fixes #318031.
19207
19208 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19209
19210         * Makefile.am:
19211         * check/.cvsignore:
19212         * check/Makefile.am:
19213         * check/elements/.cvsignore:
19214         * check/elements/fakesrc.c:
19215         * check/elements/fdsrc.c:
19216         * check/elements/identity.c:
19217         * check/generic/.cvsignore:
19218         * check/generic/states.c:
19219         * check/gst-libs/.cvsignore:
19220         * check/gst-libs/controller.c:
19221         * check/gst-libs/gdp.c:
19222         * check/gst/.cvsignore:
19223         * check/gst/capslist.h:
19224         * check/gst/gst.c:
19225         * check/gst/gstbin.c:
19226         * check/gst/gstbuffer.c:
19227         * check/gst/gstbus.c:
19228         * check/gst/gstcaps.c:
19229         * check/gst/gstelement.c:
19230         * check/gst/gstevent.c:
19231         * check/gst/gstghostpad.c:
19232         * check/gst/gstiterator.c:
19233         * check/gst/gstmessage.c:
19234         * check/gst/gstminiobject.c:
19235         * check/gst/gstobject.c:
19236         * check/gst/gstpad.c:
19237         * check/gst/gstpipeline.c:
19238         * check/gst/gstplugin.c:
19239         * check/gst/gstsegment.c:
19240         * check/gst/gststructure.c:
19241         * check/gst/gstsystemclock.c:
19242         * check/gst/gsttag.c:
19243         * check/gst/gstutils.c:
19244         * check/gst/gstvalue.c:
19245         * check/net/.cvsignore:
19246         * check/net/gstnetclientclock.c:
19247         * check/net/gstnettimeprovider.c:
19248         * check/pipelines/.cvsignore:
19249         * check/pipelines/cleanup.c:
19250         * check/pipelines/simple_launch_lines.c:
19251         * check/pipelines/stress.c:
19252         * check/states/.cvsignore:
19253         * check/states/sinks.c:
19254         * configure.ac:
19255         * examples/Makefile.am:
19256         * examples/appreader/.cvsignore:
19257         * examples/appreader/Makefile.am:
19258         * examples/appreader/appreader.c:
19259         * examples/controller/.cvsignore:
19260         * examples/controller/Makefile.am:
19261         * examples/controller/audio-example.c:
19262         * examples/cutter/.cvsignore:
19263         * examples/cutter/Makefile.am:
19264         * examples/cutter/cutter.c:
19265         * examples/cutter/cutter.h:
19266         * examples/events/Makefile.am:
19267         * examples/events/seek.c:
19268         * examples/helloworld/.cvsignore:
19269         * examples/helloworld/Makefile.am:
19270         * examples/helloworld/helloworld.c:
19271         * examples/helloworld2/.cvsignore:
19272         * examples/helloworld2/Makefile.am:
19273         * examples/helloworld2/helloworld2.c:
19274         * examples/launch/.cvsignore:
19275         * examples/launch/Makefile.am:
19276         * examples/launch/mp3parselaunch.c:
19277         * examples/launch/mp3play:
19278         * examples/manual/.cvsignore:
19279         * examples/manual/Makefile.am:
19280         * examples/manual/extract.pl:
19281         * examples/metadata/Makefile.am:
19282         * examples/metadata/read-metadata.c:
19283         * examples/mixer/.cvsignore:
19284         * examples/mixer/Makefile.am:
19285         * examples/mixer/mixer.c:
19286         * examples/mixer/mixer.h:
19287         * examples/pingpong/.cvsignore:
19288         * examples/pingpong/Makefile.am:
19289         * examples/pingpong/pingpong.c:
19290         * examples/plugins/.cvsignore:
19291         * examples/plugins/Makefile.am:
19292         * examples/plugins/example.c:
19293         * examples/plugins/example.h:
19294         * examples/pwg/.cvsignore:
19295         * examples/pwg/Makefile.am:
19296         * examples/pwg/extract.pl:
19297         * examples/queue/.cvsignore:
19298         * examples/queue/Makefile.am:
19299         * examples/queue/queue.c:
19300         * examples/queue2/.cvsignore:
19301         * examples/queue2/Makefile.am:
19302         * examples/queue2/queue2.c:
19303         * examples/queue3/.cvsignore:
19304         * examples/queue3/Makefile.am:
19305         * examples/queue3/queue3.c:
19306         * examples/queue4/.cvsignore:
19307         * examples/queue4/Makefile.am:
19308         * examples/queue4/queue4.c:
19309         * examples/retag/.cvsignore:
19310         * examples/retag/Makefile.am:
19311         * examples/retag/retag.c:
19312         * examples/retag/transcode.c:
19313         * examples/thread/.cvsignore:
19314         * examples/thread/Makefile.am:
19315         * examples/thread/thread.c:
19316         * examples/typefind/.cvsignore:
19317         * examples/typefind/Makefile.am:
19318         * examples/typefind/typefind.c:
19319         * examples/xml/.cvsignore:
19320         * examples/xml/Makefile.am:
19321         * examples/xml/createxml.c:
19322         * examples/xml/runxml.c:
19323         * tests/Makefile.am:
19324         * tests/check/Makefile.am:
19325         * testsuite/.cvsignore:
19326         * testsuite/Makefile.am:
19327         * testsuite/Rules:
19328         * testsuite/caps/.cvsignore:
19329         * testsuite/caps/Makefile.am:
19330         * testsuite/caps/app_fixate.c:
19331         * testsuite/caps/audioscale.c:
19332         * testsuite/caps/caps.c:
19333         * testsuite/caps/caps.h:
19334         * testsuite/caps/caps_strings:
19335         * testsuite/caps/compatibility.c:
19336         * testsuite/caps/deserialize.c:
19337         * testsuite/caps/enumcaps.c:
19338         * testsuite/caps/eratosthenes.c:
19339         * testsuite/caps/filtercaps.c:
19340         * testsuite/caps/fixed.c:
19341         * testsuite/caps/fraction-convert.c:
19342         * testsuite/caps/fraction-multiply-and-zero.c:
19343         * testsuite/caps/intersect2.c:
19344         * testsuite/caps/intersection.c:
19345         * testsuite/caps/normalisation.c:
19346         * testsuite/caps/random.c:
19347         * testsuite/caps/renegotiate.c:
19348         * testsuite/caps/sets.c:
19349         * testsuite/caps/simplify.c:
19350         * testsuite/caps/string-conversions.c:
19351         * testsuite/caps/structure.c:
19352         * testsuite/caps/subtract.c:
19353         * testsuite/caps/union.c:
19354         * testsuite/debug/.cvsignore:
19355         * testsuite/debug/Makefile.am:
19356         * testsuite/debug/category.c:
19357         * testsuite/debug/commandline.c:
19358         * testsuite/debug/global.c:
19359         * testsuite/debug/output.c:
19360         * testsuite/debug/printf_extension.c:
19361         * testsuite/dlopen/.cvsignore:
19362         * testsuite/dlopen/Makefile.am:
19363         * testsuite/dlopen/dlopen_gst.c:
19364         * testsuite/dlopen/loadgst.c:
19365         * testsuite/elements/.cvsignore:
19366         * testsuite/elements/Makefile.am:
19367         * testsuite/elements/gst-inspect-check.in:
19368         * testsuite/elements/struct_i386.h:
19369         * testsuite/elements/struct_size.c:
19370         * testsuite/indexers/.cvsignore:
19371         * testsuite/indexers/Makefile.am:
19372         * testsuite/indexers/cache1.c:
19373         * testsuite/indexers/indexdump.c:
19374         * testsuite/parse/.cvsignore:
19375         * testsuite/parse/Makefile.am:
19376         * testsuite/parse/parse1.c:
19377         * testsuite/parse/parse2.c:
19378         * testsuite/plugin/.cvsignore:
19379         * testsuite/plugin/Makefile.am:
19380         * testsuite/plugin/README:
19381         * testsuite/plugin/dynamic.c:
19382         * testsuite/plugin/linked.c:
19383         * testsuite/plugin/loading.c:
19384         * testsuite/plugin/registry.c:
19385         * testsuite/plugin/static.c:
19386         * testsuite/plugin/static2.c:
19387         * testsuite/plugin/testplugin.c:
19388         * testsuite/plugin/testplugin2.c:
19389         * testsuite/plugin/testplugin2_s.c:
19390         * testsuite/plugin/testplugin_s.c:
19391         * testsuite/refcounting/.cvsignore:
19392         * testsuite/refcounting/Makefile.am:
19393         * testsuite/refcounting/bin.c:
19394         * testsuite/refcounting/element.c:
19395         * testsuite/refcounting/element_pad.c:
19396         * testsuite/refcounting/mainloop.c:
19397         * testsuite/refcounting/mem.c:
19398         * testsuite/refcounting/mem.h:
19399         * testsuite/refcounting/object.c:
19400         * testsuite/refcounting/pad.c:
19401         * testsuite/refcounting/sched.c:
19402         * testsuite/refcounting/thread.c:
19403         * testsuite/states/.cvsignore:
19404         * testsuite/states/Makefile.am:
19405         * testsuite/states/bin.c:
19406         * testsuite/states/locked.c:
19407         * testsuite/states/parent.c:
19408         * testsuite/threads/.cvsignore:
19409         * testsuite/threads/159566.c:
19410         * testsuite/threads/159852.c:
19411         * testsuite/threads/Makefile.am:
19412         * testsuite/threads/queue.c:
19413         * testsuite/threads/signals.c:
19414         * testsuite/threads/staticrec.c:
19415         * testsuite/threads/thread.c:
19416         * testsuite/threads/threadb.c:
19417         * testsuite/threads/threadc.c:
19418         * testsuite/threads/threadd.c:
19419         * testsuite/threads/threade.c:
19420         * testsuite/threads/threadf.c:
19421         * testsuite/threads/threadg.c:
19422         * testsuite/threads/threadh.c:
19423         * testsuite/threads/threadi.c:
19424           move all of these under tests
19425
19426 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19427
19428         * configure.ac:
19429         * tests/Makefile.am:
19430           fix distcheck
19431
19432 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19433
19434         * docs/gst/gstreamer-sections.txt:
19435         * tests/sched/.cvsignore:
19436         * tests/sched/Makefile.am:
19437         * tests/sched/cases/(fs-fs).xml:
19438         * tests/sched/cases/(fs-i-fs).xml:
19439         * tests/sched/cases/(fs-i-i-fs).xml:
19440         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19441         * tests/sched/dynamic-pipeline.c:
19442         * tests/sched/interrupt1.c:
19443         * tests/sched/interrupt2.c:
19444         * tests/sched/interrupt3.c:
19445         * tests/sched/runtestcases:
19446         * tests/sched/runxml.c:
19447         * tests/sched/sched-stress.c:
19448         * tests/sched/sort.c:
19449         * tests/sched/testcases:
19450         * tests/sched/testcases1.tc:
19451         * tests/seeking/.cvsignore:
19452         * tests/seeking/Makefile.am:
19453         * tests/seeking/seeking1.c:
19454         * tests/threadstate/.cvsignore:
19455         * tests/threadstate/Makefile.am:
19456         * tests/threadstate/test1.c:
19457         * tests/threadstate/test2.c:
19458         * tests/threadstate/threadstate1.c:
19459         * tests/threadstate/threadstate2.c:
19460         * tests/threadstate/threadstate3.c:
19461         * tests/threadstate/threadstate4.c:
19462         * tests/threadstate/threadstate5.c:
19463           remove obsolete tests
19464         * configure.ac:
19465         * tests/bench-complexity.scm:
19466         * tests/bench-mass_elements.scm:
19467         * tests/complexity.c:
19468         * tests/complexity.gnuplot:
19469         * tests/instantiate/.cvsignore:
19470         * tests/instantiate/Makefile.am:
19471         * tests/instantiate/caps.c:
19472         * tests/mass_elements.c:
19473         * tests/network-clock-utils.scm:
19474         * tests/network-clock.scm:
19475         * tests/plot-data:
19476         First pass at cleaning up tests/ dir before moving the rest
19477         Combined with CVS surgery
19478
19479 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19480
19481         * po/POTFILES.in:
19482           queue has moved, update
19483
19484 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19485
19486         * docs/gst/gstreamer-sections.txt:
19487           remove double entries from the docs
19488         * gst/gst_private.h:
19489         * gst/gstinfo.c: (_gst_debug_init):
19490           remove the THREAD debug category
19491         * gst/Makefile.am:
19492         * gst/gstqueue.c:
19493         * gst/gstqueue.h:
19494         * docs/gst/gstreamer.types:
19495         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19496         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19497           completely move queue and fix up debugging categories
19498
19499 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19500
19501         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19502           make initialization portable, using LL is not
19503
19504 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19505
19506         * win32/common/gstconfig.h:
19507           add large padding
19508
19509 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19510
19511         * win32/common/libgstreamer.def:
19512           rename symbols; sort base section
19513
19514 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19515
19516         * gst/gstclock.c: (do_linear_regression):
19517           remove crack non-portable handrolled DEBUG macro
19518
19519 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19520
19521         * docs/random/release:
19522           update notes
19523         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19524         (gst_object_flags_get_type), (register_gst_bin_flags),
19525         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19526         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19527         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19528         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19529         (gst_caps_flags_get_type), (register_gst_clock_return),
19530         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19531         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19532         (gst_clock_flags_get_type), (register_gst_state),
19533         (gst_state_get_type), (register_gst_state_change_return),
19534         (gst_state_change_return_get_type), (register_gst_state_change),
19535         (gst_state_change_get_type), (register_gst_element_flags),
19536         (gst_element_flags_get_type), (register_gst_core_error),
19537         (gst_core_error_get_type), (register_gst_library_error),
19538         (gst_library_error_get_type), (register_gst_resource_error),
19539         (gst_resource_error_get_type), (register_gst_stream_error),
19540         (gst_stream_error_get_type), (register_gst_event_type_flags),
19541         (gst_event_type_flags_get_type), (register_gst_event_type),
19542         (gst_event_type_get_type), (register_gst_seek_type),
19543         (gst_seek_type_get_type), (register_gst_seek_flags),
19544         (gst_seek_flags_get_type), (register_gst_format),
19545         (gst_format_get_type), (register_gst_index_certainty),
19546         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19547         (gst_index_entry_type_get_type),
19548         (register_gst_index_lookup_method),
19549         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19550         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19551         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19552         (gst_index_flags_get_type), (register_gst_debug_level),
19553         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19554         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19555         (gst_iterator_result_get_type), (register_gst_iterator_item),
19556         (gst_iterator_item_get_type), (register_gst_message_type),
19557         (gst_message_type_get_type), (register_gst_mini_object_flags),
19558         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19559         (gst_pad_link_return_get_type), (register_gst_flow_return),
19560         (gst_flow_return_get_type), (register_gst_activate_mode),
19561         (gst_activate_mode_get_type), (register_gst_pad_direction),
19562         (gst_pad_direction_get_type), (register_gst_pad_flags),
19563         (gst_pad_flags_get_type), (register_gst_pad_presence),
19564         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19565         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19566         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19567         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19568         (gst_plugin_flags_get_type), (register_gst_rank),
19569         (gst_rank_get_type), (register_gst_query_type),
19570         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19571         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19572         (gst_tag_flag_get_type), (register_gst_task_state),
19573         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19574         (gst_alloc_trace_flags_get_type),
19575         (register_gst_type_find_probability),
19576         (gst_type_find_probability_get_type), (register_gst_uri_type),
19577         (gst_uri_type_get_type), (register_gst_parse_error),
19578         (gst_parse_error_get_type):
19579         * win32/common/gstenumtypes.h:
19580         * win32/common/gstversion.h:
19581           update visual studio generated files
19582
19583 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19584
19585         * win32/vs6/libgstbase.dsp:
19586         * win32/vs6/libgstelements.dsp:
19587           update project files for new locations
19588
19589 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19590
19591         * Makefile.am:
19592           remove some files
19593         * README:
19594           reinstate and update
19595         * DEVEL:
19596         * REQUIREMENTS:
19597           removed
19598         * LICENSE:
19599         * docs/random/LICENSE:
19600           moved to random
19601
19602 2005-11-30  Edward Hervey  <edward@fluendo.com>
19603
19604         * gst/gsttypefind.c: (gst_type_find_register):
19605         * gst/gsttypefind.h:
19606         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19607         (gst_type_find_factory_dispose):
19608         * gst/gsttypefindfactory.h:
19609         Fix memory leak in GstTypeFindFactory.
19610
19611 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19612
19613         * gst/gst.c:
19614         * plugins/elements/Makefile.am:
19615         * plugins/elements/gstelements.c:
19616         * plugins/elements/gstqueue.c:
19617           move queue from core to the elements plugin
19618
19619 2005-11-29  Andy Wingo  <wingo@pobox.com>
19620
19621         * libs/gst/base/gstbasetransform.h: 
19622         * libs/gst/base/gstbasesrc.h: 
19623         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19624
19625         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19626         of pointers by which to pad very extensible base classes (like the
19627         ones in libs/gst/base).
19628
19629 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19630
19631         * docs/gst/gstreamer-docs.sgml:
19632         * docs/gst/gstreamer-sections.txt:
19633         * docs/libs/gstreamer-libs-docs.sgml:
19634         * docs/libs/gstreamer-libs-sections.txt:
19635           moving documentation from core to lib
19636
19637 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19638
19639         * check/Makefile.am:
19640         * configure.ac:
19641         * docs/gst/Makefile.am:
19642         * gst/Makefile.am:
19643         * gst/base/.cvsignore:
19644         * gst/base/Makefile.am:
19645         * gst/base/README:
19646         * gst/base/gstadapter.c:
19647         * gst/base/gstadapter.h:
19648         * gst/base/gstbasesink.c:
19649         * gst/base/gstbasesink.h:
19650         * gst/base/gstbasesrc.c:
19651         * gst/base/gstbasesrc.h:
19652         * gst/base/gstbasetransform.c:
19653         * gst/base/gstbasetransform.h:
19654         * gst/base/gstcollectpads.c:
19655         * gst/base/gstcollectpads.h:
19656         * gst/base/gstpushsrc.c:
19657         * gst/base/gstpushsrc.h:
19658         * gst/base/gsttypefindhelper.c:
19659         * gst/base/gsttypefindhelper.h:
19660         * gst/check/Makefile.am:
19661         * gst/check/gstcheck.c:
19662         * gst/check/gstcheck.h:
19663         * gst/net/Makefile.am:
19664         * gst/net/gstnet.h:
19665         * gst/net/gstnetclientclock.c:
19666         * gst/net/gstnetclientclock.h:
19667         * gst/net/gstnettimepacket.c:
19668         * gst/net/gstnettimepacket.h:
19669         * gst/net/gstnettimeprovider.c:
19670         * gst/net/gstnettimeprovider.h:
19671         * libs/gst/Makefile.am:
19672         * libs/gst/base/Makefile.am:
19673         * libs/gst/base/gstbasetransform.c:
19674         * libs/gst/check/Makefile.am:
19675         * plugins/elements/Makefile.am:
19676         * po/POTFILES.in:
19677           CVS surgery + support to move base, check, and net out of gst
19678           and into libs/gst
19679
19680 2005-11-29  Andy Wingo  <wingo@pobox.com>
19681
19682         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19683
19684         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19685         padding.
19686
19687         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19688
19689         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19690
19691         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19692
19693         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19694         padding; reduces object size by about 30%. We don't expect
19695         anything else to go into gstobject.
19696
19697         * gst/gstminiobject.h (struct _GstMiniObject)
19698         (struct _GstMiniObjectClass): Only one pointer of padding; the
19699         payload is only a pointer and two ints anyway. For the class there
19700         are only two methods as well.
19701         
19702         * gst/gstelement.h (struct _GstElementClass): Removed
19703         the state_changed signal callback, it is not used.
19704
19705 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19706
19707         * docs/gst/gstreamer.types:
19708           fix includes, though they are a little dinky
19709
19710 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19711
19712         * check/Makefile.am:
19713           look in the right place for elements, a lot more chance of
19714           success
19715         * gst/Makefile.am:
19716           remove indexers and elements subdirs
19717         * plugins/Makefile.am:
19718           make indexers conditional
19719
19720 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19721
19722         * Makefile.am:
19723         * configure.ac:
19724         * plugins/elements/Makefile.am:
19725         * plugins/elements/gstcapsfilter.c:
19726         * plugins/elements/gstfilesink.c:
19727         * plugins/elements/gstfilesrc.c:
19728         * plugins/elements/gstidentity.c:
19729         * plugins/indexers/Makefile.am:
19730           do CVS surgery and related build fixery to move elements
19731           and indexers in a new gstreamer/plugins directory, out of the
19732           gst/ directory
19733
19734 2005-11-29  Andy Wingo  <wingo@pobox.com>
19735
19736         * check/Makefile.am:
19737         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19738         * pkgconfig/gstreamer-net.pc.in:
19739         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19740         #322257.
19741
19742 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19743
19744         * tools/Makefile.am:
19745         * tools/gst-complete.1.in:
19746         * tools/gst-complete.c:
19747         * tools/gst-compprep.1.in:
19748         * tools/gst-compprep.c:
19749           removing -compprep and -complete
19750
19751 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19752
19753         * gst/gstevent.c: (gst_event_new_new_segment),
19754         (gst_event_parse_new_segment):
19755         * gst/gstevent.h:
19756           fix #320529 - clean up new_segment API and structure.
19757           Let's hope everyone was using the methods, and not the structure.
19758
19759 2005-11-29  Edward Hervey  <edward@fluendo.com>
19760
19761         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19762         (gst_base_sink_event), (gst_base_sink_do_sync),
19763         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19764         Properly handle non GST_FORMAT_TIME segment
19765         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19766         Properly handle non GST_FORMAT_TIME segment
19767         * gst/gstsegment.c:
19768         This function is valid if the accumulator is 0 and the format
19769         is different from the requested format.
19770         
19771 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19772
19773         * docs/gst/gstreamer-sections.txt:
19774         Add gst_query_new_seeking and gst_query_parse_seeking to the
19775         docs.
19776
19777 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19778
19779         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19780           Treat a pad alloc with new caps the same as if we were not
19781           negotiated, in order to allow a changing upstream output
19782           to produce a new format of data.
19783
19784 2005-11-29  Edward Hervey  <edward@fluendo.com>
19785
19786         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19787         (gst_base_transform_event), (gst_base_transform_eventfunc):
19788         The event virtual method is now properly implemented, with a default
19789         handler
19790         Sub classes should call the parent_class event method. They should
19791         return FALSE if they had a problem handling the given event, or don't
19792         want GstBaseTransform to send that even downstream
19793         * gst/elements/gstidentity.c: (gst_identity_class_init),
19794         (gst_identity_init), (gst_identity_event),
19795         (gst_identity_transform_ip), (gst_identity_set_property),
19796         (gst_identity_get_property):
19797         * gst/elements/gstidentity.h:
19798         Added the single-segment boolean property.
19799         If set to TRUE, it will output a single segment of data, starting from
19800         0, will eat up all incoming newsegment, and modify the timestamp of the
19801         buffers accordingly
19802
19803 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19804
19805         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19806           Don't ref NULL target pad (#322751). Improve docs.
19807
19808 2005-11-29  Michael Smith  <msmith@fluendo.com>
19809
19810         * gst/gstregistryxml.c: (load_plugin):
19811           Don't crash if we failed to load a feature from a plugin. 
19812
19813 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19814
19815         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19816         (GST_START_TEST):
19817           use more check API and less GLib API
19818
19819 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19820
19821         * Makefile.am:
19822           don't run checks if we don't have check
19823         * common/check.mak:
19824           remove the registry when running make torture
19825         * docs/gst/gstreamer-sections.txt:
19826           remove second multiply
19827         * gst/gstqueue.c: (gst_queue_loop):
19828           fix a compile warning when disabling debug
19829
19830 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19831
19832         * gst/gstinfo.h:
19833         Hey! Let's print the pad name if the pointer != NULL instead
19834         of when it == NULL :-)
19835
19836 2005-11-28  Wim Taymans  <wim@fluendo.com>
19837
19838         * check/gst/gstutils.c: (GST_START_TEST):
19839         Updated check, add some scaling accuracy checking code.
19840
19841         * gst/gstutils.c: (gst_util_div128_64),
19842         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19843         (gst_util_uint64_scale_int):
19844         Fix 6 times faster division code. Optimize for common 
19845         1/1 and less common X/1 cases.
19846
19847 2005-11-28  Wim Taymans  <wim@fluendo.com>
19848
19849         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19850         More checks.
19851
19852         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19853         (do_linear_regression), (gst_clock_add_observation):
19854         Cleanups.
19855         Release lock when the clock cannot be slaved.
19856         Catch the case where the regression returned an invalid denominator.
19857
19858         * gst/gstutils.c: (gst_util_div128_64_iterate),
19859         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19860         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19861         Add protentially more performant non-iterative 128/64 divide function
19862         that unfortunatly does not work yet.
19863         Shortcut the trivial 0/X = 0 case.
19864         Remove the warnings on overflow.
19865
19866 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19867
19868         * gst/gstplugin.c: (gst_plugin_register_func):
19869           everything causing a plugin not to load should be at least a WARNING
19870
19871 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19872
19873         * docs/random/ensonic/dparams.txt:
19874           some TODOs for the next dev cycle
19875         * libs/gst/controller/gstcontroller.c:
19876         (gst_controlled_property_set_interpolation_mode),
19877         (gst_controlled_property_new):
19878         * libs/gst/controller/gstcontroller.h:
19879           use base type to assign acccessor functions
19880
19881 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19882
19883         * check/Makefile.am:
19884         Oops, that should have been top_srcdir
19885
19886 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19887
19888         * check/Makefile.am:
19889         * check/elements/fdsrc.c: (GST_START_TEST):
19890         Use a cmdline define to specify the location of a file to use for
19891         testing, to avoid breaking distcheck.
19892
19893 2005-11-28  Andy Wingo  <wingo@pobox.com>
19894
19895         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19896
19897 2005-11-28  Edward Hervey  <edward@fluendo.com>
19898
19899         * tools/gst-launch.c: (main):
19900         Clarify the output strings, makes it easier to translate.
19901         Fixes #322626
19902
19903 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19904
19905         * gst/Makefile.am:
19906           don't try and build net if we don't even have <sys/socket.h>
19907
19908 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19909
19910         * check/Makefile.am:
19911         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19912         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19913           Add tests for fdsrc seekability
19914
19915         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19916         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19917         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19918         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19919         * gst/elements/gstfdsrc.h:
19920           fdsrc should not be a 'live' source.
19921           Implement seeking on seekable fd's.
19922
19923         * gst/gstquery.c: (gst_query_new_seeking),
19924         (gst_query_parse_seeking):
19925         * gst/gstquery.h:
19926           Implement SEEKING query functions: 
19927             *_new_seeking and *_parse_seeking
19928
19929 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19930
19931         * gst/gstelement.c: (gst_element_dispose):
19932           don't loop forever
19933
19934         * gst/gstiterator.c:
19935         * gst/gststructure.c:
19936           doc fixes
19937
19938         * libs/gst/controller/gstcontroller.c:
19939         (gst_controlled_property_set_interpolation_mode):
19940         * libs/gst/controller/gstcontroller.h:
19941         * libs/gst/controller/gstinterpolation.c:
19942         (interpolate_none_get_enum_value_array):
19943           support controlling enums
19944
19945 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19946
19947         * gst/gstvalue.c:
19948           Improve documentation for gst_value_union().
19949
19950         * gst/gstvalue.h:
19951           Change return value for union, intersect and subtract functions
19952           from gint to gboolean.
19953
19954 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19955
19956         * gst/gstvalue.c: (gst_value_serialize_any_list),
19957         (gst_value_transform_any_list_string),
19958         (gst_value_deserialize_list), (gst_value_deserialize_array),
19959         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19960         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19961         (gst_value_set_fraction_range_full),
19962         (gst_value_deserialize_fraction_range),
19963         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19964         (gst_value_deserialize_boolean),
19965         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19966         (gst_value_serialize_float), (gst_value_deserialize_float),
19967         (gst_string_wrap), (gst_value_deserialize_string),
19968         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19969         (gst_value_union_int_range_int_range),
19970         (gst_value_intersect_int_range_int_range),
19971         (gst_value_intersect_double_range_double_range),
19972         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19973         (gst_value_subtract_int_range_int_range),
19974         (gst_value_subtract_double_double_range),
19975         (gst_value_subtract_double_range_double_range),
19976         (gst_value_deserialize_fraction):
19977         * gst/gstvalue.h:
19978           Use gint, gdouble and gchar in our API instead of int, double and
19979           char (and make usage in gstvalue.c more consistent).
19980
19981 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19982
19983         * check/Makefile.am:
19984         * libs/gst/controller/Makefile.am:
19985         * libs/gst/dataprotocol/Makefile.am:
19986           fix up Makefile.am and remove GST_ENABLE_NEW
19987
19988 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19989
19990         * configure.ac:
19991         * gst/Makefile.am:
19992         * gst/base/Makefile.am:
19993         * gst/check/Makefile.am:
19994         * gst/elements/Makefile.am:
19995         * gst/net/Makefile.am:
19996           update LDFLAGS use some more
19997
19998 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19999
20000         * common/m4/gst-doc.m4:
20001           Fixes #312589
20002
20003 2005-11-26  Edward Hervey  <edward@fluendo.com>
20004
20005         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20006         This shouldn't issue a g_warning since it returns NULL if it
20007         couldn't find the plugin, and all functions using this behave
20008         properly on a NULL return. Switching to a GST_WARNING.
20009
20010 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20011
20012         * gst/gstbin.c: (gst_bin_handle_message_func):
20013         Don't leak clock messages.
20014
20015 2005-11-25  Wim Taymans  <wim@fluendo.com>
20016
20017         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20018         (gst_util_uint64_scale_int):
20019         Optimisations, remove unneeded vars.
20020
20021 2005-11-25  Wim Taymans  <wim@fluendo.com>
20022
20023         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20024         Added more checks for the high precision uint64 cases.
20025
20026         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20027         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20028         Implement high precision (guint64 * guint64) / guint64.
20029
20030 2005-11-24  Wim Taymans  <wim@fluendo.com>
20031
20032         * gst/base/gstbasesrc.c: (gst_base_src_query):
20033         Fix wrong percentage query.
20034
20035         * gst/gstutils.c: (gst_util_uint64_scale),
20036         (gst_util_uint64_scale_int):
20037         Add some more common cases that can be handled 
20038         efficiently to _scale.
20039
20040 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20041
20042         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20043         (gst_mini_object_suite):
20044           don't use check calls from threads; check probably isn't
20045           threadsafe and using a lock to make it threadsafe would
20046           defeat the purpose of this check
20047         * gst/check/gstcheck.c:
20048         * gst/check/gstcheck.h:
20049           use GST_DEBUG some more
20050
20051 2005-11-24  Wim Taymans  <wim@fluendo.com>
20052
20053         * gst/gstutils.c: (gst_util_uint64_scale),
20054         (gst_util_uint64_scale_int):
20055         Chain trivial case to _scale_int.
20056
20057 2005-11-24  Wim Taymans  <wim@fluendo.com>
20058
20059         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20060         Added test for scaling.
20061
20062         * gst/gstclock.h:
20063         Small doc fix.
20064
20065         * gst/gstutils.c: (gst_util_uint64_scale_int):
20066         Implemented high precision scaling code.
20067
20068 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20069
20070         * gst/gstinfo.h:
20071           do not crash on pad==NULL
20072
20073 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20074
20075         Patch by: Stefan Kost
20076
20077         * common/gtk-doc.mak:
20078         * docs/gst/Makefile.am:
20079         * docs/libs/Makefile.am:
20080           Fix distcheck issues for the libraries docs build
20081           Closes #319599.
20082
20083 2005-11-24  Michael Smith <msmith@fluendo.com>
20084
20085         * docs/manual/basics-helloworld.xml:
20086           Fix bug #315027: memory leak in example code in docs.
20087
20088 2005-11-24  Michael Smith <msmith@fluendo.com>
20089
20090         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20091           Unlock the PREROLL_LOCK in a failure case.
20092
20093 2005-11-24  Wim Taymans  <wim@fluendo.com>
20094
20095         * docs/gst/gstreamer-sections.txt:
20096         * gst/base/gstadapter.h:
20097         * gst/base/gstbasesink.h:
20098         * gst/base/gstbasesrc.h:
20099         * gst/base/gstbasetransform.h:
20100         * gst/base/gstpushsrc.h:
20101         * gst/elements/gstfakesink.h:
20102         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20103         * gst/elements/gstfakesrc.h:
20104         * gst/elements/gstfilesink.h:
20105         * gst/elements/gstfilesrc.h:
20106         * gst/gst.c:
20107         * gst/gstbin.c:
20108         * gst/gstbuffer.c: (_gst_buffer_copy):
20109         * gst/gstbus.h:
20110         * gst/gstcaps.c:
20111         * gst/gstchildproxy.c:
20112         * gst/gstclock.c:
20113         * gst/gstelement.c:
20114         * gst/gstelementfactory.c:
20115         * gst/gstelementfactory.h:
20116         * gst/gstevent.c:
20117         * gst/gstghostpad.h:
20118         * gst/gstindex.h:
20119         * gst/gstinterface.h:
20120         * gst/gstminiobject.c:
20121         * gst/gstminiobject.h:
20122         * gst/gstpad.c:
20123         * gst/gstpad.h:
20124         * gst/gstpadtemplate.h:
20125         * gst/gstpipeline.h:
20126         * gst/gstpluginfeature.h:
20127         * gst/gstquery.h:
20128         * gst/gstqueue.h:
20129         * gst/gsttaglist.c:
20130         * gst/gsttaglist.h:
20131         * gst/gsttagsetter.c:
20132         * gst/gsttagsetter.h:
20133         * gst/gsttrace.c:
20134         * gst/gsttrace.h:
20135         * gst/gsttypefind.h:
20136         * gst/gsturi.h:
20137         * gst/gstvalue.c:
20138         * gst/net/gstnetclientclock.c:
20139         * gst/net/gstnetclientclock.h:
20140         * gst/net/gstnettimepacket.c:
20141         * gst/net/gstnettimeprovider.c:
20142         * gst/net/gstnettimeprovider.h:
20143         Doc fixes.
20144
20145 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20146
20147         * configure.ac: back to HEAD
20148
20149 === release 0.9.6 ===
20150
20151 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20152
20153         * configure.ac:
20154           releasing 0.9.6, "Always On Time"
20155
20156 2005-11-23  Wim Taymans  <wim@fluendo.com>
20157
20158         * docs/gst/gstreamer-sections.txt:
20159         * gst/glib-compat.c:
20160         * gst/gsttagsetter.c:
20161         * gst/gstvalue.c:
20162         * gst/net/gstnetclientclock.c:
20163         * gst/net/gstnettimepacket.h:
20164         Doc updates.
20165
20166 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20167
20168         * docs/faq/using.xml:
20169         * docs/libs/tmpl/gstcontrol.sgml:
20170         * docs/manual/advanced-dparams.xml:
20171         * docs/manual/appendix-checklist.xml:
20172         * docs/manual/basics-elements.xml:
20173         * docs/pwg/other-source.xml:
20174         * docs/random/moving-plugins:
20175         * gst/gstpad.c:
20176         * tools/gst-launch.1.in:
20177           remove mentions of sinesrc
20178
20179 2005-11-23  Michael Smith <msmith@fluendo.com>
20180
20181         * docs/gst/gstreamer-sections.txt:
20182           Update for new API and API changes.
20183         * gst/gstobject.h:
20184           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20185         * gst/gstvalue.c:
20186           Documentation typo fix.
20187         * gst/net/gstnettimepacket.c:
20188           Documentation fixes for arguments.
20189
20190 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20191
20192         * gst/gststructure.c: (gst_structure_get_fraction),
20193         (gst_structure_parse_value),
20194         (gst_structure_fixate_field_nearest_fraction):
20195         * gst/gststructure.h:
20196         * gst/gstutils.c: (gst_util_uint64_scale_int):
20197         * gst/gstutils.h:
20198         * scripts/update-funcnames:
20199         API Changes. 
20200         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20201         Make gst_structure_fixate_field_nearest_fraction take a numerator
20202         and denominator argument instead of a GValue
20203         add gst_structure_get_fraction helper function.
20204
20205 2005-11-23  Wim Taymans  <wim@fluendo.com>
20206
20207         * docs/design/part-TODO.txt:
20208         Update TODO.
20209
20210         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20211         * gst/net/gstnetclientclock.h:
20212         Use parent fields for timeout and window_size.
20213
20214 2005-11-23  Andy Wingo  <wingo@pobox.com>
20215
20216         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20217         rate_num/rate_denom change.
20218
20219         * gst/net/gstnetclientclock.c
20220         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20221         OBJECT_LOCK. Don't call add_observation with the lock.
20222
20223         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20224         fraction.
20225         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20226         rate fraction.
20227         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20228         deal with rate as a fraction whose numerator and denominator are
20229         GstClockTime values.
20230         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20231         master; the other fields are protected by the SLAVE_LOCK.
20232         (do_linear_regression): Note that this must be called with the
20233         SLAVE_LOCK.
20234         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20235         OBJECT_LOCK. Call set_calibration instead of touching the
20236         variables directly.
20237         (gst_clock_set_property, gst_clock_get_property): Protect
20238         master/slave parameters with the SLAVE_LOCK.
20239
20240         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20241         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20242         note that all of the instance variables that add_observation and
20243         the set_master functions use are protected by that lock and not
20244         the OBJECT_LOCK.
20245         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20246
20247         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20248         the caller to take the object lock.
20249
20250 2005-11-23  Wim Taymans  <wim@fluendo.com>
20251
20252         * gst/gsterror.c: (_gst_core_errors_init):
20253         * gst/gsterror.h:
20254         Add error for clock stuff.
20255
20256         * gst/gstpipeline.c: (gst_pipeline_change_state),
20257         (gst_pipeline_set_clock):
20258         Post clock error when clock cannot be used in a pipeline.
20259
20260 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20261
20262         * docs/gst/gstreamer-sections.txt:
20263           make two symbols from gstinfo private for the docs
20264         * gst/base/gstcollectpads.h:
20265         * gst/gstutils.c:
20266           fix doc typos, update docs
20267
20268 2005-11-22  Wim Taymans  <wim@fluendo.com>
20269
20270         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20271         (gst_base_sink_wait), (gst_base_sink_do_sync),
20272         (gst_base_sink_handle_event):
20273         * gst/base/gstbasesink.h:
20274         No need to store the clock, the parent element class already
20275         has it.
20276
20277         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20278         Updates for clock_set returning a gboolean
20279
20280         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20281         (gst_clock_id_wait_async), (gst_clock_class_init),
20282         (gst_clock_init), (gst_clock_finalize),
20283         (gst_clock_get_internal_time), (gst_clock_get_time),
20284         (gst_clock_slave_callback), (gst_clock_set_master),
20285         (gst_clock_get_master), (do_linear_regression),
20286         (gst_clock_add_observation), (gst_clock_set_property),
20287         (gst_clock_get_property):
20288         * gst/gstclock.h:
20289         Implement master/slave. When setting a clock as a slave, a
20290         periodic timeout is scheduled to sample master and slave times.
20291         Then the slave clock is recalibrated to match offset and rate
20292         of the master clock.
20293         Update logging a bit.
20294         Add flag so that a clock can state that is cannot be slaved to
20295         another clock.
20296
20297         * gst/gstelement.c: (gst_element_set_clock):
20298         * gst/gstelement.h:
20299         The set clock returns a gboolean for when an element cannot
20300         deal with the selected clock in the pipeline. 
20301
20302         * gst/gstpipeline.c: (gst_pipeline_change_state),
20303         (gst_pipeline_set_clock):
20304         * gst/gstpipeline.h:
20305         Handle the case where the selected clock cannot be set on
20306         the pipeline.
20307
20308         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20309         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20310         (gst_net_client_clock_set_property),
20311         (gst_net_client_clock_get_property),
20312         (gst_net_client_clock_observe_times):
20313         * gst/net/gstnetclientclock.h:
20314         Use regression code in GstClock parent, remove duplicated
20315         functionality.
20316
20317 2005-11-22  Michael Smith <msmith@fluendo.com>
20318
20319         * gst/gstutils.c: (gst_util_clock_time_scale):
20320         * gst/gstutils.h:
20321         * docs/gst/gstreamer-sections.txt:
20322           Rename method to have extra underscore.
20323
20324 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20325
20326         * gst/elements/Makefile.am:
20327         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20328         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20329         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20330         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20331         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20332         * gst/elements/gstfakesrc.h:
20333         * gst/gstqueue.c: (queue_leaky_get_type):
20334           correctly fix GEnumValues so that nick is the short lowercase
20335           dashed tag
20336         * tools/gst-inspect.c: (print_element_properties_info):
20337           also show the nick, since it's useful to use from parse_launch
20338           syntax
20339           Fixes #322139
20340
20341 2005-11-22  Michael Smith <msmith@fluendo.com>
20342
20343         * gst/gstutils.c: (gst_util_clocktime_scale):
20344         * gst/gstutils.h:
20345         * docs/gst/gstreamer-sections.txt:
20346           Add util method for scaling a clocktime by a fraction. Useful 
20347           implementation is left as an exercise for the reader.
20348
20349 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20350
20351         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20352         If needed, allocate storage in the destination value during
20353         collection.
20354
20355 2005-11-22  Edward Hervey  <edward@fluendo.com>
20356
20357         * docs/gst/gstreamer-sections.txt:
20358         * gst/Makefile.am:
20359         * gst/gst.h:
20360         * gst/gsturitype.c:
20361         * gst/gsturitype.h:
20362         * gst/gstutils.c: (gst_util_set_object_arg):
20363         * tools/gst-compprep.c: (main):
20364         * tools/gst-inspect.c: (print_element_properties_info):
20365         Removed GstURI, closes bug #321061
20366
20367 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20368
20369         * check/gst/gststructure.c: (GST_START_TEST):
20370         * gst/gststructure.c: (gst_structure_parse_value):
20371           Oops, broke automatic string type parsing.
20372           Add a test to catch it in future.
20373
20374 2005-11-22  Andy Wingo  <wingo@pobox.com>
20375
20376         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20377         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20378         Actually rename the function implementations. Grr.
20379
20380 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20381
20382         * check/gst/capslist.h:
20383           Comment test cases
20384         * check/gst/gststructure.c: (GST_START_TEST),
20385         (gst_structure_suite):
20386           Test automatic value type detection in gst_structure_from_string.
20387         * gst/gststructure.c: (gst_structure_parse_value):
20388           Add fraction as a type we try and guess automatically in
20389           caps/structure strings.
20390
20391 2005-11-22  Andy Wingo  <wingo@pobox.com>
20392
20393         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20394
20395         * gst/gsttagsetter.h:
20396         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20397         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20398         (gst_tag_setter_add_tag_valist)
20399         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20400         _add_values, _add_valist, and _add_valist_values. Since this is an
20401         interface the function suffixes should be more explicit so
20402         language binding don't end up with element.add_valist ->
20403         gst_tag_setter_add_valist, for example. Fixes #322069.
20404
20405 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20406
20407         * check/gst/gstcaps.c: (GST_START_TEST):
20408           Extend caps string tests to check that a caps to string
20409           conversion is reversible and produces the same caps.
20410
20411         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20412           Output "fraction" as the generic type fraction range, so caps
20413           serialisation and deserialisation works.
20414         * check/gst/capslist.h:
20415         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20416           Support 'MIN' and 'MAX' for deserialising fractions.
20417
20418 2005-11-22  Andy Wingo  <wingo@pobox.com>
20419
20420         * gst/gstevent.h (gst_event_new_new_segment)
20421         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20422         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20423         Renamed from *_newsegment, *_buffersize, *_notarget.
20424
20425         * scripts/update-funcnames: New script, performs the changes
20426         listed above.
20427
20428 2005-11-22  Wim Taymans  <wim@fluendo.com>
20429
20430         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20431         Make sure the GstFlowReturn is returned.
20432
20433         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20434         (gst_bus_add_signal_watch):
20435         * gst/gstbus.h:
20436         add gst_bus_add_signal_watch_full.
20437
20438         * gst/gstplugin.c: (gst_plugin_load_file):
20439         Small style cleanup.
20440
20441 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20442
20443         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20444           Block the fakesrc srcpad when we send an event, to avoid
20445           contention on the stream_lock causing random test failures.
20446
20447 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20448
20449         * check/gst/gstvalue.c: (GST_START_TEST):
20450         * gst/gstvalue.c: (gst_value_fraction_subtract):
20451           Fix subtraction.
20452
20453 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20454
20455         * gst/gst.h:
20456           include "gstchildproxy.h"
20457         * gst/gstchildproxy.h:
20458         * libs/gst/controller/gstcontroller.h:
20459           use G_GNUC_NULL_TERMINATED
20460
20461 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20462
20463         * check/gst/capslist.h:
20464         * check/gst/gstcaps.c: (GST_START_TEST):
20465         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20466         * gst/gststructure.c: (gst_structure_parse_range),
20467         (gst_structure_fixate_field_nearest_fraction):
20468         * gst/gststructure.h:
20469         * gst/gstvalue.c: (gst_value_init_fraction_range),
20470         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20471         (gst_value_collect_fraction_range),
20472         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20473         (gst_value_set_fraction_range_full),
20474         (gst_value_get_fraction_range_min),
20475         (gst_value_get_fraction_range_max),
20476         (gst_value_serialize_fraction_range),
20477         (gst_value_transform_fraction_range_string),
20478         (gst_value_compare_fraction_range),
20479         (gst_value_deserialize_fraction_range),
20480         (gst_value_intersect_fraction_fraction_range),
20481         (gst_value_intersect_fraction_range_fraction_range),
20482         (gst_value_subtract_fraction_fraction_range),
20483         (gst_value_subtract_fraction_range_fraction),
20484         (gst_value_subtract_fraction_range_fraction_range),
20485         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20486         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20487         (gst_value_transform_string_fraction), (_gst_value_initialize):
20488         * gst/gstvalue.h:
20489           Implement fraction ranges and extend GstFraction to support
20490           arithmetic subtraction, as well as deserialization from integer
20491           strings such as "100"
20492           Add a testsuite as for int and double range set operations
20493
20494 2005-11-21  Andy Wingo  <wingo@pobox.com>
20495
20496         * gst/gsttaglist.h: 
20497         * gst/gstcaps.h: 
20498         * gst/gststructure.h: Add glib-compat.h.
20499
20500 2005-11-21  Wim Taymans  <wim@fluendo.com>
20501
20502         * gst/gstbin.c: (gst_bin_change_state_func):
20503         Fix for #321595
20504
20505 2005-11-21  Wim Taymans  <wim@fluendo.com>
20506
20507         * gst/gstsegment.h:
20508         And add a nice define too.
20509
20510 2005-11-21  Wim Taymans  <wim@fluendo.com>
20511
20512         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20513         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20514         (gst_segment_set_duration), (gst_segment_set_last_stop),
20515         (gst_segment_set_seek), (gst_segment_set_newsegment),
20516         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20517         (gst_segment_clip):
20518         * gst/gstsegment.h:
20519         Make binding friendly.
20520
20521 2005-11-21  Andy Wingo  <wingo@pobox.com>
20522
20523         * gst/gsttagsetter.h: 
20524         * gst/gsttaglist.h: 
20525         * gst/gststructure.h: 
20526         * gst/gstcaps.h: 
20527         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20528         #319940.
20529
20530         * gst/gsterror.c (_gst_core_errors_init):
20531         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20532         category.
20533
20534         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20535         (noinst_HEADERS): noinst the -private.
20536
20537 2005-11-21  Michael Smith <msmith@fluendo.com>
20538
20539         * gst/gstplugin.h:
20540         * gst/gstregistry.h:
20541           Remove unimplemented declarations for which we can see no sensible
20542           use.
20543
20544 2005-11-21  Andy Wingo  <wingo@pobox.com>
20545
20546         * gst/gst.h: Include glib-compat.h.
20547
20548         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20549
20550         * gst/glib-compat.c: Include the public and the private header.
20551
20552         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20553
20554         * gst/gstvalue.c: 
20555         * gst/gstpad.c: 
20556         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20557
20558         * check/gst/gstevent.c (create_custom_events): Check that
20559         FLUSH_STOP is serialized.
20560
20561         * check/elements/identity.c (event_func): 
20562         * check/elements/fakesrc.c (event_func): No stream lock, the core
20563         takes it.
20564
20565         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20566         stream lock taking, yay.
20567
20568         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20569         ensure that core takes the stream lock.
20570
20571         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20572         lock name change.
20573
20574         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20575         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20576         it already. For the flush start we do take it though so we get the
20577         right preroll state change messages.
20578
20579         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20580         the stream lock here, the core does it for us.
20581
20582         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20583         GST_STREAM_GET_LOCK.
20584         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20585         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20586         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20587         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20588         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20589         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20590
20591         * gst/gstpad.c: Update for stream lock name change.
20592
20593         * gst/base/gstbasesink.c: Update for preroll lock name change.
20594
20595 2005-11-21  Wim Taymans  <wim@fluendo.com>
20596
20597         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20598         (gst_clock_get_master):
20599         * gst/gstclock.h:
20600         * gst/gstsystemclock.c: (gst_system_clock_init):
20601         Convert Clock flags to object flags.
20602         Added methods to manage master/slave clocks.
20603
20604 2005-11-21  Wim Taymans  <wim@fluendo.com>
20605
20606         * check/gst/gstsegment.c: (GST_START_TEST):
20607         * docs/design/part-TODO.txt:
20608         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20609         (gst_base_sink_event), (gst_base_sink_do_sync),
20610         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20611         (gst_base_sink_query), (gst_base_sink_change_state):
20612         * gst/base/gstbasesink.h:
20613         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20614         (gst_base_src_default_newsegment),
20615         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20616         (gst_base_src_get_range), (gst_base_src_loop),
20617         (gst_base_src_change_state):
20618         * gst/base/gstbasesrc.h:
20619         * gst/base/gstbasetransform.c:
20620         (gst_base_transform_prepare_output_buf),
20621         (gst_base_transform_event), (gst_base_transform_change_state):
20622         * gst/base/gstbasetransform.h:
20623         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20624         (gst_collect_pads_event):
20625         * gst/base/gstcollectpads.h:
20626         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20627         (gst_fake_src_create):
20628         * gst/elements/gstfakesrc.h:
20629         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20630         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20631         (gst_segment_set_last_stop), (gst_segment_set_seek),
20632         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20633         (gst_segment_to_running_time), (gst_segment_clip):
20634         * gst/gstsegment.h:
20635         More segment updates, replace code in plugins with segment
20636         helper functions.
20637
20638 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20639
20640         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20641         Don't ignore sscanf results
20642
20643 2005-11-21  Andy Wingo  <wingo@pobox.com>
20644
20645         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20646
20647         * *.h:
20648         * *.c: Ran scripts/update-macros. Oh yes.
20649
20650         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20651         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20652         GST_GET_LOCK, etc.
20653
20654         * scripts/update-macros: New script. Run it on your files to
20655         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20656         well.
20657
20658 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20659
20660         * docs/gst/Makefile.am:
20661         * docs/gst/gstreamer-docs.sgml:
20662         * docs/gst/gstreamer-sections.txt:
20663         * docs/gst/gstreamer.types:
20664         * gst/gstinfo.h:
20665           more docs fixes, add new api to the docs
20666
20667 2005-11-21  Andy Wingo  <wingo@pobox.com>
20668
20669         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20670         state_broadcast call.
20671
20672         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20673
20674 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20675
20676         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20677         function calls for arrays.
20678
20679 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20680
20681         * docs/random/ensonic/media-device-daemon.txt:
20682           wild idea, can this be done?
20683         * docs/gst/gstreamer-sections.txt:
20684         * gst/gsterror.h:
20685         * gst/gstfilter.c:
20686         * gst/gstfilter.h:
20687         * gst/gstplugin.h:
20688         * gst/gstpluginfeature.c:
20689         * gst/gsttrace.c:
20690         * gst/gstvalue.c:
20691         * gst/gstvalue.h:
20692           doc fixes and additions
20693
20694 2005-11-21  Andy Wingo  <wingo@pobox.com>
20695
20696         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20697         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20698         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20699         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20700         private to the basesrc implementation.
20701
20702         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20703         behalf of event function if necessary. It should no longer be
20704         necessary to take the stream lock in pad's event functions. Fixes
20705         #320299.
20706
20707 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20708         * docs/gst/gstreamer-sections.txt:
20709         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20710         (gst_structure_fixate_field_nearest_double),
20711         (gst_structure_fixate_field_boolean):
20712         * gst/gststructure.h:
20713         * win32/common/libgstreamer.def:
20714         * win32/gstreamer.def:
20715
20716         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20717         (#322027)
20718
20719 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20720
20721         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20722         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20723         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20724         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20725         (gst_fdsrc_uri_handler_init):
20726         * gst/elements/gstfdsrc.h:
20727           Port fd:// URI handler from 0.8 to fdsrc
20728
20729 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20730
20731         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20732         (gst_value_serialize_fourcc):
20733         * gst/gstvalue.h:
20734           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20735           consistent with our other format defines (#320324).
20736
20737 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20738
20739         * gst/gstvalue.c: (gst_value_is_fixed):
20740           Revert previous commit. Value lists are by definition
20741           not fixed, as they are a list of possible values.
20742
20743 2005-11-21  Andy Wingo  <wingo@pobox.com>
20744
20745         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20746         during the stable series if we need it. Fixes #319178.
20747
20748         * gst/gstevent.c (gst_event_new_filler): Removed.
20749
20750         * check/gst/gstevent.c: Update comment about filler events.
20751
20752 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20753
20754         * gst/gstvalue.c: (gst_value_is_fixed):
20755           Should handle both value arrays and value lists.
20756
20757 2005-11-21  Andy Wingo  <wingo@pobox.com>
20758
20759         patch by: Alessandro Dessina <alessandro nnva org>
20760
20761         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20762         functions to access arrays. Fixes #321962.
20763
20764 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20765
20766         * docs/gst/gstreamer.types:
20767           gst_collectpads_get_type => gst_collect_pads_get_type.
20768           
20769         * gst/base/gstbasetransform.c:
20770           Remove unused SIGNAL_HANDOFF enum.
20771
20772 2005-11-21  Andy Wingo  <wingo@pobox.com>
20773
20774         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20775         the event type (upstream, downstream, serialized). Renamed
20776         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20777         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20778         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20779
20780         * gst/gstevent.c: Update for new CUSTOM event names.
20781
20782         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20783
20784         * gst/gstevent.h:
20785         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20786         bug #319392.
20787
20788 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20789
20790         * docs/gst/gstreamer-sections.txt:
20791         * win32/common/libgstbase.def:
20792         * win32/libgstbase.def:
20793         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20794         (gst_collect_pads_class_init), (gst_collect_pads_init),
20795         (gst_collect_pads_finalize), (gst_collect_pads_new),
20796         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20797         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20798         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20799         (gst_collect_pads_start), (gst_collect_pads_stop),
20800         (gst_collect_pads_peek), (gst_collect_pads_pop),
20801         (gst_collect_pads_available), (gst_collect_pads_read),
20802         (gst_collect_pads_flush), (gst_collect_pads_event),
20803         (gst_collect_pads_chain):
20804         * gst/base/gstcollectpads.h:
20805           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20806           unimplemented functions as unimplemented. Add padding to
20807           GstCollectData. (#320766, #320423)
20808
20809 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20810
20811         * gst/gstmessage.c:
20812           Improve docs for DURATION message (usage of duration parameter)
20813           (#320113)
20814
20815 2005-11-20  Wim Taymans  <wim@fluendo.com>
20816
20817         * check/Makefile.am:
20818         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20819         (main):
20820         * gst/Makefile.am:
20821         * gst/gst.h:
20822         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20823         (gst_segment_set_seek), (gst_segment_set_newsegment),
20824         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20825         (gst_segment_clip):
20826         * gst/gstsegment.h:
20827         Added segment helper structure and methods. Not fully implemented
20828         yet.
20829         Added segment check.
20830
20831 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20832
20833         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20834           Add a deserialisation test for fractions
20835         * examples/metadata/read-metadata.c: (message_loop),
20836         (make_pipeline), (main):
20837           Fix up metadata reading sample.
20838         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20839           Debug format fix
20840         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20841           Don't try and fixate empty caps
20842         * gst/gst_private.h:
20843           Wrap in G_BEGIN_DECLS/G_END_DECLS
20844         * gst/gstvalue.c: (gst_value_collect_fraction),
20845         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20846         (gst_value_transform_string_fraction),
20847         (gst_value_compare_fraction):
20848           Add some extra guards to ensure that we don't end up 
20849           with an invalid denominator of 0 in a gstfraction and
20850           that fractions always get reduced.
20851
20852 2005-11-20  Wim Taymans  <wim@fluendo.com>
20853
20854         * docs/gst/gstreamer-sections.txt:
20855         * gst/gstbuffer.h:
20856         * gst/gstelement.c:
20857         * gst/gstformat.c:
20858         * gst/gstformat.h:
20859         * gst/gstindex.h:
20860         * gst/gstquery.c:
20861         * gst/gstquery.h:
20862         * gst/gstvalue.c:
20863         Doc fixes.
20864
20865 2005-11-20  Wim Taymans  <wim@fluendo.com>
20866
20867         * docs/design/part-TODO.txt:
20868         * gst/gstcaps.h:
20869         Make a proper enum of the flag.
20870
20871 2005-11-19  Wim Taymans  <wim@fluendo.com>
20872
20873         * docs/design/part-TODO.txt:
20874         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20875         (gst_format_to_quark), (gst_format_register):
20876         * gst/gstformat.h:
20877         * gst/gstquery.c: (_gst_query_initialize),
20878         (gst_query_type_get_name), (gst_query_type_to_quark),
20879         (gst_query_type_register):
20880         * gst/gstquery.h:
20881         Add type to quark and type to string conversions.
20882
20883 2005-11-19  Andy Wingo  <wingo@pobox.com>
20884
20885         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20886         #320097.
20887
20888 2005-11-19  Wim Taymans  <wim@fluendo.com>
20889
20890         * docs/design/part-TODO.txt:
20891         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20892         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20893         (gst_bin_handle_message_func):
20894         * gst/gstbin.h:
20895         Make message handling overridable.
20896
20897 2005-11-19  Andy Wingo  <wingo@pobox.com>
20898
20899         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20900
20901         * gst/gstclock.h:
20902         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20903         be a GstClockTime.
20904         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20905         is a GstClockTime. Fixes #321710.
20906
20907         * gst/gstclock.h (GstClock): Remove offset property. Add
20908         internal_calibration and external_calibration. Fix padding. Pad
20909         also by GstClockTime so we don't run into problems.
20910
20911         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20912         (gst_clock_get_rate_offset): Remove.
20913         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20914
20915         * gst/gstutils.h:
20916         * gst/gstutils.c (g_static_rec_cond_wait)
20917         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20918
20919         * gst/gstbin.c: Remove terrible continue_state prototype.
20920
20921         * gst/gstelement.h (gst_element_continue_state): Make public.
20922
20923         * gst/gstelement.h:
20924         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20925         by continue_state. Fixes #319389.
20926
20927         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20928         Really fixes #168438. However I don't see anywhere where the
20929         filter function is called... stupid GStreamer...
20930         
20931         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20932         don't have a dispose function, so it won't get called when the
20933         object is unreffed, but oh well!
20934
20935         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20936         allows a destroy function to be set so user_data can be freed.
20937         Fixes #168438.
20938         (gst_index_set_filter): Call gst_index_set_filter_full.
20939
20940         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20941
20942         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20943         string should produce an error, given the lack of a way to
20944         represent NULL strings. Fixes #165650.
20945         
20946         * gst/gstvalue.h: 
20947         * gst/gstvalue.c (gst_value_array_append_value) 
20948         (gst_value_array_prepend_value, gst_value_array_get_size) 
20949         (gst_value_array_get_value): New API, copied from
20950         gst_value_list_*, only operates on arrays.
20951         (gst_value_list_append_value, gst_value_list_prepend_value) 
20952         (gst_value_list_concat, gst_value_list_get_size) 
20953         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20954
20955         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20956         init_list, because it works on both.
20957         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20958         (gst_value_copy_list_or_array): Renamed from copy_list.
20959         (gst_value_free_list_or_array): Renamed from free_list.
20960         (gst_value_collect_list_or_array): Renamed from collect_list.
20961         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20962         (gst_value_list_or_array_peek_pointer): Renamed from
20963         list_peek_pointer.
20964         (_gst_value_array_value_table, _gst_value_list_value_table):
20965         Update value table functions.
20966         (gst_value_compare_list_or_array): Renamed from compare_list.
20967
20968         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20969         some constness.
20970
20971         * gst/gsttaglist.c:
20972         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20973         GstTagList*. Fixes #143472.
20974
20975         * gst/gststructure.h: Clarify what the foreach/map functions can
20976         or can't do to their arguments.
20977
20978 2005-11-18  Wim Taymans  <wim@fluendo.com>
20979
20980         * gst/gstclock.c: (gst_clock_set_calibration),
20981         (gst_clock_get_calibration):
20982         Doc and API fixes.
20983         Calibration can be set with internal time equal to current
20984         internal time too.
20985
20986 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20987
20988         * gst/gsterror.c:
20989         * gst/gsterror.h:
20990           document
20991
20992 2005-11-18  Andy Wingo  <wingo@pobox.com>
20993
20994         * configure.ac: 
20995         * pkgconfig/gstreamer-net.pc.in:
20996         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20997         * pkgconfig/Makefile.am: Add net pkgconfig files.
20998
20999 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21000
21001         * gst/gstcaps.c:
21002         * gst/gstghostpad.c:
21003         * gst/gsttrace.c:
21004         * gst/gstvalue.c:
21005         * gst/gstvalue.h:
21006           docs fixes
21007
21008 2005-11-18  Andy Wingo  <wingo@pobox.com>
21009
21010         * gst/net/gstnetclientclock.c: Turn off debugging.
21011
21012         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21013         times connverge somewhat. Can't make a real test.
21014
21015         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21016         integer arithmetic. Return the minimum of the domain, which can be
21017         set as "internal" for gst_clock_set_calibration.
21018         (gst_net_client_clock_observe_times): Call _set_calibration.
21019         (gst_net_client_clock_new): Call _set_calibration instead of
21020         rate_offset.
21021
21022         * check/net/gstnetclientclock.c (test_functioning): Use the right
21023         adjustment api.
21024
21025         * gst/gstclock.h:
21026         * gst/gstclock.c (gst_clock_get_calibration) 
21027         (gst_clock_set_calibration): New functions, obsolete the ones I
21028         added yesterday. Doh. Precision issues mean we have to extrapolate
21029         from a point in the more recent past than 1970.
21030         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21031         obsolete.
21032         (gst_clock_adjust_unlocked): Use the right calibration data.
21033
21034 2005-11-18  Edward Hervey  <edward@fluendo.com>
21035
21036         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21037         Also reset the ->current_* values in READY->PAUSED
21038
21039 2005-11-18  Andy Wingo  <wingo@pobox.com>
21040
21041         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21042         Whoops, check the right fd. Also add some debugging.
21043         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21044         (do_linear_regression): Add a crapload of debugging. Subtract off
21045         the minimum values from the input series to discard unneeded bits.
21046         Use only int arithmetic. There is still double arithmetic when
21047         calculating the intercept that needs fixing. Return boolean to
21048         indicate success; FALSE would mean the domain or range is too
21049         great. Still needs fixes.
21050
21051 2005-11-18  Wim Taymans  <wim@fluendo.com>
21052
21053         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21054         For the current position in stream time, we need to subtract
21055         accumulated time.
21056         
21057         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21058         Release lock before calling the callback function of async
21059         entries.
21060
21061 2005-11-18  Andy Wingo  <wingo@pobox.com>
21062
21063         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21064         Port goes all the way to MAXUINT16.
21065
21066         * gst/net/gstnettimeprovider.c: Make the port range the same as
21067         for the kernel: 0 assigns, otherwise ports are less than
21068         MAXUINT16.
21069
21070         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21071         port change.
21072
21073         * check/net/gstnetclientclock.c (test_functioning): Add the start
21074         of another test. 
21075
21076 2005-11-18  Wim Taymans  <wim@fluendo.com>
21077
21078         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21079         (gst_bin_remove_func), (bin_bus_handler):
21080         * gst/gstbin.h:
21081         Removing a clock provider from a bin, triggers a clock lost message
21082         so that a new clock will be selected.
21083         Adding a clock to a bin triggers a clock provider message.
21084         Make sure we reselect a clock when we received a clock lost message.
21085         Keep a reference to the element that provided the clock.
21086
21087 2005-11-18  Andy Wingo  <wingo@pobox.com>
21088
21089         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21090         the clock initially so it produces values around the base time.
21091         (gst_net_client_clock_class_init): Typo fix.
21092         (gst_net_client_clock_thread): Add note on when the socket gets
21093         closed.
21094
21095 2005-11-17  Wim Taymans  <wim@fluendo.com>
21096
21097         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21098         Free remote and local time arrays.
21099
21100 2005-11-17  Wim Taymans  <wim@fluendo.com>
21101
21102         * gst/net/gstnetclientclock.c: (do_linear_regression),
21103         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21104         Fix compilation, uninitialized vars and a forgotten continue.
21105
21106 2005-11-17  Andy Wingo  <wingo@pobox.com>
21107
21108         * check/Makefile.am (check_PROGRAMS): 
21109         * check/net/gstnetclientclock.c: Add a most minimal test for the
21110         net client clock. More to come later.
21111
21112         * gst/net/gstnet.h: 
21113         * gst/net/Makefile.am: Add netclientclock.
21114
21115         * gst/net/gstnetclientclock.h:
21116         * gst/net/gstnetclientclock.c: New files, implement an untested
21117         GstClock that takes its time from a network time provider.
21118         Implements the algorithm in network-clock.scm.
21119
21120         * tests/network-clock.scm (*window-size*): Rename from
21121         *queue-length*.
21122         * tests/network-clock.scm (network-time): 
21123         * tests/network-clock-utils.scm (q-push): Update callers.
21124
21125 2005-11-17  Wim Taymans  <wim@fluendo.com>
21126
21127         * gst/gstbin.c: (gst_bin_provide_clock_func),
21128         (gst_bin_sort_iterator_new):
21129         And unref the child too..
21130
21131 2005-11-17  Wim Taymans  <wim@fluendo.com>
21132
21133         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21134         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21135         Refactor the sort iterator so it can be used while holding the
21136         LOCK too.
21137         Make clock selection select a clock closest to the source.
21138
21139 2005-11-17  Michael Smith <msmith@fluendo.com>
21140
21141         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21142         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21143         * gst/gstclock.h:
21144           Anonymous structs are a gcc (and some other compilers) extension, so
21145           don't use them. Since this is only for ABI-compatibility, and our
21146           API/ABI freeze is over in a few days, this whole thing will only
21147           last a few days, so don't bother trying to think up a meaningful
21148           name for the struct.
21149
21150 2005-11-17  Andy Wingo  <wingo@pobox.com>
21151
21152         * gst/gstclock.h (GstClock): Add rate and offset properties,
21153         preserving ABI stability. Add rate/offset accessors. Will file bug
21154         for the freeze break.
21155
21156         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21157         and offset, trying to keep precision and avoiding
21158         underflow/overflow.
21159         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21160         functions. Make gst_clock_set_time_adjust obsolete.
21161         (gst_clock_set_time_adjust): Note that this function is obsolete.
21162         Will file bug soon.
21163
21164         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21165         greppable by using GST_PADDING-1+1.
21166
21167 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21168
21169         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21170
21171         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21172           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21173
21174         * gst/gstpadtemplate.h:
21175         * gst/gstpluginfeature.h:
21176           Don't use c++ style comments in headers (#321638).
21177
21178 2005-11-16  Andy Wingo  <wingo@pobox.com>
21179
21180         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21181         buffer.
21182
21183         * check/net/gstnettimeprovider.c: Check to see that the time
21184         provider actually provides times. Works, yo!
21185
21186 2005-11-16  Wim Taymans  <wim@fluendo.com>
21187
21188         * check/Makefile.am:
21189         Enable more tests.
21190
21191         * check/elements/fakesrc.c: (GST_START_TEST):
21192         Set element to NULL before disposing it.
21193
21194 2005-11-16  Andy Wingo  <wingo@pobox.com>
21195
21196         * gst/net/Makefile.am:
21197         * gst/net/gstnet.h:
21198         * gst/net/gstnettimeprovider.c: 
21199         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21200         provider, include it from gstnet.h, and add it to the build.
21201
21202         * gst/net/gstnettimepacket.h: 
21203         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21204         sending and receiving.
21205
21206 2005-11-16  Wim Taymans  <wim@fluendo.com>
21207
21208         * check/Makefile.am:
21209         Enable valgrind check.
21210
21211         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21212         (gst_fake_src_alloc_buffer):
21213         Fix memleak.
21214
21215 2005-11-16  Wim Taymans  <wim@fluendo.com>
21216
21217         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21218         Call parent finalize too.
21219
21220 2005-11-16  Wim Taymans  <wim@fluendo.com>
21221
21222         * check/Makefile.am:
21223         Enable valgrind check that should work fine now.
21224
21225         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21226         * gst/gstqueue.c: (gst_queue_init):
21227         Fix memleaks in pad allocation.
21228
21229 2005-11-16  Andy Wingo  <wingo@pobox.com>
21230
21231         * gst/net/Makefile.am:
21232         * gst/net/gstnet.h: New part of core to hold network elements and
21233         objects. Put in core because it exposes API that applications want
21234         to use. The library is named libgstnet-tempname right now because
21235         of the existing libgstnet in gst-plugins-base. Solution is
21236         probably to rename the one in plugins-base; will file a bug for
21237         the freeze break.
21238
21239         * gst/net/gstnettimeprovider.c: 
21240         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21241         get_time call over the network.
21242
21243         * configure.ac: 
21244         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21245
21246         * check/Makefile.am:
21247         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21248         get additions shortly.
21249
21250 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21251
21252         * gst/gstpad.c: (gst_pad_new_from_static_template):
21253         * gst/gstpad.h:
21254           add gst_pad_new_from_static_template functions
21255         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21256         (gst_check_setup_sink_pad):
21257         * gst/elements/gsttee.c: (gst_tee_init):
21258           and use them
21259
21260 2005-11-16  Wim Taymans  <wim@fluendo.com>
21261
21262         * gst/gstpad.c: (gst_pad_pause_task):
21263         Removed warning, it's not really an error either.
21264
21265 2005-11-16  Wim Taymans  <wim@fluendo.com>
21266
21267         * gst/base/gstbasetransform.c:
21268         (gst_base_transform_prepare_output_buf),
21269         (gst_base_transform_event):
21270         Check if the caps are NULL, this can happen if the element
21271         is shutting down and the pad caps are set to NULL.
21272
21273 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21274
21275         * gst/elements/gsttee.c: (gst_tee_init):
21276           fix pad template leak in tee
21277
21278 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21279
21280         * gst/glib-compat.c: (g_value_dup_gst_object):
21281         * gst/glib-compat.h:
21282         * gst/gstpad.c: (gst_pad_set_property):
21283           use gst_object_ref when setting the pad template; this will
21284           trigger the pad template leaks on GLib 2.6 and the slaves
21285
21286 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21287
21288         * gst/glib-compat.c: (gst_flags_get_first_value):
21289         * gst/glib-compat.h:
21290         * gst/gstregistryxml.c:
21291           remove functions copied from GLib 2.6
21292
21293 2005-11-16  Michael Smith <msmith@fluendo.com>
21294
21295         * gst/Makefile.am:
21296           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21297           do, but only breaks with newer valgrind versions. We're not a
21298           valgrind tool, we have no link-time dependencies on libcoregrind.
21299
21300 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21301
21302         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21303           some debug changes
21304         * gst/gstmessage.h:
21305           typo fixes
21306
21307 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21308
21309         * gst/base/gstbasesrc.c: (gst_base_src_init):
21310         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21311         * gst/gstqueue.c: (gst_queue_init):
21312         * gst/gstregistryxml.c: (load_feature):
21313           Revert all these unrefs, they don't even pass make check !
21314
21315 2005-11-15  Johan Dahlin  <johan@gnome.org>
21316
21317         * gst/base/gstbasesrc.c: (gst_base_src_init):
21318         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21319         * gst/gstqueue.c: (gst_queue_init): 
21320         Free pad templates, fixes a couple of leaks.
21321
21322 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21323
21324         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21325
21326         * gst/gstpad.c: (gst_pad_get_property):
21327           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21328           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21329           (#321452)
21330
21331 2005-11-15  Wim Taymans  <wim@fluendo.com>
21332
21333         * gst/gstevent.c:
21334         Small doc update.
21335
21336 2005-11-15  Andy Wingo  <wingo@pobox.com>
21337
21338         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21339
21340         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21341         using GST_CLOCK_TIME_NONE to disable base time management.
21342         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21343         time if it was NONE before.
21344         (gst_pipeline_change_state): Only munge the base time if
21345         stream_time != GST_CLOCK_TIME_NONE.
21346
21347         * check/gst/gstpipeline.c (test_base_time): Punt around the
21348         problem of the probe not being called, because that's not the
21349         issue I'm looking at. Add a check that setting stream_time to NONE
21350         disables base time management.
21351         
21352 2005-11-15  Wim Taymans  <wim@fluendo.com>
21353
21354         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21355         segment_stop == -1 at startup.
21356
21357         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21358         (gst_base_transform_change_state):
21359         Init segment values at start.
21360
21361 2005-11-15  Wim Taymans  <wim@fluendo.com>
21362
21363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21364         0 segment values are 0 in any format.
21365
21366         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21367         * gst/base/gstbasetransform.h:
21368         Parse newsegment correctly in basetransform
21369
21370         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21371         Sync to clock using updated segment values.
21372
21373 2005-11-15  Andy Wingo  <wingo@pobox.com>
21374
21375         * check/gst/gstpipeline.c (test_base_time): Add check that the
21376         base time and stream time are reset correctly.
21377
21378 2005-11-15  Wim Taymans  <wim@fluendo.com>
21379
21380         * docs/design/part-TODO.txt:
21381         Some more TODO items.
21382
21383 2005-11-15  Andy Wingo  <wingo@pobox.com>
21384
21385         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21386         error if the user selected "no clock" as the clocking method.
21387
21388         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21389         timestamps with live capture.
21390
21391         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21392         is 0 but we are a live source, timestamp the buffers using the
21393         element's clock.
21394
21395 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21396
21397         * docs/gst/gstreamer-sections.txt:
21398         * gst/gsterror.c:
21399         * gst/gstghostpad.c:
21400         * gst/gstobject.h:
21401         * gst/gstxml.c:
21402           more section docs
21403
21404 2005-11-14  Wim Taymans  <wim@fluendo.com>
21405
21406         * common/gst.supp:
21407           add suppressions from Wim's Debian machine
21408
21409 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21410
21411         * common/gst.supp:
21412           add suppressions from Andy's AMD64 Ubuntu machine
21413
21414 2005-11-14  Andy Wingo  <wingo@pobox.com>
21415
21416         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21417         STATE_LOCK not necessary. Fixes #311489.
21418
21419         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21420         #305291.
21421
21422         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21423         this function is not implemented.
21424
21425 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21426
21427         * gst/base/gstbasetransform.c:
21428         (gst_base_transform_prepare_output_buf):
21429         Ref the source pad caps while we need them.
21430         Fixes (#321386)
21431
21432 2005-11-11  Wim Taymans  <wim@fluendo.com>
21433
21434         * docs/gst/gstreamer-sections.txt:
21435         Added some docs for GstCollectData.
21436
21437         * gst/base/gstadapter.c:
21438         Some small code example fix.
21439
21440         * gst/base/gstcollectpads.c:
21441         * gst/base/gstcollectpads.h:
21442         Document some more.
21443
21444 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21445
21446         * configure.ac: back to HEAD
21447
21448 === release 0.9.5 ===
21449
21450 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21451
21452         * configure.ac:
21453           releasing 0.9.5, "Bike Lunch Day"
21454
21455 2005-11-11  Wim Taymans  <wim@fluendo.com>
21456
21457         * gst/gstbuffer.c: (_gst_buffer_copy):
21458         Copy more flags.
21459
21460         * gst/gstcaps.c: (gst_caps_is_equal):
21461         Fix some docs.
21462         Make _is_equal fast in the trivial cases.
21463
21464         * gst/gstminiobject.c:
21465         * gst/gstminiobject.h:
21466         More docs. Spifify .h file.
21467
21468         * gst/gstutils.c:
21469         Small doc update.
21470
21471 2005-11-11  Wim Taymans  <wim@fluendo.com>
21472
21473         * gst/base/gstbasetransform.c:
21474         (gst_base_transform_prepare_output_buf),
21475         (gst_base_transform_handle_buffer):
21476         Small cleanups.
21477         If we're processing a buffer and need to allocate an output
21478         buffer, we cannot accept a format change. If we did get a 
21479         format change, we have to alloc a buffer ourselves of the 
21480         right size.
21481
21482 2005-11-11  Wim Taymans  <wim@fluendo.com>
21483
21484         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21485         While checking the flag for reentrancy in the gstcaps function
21486         is nice to detect recursive invocations, it also makes it 
21487         impossible to call getcaps from multiple threads, which must be
21488         possible. So, checking for recursive calls has to go.
21489
21490 2005-11-11  Michael Smith <msmith@fluendo.com>
21491
21492         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21493           Don't sync on buffers that fall partially outside our current
21494           segment. Prevents an assertion failure/abort playing some files.
21495
21496 2005-11-10  Andy Wingo  <wingo@pobox.com>
21497
21498         * check/gst/gstbin.c (test_message_state_changed_children): Style
21499         fix..
21500
21501         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21502         gst_bus_poll with the signal watch. Ensures that poll and a signal
21503         watch see the same messages.
21504
21505         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21506         a poll and a watch at the same time get the same messages.
21507
21508 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21509
21510         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21511         * gst/gstcaps.c: (gst_caps_intersect):
21512           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21513           and it's not needed.
21514
21515 2005-11-10  Wim Taymans  <wim@fluendo.com>
21516
21517         * docs/design/part-TODO.txt:
21518         Updated todo.
21519
21520 2005-11-10  Wim Taymans  <wim@fluendo.com>
21521
21522         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21523         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21524         (gst_base_src_do_sync), (gst_base_src_get_range):
21525         Implement clock sync in base class.
21526
21527 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21528
21529         patch by: Tim-Philipp Müller <tim at centricular dot net>
21530
21531         * gst/gststructure.c: (gst_structure_parse_field),
21532         (gst_structure_from_string):
21533           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21534           so that gst_parse_launch() can deal with spaces in filtered link
21535           caps (fixes #164479)
21536         * check/gst/capslist.h:
21537         * check/gst/gststructure.c: (GST_START_TEST):
21538           add unit tests for this change
21539
21540 2005-11-10  Wim Taymans  <wim@fluendo.com>
21541
21542         * docs/gst/gstreamer-sections.txt:
21543         * gst/gstelement.c:
21544         * gst/gstelement.h:
21545         Fix docs, move some STATE macros to private.
21546
21547 2005-11-10  Wim Taymans  <wim@fluendo.com>
21548
21549         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21550         Added check for bug #317341
21551
21552         * gst/gstbuffer.c:
21553         * gst/gstbuffer.h:
21554         Some more spiffifying.
21555
21556         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21557         Call peer linkfunction if we are a source pad. Totally fixes
21558         #317341
21559
21560         * gst/gstpad.c:
21561         Update docs, source pads should call the peer linkfunction
21562         so they can atomically perform the pad link.
21563
21564 2005-11-09  Wim Taymans  <wim@fluendo.com>
21565
21566         * gst/gstbuffer.c:
21567         * gst/gstbuffer.h:
21568         Uber-spiffy-spiffify some more.
21569
21570 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21571
21572         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21573         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21574         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21575         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21576         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21577         * gst/gstpad.c: (gst_pad_init):
21578           Use GST_DEBUG_FUNCPTR() more extensively.
21579
21580 2005-11-09  Wim Taymans  <wim@fluendo.com>
21581
21582         * gst/gstobject.c: (gst_object_class_init):
21583         * gst/gstobject.h:
21584         Documentation fixes.
21585
21586 2005-11-09  Edward Hervey  <edward@fluendo.com>
21587
21588         * gst/gsttypefindfactory.c:
21589         Fix docs.
21590         
21591 2005-11-09  Edward Hervey  <edward@fluendo.com>
21592
21593         * gst/base/gsttypefindhelper.c:
21594         * gst/gsttypefind.c:
21595         * gst/gsttypefind.h:
21596         Fix docs.
21597
21598 2005-11-09  Wim Taymans  <wim@fluendo.com>
21599
21600         * gst/gstiterator.c:
21601         Fix revision data.
21602
21603         * gst/gsttask.c:
21604         * gst/gsttask.h:
21605         Fix docs.
21606
21607 2005-11-09  Wim Taymans  <wim@fluendo.com>
21608
21609         * gst/gstevent.h:
21610         * gst/gsturi.h:
21611         Fix docs.
21612
21613 2005-11-09  Wim Taymans  <wim@fluendo.com>
21614
21615         * docs/gst/gstreamer-sections.txt:
21616         Moved the message async delivery private lock and cond
21617         to the private section.
21618
21619         * gst/gstmessage.c:
21620         * gst/gstmessage.h:
21621         Fixed docs.
21622
21623 2005-11-09  Edward Hervey  <edward@fluendo.com>
21624
21625         * docs/gst/gstreamer-sections.txt:
21626         * gst/gsturi.c:
21627         * gst/gsturi.h:
21628         Document GstURIHandler
21629
21630 2005-11-09  Wim Taymans  <wim@fluendo.com>
21631
21632         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21633         (gst_iterator_find_custom):
21634         * gst/gstiterator.h:
21635         Fix iterator docs.
21636
21637 2005-11-09  Wim Taymans  <wim@fluendo.com>
21638
21639         * gst/gstbin.h:
21640         Document another field.
21641
21642         * gst/gststructure.c:
21643         * gst/gststructure.h:
21644         Document.
21645
21646 2005-11-09  Wim Taymans  <wim@fluendo.com>
21647
21648         * gst/gstbin.h:
21649         Documented structs.
21650
21651 2005-11-09  Wim Taymans  <wim@fluendo.com>
21652
21653         * docs/gst/gstreamer-sections.txt:
21654         Added some new macros.
21655
21656         * gst/gstclock.c:
21657         * gst/gstclock.h:
21658         * gst/gstobject.h:
21659         Docs updates.
21660
21661 2005-11-09  Wim Taymans  <wim@fluendo.com>
21662
21663         * docs/design/part-TODO.txt:
21664         Some more items for the TODO
21665
21666         * gst/gstcaps.c:
21667         * gst/gstcaps.h:
21668         Document GstCaps.
21669
21670 2005-11-09  Andy Wingo  <wingo@pobox.com>
21671
21672         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21673         to work on something else now tho...
21674
21675         * gst/base/gstadapter.c: More adapter docs.
21676
21677         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21678         (gst_file_sink_stop): New functions, replace the state change
21679         handler.
21680         (gst_file_sink_class_init): Hook up the start and stop functions.
21681         (gst_file_sink_base_init): Don't set the state change handler any
21682         more. It was a bit ugly too, being set from here...
21683         (gst_file_sink_get_property, gst_file_sink_set_property):
21684         Cleanups...
21685         (gst_file_sink_set_location): More robust check that doesn't call
21686         GST_STATE. Ugggggg.
21687
21688 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21689
21690         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21691           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21692
21693 2005-11-08  Wim Taymans  <wim@fluendo.com>
21694
21695         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21696         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21697         (gst_base_sink_chain), (gst_base_sink_change_state):
21698         * gst/base/gstbasesink.h:
21699         * gst/base/gstbasesrc.h:
21700         * gst/gstelement.h:
21701         * gst/gstevent.h:
21702         Avoid excessive typechecking in macros.
21703
21704         * gst/gstminiobject.c: (gst_mini_object_get_type),
21705         (gst_mini_object_init), (gst_mini_object_new),
21706         (gst_mini_object_free):
21707         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21708         (gst_object_finalize):
21709         Remove cruft code, optimize alloc_trace.
21710
21711 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21712
21713         * docs/faq/gst-uninstalled:
21714           fix up PS1 for systems that try to reset it
21715
21716 2005-11-07  Wim Taymans  <wim@fluendo.com>
21717
21718         * gst/base/gstbasesrc.c: (gst_base_src_init),
21719         (gst_base_src_get_range):
21720         Set the segment_end to -1 initially. Fixed typefind.
21721
21722 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21723
21724         * gst/base/gstadapter.c:
21725           Debug category should be 'adapter', not 'GstAdapter'.
21726           
21727         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21728         (gst_collectpads_class_init), (gst_collectpads_init),
21729         (gst_collectpads_peek), (gst_collectpads_pop),
21730         (gst_collectpads_event), (gst_collectpads_chain):
21731           Add debug category and some debugging output. Use boilerplate
21732           macros. Remove some extraneous words from docs.
21733
21734 2005-11-05  Andy Wingo  <wingo@pobox.com>
21735
21736         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21737         macro.
21738
21739 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21740
21741         * docs/gst/gstreamer-sections.txt:
21742         * gst/gstcaps.h:
21743         * gst/gstinfo.c:
21744         * gst/gstminiobject.h:
21745         * gst/gstobject.h:
21746         * gst/gstutils.h:
21747           more docs added
21748
21749 2005-11-04  Wim Taymans  <wim@fluendo.com>
21750
21751         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21752         Small update to stop at the configured segment_end
21753         position.
21754
21755 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21756
21757         * gst/gstregistry.c:
21758         * gst/gstregistry.h:
21759           added missing docs
21760
21761 2005-11-04  Edward Hervey  <edward@fluendo.com>
21762
21763         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21764         Check if we are doing a segment seek and have arrived at the
21765         end of that segment.
21766
21767 2005-11-04  Wim Taymans  <wim@fluendo.com>
21768
21769         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21770         Don't leak a mutex unlock in case of an error.
21771
21772         * gst/gstbus.h:
21773         Doc fixes.
21774
21775 2005-11-04  Wim Taymans  <wim@fluendo.com>
21776
21777         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21778         (gst_bus_post):
21779         Get the context to wake up only once.
21780
21781 2005-11-03  Wim Taymans  <wim@fluendo.com>
21782
21783         * check/states/sinks.c: (GST_START_TEST):
21784         Uncomment fixed check.
21785
21786         * docs/design/part-TODO.txt:
21787         Updated TODO.
21788
21789         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21790         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21791         (gst_base_sink_get_position):
21792         If we are going to PLAYING, post the right pending state
21793         when we post the intermediate paused message.
21794
21795         * gst/gstelement.c: (gst_element_continue_state),
21796         (gst_element_set_state_func), (gst_element_change_state):
21797         Don't post state changes that were between the same state
21798         and were not ASYNC.
21799
21800 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21801
21802         * docs/gst/gstreamer-sections.txt:
21803         * gst/gstcaps.h:
21804         * gst/gstinfo.c:
21805         * gst/gstminiobject.h:
21806         * gst/gstobject.h:
21807         * gst/gstutils.h:
21808           more docs and doc style fixes
21809
21810 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21811
21812         * docs/gst/gstreamer-sections.txt:
21813         * gst/gstelement.c:
21814         * gst/gstminiobject.c:
21815         doc fixes
21816
21817 2005-11-03  Andy Wingo  <wingo@pobox.com>
21818
21819         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21820         state-changed messages actually have the right order and the right
21821         values.
21822
21823 2005-11-03  Wim Taymans  <wim@fluendo.com>
21824
21825         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21826         Added some more checks. Specifically the case where NO_PREROLL
21827         elements are in the pipeline.
21828
21829         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21830         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21831         (gst_base_sink_get_position):
21832         Post READY->PAUSED state change messages too.
21833         Fix bug where VOID was posted as pending state...
21834
21835         * gst/gstbin.c: (gst_bin_recalc_state):
21836         use _element_continue_state() to continue the state change.
21837
21838         * gst/gstelement.c: (gst_element_continue_state),
21839         (gst_element_commit_state), (gst_element_set_state_func),
21840         (gst_element_change_state), (gst_element_change_state_func):
21841         Lots of state change cleanups, assign the STATE_RETURN in
21842         a new continue_state() function that also propagates the
21843         last return value from a state change to the app.
21844         Update some debug statements with proper category.
21845
21846 2005-11-03  Wim Taymans  <wim@fluendo.com>
21847
21848         * docs/design/part-events.txt:
21849         * docs/design/part-gstpipeline.txt:
21850         * docs/design/part-messages.txt:
21851         * docs/design/part-overview.txt:
21852         * docs/design/part-seeking.txt:
21853         * docs/design/part-states.txt:
21854         * docs/design/part-trickmodes.txt:
21855         * docs/manual/advanced-position.xml:
21856         Small docs updates.
21857
21858         * gst/gstobject.h:
21859         People think !! is ugly, this looks better.
21860
21861         * gst/gstpad.c: (gst_pad_set_blocked_async):
21862         Remove !! since it's fixed elsewhere now.
21863
21864 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21865
21866         * gst/gstminiobject.h:
21867         * gst/gstobject.h:
21868           Add !! to _FLAG_IS_SET macros to make the result boolean.
21869
21870 2005-11-03  Edward Hervey  <edward@fluendo.com>
21871
21872         * gst/gstpad.c: (gst_pad_set_blocked_async):
21873         comparing a flag and a gboolean rarely returns coherent results...
21874         Added two characters (!!) to make that work correctly.
21875         
21876 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21877
21878         * gst/gstbus.c: (gst_bus_class_init):
21879           Fix some typos.
21880           
21881         * gst/gstqueue.c: (gst_queue_loop):
21882           Don't assume a miniobject that isn't a buffer is an
21883           event (it could be that there is a refcounting
21884           problem somewhere and the pointer is stale and
21885           refers to an already destroyed miniobject).
21886
21887 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21888
21889         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21890
21891 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21892
21893         * docs/manual/advanced-position.xml:
21894           Update seek example and explanations to current 0.9 API.
21895
21896         * gst/elements/gsttypefindelement.c:
21897         (gst_type_find_element_activate):
21898           Remove FIXME comment now that the found caps
21899           are unreffed.
21900
21901 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21902
21903         * gst/gstregistryxml.c: (load_feature):
21904           Add another GST_STR_NULL instance
21905
21906 2005-11-02  Edward Hervey  <edward@fluendo.com>
21907
21908         * gst/gstpad.c: (handle_pad_block):
21909         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21910         
21911 2005-11-02  Wim Taymans  <wim@fluendo.com>
21912
21913         * gst/gstbin.c:
21914         Fix typo in docs.
21915
21916         * gst/gstelement.c: (gst_element_commit_state):
21917         Remove unused value.
21918
21919         * gst/gstiterator.c:
21920         Mention that the returned element is reffed in the docs.
21921
21922 2005-11-02  Wim Taymans  <wim@fluendo.com>
21923
21924         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21925         (gst_pad_push), (gst_pad_push_event):
21926         Unlock blocked pads when they are flushed.
21927
21928 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21929
21930         * docs/README:
21931         * docs/gst/gstreamer-sections.txt:
21932         * gst/gstbin.c:
21933           doc updates
21934         * gst/gstregistry.c: (gst_registry_scan_path_level):
21935           fix for a nasty little missed situation where an installed plug-in
21936           which was in the cache did not get overridden by an uninstalled one
21937           which was earlier in the plugin path because the newly created plugin
21938           for the uninstalled one (not in the registry) didn't get its
21939           ->registered set to TRUE
21940
21941 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21942
21943         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21944         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21945         (gst_collectpads_is_active), (gst_collectpads_collect),
21946         (gst_collectpads_collect_range), (gst_collectpads_start),
21947         (gst_collectpads_stop), (gst_collectpads_peek),
21948         (gst_collectpads_pop), (gst_collectpads_available),
21949         (gst_collectpads_read), (gst_collectpads_flush):
21950           Guard public API with assertions.
21951         
21952         * gst/gstpad.c:
21953           Fix docs for gst_pad_set_link_function().
21954
21955 2005-11-02  Johan Dahlin  <johan@gnome.org>
21956
21957         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21958         Unref found_caps after we used it.
21959
21960 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21961
21962         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21963           Don't try to ref NULL.
21964
21965 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21966
21967         * win32/common/config.h.in:
21968           provide a GST_FUNCTION that just gives a string for now
21969
21970 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21971
21972         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21973         (gst_object_flags_get_type), (register_gst_bin_flags),
21974         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21975         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21976         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21977         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21978         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21979         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21980         (gst_clock_flags_get_type), (register_gst_state),
21981         (gst_state_get_type), (register_gst_state_change_return),
21982         (gst_state_change_return_get_type), (register_gst_state_change),
21983         (gst_state_change_get_type), (register_gst_element_flags),
21984         (gst_element_flags_get_type), (register_gst_core_error),
21985         (gst_core_error_get_type), (register_gst_library_error),
21986         (gst_library_error_get_type), (register_gst_resource_error),
21987         (gst_resource_error_get_type), (register_gst_stream_error),
21988         (gst_stream_error_get_type), (register_gst_event_type),
21989         (gst_event_type_get_type), (register_gst_seek_type),
21990         (gst_seek_type_get_type), (register_gst_seek_flags),
21991         (gst_seek_flags_get_type), (register_gst_format),
21992         (gst_format_get_type), (register_gst_index_certainty),
21993         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21994         (gst_index_entry_type_get_type),
21995         (register_gst_index_lookup_method),
21996         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21997         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21998         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21999         (gst_index_flags_get_type), (register_gst_debug_level),
22000         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22001         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22002         (gst_iterator_result_get_type), (register_gst_iterator_item),
22003         (gst_iterator_item_get_type), (register_gst_message_type),
22004         (gst_message_type_get_type), (register_gst_mini_object_flags),
22005         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22006         (gst_pad_link_return_get_type), (register_gst_flow_return),
22007         (gst_flow_return_get_type), (register_gst_activate_mode),
22008         (gst_activate_mode_get_type), (register_gst_pad_direction),
22009         (gst_pad_direction_get_type), (register_gst_pad_flags),
22010         (gst_pad_flags_get_type), (register_gst_pad_presence),
22011         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22012         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22013         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22014         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22015         (gst_plugin_flags_get_type), (register_gst_rank),
22016         (gst_rank_get_type), (register_gst_query_type),
22017         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22018         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22019         (gst_tag_flag_get_type), (register_gst_task_state),
22020         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22021         (gst_alloc_trace_flags_get_type),
22022         (register_gst_type_find_probability),
22023         (gst_type_find_probability_get_type), (register_gst_uri_type),
22024         (gst_uri_type_get_type), (register_gst_parse_error),
22025         (gst_parse_error_get_type):
22026         * win32/common/gstversion.h:
22027           update win32 copies
22028
22029 2005-11-01  Luca Ognibene  <luogni@tin.it>
22030
22031         * gst/gst.c:
22032           fix docs. popt is dead, long live GOption.
22033
22034 2005-10-31  Wim Taymans  <wim@fluendo.com>
22035
22036         * gst/gstbuffer.h:
22037         Small doc fix.
22038
22039 2005-10-31  Andy Wingo  <wingo@pobox.com>
22040
22041         * Boo!
22042
22043         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22044
22045         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22046         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22047         the possibility of deadlocks here if code calling notify() or
22048         set() has a lock that can be taken in another notify handler (ABBA
22049         with class lock and e.g. python GIL state lock).
22050
22051 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22052
22053         * gst/gstbus.c: Doc updates.
22054
22055 2005-10-28  Wim Taymans  <wim@fluendo.com>
22056
22057         * docs/design/part-TODO.txt:
22058         * gst/gstiterator.c:
22059         * gst/gstsystemclock.c:
22060         * gst/gstsystemclock.h:
22061         Doc updates.
22062
22063 2005-10-28  Edward Hervey  <edward@fluendo.com>
22064
22065         * docs/gst/gstreamer-docs.sgml:
22066         * docs/gst/gstreamer-sections.txt:
22067         the GstURIType documentation page is private, it only defines GstURIType
22068         which should be defined in the GstURIHandler page
22069         
22070 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22071
22072         * gst/gstbin.c: (gst_bin_class_init):
22073         * gst/gstbin.h:
22074         * gst/gstutils.c:
22075         Documentation updates.
22076
22077 2005-10-28  Wim Taymans  <wim@fluendo.com>
22078
22079         * docs/gst/gstreamer-sections.txt:
22080         * gst/gstclock.c:
22081         * gst/gstclock.h:
22082         Documented the clocks.
22083
22084 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22085
22086         * docs/gst/gstreamer-sections.txt:
22087           move some macros to private sections
22088         * gst/gstminiobject.c:
22089         * gst/gstminiobject.h:
22090           add descriptions provided by ds and some more
22091         * gst/gstpad.h:
22092           mark macro as to be removed
22093
22094 2005-10-28  Wim Taymans  <wim@fluendo.com>
22095
22096         * docs/design/part-TODO.txt:
22097         Add an item to TODO.
22098
22099         * gst/gstiterator.c: (gst_iterator_fold),
22100         (gst_iterator_find_custom):
22101         * gst/gstiterator.h:
22102         Add iterator docs.
22103
22104 2005-10-28  Wim Taymans  <wim@fluendo.com>
22105
22106         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22107         (gst_base_transform_init):
22108         Don't leak class.
22109
22110         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22111         An EOS event marks the queue as completely filled.
22112
22113 2005-10-27  Wim Taymans  <wim@fluendo.com>
22114
22115         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22116         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22117         Some more debugging.
22118
22119         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22120         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22121         (gst_base_transform_event), (gst_base_transform_getrange),
22122         (gst_base_transform_chain):
22123         * gst/base/gstbasetransform.h:
22124         Fix debugging,
22125         Protect transform and concurrent buffer alloc with a new lock.
22126         Try not to break ABI/API.
22127
22128 2005-10-27  Wim Taymans  <wim@fluendo.com>
22129
22130         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22131         (gst_base_src_init), (gst_base_src_query),
22132         (gst_base_src_default_newsegment),
22133         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22134         (gst_base_src_send_event), (gst_base_src_event_handler),
22135         (gst_base_src_pad_get_range), (gst_base_src_loop),
22136         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22137         (gst_base_src_start), (gst_base_src_deactivate),
22138         (gst_base_src_activate_push), (gst_base_src_change_state):
22139         Move some stuff around and cleanup things.
22140
22141 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22142
22143         * gst/base/gstbasesrc.c: (gst_base_src_query):
22144           Add missing break statements.
22145
22146 2005-10-27  Wim Taymans  <wim@fluendo.com>
22147
22148         * check/gst/gstbin.c: (GST_START_TEST):
22149         An extra refcount is taken in basesrc.
22150
22151         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22152         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22153         (gst_base_src_loop):
22154         Small cleanups, check for flushing after being unlocked from the 
22155         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22156         Don't send out EOS when going to READY.
22157
22158 2005-10-27  Wim Taymans  <wim@fluendo.com>
22159
22160         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22161         (gst_base_sink_get_position):
22162         Some more debug.
22163
22164         * gst/gstbin.c: (message_check), (bin_replace_message),
22165         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22166         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22167         (bin_query_duration_init), (bin_query_duration_fold),
22168         (bin_query_duration_done), (bin_query_generic_fold),
22169         (gst_bin_query):
22170         * tools/gst-launch.c: (main):
22171         Remove old option.
22172
22173 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22174
22175         * examples/controller/audio-example.c: (main):
22176         * examples/queue/queue.c: (event_loop):
22177         * gst/base/gstbasetransform.h:
22178         * gst/gstelement.c: (gst_element_send_event):
22179         * gst/gstevent.h:
22180         * gst/gstpad.c: (gst_pad_send_event):
22181           fixing examples
22182           fixing docs typos
22183           changing log priority in error situations
22184
22185 2005-10-25  Wim Taymans  <wim@fluendo.com>
22186
22187         * gst/gstbin.c: (message_check), (bin_replace_message),
22188         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22189         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22190         (bin_query_duration_init), (bin_query_duration_fold),
22191         (bin_query_duration_done), (bin_query_generic_fold),
22192         (gst_bin_query):
22193         Some doc and debug updates.
22194         Cache previously requested query DURATION for speed. invalidate
22195         cached duration if element posts a DURATION message.
22196
22197 2005-10-25  Wim Taymans  <wim@fluendo.com>
22198
22199         * docs/design/part-TODO.txt:
22200         Update TODO.
22201
22202         * gst/gstbin.c: (message_check), (bin_replace_message),
22203         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22204         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22205         (bin_query_duration_init), (bin_query_duration_fold),
22206         (bin_query_duration_done), (bin_query_generic_fold),
22207         (gst_bin_query):
22208         Handle SEGMENT_START/DONE messages correctly.
22209         More evolved query algorithm that handles duration queries
22210         correctly.
22211
22212         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22213         (gst_element_get_state_func), (gst_element_abort_state),
22214         (gst_element_commit_state), (gst_element_lost_state):
22215         Some more debugging.
22216
22217         * gst/gstmessage.h:
22218         Added doc.
22219
22220 2005-10-25  Wim Taymans  <wim@fluendo.com>
22221
22222         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22223         Don't use invalid stream_time.
22224
22225         * gst/gstevent.c: (gst_event_new_newsegment):
22226         stream_time in newsegment cannot be undefined.
22227
22228 2005-10-24  Wim Taymans  <wim@fluendo.com>
22229
22230         * gst/gstbus.c:
22231         Doc fix.
22232
22233         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22234         (gst_queue_loop):
22235         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22236
22237 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22238
22239         * docs/libs/tmpl/gstdparam.sgml:
22240         * docs/libs/tmpl/gstdplinint.sgml:
22241         * docs/libs/tmpl/gstdpman.sgml:
22242         * docs/libs/tmpl/gstdpsmooth.sgml:
22243         * docs/libs/tmpl/gstunitconvert.sgml:
22244           these are obsolete
22245
22246 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22247
22248         * configure.ac:
22249           back to HEAD
22250
22251 === release 0.9.4 ===
22252
22253 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22254
22255         * configure.ac:
22256           releasing 0.9.4, "Tyrannosaurus Rex"
22257
22258 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22259
22260         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22261         (gst_file_sink_get_current_offset):
22262           Use fseeko() and ftello() if available. When falling back on
22263           lseek() to get the current offset, fflush() first to make sure
22264           everything is up-to-date and we get the right offset.
22265
22266 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22267
22268         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22269         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22270         * gst/gsterror.c: (_gst_stream_errors_init):
22271         * gst/gsterror.h:
22272         * gst/gstqueue.c: (gst_queue_loop):
22273         * po/POTFILES.in:
22274           remove prematurely added error category and clean up the instances
22275
22276 2005-10-21  Wim Taymans  <wim@fluendo.com>
22277
22278         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22279         (gst_base_sink_get_position), (gst_base_sink_query),
22280         (gst_base_sink_change_state):
22281         Simply set the right flag when going to playing, that's all
22282         we need to do instead of calling a function inside the object
22283         lock (that could take the lock as well and deadlock)
22284
22285 2005-10-21  Wim Taymans  <wim@fluendo.com>
22286
22287         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22288         (gst_base_src_loop):
22289         Don't warn, the peer element knows what to do best when
22290         the seek failed, it might try something else.
22291
22292 2005-10-21  Wim Taymans  <wim@fluendo.com>
22293
22294         * gst/base/gstbasesrc.c: (gst_base_src_init),
22295         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22296         Fix seeking.
22297
22298 2005-10-21  Wim Taymans  <wim@fluendo.com>
22299
22300         * docs/design/part-segments.txt:
22301         More docs.
22302
22303         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22304         Correctly set caps, even on the subbufer.
22305
22306 2005-10-21  Wim Taymans  <wim@fluendo.com>
22307
22308         * docs/gst/gstreamer-docs.sgml:
22309         * docs/gst/gstreamer-sections.txt:
22310         * gst/gstelement.h:
22311         * gst/gstevent.c:
22312         * gst/gstevent.h:
22313         * gst/gstmessage.h:
22314         * gst/gstpad.h:
22315         * gst/gstparse.h:
22316         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22317         * gst/gsttask.h:
22318         * gst/gstutils.c:
22319         * gst/gstutils.h:
22320         And 2% more doc coverage.
22321
22322 2005-10-21  Andy Wingo  <wingo@pobox.com>
22323
22324         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22325         position reporting.
22326
22327 2005-10-20  Wim Taymans  <wim@fluendo.com>
22328
22329         * gst/gsterror.c: (gst_error_get_message):
22330         * gst/gstparse.h:
22331         * gst/gstquery.h:
22332         * gst/gststructure.c:
22333         * gst/gsttrace.c:
22334         * gst/gstutils.c:
22335         More docs.
22336
22337 2005-10-20  Wim Taymans  <wim@fluendo.com>
22338
22339         * gst/gstbuffer.h:
22340         * gst/gstpad.c:
22341         * gst/gstparse.c:
22342         Another 1% more coverage.
22343
22344 2005-10-20  Wim Taymans  <wim@fluendo.com>
22345
22346         * docs/gst/gstreamer-sections.txt:
22347         * gst/gstelement.c: (gst_element_get_state_func),
22348         (gst_element_abort_state), (gst_element_commit_state),
22349         (gst_element_lost_state):
22350         * gst/gstevent.h:
22351         * gst/gstquery.c: (gst_query_set_position),
22352         (gst_query_parse_position), (gst_query_set_duration),
22353         (gst_query_parse_duration), (gst_query_new_convert):
22354         * gst/gstutils.c:
22355         Yay! 1% more docs coverage.
22356
22357 2005-10-20  Wim Taymans  <wim@fluendo.com>
22358
22359         * gst/gstpad.h:
22360         * gst/gstquery.c: (gst_query_set_position),
22361         (gst_query_parse_position), (gst_query_set_duration),
22362         (gst_query_parse_duration), (gst_query_new_convert):
22363         * gst/gstquery.h:
22364         * gst/gstutils.c: (gst_element_query_convert):
22365         * gst/gstutils.h:
22366         Docs and consistency fixes.
22367
22368 2005-10-20  Wim Taymans  <wim@fluendo.com>
22369
22370         * gst/gsttask.c:
22371         * gst/gsttask.h:
22372         More docs.
22373
22374 2005-10-20  Wim Taymans  <wim@fluendo.com>
22375
22376         * gst/gstbin.c: (message_check), (bin_replace_message),
22377         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22378         (update_degree), (gst_bin_sort_iterator_next),
22379         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22380         Reworked the message handling a bit, cache the messages instead of
22381         only the senders. alows us to do more in the future.
22382
22383 2005-10-20  Wim Taymans  <wim@fluendo.com>
22384
22385         * docs/design/part-TODO.txt:
22386         Update TODO
22387
22388         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22389         (gst_base_sink_query):
22390         Don't use clock time to report position when in EOS.
22391
22392 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22393
22394         * tools/gst-inspect.c: (print_interfaces),
22395         (print_element_properties_info), (print_element_info):
22396           Fix interface output with gst-inspect -a; don't print
22397           newlines after double/float properties.
22398
22399 2005-10-20  Wim Taymans  <wim@fluendo.com>
22400
22401         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22402         (gst_base_sink_query):
22403         Speed up current position calculation.
22404
22405         * gst/base/gstbasesrc.c: (gst_base_src_query),
22406         (gst_base_src_default_newsegment):
22407         Correctly set stream position in newsegment.
22408
22409         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22410         (update_degree), (gst_bin_sort_iterator_next),
22411         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22412         * gst/gstmessage.c: (gst_message_new_custom):
22413         Clean up debugging info
22414
22415         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22416         (gst_queue_loop), (gst_queue_handle_src_query):
22417         Pause task faster.
22418
22419 2005-10-19  Wim Taymans  <wim@fluendo.com>
22420
22421         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22422         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22423         Fix query handling again.
22424
22425 2005-10-19  Wim Taymans  <wim@fluendo.com>
22426
22427         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22428         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22429         * gst/base/gstbasesrc.c: (gst_base_src_query):
22430         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22431         * gst/elements/gsttypefindelement.c:
22432         (gst_type_find_handle_src_query), (find_element_get_length),
22433         (gst_type_find_element_activate):
22434         API change fix.
22435
22436         * gst/gstquery.c: (gst_query_new_position),
22437         (gst_query_set_position), (gst_query_parse_position),
22438         (gst_query_new_duration), (gst_query_set_duration),
22439         (gst_query_parse_duration), (gst_query_set_segment),
22440         (gst_query_parse_segment):
22441         * gst/gstquery.h:
22442         Bundling query position/duration is not a good idea since duration
22443         does not change much and we don't want to recalculate it for every
22444         position query, so they are separated again..
22445         Base value in segment query is not needed.
22446
22447         * gst/gstqueue.c: (gst_queue_handle_src_query):
22448         * gst/gstutils.c: (gst_element_query_position),
22449         (gst_element_query_duration), (gst_pad_query_position),
22450         (gst_pad_query_duration):
22451         * gst/gstutils.h:
22452         Updates for query API change.
22453         Added some docs here and there.
22454
22455 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22456
22457         * check/gst/gstbin.c: (GST_START_TEST):
22458         * check/gst/gstghostpad.c: (GST_START_TEST):
22459         * check/pipelines/cleanup.c: (GST_START_TEST):
22460           wait on thread to die so we can check refcount correctly
22461
22462 2005-10-18  Wim Taymans  <wim@fluendo.com>
22463
22464         * check/pipelines/stress.c: (GST_START_TEST):
22465         Make check a little more time consuming.
22466
22467 2005-10-18  Wim Taymans  <wim@fluendo.com>
22468
22469         * check/Makefile.am:
22470         * check/pipelines/stress.c: (GST_START_TEST),
22471         (simple_launch_lines_suite), (main):
22472         Small state change torture test.
22473
22474         * docs/design/part-states.txt:
22475         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22476         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22477         (gst_base_sink_change_state):
22478         Never take state lock from streaming thread, clean up ugly
22479         hacks. Unfortunatly core does not yet support nice ways to
22480         async commit state.
22481         
22482         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22483         (bin_bus_handler):
22484         Start state recalc if a STATE_DIRTY message is posted, but only
22485         on the toplevel bin.
22486
22487         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22488         (gst_element_get_state_func), (gst_element_abort_state),
22489         (gst_element_commit_state), (gst_element_lost_state),
22490         (gst_element_set_state_func), (gst_element_change_state):
22491         * gst/gstelement.h:
22492         State variables are now protected with the LOCK, the state
22493         lock is only used to serialize _set_state().
22494
22495 2005-10-18  Wim Taymans  <wim@fluendo.com>
22496
22497         * check/gst/gstbin.c: (GST_START_TEST):
22498         * check/gst/gstmessage.c: (GST_START_TEST):
22499         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22500         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22501         (bin_bus_handler):
22502         * gst/gstelement.c: (gst_element_abort_state),
22503         (gst_element_commit_state), (gst_element_lost_state):
22504         * gst/gstmessage.c: (gst_message_new_state_changed),
22505         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22506         (gst_message_new_segment_done), (gst_message_new_duration),
22507         (gst_message_parse_state_changed),
22508         (gst_message_parse_segment_start),
22509         (gst_message_parse_segment_done), (gst_message_parse_duration):
22510         * gst/gstmessage.h:
22511         * tools/gst-launch.c: (event_loop):
22512         Seriously, this is better than a previous commit as we only need
22513         to notify the fact that an element changed state in a streaming
22514         thread, marking the state of the parents dirty, hence the 
22515         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22516         message.
22517
22518 2005-10-18  Wim Taymans  <wim@fluendo.com>
22519
22520         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22521         (gst_bin_recalc_func):
22522         * gst/gstelement.c: (gst_element_set_clock),
22523         (gst_element_abort_state), (gst_element_lost_state):
22524         Cleanups, prepare for state change fixes.
22525
22526 2005-10-18  Wim Taymans  <wim@fluendo.com>
22527
22528         * gst/gstbin.h:
22529         * gst/gstelement.c: (gst_element_class_init),
22530         (gst_element_set_state), (gst_element_set_state_func):
22531         * gst/gstelement.h:
22532         Pending ABI changes.
22533         GThreadPool in GstBinClass to monitor async state changes.
22534         state_cookie in GstElement to detect concurrent gst/set state.
22535         set_state is now virtual too in case a very complicated element
22536         has to be constructed.
22537
22538 2005-10-18  Wim Taymans  <wim@fluendo.com>
22539
22540         * check/gst/gstbin.c: (GST_START_TEST):
22541         * check/gst/gstmessage.c: (GST_START_TEST):
22542         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22543         * gst/gstbin.c: (bin_bus_handler):
22544         * gst/gstelement.c: (gst_element_commit_state),
22545         (gst_element_lost_state):
22546         * gst/gstmessage.c: (gst_message_new_state_changed),
22547         (gst_message_new_segment_start), (gst_message_new_segment_done),
22548         (gst_message_new_duration), (gst_message_parse_state_changed),
22549         (gst_message_parse_segment_start),
22550         (gst_message_parse_segment_done), (gst_message_parse_duration):
22551         * gst/gstmessage.h:
22552         * tools/gst-launch.c: (event_loop):
22553         Make messages future proof.
22554         state-change gets a flag if it was a message comming from the
22555         streaming thread.
22556         segment-start/stop can also be specified in other formats.
22557         A message to notify an app that a pipeline changed playback 
22558         duration.
22559         Also fix a GstMessage leak in -launch
22560
22561 2005-10-18  Andy Wingo  <wingo@pobox.com>
22562
22563         * gst/gstelement.c (gst_element_dispose): More helpful message.
22564
22565 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22566
22567         reviewed by: <delete if not using a buddy>
22568
22569         * common/gtk-doc.mak:
22570
22571 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22572
22573         * gst/gstregistry.c: (gst_registry_scan_path_level):
22574           unref a plug-in we get that was already initialized
22575
22576 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22577
22578         * docs/gst/gstreamer-sections.txt:
22579         * docs/libs/gstreamer-libs-sections.txt:
22580         * gst/gstelement.h:
22581           add new api entries
22582           hide internal macro
22583
22584 2005-10-17  Andy Wingo  <wingo@pobox.com>
22585
22586         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22587         cleanup.
22588
22589         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22590
22591         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22592
22593         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22594         (gst_element_get_state_func): Better debug message.
22595         (gst_element_commit_state): s/INFO/DEBUG/.
22596         (gst_element_lost_state, gst_element_change_state): 
22597
22598         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22599         (gst_message_new_custom): s/INFO/LOG/.
22600
22601 2005-10-17  Michael Smith <msmith@fluendo.com>
22602
22603         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22604           Check if end time is valid using end time, not start time.
22605
22606 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22607
22608         * check/gst-libs/controller.c: (GST_START_TEST),
22609         (gst_controller_suite):
22610         * libs/gst/controller/gstcontroller.c:
22611         (gst_controlled_property_set_interpolation_mode):
22612         * libs/gst/controller/gstcontroller.h:
22613         * libs/gst/controller/gstinterpolation.c:
22614         * testsuite/controller/.cvsignore:
22615         * testsuite/controller/Makefile.am:
22616         * testsuite/controller/interpolator.c:
22617           merge controller testsuites
22618           fix broken tests
22619           remove mem-chunk from docs
22620
22621 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22622
22623         * gst/gstmemchunk.c:
22624         * gst/gstmemchunk.h:
22625         * gst/gsttrashstack.c:
22626         * gst/gsttrashstack.h:
22627           out.  get out.  you're fired.  to the Attic !
22628
22629 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22630
22631         * gst/gstcaps.c: (gst_caps_intersect):
22632           fix signedness issues in a (hopefully) correct way
22633         * gst/gstelement.c: (gst_element_pads_activate):
22634           some debugging
22635         * gst/gstobject.c: (gst_object_set_parent):
22636           some debugging
22637
22638 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22639
22640         * gst/gstvalue.h: Fix prototypes.
22641
22642 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22643
22644         * docs/gst/gstreamer-sections.txt:
22645         * gst/gst.c: (gst_version_string):
22646         * gst/gst.h:
22647         * gst/gstversion.h.in:
22648         * win32/common/libgstreamer.def:
22649           add gst_version_string ()
22650
22651 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22652
22653         * configure.ac:
22654           clean up further
22655         * gst/gst.c: (init_post):
22656         * win32/common/config.h.in:
22657           it's PLUGINDIR now
22658         * gst/gstcaps.c: (gst_caps_intersect):
22659           use gint64, the range could be bigger than a guint
22660
22661 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22662
22663         * gst/gstclock.h:
22664           document potential problem in 2038
22665
22666 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22667
22668         * gst/gstcaps.c: (gst_caps_intersect):
22669           Fix guint j diving under 0
22670
22671 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22672
22673         * configure.ac:
22674         * win32/common/config.h:
22675         * win32/common/config.h.in:
22676           check for process.h, declares getpid() on Windows
22677         * gst/gstinfo.c:
22678           include process.h if we have it
22679         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22680         * gst/gstmemchunk.h:
22681           fix signedness issues
22682         * win32/common/libgstreamer.def:
22683           fix get_type's
22684
22685 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22686
22687         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22688         fix. Because of unsigned ints, caps intersection was going nuts and
22689         trying to access structures with G_MAXUINT index. That fixes
22690         videotestsrc ! ffmpegcolorspace ! fakesink
22691         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22692         consistency.
22693
22694 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22695
22696         * configure.ac:
22697           use the gettext macro
22698         * gst/elements/gstelements.c:
22699         * gst/gst.c:
22700         * gst/indexers/gstindexers.c:
22701           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22702         * win32/common/config.h:
22703           updated config.h
22704         * win32/common/config.h.in:
22705           add the template to generate config.h
22706         * win32/common/gstenumtypes.c:
22707         * win32/common/gstversion.h:
22708           updated copies
22709
22710 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22711
22712         * gst/gst.c: (gst_version):
22713         * gst/gstversion.h.in:
22714           add the nano
22715
22716 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22717
22718         * gst/gstevent.h:
22719           Oops, add missing closing bracket.
22720
22721 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22722
22723         * configure.ac:
22724           use common m4's for argument checking
22725
22726 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22727
22728         * docs/gst/gstreamer-sections.txt:
22729         * gst/gstevent.h:
22730           Add GST_EVENT_TYPE_NAME() macro.
22731
22732 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22733
22734         * gst/gstinfo.c:
22735         * gst/gstpluginfeature.c:
22736         * gst/gsttask.c:
22737           privatize more symbols
22738
22739 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22740
22741         * configure.ac:
22742           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22743           everything that uses GStreamer API should have the includes
22744
22745 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22746
22747         * docs/gst/gstreamer-sections.txt:
22748         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22749         * gst/gstvalue.h:
22750           give each value a _get_type, removes the DATA exports
22751
22752 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22753
22754         * gst/gst.c:
22755         * gst/gst.h:
22756           remove _gst_registry_auto_load, not used anymore
22757         * gst/gstbin.c: (gst_bin_get_type):
22758         * gst/gstbin.h:
22759         * gst/gstelement.c: (gst_element_get_type):
22760         * gst/gstelement.h:
22761         * gst/gstobject.c: (gst_object_get_type):
22762         * gst/gstobject.h:
22763         * gst/gstpad.c: (gst_pad_get_type):
22764         * gst/gstpad.h:
22765           make _get_type functions similar, fixes data export from library
22766
22767 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22768
22769         * configure.ac:
22770           correctly make conditionals
22771         * gst/elements/Makefile.am:
22772         * gst/elements/gstelements.c:
22773           fix typo causing fdsrc not to build
22774
22775 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22776
22777         * testsuite/Makefile.am:
22778         * testsuite/bytestream/.cvsignore:
22779         * testsuite/bytestream/Makefile.am:
22780         * testsuite/bytestream/filepadsink.c:
22781         * testsuite/bytestream/gstbstest.c:
22782         * testsuite/bytestream/test1.c:
22783         * testsuite/bytestream/testfile1:
22784         * testsuite/caps/normalisation.c:
22785         * testsuite/caps/random.c: (main):
22786         * testsuite/cleanup/.cvsignore:
22787         * testsuite/cleanup/Makefile.am:
22788         * testsuite/cleanup/cleanup1.c:
22789         * testsuite/cleanup/cleanup2.c:
22790         * testsuite/cleanup/cleanup3.c:
22791         * testsuite/cleanup/cleanup4.c:
22792         * testsuite/cleanup/cleanup5.c:
22793         * testsuite/controller/interpolator.c:
22794         * testsuite/debug/printf_extension.c: (main):
22795         * testsuite/elements/tee.c:
22796         * testsuite/negotiation/.cvsignore:
22797         * testsuite/negotiation/Makefile.am:
22798         * testsuite/negotiation/pad_link.c:
22799         * testsuite/pad/Makefile.am:
22800         * testsuite/pad/chainnopull.c:
22801         * testsuite/pad/getnopush.c:
22802         * testsuite/pad/link.c:
22803         * testsuite/refcounting/sched.c: (create_pipeline):
22804         * testsuite/registry/Makefile.am:
22805         * testsuite/registry/gst-print-formats.c:
22806         * testsuite/schedulers/.cvsignore:
22807         * testsuite/schedulers/142183-2.c:
22808         * testsuite/schedulers/142183.c:
22809         * testsuite/schedulers/143777-2.c:
22810         * testsuite/schedulers/143777.c:
22811         * testsuite/schedulers/147713.c:
22812         * testsuite/schedulers/147819.c:
22813         * testsuite/schedulers/147894-2.c:
22814         * testsuite/schedulers/147894.c:
22815         * testsuite/schedulers/Makefile.am:
22816         * testsuite/schedulers/group_link.c:
22817         * testsuite/schedulers/queue_link.c:
22818         * testsuite/schedulers/relink.c:
22819         * testsuite/schedulers/unlink.c:
22820         * testsuite/schedulers/unref.c:
22821         * testsuite/schedulers/useless_iteration.c:
22822         * testsuite/states/bin.c:
22823           clean out/remove some stuff from the testsuite directories
22824
22825 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22826
22827         * configure.ac:
22828           check for some headers
22829         * gst/elements/Makefile.am:
22830         * gst/elements/gstelements.c:
22831           don't compile fdsrc without sys/socket.h
22832         * gst/indexers/Makefile.am:
22833         * gst/indexers/gstindexers.c: (plugin_init):
22834           don't compile fileindex without mmap
22835
22836 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22837
22838         * configure.ac:
22839           reorganize
22840           clean up
22841           document more
22842           remove cruft
22843         * check/Makefile.am:
22844         * docs/gst/Makefile.am:
22845         * examples/helloworld/Makefile.am:
22846         * gst/Makefile.am:
22847         * gst/base/Makefile.am:
22848         * gst/check/Makefile.am:
22849         * gst/elements/Makefile.am:
22850         * gst/indexers/Makefile.am:
22851         * gst/parse/Makefile.am:
22852         * libs/gst/controller/Makefile.am:
22853         * libs/gst/dataprotocol/Makefile.am:
22854         * examples/helloworld/helloworld.c: (event_loop):
22855           compile fixes, though it's not being compiled currently
22856
22857 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22858
22859         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22860           Add some simple tests for the new taglist date API.
22861
22862 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22863
22864         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22865         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22866           Beautify 'last-message' output: print 'none' for buffer timestamps
22867           and durations if none is set; improve alignment with next messages.
22868
22869 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22870
22871         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22872         * gst/gstpluginfeature.h:
22873         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22874         * gst/gstregistry.h:
22875         * docs/gst/gstreamer-sections.txt:
22876           Add new API to check plugin feature version requirements.
22877
22878         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22879           Some basic tests for the above.         
22880
22881 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22882
22883         * gst/gststructure.c: (gst_structure_to_string):
22884           guard against NULL printf - happens when for example
22885           a message structure with GstClock gets serialized
22886
22887 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22888
22889         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22890           Fix presumable copy'n'pasto.
22891
22892 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22893
22894         * gst/elements/gstfakesrc.h:
22895         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22896         * gst/elements/gsttypefindelement.c:
22897           fix some signedness
22898         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22899           I wonder if this could actually write +2GB files before
22900
22901 2005-10-13  Andy Wingo  <wingo@pobox.com>
22902
22903         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22904         Fix Timmeke Waymans bug.
22905         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22906         string of the proper length to gst_caps_from_string. There's a
22907         potential for, before this fix, that this could cause someone
22908         connecting over the network to cause a segfault if the payload is
22909         not NUL-terminated.
22910
22911 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22912
22913         * docs/design/draft-push-pull.txt:
22914         * docs/design/part-overview.txt:
22915         * docs/random/TODO-pre-0.9:
22916         * docs/random/old/ChangeLog.gstreamer:
22917         * gst/base/gstpushsrc.c:
22918         * gst/gstclock.c:
22919           fixed typos
22920
22921 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22922
22923         * gst/glib-compat.c: (gst_flags_get_first_value):
22924         * gst/glib-compat.h:
22925         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22926         (gst_value_compare_double), (gst_value_serialize_flags):
22927           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22928           infinite loop
22929
22930 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22931
22932         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22933         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22934           fix up debugging
22935         * tools/gst-launch.c: (event_loop):
22936           print out clock nicely
22937
22938 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22939
22940         * docs/gst/gstreamer-sections.txt:
22941         * gst/gsttaglist.h:
22942         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22943         (gst_tag_list_get_date_index):
22944           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22945           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22946
22947 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22948
22949         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22950         (gst_collectpads_chain):
22951         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22952         in CollectData.
22953
22954 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22955
22956         * docs/gst/gstreamer-sections.txt:
22957         * gst/gst.c:
22958         * gst/gsterror.h:
22959         * tools/gst-inspect.c: (main):
22960         * tools/gst-launch.c: (main):
22961         * tools/gst-run.c: (main):
22962         * tools/gst-xmlinspect.c: (main):
22963           fix GOption context leaks
22964           doc fixes
22965
22966 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22967
22968         * gst/gstbus.c:
22969           use HAVE_UNISTD_H
22970         * win32/common/config.h:
22971           update config
22972         * win32/vs6/grammar.dsp:
22973         * win32/vs6/libgstelements.dsp:
22974         * win32/vs6/libgstreamer.dsp:
22975           update vs6 files
22976
22977 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22978
22979         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22980         * gst/base/gstbasesrc.c: (gst_base_src_query):
22981           fix more guint64<->gdouble conversions
22982
22983 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22984
22985         * Makefile.am:
22986           add win32-update target
22987         * win32/common/gstconfig.h:
22988         * win32/common/gstenumtypes.c:
22989         * win32/common/gstenumtypes.h:
22990         * win32/common/gstversion.h:
22991           add files that visual studio can't generate
22992
22993 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22994
22995         * Makefile.am:
22996           add a win32-update target
22997         * configure.ac:
22998
22999 2005-10-12  Wim Taymans  <wim@fluendo.com>
23000
23001         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23002         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23003         * gst/gstelement.c: (gst_element_commit_state),
23004         (gst_element_set_state):
23005         Protect flags with proper lock.
23006         unref provided cached clock in dispose.
23007
23008 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23009
23010         * gst/gst.c:
23011         * gst/gstminiobject.h:
23012         * gst/gstpad.h:
23013         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23014           removed unused flags from miniobject
23015           doc fixes
23016
23017 2005-10-12  Wim Taymans  <wim@fluendo.com>
23018
23019         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23020         (gst_file_sink_event), (gst_file_sink_render):
23021         Flush before seeking.
23022
23023 2005-10-12  Andy Wingo  <wingo@pobox.com>
23024
23025         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23026         always been the case.
23027
23028 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23029
23030         * check/gst/gstbin.c: (GST_START_TEST):
23031         * docs/gst/gstreamer-sections.txt:
23032         * gst/base/gstbasesink.c: (gst_base_sink_init):
23033         * gst/base/gstbasesrc.c: (gst_base_src_init),
23034         (gst_base_src_get_range), (gst_base_src_check_get_range),
23035         (gst_base_src_start), (gst_base_src_stop):
23036         * gst/base/gstbasesrc.h:
23037         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23038         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23039         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23040         (bin_bus_handler):
23041         * gst/gstbin.h:
23042         * gst/gstbuffer.h:
23043         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23044         * gst/gstbus.h:
23045         * gst/gstelement.c: (gst_element_is_locked_state),
23046         (gst_element_set_locked_state), (gst_element_commit_state),
23047         (gst_element_set_state):
23048         * gst/gstelement.h:
23049         * gst/gstindex.c: (gst_index_init):
23050         * gst/gstindex.h:
23051         * gst/gstminiobject.h:
23052         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23053         (gst_object_set_parent):
23054         * gst/gstobject.h:
23055         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23056         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23057         * gst/gstpad.h:
23058         * gst/gstpadtemplate.h:
23059         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23060         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23061         * gst/gstpipeline.h:
23062         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23063         (gst_file_index_commit):
23064         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23065         * testsuite/pad/link.c: (gst_test_src_init),
23066         (gst_test_filter_init), (gst_test_sink_init):
23067         * testsuite/states/locked.c: (main):
23068           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23069           moved bitshift from macro to enum definition
23070
23071 2005-10-12  Wim Taymans  <wim@fluendo.com>
23072
23073         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23074         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23075         (gst_file_sink_render):
23076         Some more debugging info.
23077
23078 2005-10-12  Wim Taymans  <wim@fluendo.com>
23079
23080         * docs/design/part-states.txt:
23081         * tools/gst-launch.c: (main):
23082         Some doc updates.
23083         Revert non-intentional change.
23084
23085 2005-10-12  Wim Taymans  <wim@fluendo.com>
23086
23087         * check/gst/gstbin.c: (GST_START_TEST):
23088         * check/gst/gstelement.c: (GST_START_TEST):
23089         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23090         * check/gst/gstghostpad.c: (GST_START_TEST):
23091         * check/gst/gstpipeline.c: (GST_START_TEST):
23092         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23093         * check/states/sinks.c: (GST_START_TEST):
23094         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23095         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23096         (gst_bin_remove_func), (gst_bin_get_state_func),
23097         (gst_bin_recalc_state), (gst_bin_change_state_func),
23098         (bin_bus_handler):
23099         * gst/gstelement.c: (gst_element_get_state_func),
23100         (gst_element_get_state), (gst_element_abort_state),
23101         (gst_element_commit_state), (gst_element_set_state),
23102         (gst_element_change_state), (gst_element_change_state_func):
23103         * gst/gstelement.h:
23104         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23105         (gst_pipeline_provide_clock_func):
23106         * gst/gstutils.c: (gst_element_link_pads_filtered):
23107         * tools/gst-launch.c: (main):
23108         * tools/gst-typefind.c: (main):
23109         Use GstClockTime in _get_state() instead of GTimeVal.
23110         Remove old code in gstutils.c
23111
23112 2005-10-12  Andy Wingo  <wingo@pobox.com>
23113
23114         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23115         removed.
23116
23117         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23118         there is no task. Shouldn't affect any code, as nothing in our
23119         plugins checks this return value.
23120         (gst_pad_stop_task): Also take the stream lock if the pad has no
23121         task. Docs updated.
23122
23123 2005-10-12  Wim Taymans  <wim@fluendo.com>
23124
23125         * gst/gstpad.c: (pre_activate), (post_activate),
23126         (gst_pad_activate_pull), (gst_pad_activate_push):
23127         Cleanup activation code. Reset old state if
23128         activation failed.
23129
23130 2005-10-12  Wim Taymans  <wim@fluendo.com>
23131
23132         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23133         (gst_base_sink_change_state):
23134         No need to prerol after receiving EOS.
23135
23136         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23137         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23138         * gst/elements/gstidentity.c: (gst_identity_event):
23139         Print events more verbosely.
23140
23141 2005-10-12  Wim Taymans  <wim@fluendo.com>
23142
23143         * check/Makefile.am:
23144         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23145         * check/states/sinks2.c:
23146         Moved sinks2 testcode in sinks check.
23147
23148         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23149         (gst_bin_remove_func), (gst_bin_recalc_state),
23150         (gst_bin_change_state_func), (bin_bus_handler):
23151         Fix potential race condition when _get_state() iterated over an
23152         ASYNC element right before it posted a state completion.
23153
23154         * gst/gstclock.h:
23155         Do proper cast here.
23156
23157         * gst/gstevent.c: (gst_event_new_newsegment),
23158         (gst_event_parse_newsegment):
23159         A playback rate of 0.0 is not allowed.
23160
23161 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23162
23163         * win32/common/config.h:
23164         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23165         (_trewinddir), (_ttelldir), (_tseekdir):
23166         * win32/common/dirent.h:
23167         * win32/common/gtchar.h:
23168         * win32/common/libgstbase.def:
23169         * win32/common/libgstreamer.def:
23170         * win32/vs6/grammar.dsp:
23171         * win32/vs6/gst_inspect.dsp:
23172         * win32/vs6/gst_launch.dsp:
23173         * win32/vs6/gstreamer.dsw:
23174         * win32/vs6/libgstbase.dsp:
23175         * win32/vs6/libgstelements.dsp:
23176         * win32/vs6/libgstreamer.dsp:
23177           Visual Studio 6 project files, and a new common directory.
23178           Phear.
23179
23180 2005-10-11  Wim Taymans  <wim@fluendo.com>
23181
23182         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23183         (gst_base_sink_do_sync), (gst_base_sink_query),
23184         (gst_base_sink_change_state):
23185         * gst/base/gstbasesink.h:
23186         Correctly parse newsegment info.
23187
23188 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23189
23190         * gst/gst.c: (init_post):
23191           split plugin paths correctly
23192
23193 2005-10-11  Wim Taymans  <wim@fluendo.com>
23194
23195         * check/gst/gstevent.c: (GST_START_TEST):
23196         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23197         (gst_base_sink_change_state):
23198         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23199         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23200         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23201         * gst/gstevent.c: (gst_event_new_newsegment),
23202         (gst_event_parse_newsegment):
23203         * gst/gstevent.h:
23204         Added extra flag to newsegment for future API freeze.
23205         Updated check and base elements.
23206
23207 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23208
23209         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23210         (gst_collectpads_add_pad), (gst_collectpads_pop),
23211         (gst_collectpads_event), (gst_collectpads_chain):
23212         * gst/base/gstcollectpads.h: Handle EOS correctly.
23213
23214 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23215
23216         * tools/gst-launch.c: (main):
23217           more null protecting
23218
23219 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23220
23221         * gst/gst-i18n-lib.h:
23222           check for ENABLE_NLS, not GETTEXT_PACKAGE
23223         * gst/gstregistry.c: (gst_registry_add_plugin),
23224         (gst_registry_scan_path_level),
23225         (_gst_registry_remove_cache_plugins):
23226           protect possibly NULL strings
23227         * gst/parse/types.h:
23228           config.h already included before
23229         * tools/gst-inspect.c: (main):
23230           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23231           check for ENABLE_NLS, not GETTEXT_PACKAGE
23232         * tools/gst-launch.c: (main):
23233           check for ENABLE_NLS, not GETTEXT_PACKAGE
23234
23235 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23236
23237         * configure.ac:
23238           if we don't have glib, fail before testing 2.8
23239         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23240           fix a leak, should fix plugins-base testsuite
23241
23242 2005-10-11  Andy Wingo  <wingo@pobox.com>
23243
23244         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23245         take the mode we're going to as an arg. Go head and set the mode
23246         and flushing flags now, so that if the activate function starts a
23247         thread all the flags will be in the right state.
23248         (post_activate): Renamed also. Just handle making sure streaming
23249         finishes for the deactivation case, and setting the deactivated
23250         mode.
23251         (gst_pad_set_active): Complain loudly if deactivation fails.
23252         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23253         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23254         remove the terrible hack.
23255
23256 2005-10-11  Wim Taymans  <wim@fluendo.com>
23257
23258         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23259         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23260         (gst_bin_recalc_state), (gst_bin_change_state_func),
23261         (gst_bin_dispose), (bin_bus_handler):
23262         * gst/gstbin.h:
23263         Prepare to make current EOS message queue more generic.
23264         Fix some typos.
23265
23266         * gst/gstevent.c: (gst_event_new_newsegment),
23267         (gst_event_parse_newsegment):
23268         * gst/gstevent.h:
23269         Rename base to stream_time.
23270
23271         * gst/gstmessage.h:
23272         Fix typo in docs.
23273
23274 2005-10-11  Wim Taymans  <wim@fluendo.com>
23275
23276         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23277         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23278         (gst_bin_change_state_func), (bin_bus_handler):
23279         * gst/gstbin.h:
23280         Work on proper clock selection.
23281
23282 2005-10-11  Edward Hervey  <edward@fluendo.com>
23283
23284         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23285         * libs/gst/controller/gstcontroller.h:
23286         Added GList* version of _remove_properties() in order to be able to wrap
23287         it in bindings.
23288
23289 2005-10-11  Wim Taymans  <wim@fluendo.com>
23290
23291         * docs/design/part-states.txt:
23292         Some more docs.
23293
23294         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23295         (gst_bin_change_state_func), (bin_bus_handler):
23296         Doc updates. Don't distribute the same clock over and over again.
23297
23298         * gst/gstclock.c:
23299         * gst/gstclock.h:
23300         Doc updates.
23301
23302         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23303         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23304         (gst_pad_send_event):
23305         * gst/gstpad.h:
23306         Make probe emission threadsafe again.
23307         Register quarks and move _get_name() from utils.
23308         Doc updates.
23309
23310         * gst/gstpipeline.c: (gst_pipeline_class_init),
23311         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23312         Only redistribute the clock of it changed.
23313
23314         * gst/gstsystemclock.h:
23315         Doc updates. 
23316
23317         * gst/gstutils.c:
23318         * gst/gstutils.h:
23319         Moved the _flow_get_name() to GstPad.
23320
23321 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23322
23323         * check/gst-libs/gdp.c: (GST_START_TEST):
23324         * check/gst/gstcaps.c: (GST_START_TEST):
23325         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23326         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23327         (gst_dp_packet_from_caps):
23328           fix more valgrind warnings before turning up the heat
23329
23330 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23331
23332         * gst/parse/grammar.y:
23333           some cleanup before the hacking
23334
23335 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23336
23337         * gst/base/gstbasesrc.c: (gst_base_src_query):
23338           use conversions
23339         * gst/gstutils.c: (gst_guint64_to_gdouble),
23340         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23341         * gst/gstutils.h:
23342           externalize, basesrc uses it
23343           obviously the implementation needs testing
23344
23345 2005-10-10  Wim Taymans  <wim@fluendo.com>
23346
23347         * tests/sched/Makefile.am:
23348         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23349         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23350
23351 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23352
23353         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23354           apparently converting from guint64 to double is not implemented
23355           on MSVC
23356
23357 2005-10-10  Wim Taymans  <wim@fluendo.com>
23358
23359         * check/Makefile.am:
23360         * check/generic/states.c: (GST_START_TEST):
23361         * check/gst/gstbin.c: (GST_START_TEST):
23362         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23363         * check/states/sinks.c: (GST_START_TEST):
23364         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23365         (main):
23366         Check fixes, use API as stated in design docs, remove hacks.
23367
23368         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23369         (gst_base_sink_change_state):
23370         Catch stopping our task while we're shutting down.
23371
23372         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23373         (gst_bin_remove_func), (gst_bin_get_state_func),
23374         (gst_bin_recalc_state), (gst_bin_change_state_func),
23375         (bin_bus_handler):
23376         * gst/gstbin.h:
23377         * gst/gstelement.c: (gst_element_init),
23378         (gst_element_get_state_func), (gst_element_abort_state),
23379         (gst_element_commit_state), (gst_element_lost_state),
23380         (gst_element_set_state), (gst_element_change_state),
23381         (gst_element_change_state_func):
23382         * gst/gstelement.h:
23383         New state change algorithm (see #318116)
23384
23385         * gst/gstpipeline.c: (gst_pipeline_class_init),
23386         (gst_pipeline_init), (gst_pipeline_set_property),
23387         (gst_pipeline_get_property), (do_pipeline_seek),
23388         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23389         * gst/gstpipeline.h:
23390         Remove crude state change hacks.
23391
23392         * gst/gstutils.h:
23393         Remove crude hacks.
23394
23395         * tools/gst-launch.c: (main):
23396         Fixes for state change. Needs some more work to fully use the
23397         new stuff.
23398
23399 2005-10-10  Andy Wingo  <wingo@pobox.com>
23400
23401         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23402
23403         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23404         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23405         issue.
23406
23407 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23408
23409         * gst/gstiterator.c: (gst_iterator_new):
23410           Fix my previous commit: GTypes passed to gst_iterator_new()
23411           can be fundamental types.
23412
23413 2005-10-10  Wim Taymans  <wim@fluendo.com>
23414
23415         * gst/gstelement.c: (gst_element_iterate_pad_list),
23416         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23417         (gst_element_iterate_sink_pads):
23418         Use src/sink pads lists for the respective iterators instead
23419         of filtering.
23420
23421 2005-10-10  Andy Wingo  <wingo@pobox.com>
23422
23423         Merged in popt removal + GOption addition patch from Ronald, bug
23424         #169772.
23425
23426         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23427         GstElement macros around, remove popt-related symbols, add goption
23428         stuff.
23429
23430         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23431         
23432         * docs/gst/Makefile.am:
23433         * docs/libs/Makefile.am: No POPT_CFLAGS.
23434         
23435         * examples/manual/Makefile.am:
23436         * docs/manual/basics-init.xml: Doc updates with an example.
23437         
23438         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23439         (gst_init), (parse_one_option), (parse_goption_arg):
23440         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23441         bit of hand merging and debugging to get the GOption stuff working
23442         tho.
23443         
23444         * tests/Makefile.am:
23445         * tools/Makefile.am:
23446         * tools/gst-inspect.c: (main):
23447         * tools/gst-launch.c: (main):
23448         * tools/gst-run.c: (main):
23449         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23450
23451 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23452
23453         * gst/gstiterator.c: (gst_iterator_new):
23454           Add assertions to make sure passed GType is likely to really
23455           be a GType (as the compiler won't catch it if the size and
23456           GType arguments get mixed up, see #318447).
23457
23458 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23459
23460         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23461
23462         * gst/gstbin.c: (gst_bin_iterate_sorted):
23463           Pass GType and size arguments to gst_iterator_new() in the right
23464           order (maybe we should make _new() take the GType as first argument
23465           just like _new_list()?) (#318447).
23466           
23467
23468 2005-10-10  Wim Taymans  <wim@fluendo.com>
23469
23470         * gst/gstelement.c: (gst_element_finalize):
23471         And free the GStaticRecMutex too
23472
23473 2005-10-10  Andy Wingo  <wingo@pobox.com>
23474
23475         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23476         Allocate and free the mutex properly.
23477
23478         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23479         New macros.
23480         (GstElement): The state_lock is now recursive. Rebuild your
23481         plugins, suckers. Old macros adapted.
23482
23483         * docs/gst/gstreamer-sections.txt: Doc updates.
23484
23485         * gst/gstutils.h:
23486         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23487         (g_static_rec_cond_wait): Ported from state changes patch, while
23488         we wait on bug #317802 to be solved in a well-distributed GLib.
23489
23490         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23491         gst_element_change_state, variable name changes.
23492         (gst_element_change_state): Split out of gst_element_set_state in
23493         preparation for the state change merge. Doesn't pay attention to
23494         the 'transition' argument.
23495         (gst_element_set_state): Updates, hopefully purely cosmetic.
23496         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23497         state change patch.
23498         (gst_element_get_state_func): Renamed from get_state, cosmetic
23499         changes.
23500
23501 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23502
23503         * gst/elements/gstelements.c:
23504         * win32/GStreamer.vcproj:
23505         * win32/config.h:
23506         * win32/dirent.c: (_tseekdir):
23507         * win32/gst-inspect.vcproj:
23508         * win32/gst-launch.vcproj:
23509         * win32/gstconfig.h:
23510         * win32/gstelements.vcproj:
23511         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23512         * win32/gstreamer.def:
23513         * win32/msvc71.sln:
23514           updates for the win32 build (patch from Sebastien Moutte)
23515
23516 2005-10-10  Andy Wingo  <wingo@pobox.com>
23517
23518         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23519         gst_bin_get_state, cleaned up (but no logic changes).
23520         (bin_element_is_sink): Comment updates.
23521         (sink_iterator_filter): Remove needless cast.
23522         (gst_bin_iterate_sinks): Doc update.
23523         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23524         cleaned up (but no logic changes).
23525
23526         * check/states/sinks.c (test_src_sink): Cleanups from the state
23527         change patch.
23528         (test_livesrc_sink): Sync on the state.
23529
23530         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23531         the state change patch.
23532
23533         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23534         change patch.
23535
23536         * check/gst/gstbin.c: Merge in some style fixes and additional
23537         checks from Wim's state change patch.
23538
23539 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23540
23541         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23542         (gst_type_find_helper):
23543           Check whether we have the requested data already in our list of
23544           cached buffers before pulling a new buffer; also make the buffer
23545           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23546
23547 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23548
23549         * gst/gstcaps.c:
23550         * gst/gstevent.c:
23551           doc updates
23552         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23553           don't use long long, it's not portable.  Replacing with
23554           gint64 seems to work; let's hope no skeletons fall out of the closet.
23555
23556 2005-10-10  Andy Wingo  <wingo@pobox.com>
23557
23558         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23559
23560 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23561
23562         * docs/gst/gstreamer-sections.txt:
23563         * gst/gstevent.c:
23564         * gst/gstevent.h:
23565         * gst/gstinfo.c:
23566         * gst/gstinfo.h:
23567         * gst/gstmessage.c: (gst_message_parse_state_changed):
23568         * gst/gstpad.c:
23569         * gst/gstpad.h:
23570           more docs, fix compilation
23571
23572 2005-10-09  Philippe Khalaf <burger@speedy.org>
23573         * gst/gstmessage.c:
23574           Fixed a few forgotten variables on previous commit
23575
23576 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23577
23578         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23579           Fix evil typefind crasher: getrange() might return a short
23580           buffer at the end of a file, but gst_type_find_peek() must
23581           either return the full data as requested or NULL, but
23582           never a short buffer.
23583
23584 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23585
23586         * gst/gstmessage.c: (gst_message_new_state_changed),
23587         (gst_message_parse_state_changed):
23588         * gst/gstmessage.h:
23589           don't use "new", it's a C++ keyword
23590
23591 2005-10-08  Wim Taymans  <wim@fluendo.com>
23592
23593         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23594         * gst/gstelement.c: (gst_element_post_message):
23595         * gst/gstpipeline.c: (gst_pipeline_change_state):
23596         Small docs and debug updates.
23597
23598 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23599
23600         * docs/gst/gstreamer-sections.txt:
23601         * gst/gstelementfactory.c:
23602         * gst/gstevent.c:
23603         * gst/gsttaglist.c:
23604           more docs
23605
23606 2005-10-08  Wim Taymans  <wim@fluendo.com>
23607
23608         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23609         (gst_bin_dispose), (bin_bus_handler):
23610         Fix typos, add comments.
23611         Clear EOS list when going to PAUSED from any direction and do it
23612         in a threadsafe way.
23613         Get base time in a threadsafe way too.
23614         Fix confusing debug in the change_state function.
23615         Various other small cleanups.
23616         
23617         * gst/gstelement.c: (gst_element_post_message):
23618         Fix very verbose bus posting code.
23619
23620         * gst/gstpipeline.c: (gst_pipeline_class_init),
23621         (gst_pipeline_set_property), (gst_pipeline_get_property),
23622         (gst_pipeline_change_state):
23623         Small ARG_ -> PROP_ cleanup
23624
23625 2005-10-08  Wim Taymans  <wim@fluendo.com>
23626
23627         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23628         Do a less CPU demanding EOS check because we can.
23629
23630 2005-10-08  Wim Taymans  <wim@fluendo.com>
23631
23632         * libs/gst/dataprotocol/dataprotocol.c:
23633         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23634         (gst_dp_packet_from_event):
23635         * libs/gst/dataprotocol/dataprotocol.h:
23636         * libs/gst/dataprotocol/dp-private.h:
23637         It's about time we bump the version number.
23638         Since event types don't fit in the guint8 anymore describing
23639         the payload type, make payload type 16 bits wide.
23640
23641 2005-10-08  Wim Taymans  <wim@fluendo.com>
23642
23643         * docs/design/part-TODO.txt:
23644         * docs/design/part-clocks.txt:
23645         * docs/design/part-events.txt:
23646         * docs/design/part-gstbin.txt:
23647         * docs/design/part-gstelement.txt:
23648         * docs/design/part-gstpipeline.txt:
23649         * docs/design/part-live-source.txt:
23650         * docs/design/part-messages.txt:
23651         * docs/design/part-overview.txt:
23652         * docs/design/part-states.txt:
23653         Many doc updates.
23654
23655 2005-10-08  Wim Taymans  <wim@fluendo.com>
23656
23657         * gst/gstevent.c:
23658         * gst/gstevent.h:
23659         Fix event quark registration.
23660         Add some space between events so we can insert them in the
23661         right groups.
23662
23663 2005-10-08  Wim Taymans  <wim@fluendo.com>
23664
23665         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23666         (gst_base_sink_handle_buffer):
23667         Better log message.
23668
23669         * gst/gstbus.h:
23670         * gst/gstelement.h:
23671         More docs.
23672
23673         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23674         (gst_queue_set_property), (gst_queue_get_property):
23675         * gst/gstqueue.h:
23676         Remove old unused properties.
23677
23678 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23679         * docs/gst/gstreamer-sections.txt:
23680         * gst/gstmessage.c:
23681         * gst/gstmessage.h:
23682         * gst/gstminiobject.c:
23683         * gst/gstminiobject.h:
23684         * gst/gstobject.h:
23685         * gst/gstpad.h:
23686         * gst/gstutils.h:
23687           lots of new docs and doc fixes
23688
23689 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23690
23691         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23692         * gst/gstplugin.h:
23693         * gst/gstregistry.c: (gst_registry_lookup_locked),
23694         (gst_registry_scan_path_level):
23695         * gst/gstregistryxml.c: (load_plugin):
23696           Only ever load one plugin for a given plugin basename.
23697           This ensures correct overriding of GST_PLUGIN_PATH over
23698           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23699           system installed plugins.
23700
23701 2005-10-08  Wim Taymans  <wim@fluendo.com>
23702
23703         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23704         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23705         Prepare for doing QOS.
23706
23707 2005-10-08  Wim Taymans  <wim@fluendo.com>
23708
23709         * check/gst/gstbin.c: (GST_START_TEST):
23710         * check/pipelines/cleanup.c: (GST_START_TEST):
23711         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23712         Allow new clock message too.
23713
23714 2005-10-08  Wim Taymans  <wim@fluendo.com>
23715
23716         * gst/gstmessage.c: (gst_message_new_error),
23717         (gst_message_new_warning), (gst_message_new_tag),
23718         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23719         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23720         (gst_message_new_segment_start), (gst_message_new_segment_done),
23721         (gst_message_parse_state_changed),
23722         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23723         (gst_message_parse_new_clock):
23724         * gst/gstmessage.h:
23725         Also carry the clock in question.
23726
23727 2005-10-08  Wim Taymans  <wim@fluendo.com>
23728
23729         * gst/gstmessage.c: (gst_message_new_custom),
23730         (gst_message_new_eos), (gst_message_new_error),
23731         (gst_message_new_warning), (gst_message_new_tag),
23732         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23733         (gst_message_new_new_clock), (gst_message_new_segment_start),
23734         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23735         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23736         * gst/gstmessage.h:
23737         Clean up.
23738         Added clock related messages.
23739
23740         * gst/gstpipeline.c: (gst_pipeline_change_state):
23741         Post message when the clock changed.
23742
23743         * tools/gst-launch.c: (event_loop):
23744         Print new clock.
23745
23746 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23747
23748         * tools/gst-inspect.c: (print_element_properties_info):
23749           Can't pass NULL strings to g_print() on windows.
23750
23751 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23752
23753         * docs/Makefile.am:
23754         * docs/gst/Makefile.am:
23755         * docs/gst/gstreamer-docs.sgml:
23756         * docs/gst/running.xml:
23757         * docs/version.entities.in:
23758           add a chapter on running GStreamer.
23759           document GST_DEBUG and GST_PLUGIN* env vars
23760
23761 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23762
23763         * Makefile.am:
23764           remove include dir
23765         * configure.ac:
23766           remove PLUGINS_BUILDDIR stuff
23767         * gst/gst.c: (init_post):
23768           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23769         * idiottest.mak:
23770           remove, it was condescending and not needed
23771
23772 2005-10-08  Wim Taymans  <wim@fluendo.com>
23773
23774         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23775         (gst_base_sink_handle_object), (gst_base_sink_event),
23776         (gst_base_sink_wait), (gst_base_sink_handle_event),
23777         (gst_base_sink_change_state):
23778         * gst/base/gstbasesink.h:
23779         Repost EOS message while going to PLAYING if still EOS.
23780         Make sure that when receiving a FLUSH_START we don't attempt
23781         to sync on the clock anymore.
23782
23783 2005-10-08  Wim Taymans  <wim@fluendo.com>
23784
23785         * tools/gst-launch.c: (event_loop):
23786         Better message printout.
23787
23788 2005-10-08  Wim Taymans  <wim@fluendo.com>
23789
23790         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23791         (gst_bin_child_proxy_get_children_count):
23792         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23793         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23794         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23795         (gst_child_proxy_set_valist):
23796         * gst/parse/grammar.y:
23797         Make ChildProxy threadsafe and fix mem leaks.
23798
23799 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23800
23801         * gst/gst.c: (init_post):
23802           debug the GST_PLUGIN_ env vars
23803
23804 2005-10-08  Wim Taymans  <wim@fluendo.com>
23805
23806         * check/gst/gstbin.c: (GST_START_TEST):
23807         * check/gst/gstmessage.c: (GST_START_TEST):
23808         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23809         * gst/gstelement.c: (gst_element_commit_state),
23810         (gst_element_lost_state):
23811         * gst/gstmessage.c: (gst_message_new_state_changed),
23812         (gst_message_parse_state_changed):
23813         * gst/gstmessage.h:
23814         * tools/gst-launch.c: (event_loop):
23815         Added extra field to STATE_CHANGE message with the pending
23816         state, which will be different from the new state soon.
23817
23818 2005-10-08  Wim Taymans  <wim@fluendo.com>
23819
23820         * gst/gstbus.c: (gst_bus_pop):
23821         * gst/gstclock.c:
23822         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23823         Small cleanups and doc updates.
23824
23825 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23826
23827         * gst/gst.c: (init_pre):
23828         * gst/gstbin.c: (gst_bin_add_func):
23829           log distributing clocks and base time
23830         * gst/gstregistry.c: (gst_registry_add_plugin),
23831         (gst_registry_scan_path_level), (gst_registry_scan_path):
23832           clean up the debugging output a little
23833         * gst/gstutils.c: (gst_element_state_get_name):
23834           warn about a memleak (I've actually seen this be used, though
23835           it was probably a bug)
23836
23837 2005-10-07  Wim Taymans  <wim@fluendo.com>
23838
23839         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23840         (gst_base_src_init), (gst_base_src_default_newsegment),
23841         (gst_base_src_newsegment), (gst_base_src_do_seek),
23842         (gst_base_src_loop), (gst_base_src_start):
23843         * gst/base/gstbasesrc.h:
23844         Make the newsegment event customizable by subclasses.
23845
23846 2005-10-07  Wim Taymans  <wim@fluendo.com>
23847
23848         * gst/gstevent.c: (gst_event_new_buffersize),
23849         (gst_event_parse_buffersize):
23850         * gst/gstevent.h:
23851         New event for future idea.
23852
23853 2005-10-07  Andy Wingo  <wingo@pobox.com>
23854
23855         * gst/gstelement.c (gst_element_post_message): Doc update.
23856
23857         * docs/gst/gstreamer-sections.txt: Update.
23858
23859         * gst/gstmessage.c (gst_message_new_application): Made into a
23860         function like honest API calls.
23861         (gst_message_new_element): New message type.
23862
23863         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23864
23865         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23866         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23867         times.
23868
23869         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23870         NO_PREROLL from gst_element_change_state to fall through.
23871
23872 2005-10-07  Wim Taymans  <wim@fluendo.com>
23873
23874         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23875         (gst_ghost_pad_do_activate_push):
23876         Activating a ghostpad with no internal pad in push mode
23877         is ok.
23878
23879 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23880
23881         * gst/gstobject.h:
23882           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23883           Fixes compilation on Windows.
23884
23885 2005-10-07  Michael Smith <msmith@fluendo.com>
23886
23887         * tools/gst-inspect.c:
23888           Print out feature and plugin count at the end when printing out
23889           all features.
23890
23891 2005-10-04  Michael Smith <msmith@fluendo.com>
23892
23893         * gst/gsterror.c: (_gst_stream_errors_init):
23894           Add another error string used in a few existing plugins.
23895
23896         * gst/gstplugin.c:
23897         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23898         * tools/gst-inspect.c: (print_element_info):
23899           When a feature disappears from a plugin (and the feature exists in
23900           the cached registry file), things went horribly wrong. This isn't a
23901           complete fix, we should actually be removing the 'missing' features
23902           from the features list when we load the actual plugin. That's not
23903           yet implemented. 
23904
23905 2005-10-04  Johan Dahlin  <johan@gnome.org>
23906
23907         * check/gst/gstiterator.c: (GST_START_TEST):
23908         * gst/gstbin.c: (gst_bin_iterate_elements),
23909         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23910         * gst/gstelement.c: (gst_element_iterate_pads):
23911         * gst/gstformat.c: (gst_format_iterate_definitions):
23912         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23913         (gst_iterator_new_list), (gst_iterator_filter):
23914         * gst/gstiterator.h:
23915         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23916         Add a GType to GstIterator, update callsites and tests.
23917
23918 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23919
23920         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23921           give events a chance to be handled by event probes when the pad
23922           is not linked
23923
23924 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23925
23926         * gst/gstevent.c: (gst_event_type_get_name),
23927         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23928         * gst/gstevent.h:
23929           add string representations for event types
23930
23931 2005-10-06  Wim Taymans  <wim@fluendo.com>
23932
23933         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23934         Don't use NULL pointers.
23935
23936 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23937
23938         * gst/gst_private.h:
23939         * gst/gstbus.c:
23940         * gst/gstelement.c:
23941         * gst/gstinfo.c:
23942         * gst/gstpluginfeature.c:
23943           widen the debug category in output to fit the biggest one we have
23944           add a bus category and use it
23945           play with the colors
23946           fix up some categories
23947
23948 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23949
23950         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23951           add push activation of sink ghost pads.
23952           Andye, please verify
23953
23954 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23955
23956         * gst/gstutils.c: (gst_element_link_pads):
23957           fix a bug in the case where neither element has a pad
23958         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23959           add a test for that case
23960
23961 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23962
23963         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23964           emit have-data before checking for peers.  This allows
23965           for probe handlers to connect elements.  This helps autopluggers.
23966         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23967         (gst_pad_suite):
23968           add six checks, linked/unlinked with no/true/false probe
23969
23970 2005-10-04  Wim Taymans  <wim@fluendo.com>
23971
23972         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23973         (gst_fake_sink_event), (gst_fake_sink_preroll),
23974         (gst_fake_sink_render), (gst_fake_sink_change_state):
23975         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23976         (gst_fake_src_get_property), (gst_fake_src_create),
23977         (gst_fake_src_stop):
23978         * gst/elements/gstidentity.c: (gst_identity_stop):
23979         Protect last_message with lock.
23980
23981 2005-10-04  Edward Hervey  <edward@fluendo.com>
23982
23983         * gst/gstformat.h: 
23984         Added precision in the comments for GST_FORMAT_DEFAULT
23985
23986 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23987
23988         * tools/gst-launch.c: (main):
23989           Don't try to run erroneous pipelines.
23990
23991 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23992
23993         * gst/gstbus.c: We don't need this header.
23994
23995 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23996
23997         * configure.ac:
23998           back to development
23999
24000 === release 0.9.3 ===
24001
24002 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24003
24004         * README:
24005         * configure.ac:
24006           Releasing 0.9.3, "Unregistered"
24007
24008 2005-10-03  Andy Wingo  <wingo@pobox.com>
24009
24010         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24011         whereby calling a pad's activatepush() function can start a thread
24012         that starts to push or pull before the pad gets the FLUSHING flag
24013         unset. Hack around it by holding the stream lock until the flag is
24014         set. Need to replace this with a proper solution. Together with
24015         the ghost pad fixes, this fixes mp3 playing/tagreading.
24016
24017         * docs/design/part-gstghostpad.txt: Add a note about activation of
24018         proxy pads outside of ghost pads.
24019
24020         * gst/gstghostpad.c: Implement the ghost pad activation design.
24021
24022 2005-10-02  Andy Wingo  <wingo@pobox.com>
24023
24024         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24025         It is volatile, after all.
24026
24027         * docs/design/part-gstghostpad.txt: Flesh out activation with
24028         ghost pads.
24029
24030         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24031         GST_DEBUG_FUNCPTR.
24032
24033 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24034
24035         * configure.ac:
24036           Fix (unused) AM_CONDITIONAL tests.
24037
24038 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24039
24040         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24041
24042         * gst/gstutils.c: (gst_pad_query_convert):
24043           Add assertion that makes sure src_val is >=0, just like
24044           gst_query_new_convert() has. (#315895)
24045
24046 2005-09-30  Edward Hervey  <edward@fluendo.com>
24047
24048         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24049         Let's not iterate pads we're not interested in, it avoids getting 
24050         sky-high refcounts on sinkpad.
24051
24052 2005-09-30  Wim Taymans  <wim@fluendo.com>
24053
24054         * gst/gstelement.c: (gst_element_set_state),
24055         (gst_element_change_state):
24056         Small tweak, element in ASYNC remains ASYNC.
24057
24058 2005-09-30  Wim Taymans  <wim@fluendo.com>
24059
24060         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24061         Only error is an error.
24062
24063         * gst/gstbin.c: (gst_bin_change_state):
24064         Better debugging.
24065
24066         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24067         Also call pad_block in pad alloc.
24068
24069         * gst/gstutils.c: (gst_flow_get_name):
24070         Better debugging.
24071
24072 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24073
24074         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24075         (gst_base_src_get_range):
24076           Fix documentation typos. Add some more debug info.
24077
24078 2005-09-29  David Schleef  <ds@schleef.org>
24079
24080         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24081           more end-user friendly.
24082         * tools/gst-inspect.c: (main): Check if command-line argument is
24083           a file and attempt to load that file as a plugin.
24084
24085 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24086
24087         * check/gst/gstbin.c:
24088         * check/states/sinks.c:
24089           fix tests for the new warning
24090         * check/gst/gstpipeline.c:
24091           add a test for pipeline and bus interaction
24092         * gst/gstelement.c:
24093           elements should be NULL if they get disposed; add a warning if not
24094
24095 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24096
24097         * gst/gstobject.c:
24098           for 2.6 refcounting, make debug log more correct by printing
24099           the actual refcounts at the time of swap (Wim)
24100
24101 2005-09-29  Andy Wingo  <wingo@pobox.com>
24102
24103         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24104         removes signal watches previously added via
24105         gst_bus_add_signal_watch.
24106         (gst_bus_add_signal_watch): Don't return the source id, just store
24107         it on the bus if there wasn't an id already.
24108
24109         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24110         add_signal_watch and remove_signal_watch.
24111
24112 2005-09-29  Edward Hervey  <edward@fluendo.com>
24113
24114         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24115         Better if we actually iterate the list :)
24116
24117 2005-09-29  Wim Taymans  <wim@fluendo.com>
24118
24119         * check/gst/gstbin.c: (GST_START_TEST):
24120         Change for new bus API.
24121
24122         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24123         (send_messages), (GST_START_TEST), (gstbus_suite):
24124         Change for new bus signal API.
24125
24126         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24127         (gst_bus_source_prepare), (gst_bus_source_check),
24128         (gst_bus_create_watch), (gst_bus_add_watch_full),
24129         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24130         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24131         * gst/gstbus.h:
24132         Remove support for multiple GSources operating on different
24133         message types as it is too complex and unneeded when using
24134         signals.
24135         Added support for receiving signals from the bus.
24136
24137 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24138
24139         * docs/libs/tmpl/gstdataprotocol.sgml:
24140         * docs/manual/advanced-dataaccess.xml:
24141         * gst/elements/gstcapsfilter.c:
24142         * gst/gstutils.c:
24143           rename filter-caps to caps property
24144
24145 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24146
24147         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24148           More robust fraction string parsing.
24149
24150         * docs/pwg/appendix-porting.xml:
24151           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24152
24153 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24154
24155         * gst/gstcaps.c: (gst_caps_do_simplify):
24156           Thou shalt not free a structure and then continue using it
24157           in the next loop iteration.
24158
24159         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24160         (gst_caps_suite):
24161           Add test case for caps simplification.
24162
24163 2005-09-29  Wim Taymans  <wim@fluendo.com>
24164
24165         * check/gst/gstbin.c: (GST_START_TEST):
24166         Oops.
24167
24168 2005-09-29  Wim Taymans  <wim@fluendo.com>
24169
24170         * check/gst/gstbin.c: (GST_START_TEST):
24171         Add bus to bin.
24172
24173         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24174         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24175         (find_element), (gst_bin_sort_iterator_next),
24176         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24177         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24178         (gst_bin_change_state), (gst_bin_dispose):
24179         A bin does not have a bus, it gets the bus from the parent.
24180
24181         * gst/gstelement.c: (gst_element_requires_clock),
24182         (gst_element_provides_clock), (gst_element_is_indexable),
24183         (gst_element_is_locked_state), (gst_element_change_state),
24184         (gst_element_set_bus_func):
24185         Small cleanups.
24186
24187         * gst/gstpipeline.c: (gst_pipeline_class_init),
24188         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24189         The pipeline provides a bus.
24190
24191 2005-09-28  Johan Dahlin  <johan@gnome.org>
24192
24193         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24194         gst_structure_get_enum instead of gst_structure_get_int
24195
24196         * gst/gststructure.c (gst_structure_get_enum): Impl.
24197
24198         * gst/gststructure.h (gst_structure_get_enum): Add
24199
24200         * docs/gst/gstreamer-sections.txt: Ditto
24201
24202         * gst/gstmessage.c (gst_message_new_state_changed): Use
24203         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24204         which does introspection.
24205         Reviewed by Christian Schaller
24206
24207 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24208
24209         * gst/gstinfo.c: (gst_debug_log_default):
24210           don't do dummy g_strdup()s
24211         * libs/gst/controller/gstcontroller.c:
24212         (on_object_controlled_property_changed),
24213         (gst_controlled_property_new), (gst_controller_new_valist),
24214         (gst_controller_new_list),
24215         (gst_controller_remove_properties_valist), (gst_controller_set),
24216         (gst_controller_get), (gst_controller_sync_values),
24217         (gst_controller_get_value_array), (_gst_controller_class_init),
24218         (gst_controller_get_type):
24219         * libs/gst/controller/gstcontroller.h:
24220         * libs/gst/controller/gstinterpolation.c:
24221         (gst_controlled_property_find_timed_value_node):
24222           convert // to /**/ comments
24223
24224 2005-09-28  Wim Taymans  <wim@fluendo.com>
24225
24226         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24227         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24228         (gst_bus_sync_signal_handler):
24229         * gst/gstbus.h:
24230         Added async-message and sync-message signals to the bus.
24231         Added helper BusFunc to emit signals for all posted messages.
24232
24233         * gst/gstmessage.c: (gst_message_type_get_name),
24234         (gst_message_type_to_quark), (gst_message_get_type):
24235         * gst/gstmessage.h:
24236         Register quarks for message names.
24237
24238 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24239
24240         * docs/libs/gstreamer-libs-sections.txt:
24241         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24242         (gst_controller_new_list):
24243         * libs/gst/controller/gstcontroller.h:
24244           added another constructor for language bindings
24245
24246 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24247
24248         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24249           add another check
24250         * gst/gstbus.c:
24251           add some doc
24252         * gst/gstinfo.c: (_gst_debug_init):
24253           slightly more readable color for refcount debugging
24254
24255 2005-09-28  Wim Taymans  <wim@fluendo.com>
24256
24257         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24258         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24259         (find_element), (gst_bin_sort_iterator_next),
24260         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24261         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24262         (gst_bin_change_state), (gst_bin_dispose):
24263         Small doc fixes. get_clock -> provide_clock.
24264
24265         * gst/gstelement.c: (gst_element_class_init),
24266         (gst_element_provides_clock), (gst_element_provide_clock),
24267         (gst_element_get_clock), (gst_element_commit_state),
24268         (gst_element_lost_state):
24269         * gst/gstelement.h:
24270         Make get/set_clock() symetric. Add provide_clock vmethod since
24271         that is actually what this function does.
24272
24273         * gst/gstpipeline.c: (gst_pipeline_class_init),
24274         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24275         (gst_pipeline_get_clock):
24276         get_clock -> provide_clock.
24277
24278 2005-09-28  Andy Wingo  <wingo@pobox.com>
24279
24280         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24281         lieu of real docs...
24282
24283         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24284
24285 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24286
24287         * gst/elements/gstcapsfilter.c:
24288         * gst/elements/gstfakesink.c:
24289         * gst/elements/gstfakesrc.c:
24290         * gst/elements/gstfdsink.c:
24291         * gst/elements/gstfdsrc.c:
24292         * gst/elements/gstfilesink.c:
24293         * gst/elements/gstfilesrc.c:
24294         * gst/elements/gstidentity.c:
24295         * gst/elements/gsttee.c:
24296         * gst/elements/gsttypefindelement.c:
24297           Make element details static.
24298
24299 2005-09-28  Wim Taymans  <wim@fluendo.com>
24300
24301         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24302         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24303         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24304         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24305         (gst_bin_change_state), (gst_bin_dispose):
24306         Some documentation updates.
24307         Clean up dispose handlers.
24308
24309         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24310         * gst/gstpad.c: (gst_pad_dispose):
24311         Clean up dispose handler.
24312
24313         * gst/gstpipeline.c: (gst_pipeline_change_state):
24314         Removed spurious UNLOCK.
24315
24316 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24317
24318         * docs/gst/gstreamer-sections.txt:
24319         * gst/base/gstbasesrc.h:
24320         * gst/gstelement.h:
24321         * gst/gstevent.h:
24322         * gst/gstobject.h:
24323         * gst/gstpad.h:
24324         * gst/gstpipeline.c:
24325         * gst/gstpipeline.h:
24326         * gst/gstutils.h:
24327         * gst/gstxml.h:
24328           added two new functions to the docs
24329                 documents all undocumented GstXXXFlags
24330                 completed some incomplete docs 
24331
24332 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24333
24334         * gst/gstbin.c: (gst_bin_dispose):
24335         * gst/gstelement.c: (gst_element_dispose):
24336           remove now useless and leaky resurrection code in dispose
24337         * gst/base/gstbasesrc.c: (gst_base_src_init):
24338         * gst/gstelementfactory.c: (gst_element_factory_create):
24339         * gst/gstobject.c: (gst_object_set_parent):
24340           add some debugging
24341
24342 2005-09-27  Wim Taymans  <wim@fluendo.com>
24343
24344         * docs/design/part-TODO.txt:
24345         Update TODO.
24346
24347         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24348         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24349         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24350         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24351         (gst_bin_change_state):
24352         * gst/gstelement.h:
24353         Remove element variable, we keep element info in the iterator now.
24354
24355 2005-09-27  Andy Wingo  <wingo@pobox.com>
24356
24357         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24358         values.
24359
24360 2005-09-27  Wim Taymans  <wim@fluendo.com>
24361
24362         * check/gst/gstbin.c: (GST_START_TEST):
24363         Enable check that works now.
24364
24365         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24366         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24367         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24368         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24369         (gst_bin_change_state):
24370         * gst/gstbin.h:
24371         Redid the state change algorithm using a topological sort algo.
24372         Handles all cases correctly.
24373         Exposed iterator for state change order.
24374
24375         * gst/gstelement.h:
24376         Temp storage for state changes. Need to get rid of this soon.
24377
24378 2005-09-27  Wim Taymans  <wim@fluendo.com>
24379
24380         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24381         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24382         (link_fold_func), (gst_pad_proxy_setcaps):
24383         Leak fixes, the fold functions need to unref the passed object and
24384         _get_parent_*() returns ref to parent.
24385
24386 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24387
24388         * check/gst/gstbuffer.c: (test_make_writable):
24389           Plug leak in test case and fix 'make check-valgrind'
24390
24391 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24392
24393         * gst/gstbuffer.c: (gst_subbuffer_init):
24394           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24395           works correctly in all circumstances (we could have just copied
24396           the parent buffer's readonly flag, but conceptually it seems
24397           cleaner to mark all subbuffers as read-only). (based on patch
24398           by Alessandro Decina, #314710).
24399         
24400         * check/gst/gstbuffer.c: (create_read_only_buffer),
24401         (test_make_writable), (test_subbuffer_make_writable),
24402         (gst_test_suite):
24403           Add some tests for gst_buffer_make_writable().
24404
24405 2005-09-27  Wim Taymans  <wim@fluendo.com>
24406
24407         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24408         use gst_object_has_ancestor().
24409
24410         * gst/gstobject.c: (gst_object_has_ancestor):
24411         * gst/gstobject.h:
24412         gst_object_has_ancestor() copied from gstbin.c as it is a
24413         useful function.
24414
24415         * tests/instantiate/create.c: (create_all_elements):
24416         * tests/lat.c: (handoff_src), (handoff_sink):
24417         * tests/sched/runxml.c: (main):
24418         * tests/seeking/seeking1.c: (main):
24419         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24420         (main):
24421         Fix compilation of some tests.
24422
24423 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24424
24425         * gst/gsterror.h:
24426           Remove comment. GST_TYPE_G_ERROR is here to stay,
24427           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24428           (#316961, #300610).
24429
24430 2005-09-26  Wim Taymans  <wim@fluendo.com>
24431
24432         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24433         Added check that shows error in state change order.
24434
24435 2005-09-26  Wim Taymans  <wim@fluendo.com>
24436
24437         * gst/gstbin.c: (gst_bin_change_state):
24438         Make state change function use 3 queues again, we were
24439         adding elements in the wrong order.
24440
24441         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24442         Some debug info,
24443
24444         * gst/gstpad.c: (gst_pad_dispose):
24445         Added some debug info first.
24446
24447 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24448
24449         * docs/design/draft-push-pull.txt:
24450         * docs/design/part-events.txt:
24451         * docs/design/part-overview.txt:
24452         * docs/design/part-scheduling.txt:
24453           Replace all _pull_region() with _pull_range()
24454           
24455 2005-09-26  Andy Wingo  <wingo@pobox.com>
24456
24457         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24458
24459         * check/gst-libs/controller.c: Update for controller api change.
24460
24461         * configure.ac: 
24462         * tests/Makefile.am:
24463         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24464         over by GLib bug 118439.
24465         
24466         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24467         routines to a function.
24468
24469         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24470
24471         * libs/gst/controller/gsthelper.c:
24472         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24473         (gst_object_sync_values): Renamed from sink_values. Ugh.
24474
24475         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24476
24477         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24478         Renamed from controller_key, as it is exported.
24479
24480         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24481
24482 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24483
24484         * gst/Makefile.am:
24485         * gst/gst.h:
24486         * gst/gstpad.h:
24487         * gst/gstpadtemplate.h:
24488         * gst/gstquery.c:
24489         * gst/gstquery.h:
24490         * gst/gstqueryutils.c:
24491         * gst/gstqueryutils.h:
24492           remove queryutils headers after moving the two used functions
24493           to gstquery.  also fixes build problem for gstsiddec
24494
24495 2005-09-26  Michael Smith <msmith@fluendo.com>
24496
24497         * tools/gst-launch.1.in:
24498         Correct documentation in manpage of debug syntax
24499
24500 2005-09-26  Wim Taymans  <wim@fluendo.com>
24501
24502         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24503         (gst_base_src_is_seekable), (gst_base_src_change_state):
24504         Some more debugging info.
24505
24506 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24507
24508         * docs/gst/gstreamer-sections.txt:
24509         * gst/base/gstbasetransform.h:
24510         * gst/gstindex.h:
24511           added more docs
24512
24513 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24514
24515         * docs/gst/.cvsignore:
24516         * docs/gst/tmpl/.cvsignore:
24517         * docs/gst/tmpl/gstpipeline.sgml:
24518         * docs/gst/tmpl/gstplugin.sgml:
24519         * gst/gstpipeline.c:
24520         * gst/gstplugin.c:
24521         * gst/gstplugin.h:
24522           inlined the last two docs files
24523           removed the tmpl directory from cvs (no more conflicts here!)
24524
24525 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24526
24527         * docs/gst/gstreamer-sections.txt:
24528         * docs/gst/tmpl/.cvsignore:
24529         * docs/gst/tmpl/gstpad.sgml:
24530         * docs/gst/tmpl/gstpadtemplate.sgml:
24531         * gst/Makefile.am:
24532         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24533         (gst_pad_finalize), (gst_pad_set_pad_template):
24534         * gst/gstpad.h:
24535         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24536         (gst_pad_template_class_init), (gst_pad_template_init),
24537         (gst_pad_template_dispose), (name_is_valid),
24538         (gst_static_pad_template_get), (gst_pad_template_new),
24539         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24540         (gst_pad_template_pad_created):
24541         * gst/gstpadtemplate.h:
24542           inlined two more docs
24543           factored gstpadtemplate out of gstpad
24544
24545 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24546
24547         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24548         (test_children_state_change_order_semi_sink):
24549           Fix test case: we can't rely on a fixed state change order when
24550           going from READY => PAUSED because the sink might commit its 
24551           new state first when the first buffer created by the source 
24552           reaches the sink before the source has finished its change state.
24553           (Test case still fails at times, see #316856, comment 5 onwards)
24554
24555 2005-09-24  Wim Taymans  <wim@fluendo.com>
24556
24557         * docs/design/part-events.txt:
24558         * docs/design/part-gstbus.txt:
24559         * docs/design/part-gstpipeline.txt:
24560         * docs/design/part-messages.txt:
24561         * docs/design/part-overview.txt:
24562         * docs/design/part-segments.txt:
24563         * gst/gstbin.c:
24564         * gst/gstbuffer.c:
24565         * gst/gstclock.c:
24566         * gst/gstelement.c:
24567         * gst/gstevent.c:
24568         * gst/gstfilter.c:
24569         * gst/gstiterator.c:
24570         Various documentation updates.
24571
24572 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24573
24574         * gst/gstclock.h:
24575           Well, that's embarassing.  Luckily we weren't using
24576           GST_CLOCK_DIFF anywhere.
24577
24578 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24579
24580         * common/gtk-doc.mak:
24581           don't fail on building XML, FC4 slave shows a bunch of doc
24582           missing bits that I don't get
24583         * gst/gstpad.c:
24584         * gst/gstpipeline.c:
24585         * gst/gststructure.c:
24586           some doc updates
24587
24588 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24589
24590         * docs/design/part-gstbin.txt:
24591         * docs/design/part-gstbus.txt:
24592         * gst/gstbus.c:
24593           Add blurb about how the bus goes into flushing mode and
24594           drops all messages when its bin goes from READY into NULL 
24595           state.
24596
24597 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24598
24599         * docs/gst/gstreamer-sections.txt:
24600         * gst/gststructure.c: (gst_structure_get_clock_time):
24601         * gst/gststructure.h:
24602           add a method to get a GstClockTime out of a structure
24603
24604 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24605
24606         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24607         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24608           Added test to check state change order in bins (can still be made
24609           to fail here under heavy disk load; bails out with 'Push on pad
24610           fakesink:sink0, but it was not activated in push mode').
24611
24612         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24613           Fix state change order when there is only a semi sink (#316856)
24614
24615         * gst/gstbus.c: (gst_bus_class_init):
24616           Use _class_peek_parent(), not _class_ref(); fix docs to say
24617           'default main context' instead of 'mainloop' where that is
24618           what's meant.
24619
24620         * gst/gstelement.c: (gst_element_commit_state),
24621         (gst_element_set_state):
24622           Fix typos in debug messages
24623
24624 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24625
24626         * docs/README:
24627         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24628         * gst/gstpluginfeature.c:
24629         * gst/gstutils.c:
24630           various doc updates
24631         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24632           change an assert into an error until it gets fixed properly
24633
24634 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24635
24636         * docs/gst/gstreamer-sections.txt:
24637         * docs/gst/tmpl/.cvsignore:
24638         * docs/gst/tmpl/gstelement.sgml:
24639         * docs/gst/tmpl/gstinfo.sgml:
24640         * docs/gst/tmpl/gstobject.sgml:
24641         * gst/gstelement.c:
24642         * gst/gstelement.h:
24643         * gst/gstinfo.c:
24644         * gst/gstinfo.h:
24645         * gst/gstobject.c: (gst_object_class_init):
24646         * gst/gstobject.h:
24647           inlined 3 more biiiig doc files and added some missing docs on the fly
24648
24649 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24650
24651         * check/gst/.cvsignore:
24652         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24653         * gst/gstregistryxml.c: (load_plugin),
24654         (gst_registry_xml_save_plugin):
24655           put back source in registry.  add checks for find_plugin.
24656         * testsuite/states/bin.c: (assert_state), (empty_bin),
24657         (test_adding_one_element), (main):
24658         * testsuite/states/locked.c: (main):
24659           some compile/run fixes
24660
24661 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24662
24663         * check/gst/gstvalue.c: (GST_START_TEST):
24664           fix leaks in the test itself
24665
24666 2005-09-22  Wim Taymans  <wim@fluendo.com>
24667
24668         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24669         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24670         (gst_base_sink_query):
24671         Prepare for more accurate position reporting and query
24672         handling.
24673
24674         * gst/gstelement.c: (gst_element_send_event),
24675         (gst_element_set_state):
24676         Add some comment.
24677
24678 2005-09-22  Wim Taymans  <wim@fluendo.com>
24679
24680         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24681         (gst_query_parse_segment):
24682         * gst/gstquery.h:
24683         More documentation.
24684         Add segment query for future use.
24685
24686 2005-09-22  Wim Taymans  <wim@fluendo.com>
24687
24688         * gst/gstbin.c: (gst_bin_add_func):
24689         Some more debug info.
24690
24691         * gst/gstelement.c: (gst_element_send_event):
24692         Simplify send_event
24693
24694         * gst/gstelement.h:
24695         Don't know how flags got broken.
24696
24697         * gst/gstquery.h:
24698         Added new query.
24699
24700 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24701
24702         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24703           Add simplistic test suite for GST_TYPE_DATE serialisation and
24704           deserialisation.
24705
24706 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24707
24708         * docs/gst/gstreamer-sections.txt:
24709         * gst/gststructure.c: (gst_structure_set_valist),
24710         (gst_structure_get_date):
24711         * gst/gststructure.h:
24712         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24713         (gst_date_copy), (gst_value_compare_date),
24714         (gst_value_serialize_date), (gst_value_deserialize_date),
24715         (gst_value_transform_date_string),
24716         (gst_value_transform_string_date), (_gst_value_initialize):
24717         * gst/gstvalue.h:
24718           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24719           bunch of utility functions along with a hack that checks that
24720           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24721           is required. Part of the grand scheme in #170777.
24722
24723 2005-09-22  Andy Wingo  <wingo@pobox.com>
24724
24725         * gst/gstconfig.h.in: Psych out gtk-doc.
24726
24727         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24728
24729         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24730
24731         * tools/gst-inspect.c (print_element_list): Plug some
24732         inconsequential leaks.
24733
24734         * gst/gstregistry.c (gst_registry_get_default): Doc.
24735
24736         * check/gst/gstplugin.c: 
24737         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24738         * gst/gstelementfactory.c (gst_element_factory_create): 
24739         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24740         refcount changes.
24741
24742         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24743         (gst_plugin_feature_load): Doc, don't eat refs.
24744
24745         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24746         (gst_plugin_list_free): Doc.
24747         (gst_plugin_load_file): Doc updates.
24748
24749         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24750         accessors returning refcounted objects, return a ref.
24751
24752         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24753         accessor for caps. IDEMPOTENCE. Oh yes.
24754
24755 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24756
24757         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24758
24759         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24760         (_gst_debug_register_funcptr):
24761           Add mutex to serialise access to the hash table with
24762           the function pointer => function name string mapping;
24763           make that hash table static scope (#316809).
24764
24765         * gst/registries/.cvsignore:
24766           Remove left-over file.
24767
24768 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24769
24770         * docs/pwg/appendix-porting.xml:
24771           And something about newsegment events and caps-on-buffers to
24772           the porting guide (feel free to improve).
24773
24774 2005-09-21  Andy Wingo  <wingo@pobox.com>
24775
24776         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24777         data and event probes on the same pad.
24778         (test_buffer_probe_once): Test that removing probes from within
24779         the probe functions works.
24780
24781 2005-09-21  Andy Wingo  <wingo@pobox.com>
24782
24783         * check/gst/gstutils.c: New file.
24784         (test_buffer_probe_n_times): A simple buffer probe test. More to
24785         come, foolios.
24786
24787         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24788         have-data::buffer, not have-data.
24789         (gst_pad_add_event_probe): Likewise for have-data::event.
24790         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24791         peer' isn't quite right yet though.
24792         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24793         (gst_pad_remove_data_probe): Change to take the guint handler_id
24794         as their arg, not the function+data, which is more glib-like.
24795
24796         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24797         the signal emission to indicate if the data is a buffer or an
24798         event.
24799         (gst_pad_get_type): Initialize buffer and event quarks.
24800         (gst_pad_class_init): have-data is now a detailed signal, yes it
24801         is.
24802
24803 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24804
24805         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24806         * gst/gstutils.c: (gst_util_set_value_from_string),
24807         (gst_util_set_object_arg):
24808           Don't put functional code in g_return_if_fail() or
24809           g_return_val_if_fail() statements, otherwise things will 
24810           break when G_DISABLE_CHECKS is defined during compilation.
24811
24812 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24813
24814         * docs/gst/tmpl/.cvsignore:
24815         * docs/gst/tmpl/gstvalue.sgml:
24816         * gst/gstvalue.c:
24817         * gst/gstvalue.h:
24818           inlied another one and added  some obvious docs
24819
24820 2005-09-21  Wim Taymans  <wim@fluendo.com>
24821
24822         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24823         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24824         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24825         (gst_fdsrc_get_property), (gst_fdsrc_create):
24826         * gst/elements/gstfdsrc.h:
24827         Properly implement fdsrc. Removed signal and timeout,
24828         better implemented somewhere else.
24829
24830 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24831
24832         * docs/gst/tmpl/.cvsignore:
24833         * docs/gst/tmpl/gstimplementsinterface.sgml:
24834         * gst/gstinterface.c:
24835           inlined more docs
24836
24837 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24838
24839         * docs/gst/gstreamer-sections.txt:
24840         * docs/gst/tmpl/.cvsignore:
24841         * docs/gst/tmpl/gstenumtypes.sgml:
24842           remove obsolete doc file
24843
24844 2005-09-21  David Schleef  <ds@schleef.org>
24845
24846         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24847         little beer, fix a little leak.
24848
24849 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24850
24851         * docs/gst/gstreamer-docs.sgml:
24852         * docs/gst/gstreamer-sections.txt:
24853         * docs/gst/tmpl/.cvsignore:
24854         * gst/Makefile.am:
24855         * gst/gst.h:
24856         * gst/gstbin.c:
24857         * gst/gstelement.h:
24858         * gst/gstindex.c: (gst_index_class_init):
24859         * gst/gstindex.h:
24860         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24861         (gst_index_factory_class_init), (gst_index_factory_init),
24862         (gst_index_factory_finalize), (gst_index_factory_new),
24863         (gst_index_factory_destroy), (gst_index_factory_find),
24864         (gst_index_factory_create), (gst_index_factory_make):
24865         * gst/gstindexfactory.h:
24866         * gst/gstpluginfeature.c:
24867         * gst/gstpluginfeature.h:
24868         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24869           more docs inlined, splitted gstindex.{c,h}
24870
24871 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24872
24873         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24874           fix a leak
24875
24876 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24877
24878         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24879           Set sync to FALSE by default.
24880
24881 2005-09-20  Wim Taymans  <wim@fluendo.com>
24882
24883         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24884         (gst_base_sink_init):
24885         Make sync property settable from subclass.
24886
24887         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24888         (gst_fake_sink_change_state):
24889         Set sync to FALSE by default.
24890
24891 2005-09-20  Wim Taymans  <wim@fluendo.com>
24892
24893         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24894         * tools/gst-launch.c: (main):
24895         The timeout handler should have lower priority than the source
24896         so we don't timeout before popping a message with 0 timeout.
24897         Dump error messages after failed state change.
24898
24899 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24900
24901         * tools/gst-inspect.c: (print_element_properties_info):
24902           Fix two typos.
24903
24904 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24905
24906         * check/gst/gstevent.c:
24907         * gst/elements/gstfakesink.c:
24908         * gst/elements/gstfakesink.h:
24909           remove the sync property from fakesink.
24910           has the side effect of setting sync TRUE
24911           for fakesink, which is a change.  Anyone who knows how
24912           to fix this nicely in a GObject-y way, feel free.
24913
24914 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24915
24916         * docs/gst/gstreamer-docs.sgml:
24917           remove probe refsection
24918
24919 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24920
24921         * check/Makefile.am:
24922           disable valgrinding the controller test again
24923         * docs/gst/gstreamer-sections.txt:
24924           update for api-changes
24925
24926 2005-09-20  Wim Taymans  <wim@fluendo.com>
24927
24928         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24929         (gst_base_sink_set_property), (gst_base_sink_get_property),
24930         (gst_base_sink_do_sync):
24931         * gst/base/gstbasesink.h:
24932         Added sync property to basesink to disable clock sync.
24933
24934 2005-09-20  Andy Wingo  <wingo@pobox.com>
24935
24936         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24937         eating the caller's refcount.
24938
24939         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24940         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24941         refcount.
24942
24943         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24944         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24945         of GLib 2.8 public, so we can know which refcount to check in
24946         tests.
24947
24948         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24949         (gst_object_init): Only set the gst refcount if we're going ahead
24950         with the refcount hack.
24951
24952 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24953
24954         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24955         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24956           more leaks plumbed, added more debug-logging
24957         * gst/gstmacros.h:
24958           whitespace fix
24959
24960 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24961
24962         * gst/gstmessage.c:
24963           remove include of gstmemchunk.h
24964
24965 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24966
24967         * gst/gstclock.c: (_gst_clock_id_free):
24968           Commit from the Political Party For More Atomic CVS Commits,
24969           so that people don't waste too much of their day fishing
24970           out obvious leaks out of massive commits.
24971           Oh, and fix a pretty damn obvious leak in the memchunk
24972           removal code.
24973
24974 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24975
24976         * check/Makefile.am:
24977         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24978           plug mem-leak, re-add to valgrindable tests
24979
24980 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24981
24982         * gst/gstplugin.h:
24983           unbreak the build for those who have chronic arthritis
24984           and typing "make check" is just too taxing on the hands
24985
24986 2005-09-20  Andy Wingo  <wingo@pobox.com>
24987
24988         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24989         really want it out, you should fix plugins at the same time.
24990
24991 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24992
24993         * configure.ac:
24994         * docs/gst/gstreamer-sections.txt:
24995         * gst/gstobject.c:
24996           added missing symbols to api docs
24997           disable ref-count hack if we have glib >= 2.8
24998
24999 2005-09-19  David Schleef  <ds@schleef.org>
25000
25001         * docs/gst/Makefile.am: Ignore a few more internal headers
25002         * docs/gst/gstreamer-docs.sgml: Remove old sections
25003         * docs/gst/gstreamer-sections.txt: Remove old sections
25004         * docs/gst/tmpl/gstobject.sgml: update
25005         * docs/gst/tmpl/gstplugin.sgml: update
25006         * docs/gst/tmpl/gstpluginfeature.sgml: update
25007         * docs/random/ds/0.9-suggested-changes: update.
25008         * gst/Makefile.am: remove memchunk and trashstack, since they're
25009           not used.
25010         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25011         * gst/gst.h: don't include some headers
25012         * gst/gstchildproxy.c: add gstmarshal.h
25013         * gst/gstclock.c: Don't use memchunks
25014         * gst/gstminiobject.c: Add some docs
25015         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25016         * gst/gstobject.h: same
25017         * gst/gstplugin.c: include gstmacros.h
25018         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25019         * gst/gstquery.c: don't use memchunks
25020         * gst/gstregistry.c: rename gst_registry_deinit()
25021         * gst/gstregistry.h: same
25022
25023 2005-09-19  David Schleef  <ds@schleef.org>
25024
25025         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25026         * docs/libs/gstreamer-libs-sections.txt:
25027         * docs/libs/tmpl/gstgetbits.sgml:
25028         * docs/libs/tmpl/gstputbits.sgml:
25029
25030 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25031
25032         * win32/gstenumtypes.c:
25033         * win32/gstenumtypes.h:
25034           Update.
25035
25036 2005-09-19  Wim Taymans  <wim@fluendo.com>
25037
25038         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25039         Automatically PAUSE and RESUME a pipeline when a flushing seek
25040         is performed.
25041
25042 2005-09-19  Andy Wingo  <wingo@pobox.com>
25043
25044         * gst/gstregistry.h: Spacing fixen.
25045
25046 2005-09-19  Wim Taymans  <wim@fluendo.com>
25047
25048         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25049         Handle state change failure more correctly.
25050
25051 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25052
25053         * check/Makefile.am:
25054         * check/pipelines/cleanup.c: (run_pipeline):
25055         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25056         (GST_START_TEST):
25057           enable cleanup again after fixing the leak
25058         * docs/README:
25059           some more info on docs
25060
25061 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25062
25063         * check/Makefile.am:
25064           re-enable tests now that leaks are plugged
25065         * check/gst/gst.c:
25066         * check/gst/gstbin.c:
25067         * check/gst/gstpipeline.c:
25068           add some more tests while fixing leaks
25069         * common/check.mak:
25070           make sure binaries are uptodate when valgrinding/gdbing
25071         * gst/gst.c:
25072         * gst/gstelementfactory.c:
25073           remove a ref too many, and add a FIXME for when we get
25074           round to disposing of classes
25075         * gst/gstplugin.c:
25076           fix the refcounting when loading a plugin from a file and
25077           the code pretends that the pointer is the same even though
25078           of course it can change
25079         * gst/gstpluginfeature.c:
25080           unref plugins marked cached (a bit confusing as a name)
25081           as the docs state should be done
25082           various doc additions to explain refcounting
25083         * gst/gstregistry.c:
25084         * gst/gstregistryxml.c:
25085           debugging
25086
25087 2005-09-19  Wim Taymans  <wim@fluendo.com>
25088
25089         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25090         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25091         (send_messages), (GST_START_TEST), (gstbus_suite):
25092         * check/gst/gstpipeline.c: (GST_START_TEST):
25093         * check/pipelines/cleanup.c: (run_pipeline):
25094         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25095         (GST_START_TEST):
25096         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25097         (gst_bus_source_check), (gst_bus_source_dispatch),
25098         (gst_bus_create_watch), (gst_bus_add_watch_full),
25099         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25100         * gst/gstbus.h:
25101         * tools/gst-launch.c: (event_loop):
25102         * tools/gst-md5sum.c: (event_loop):
25103         GstBusHandler -> GstBusFunc, return value has the same meaning as
25104         any other GSource (FALSE == remove source).
25105         _add_watch() and _add_watch_full() now take a MessageType mask to
25106         only handle specific types of messages.
25107         _poll() returns the GstMessage instead of the message type to avoid
25108         race conditions.
25109         _have_pending() takes a MessageType mask now too.
25110         Added testsuite for multiple bus watches.
25111         Fix testsuites and applications for new bus API.
25112
25113 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25114
25115         * check/Makefile.am:
25116           mark a bunch of the tests as to fix until we fix them
25117
25118 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25119
25120         * common/check.mak:
25121           use GST_PLUGIN settings for valgrind tests as well, so we're
25122           valgrinding the correct thing
25123         * gst/gst.c: (init_post):
25124           plug another leak
25125
25126 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25127
25128         * gst/gst.c: (init_post), (gst_deinit):
25129         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25130         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25131         * gst/gstindex.c: (gst_index_factory_class_init),
25132         (gst_index_factory_finalize):
25133         * gst/gstobject.c: (gst_object_dispose):
25134         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25135         (gst_plugin_load_file), (gst_plugin_desc_free):
25136         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25137         (gst_plugin_feature_finalize):
25138         * gst/gstregistry.c: (gst_registry_class_init),
25139         (gst_registry_init), (gst_registry_finalize),
25140         (gst_registry_get_default), (gst_registry_deinit):
25141         * gst/gstregistry.h:
25142         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25143           various cleanups and memleak plugging.  make valgrind is happy now.
25144
25145 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25146
25147         * common/check.mak:
25148           add a check-valgrind target
25149
25150 2005-09-18  David Schleef  <ds@schleef.org>
25151
25152         * tools/gst-inspect.c: Revert the GOption code.
25153
25154 2005-09-17  David Schleef  <ds@schleef.org>
25155
25156         * check/Makefile.am: Fix environment variables.
25157         * check/gst/gstplugin.c: Fix for API changes.
25158         * tools/gst-inspect.c: Fix for API changes.
25159         * tools/gst-xmlinspect.c: Fix for API changes.
25160         * gst/gstelementfactory.c:
25161         * gst/gstplugin.c:
25162         * gst/gstplugin.h:
25163         * gst/gstpluginfeature.c:
25164         * gst/gstpluginfeature.h:
25165         * gst/gstregistry.c:
25166         * gst/gstregistry.h:
25167         * gst/gstregistryxml.c:
25168         * gst/gsttypefind.c:
25169         * gst/gsttypefindfactory.c:
25170         * gst/indexers/gstfileindex.c:
25171         * gst/indexers/gstmemindex.c:
25172         * gst/schedulers/Makefile.am:
25173           Change registry to keep track of both plugins and features,
25174           removing the feature tracking from plugins themselves.
25175
25176 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25177
25178         * check/Makefile.am:
25179         * tools/gst-register.1.in:
25180           remove gst-register
25181
25182 2005-09-15  David Schleef  <ds@schleef.org>
25183
25184         * check/gst/gstplugin.c:
25185         * gst/gstelementfactory.c:
25186         * gst/gstplugin.c:
25187         * gst/gstpluginfeature.c:
25188         * gst/gstregistry.c:
25189           Getting tired of debugging.  Disabled all the unreffing of
25190           plugins and features, which fixes the segfaults, but of
25191           course leaks like crazy.  At least playbin works.
25192
25193 2005-09-15  David Schleef  <ds@schleef.org>
25194
25195         * check/gst/gstplugin.c: (register_check_elements),
25196         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25197         More testing
25198         * gst/elements/gsttypefindelement.c: Fix refcounting.
25199         * gst/gsttypefind.c:
25200         * gst/gsttypefindfactory.c:
25201         * gst/gsttypefindfactory.h:
25202
25203 2005-09-15  David Schleef  <ds@schleef.org>
25204
25205         * gst/gstindex.c: get refcounting correct.
25206         * gst/gstregistry.c: Handle the case where a feature/plugin is
25207           not found.
25208
25209 2005-09-15  David Schleef  <ds@schleef.org>
25210
25211         * check/Makefile.am:
25212         * check/gst/gstplugin.c: Add test
25213         * gst/gstplugin.c: Fix problems noticed by testsuite
25214         * gst/gstplugin.h:
25215         * gst/gstregistry.c: 
25216         * gst/gstregistry.h:
25217
25218 2005-09-15  David Schleef  <ds@schleef.org>
25219
25220         * gst/gstplugin.c: Implement semi-decent recounting and locking
25221           in plugins and plugin features.
25222         * gst/gstplugin.h:
25223         * gst/gstpluginfeature.c:
25224         * gst/gstpluginfeature.h:
25225         * gst/gstregistry.c:
25226
25227 2005-09-15  Michael Smith <msmith@fluendo.com>
25228
25229         * gst/gstregistry.c: (gst_registry_get_feature_list):
25230           Implement this. Makes oggdemux work; decodebin still broken.
25231
25232 2005-09-14  David Schleef  <ds@schleef.org>
25233
25234         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25235           #316076)
25236         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25237         * gst/check/Makefile.am:
25238         * libs/gst/controller/Makefile.am:
25239         * libs/gst/dataprotocol/Makefile.am:
25240
25241 2005-09-14  David Schleef  <ds@schleef.org>
25242
25243         * configure.ac: Remove getbits library.  Nothing uses it, and
25244           it should be in something like liboil if someone did want
25245           to use it.
25246         * libs/gst/Makefile.am:
25247         * libs/gst/getbits/Makefile.am:
25248         * libs/gst/getbits/gbtest.c:
25249         * libs/gst/getbits/getbits.c:
25250         * libs/gst/getbits/getbits.h:
25251         * libs/gst/getbits/gstgetbits_generic.c:
25252         * libs/gst/getbits/gstgetbits_i386.s:
25253         * libs/gst/getbits/gstgetbits_inl.h:
25254
25255 2005-09-14  David Schleef  <ds@schleef.org>
25256
25257         * gst/Makefile.am: Dist glib-compat.h
25258
25259 2005-09-14  David Schleef  <ds@schleef.org>
25260
25261         * configure.ac: Remove gst/registries, since it's no longer used.
25262         * gst/registries/Makefile.am:
25263         * gst/registries/gstlibxmlregistry.c:
25264         * gst/registries/gstlibxmlregistry.h:
25265         * gst/registries/gstxmlregistry.c:
25266         * gst/registries/gstxmlregistry.h:
25267         * gst/registries/registrytest.c:
25268
25269 2005-09-14  David Schleef  <ds@schleef.org>
25270
25271         * gst/glib-compat.h:
25272         * gst/gstregistryxml.c:
25273           Convergence is near.  Seriously.
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:
25279           Attempt #4 to appease the buildbots.
25280
25281 2005-09-14  David Schleef  <ds@schleef.org>
25282
25283         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25284           Attempt #3.
25285
25286 2005-09-14  David Schleef  <ds@schleef.org>
25287
25288         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25289         Attempt #2.
25290
25291 2005-09-14  David Schleef  <ds@schleef.org>
25292
25293         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25294           the new functions.
25295
25296 2005-09-14  David Schleef  <ds@schleef.org>
25297
25298         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25299         * gst/glib-compat.h: Add some functions that are in newer versions
25300           of glib than we care to require.
25301         * gst/gstregistryxml.c: Use them.
25302
25303 2005-09-14  David Schleef  <ds@schleef.org>
25304
25305         * po/POTFILES.in: remove gst-register.c
25306
25307 2005-09-14  David Schleef  <ds@schleef.org>
25308
25309         * docs/gst/gstreamer-docs.sgml:
25310         * docs/gst/gstreamer-sections.txt:
25311         * docs/gst/gstreamer.types:
25312         * docs/gst/tmpl/gstelement.sgml:
25313         * docs/gst/tmpl/gstplugin.sgml:
25314         * docs/gst/tmpl/gstpluginfeature.sgml:
25315           Documentation updates for registry changes.
25316
25317 2005-09-14  David Schleef  <ds@schleef.org>
25318
25319         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25320           because we don't require glib-2.8.
25321
25322 2005-09-14  David Schleef  <ds@schleef.org>
25323
25324         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25325           registries directory.
25326
25327 2005-09-14  David Schleef  <ds@schleef.org>
25328
25329         * check/Makefile.am:
25330         * check/generic/states.c:
25331         * gst/Makefile.am:
25332         * gst/gst.c:
25333         * gst/gst.h:
25334         * gst/gst_private.h:
25335         * gst/gstelementfactory.c:
25336         * gst/gstindex.c:
25337         * gst/gstinfo.c:
25338         * gst/gstplugin.c:
25339         * gst/gstplugin.h:
25340         * gst/gstpluginfeature.c:
25341         * gst/gstpluginfeature.h:
25342         * gst/gstregistry.c:
25343         * gst/gstregistry.h:
25344         * gst/gstregistrypool.c: remove
25345         * gst/gstregistrypool.h: remove
25346         * gst/gsttypefind.c:
25347         * gst/gsttypefindfactory.c:
25348         * gst/gsturi.c:
25349         * tools/Makefile.am:
25350         * tools/gst-compprep.c:
25351         * tools/gst-inspect.c:
25352         * tools/gst-register.c: remove
25353         * tools/gst-xmlinspect.c:
25354           Registry rewrite.  Changes registry from being a file created
25355           by a tool into a simple cache file created automatically by 
25356           libgstreamer.  Removed gst-register (because it's no longer
25357           needed).  Remove registry pools, because we only have one
25358           registry implementation (XML).  Fix up other subsystems as
25359           necessary.
25360
25361 2005-09-13  Michael Smith <msmith@fluendo.com>
25362
25363         * gst/gstconfig.h.in:
25364           Don't Use windows linking attributes for MinGW. Fixes #316157
25365
25366 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25367
25368         * gst/gstutils.c: (set_state_async_thread_func),
25369         (gst_element_set_state_async):
25370           Apparently people think it's better if this function doesn't
25371           try to set the state to whatever state was asked for on the first
25372           call to this function for any object.  Seriously.
25373
25374 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25375
25376         * check/gst/gstpipeline.c: (GST_START_TEST):
25377         * docs/gst/gstreamer-sections.txt:
25378         * gst/gstutils.c: (set_state_async_thread_func),
25379         (gst_element_set_state_async):
25380         * gst/gstutils.h:
25381           add a "gst_element_set_state_async" method that
25382           sets the state and starts a thread to make sure the state
25383           change completes as best as it can
25384
25385 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25386
25387         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25388           codify design+behaviour in testsuite after discussion
25389
25390 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25391
25392         * docs/gst/tmpl/gstelement.sgml:
25393         * docs/manual/appendix-quotes.xml:
25394           add a quote
25395         * gst/gstelement.c: (gst_element_set_state):
25396           add some debug
25397
25398 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25399
25400         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25401         (gst_base_transform_prepare_output_buf),
25402         (gst_base_transform_handle_buffer):
25403         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25404         (gst_capsfilter_prepare_buf):
25405           Remove the requirement for sub-classes to call the parent
25406           implementation of prepare_output_buffer with a wrapper function.
25407           
25408         * gst/gsttaglist.h:
25409         * gst/gsttagsetter.h:
25410           Fix #define wrapper
25411
25412 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25413
25414         * docs/gst/gstreamer-sections.txt:
25415           more doc cleanups
25416
25417 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25418
25419         * docs/gst/gstreamer-sections.txt:
25420         * docs/gst/tmpl/gstelement.sgml:
25421         * docs/gst/tmpl/gstplugin.sgml:
25422         * gst/gstminiobject.c:
25423         * gst/gstvalue.h:
25424           docs now stop throwing warnings
25425
25426 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25427
25428         * docs/gst/gstreamer-sections.txt:
25429         * docs/gst/gstreamer.types:
25430         * docs/gst/tmpl/gstpad.sgml:
25431         * docs/gst/tmpl/gsttypes.sgml:
25432         * gst/base/gstadapter.h:
25433         * gst/base/gstbasesink.h:
25434         * gst/base/gstbasesrc.h:
25435         * gst/gstbin.h:
25436         * gst/gstbuffer.h:
25437         * gst/gstbus.h:
25438         * gst/gstcaps.h:
25439         * gst/gstclock.h:
25440         * gst/gstelement.h:
25441         * gst/gstevent.h:
25442         * gst/gstmessage.h:
25443         * gst/gstpad.h:
25444         * gst/gststructure.c:
25445         * gst/registries/gstlibxmlregistry.h:
25446           various documentation fixes
25447
25448 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25449
25450         * docs/gst/gstreamer-sections.txt:
25451         * docs/gst/tmpl/gstvalue.sgml:
25452           rearrange gstvalue section
25453         * gst/gstutils.c: (gst_element_state_get_name):
25454           NONE -> VOID
25455         * gst/gstvalue.c: (_gst_value_initialize):
25456         * gst/gstvalue.h:
25457           doc updates
25458
25459 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25460
25461         * check/gst-libs/controller.c:
25462           Header include fix.
25463         * gst/base/gstbasetransform.c:
25464         (gst_base_transform_default_prepare_buf),
25465         (gst_base_transform_handle_buffer):
25466         * gst/base/gstbasetransform.h:
25467           Some more basetransform changes and fixes to enable sub-classes
25468           that modify buffer metadata only.
25469         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25470         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25471         (gst_capsfilter_prepare_buf):
25472           If the output pad has fixed allowed caps and input buffers 
25473           don't have any, set the fixed caps on outgoing buffers.
25474
25475 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25476         * check/elements/identity.c: (GST_START_TEST):
25477           Make the error a little clearer when the test fails because
25478           identity made a copy of the buffer.
25479         * docs/gst/gstreamer-sections.txt:
25480           New symbols in gstbasetransform.h
25481         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25482         (gst_base_transform_init), (gst_base_transform_transform_size),
25483         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25484         (gst_base_transform_default_prepare_buf),
25485         (gst_base_transform_get_unit_size),
25486         (gst_base_transform_buffer_alloc),
25487         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25488         (gst_base_transform_change_state),
25489         (gst_base_transform_set_passthrough),
25490         (gst_base_transform_set_in_place),
25491         (gst_base_transform_is_in_place):
25492         * gst/base/gstbasetransform.h:
25493           Change BaseTransform to separate in_place operate from same_caps
25494           output. in_place implies that the element can perform the transform
25495           on incoming buffers in-place, even if the caps on the output are
25496           different.
25497           Sub-class elements can now implement special buffer allocation
25498           methods for outgoing buffers if they wish to.
25499           Big documentation addition.
25500         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25501         * gst/elements/gstelements.c:
25502           Changes for basetransform modifications.
25503         * gst/elements/Makefile.am:
25504         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25505           Compile fix. Extra debug output.
25506
25507 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25508
25509         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25510         (gst_pad_suite):
25511           add tests for valid pad naming
25512         * gst/check/gstcheck.c: (gst_check_log_message_func),
25513         (gst_check_log_critical_func):
25514           add ASSERT_WARNING
25515           remove printing of code, it is fragile when the code contains
25516           % and the line number is enough info
25517         * gst/check/gstcheck.h:
25518         * gst/gstpad.c: (gst_pad_template_new):
25519           fix memleaks
25520
25521 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25522
25523         * configure.ac:
25524           say what CHECK flags we use
25525         * docs/libs/gstreamer-libs.types:
25526         * libs/gst/controller/Makefile.am:
25527         * libs/gst/controller/gst-controller.c:
25528         * libs/gst/controller/gst-controller.h:
25529         * libs/gst/controller/gst-helper.c:
25530         * libs/gst/controller/gst-interpolation.c:
25531         * libs/gst/controller/gstcontroller.c:
25532         * libs/gst/controller/gsthelper.c:
25533         * libs/gst/controller/gstinterpolation.c:
25534         * tools/gst-inspect.c: (print_plugin_info):
25535           we don't use dashes in header names
25536
25537 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25538
25539         * check/Makefile.am:
25540         * check/gst/.cvsignore:
25541         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25542         (gst_pipeline_suite), (main):
25543           adding a test for pipelines and state changes
25544         * gst/gstutils.c: (get_state_func):
25545           add some debugging
25546         * gstreamer.spec.in:
25547           fix up spec file
25548
25549 2005-09-08  Michael Smith <msmith@fluendo.com>
25550
25551         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25552         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25553         (gst_file_src_is_seekable), (gst_file_src_get_size),
25554         (gst_file_src_start):
25555         * gst/elements/gstfilesrc.h:
25556           Various fixes for unseekable, unmmapable, and non-normal files, so
25557           that fallback to read() rather than mmap() works.
25558         * gst/gstevent.c: (gst_event_new_newsegment):
25559           Allow newsegment events with segment_start == segment_end, as will
25560           correctly happen if you use filesrc on a zero-size file, for
25561           example.
25562
25563 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25564
25565         * gst/gstplugin.c: (gst_plugin_load_file):
25566           Call g_module_close when we don't load the module
25567
25568         * gst/registries/gstlibxmlregistry.c:
25569         (gst_xml_registry_get_property):
25570           Port leak fix from 0.8
25571
25572 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25573
25574         * docs/gst/gstreamer-docs.sgml:
25575         * docs/gst/tmpl/.cvsignore:
25576         * docs/gst/tmpl/gsttrace.sgml:
25577         * docs/gst/tmpl/gsttrashstack.sgml:
25578         * gst/Makefile.am:
25579         * gst/gst.h:
25580         * gst/gstelement.h:
25581         * gst/gstevent.h:
25582         * gst/gstmessage.c:
25583         * gst/gstmessage.h:
25584         * gst/gsttag.c:
25585         * gst/gsttag.h:
25586         * gst/gsttaginterface.c:
25587         * gst/gsttaginterface.h:
25588         * gst/gsttaglist.c:
25589         * gst/gsttaglist.h:
25590         * gst/gsttagsetter.c:
25591         * gst/gsttagsetter.h:
25592         * gst/gsttrace.c:
25593         * gst/gsttrace.h:
25594         * gst/gsttrashstack.c:
25595           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25596           inlined docs for gsttrace, gsttrashstack
25597
25598 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25599
25600         * gst/Makefile.am:
25601         * gst/elements/gstbufferstore.h:
25602         * gst/elements/gsttypefindelement.c:
25603         * gst/elements/gsttypefindelement.h:
25604         * gst/gst.h:
25605         * gst/gsttypefind.c:
25606         * gst/gsttypefind.h:
25607         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25608         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25609         (gst_type_find_factory_dispose),
25610         (gst_type_find_factory_unload_thyself),
25611         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25612         (gst_type_find_factory_get_caps),
25613         (gst_type_find_factory_get_extensions),
25614         (gst_type_find_factory_call_function):
25615         * gst/gsttypefindfactory.h:
25616         * gst/registries/gstlibxmlregistry.c:
25617         * gst/registries/gstxmlregistry.c:
25618           splitted gsttypefind into gsttypefind, gsttypefindfactory
25619
25620 2005-09-07  Andy Wingo  <wingo@pobox.com>
25621
25622         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25623         condition whereby the pad's task function is entered before the
25624         pad_mode variable was set.
25625
25626 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25627
25628         * gst/gstpad.c: (gst_pad_alloc_buffer):
25629           Catch misbehaving pad_alloc functions that don't
25630           set up caps and do it for them.
25631
25632 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25633
25634         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25635           test for pipe!=NULL
25636         * docs/gst/tmpl/.cvsignore:
25637         * docs/gst/tmpl/gstmemchunk.sgml:
25638         * docs/gst/tmpl/gstparse.sgml:
25639         * docs/gst/tmpl/gsttaglist.sgml:
25640         * docs/gst/tmpl/gsttagsetter.sgml:
25641         * docs/gst/tmpl/gsttypefind.sgml:
25642         * docs/gst/tmpl/gsttypefindfactory.sgml:
25643         * gst/gstmemchunk.c:
25644         * gst/gstparse.c:
25645         * gst/gsttag.c:
25646         * gst/gsttaginterface.c:
25647         * gst/gsttypefind.c:
25648         * gst/gsttypefind.h:
25649           inlined more docs
25650
25651 === release 0.9.2 ===
25652
25653 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25654
25655         * NEWS:
25656         * RELEASE:
25657         * configure.ac:
25658           releasing 0.9.2, "South"
25659
25660 2005-09-05  Andy Wingo  <wingo@pobox.com>
25661
25662         * gst/registries/gstxmlregistry.h:
25663         * gst/registries/gstxmlregistry.c: Um... resurrect...
25664         
25665         * gst/registries/gstxmlregistry.h:
25666         * gst/registries/gstxmlregistry.c: and update to newer API.
25667         Incidentally they should be a bit faster now that they don't have
25668         to parse the caps.
25669         
25670 2005-09-05  Andy Wingo  <wingo@pobox.com>
25671
25672         * gst/registries/gstxmlregistry.h:
25673         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25674         replaced by the libxml registry a while back
25675
25676 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25677
25678         * docs/gst/tmpl/gstplugin.sgml:
25679         * gst/elements/gstelements.c:
25680         * gst/gst.c:
25681         * gst/gstplugin.c: (gst_plugin_register_func),
25682         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25683         (gst_plugin_get_source):
25684         * gst/gstplugin.h:
25685         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25686         (gst_xml_registry_save_plugin):
25687         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25688         (gst_xml_registry_save_plugin):
25689         * tools/gst-inspect.c: (print_plugin_info):
25690           add a "source" plugin description field, to represent the source
25691           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25692           will set it to PACKAGE, which is automake's idea of the name of
25693           the source project.
25694
25695 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25696
25697         * Makefile.am:
25698         * autogen.sh:
25699         * configure.ac:
25700         * docs/Makefile.am:
25701         * docs/faq/Makefile.am:
25702         * docs/gst/tmpl/gstelement.sgml:
25703         * docs/gst/tmpl/gsttypes.sgml:
25704         * docs/htmlinstall.mak:
25705         * docs/manual/Makefile.am:
25706         * docs/pwg/Makefile.am:
25707           reorganize doc build a little
25708           split out docbook and gtk-doc stuff
25709           have two separate --enable's and enable them through autogen
25710           but disable by default in configure (to be similar to other
25711           projects)
25712         * gstreamer.spec.in:
25713           clean up docs install
25714         * po/af.po:
25715         * po/az.po:
25716         * po/ca.po:
25717         * po/cs.po:
25718         * po/de.po:
25719         * po/en_GB.po:
25720         * po/fr.po:
25721         * po/it.po:
25722         * po/nb.po:
25723         * po/nl.po:
25724         * po/ru.po:
25725         * po/sq.po:
25726         * po/sr.po:
25727         * po/sv.po:
25728         * po/tr.po:
25729         * po/uk.po:
25730         * po/vi.po:
25731           translation updates
25732
25733 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25734
25735         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25736           Add comment.
25737           
25738         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25739         (gst_fake_sink_change_state):
25740           Make state change function thread-safe.
25741           
25742         * gst/gstpad.c: (gst_pad_alloc_buffer):
25743           Set offset on generic buffer allocated by fallback.
25744
25745 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25746
25747         * docs/gst/gstreamer-sections.txt:
25748         * docs/gst/tmpl/gstelement.sgml:
25749         * gst/gstpad.c:
25750         * libs/gst/controller/gst-controller.c:
25751         (gst_controlled_property_set_interpolation_mode),
25752         (gst_controlled_property_new),
25753         (gst_controller_find_controlled_property):
25754          run the wingo-magic script against the docs
25755
25756 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25757
25758         * docs/gst/gstreamer-docs.sgml:
25759         * docs/gst/gstreamer-sections.txt:
25760         * docs/gst/tmpl/.cvsignore:
25761         * docs/gst/tmpl/gstelementdetails.sgml:
25762         * docs/gst/tmpl/gstelementfactory.sgml:
25763         * gst/gst.c:
25764         * gst/gstbus.c:
25765         * gst/gstelementfactory.c:
25766         * gst/gstelementfactory.h:
25767           merged elementdetails docs into elementfactory docs
25768           inlined both
25769
25770 2005-09-02  Andy Wingo  <wingo@pobox.com>
25771
25772         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25773         consider this enum an enum and not a flags.
25774
25775 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25776
25777         * docs/gst/gstreamer-docs.sgml:
25778         * docs/gst/tmpl/.cvsignore:
25779         * docs/gst/tmpl/gstghostpad.sgml:
25780         * docs/gst/tmpl/gstiterator.sgml:
25781         * docs/gst/tmpl/gstmacros.sgml:
25782         * docs/gst/tmpl/gstrealpad.sgml:
25783         * docs/gst/tmpl/gstregistry.sgml:
25784         * docs/gst/tmpl/gstregistrypool.sgml:
25785         * docs/gst/tmpl/gststructure.sgml:
25786         * docs/gst/tmpl/gstsystemclock.sgml:
25787         * docs/gst/tmpl/gsttrace.sgml:
25788         * gst/gstghostpad.c:
25789         * gst/gstmacros.h:
25790         * gst/gstmemchunk.c:
25791         * gst/gstmemchunk.h:
25792         * gst/gstqueue.c:
25793         * gst/gstregistry.c:
25794         * gst/gstregistrypool.c:
25795         * gst/gststructure.c:
25796         * gst/gstsystemclock.c:
25797           more docs inlined
25798
25799 2005-09-02  Andy Wingo  <wingo@pobox.com>
25800
25801         * gst/gstelement.h (GstState): Renamed from GstElementState,
25802         changed to be a normal enum instead of flags.
25803         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25804         munged to be GST_STATE_CHANGE_*.
25805         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25806         work with the new state representation.
25807         (GstStateChange): New enumeration of possible state transitions.
25808         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25809         (GstElementClass::change_state): Pass the GstStateChange along as
25810         an argument. Helps language bindings, so they don't have to use
25811         tricky lock-needing macros like GST_STATE_CHANGE ().
25812
25813         * scripts/update-states (file): New script. Run it on a file to
25814         update it for state naming and API changes. Updates files in
25815         place.
25816
25817         * All files updated for the new API.
25818
25819 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25820
25821         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25822         * gst/gstutils.c: (gst_util_set_value_from_string),
25823         (gst_util_set_object_arg):
25824           fix a bunch of unchecked return values
25825         * tools/gst-complete.c: (main):
25826         * gstreamer.spec.in:
25827           clean up a little
25828
25829 2005-09-01  Wim Taymans  <wim@fluendo.com>
25830
25831         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25832         (gst_base_sink_event), (gst_base_sink_do_sync),
25833         (gst_base_sink_handle_event):
25834         * gst/base/gstbasesink.h:
25835         Handle newsegments more correctly.
25836
25837         * gst/gstbus.c:
25838         Fix docs.
25839
25840         * gst/gstevent.c: (gst_event_new_newsegment):
25841         A newsegment cannot have a start_time of -1
25842
25843 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25844
25845         * win32/gstenumtypes.c:
25846         * win32/gstenumtypes.h:
25847           Update
25848
25849 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25850
25851         * libs/gst/controller/gst-controller.c:
25852         (gst_controlled_property_set_interpolation_mode),
25853         (gst_controlled_property_new):
25854          fixed boolean again
25855
25856 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25857
25858         * docs/faq/gst-uninstalled:
25859           add -good
25860         * gst/gstevent.c:
25861         * gst/gstevent.h:
25862           remove wrong docs
25863         * gst/gstutils.c: (gst_element_link_filtered):
25864         * gst/gstutils.h:
25865           add gst_element_link_filtered
25866
25867 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25868
25869         * docs/gst/gstreamer-docs.sgml:
25870         * docs/gst/gstreamer-sections.txt:
25871         * docs/gst/tmpl/.cvsignore:
25872         * docs/gst/tmpl/gsterror.sgml:
25873         * docs/gst/tmpl/gstfilter.sgml:
25874         * docs/gst/tmpl/gsturihandler.sgml:
25875         * docs/gst/tmpl/gsturitype.sgml:
25876         * docs/gst/tmpl/gstutils.sgml:
25877         * docs/gst/tmpl/gstxml.sgml:
25878         * gst/gsterror.c:
25879         * gst/gsterror.h:
25880         * gst/gstfilter.c:
25881         * gst/gsturi.c:
25882         * gst/gsturitype.c:
25883         * gst/gstutils.c:
25884         * gst/gstxml.c:
25885           inlined more docs, fixed double id-ref
25886
25887 2005-08-31  Wim Taymans  <wim@fluendo.com>
25888
25889         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25890         (gst_base_transform_handle_buffer):
25891         Passthrough elements don't need the caps as they don't care.
25892
25893 2005-08-31  Wim Taymans  <wim@fluendo.com>
25894
25895         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25896         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25897         Don't leak refcounts on buffers.
25898
25899 2005-08-31  Wim Taymans  <wim@fluendo.com>
25900
25901         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25902         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25903         (gst_base_transform_chain), (gst_base_transform_change_state):
25904         * gst/base/gstbasetransform.h:
25905         Handle the case where we are not negotiated more gracefully.
25906
25907 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25908
25909         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25910         (gst_file_src_map_region):
25911           Set READONLY flag on mmap'ed buffers, otherwise
25912           gst_buffer_make_writable() won't work properly (#314708).
25913
25914 2005-08-31  Wim Taymans  <wim@fluendo.com>
25915
25916         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25917         passthrough elements can even do inplace on non writable
25918         buffers (as they don't touch them).
25919
25920 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25921
25922         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25923         (gst_test_mono_source_set_property),
25924         (gst_test_mono_source_class_init), (GST_START_TEST),
25925         (gst_controller_suite):
25926           more tests (hehe I have the most)
25927         * gst/gstbus.c:
25928           describe popping messages whenusing mulltiple sources
25929         * libs/gst/controller/gst-controller.c:
25930         (gst_controlled_property_set_interpolation_mode),
25931         (gst_controlled_property_new):
25932         * libs/gst/controller/gst-controller.h:
25933         * libs/gst/controller/gst-interpolation.c:
25934           implement boolean properties
25935
25936 2005-08-31  Wim Taymans  <wim@fluendo.com>
25937
25938         * gst/gstminiobject.c: (gst_mini_object_ref):
25939         Cannot assert that the refcount has to be positive
25940         since a disposed object can be resurrected.
25941
25942 2005-08-31  Wim Taymans  <wim@fluendo.com>
25943
25944         * gst/gstpad.c: (gst_pad_init):
25945         Revert change, need to first fix badly behaving 
25946         apps.
25947
25948 2005-08-30  Wim Taymans  <wim@fluendo.com>
25949
25950         * check/elements/fakesrc.c: (setup_fakesrc):
25951         * check/elements/identity.c: (setup_identity):
25952         Activate pads before using them.
25953
25954 2005-08-30  Wim Taymans  <wim@fluendo.com>
25955
25956         * gst/base/gstadapter.c: (gst_adapter_flush):
25957         Flushing out 0 bytes is ok for this function.
25958
25959         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25960         no newsegment gives a warning and sets the start/stop to 
25961         invalid.
25962
25963         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25964         (gst_base_transform_set_passthrough):
25965         Some debug info.
25966
25967         * gst/gstminiobject.c: (gst_mini_object_ref):
25968         Check refcount here too.
25969
25970         * gst/gstpad.c: (gst_pad_init):
25971         Pads are initially flushing and refusing data.
25972
25973         * gst/gstutils.c: (gst_element_link_pads_filtered):
25974         When adding a capsfilter element make sure it has the
25975         same state as the parent bin.
25976
25977 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25978
25979         * docs/gst/tmpl/.cvsignore:
25980         * docs/gst/tmpl/gstformat.sgml:
25981         * docs/gst/tmpl/gstversion.sgml:
25982         * gst/gstbus.h:
25983         * gst/gstformat.c:
25984         * gst/gstformat.h:
25985         * gst/gstversion.h.in:
25986           more docs and two more inlined
25987
25988 2005-08-30  Wim Taymans  <wim@fluendo.com>
25989
25990         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25991         Don't sync to clock.
25992
25993 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25994
25995         * docs/gst/gstreamer-sections.txt:
25996           ultral33t func10ns deserve to appear in the docs actually
25997         * docs/gst/tmpl/.cvsignore:
25998         * docs/gst/tmpl/gstcompat.sgml:
25999         * docs/gst/tmpl/gstconfig.sgml:
26000         * gst/check/gstcheck.c:
26001         * gst/gstcompat.h:
26002         * gst/gstconfig.h.in:
26003           inlined more docs
26004
26005 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26006
26007         * docs/gst/tmpl/.cvsignore:
26008         * docs/gst/tmpl/gstquery.sgml:
26009         * docs/gst/tmpl/gstutils.sgml:
26010         * gst/gstquery.c:
26011         * gst/gstquery.h:
26012           inlined and extended docs
26013
26014 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26015
26016         * check/gst-libs/controller.c: (GST_START_TEST),
26017         (gst_controller_suite):
26018           more tests
26019         * docs/gst/tmpl/gstutils.sgml:
26020         * docs/libs/gstreamer-libs-sections.txt:
26021         * docs/libs/tmpl/gstdataprotocol.sgml:
26022           include path fixes
26023         * examples/controller/audio-example.c: (main):
26024           controller example works now
26025         * gst/gstclock.h:
26026           doc fixes
26027         * tools/gst-inspect.c: (print_element_properties_info):
26028           show param spec flags
26029
26030 2005-08-29  Andy Wingo  <wingo@pobox.com>
26031
26032         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26033
26034 2005-08-28  Andy Wingo  <wingo@pobox.com>
26035
26036         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26037         as having two arguments instead of just one. Allows superclasses
26038         to access information on subclasses -- see the terrible for() loop
26039         in gtype.c:g_type_create_instance for the reason why. All callers
26040         changed.
26041
26042 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26043
26044         * docs/design/part-messages.txt:
26045           update info
26046         * docs/gst/tmpl/.cvsignore:
26047         * docs/gst/tmpl/gstcaps.sgml:
26048         * docs/gst/tmpl/gstclock.sgml:
26049         * gst/gstbus.c:
26050         * gst/gstcaps.c:
26051         * gst/gstcaps.h:
26052         * gst/gstclock.c:
26053         * gst/gstclock.h:
26054         * gst/gstmessage.c:
26055           added descriptions for bus and message
26056           inline caps and clock docs
26057
26058 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26059
26060         * gst/gstmessage.c:
26061         * gst/gstmessage.h:
26062           doc fixes
26063
26064 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26065
26066         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26067           fix div-by-zero
26068
26069 2005-08-26  Andy Wingo  <wingo@pobox.com>
26070
26071         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26072         element_set_state's return val.
26073         (test_2_elements): Add test that's been disabled for months.
26074
26075         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26076         can-activate-pull properties.
26077
26078         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26079         can-activate-pull properties. Implement is_seekable so fakesrc can
26080         operate in pull mode.
26081
26082         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26083         properties.
26084         (gst_base_sink_activate, gst_base_sink_activate_pull)
26085         (gst_base_sink_activate_push): Make activation mode choosing work.
26086         Cleanups.
26087         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26088         is right. Make pull mode work. Post an eos before pausing in pull
26089         mode.
26090         (gst_base_sink_change_state): Pay attention to the core's
26091         change_state() return val.
26092         
26093         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26094         has-getrange properties. Cleanups.
26095         
26096         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26097         has_getrange and replace with can_activate_pull and
26098         can_activate_push.
26099
26100         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26101         locking comments. Remove has_loop, has_chain and replace with
26102         can_activate_pull and can_activate_push.
26103
26104 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26105
26106         * configure.ac:
26107         * examples/Makefile.am:
26108         * examples/metadata/Makefile.am:
26109         * examples/metadata/read-metadata.c: (message_loop),
26110         (have_pad_handler), (make_pipeline), (print_tag), (main):
26111           Add metadata reading example that loops over a list of filenames,
26112           dumping any tags found.
26113
26114         * gst/gstbus.c: (gst_bus_dispose):
26115         * gst/gstelement.c: (gst_element_dispose):
26116           Release a few potentially-held references in dispose.
26117
26118 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26119
26120         * docs/gst/tmpl/gstminiobject.sgml:
26121           do *not* add tmpl/*.sgml files to CVS!
26122
26123 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26124
26125         * libs/gst/bytestream/.cvsignore:
26126         * libs/gst/bytestream/Makefile.am:
26127         * libs/gst/bytestream/adapter.c:
26128         * libs/gst/bytestream/adapter.h:
26129         * libs/gst/bytestream/bytestream.c:
26130         * libs/gst/bytestream/bytestream.h:
26131         * libs/gst/bytestream/filepad.c:
26132         * libs/gst/bytestream/filepad.h:
26133           removing obsolete files
26134
26135 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26136
26137         * docs/gst/gstreamer-docs.sgml:
26138         * docs/libs/gstreamer-libs-docs.sgml:
26139           disabed additional index entries again, as this makes docs-gen just
26140           slow and they aren't useful yet
26141         * docs/libs/gstreamer-libs-sections.txt:
26142           little -section.txt cleanup for libs
26143
26144 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26145
26146         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26147         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26148           fix up some debugging
26149         (gst_base_transform_get_unit_size),
26150         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26151         (gst_base_transform_handle_buffer):
26152         * gst/base/gstbasetransform.h:
26153           handle and store timed NEWSEGMENT events so that subclasses that
26154           calculate time by counting samples have a segment_start time they
26155           need to add to their timestamps - see audioresample
26156
26157 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26158
26159         * gst/gstbin.h:
26160           removed ';' from the end of macro defs
26161         * docs/gst/gstreamer-docs.sgml:
26162         * docs/gst/gstreamer-sections.txt:
26163         * docs/gst/tmpl/.cvsignore:
26164         * gst/gstbus.h:
26165         * gst/gstelement.c: (gst_element_class_init),
26166         (gst_element_set_state), (activate_pads),
26167         (gst_element_save_thyself):
26168         * gst/gstevent.c: (gst_event_new_newsegment):
26169         * gst/gstevent.h:
26170         * gst/gstiterator.c:
26171         * gst/gstiterator.h:
26172         * gst/gstpad.c:
26173         * gst/gstprobe.h:
26174         * gst/gstutils.c: (gst_pad_query_convert):
26175         * gst/gstutils.h:
26176           fixed parameter name mismatches between source, header and docs
26177           added some more docs, resolved the last batch of unused elements in
26178           docs (now someone needs to doc them)
26179
26180 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26181
26182         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26183         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26184           don't walk through the plugins backwards.  Where is all this
26185           reversed logic coming from ?
26186
26187 2005-08-25  Wim Taymans  <wim@fluendo.com>
26188
26189         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26190         (gst_base_transform_transform_size),
26191         (gst_base_transform_configure_caps),
26192         (gst_base_transform_get_unit_size),
26193         (gst_base_transform_buffer_alloc),
26194         (gst_base_transform_change_state):
26195         * gst/base/gstbasetransform.h:
26196         Cache caps unit_size.
26197         Make sure we cannot negotiate up and downstream at the
26198         same time.
26199
26200 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26201
26202         * gst/gst.c: (init_pre), (init_post):
26203           register the installed plugin path after the env var
26204         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26205         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26206           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26207           directories, so the tests can prefer uninstalled over installed
26208
26209 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26210
26211         * gst/base/gstbasetransform.h:
26212           comment
26213         * gst/gstpad.c:
26214           add to docs
26215
26216 2005-08-25  Wim Taymans  <wim@fluendo.com>
26217
26218         * gst/gstbin.c: (bin_bus_handler):
26219         Be a bit more conservative about the posted message.
26220         
26221         * gst/gstbus.c: (gst_bus_post):
26222         Some cleanups, warn wrong return values.
26223
26224 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26225
26226         * check/gst/gstbin.c: (GST_START_TEST):
26227         * gst/gstbin.c: (bin_bus_handler):
26228         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26229         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26230         (gst_message_new_warning), (gst_message_new_tag),
26231         (gst_message_new_state_changed), (gst_message_new_segment_start),
26232         (gst_message_new_segment_done), (gst_message_new_custom):
26233         * gst/gstmessage.h:
26234         * tools/gst-launch.c: (event_loop):
26235         * tools/gst-md5sum.c: (event_loop):
26236           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26237
26238 2005-08-25  Wim Taymans  <wim@fluendo.com>
26239
26240         * check/generic/states.c: (GST_START_TEST):
26241         Cleanup can be done at the end.
26242
26243         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26244         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26245         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26246         Oh boy.. Thanks for finding this, Thomas. 
26247
26248 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26249
26250         * docs/gst/gstreamer.types:
26251           added missing types
26252
26253 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26254
26255         * docs/gst/gstreamer-docs.sgml:
26256         * docs/gst/gstreamer-sections.txt:
26257         * docs/gst/tmpl/.cvsignore:
26258         * gst/gstbin.c:
26259         * gst/gstiterator.c:
26260         * gst/gstutils.c:
26261         * gst/registries/gstxmlregistry.h:
26262           added missing classes and symbols (123 more to go)
26263           removed removed symbols from section file
26264           fixed many doc-comments
26265
26266 2005-08-24  Wim Taymans  <wim@fluendo.com>
26267
26268         * check/generic/states.c: (GST_START_TEST):
26269         Make sure all tasks are stopped.
26270
26271         * check/gst/gstbin.c: (GST_START_TEST):
26272         Unref after usage for proper valgrinding.
26273
26274         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26275         Really wait for the task to stop before destroying the
26276         mutex.
26277
26278         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26279         (gst_queue_src_activate_push):
26280         Small cleanups. Don't stop the task when we did not start
26281         it.
26282
26283         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26284         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26285         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26286         (gst_task_join):
26287         * gst/gsttask.h:
26288         Protect the stream lock with the object lock.
26289         Disallow setting the stream lock when running.
26290         Add cleanup_all to wait for the threadpool to finish.
26291         Remove code to autoallocate a mutex if none was provided.
26292         Add _join() to wait for a task to stop.
26293         Protect the thread pool with a global lock.
26294
26295 2005-08-24  Wim Taymans  <wim@fluendo.com>
26296
26297         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26298         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26299         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26300         * gst/base/gstbasesink.h:
26301         Handle newsegment events correctly.
26302         Drop buffers out of the segment range.
26303
26304 2005-08-22  Andy Wingo  <wingo@pobox.com>
26305
26306         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26307         macro, implements an interface and gstimplementsinterface for a
26308         new type.
26309
26310 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26311
26312         * check/Makefile.am:
26313         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26314           add a test that does a bunch of state changes on elements
26315           needs some fixing for valgrind
26316         * check/states/sinks.c: (gst_object_suite):
26317           whitespace
26318         * gst/gstcaps.h:
26319           add prototype for gst_caps_is_equal_fixed
26320         * gst/gstplugin.c:
26321         * gst/gstregistrypool.c:
26322           doc fixes
26323
26324 2005-08-24  Andy Wingo  <wingo@pobox.com>
26325
26326         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26327         convert a negative value. Doesn't make much sense. Mostly this is
26328         here to force callers to ensure -1 maps to -1.
26329
26330 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26331
26332         * docs/pwg/advanced-types.xml:
26333           Well done to Michael for catching my deliberate introduction
26334           of this spelling mistake. 
26335         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26336         * gst/gstelement.h:
26337           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26338           unlink pads before removing the element from the bin.
26339
26340 2005-08-24  Andy Wingo  <wingo@pobox.com>
26341
26342         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26343         the same thing as GST_DEBUG=*:4.
26344         (parse_debug_level, parse_debug_category): New helper parsers.
26345
26346 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26347
26348         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26349         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26350         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26351         (gst_base_transform_buffer_alloc),
26352         (gst_base_transform_handle_buffer):
26353           use gboolean return values and pointers to size so we can use the
26354           full GST_BUFFER_SIZE range (guint) for buffer sizes
26355           use GstPadDirection for transform_caps
26356         * gst/base/gstbasetransform.h:
26357           rename get_size to get_unit_size since that's what it is
26358         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26359           use GstPadDirection for transform_caps
26360         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26361         * gst/gstutils.h:
26362           cleanup and debugging
26363
26364 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26365
26366         * gst/gstelement.c: (gst_element_class_init),
26367         (gst_element_set_state), (activate_pads),
26368         (gst_element_save_thyself):
26369         * tools/gst-compprep.c: (main):
26370         * tools/gst-inspect.c: (print_element_properties_info):
26371         * tools/gst-xmlinspect.c: (print_element_properties):
26372           Fixed long standing mem-leak
26373
26374 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26375
26376         * check/gst/gstbin.c: (GST_START_TEST):
26377         * gst/gstbin.c: (bin_bus_handler):
26378         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26379         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26380         (gst_message_new_warning), (gst_message_new_tag),
26381         (gst_message_new_state_changed), (gst_message_new_segment_start),
26382         (gst_message_new_segment_done), (gst_message_new_custom):
26383         * gst/gstmessage.h:
26384         * tools/gst-launch.c: (event_loop):
26385         * tools/gst-md5sum.c: (event_loop):
26386           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26387           that applications can sensibly post custom messages with references
26388           to their own objects.
26389
26390 2005-08-24  Andy Wingo  <wingo@pobox.com>
26391
26392         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26393         already.
26394
26395 2005-08-24  Wim Taymans  <wim@fluendo.com>
26396
26397         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26398         (gst_base_transform_transform_caps),
26399         (gst_base_transform_transform_size),
26400         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26401         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26402         (gst_base_transform_handle_buffer):
26403         * gst/base/gstbasetransform.h:
26404         Many fixes and new features added by Thomas. Can now also do
26405         transforms with variable sizes and a custom fixate_caps function.
26406
26407 2005-08-24  Wim Taymans  <wim@fluendo.com>
26408
26409         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26410         Some debugging.
26411
26412         * gst/gstclock.h:
26413         Cast to ClockTime before formatting to time.
26414
26415         * gst/gstutils.h:
26416         Cleanups.
26417
26418 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26419
26420         * check/gst-libs/controller.c: (GST_START_TEST),
26421         (gst_controller_suite):
26422         * docs/gst/tmpl/gstcaps.sgml:
26423         * docs/gst/tmpl/gstghostpad.sgml:
26424         * docs/gst/tmpl/gstquery.sgml:
26425         * docs/gst/tmpl/gstutils.sgml:
26426         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26427         (gst_object_sink_values), (gst_object_get_value_arrays),
26428         (gst_object_get_value_array):
26429           gracefully handle helper method calls to objects that are not beeing
26430           controlled, added test case for that          
26431
26432 2005-08-23  Wim Taymans  <wim@fluendo.com>
26433
26434         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26435         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26436         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26437         (gst_event_parse_qos), (gst_event_new_seek),
26438         (gst_event_parse_seek):
26439         * gst/gstevent.h:
26440         Some more debugging output and doc cleanups.
26441
26442         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26443         Fix possible deadlock.
26444
26445 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26446
26447         * docs/gst/gstreamer-docs.sgml:
26448         * docs/gst/gstreamer-sections.txt:
26449         * docs/gst/gstreamer.types:
26450         * docs/gst/tmpl/.cvsignore:
26451         * gst/gstbin.h:
26452         * gst/gstbus.c:
26453         * gst/gstelement.c:
26454         * gst/gstevent.h:
26455           added 100 symbols from gstreamer-unused.txt to the right sections
26456           fixed more broken comments
26457           added GstBus to docs
26458
26459 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26460
26461         * docs/gst/gstreamer-sections.txt:
26462         * docs/gst/tmpl/.cvsignore:
26463         * docs/gst/tmpl/gstbin.sgml:
26464         * docs/gst/tmpl/gstbuffer.sgml:
26465         * gst/base/gstbasesrc.c:
26466         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26467         * gst/gstbuffer.c:
26468         * gst/gstbuffer.h:
26469         * tools/gst-launch.1.in:
26470           inlined more doc comments, added missing comments and fixed comments
26471           fixed typos
26472
26473 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26474
26475         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26476           some debugging
26477         * gst/gstcaps.h:
26478           whitespace fixes
26479         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26480           more debugging
26481         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26482         * gst/gststructure.h:
26483           add a fixate function for booleans; add a FIXME that these func
26484           names should probably be gst_structure_fixate_*
26485
26486 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26487
26488         * docs/gst/gstreamer-docs.sgml:
26489         * docs/gst/gstreamer-sections.txt:
26490         * gst/Makefile.am:
26491         * gst/gstbin.c: (gst_bin_get_type),
26492         (gst_bin_child_proxy_get_child_by_index),
26493         (gst_bin_child_proxy_get_children_count),
26494         (gst_bin_child_proxy_init):
26495         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26496         (gst_child_proxy_get_child_by_index),
26497         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26498         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26499         (gst_child_proxy_get), (gst_child_proxy_set_property),
26500         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26501         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26502         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26503         * gst/gstchildproxy.h:
26504         * gst/parse/grammar.y:
26505         * tools/gst-inspect.c: (print_interfaces),
26506         (print_element_properties_info), (print_element_info):
26507           ported gstchildproxy over from 0.8
26508           ported gst-inspect fixes and enhancements over from 0.8
26509
26510 2005-08-22  Wim Taymans  <wim@fluendo.com>
26511
26512         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26513         (gst_base_transform_handle_buffer):
26514         Also call the transform function if we have ANY caps.
26515
26516         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26517         Fix debug info.
26518
26519 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26520
26521         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26522           Don't pretend to handle seek events if the source is not seekable
26523
26524 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26525
26526         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26527           Remove extra parameter to debug output
26528
26529         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26530         (gst_base_src_do_seek), (gst_base_src_activate_push):
26531           Fix seek event handling.
26532
26533         * gst/gstpipeline.c: (gst_pipeline_change_state):
26534         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26535         (gst_queue_src_activate_push):
26536           Don't start the src pad task on FLUSH_STOP if the pad
26537           isn't linked.
26538           Debug changes.
26539
26540 2005-08-22  Wim Taymans  <wim@fluendo.com>
26541
26542         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26543         Added check for gst_static_caps_get() refcounting.
26544
26545 2005-08-22  Wim Taymans  <wim@fluendo.com>
26546
26547         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26548         Make _static_caps_get() refcounting sane.
26549         
26550         * gst/gstelement.c: (gst_element_set_state):
26551         Add g_return_val_if_fail() to protect against segfaults.
26552
26553 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26554
26555         * docs/gst/tmpl/gstevent.sgml:
26556         * gst/gstevent.c:
26557         * gst/gstevent.h:
26558           inlined remaining docs, added missing doc comments
26559
26560 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26561
26562         * check/gst/gstbin.c: (GST_START_TEST):
26563           since we don't know when preroll is done, use refcount range
26564           check for the sink
26565         * gst/check/gstcheck.h:
26566           add macro for checking refcount range
26567
26568 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26569
26570         * check/Makefile.am:
26571           clean up environment for when registry gets built versus
26572           when actual tests are run; valgrind seems to not report
26573           leaks if GST_PLUGIN_PATH is set to some specific values
26574         * check/gst/gstbin.c: (GST_START_TEST):
26575           add more refcounting checks; maybe this exposes a
26576           preroll lock bug ?
26577         * common/check.mak:
26578         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26579         * gst/check/gstcheck.h:
26580         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26581         (gst_bin_change_state):
26582         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26583           add/fix debugging/whitespace
26584
26585 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26586
26587         * check/gst/gstevent.c: (event_probe), (test_event),
26588         (GST_START_TEST):
26589          Er, don't call gst_bin_watch_for_state_change you idiot.
26590
26591 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26592
26593         * check/Makefile.am:
26594           Use CHECK_CFLAGS and CHECK_LIBS
26595         * check/gst/gstevent.c: (event_probe), (test_event),
26596         (GST_START_TEST):
26597           Don't leak events.
26598         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26599         (gst_base_src_start), (gst_base_src_stop),
26600         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26601         (gst_base_src_change_state):
26602           Sprinkle gst_base_src_stop liberally around error paths to fix
26603           problems reusing a source after failed state changes.
26604         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26605         (helper_find_suggest), (gst_type_find_helper):
26606           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26607         * gst/gstevent.h:
26608         * docs/gst/tmpl/gstevent.sgml:
26609           Migrate part of the docs from the SGML file. Wait for ensonic to
26610           tell me how I did it wrong ;)
26611         * tools/gst-typefind.c: (main):
26612           Extra robustness to state changes between files.
26613
26614 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26615
26616         * check/Makefile.am:
26617           don't valgrind the controller test - it's leaking - Stefan, HELP
26618         * gst/check/gstcheck.c: (gst_check_message_error),
26619         (gst_check_chain_func), (gst_check_setup_element),
26620         (gst_check_teardown_element), (gst_check_setup_src_pad),
26621         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26622         (gst_check_teardown_sink_pad):
26623         * gst/check/gstcheck.h:
26624           add a bunch of methods to set up elements, and src and sink pads
26625         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26626         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26627         (GST_START_TEST):
26628           use them
26629         * gst/gstmessage.c:
26630         * gst/gsttag.h:
26631           whitespace/doc fixes
26632
26633 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26634
26635         * gst/gstelement.h:
26636           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26637           be handled by the application and not always printed as well
26638
26639 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26640
26641         * check/Makefile.am:
26642           set GST_TOOLS_DIR
26643         * gst/check/gstcheck.c: (gst_check_message_error):
26644         * gst/check/gstcheck.h:
26645           add a fail_unless_equals_int
26646           add fail_unless for error messages
26647
26648 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26649
26650         * check/Makefile.am:
26651         * check/gst.supp:
26652         * common/Makefile.am:
26653         * common/check.mak:
26654         * common/gst.supp:
26655           factor out some of the common stuff so we can use it
26656
26657 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26658
26659         * check/Makefile.am:
26660         * check/gst/gstiterator.c: (GST_START_TEST):
26661         * check/gst/gstsystemclock.c: (GST_START_TEST),
26662         (gst_systemclock_suite):
26663         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26664         * gst/gstclock.c:
26665           valgrind more tests
26666
26667 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26668
26669         * check/elements/.cvsignore:
26670         * check/elements/gstfakesrc.c:
26671           rename to name of element
26672         * check/elements/identity.c: (chain_func), (event_func),
26673         (setup_identity), (cleanup_identity), (GST_START_TEST),
26674         (identity_suite), (main):
26675           add a test for identity
26676         * check/Makefile.am:
26677         * pkgconfig/Makefile.am:
26678         * pkgconfig/gstreamer-check.pc.in:
26679         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26680         * gst/check:
26681         * gst/Makefile.am:
26682         * configure.ac:
26683           move the check stuff to a library that gets installed
26684         * check/gst-libs/controller.c: (GST_START_TEST):
26685         * check/gst-libs/gdp.c:
26686         * check/gst/gst.c: (GST_START_TEST):
26687         * check/gst/gstbin.c:
26688         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26689         * check/gst/gstbus.c:
26690         * check/gst/gstcaps.c: (GST_START_TEST):
26691         * check/gst/gstelement.c:
26692         * check/gst/gstghostpad.c:
26693         * check/gst/gstiterator.c:
26694         * check/gst/gstmessage.c:
26695         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26696         * check/gst/gstobject.c:
26697         * check/gst/gstpad.c: (GST_START_TEST):
26698         * check/gst/gststructure.c: (GST_START_TEST):
26699         * check/gst/gstsystemclock.c: (GST_START_TEST),
26700         (gst_systemclock_suite):
26701         * check/gst/gsttag.c: (gst_tag_suite):
26702         * check/gst/gstvalue.c:
26703         * check/pipelines/cleanup.c:
26704         * check/pipelines/simple_launch_lines.c:
26705         * check/states/sinks.c:
26706           change include statement
26707
26708         * docs/gst/gstreamer-sections.txt:
26709         * docs/gst/tmpl/gstpad.sgml:
26710           document more pad stuff
26711         * gst/gstminiobject.c: (gst_mini_object_ref),
26712         (gst_mini_object_unref):
26713           debug refcounting
26714
26715 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26716
26717         * docs/gst/tmpl/gst.sgml:
26718         * gst/gst.c:
26719           eliminate another tmpl file, fix spelling in the long-description
26720
26721 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26722
26723         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26724         (test_event), (timediff), (gstevents_suite):
26725           Should fix build on 64-bit arch's
26726
26727 2005-08-18  Andy Wingo  <wingo@pobox.com>
26728
26729         Make sure that when a pipeline goes to PLAYING, that data has
26730         actually hit the sink.
26731
26732         * check/states/sinks.c (test_sink): A sink that doesn't get any
26733         data shouldn't return SUCCESS for going to either PLAYING or
26734         PAUSED. Test also the return values on the way back down.
26735
26736         * gst/gstelement.c (gst_element_set_state): When changing the
26737         state of an element currently changing state asynchronously, go to
26738         lost-state after commiting the pending state. Makes future calls
26739         to get_state continue to return ASYNC.
26740
26741         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26742         ASYNC when going to PLAYING if we still don't have preroll, as can
26743         happen with live sources.
26744
26745 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26746
26747         * docs/pwg/advanced-types.xml:
26748           Hack long paragraph into 2 chunks as a workaround for buggy
26749           jadetex version in sid and breezy that loops infinitely and
26750           eats all RAM.
26751
26752 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26753
26754         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26755         (test_event), (timediff), (gstevents_suite):
26756           Provide more error margin in clock measurements to allow for 
26757           g_get_current_time inaccuracies.
26758
26759 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26760
26761         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26762         (test_event), (timediff), (gstevents_suite):
26763            Fix error message output so I might be able to tell why the
26764            test works here but fails on the build farm.
26765
26766 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26767
26768         * check/Makefile.am:
26769         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26770         (test_event), (timediff), (gstevents_suite), (main):
26771           I wrote a test!
26772
26773         * docs/design/part-seeking.txt:
26774           Spelling correction
26775
26776         * docs/gst/tmpl/gstevent.sgml:
26777         * docs/gst/tmpl/gstfakesrc.sgml:
26778           Docs updates.
26779
26780         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26781           Treat a buffer-without-newsegment the same as a receiving 
26782           a newsegment not in time format, and disable syncing to the clock
26783           with a warning.
26784
26785         * gst/gstbus.c: (gst_bus_set_sync_handler):
26786           Assert if anyone tries to replace the existing sync_handler for bus, 
26787           as only the owner should be setting it.
26788
26789         * gst/gstevent.h:
26790           Have a fixed set of custom event enums with events identified by
26791           their structure name (as in 0.8), rather than a free-for-all
26792           allowing collisions between enum values from different plugins.
26793
26794         * gst/gstpad.c: (gst_pad_class_init):
26795           Docs change.
26796           
26797         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26798           Handle out-of-band downstream events from the sending thread.
26799
26800 2005-08-17  Andy Wingo  <wingo@pobox.com>
26801
26802         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26803         play-timeout==0 to mean no timeout at all. In that case, don't
26804         bother with a get_state or a warning, just return directly, even
26805         if it's ASYNC.
26806
26807         * gst/base/gstbasetransform.c: Debug changes.
26808
26809         * gst/gstutils.h:
26810         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26811         ensure bins post state change messages. A bit of a hack but I can't
26812         think of a way to avoid it.
26813
26814         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26815
26816 2005-08-16  Andy Wingo  <wingo@pobox.com>
26817
26818         * gst/base/gstadapter.h:
26819         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26820         peek() but you own the data. Not terribly efficient atm.
26821
26822 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26823
26824         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26825         (gst_element_found_tags):
26826         * gst/gstutils.h:
26827           Add two utility functions for tag handling.
26828
26829 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26830
26831         * docs/manual/advanced-dataaccess.xml:
26832         * docs/manual/basics-helloworld.xml:
26833           Fix docs to use _bin_add() before _link(), which fixes the examples
26834           with recent core versions (reported by Madhan Raj M
26835           <raj_madan@rediffmail.com>, #313199).
26836
26837 2005-08-16  Wim Taymans  <wim@fluendo.com>
26838
26839         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26840         Added subtract checks.
26841
26842         * docs/design/part-events.txt:
26843         Some more docs about newsegment
26844
26845         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26846         Fix FIXME
26847
26848         * gst/gstcaps.c: (gst_caps_to_string):
26849         Add comments, cleanups.
26850         
26851         * gst/gstelement.c: (gst_element_save_thyself):
26852         cleanups
26853         
26854         * gst/gstvalue.c: (gst_value_collect_int_range),
26855         (gst_string_unwrap), (gst_value_union_int_int_range),
26856         (gst_value_union_int_range_int_range),
26857         (gst_value_intersect_int_int_range),
26858         (gst_value_intersect_int_range_int_range),
26859         (gst_value_intersect_double_double_range),
26860         (gst_value_intersect_double_range_double_range),
26861         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26862         (gst_value_subtract_int_range_int),
26863         (gst_value_subtract_double_range_double),
26864         (gst_value_subtract_double_range_double_range),
26865         (gst_value_subtract_from_list), (gst_value_subtract_list),
26866         (gst_value_can_compare), (gst_value_compare_fraction):
26867         Cleanups, add comments, remove unneeded asserts.
26868
26869 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26870
26871         * tools/gst-launch.c: (event_loop):
26872           don't convert NULL structures to strings
26873
26874 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26875
26876         * docs/gst/gstreamer-sections.txt:
26877           made some defines private
26878         * docs/gst/tmpl/gstconfig.sgml:
26879         * docs/gst/tmpl/gstqueue.sgml:
26880         * docs/gst/tmpl/gsttaglist.sgml:
26881         * docs/gst/tmpl/gsttypes.sgml:
26882         * docs/gst/tmpl/gstutils.sgml:
26883         * docs/pwg/appendix-porting.xml:
26884         * gst/base/gstbasesink.h:
26885         * gst/base/gstbasesrc.c:
26886         * gst/base/gstbasesrc.h:
26887         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26888         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26889         * gst/gstelement.c: (gst_element_class_init):
26890         * gst/gstpad.c: (gst_pad_class_init):
26891         * gst/gstqueue.c: (gst_queue_class_init):
26892         * gst/gstxml.c: (gst_xml_class_init):
26893           documented all undocumented signal inline
26894         * libs/gst/controller/gst-controller.h:
26895           added padding
26896
26897 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26898
26899         * docs/pwg/appendix-porting.xml:
26900           Document _set_link_function -> _set_setcaps_function.
26901
26902 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26903
26904         * check/Makefile.am:
26905           add a .check target for running the check
26906         * check/gst-libs/controller.c: (GST_START_TEST):
26907           cosmetic fixups
26908         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26909           complete checks for gstbuffer; would be nice if I could get the
26910           gcov stuff to work so I can see if I actually completed gstbuffer.c
26911         * check/gstcheck.h:
26912           add ASSERT_BUFFER_REFCOUNT
26913
26914 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26915
26916         * docs/gst/gstreamer-sections.txt:
26917         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26918         * gst/gsttag.h:
26919           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26920           spew out a warning if a tag that is already registered
26921           is re-registered, unless it is re-registered with a 
26922           different type (#308438).
26923
26924 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26925
26926         * docs/pwg/appendix-porting.xml:
26927         * docs/pwg/building-state.xml:
26928           Add some paragraphs about state changes in 0.9 to the PWG
26929           and the porting guide, in particular about the new meaning
26930           of GST_STATE_PAUSED and how to write state change functions
26931           with concurrent access by multiple threads in mind.
26932
26933 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26934
26935         * docs/gst/gstreamer-docs.sgml:
26936         * docs/libs/gstreamer-libs-docs.sgml:
26937           added deprecation and since indexes
26938         * libs/gst/controller/gst-controller.c:
26939         * libs/gst/controller/gst-helper.c:
26940           added since tags
26941
26942
26943 2005-08-11  Wim Taymans  <wim@fluendo.com>
26944
26945         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26946         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26947         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26948         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26949         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26950         (gst_ghost_pad_set_target):
26951         Actually implement (re)setting the target on a ghostpad
26952         as described in the docs.
26953
26954 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26955
26956         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26957           Check whether GST_DEBUG_NO_COLOR environment variable is
26958           set and disable coloured debug output if that is the case.
26959
26960 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26961
26962         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26963         (gst_type_find_helper):
26964           The memory returned by gst_type_find_peek() needs to
26965           stay valid until the end of a typefind function, and
26966           typefind functions may keep results from different 
26967           offsets around, so we can't just unref the buffer from
26968           the previous _peek(), but have to save all buffers 
26969           returned by _peek() until typefinding is done and only
26970           free them then.
26971
26972 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26973
26974         * docs/gst/gstreamer-sections.txt:
26975         * gst/gstutils.h:
26976           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26977
26978 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26979
26980         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26981           Fix a pretty good memleak.
26982
26983 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26984
26985         * gst/gstiterator.h:
26986           Fix wrong include and 'make distcheck'.
26987
26988 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26989
26990         * gst/gstbin.c: (bin_bus_handler):
26991           Use gst_element_post_message() instead.
26992
26993 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26994
26995         * gst/base/gstadapter.h:
26996         * gst/base/gstbasesink.h:
26997         * gst/base/gstbasesrc.h:
26998         * gst/base/gstbasetransform.h:
26999         * gst/base/gstcollectpads.h:
27000         * gst/base/gstpushsrc.h:
27001         * gst/gstiterator.h:
27002           Add padding to our base elements' class and instance structs and
27003           to GstIterator (you will need to rebuild all plugins and apps!)
27004
27005 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27006
27007         * gst/gstbin.c: (bin_bus_handler):
27008           Make default message forwarding from child->bus to bin->bus
27009           threadsafe and make it not emit warnings if the parent has no bus.
27010
27011 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27012
27013         * gst/gstelement.c: (activate_pads):
27014           On paused->ready, set pad->caps to NULL, as is the documented
27015           behaviour in this state change. Fixes playback of series of
27016           media files when visualization is enabled in Totem.
27017
27018 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27019
27020         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27021           Allow NULL as filter-caps (which means "any").
27022
27023 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27024
27025         * docs/libs/gstreamer-libs-sections.txt:
27026         * libs/gst/controller/gst-controller.c:
27027         * libs/gst/controller/gst-controller.h:
27028         * libs/gst/controller/gst-helper.c:
27029           adding more entries to the docs and fix small doc-bugs
27030
27031 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27032
27033         * docs/gst/gstreamer-docs.sgml:
27034         * docs/gst/gstreamer-sections.txt:
27035         * docs/gst/gstreamer.types:
27036         * docs/gst/tmpl/gstbasesink.sgml:
27037         * docs/gst/tmpl/gstbasesrc.sgml:
27038         * docs/gst/tmpl/gstbasetransform.sgml:
27039         * docs/gst/tmpl/gstfakesrc.sgml:
27040         * gst/base/gstcollectpads.c:
27041         * gst/base/gstcollectpads.h:
27042         * libs/gst/controller/gst-controller.c:
27043         * libs/gst/controller/gst-controller.h:
27044         * libs/gst/controller/gst-helper.c:
27045         * libs/gst/controller/gst-interpolation.c:
27046         * libs/gst/controller/lib.c:
27047           added long/short desc for controller docs
27048           added collectpads base class docs
27049           added correct includes to base-class docs
27050
27051 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27052
27053         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27054         (gst_test_mono_source_set_property),
27055         (gst_test_mono_source_class_init), (GST_START_TEST),
27056         (gst_controller_suite):
27057         * docs/gst/gstreamer-docs.sgml:
27058         * docs/gst/gstreamer-sections.txt:
27059         * docs/gst/gstreamer.types:
27060         * docs/libs/gstreamer-libs-docs.sgml:
27061         * docs/libs/gstreamer-libs-sections.txt:
27062         * gst/base/gstadapter.c:
27063         * libs/gst/controller/gst-controller.c:
27064         (gst_controlled_property_new), (gst_controlled_property_free),
27065         (gst_controller_new_valist),
27066         (gst_controller_remove_properties_valist),
27067         (gst_controller_sink_values), (_gst_controller_finalize):
27068         * libs/gst/controller/gst-controller.h:
27069         * libs/gst/controller/gst-helper.c:
27070         (gst_object_control_properties), (gst_object_uncontrol_properties),
27071         (gst_object_get_controller), (gst_object_set_controller),
27072         (gst_object_sink_values), (gst_object_get_value_arrays),
27073         (gst_object_get_value_array):
27074           more tests (and fixes) for the controller
27075           more docs for the controller
27076           integrated companies docs for the adapter 
27077
27078 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27079
27080         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27081         (GST_START_TEST), (fakesrc_suite):
27082           add tests for sizetype
27083
27084 2005-08-04  Andy Wingo  <wingo@pobox.com>
27085
27086         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27087         fixes buffer_alloc proxying among other things.
27088
27089         * gst/base/gstbasetransform.c:
27090         * gst/base/gstbasetransform.h:
27091         Revert patch to gstbasetransform from 7-28 removing
27092         delay_configure.
27093
27094         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27095         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27096         Semantics changed, should return not the size of the output buffer
27097         but the byte size of a buffer with a given caps.
27098
27099         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27100         debug object.
27101         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27102         out) are not the pad caps until setcaps finishes.
27103         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27104         not-in-place case as well. Deal with changing from in-place to
27105         not-in-place within calling pad_alloc_buffer. Still a bit
27106         concerned about the overhead here...
27107
27108 2005-08-03  Andy Wingo  <wingo@pobox.com>
27109
27110         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27111         fixating is an error.
27112
27113 2005-08-04  Edward Hervey  <edward@fluendo.com>
27114
27115         * gst/base/gstadapter.h: 
27116         Added gst_adapter_get_type() to the header
27117
27118 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27119
27120         * check/Makefile.am:
27121         * check/gst-libs/controller.c:
27122         * libs/gst/controller/gst-controller.c:
27123         (gst_controller_new_valist):
27124           added check test suite for the controller
27125         * gst/base/gstpushsrc.c:
27126           fixed a doc typo
27127
27128 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27129
27130         * docs/gst/Makefile.am:
27131         * docs/gst/gstreamer-docs.sgml:
27132         * docs/gst/gstreamer-sections.txt:
27133         * docs/gst/gstreamer.types:
27134         * docs/gst/tmpl/gstfakesrc.sgml:
27135         * gst/base/README:
27136         * gst/base/gstbasesink.c:
27137         * gst/base/gstbasesink.h:
27138         * gst/base/gstbasesrc.c:
27139         * gst/base/gstbasesrc.h:
27140         * gst/base/gstbasetransform.c:
27141         * gst/base/gstpushsrc.c:
27142         * gst/base/gstpushsrc.h:
27143           add short/long description docs to base classes
27144           add pushsrc to the docs
27145           remove consolidated doc fragments
27146
27147 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27148
27149         * configure.ac:
27150         * docs/libs/Makefile.am:
27151         * docs/libs/gstreamer-libs-docs.sgml:
27152         * docs/libs/gstreamer-libs-sections.txt:
27153         * docs/libs/gstreamer-libs.types:
27154         * examples/Makefile.am:
27155         * examples/controller/.cvsignore:
27156         * examples/controller/Makefile.am:
27157         * examples/controller/audio-example.c: (main):
27158         * libs/gst/Makefile.am:
27159         * libs/gst/controller/.cvsignore:
27160         * libs/gst/controller/Makefile.am:
27161         * libs/gst/controller/gst-controller.c:
27162         (on_object_controlled_property_changed), (gst_timed_value_compare),
27163         (gst_timed_value_find),
27164         (gst_controlled_property_set_interpolation_mode),
27165         (gst_controlled_property_new), (gst_controlled_property_free),
27166         (gst_controller_find_controlled_property),
27167         (gst_controller_new_valist), (gst_controller_new),
27168         (gst_controller_remove_properties_valist),
27169         (gst_controller_remove_properties), (gst_controller_set),
27170         (gst_controller_set_from_list), (gst_controller_unset),
27171         (gst_controller_get), (gst_controller_get_all),
27172         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27173         (gst_controller_get_value_array),
27174         (gst_controller_set_interpolation_mode),
27175         (_gst_controller_finalize), (_gst_controller_init),
27176         (_gst_controller_class_init), (gst_controller_get_type):
27177         * libs/gst/controller/gst-controller.h:
27178         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27179         (g_object_uncontrol_properties), (g_object_get_controller),
27180         (g_object_set_controller), (g_object_sink_values),
27181         (g_object_get_value_arrays), (g_object_get_value_array):
27182         * libs/gst/controller/gst-interpolation.c:
27183         (gst_controlled_property_find_timed_value_node),
27184         (interpolate_none_get), (interpolate_trigger_get),
27185         (interpolate_trigger_get_value_array):
27186         * libs/gst/controller/lib.c: (gst_controller_init):
27187         * pkgconfig/Makefile.am:
27188         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27189         * pkgconfig/gstreamer-control.pc.in:
27190         * testsuite/Makefile.am:
27191         * testsuite/controller/.cvsignore:
27192         * testsuite/controller/Makefile.am:
27193         * testsuite/controller/interpolator.c: (main):
27194           added controller code
27195           removed dparam pc files
27196
27197 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27198         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27199         (gst_collectpads_stop):
27200           Broadcast the condition when shutting down, to make sure we wake all
27201           threads up. Shut down pads on finalize, for safety.
27202
27203 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27204         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27205         (gst_base_transform_handle_buffer),
27206         (gst_base_transform_change_state):
27207           Handle PAUSED->READY->PAUSED transition after negotiation
27208           occurred already.
27209         * gst/gstmessage.c: (gst_message_init):
27210           Extra piece of debug for new messages.
27211
27212 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27213
27214         * configure.ac:
27215         * docs/gst/tmpl/gstbasesrc.sgml:
27216         * docs/gst/tmpl/gstelement.sgml:
27217         * docs/gst/tmpl/gstevent.sgml:
27218         * docs/gst/tmpl/gstfakesrc.sgml:
27219         * docs/gst/tmpl/gstformat.sgml:
27220         * docs/gst/tmpl/gstghostpad.sgml:
27221         * docs/gst/tmpl/gstpad.sgml:
27222         * docs/gst/tmpl/gstquery.sgml:
27223         * docs/gst/tmpl/gststructure.sgml:
27224         * docs/gst/tmpl/gsttaglist.sgml:
27225         * docs/gst/tmpl/gstvalue.sgml:
27226         * docs/libs/gstreamer-libs-docs.sgml:
27227         * docs/libs/gstreamer-libs-sections.txt:
27228         * docs/libs/gstreamer-libs.types:
27229         * libs/gst/Makefile.am:
27230         * libs/gst/control/.cvsignore:
27231         * libs/gst/control/Makefile.am:
27232         * libs/gst/control/control.c:
27233         * libs/gst/control/control.h:
27234         * libs/gst/control/dparam.c:
27235         * libs/gst/control/dparam.h:
27236         * libs/gst/control/dparam_smooth.c:
27237         * libs/gst/control/dparam_smooth.h:
27238         * libs/gst/control/dparamcommon.h:
27239         * libs/gst/control/dparammanager.c:
27240         * libs/gst/control/dparammanager.h:
27241         * libs/gst/control/dplinearinterp.c:
27242         * libs/gst/control/dplinearinterp.h:
27243         * libs/gst/control/unitconvert.c:
27244         * libs/gst/control/unitconvert.h:
27245         * testsuite/Makefile.am:
27246         * testsuite/dynparams/.cvsignore:
27247         * testsuite/dynparams/Makefile.am:
27248         * testsuite/dynparams/dparamstest.c:
27249         * tools/Makefile.am:
27250         * tools/gst-inspect.c: (print_element_info), (main):
27251         * tools/gst-xmlinspect.c: (print_element_info), (main):
27252           deactivate and remove dparams (libgstcontrol)
27253
27254 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27255
27256         * gst/elements/gsttypefindelement.c:
27257         (gst_type_find_element_have_type), (gst_type_find_element_init),
27258         (stop_typefinding), (gst_type_find_element_handle_event),
27259         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27260         * gst/elements/gsttypefindelement.h:
27261           Set caps on all outgoing buffers, not just the first one.
27262
27263 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27264
27265         * gst/elements/gsttypefindelement.c:
27266         (gst_type_find_element_have_type),
27267         (gst_type_find_element_check_set_buffer_caps),
27268         (gst_type_find_element_init), (stop_typefinding),
27269         (gst_type_find_element_handle_event),
27270         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27271         * gst/elements/gsttypefindelement.h:
27272           Set caps on first outgoing buffer when we've found the type.
27273
27274 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27275
27276         * docs/gst/gstreamer-docs.sgml:
27277         * docs/gst/gstreamer-sections.txt:
27278         * docs/gst/tmpl/gstscheduler.sgml:
27279         * docs/gst/tmpl/gstschedulerfactory.sgml:
27280           Remove some old cruft from docs.
27281
27282 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27283
27284         * gst/gstpad.h:
27285           Fix inline docs for GstPadLinkReturn.
27286           
27287         * gst/gststructure.c: (gst_structure_has_name):
27288         * gst/gststructure.h:
27289         * docs/gst/gstreamer-sections.txt:
27290           New API: gst_structure_has_name().
27291
27292 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27293
27294         * configure.ac:
27295           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27296           and _LARGEFILE_SOURCE in config.h as required. Do not 
27297           export those flags in our .pc files any longer (#142209).
27298
27299           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27300
27301         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27302         (gst_file_sink_do_seek), (gst_file_sink_event),
27303         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27304           Redo seek/tell calls with large file support in mind; add some
27305           debugging messages; add log message that tells us when large
27306           file support is unavailable or not enabled for some reason.
27307
27308         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27309           Add log message that tells us when large file support 
27310           is unavailable or not enabled for some reason.
27311
27312 2005-07-29  Wim Taymans  <wim@fluendo.com>
27313
27314         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27315         Added test for removing an element with ghostpad from a bin.
27316         Fixed test as current implementation does the right thing.
27317
27318         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27319         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27320         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27321         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27322         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27323         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27324         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27325         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27326         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27327         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27328         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27329         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27330         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27331         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27332         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27333         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27334         * gst/gstghostpad.h:
27335         Clean up ghostpads, remove properties for internal stuff.
27336         Make threadsafe.
27337         Fix refcounting.
27338         Prepare for switching targets, not all use cases work yet.
27339
27340 2005-07-29  Wim Taymans  <wim@fluendo.com>
27341
27342         * docs/design/part-gstghostpad.txt:
27343         Small update.
27344
27345         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27346         (gst_bin_remove_func):
27347         Unlinking pads while holding the bin LOCK is not a good
27348         idea.
27349
27350         * gst/gstpad.c: (gst_pad_class_init),
27351         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27352         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27353         No prob setting template after creating the pad.
27354
27355 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27356
27357         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27358         (gst_bus_peek), (gst_bus_source_dispatch),
27359         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27360         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27361           gst_bus_poll may be called from other threads. Handle
27362           this nicely by not making poll_data disappear off the
27363           stack once gst_bus_poll returns.
27364           gst_bus_peek now increments the refcount on the returned
27365           message.
27366
27367 2005-07-29  Wim Taymans  <wim@fluendo.com>
27368
27369         * docs/design/part-gstghostpad.txt:
27370         Overview of current GhostPad datastructures and use
27371         cases for changing the target.
27372
27373 2005-07-28  Wim Taymans  <wim@fluendo.com>
27374
27375         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27376         Added checks for hierarchy consistency whan adding linked
27377         elements to bins.
27378
27379         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27380         Added check to test element scheduling without bin/pipeline.
27381
27382         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27383         First add elements to bin, then link.
27384         
27385         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27386         (gst_bin_remove_func):
27387         Unlink pads from elements added/removed from bin to maintain
27388         hierarchy consistency.
27389
27390 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27391
27392         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27393         (gst_base_transform_handle_buffer):
27394         * gst/base/gstbasetransform.h:
27395           Remove broken delay_configure (fixes renegotiation of software
27396           scaling pipelines); remove some leftover printf()s.
27397
27398 2005-07-28  Wim Taymans  <wim@fluendo.com>
27399
27400         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27401         Added some more tests for wrong hierarchy
27402
27403         * docs/design/part-overview.txt:
27404         Some updates.
27405
27406         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27407         Cleanups.
27408
27409         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27410         (gst_element_dispose):
27411         Some more cleanups.
27412
27413         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27414         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27415         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27416         (gst_pad_set_caps), (gst_pad_send_event):
27417         Check for correct hierarchy when linking pads. Moving to
27418         strict requirement for ghostpads when linking elements in
27419         different bins.
27420
27421         * gst/gstpad.h:
27422         Clean ups. Added WRONG_HIERARCHY return value.
27423
27424 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27425
27426         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27427           Better debug if no transform is possible.
27428
27429 2005-07-27  Wim Taymans  <wim@fluendo.com>
27430
27431         * docs/random/wtay/network-transp:
27432         Some old doc I had.
27433
27434 2005-07-27  Wim Taymans  <wim@fluendo.com>
27435
27436         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27437         (gst_dp_event_from_packet):
27438         Fix serialization of seek events.
27439
27440 2005-07-27  Wim Taymans  <wim@fluendo.com>
27441
27442         * check/gst-libs/gdp.c: (GST_START_TEST):
27443         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27444         Fix compilation and fix event serialization.
27445
27446 2005-07-27  Wim Taymans  <wim@fluendo.com>
27447
27448         * CHANGES-0.9:
27449         * docs/design/part-TODO.txt:
27450         * docs/design/part-events.txt:
27451         Some docs updates
27452
27453         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27454         (gst_base_sink_event), (gst_base_sink_do_sync),
27455         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27456         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27457         (gst_base_src_do_seek), (gst_base_src_event_handler),
27458         (gst_base_src_loop):
27459         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27460         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27461         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27462         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27463         (gst_base_transform_set_passthrough),
27464         (gst_base_transform_is_passthrough):
27465         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27466         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27467         Event updates.
27468
27469         * gst/gstbuffer.h:
27470         Use faster casts.
27471
27472         * gst/gstelement.c: (gst_element_seek):
27473         * gst/gstelement.h:
27474         Update gst_element_seek.
27475
27476         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27477         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27478         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27479         (gst_event_new_eos), (gst_event_new_newsegment),
27480         (gst_event_parse_newsegment), (gst_event_new_tag),
27481         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27482         (gst_event_parse_qos), (gst_event_new_seek),
27483         (gst_event_parse_seek), (gst_event_new_navigation):
27484         * gst/gstevent.h:
27485         Make GstEvent use GstStructure. Add parsing code, make sure the
27486         API is sufficiently generic.
27487         Mark possible directions of events and serialization.
27488
27489         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27490         (_gst_message_copy), (gst_message_new_segment_start),
27491         (gst_message_new_segment_done), (gst_message_new_custom),
27492         (gst_message_parse_segment_start),
27493         (gst_message_parse_segment_done):
27494         Small cleanups.
27495
27496         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27497         (gst_pad_set_caps), (gst_pad_send_event):
27498         Update for new events. 
27499         Catch events sent in wrong directions.
27500
27501         * gst/gstqueue.c: (gst_queue_link_src),
27502         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27503         (gst_queue_handle_src_query):
27504         Event updates.
27505
27506         * gst/gsttag.c:
27507         * gst/gsttag.h:
27508         Remove event code from this file.
27509
27510         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27511         (gst_dp_event_from_packet):
27512         Event updates.
27513
27514 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27515
27516         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27517         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27518         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27519           Make debugging actually useful.
27520
27521 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27522
27523         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27524         (gst_pad_fixate_caps):
27525           Implement default fixation once again, so that gst_pad_fixate()
27526           actually does anything at all. This probably needs to be some
27527           sort of a last resort, and use profile-based fixation first, but
27528           since that doesn't exist yet, this is the best we have. Fixes
27529           visualization in Totem.
27530
27531 2005-07-22  Wim Taymans  <wim@fluendo.com>
27532
27533         * docs/design/part-events.txt:
27534         Small update.
27535
27536         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27537         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27538         (gst_base_sink_activate_pull):
27539         Some more comments.
27540
27541         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27542         (gst_fake_src_create):
27543         Fix handoff marshall.
27544
27545         * gst/elements/gstidentity.c: (gst_identity_class_init),
27546         (gst_identity_transform_ip):
27547         We're a real inplace element.
27548
27549         * gst/gstbus.c: (gst_bus_post):
27550         Added some comments.
27551
27552         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27553         * tests/muxing/case1.c: (main):
27554         * tests/sched/dynamic-pipeline.c: (main):
27555         * tests/sched/interrupt1.c: (main):
27556         * tests/sched/interrupt2.c: (main):
27557         * tests/sched/interrupt3.c: (main):
27558         * tests/sched/runxml.c: (main):
27559         * tests/sched/sched-stress.c: (main):
27560         * tests/seeking/seeking1.c: (event_received), (main):
27561         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27562         (main):
27563         * tests/threadstate/threadstate3.c: (main):
27564         * tests/threadstate/threadstate4.c: (main):
27565         * tests/threadstate/threadstate5.c: (main):
27566         Fix the tests.
27567
27568 2005-07-21  Wim Taymans  <wim@fluendo.com>
27569
27570         * docs/design/part-seeking.txt:
27571         Some small additions.
27572
27573         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27574         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27575         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27576         * gst/base/gstbasesink.h:
27577         discont values are gint64, handle the math correctly.
27578
27579         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27580         Make the basesrc report error if the source pad is not linked.
27581
27582         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27583         (gst_queue_loop), (gst_queue_handle_src_query),
27584         (gst_queue_src_activate_push):
27585         Make queue collect data even if the srcpad is not linked.
27586         Start pushing out data as soon as it is linked.
27587
27588         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27589         * gst/gstutils.h:
27590         Added gst_flow_get_name() to ease error reporting.
27591
27592 2005-07-20  Wim Taymans  <wim@fluendo.com>
27593
27594         * gst/gstmessage.c: (gst_message_new_segment_start),
27595         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27596         (gst_message_parse_segment_done):
27597         * gst/gstmessage.h:
27598         Added a bunch of messages for advanced seeking.
27599
27600         * gst/parse/grammar.y:
27601         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27602         (gst_dpman_state_changed):
27603         Fix some new-pad -> pad-added signals
27604
27605 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27606
27607         * docs/manual/appendix-porting.xml:
27608         * docs/pwg/appendix-porting.xml:
27609           Document new-pad/state-change signal renames and the FixedList
27610           type rename.
27611
27612 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27613
27614         * docs/manual/advanced-autoplugging.xml:
27615         * docs/manual/basics-helloworld.xml:
27616         * docs/manual/basics-pads.xml:
27617         * docs/random/ds/0.9-suggested-changes:
27618         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27619         * gst/gstelement.h:
27620         * gst/gstevent.h:
27621         * gst/gstformat.h:
27622         * gst/gstquery.h:
27623         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27624         (gst_structure_parse_array), (gst_structure_parse_value):
27625         * gst/gstvalue.c: (gst_type_is_fixed),
27626         (gst_value_list_prepend_value), (gst_value_list_append_value),
27627         (gst_value_list_get_size), (gst_value_list_get_value),
27628         (gst_value_transform_array_string), (gst_value_serialize_array),
27629         (gst_value_deserialize_array), (gst_value_intersect_array),
27630         (gst_value_is_fixed), (_gst_value_initialize):
27631         * gst/gstvalue.h:
27632           GstElement::new-pad -> pad-added, GstElement::state-change ->
27633           state-changed, GstValueFixedList -> GstValueArray, add format and
27634           flags as their own arguments in gst_element_seek() (should improve
27635           "bindeability"), remove function generators since they don't work
27636           under a whole bunch of compilers (they were deprecated already
27637           anyway).
27638
27639 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27640
27641         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27642         (_gst_debug_register_funcptr):
27643         * gst/gstinfo.h:
27644           Fix illegal cast on some platforms (#309253).
27645
27646 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27647
27648         * gst/gstmessage.c: (gst_message_new_custom):
27649         * gst/gstmessage.h:
27650           Add _new_custom, make _new_application a macro to _new_custom.
27651
27652 2005-07-20  Wim Taymans  <wim@fluendo.com>
27653
27654         * gst/base/gstbasesrc.c: (gst_base_src_init),
27655         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27656         * gst/base/gstbasesrc.h:
27657         Add a gboolean to decide when to push out a discont.
27658
27659         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27660         (gst_queue_loop), (gst_queue_handle_src_query),
27661         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27662         (gst_queue_set_property), (gst_queue_get_property):
27663         Some cleanups.
27664
27665         * tests/threadstate/threadstate1.c: (main):
27666         Make a thread test compile and run... very silly..
27667
27668
27669 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27670
27671         * docs/manual/appendix-porting.xml:
27672           Mention removal of libgstgconf-0.9.la and existence of gconf
27673           elements.
27674
27675 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27676
27677         * docs/pwg/advanced-clock.xml:
27678         * docs/pwg/appendix-porting.xml:
27679         * docs/pwg/intro-preface.xml:
27680         * docs/pwg/other-base.xml:
27681         * docs/pwg/other-manager.xml:
27682         * docs/pwg/other-nton.xml:
27683         * docs/pwg/other-ntoone.xml:
27684         * docs/pwg/other-oneton.xml:
27685         * docs/pwg/pwg.xml:
27686           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27687           demuxer), remove n-to-n (was never written), fix some code examples
27688           and links and update the porting section to include all this.
27689
27690 2005-07-19  Wim Taymans  <wim@fluendo.com>
27691
27692         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27693         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27694         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27695         (gst_queue_src_activate_push), (gst_queue_change_state),
27696         (gst_queue_get_property):
27697         * gst/gstqueue.h:
27698         Propagate GstFlowReturn more intelligently upstream and output
27699         an ERROR/EOS when streaming stopped due to fatal error.
27700
27701 2005-07-19  Wim Taymans  <wim@fluendo.com>
27702
27703         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27704         Don't block forever for the state change to complete, the
27705         pipeline already did with a sensible timeout.
27706
27707 2005-07-19  Wim Taymans  <wim@fluendo.com>
27708
27709         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27710         Make sure we never call the create function is we
27711         got deactivated.
27712
27713 2005-07-19  Andy Wingo  <wingo@pobox.com>
27714
27715         * gst/parse/parse.l: Attempt to solve bug #172815.
27716
27717 2005-07-19  Wim Taymans  <wim@fluendo.com>
27718
27719         * docs/design/part-clocks.txt:
27720         * docs/design/part-events.txt:
27721         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27722         Small docs updates.
27723         Only update the seeking values when we are not
27724         busy streaming.
27725
27726 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27727
27728         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27729           Oops, ignore the result of gst_pad_push_event here.
27730
27731 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27732
27733         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27734         (gst_base_src_activate_push):
27735           Send discont event from the loop function, as pads
27736           aren't activated yet in the activate_push handler.
27737
27738         * gst/gstbin.c: (bin_bus_handler):
27739           Don't leak element name.
27740
27741 2005-07-18  Andy Wingo  <wingo@pobox.com>
27742
27743         * configure.ac: Use AS_LIBTOOL_TAGS.
27744
27745 2005-07-18  Wim Taymans  <wim@fluendo.com>
27746
27747         * docs/gst/gstreamer.types:
27748         Remove deleted types.
27749
27750 2005-07-18  Wim Taymans  <wim@fluendo.com>
27751
27752         * check/elements/gstfakesrc.c: (GST_START_TEST):
27753         * configure.ac:
27754         * gst/Makefile.am:
27755         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27756         (init_popt_callback):
27757         * gst/gst.h:
27758         * gst/gst_private.h:
27759         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27760         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27761         * gst/gstbin.h:
27762         * gst/gstbus.h:
27763         * gst/gstconfig.h.in:
27764         * gst/gstelement.c: (gst_element_class_init),
27765         (gst_element_set_base_time), (gst_element_get_base_time),
27766         (iterator_fold_with_resync), (gst_element_change_state),
27767         (gst_element_dispose), (gst_element_get_bus):
27768         * gst/gstelement.h:
27769         * gst/gstelementfactory.h:
27770         * gst/gsterror.c: (_gst_core_errors_init):
27771         * gst/gsterror.h:
27772         * gst/gstevent.h:
27773         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27774         * gst/gstindex.c:
27775         * gst/gstinfo.c: (_gst_debug_init):
27776         * gst/gstmessage.c: (_gst_message_copy):
27777         * gst/gstmessage.h:
27778         * gst/gstminiobject.h:
27779         * gst/gstobject.c:
27780         * gst/gstobject.h:
27781         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27782         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27783         * gst/gstpad.h:
27784         * gst/gstparse.h:
27785         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27786         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27787         (gst_pipeline_get_last_stream_time):
27788         * gst/gstpipeline.h:
27789         * gst/gstpluginfeature.h:
27790         * gst/gstquery.h:
27791         * gst/gstscheduler.c:
27792         * gst/gstscheduler.h:
27793         * gst/gststructure.h:
27794         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27795         (gst_task_finalize), (gst_task_func), (gst_task_create),
27796         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27797         (gst_task_stop), (gst_task_pause):
27798         * gst/gsttask.h:
27799         * gst/gsttypefind.h:
27800         * gst/gsttypes.h:
27801         * gst/registries/gstlibxmlregistry.c: (load_feature),
27802         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27803         * gst/registries/gstxmlregistry.c:
27804         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27805         * gst/schedulers/threadscheduler.c:
27806         * libs/gst/control/dparammanager.h:
27807         * tools/gst-inspect.c: (print_element_list),
27808         (print_plugin_features), (print_element_features):
27809         * tools/gst-xmlinspect.c: (print_element_list),
27810         (print_plugin_info), (main):
27811         Removed plugable schedulers.
27812         Removed Scheduler/Manager from elements.
27813         Removed gsttypes.h, rearranged includes.
27814         Removed dependency pad<->element, element<>pipeline, and
27815         various others,  fix includes.
27816         implement gst_pad_get_parent() with gst_object_get_parent()
27817         Make GstTask sefcontained.
27818         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27819         timeout.
27820         Fix endless loop in iterator_fold_with_resync.
27821
27822
27823 2005-07-18  Wim Taymans  <wim@fluendo.com>
27824
27825         * gst/Makefile.am:
27826         * gst/gstarch.h:
27827         Remove old file.
27828
27829 2005-07-18  Wim Taymans  <wim@fluendo.com>
27830
27831         * gst/Makefile.am:
27832         No more cothreads.h
27833
27834 2005-07-18  Wim Taymans  <wim@fluendo.com>
27835
27836         * gst/cothreads.c:
27837         * gst/cothreads.h:
27838         Let's remove these.
27839
27840 2005-07-18  Wim Taymans  <wim@fluendo.com>
27841
27842         * docs/design/part-dynamic.txt:
27843         * docs/design/part-events.txt:
27844         * docs/design/part-seeking.txt:
27845         Some more docs in the works.
27846
27847         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27848         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27849         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27850         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27851         (gst_base_transform_handle_buffer),
27852         (gst_base_transform_sink_activate_push),
27853         (gst_base_transform_src_activate_pull),
27854         (gst_base_transform_set_passthrough),
27855         (gst_base_transform_is_passthrough):
27856         Refcounting fixes.
27857
27858         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27859         Cleanups.
27860
27861         * gst/gstevent.c: (gst_event_finalize):
27862         Set SRC to NULL.
27863
27864         * gst/gstutils.c: (gst_element_unlink),
27865         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27866         (gst_pad_proxy_setcaps):
27867         * gst/gstutils.h:
27868         Add _get_parent_element() to get a pads parent as an element.
27869
27870 2005-07-18  Wim Taymans  <wim@fluendo.com>
27871
27872         * check/gst/gstbin.c: (GST_START_TEST):
27873         Remove bogus test.
27874
27875 2005-07-18  Wim Taymans  <wim@fluendo.com>
27876
27877         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27878         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27879         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27880         (gst_base_sink_event), (gst_base_sink_do_sync),
27881         (gst_base_sink_chain), (gst_base_sink_loop),
27882         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27883         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27884         Refcounting fixes.
27885         Fix logic for returning ASYNC when not prerolled.
27886
27887 2005-07-18  Wim Taymans  <wim@fluendo.com>
27888
27889         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27890         Fix nasty refcount bug.
27891
27892 2005-07-16 Philippe Khalaf <burger@speedy.org>
27893
27894         * gst/elements/gstfdsrc.c:
27895         * gst/elements/gstfdsrc.h:
27896         * gst/elements/gstelements.c:
27897         * gst/elements/Makefile.am:
27898         Ported fdsrc to 0.9.
27899
27900 2005-07-16  Wim Taymans  <wim@fluendo.com>
27901
27902         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27903         (gst_base_sink_do_sync):
27904         Fix compile error.
27905
27906 2005-07-16  Wim Taymans  <wim@fluendo.com>
27907
27908         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27909         (gst_base_sink_event), (gst_base_sink_get_times),
27910         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27911         * gst/base/gstbasesink.h:
27912         Store and use discont values when syncing buffers as described
27913         in design docs.
27914         
27915         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27916         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27917         (gst_base_src_activate_push):
27918         Push discont event when starting.
27919
27920         * gst/elements/gstidentity.c: (gst_identity_transform):
27921         Small cleanups.
27922
27923         * gst/gstbin.c: (gst_bin_change_state):
27924         Small cleanups in base_time  distribution.
27925
27926         * gst/gstelement.c: (gst_element_set_base_time),
27927         (gst_element_get_base_time), (gst_element_change_state):
27928         * gst/gstelement.h:
27929         Added methods for the base_time of the element.
27930         Some MT fixes.
27931
27932         * gst/gstpipeline.c: (gst_pipeline_send_event),
27933         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27934         (gst_pipeline_get_last_stream_time):
27935         * gst/gstpipeline.h:
27936         MT fixes.
27937         Handle seeking as described in design doc, remove stream_time
27938         hack.
27939         Cleanups clock and stream_time selection code. Added accessors
27940         for the stream_time.
27941         
27942
27943 2005-07-16  Andy Wingo  <wingo@pobox.com>
27944
27945         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27946         (#305291).
27947
27948 2005-07-16  Wim Taymans  <wim@fluendo.com>
27949
27950         * check/gst/gstbin.c: (GST_START_TEST):
27951         Make elements silent as the deep_notify refs the
27952         parent, which might make the test fail.
27953
27954         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27955         Don't hold the lock for too long.
27956
27957 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27958
27959         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27960           Don't unref the caps we passed to gst_caps_make_writable() after
27961           passing them. gst_caps_make_writable() will do that for us.
27962
27963 2005-07-15  Andy Wingo  <wingo@pobox.com>
27964
27965         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27966         (#157311).
27967
27968         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27969         own marshalling function for the handoff signal. Properly type the
27970         buffer as a buffer. Fixes some warnings. Should do a more general
27971         solution.
27972         (gst_identity_class_init): Plug into the right marshaller.
27973
27974 2005-07-15  Wim Taymans  <wim@fluendo.com>
27975
27976         * docs/design/part-TODO.txt:
27977         * docs/design/part-clocks.txt:
27978         * docs/design/part-element-sink.txt:
27979         * docs/design/part-events.txt:
27980         * docs/design/part-gstpipeline.txt:
27981         Updated docs, mostly DISCONT related.
27982
27983 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27984
27985         * docs/pwg/building-pads.xml:
27986           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27987
27988 2005-07-15  Andy Wingo  <wingo@pobox.com>
27989
27990         * tools/gst-typefind.c: Update, add copyright block.
27991
27992         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27993         Normalize and truncate caps before fixation.
27994
27995         * gst/gstcaps.h:
27996         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27997         discards all but the first structure from its argument.
27998
27999 2005-07-15  Wim Taymans  <wim@fluendo.com>
28000
28001         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28002         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28003         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28004         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28005         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28006         (gst_base_transform_chain), (gst_base_transform_change_state),
28007         (gst_base_transform_set_passthrough),
28008         (gst_base_transform_is_passthrough):
28009         * gst/base/gstbasetransform.h:
28010         Make passthrough work using the bufferpools.
28011         Changed API a bit, subclasses have to write into a buffer
28012         provided by the base class.
28013         More debug info in nego functions.
28014         
28015         * gst/elements/gstidentity.c: (gst_identity_init),
28016         (gst_identity_transform):
28017         Port to new base class.
28018
28019 2005-07-15  Wim Taymans  <wim@fluendo.com>
28020
28021         * gst/gstmessage.c: (gst_message_new_state_changed):
28022         * tools/gst-launch.c: (event_loop), (main):
28023         Totally dump messages in -launch with the -m option.
28024         Fix message name for State messages,
28025
28026 2005-07-14  Wim Taymans  <wim@fluendo.com>
28027
28028         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28029         Post error messages on errors.
28030
28031 2005-07-14  Wim Taymans  <wim@fluendo.com>
28032
28033         * gst/gstcaps.c: (gst_caps_do_simplify):
28034         Remove debug info.
28035
28036         * gst/gsterror.h:
28037         Define error for stream stopped.
28038
28039         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28040         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28041         Do proper return values.
28042
28043         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28044         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28045         (gst_pad_get_range):
28046         Better return values.
28047
28048         * gst/gstpad.h:
28049         Reorganise return values, add macro to check for fatal errors.
28050
28051         * gst/gstqueue.c: (gst_queue_chain):
28052         Return proper GstFlowReturn values,
28053
28054 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28055
28056         * docs/gst/gstreamer-sections.txt:
28057         * docs/gst/gstreamer.types:
28058         * docs/gst/tmpl/gst.sgml:
28059         * docs/gst/tmpl/gstbasesink.sgml:
28060         * docs/gst/tmpl/gstbasesrc.sgml:
28061         * docs/gst/tmpl/gstbasetransform.sgml:
28062         * docs/gst/tmpl/gstbin.sgml:
28063         * docs/gst/tmpl/gstbuffer.sgml:
28064         * docs/gst/tmpl/gstcaps.sgml:
28065         * docs/gst/tmpl/gstclock.sgml:
28066         * docs/gst/tmpl/gstcompat.sgml:
28067         * docs/gst/tmpl/gstconfig.sgml:
28068         * docs/gst/tmpl/gstelement.sgml:
28069         * docs/gst/tmpl/gstelementdetails.sgml:
28070         * docs/gst/tmpl/gstelementfactory.sgml:
28071         * docs/gst/tmpl/gstenumtypes.sgml:
28072         * docs/gst/tmpl/gsterror.sgml:
28073         * docs/gst/tmpl/gstevent.sgml:
28074         * docs/gst/tmpl/gstfakesink.sgml:
28075         * docs/gst/tmpl/gstfakesrc.sgml:
28076         * docs/gst/tmpl/gstfilesink.sgml:
28077         * docs/gst/tmpl/gstfilesrc.sgml:
28078         * docs/gst/tmpl/gstfilter.sgml:
28079         * docs/gst/tmpl/gstformat.sgml:
28080         * docs/gst/tmpl/gstghostpad.sgml:
28081         * docs/gst/tmpl/gstimplementsinterface.sgml:
28082         * docs/gst/tmpl/gstindex.sgml:
28083         * docs/gst/tmpl/gstindexfactory.sgml:
28084         * docs/gst/tmpl/gstinfo.sgml:
28085         * docs/gst/tmpl/gstiterator.sgml:
28086         * docs/gst/tmpl/gstmacros.sgml:
28087         * docs/gst/tmpl/gstmemchunk.sgml:
28088         * docs/gst/tmpl/gstminiobject.sgml:
28089         * docs/gst/tmpl/gstobject.sgml:
28090         * docs/gst/tmpl/gstpad.sgml:
28091         * docs/gst/tmpl/gstpadtemplate.sgml:
28092         * docs/gst/tmpl/gstparse.sgml:
28093         * docs/gst/tmpl/gstpipeline.sgml:
28094         * docs/gst/tmpl/gstplugin.sgml:
28095         * docs/gst/tmpl/gstpluginfeature.sgml:
28096         * docs/gst/tmpl/gstquery.sgml:
28097         * docs/gst/tmpl/gstqueue.sgml:
28098         * docs/gst/tmpl/gstregistry.sgml:
28099         * docs/gst/tmpl/gstregistrypool.sgml:
28100         * docs/gst/tmpl/gstscheduler.sgml:
28101         * docs/gst/tmpl/gstschedulerfactory.sgml:
28102         * docs/gst/tmpl/gststructure.sgml:
28103         * docs/gst/tmpl/gstsystemclock.sgml:
28104         * docs/gst/tmpl/gsttaglist.sgml:
28105         * docs/gst/tmpl/gsttagsetter.sgml:
28106         * docs/gst/tmpl/gsttrace.sgml:
28107         * docs/gst/tmpl/gsttrashstack.sgml:
28108         * docs/gst/tmpl/gsttypefind.sgml:
28109         * docs/gst/tmpl/gsttypefindfactory.sgml:
28110         * docs/gst/tmpl/gsttypes.sgml:
28111         * docs/gst/tmpl/gsturihandler.sgml:
28112         * docs/gst/tmpl/gsturitype.sgml:
28113         * docs/gst/tmpl/gstutils.sgml:
28114         * docs/gst/tmpl/gstvalue.sgml:
28115         * docs/gst/tmpl/gstversion.sgml:
28116         * docs/gst/tmpl/gstxml.sgml:
28117         * docs/libs/tmpl/gstcontrol.sgml:
28118         * docs/libs/tmpl/gstdataprotocol.sgml:
28119         * docs/libs/tmpl/gstdparam.sgml:
28120         * docs/libs/tmpl/gstdplinint.sgml:
28121         * docs/libs/tmpl/gstdpman.sgml:
28122         * docs/libs/tmpl/gstdpsmooth.sgml:
28123         * docs/libs/tmpl/gstgetbits.sgml:
28124         * docs/libs/tmpl/gstunitconvert.sgml:
28125         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28126         (gst_push_src_base_init), (gst_push_src_class_init),
28127         (gst_push_src_init), (gst_push_src_create):
28128         * gst/base/gstpushsrc.h:
28129         * gst/elements/gstelements.c:
28130         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28131         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28132         (gst_fake_sink_init), (gst_fake_sink_set_property),
28133         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28134         (gst_fake_sink_event), (gst_fake_sink_preroll),
28135         (gst_fake_sink_render), (gst_fake_sink_change_state):
28136         * gst/elements/gstfakesink.h:
28137         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28138         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28139         (gst_fake_src_base_init), (gst_fake_src_class_init),
28140         (gst_fake_src_init), (gst_fake_src_event_handler),
28141         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28142         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28143         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28144         (gst_fake_src_create_buffer), (gst_fake_src_create),
28145         (gst_fake_src_start), (gst_fake_src_stop):
28146         * gst/elements/gstfakesrc.h:
28147         * gst/elements/gstfilesink.c: (_do_init),
28148         (gst_file_sink_base_init), (gst_file_sink_class_init),
28149         (gst_file_sink_init), (gst_file_sink_dispose),
28150         (gst_file_sink_set_location), (gst_file_sink_set_property),
28151         (gst_file_sink_get_property), (gst_file_sink_open_file),
28152         (gst_file_sink_close_file), (gst_file_sink_query),
28153         (gst_file_sink_event), (gst_file_sink_render),
28154         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28155         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28156         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28157         * gst/elements/gstfilesink.h:
28158         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28159         (gst_file_src_class_init), (gst_file_src_init),
28160         (gst_file_src_finalize), (gst_file_src_set_location),
28161         (gst_file_src_set_property), (gst_file_src_get_property),
28162         (gst_file_src_map_region), (gst_file_src_map_small_region),
28163         (gst_file_src_create_mmap), (gst_file_src_create_read),
28164         (gst_file_src_create), (gst_file_src_is_seekable),
28165         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28166         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28167         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28168         (gst_file_src_uri_handler_init):
28169         * gst/elements/gstfilesrc.h:
28170           more autistic cleanliness in functions/names/defines
28171
28172 2005-07-13  Andy Wingo  <wingo@pobox.com>
28173
28174         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28175         source couldn't negotiate.
28176
28177         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28178         connections again.
28179
28180         * gst/gstutils.h:
28181         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28182         function. I am channeling Hades. Put your boots on suckers!!!
28183
28184 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28185
28186         * testsuite/caps/Makefile.am:
28187         * testsuite/caps/value_compare.c:
28188         * testsuite/caps/value_intersect.c:
28189         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28190           move two testsuite apps over to the check dir
28191
28192 2005-07-12  Wim Taymans  <wim@fluendo.com>
28193
28194         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28195         Added more debug info in the negotiate process.
28196
28197         * gst/gstmessage.h:
28198         Prepare for segment playback.
28199
28200         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28201         Better debugging.
28202
28203         * gst/gstutils.c:
28204         Some more docs.
28205
28206         * tools/gst-launch.c: (main):
28207         NULL pipeline on errors.
28208
28209 2005-07-12  Andy Wingo  <wingo@pobox.com>
28210
28211         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28212         not it comes from a malloc region. Make sure our copy gets freed.
28213
28214 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28215
28216         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28217         * check/gst/gstmessage.c: (GST_START_TEST):
28218         * check/gst/gststructure.c: (GST_START_TEST),
28219         (gst_structure_suite), (main):
28220           more testing
28221         * gst/gstelement.c: (gst_element_message_full):
28222           clean up GError and debug string now that they get copied
28223         * gst/gstmessage.c: (gst_message_new_error),
28224         (gst_message_new_warning), (gst_message_parse_error),
28225         (gst_message_parse_warning):
28226           use GST_TYPE_G_ERROR for structure_new, and take copies of
28227           arguments, so that we don't mess up refcounting
28228
28229 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28230
28231         * check/Makefile.am:
28232           add per-test valgrind targets
28233         * check/gst-libs/gdp.c: (GST_START_TEST),
28234         (gst_data_protocol_suite), (main):
28235           clean up
28236
28237 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28238
28239         * check/Makefile.am:
28240           instate more valgrindable tests
28241         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28242         (GST_START_TEST), (fakesrc_suite):
28243         * check/gst/gstpad.c: (GST_START_TEST):
28244         * check/gst/gststructure.c: (GST_START_TEST):
28245           fix test leaks
28246         * docs/gst/tmpl/gstminiobject.sgml:
28247         * gst/gstpad.c: (gst_pad_finalize):
28248           fix the static mutex leak
28249
28250 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28251
28252         * check/Makefile.am:
28253           add two more tests for valgrinding
28254         * check/gst/gstvalue.c: (GST_START_TEST):
28255           test refcount of deserialized buffer, found a leak
28256         * docs/gst/gstreamer-docs.sgml:
28257         * docs/gst/gstreamer-sections.txt:
28258         * docs/gst/gstreamer.types:
28259         * docs/gst/tmpl/gstminiobject.sgml:
28260           add miniobject to docs
28261         * gst/gstminiobject.c:
28262           add some docs
28263         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28264         (gst_string_unwrap):
28265           fix a hard-to-find invalid write for one of the tests
28266           fix a leak for deserialized buffers
28267
28268 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28269
28270         * docs/pwg/advanced-events.xml:
28271         * docs/pwg/advanced-request.xml:
28272         * docs/pwg/advanced-scheduling.xml:
28273         * docs/pwg/appendix-porting.xml:
28274         * docs/pwg/building-boiler.xml:
28275         * docs/pwg/intro-preface.xml:
28276         * docs/pwg/other-ntoone.xml:
28277           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28278           of example code and explanation for pad activation, loop() and
28279           getrange() functions and a bit more. Remove old comments pointing
28280           to loop-functions.
28281         * examples/pwg/Makefile.am:
28282           Add loop/getrange examples.
28283
28284 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28285
28286         * configure.ac:
28287           check for valgrind binary + some fixes
28288         * check/gst.supp:
28289           valgrind suppressions for the tests
28290         * check/Makefile.am:
28291           add a valgrind: target that valgrinds the unit tests
28292         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28293         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28294         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28295         * check/gst/gstghostpad.c:
28296           added some cleanup
28297         * check/gst/gstdata.c:
28298           removed
28299         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28300         (thread_unref), (gst_mini_object_suite), (main):
28301           added
28302         * gst/gst.c: (gst_deinit):
28303         * gst/gst.h:
28304           add a method to clean up.
28305         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28306         (gst_system_clock_obtain):
28307           allow for disposing the system clock.
28308         * tools/gst-launch.c: (main):
28309           deinit
28310
28311 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28312
28313         * docs/gst/tmpl/gstbasesrc.sgml:
28314         * docs/gst/tmpl/gstfakesrc.sgml:
28315         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28316         (gst_base_src_init), (gst_base_src_set_property),
28317         (gst_base_src_get_property), (gst_base_src_get_range),
28318         (gst_base_src_start):
28319         * gst/base/gstbasesrc.h:
28320           add num-buffers property
28321         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28322         (gst_fakesrc_init), (gst_fakesrc_set_property),
28323         (gst_fakesrc_get_property), (gst_fakesrc_create),
28324         (gst_fakesrc_start):
28325           remove num-buffers property
28326
28327 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28328
28329         * docs/gst/gstreamer-sections.txt:
28330         * docs/gst/tmpl/gstbasesink.sgml:
28331         * docs/gst/tmpl/gstbasesrc.sgml:
28332         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28333         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28334         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28335         (gst_base_sink_set_property), (gst_base_sink_get_property),
28336         (gst_base_sink_handle_object), (gst_base_sink_event),
28337         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28338         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28339         (gst_base_sink_loop), (gst_base_sink_deactivate),
28340         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28341         (gst_base_sink_change_state):
28342         * gst/base/gstbasesink.h:
28343         * gst/base/gstbasesrc.h:
28344         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28345         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28346         (gst_filesink_init):
28347           more macro splitting
28348
28349 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28350
28351         * gst/gstelement.c: (gst_element_get_bus):
28352           add debug
28353         * tools/gst-launch.c: (check_intr), (event_loop):
28354           fix bus leaks
28355
28356 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28357
28358         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28359           fix a caps leak
28360
28361 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28362
28363         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28364         (gst_base_src_finalize):
28365           add finalize method and clean up properly
28366         * gst/gstpipeline.c: (gst_pipeline_dispose):
28367           add debug
28368
28369 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28370
28371         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28372         (gst_bin_suite):
28373           add more things to check
28374         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28375         * gst/gstelement.c:
28376           more debug
28377
28378 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28379
28380         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28381         (GST_START_TEST), (fakesrc_suite):
28382         * check/gst-libs/gdp.c: (GST_START_TEST):
28383         * check/gst/gst.c: (GST_START_TEST):
28384         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28385         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28386         * check/gst/gstbus.c: (GST_START_TEST):
28387         * check/gst/gstcaps.c: (GST_START_TEST):
28388         * check/gst/gstdata.c: (GST_START_TEST):
28389         * check/gst/gstelement.c: (GST_START_TEST):
28390         * check/gst/gstghostpad.c: (GST_START_TEST):
28391         * check/gst/gstiterator.c: (GST_START_TEST):
28392         * check/gst/gstmessage.c: (GST_START_TEST):
28393         * check/gst/gstobject.c: (GST_START_TEST):
28394         * check/gst/gstpad.c: (GST_START_TEST):
28395         * check/gst/gststructure.c: (GST_START_TEST):
28396         * check/gst/gstsystemclock.c: (GST_START_TEST),
28397         (gst_systemclock_suite):
28398         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28399         * check/gst/gstvalue.c: (GST_START_TEST):
28400         * check/pipelines/cleanup.c: (GST_START_TEST):
28401         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28402         * check/states/sinks.c: (GST_START_TEST):
28403         * check/gstcheck.c: (gst_check_init):
28404         * check/gstcheck.h:
28405           add debugging category
28406           use GST_START_TEST now, so we add a debug line
28407
28408 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28409
28410         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28411           add test for state change message on a bin
28412         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28413           add another test
28414         * gst/gstbin.c: (gst_bin_init):
28415         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28416         * gst/gstelement.c: (gst_element_post_message),
28417         (gst_element_set_state):
28418         * gst/gstelementfactory.c: (gst_element_factory_create):
28419         * gst/gstmessage.c: (gst_message_new):
28420         * gst/gstscheduler.c:
28421           various debugging additions and cleanups
28422
28423 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28424
28425         * check/Makefile.am:
28426         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28427         (main):
28428           adding tests for elements
28429         * gst/gstelement.c: (gst_element_dispose):
28430
28431 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28432
28433         * gst/registries/gstlibxmlregistry.c: (load_feature):
28434           plug more leaks.  A simple gst_init() now is leakfree, yay.
28435
28436 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28437
28438         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28439         (gst_xml_registry_load):
28440           plug another memleak
28441
28442 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28443
28444         * configure.ac:
28445           use GST_SET_ERROR_CFLAGS
28446         * docs/faq/cvs.xml:
28447           change to ERROR_CFLAGS
28448
28449 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28450
28451         * configure.ac:
28452           make GST_ERROR_CFLAGS overridable and re-enable Werror
28453         * docs/faq/cvs.xml:
28454           add a note about error CFLAGS
28455         * docs/gst/tmpl/gstfakesrc.sgml:
28456         * gst/elements/gstfakesrc.c:
28457           comment out some unused code
28458         * gst/gst.c: (split_and_iterate):
28459         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28460         (load_feature):
28461           plug some memleaks
28462
28463 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28464
28465         * common/Makefile.am:
28466         * common/gtk-doc.mak:
28467         * docs/gst/Makefile.am:
28468           factor out gtk-doc.mak
28469
28470 2005-07-07  Wim Taymans  <wim@fluendo.com>
28471
28472         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28473         (gst_thread_scheduler_dispose):
28474         Unlock the STREAM_LOCK completely.
28475
28476 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28477
28478         * check/Makefile.am:
28479         * check/elements/.cvsignore:
28480         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28481         (START_TEST), (fakesrc_suite), (main):
28482         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28483         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28484         (gst_fakesrc_create), (gst_fakesrc_start):
28485         * gst/elements/gstfakesrc.h:
28486           adding a first element test
28487
28488 2005-07-07  Andy Wingo  <wingo@pobox.com>
28489
28490         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28491         debug message.
28492
28493 2005-07-07  Wim Taymans  <wim@fluendo.com>
28494
28495         * gst/gstquery.c:
28496         * gst/gstquery.h:
28497         Remove old types
28498
28499 2005-07-07  Wim Taymans  <wim@fluendo.com>
28500
28501         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28502         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28503         Allow subclasses to implement their own negotiation.
28504
28505 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28506
28507         * docs/design/part-gstbin.txt:
28508         * docs/design/part-gstpipeline.txt:
28509           Update design notes to reflect the movement of
28510           responsibility for bus handling from GstPipeline to
28511           GstBin
28512
28513 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28514
28515         * configure.ac:
28516           Remove unnecessary queue2/3/4 examples.
28517
28518 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28519
28520         * examples/Makefile.am:
28521         * examples/helloworld/helloworld.c: (event_loop), (main):
28522         * examples/queue/queue.c: (event_loop), (main):
28523         * examples/queue2/queue2.c: (main):
28524           Update a couple of the examples to work again.
28525
28526         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28527         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28528          Spelling corrections and extra debug.
28529         
28530         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28531         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28532         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28533         * gst/gstbin.h:
28534         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28535         (gst_pipeline_change_state):
28536         * gst/gstpipeline.h:
28537           Move the bus handler for children to the GstBin, and create a
28538           separate bus for receiving messages from children to the one the
28539           bus sends 'upwards' on.
28540
28541 2005-07-06  Wim Taymans  <wim@fluendo.com>
28542
28543         * gst/base/README:
28544         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28545         (gst_base_sink_handle_object), (gst_base_sink_loop),
28546         (gst_base_sink_change_state):
28547         * gst/base/gstbasesink.h:
28548         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28549         (gst_base_src_init), (gst_base_src_setcaps),
28550         (gst_base_src_getcaps), (gst_base_src_loop),
28551         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28552         (gst_base_src_start), (gst_base_src_change_state):
28553         * gst/base/gstbasesrc.h:
28554         Make basesrc negotiate.
28555         Handle the case where preroll fails in basesink.
28556         Update README.
28557
28558 2005-07-06  Wim Taymans  <wim@fluendo.com>
28559
28560         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28561         Implement the fixate function.
28562         Clean up acceptcaps.
28563
28564 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28565
28566         * docs/pwg/building-filterfactory.xml:
28567         * docs/pwg/pwg.xml:
28568           Remove never-written filter-factory chapter; I'll add the various
28569           base classes to part 4 ("other element types") later on.
28570
28571 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28572
28573         * docs/pwg/advanced-negotiation.xml:
28574         * docs/pwg/building-boiler.xml:
28575         * docs/pwg/building-pads.xml:
28576         * docs/pwg/pwg.xml:
28577         * examples/pwg/Makefile.am:
28578           Add a chapter on caps negotiation, simplify the original code
28579           samples a bit w.r.t. caps negotiation, add link to the advanced
28580           section. Add a bunch of examples showing different use cases of
28581           different types of caps negotiation. Upstream renegotiation isn't
28582           fully documented yet since nobody knows how that works.
28583
28584 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28585
28586         * check/gst/gstpad.c:
28587         * check/gstcheck.c:
28588         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28589           if pad has no parent, return NULL as list of internal links
28590
28591 2005-07-05  Andy Wingo  <wingo@pobox.com>
28592
28593         * gst/elements/gstfilesrc.c:
28594         * gst/elements/gstfakesrc.c: 
28595         * gst/base/gstpushsrc.c:
28596         * gst/base/gstbasesrc.h: 
28597         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28598         
28599 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28600
28601         * Makefile.am:
28602           better report generation target (lcov needs a patch)
28603
28604 2005-07-05  Andy Wingo  <wingo@pobox.com>
28605
28606         * gst/elements, testsuite: Null if we got it...
28607
28608 2005-07-05  Wim Taymans  <wim@fluendo.com>
28609
28610         * configure.ac:
28611         * libs/gst/dataprotocol/Makefile.am:
28612         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28613         * libs/gst/dataprotocol/dataprotocol.h:
28614         * pkgconfig/Makefile.am:
28615         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28616         * pkgconfig/gstreamer-dataprotocol.pc.in:
28617         Ported dataprotol to 0.9. 
28618         Added pkgconfig files.
28619
28620 2005-07-05  Andy Wingo  <wingo@pobox.com>
28621
28622         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28623         Default to returning TRUE for the case when tranform_caps returns
28624         a fixed caps, like for identity or volume.
28625
28626         * check/gst/gstbus.c (pound_bus_with_messages): 
28627         * check/gst/gstmessage.c (START_TEST): 
28628         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28629         message API change.
28630
28631         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28632         logic weaks here: always run transform_caps, trying passthrough
28633         operation only if the original caps intersects with the transform.
28634
28635         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28636         source and sink caps.
28637
28638         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28639         Intersect the peer caps with the pad template before going into
28640         transform_caps.
28641         (gst_base_transform_transform_caps): More debugging.
28642
28643         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28644         src argument.
28645
28646 2005-07-04  Edward Hervey  <edward@fluendo.com>
28647
28648         * gst/gstutils.c:
28649         * gst/gstutils.h:
28650         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28651         in bindings.
28652
28653 2005-07-04  Andy Wingo  <wingo@pobox.com>
28654
28655         * check/gst/gstpad.c: Only set explicit caps on pads.
28656
28657 2005-07-01  Andy Wingo  <wingo@pobox.com>
28658
28659         * tests/network-clock.scm: Commentary update.
28660
28661         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28662         Didn't really make sense, not implementable with basetransform,
28663         etc.
28664         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28665         attempt at implementing the sync property, needs an unlock method.
28666
28667         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28668         New func, by default returns the same caps (the identity
28669         transformation).
28670         (gst_base_transform_getcaps): Uses transform_caps to return
28671         something sensible.
28672         (gst_base_transform_setcaps): Complicated logic to get caps on
28673         both pads, even if they are different, and to call set_caps once
28674         for every time both pads get their caps set.
28675         (gst_base_transform_handle_buffer): Give the ref to the transform
28676         function. Allows in-place modification of the buffer.
28677
28678         * gst/base/gstbasetransform.h (transform_caps): New class method.
28679         Given caps on one side, what can I do on the other.
28680         (set_caps): Take two caps, one for each side of the element.
28681
28682         * gst/gstpad.h:
28683         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28684         caps in place. This is safe because we can check the mutability of
28685         the caps, and a good idea because fixate functions are just called
28686         as a matter of last resort. (Not actually implemented.)
28687         (gst_pad_set_caps): If the caps we're setting is actually the same
28688         as the existing pad caps, just update the pointer without calling
28689         setcaps. Assert that caps is either NULL or fixed, as per the
28690         docs.
28691
28692         * gst/gstghostpad.c: Update for fixate changes.
28693
28694 2005-07-02  Andy Wingo  <wingo@pobox.com>
28695
28696         * gst/gstcaps.c:
28697         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28698         two refcounts makes it immutable, which is enough. Doc more.
28699
28700 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28701
28702         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28703           Put the mini_object into GValue as a mini_object,
28704           not a gpointer, since that's how we declared
28705           the signal.
28706
28707 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28708
28709         * examples/pwg/Makefile.am:
28710           Fix buildbot again.
28711
28712 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28713
28714         * docs/pwg/building-testapp.xml:
28715           Add extra check.
28716         * examples/pwg/Makefile.am:
28717           Fix buildbot.
28718
28719 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28720
28721         * configure.ac:
28722         * examples/Makefile.am:
28723         * examples/pwg/Makefile.am:
28724         * examples/pwg/extract.pl:
28725           Enable building the PWG examples.
28726         * docs/pwg/advanced-interfaces.xml:
28727           Add URI interface stub.
28728         * docs/pwg/advanced-types.xml:
28729         * docs/pwg/other-autoplugger.xml:
28730         * docs/pwg/appendix-porting.xml:
28731         * docs/pwg/pwg.xml:
28732           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28733         * docs/pwg/building-boiler.xml:
28734         * docs/pwg/building-chainfn.xml:
28735         * docs/pwg/building-pads.xml:
28736         * docs/pwg/building-props.xml:
28737         * docs/pwg/building-state.xml:
28738         * docs/pwg/building-testapp.xml:
28739           Update the building-*.xml parts for 0.9 changes. All examples
28740           code blocks compile in examples/pwg/*.
28741
28742 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28743
28744         * docs/manual/advanced-autoplugging.xml:
28745         * docs/manual/appendix-checklist.xml:
28746         * docs/manual/appendix-integration.xml:
28747         * docs/manual/highlevel-components.xml:
28748           Fix playbin/decodebin examples, update docs a bit, mention bus
28749           instead of signals in various places, mention kmplayer and
28750           kaffeine since they have a working GStreamer backend in the KDE
28751           section.
28752
28753 2005-06-30  Wim Taymans  <wim@fluendo.com>
28754
28755         * CHANGES-0.9:
28756         * docs/design/draft-ghostpads.txt:
28757         * docs/design/draft-push-pull.txt:
28758         * docs/design/draft-query.txt:
28759         * docs/design/part-TODO.txt:
28760         * docs/design/part-query.txt:
28761         Added CHANGES-0.9 doc, updated status of other docs.
28762         
28763         * gst/gstquery.h:
28764         Remove "hmm" macro
28765
28766 2005-06-30  Wim Taymans  <wim@fluendo.com>
28767
28768         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28769         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28770         (gst_base_sink_change_state):
28771         * gst/base/gstbasesink.h:
28772         Some tweaks, only EOS and a buffer complete a preroll.
28773
28774 2005-06-30  Andy Wingo  <wingo@pobox.com>
28775
28776         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28777         activate_push down to the internal pad as well.
28778
28779 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28780
28781         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28782
28783         * gst/gsttaginterface.c:
28784           Some documentation fixes (#307394 and #307397).
28785
28786 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28787
28788         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28789
28790         * gst/gstvalue.c: (gst_value_intersect_list):
28791           Fix memleak (#309125).
28792
28793 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28794
28795         * docs/manual/advanced-dataaccess.xml:
28796           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28797         * docs/manual/basics-pads.xml:
28798           Add reference for filtered caps to above chapter.
28799
28800 2005-06-30  Wim Taymans  <wim@fluendo.com>
28801
28802         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28803         (gst_bin_change_state):
28804         Probes are gone.
28805         Lame attempt at making the state change function a bit
28806         more readable.
28807
28808 2005-06-30  Wim Taymans  <wim@fluendo.com>
28809
28810         * docs/design/part-clocks.txt:
28811         * docs/design/part-element-sink.txt:
28812         * docs/design/part-events.txt:
28813         * docs/design/part-preroll.txt:
28814         * docs/design/part-states.txt:
28815         Some more tweeks and additions to the docs.
28816
28817 2005-06-30  Wim Taymans  <wim@fluendo.com>
28818
28819         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28820         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28821         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28822         (gst_pad_check_pull_range), (gst_pad_get_range),
28823         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28824         * gst/gstpad.h:
28825         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28826         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28827         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28828         (gst_pad_remove_buffer_probe):
28829         Removed atomic operations, use existing LOCK.
28830         Move exception handling out of main code path.
28831
28832 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28833
28834         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28835         (silly_return_true_function), (gst_pad_class_init),
28836         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28837         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28838         (gst_pad_send_event):
28839           Fix accumulator, add default value by using _emitv() instead
28840           of _emit() for signal emission.
28841
28842 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28843
28844         * docs/manual/advanced-dataaccess.xml:
28845         * examples/manual/Makefile.am:
28846           Add probe example.
28847         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28848           Make work (??).
28849
28850 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28851
28852         * gst/elements/gstfilesink.c: (gst_filesink_render):
28853           Simplify code so that we don't have to handle short
28854           writes and return GST_FLOW_ERROR if an error occured.
28855
28856 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28857
28858         * docs/gst/gstreamer-docs.sgml:
28859           Remove probes more.
28860
28861 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28862
28863         * docs/gst/gstreamer-sections.txt:
28864         * docs/gst/tmpl/gstpad.sgml:
28865         * docs/gst/tmpl/gstprobe.sgml:
28866         * gst/Makefile.am:
28867         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28868         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28869         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28870         (gst_pad_push_event), (gst_pad_send_event):
28871         * gst/gstpad.h:
28872         * gst/gstutils.c: (gst_pad_add_data_probe),
28873         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28874         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28875         (gst_pad_remove_buffer_probe):
28876         * gst/gstutils.h:
28877           Remove old probes, add new g-signal-based probes and some utility
28878           functions.
28879
28880 2005-06-29  Edward Hervey  <edward@fluendo.com>
28881
28882         * gst/gstelementfactory.c:
28883         * gst/gstutils.h:
28884         * gst/gstutils.c:
28885         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28886         the definition to the header file.
28887
28888 2005-06-29  Andy Wingo  <wingo@pobox.com>
28889
28890         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28891         plugins from the source directory.
28892
28893 2005-06-29  Wim Taymans  <wim@fluendo.com>
28894
28895         * docs/gst/tmpl/gstbuffer.sgml:
28896         * docs/gst/tmpl/gstclock.sgml:
28897         Some fixings for blantently wrong text.
28898
28899 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28900
28901         * check/Makefile.am:
28902         * gst/gst.c: (add_path_func), (init_pre):
28903         * gst/gstregistry.c: (gst_registry_add_path):
28904           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28905           only scan the GST_PLUGIN_PATH locations, and not add
28906           system locations
28907
28908 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28909
28910         * docs/gst/gstreamer-sections.txt:
28911         * docs/gst/tmpl/gstbasesrc.sgml:
28912         * gst/gstelement.c:
28913         * gst/gstelement.h:
28914         * gst/gstevent.c:
28915         * gst/gstutils.c:
28916           doc fixes
28917
28918 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28919
28920         * docs/manual/advanced-autoplugging.xml:
28921           Fix autoplugging example.
28922
28923 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28924
28925         * docs/manual/advanced-autoplugging.xml:
28926         * docs/manual/mime-world.fig:
28927           Try to get autoplugging working, fix type detection. Fix text
28928           in hello-world image.
28929
28930 2005-06-29  Wim Taymans  <wim@fluendo.com>
28931
28932         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28933         (gst_base_sink_change_state):
28934         Small debug line.
28935
28936         * gst/gstclock.h:
28937         map SIGNAL and BROADCAST to the right function.
28938
28939         * gst/gstobject.h:
28940         Remove redundant braces.
28941
28942         * gst/gstpad.c: (gst_pad_set_caps):
28943         Don't call setcaps function when reseting caps to NULL.
28944
28945         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28946         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28947         (gst_system_clock_id_unschedule):
28948         Use BROADCAST as this is what we do.
28949
28950 2005-06-29  Wim Taymans  <wim@fluendo.com>
28951
28952         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28953         We are actually prerolling before commiting the state
28954         change. 
28955
28956 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28957
28958         * docs/manual/advanced-clocks.xml:
28959         * docs/manual/advanced-interfaces.xml:
28960         * docs/manual/advanced-metadata.xml:
28961         * docs/manual/advanced-position.xml:
28962         * docs/manual/advanced-schedulers.xml:
28963         * docs/manual/advanced-threads.xml:
28964         * docs/manual/appendix-porting.xml:
28965         * docs/manual/basics-bins.xml:
28966         * docs/manual/basics-bus.xml:
28967         * docs/manual/basics-elements.xml:
28968         * docs/manual/basics-helloworld.xml:
28969         * docs/manual/basics-pads.xml:
28970         * docs/manual/highlevel-components.xml:
28971         * docs/manual/manual.xml:
28972         * docs/manual/thread.fig:
28973           Update (until threads/scheduling) Application Development Manual;
28974           remove GstThread, add GstBus, add simple porting checklist, add
28975           documentation for tag writing, clocks, make all examples until this
28976           part compile and run.
28977         * examples/manual/Makefile.am:
28978           Update from changes to Application Development Manual; add bus
28979           example, remove thread example.
28980
28981 2005-06-28  Wim Taymans  <wim@fluendo.com>
28982
28983         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28984         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28985         (gst_bus_source_dispatch):
28986         Add debugging messages.
28987         Make internal methods static.
28988         Handle the case where the bus is flushed in the handler.
28989         
28990         * gst/gstelement.c: (gst_element_get_bus):
28991         Fix refcount in _get_bus();
28992
28993         * gst/gstpipeline.c: (gst_pipeline_change_state),
28994         (gst_pipeline_get_clock_func):
28995         Clock refcounting fixes.
28996         Handle the case where preroll timed out more gracefully.
28997         
28998         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28999         Clean up the internal thread in dispose. This is needed
29000         for subclasses that actually get disposed.
29001         
29002         * gst/schedulers/threadscheduler.c:
29003         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29004         (gst_thread_scheduler_dispose):
29005         Free thread pool in dispose.
29006
29007 2005-06-28  Andy Wingo  <wingo@pobox.com>
29008
29009         * tests/network-clock-utils.scm (debug, print-event): New utils.
29010
29011         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29012         (*packet-loss*): Unified loss probability.
29013         (network-time): Report out-of-band events.
29014
29015         * tests/plot-data: Add support for out-of-band events. Hack it
29016         into this script instead of passing it down the pipe; should fix
29017         this later.
29018
29019 2005-06-28  Wim Taymans  <wim@fluendo.com>
29020
29021         * docs/gst/gstreamer.types:
29022         * docs/gst/tmpl/gstbasesrc.sgml:
29023         * docs/gst/tmpl/gstpad.sgml:
29024         Docs fixes.
29025
29026 2005-06-28  Wim Taymans  <wim@fluendo.com>
29027
29028         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29029         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29030         (gst_proxy_pad_do_fixatecaps):
29031         Correctly proxy the check_pull_range function.
29032
29033 2005-06-28  Andy Wingo  <wingo@pobox.com>
29034
29035         * tests/network-clock.scm: Removed need for slib.
29036         
29037 2005-06-28  Wim Taymans  <wim@fluendo.com>
29038
29039         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29040         (gst_basesink_preroll_queue_flush):
29041         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29042         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29043         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29044         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29045         (gst_proxy_pad_set_property):
29046         * gst/gstpad.c:
29047         * gst/gstpad.h:
29048         * gst/gstqueue.c: (gst_queue_init):
29049         The deprecated pad loop function is removed now.
29050
29051 2005-06-28  Andy Wingo  <wingo@pobox.com>
29052
29053         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29054         New parameters, simulate network packet loss.
29055
29056         * tests/network-clock-utils.scm: Initialize the RNG.
29057
29058 2005-06-28  Wim Taymans  <wim@fluendo.com>
29059
29060         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29061         (gst_basesink_event), (gst_basesink_deactivate):
29062         Flushing the preroll queue always needs to unlock the waiters.
29063
29064 2005-06-28  Edward Hervey  <edward@fluendo.com>
29065
29066         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29067         Wheen a seek was successful on a pipeline, set the stream_time to the
29068         seek offset in order to have a synchronized stream_time.
29069
29070 2005-06-28  Wim Taymans  <wim@fluendo.com>
29071
29072         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29073         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29074         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29075         (gst_proxy_pad_do_fixatecaps):
29076         Call wrapper function instead of just calling the function
29077         pointers. This takes care of any locking and whatmore.
29078
29079 2005-06-28  Wim Taymans  <wim@fluendo.com>
29080
29081         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29082         (gst_pad_pull_range):
29083         * gst/gstpad.h:
29084         CONNECTED -> LINKED.
29085
29086 2005-06-28  Andy Wingo  <wingo@pobox.com>
29087
29088         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29089         source-munging commit!!!
29090
29091         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29092         (gst_object_sink): Take gpointer arguments, not GstObject --
29093         avoids casts. Like GLib.
29094
29095         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29096         activate.
29097
29098 2005-06-27  Andy Wingo  <wingo@pobox.com>
29099
29100         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29101         remaining buffer.
29102
29103         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29104         returns a sorted copy of the trace list.
29105         (gst_alloc_trace_print_live): New API, only prints traces with
29106         live objects. Sort the list.
29107         (gst_alloc_trace_print_all): Sort the list.
29108         (gst_alloc_trace_print): Align columns.
29109
29110         * gst/elements/gstttypefindelement.c:
29111         * gst/elements/gsttee.c:
29112         * gst/base/gstbasesrc.c:
29113         * gst/base/gstbasesink.c:
29114         * gst/base/gstbasetransform.c:
29115         * gst/gstqueue.c: Adapt for pad activation changes.
29116
29117         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29118         sched.
29119         (gst_pipeline_dispose): Drop ref on sched.
29120
29121         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29122         (gst_pad_activate_default): Push mode by default.
29123         (pre_activate_switch, post_activate_switch): New stubs, things to
29124         do before and after switching activation modes on pads.
29125         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29126         the pad's activate function to choose which mode to activate.
29127         Shortcut on deactivation and call the right function directly.
29128         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29129         mode.
29130         (gst_pad_activate_push): New API, same for push mode.
29131         (gst_pad_set_activate_function) 
29132         (gst_pad_set_activatepull_function) 
29133         (gst_pad_set_activatepush_function): Setters for new API.
29134
29135         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29136         Trace all miniobjects.
29137         (gst_mini_object_make_writable): Unref the arg if we copy, like
29138         gst_caps_make_writable.
29139
29140         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29141
29142         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29143         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29144         Adapt for new pad API.
29145
29146         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29147
29148         * gst/gstelement.h:
29149         * gst/gstelement.c (gst_element_iterate_src_pads) 
29150         (gst_element_iterate_sink_pads): New API functions.
29151         
29152         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29153         should fold into gstiterator.c in some form.
29154         (gst_element_pads_activate): Simplified via use of fold and
29155         delegation of decisions to gstpad->activate.
29156
29157         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29158         help in debugging.
29159
29160         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29161         class once in init, like gstmessage. Didn't run into this issue
29162         but it seems correct. Don't initialize a trace, gstminiobject does
29163         that.
29164
29165         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29166         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29167         to the bus.
29168         (assert_live_count): New util function, uses alloc traces to check
29169         cleanup.
29170
29171         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29172         To be modified when unlink drops the internal pad.
29173
29174 2005-06-27  Wim Taymans  <wim@fluendo.com>
29175
29176         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29177         (gst_bin_change_state):
29178         Cleanup the get_state() function a little, make sure it
29179         iterates the same set of elements.
29180         Added stub iterate_state_order().
29181
29182 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29183
29184         * docs/gst/gstreamer-docs.sgml:
29185         * docs/gst/gstreamer-sections.txt:
29186         * docs/gst/gstreamer.types:
29187         * docs/gst/tmpl/gstbasesink.sgml:
29188         * docs/gst/tmpl/gstbasesrc.sgml:
29189         * docs/gst/tmpl/gstbasetransform.sgml:
29190         * docs/gst/tmpl/gstelement.sgml:
29191         * docs/gst/tmpl/gstiterator.sgml:
29192         * gst/base/gstbasesrc.c:
29193         * gst/base/gstbasesrc.h:
29194         * gst/base/gstbasetransform.h:
29195         * gst/gstelement.c:
29196         * gst/gstiterator.h:
29197           adding basetransform and iterator docs
29198
29199 2005-06-27  Andy Wingo  <wingo@pobox.com>
29200
29201         * docs/design/part-activation.txt: Notes on how activation should
29202         work -- not quite implemented yet.
29203
29204 2005-06-25  Wim Taymans  <wim@fluendo.com>
29205
29206         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29207         At least get the chain function correct, needs more
29208         fixing.
29209
29210 2005-06-25  Wim Taymans  <wim@fluendo.com>
29211
29212         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29213         (gst_basesink_handle_object), (gst_basesink_event),
29214         (gst_basesink_do_sync), (gst_basesink_handle_event),
29215         (gst_basesink_change_state):
29216         * gst/gsttask.h:
29217         Right, two problems here: ghostpads don't take locks and
29218         glib _rec_mutex_lock_full() with depth==0 still locks.
29219         Catch illegal locking and g_warn them.
29220
29221 2005-06-25  Wim Taymans  <wim@fluendo.com>
29222
29223         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29224         Have to check for completion now...
29225
29226 2005-06-25  Wim Taymans  <wim@fluendo.com>
29227
29228         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29229         (gst_basesink_handle_object), (gst_basesink_event),
29230         (gst_basesink_do_sync), (gst_basesink_handle_event),
29231         (gst_basesink_change_state):
29232         * gst/gstpad.h:
29233         Unlock STREAM_LOCK whatever the recursion was.
29234
29235 2005-06-25  Wim Taymans  <wim@fluendo.com>
29236
29237         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29238         (gst_basesink_preroll_queue_empty),
29239         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29240         (gst_basesink_event), (gst_basesink_do_sync),
29241         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29242         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29243         (gst_basesink_change_state):
29244         Reworked the base sink, handle event and buffer serialisation
29245         correctly and removed possible deadlock.
29246         Handle EOS correctly.
29247
29248 2005-06-25  Wim Taymans  <wim@fluendo.com>
29249
29250         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29251         (gst_pipeline_change_state):
29252         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29253         Allow elements to post EOS in the state change function.
29254         Fix up -launch, make it exit the poll loop when the
29255         pipeline actually changed state.
29256         Fix up warning parsing in -launch.
29257
29258 2005-06-25  Wim Taymans  <wim@fluendo.com>
29259
29260         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29261         (gst_tee_sink_activate):
29262         Core takes STREAM_LOCK for us now.
29263
29264 2005-06-25  Wim Taymans  <wim@fluendo.com>
29265
29266         * gst/gstelement.c: (gst_element_get_state_func),
29267         (gst_element_set_state):
29268         * gst/gstelement.h:
29269         * gst/gstmessage.c: (gst_message_parse_error),
29270         (gst_message_parse_warning):
29271         Keep track of current target state while performing a state
29272         change so that subclasses can do something interesting.
29273         Fix parsing of warning/error messages when GError is NULL.
29274
29275 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29276
29277         * docs/gst/Makefile.am:
29278         * docs/gst/gstreamer-docs.sgml:
29279         * docs/gst/gstreamer-sections.txt:
29280         * docs/gst/gstreamer.types:
29281         * docs/gst/tmpl/gstbasesink.sgml:
29282         * docs/gst/tmpl/gstbasesrc.sgml:
29283         * docs/gst/tmpl/gstbin.sgml:
29284         * docs/gst/tmpl/gstcompat.sgml:
29285         * docs/gst/tmpl/gstfakesink.sgml:
29286         * docs/gst/tmpl/gstfakesrc.sgml:
29287         * docs/gst/tmpl/gstfilesink.sgml:
29288         * docs/gst/tmpl/gstfilesrc.sgml:
29289         * docs/gst/tmpl/gstindex.sgml:
29290         * docs/manual/appendix-quotes.xml:
29291         * gst/base/gstbasesrc.h:
29292         * gst/elements/gstfakesrc.h:
29293         * gst/gstmessage.h:
29294           start pulling in base classes and elements in our docs
29295
29296 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29297
29298         * docs/gst/Makefile.am:
29299         * docs/libs/Makefile.am:
29300           fixed make distcheck with gtk-doc 1.3
29301
29302 2005-06-23  Wim Taymans  <wim@fluendo.com>
29303
29304         * gst/gstelement.c: (gst_element_get_state_func),
29305         (gst_element_set_state), (gst_element_change_state):
29306         When the state did not change, also report NO_PREROLL
29307         when it matters.
29308
29309 2005-06-23  Wim Taymans  <wim@fluendo.com>
29310
29311         * gst/gstpad.c: (gst_pad_event_default):
29312         * gst/gstqueue.c: (gst_queue_loop):
29313         No unsafe task pausing please.
29314
29315 2005-06-23  Wim Taymans  <wim@fluendo.com>
29316
29317         * gst/schedulers/threadscheduler.c:
29318         (gst_thread_scheduler_task_start),
29319         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29320         Ref the task before pushing it on the threadpool. This
29321         makes sure that we have a ref when the threadfunction is
29322         actually called.
29323
29324 2005-06-23  Andy Wingo  <wingo@pobox.com>
29325
29326         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29327         offset is greater than the file's size.
29328
29329         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29330         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29331         * gst/gstobject.c (gst_object_class_init): Make the class lock
29332         recursive. Wim won't let me drop deep_notify. Decodebin works
29333         again, whoopdy doo.
29334
29335         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29336         internal pad, and hacks accordingly. Doesn't do it on the target
29337         pad because we change its caps. Probably catches all cases of
29338         interest tho.
29339         (gst_ghost_pad_set_property): Connect to notify::caps as
29340         appropritate.
29341
29342         * tests/network-clock.scm (plot-simulation): Pipe data to the
29343         elite python skript.
29344
29345         * tests/network-clock-utils.scm (define-parameter): New macro,
29346         defines a parameter that can be set via the command line.
29347         (set-parameter!, parse-parameter-arguments): Command line args
29348         parser.
29349
29350         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29351         stdin.
29352
29353 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29354
29355         * gst/elements/gsttypefindelement.c:
29356         (gst_type_find_element_handle_event):
29357           Don't restart typefinding on a discont.
29358         * gst/gstelement.c: (gst_element_set_state):
29359           Debug spelling fix.
29360         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29361           Allow changing mode of an active pad.
29362           Debug output fixes.
29363         * gst/registries/gstlibxmlregistry.c: (load_feature):
29364           Don't cast a static pad template to a normal pad template.
29365
29366 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29367
29368         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29369         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29370           remove gst_strtoll completely, since it didn't actually do
29371           anything more than what g_ascii_strtoull already does.
29372           check for range errors when deserializing
29373           do a cast for the unsigned cases; but further fixing needs
29374           a decision on what the interpretation of "(int)" and
29375           deserialization should be for values that fall outside the
29376           type's boundaries (ie, refuse, or interpret as casting)
29377
29378 2005-06-23  Wim Taymans  <wim@fluendo.com>
29379
29380         * check/Makefile.am:
29381         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29382         * docs/design/part-live-source.txt:
29383         * docs/design/part-states.txt:
29384         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29385         (gst_basesrc_set_live), (gst_basesrc_is_live),
29386         (gst_basesrc_get_range), (gst_basesrc_activate),
29387         (gst_basesrc_change_state):
29388         * gst/base/gstbasesrc.h:
29389         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29390         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29391         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29392         * gst/gstelement.c: (gst_element_get_state_func),
29393         (gst_element_set_state):
29394         * gst/gstelement.h:
29395         * gst/gsttypes.h:
29396         * tools/gst-launch.c: (event_loop), (main):
29397         Added support for live sources and other elements that
29398         cannot do preroll.
29399         Updated design docs, added live-source design doc.
29400         Implemented live source functionality in basesrc
29401         Fix error condition in _bin_get_state()
29402         Implement live source handling in -launch.
29403         Added check for live sources.
29404         Fixed case in GstBin where elements were changed state
29405         multiple times.
29406
29407
29408 2005-06-23  Andy Wingo  <wingo@pobox.com>
29409
29410         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29411         borken refcounting.
29412
29413         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29414         gst_caps_replace takes care of this for us.
29415
29416         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29417         gst_pad_set_caps on the target, not just its setcaps() function.
29418
29419         * tests/network-clock.scm: 
29420         * tests/network-clock-utils.scm: A network clock simulator.
29421         Something of an algorithmic testbed before doing something in C.
29422
29423 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29424
29425         * check/Makefile.am:
29426         * check/gst/capslist.h:
29427           copy over from 0.8, and add two with bitmasks specified with
29428           (int) 0xFF...
29429         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29430           add test to parse everything from capslist.h
29431         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29432         (main):
29433           add test for structure deserialization
29434         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29435           add tests for deserialization of strings to int types
29436         * gst/gststructure.c: (gst_structure_nth_field_name):
29437         * gst/gststructure.h:
29438           add a way to get the name of a field referenced by index
29439         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29440           instead of checking if the resulting long long lies between
29441           min and max, we check if the long long would fit into
29442           a number of bytes for the final type.
29443           This fixes cases where a string represents 2^32 - 1, which
29444           when cast to int would be the (valid) -1, but is bigger than
29445           G_MAXINT
29446
29447 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29448
29449         * gst/parse/grammar.y:
29450           add a log line for type deserialization
29451
29452 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29453
29454         * check/gst/gstvalue.c: (START_TEST):
29455         * gst/gstvalue.c: (gst_value_deserialize):
29456           return long long, not int, so gint64 deserialization actually
29457           works.  Is there any flag that makes the compiler check this ?
29458           Fixes #308559
29459
29460 2005-06-22  Wim Taymans  <wim@fluendo.com>
29461
29462         * gst/gstbuffer.h:
29463         Added convenience macros for setting buffers in GValue.
29464
29465 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29466
29467         * check/gst/.cvsignore:
29468         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29469           add a test deserializing int64, and comment part out because
29470           it fails, yay !
29471
29472 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29473
29474         * check/Makefile.am:
29475         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29476         * testsuite/Makefile.am:
29477         * testsuite/caps/Makefile.am:
29478         * testsuite/caps/value_serialize.c:
29479         * testsuite/test_gst_init.c:
29480           move a value_serialize test over
29481
29482 2005-06-20  Wim Taymans  <wim@fluendo.com>
29483
29484         * gst/gstpad.c:
29485         Small doc updates.
29486         
29487         * gst/gstvalue.c: (gst_value_compare_buffer),
29488         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29489         (gst_value_compare_flags), (gst_value_serialize_flags),
29490         (gst_value_deserialize_flags), (_gst_value_initialize):
29491         Fix serialisation of buffers, they are not boxed types anymore
29492
29493 2005-06-20  Wim Taymans  <wim@fluendo.com>
29494
29495         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29496         Testcase to show error in buffer-on-caps serialisation.
29497
29498 2005-06-20  Andy Wingo  <wingo@pobox.com>
29499
29500         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29501         will be adding to later.
29502
29503         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29504         if its socks fill with rocks.
29505         (gst_system_clock_obtain): Set the name on object construction.
29506         Avoid double-checked locking.
29507
29508 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29509
29510         * gst/gsturi.c: (gst_element_make_from_uri):
29511           Fix potential endless loop.
29512
29513 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29514
29515         * check/Makefile.am:
29516           add gsttag
29517         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29518         (main):
29519           move over from testsuite dir and clean up
29520         * configure.ac:
29521         * gst/gsttag.c:
29522         * testsuite/Makefile.am:
29523         * testsuite/tags/.cvsignore:
29524         * testsuite/tags/Makefile.am:
29525         * testsuite/tags/merge.c:
29526           remove testsuite/tags
29527
29528 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29529
29530         * docs/gst/gstreamer-sections.txt:
29531         * docs/gst/tmpl/gstenumtypes.sgml:
29532         * win32/gstenumtypes.c:
29533           clean up documentation build a little
29534
29535 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29536
29537         * check/gstcheck.h:
29538           add macros for checking refcounts on objects and caps
29539         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29540           add some more unit tests
29541         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29542         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29543           fix leaked refcounts (I hope :)) so unittest works
29544         * gst/gstpad.h:
29545           whitespace removal
29546
29547 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29548
29549         * configure.ac: back to HEAD
29550
29551 === release 0.9.1 ===
29552
29553 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29554
29555         * NEWS:
29556         * RELEASE:
29557           updated
29558
29559 2005-06-17  Andy Wingo  <wingo@pobox.com>
29560
29561         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29562         assert; it's always possible that the pad gets deactivated in
29563         between the checks in gstpad.c and the implementation. Rely on
29564         finish_preroll() to return a FLUSHING or similar instead of on the
29565         assert.
29566         
29567         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29568         clock and post an EOS message if we come out of finish_preroll in
29569         the playing state.
29570
29571 2005-06-16  David Schleef  <ds@schleef.org>
29572
29573         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29574         (gst_capsfilter_set_property): Allow NULL as possible value
29575         for filter_caps property, indicating GST_CAPS_ANY.
29576
29577 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29578
29579         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29580           fix debug output
29581         * gst/schedulers/Makefile.am:
29582           use libgst prefix
29583         * gstreamer.spec.in:
29584           fix spec for it
29585
29586 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29587
29588         * gstreamer.spec.in:
29589           clean up
29590
29591 2005-06-08  Andy Wingo  <wingo@pobox.com>
29592
29593         * gst/gstutils.c: RPAD fixes all around.
29594         (gst_element_link_pads): Refcounting fixes.
29595
29596         * tools/gst-inspect.c:
29597         * tools/gst-xmlinspect.c:
29598         * parse/grammar.y:
29599         * gst/base/gsttypefindhelper.c:
29600         * gst/base/gstbasesink.c:
29601         * gst/gstqueue.c: RPAD fixes.
29602
29603         * gst/gstghostpad.h:
29604         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29605         pads. The tricky thing is they provide both source and sink
29606         interfaces, since they proxy the internal pad for the external
29607         pad, and vice versa. Implement with lower-level ProxyPad objects,
29608         with the interior proxy pad as a child of the exterior ghost pad.
29609         Should write a doc on this.
29610         
29611         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29612         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29613         gst_object API.
29614         
29615         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29616         pads are real pads. No ghost pads in this file. Not documenting
29617         the myriad s/RPAD/PAD/ and REALIZE fixes.
29618         (gst_pad_class_init): Add properties for "direction" and
29619         "template". Both are construct-only, so they can't change during
29620         the life of the pad. Fixes properly deriving from GstPad.
29621         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29622         derived objects, just set properties when creating the objects via
29623         g_object_new.
29624         (gst_pad_get_parent): Implement as a function, return NULL if the
29625         parent is not an element.
29626         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29627         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29628         
29629         * gst/gstobject.c (gst_object_class_init): Make name a construct
29630         property. Don't set it in the object init.
29631
29632         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29633         with UNKNOWN direction.
29634         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29635         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29636         (gst_element_remove_pad): Remove ghost-pad special cases.
29637         (gst_element_pads_activate): Remove rpad cruft.
29638
29639         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29640         catch the pad's-parent-not-an-element case.
29641
29642         * gst/gst.h: Include gstghostpad.h.
29643
29644         * gst/gst.c (init_post): No more real, ghost pads.
29645
29646         * gst/Makefile.am: Add gstghostpad.[ch].
29647
29648         * check/Makefile.am:
29649         * check/gst/gstbin.c:
29650         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29651         into a bin creates ghost pads, and that the refcounts are right.
29652         Partly moved from gstbin.c.
29653
29654 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29655
29656         * check/gst-libs/.cvsignore:
29657         * check/gst/.cvsignore:
29658         * check/pipelines/.cvsignore:
29659           ignore more
29660         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29661         (START_TEST), (cleanup_suite), (main):
29662           add some tests related to cleanup after running pipelines
29663
29664 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29665
29666         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29667           add a testsuite for GstBuffer
29668
29669 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29670
29671         * gst/gstminiobject.h:
29672           add defines for accessing the refcount
29673
29674 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29675
29676         * Makefile.am: added support for html unit test coverage reports
29677
29678 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29679
29680         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29681           Free existing caps if the capsfilter changes. Add a FIXME about
29682           setting those caps on the pads.
29683
29684         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29685           Before adding a ghost pad to a parent bin, check that there isn't
29686           already one for the element on the bin. Prevents infinite recursion
29687           when using decodebin in parse pipelines. Andy says he'll rewrite the
29688           way this works anyway, so ignore the hack.
29689
29690 2005-06-02  Andy Wingo  <wingo@pobox.com>
29691
29692         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29693         file size, pass it on to the type find helper.
29694
29695         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29696         segment_start and segment_end properly according to the seek
29697         method. Segment_end is still a bit flaky because offset can be
29698         negative for CUR and END cases, but it takes -1 as an "unset"
29699         value.
29700
29701 2005-06-02  Wim Taymans  <wim@fluendo.com>
29702
29703         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29704         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29705         (gst_basesink_activate):
29706         * gst/base/gstbasesink.h:
29707         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29708         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29709         (gst_pad_query), (gst_pad_start_task):
29710         * gst/gstpad.h:
29711         * gst/gstqueue.c: (gst_queue_bufferalloc),
29712         (gst_queue_handle_sink_event), (gst_queue_chain):
29713         Bufferalloc: return GstFlowReturn to more accuratly report
29714         why allocation failed.
29715
29716 2005-06-02  Wim Taymans  <wim@fluendo.com>
29717
29718         * gst/gstpipeline.c: (gst_pipeline_send_event):
29719         Take snapshot of state without blocking.
29720
29721 2005-06-02  Wim Taymans  <wim@fluendo.com>
29722
29723         * docs/design/part-TODO.txt:
29724         * docs/design/part-caps.txt:
29725         * docs/design/part-clocks.txt:
29726         * docs/design/part-negotiation.txt:
29727         * docs/design/part-preroll.txt:
29728         Small doc updates 
29729
29730 2005-05-30  Wim Taymans  <wim@fluendo.com>
29731
29732         * gst/elements/gstidentity.c: (gst_identity_event),
29733         (gst_identity_transform), (gst_identity_get_property):
29734         Protect last_message property as it is accessed from
29735         multiple threads.
29736
29737 2005-05-30  Wim Taymans  <wim@fluendo.com>
29738
29739         * gst/gstelement.c: (gst_element_init),
29740         (gst_element_pads_activate), (gst_element_change_state):
29741         Slicker pad activation code.
29742
29743 2005-05-30  Wim Taymans  <wim@fluendo.com>
29744
29745         * gst/Makefile.am:
29746         * gst/gstelement.h:
29747         * gst/gstelementfactory.h:
29748         * gst/gsttypes.h:
29749         Move elementfactory methods to separate .h file.
29750
29751 2005-05-30  Wim Taymans  <wim@fluendo.com>
29752
29753         * docs/design/part-overview.txt:
29754         * gst/gstsystemclock.h:
29755         Small typo fixes, doc updates.
29756
29757 2005-05-30  Wim Taymans  <wim@fluendo.com>
29758
29759         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29760         (init_popt_callback):
29761         Remove cpu-opt flag.
29762
29763 2005-05-30  Wim Taymans  <wim@fluendo.com>
29764
29765         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29766         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29767         * gst/gstbuffer.h:
29768         Avoid typechecking in places where not needed.
29769         Added accessor for malloc_data.
29770
29771 2005-05-30  Wim Taymans  <wim@fluendo.com>
29772
29773         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29774         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29775         (gst_pad_configure_sink), (gst_pad_configure_src),
29776         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29777         (gst_pad_start_task):
29778         Propagate errors from _set_caps() in configure_src/sink
29779         functions instead of returning TRUE.
29780         FLUSH events can travel up and downstream
29781
29782
29783 2005-05-30  Wim Taymans  <wim@fluendo.com>
29784
29785         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29786         (gst_basesink_activate):
29787         Handle EOS in preroll.
29788
29789 2005-05-30  Wim Taymans  <wim@fluendo.com>
29790
29791         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29792         (gst_queue_loop), (gst_queue_handle_src_event):
29793         Remove old pieces of code
29794         Flushing the queue in an upstream event is a very bad idea.
29795
29796 2005-05-26  Andy Wingo  <wingo@pobox.com>
29797
29798         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29799         gst_value_set_mini_object so as to add a ref on the object (which
29800         will be removed when the value is unset).
29801
29802         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29803         arg type in ::handoff.
29804
29805         * gst/gstelement.c (gst_element_change_state): Also deactivate
29806         pads in READY->NULL, just in case the element didn't make it to
29807         PAUSED. Wingo tested, Wim approved.
29808
29809 2005-05-26  Wim Taymans  <wim@fluendo.com>
29810
29811         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29812         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29813         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29814         A flushing pad cannot be used to alloc_buffer from.
29815
29816 2005-05-26  Wim Taymans  <wim@fluendo.com>
29817
29818         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29819         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29820         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29821         (gst_bus_create_watch), (gst_bus_add_watch_full):
29822         * gst/gstbus.h:
29823         Implement a real GSource and use g_main_context_wakeup() to
29824         signal new messages instead of the socketpair.
29825
29826 2005-05-25  Wim Taymans  <wim@fluendo.com>
29827
29828         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29829         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29830         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29831         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29832         (gst_pad_send_event), (gst_pad_start_task):
29833         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29834         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29835         (gst_queue_sink_activate), (gst_queue_src_activate),
29836         (gst_queue_change_state):
29837         * gst/gstqueue.h:
29838         Fix state changes for non sinks. We now change sinks, then elements
29839         with unconnected srcpads, then the rest.
29840         More efficient queue unlocking in flush and state changes.
29841         Set the pad activate mode even if it does not have an activate
29842         function.
29843
29844 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29845
29846         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29847           Don't go in pull mode for non-seekable sources.
29848         * gst/elements/gsttypefindelement.h:
29849         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29850         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29851         (free_entry), (stop_typefinding),
29852         (gst_type_find_element_handle_event), (find_peek),
29853         (gst_type_find_element_chain), (do_pull_typefind),
29854         (gst_type_find_element_change_state):
29855           Allow typefinding (w/o seeking) in push-mode, simplified version
29856           of what was in 0.8.
29857         * gst/gstutils.c: (gst_buffer_join):
29858         * gst/gstutils.h:
29859           gst_buffer_join() from 0.8.
29860
29861 2005-05-25  Wim Taymans  <wim@fluendo.com>
29862
29863         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29864         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29865         (gst_pad_send_event), (gst_pad_start_task):
29866         Disable attempt at mode switching until it is figured out.
29867
29868 2005-05-25  Wim Taymans  <wim@fluendo.com>
29869
29870         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29871         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29872         (gst_basesink_finish_preroll), (gst_basesink_chain),
29873         (gst_basesink_loop), (gst_basesink_activate),
29874         (gst_basesink_change_state):
29875         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29876         (gst_basesrc_get_range), (gst_basesrc_loop),
29877         (gst_basesrc_activate):
29878         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29879         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29880         (gst_real_pad_init), (gst_real_pad_set_property),
29881         (gst_real_pad_get_property), (gst_pad_set_active),
29882         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29883         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29884         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29885         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29886         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29887         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29888         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29889         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29890         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29891         (gst_pad_stop_task):
29892         * gst/gstpad.h:
29893         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29894         (gst_queue_loop), (gst_queue_src_activate):
29895         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29896         (gst_task_get_state):
29897         * gst/gsttask.h:
29898         * gst/schedulers/threadscheduler.c:
29899         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29900         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29901         in task function.
29902         Remove ACTIVE pad flag, use FLUSHING everywhere
29903         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29904         functions.
29905         Add locks around IS_FLUSHING when reading.
29906         Take STREAM lock in chain(), get_range() functions so plugins
29907         don't need to take it anymore.
29908         
29909
29910
29911 2005-05-25  Wim Taymans  <wim@fluendo.com>
29912
29913         * tools/gst-launch.c: (event_loop):
29914         Unref message after using its contents instead of
29915         before.
29916
29917 2005-05-24  Wim Taymans  <wim@fluendo.com>
29918
29919         * docs/design/draft-ghostpads.txt:
29920         * docs/design/draft-push-pull.txt:
29921         * docs/design/draft-query.txt:
29922         * docs/design/part-overview.txt:
29923         Docs updates, added general overview doc.
29924
29925 2005-05-21  David Schleef  <ds@schleef.org>
29926
29927         * docs/gst/tmpl/old/GstBin.sgml:
29928         * docs/gst/tmpl/old/GstBuffer.sgml:
29929         * docs/gst/tmpl/old/GstCaps.sgml:
29930         * docs/gst/tmpl/old/GstClock.sgml:
29931         * docs/gst/tmpl/old/GstCompat.sgml:
29932         * docs/gst/tmpl/old/GstData.sgml:
29933         * docs/gst/tmpl/old/GstElement.sgml:
29934         * docs/gst/tmpl/old/GstEvent.sgml:
29935         * docs/gst/tmpl/old/GstIndex.sgml:
29936         * docs/gst/tmpl/old/GstStructure.sgml:
29937         * docs/gst/tmpl/old/GstTag.sgml:
29938         * docs/gst/tmpl/old/cothreads.sgml:
29939         * docs/gst/tmpl/old/cothreads_compat.sgml:
29940         * docs/gst/tmpl/old/gettext.sgml:
29941         * docs/gst/tmpl/old/gobject2gtk.sgml:
29942         * docs/gst/tmpl/old/grammar.tab.sgml:
29943         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29944         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29945         * docs/gst/tmpl/old/gst_private.sgml:
29946         * docs/gst/tmpl/old/gstaggregator.sgml:
29947         * docs/gst/tmpl/old/gstarch.sgml:
29948         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29949         * docs/gst/tmpl/old/gstbufferstore.sgml:
29950         * docs/gst/tmpl/old/gstdata_private.sgml:
29951         * docs/gst/tmpl/old/gstdisksink.sgml:
29952         * docs/gst/tmpl/old/gstdisksrc.sgml:
29953         * docs/gst/tmpl/old/gstelementfactory.sgml:
29954         * docs/gst/tmpl/old/gstextratypes.sgml:
29955         * docs/gst/tmpl/old/gstfakesink.sgml:
29956         * docs/gst/tmpl/old/gstfakesrc.sgml:
29957         * docs/gst/tmpl/old/gstfdsink.sgml:
29958         * docs/gst/tmpl/old/gstfdsrc.sgml:
29959         * docs/gst/tmpl/old/gstfilesink.sgml:
29960         * docs/gst/tmpl/old/gstfilesrc.sgml:
29961         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29962         * docs/gst/tmpl/old/gstidentity.sgml:
29963         * docs/gst/tmpl/old/gstindexfactory.sgml:
29964         * docs/gst/tmpl/old/gstmarshal.sgml:
29965         * docs/gst/tmpl/old/gstmd5sink.sgml:
29966         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29967         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29968         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29969         * docs/gst/tmpl/old/gstpipefilter.sgml:
29970         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29971         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29972         * docs/gst/tmpl/old/gstshaper.sgml:
29973         * docs/gst/tmpl/old/gstspider.sgml:
29974         * docs/gst/tmpl/old/gstspideridentity.sgml:
29975         * docs/gst/tmpl/old/gststatistics.sgml:
29976         * docs/gst/tmpl/old/gsttee.sgml:
29977         * docs/gst/tmpl/old/gsttimecache.sgml:
29978         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29979         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29980         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29981         * docs/gst/tmpl/old/types.sgml:
29982           I didn't intend to add these or check them in.
29983
29984 2005-05-19  David Schleef  <ds@schleef.org>
29985
29986         * configure.ac: Use -no-common everywhere.  In a sane world, it
29987           would be the default in libtool, because without it, you can't
29988           build DLLs on Windows.
29989         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29990         * docs/gst/gstreamer-sections.txt:
29991         * docs/gst/tmpl/gstcpu.sgml:
29992         * docs/gst/tmpl/gstdata.sgml:
29993         * docs/gst/tmpl/gstthread.sgml:
29994
29995 2005-05-19  David Schleef  <ds@schleef.org>
29996
29997         * gst/gstminiobject.c: (gst_value_set_mini_object),
29998         (gst_value_take_mini_object), (gst_value_get_mini_object):
29999         * gst/gstminiobject.h: Add GValue set/get functions.
30000
30001 2005-05-19  Wim Taymans  <wim@fluendo.com>
30002
30003         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30004         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30005         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30006         * gst/gstbuffer.h:
30007         * gst/gstbus.c: (gst_bus_post):
30008         * gst/gstelement.c: (gst_element_get_random_pad):
30009         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30010         Make subbufer unref the parent in finalize.
30011         some more debugging info.
30012
30013
30014 2005-05-19  Wim Taymans  <wim@fluendo.com>
30015
30016         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30017         (gst_basesink_init), (gst_basesink_finalize),
30018         (gst_basesink_activate), (gst_basesink_change_state):
30019         Don't free preroll queue too early.
30020
30021 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30022
30023         * gst/Makefile.am:
30024         * gst/ROADMAP:
30025           Hi, I'm outdated. Please shoot me.
30026
30027 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30028
30029         * gst/gstpipeline.c: (gst_pipeline_send_event):
30030           Do not access variables after they have been deleted.
30031
30032 2005-05-19  Wim Taymans  <wim@fluendo.com>
30033
30034         * tools/gst-inspect.c: (print_plugin_features):
30035         A plugin feature does unfortunatly not use the
30036         object name yet...
30037
30038 2005-05-18  Wim Taymans  <wim@fluendo.com>
30039
30040         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30041         Port _span() functions to new subbuffers.
30042
30043 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30044
30045         * gst/gstbin.c: (gst_bin_add_func):
30046           Fix clock settery in bins when adding kids after the clock has
30047           been selected.
30048
30049 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30050
30051         * gst/elements/gstidentity.c: (gst_identity_class_init):
30052           Workaround until signals support GstMiniObject.
30053
30054 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30055
30056         * gst/gstbuffer.c:
30057         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30058
30059 2005-05-18  Wim Taymans  <wim@fluendo.com>
30060
30061         * gst/base/Makefile.am:
30062         * gst/base/gstadapter.c: (gst_adapter_base_init),
30063         (gst_adapter_class_init), (gst_adapter_init),
30064         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30065         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30066         (gst_adapter_flush), (gst_adapter_available),
30067         (gst_adapter_available_fast):
30068         * gst/base/gstadapter.h:
30069         Ported and added adapter to the base classes.
30070
30071 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30072
30073         * gst/gst.c:
30074         * gst/gstmessage.c:
30075           Make sure the class is reffed/unreffed once before threads can be
30076           used.  Fixes #304551.
30077
30078 2005-05-17  Wim Taymans  <wim@fluendo.com>
30079
30080         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30081         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30082         * gst/gstminiobject.c: (gst_mini_object_get_type),
30083         (gst_mini_object_free):
30084         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30085         (gst_pad_push), (gst_pad_push_event):
30086         * gst/gstqueue.c: (gst_queue_change_state):
30087         Don't queue buffers in basesink when we are flushing.
30088         Unref buffer when flushing in basesink.
30089         Flush queue when going to READY
30090         Unref buffer when _push() returns an error.
30091         Don't free MiniObject instance when refcount is incremented
30092         in _finalize() so that we can recover objects.
30093
30094 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30095
30096         * docs/manual/advanced-schedulers.xml:
30097         * docs/manual/appendix-checklist.xml:
30098         * docs/pwg/advanced-clock.xml:
30099         * docs/pwg/advanced-interfaces.xml:
30100         * docs/pwg/advanced-request.xml:
30101         * docs/pwg/advanced-types.xml:
30102         * docs/pwg/intro-preface.xml:
30103         * examples/plugins/example.c: (gst_example_get_type),
30104         (gst_example_class_init), (gst_example_chain),
30105         (gst_example_set_property), (gst_example_get_property),
30106         (gst_example_change_state), (plugin_init):
30107         * examples/plugins/example.h:
30108           small doc fixes
30109
30110 2005-05-17  Wim Taymans  <wim@fluendo.com>
30111
30112         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30113         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30114         * gst/gstqueue.c: (gst_queue_change_state):
30115         Clear queue when going to READY.
30116         Remove IN_SETCAPS flag too.
30117
30118 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30119
30120         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30121           Remove implicit cast from gboolean to GstElementStateReturn;
30122           make sure we still return failure in paused => ready case if
30123           the parent class fails to change state and our own stop 
30124           vfunc succeeds.
30125
30126 2005-05-17  Wim Taymans  <wim@fluendo.com>
30127
30128         * tools/gst-launch.c: (event_loop):
30129         Message was unreffed too soon.
30130
30131 2005-05-16  Andy Wingo  <wingo@pobox.com>
30132
30133         * gst/gstbin.c (sink_iterator_filter): Err... um...
30134
30135         * check/gst/gstbin.c (test_ghost_pads): New test for the
30136         ghosting-if-elements-not-in-same-bin behavior.
30137
30138 2005-05-16  David Schleef  <ds@schleef.org>
30139
30140         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30141         accessing refcount directly.
30142
30143 2005-05-15  David Schleef  <ds@schleef.org>
30144
30145         * check/Makefile.am: remove GstData checks
30146         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30147         * gst/Makefile.am: add miniobject, remove data
30148         * gst/gst.h: add miniobject, remove data
30149         * gst/gstdata.c: remove
30150         * gst/gstdata.h: remove
30151         * gst/gstdata_private.h: remove
30152         * gst/gsttypes.h: remove GstEvent and GstMessage
30153         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30154         * gst/gstmarshal.list: change BOXED -> OBJECT
30155
30156         Implement GstMiniObject.
30157         * gst/gstminiobject.c:
30158         * gst/gstminiobject.h:
30159
30160         Modify to be subclasses of GstMiniObject.
30161         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30162         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30163         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30164         (gst_subbuffer_get_type), (gst_subbuffer_init),
30165         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30166         (gst_buffer_span):
30167         * gst/gstbuffer.h:
30168         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30169         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30170         (_gst_event_copy), (gst_event_new):
30171         * gst/gstevent.h:
30172         * gst/gstmessage.c: (_gst_message_initialize),
30173         (gst_message_get_type), (gst_message_class_init),
30174         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30175         (gst_message_new), (gst_message_new_error),
30176         (gst_message_new_warning), (gst_message_new_tag),
30177         (gst_message_new_state_changed), (gst_message_new_application):
30178         * gst/gstmessage.h:
30179         * gst/gstprobe.c: (gst_probe_perform),
30180         (gst_probe_dispatcher_dispatch):
30181         * gst/gstprobe.h:
30182         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30183         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30184         (_gst_query_copy), (gst_query_new):
30185
30186         Update elements for GstData -> GstMiniObject changes
30187         * gst/gstquery.h:
30188         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30189         (gst_queue_chain), (gst_queue_loop):
30190         * gst/elements/gstbufferstore.c:
30191         (gst_buffer_store_add_buffer_func),
30192         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30193         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30194         (gst_fakesink_render):
30195         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30196         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30197         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30198         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30199         (gst_filesrc_create_read):
30200         * gst/elements/gstidentity.c: (gst_identity_class_init):
30201         * gst/elements/gsttypefindelement.c:
30202         (gst_type_find_element_src_event), (free_entry_buffers),
30203         (gst_type_find_element_handle_event):
30204         * libs/gst/dataprotocol/dataprotocol.c:
30205         (gst_dp_header_from_buffer):
30206         * libs/gst/dataprotocol/dataprotocol.h:
30207         * libs/gst/dataprotocol/dp-private.h:
30208
30209 2005-05-15  David Schleef  <ds@schleef.org>
30210
30211         * gst/elements/gstelements.c: Don't include headers that were
30212         just removed.
30213
30214 2005-05-15  David Schleef  <ds@schleef.org>
30215
30216         * gst/elements/Makefile.am: Remove some elements that don't
30217         need to be in the core (or even exist at all).
30218         * gst/elements/gstaggregator.c:
30219         * gst/elements/gstaggregator.h:
30220         * gst/elements/gstmd5sink.c:
30221         * gst/elements/gstmd5sink.h:
30222         * gst/elements/gstmultifilesrc.c:
30223         * gst/elements/gstmultifilesrc.h:
30224         * gst/elements/gstpipefilter.c:
30225         * gst/elements/gstpipefilter.h:
30226         * gst/elements/gstshaper.c:
30227         * gst/elements/gstshaper.h:
30228         * gst/elements/gststatistics.c:
30229         * gst/elements/gststatistics.h:
30230         * po/POTFILES.in: Remove above files.
30231
30232 2005-05-14  Andy Wingo  <wingo@pobox.com>
30233
30234         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30235         so as to get the refs right.
30236         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30237         unreffing objects that don't pass the filter.
30238
30239         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30240         gst_element_set_bus.
30241         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30242         normal cases, this will destroy the bus.
30243
30244         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30245         object.
30246
30247         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30248         has no sinks.
30249
30250 2005-05-13  Andy Wingo  <wingo@pobox.com>
30251
30252         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30253         gst_pad_link, call pad_link_maybe_ghosting,
30254         (pad_link_maybe_ghosting): Links pads, making sure that the
30255         elements being linked are in the same bin.
30256         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30257         Helpers for pad_link_maybe_ghosting.
30258
30259 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30260
30261         * configure.ac:
30262           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30263
30264 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30265
30266         * docs/design/part-element-source.txt:
30267           Mention GstPushSrc
30268
30269 2005-05-12  Wim Taymans  <wim@fluendo.com>
30270
30271         * gst/base/gstbasesink.c: (gst_basesink_init),
30272         (gst_basesink_activate):
30273         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30274         (gst_basesrc_is_seekable):
30275         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30276         (bin_element_is_sink), (gst_bin_change_state):
30277         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30278         * gst/gstelement.h:
30279         Identify sinks by their flag to avoid overly complicated
30280         checks (fow now).
30281         Do state changes even for elements not reachable from the
30282         sinks.
30283         BaseSink is a sink now :)
30284         Some more debugging info in the basesrc.
30285
30286
30287 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30288
30289         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30290           Implement _query on a bin, similar to _send_event.
30291
30292 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30293
30294         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30295           Discont event offset format should be GST_FORMAT_BYTES,
30296           not GST_FORMAT_TIME.
30297
30298 2005-05-12  Wim Taymans  <wim@fluendo.com>
30299
30300         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30301         Same fix as Ronald's but without the signal. 
30302
30303 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30304
30305         * gst/gstutils.c: (gst_element_query_position):
30306           No, an element is not a pad.
30307
30308 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30309
30310         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30311         (gst_bin_get_state):
30312           If a child is removed from a bin while we remove the child from
30313           the bin and while we're retrieving its state, signal this to the
30314           get_state function so we abort the wait (instead of waiting for
30315           a timeout) and can immediately re-iterate over all other elements.
30316
30317 2005-05-12  Wim Taymans  <wim@fluendo.com>
30318
30319         * gst/base/Makefile.am:
30320         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30321         (gst_basesrc_start):
30322         * gst/base/gstbasesrc.h:
30323         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30324         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30325         (gst_pushsrc_init), (gst_pushsrc_create):
30326         * gst/base/gstpushsrc.h:
30327         Added is_seekable to BaseSrc
30328         Added simple PushSrc.
30329
30330 2005-05-11  Wim Taymans  <wim@fluendo.com>
30331
30332         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30333         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30334         (gst_element_link_pads), (gst_element_query_position),
30335         (gst_element_query_convert), (intersect_caps_func),
30336         (gst_pad_query_position), (gst_pad_query_convert):
30337         Fix refcounting in utils function.
30338         No point in trying to activate a pad when it's added, it could
30339         be added from the state change function and then we deadlock, the
30340         element has to decide what to do.
30341
30342 2005-05-10  Andy Wingo  <wingo@pobox.com>
30343
30344         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30345         *all* the arguments.
30346
30347         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30348         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30349         lock (according to the docs -- if this is wrong change the docs).
30350
30351         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30352         flush messages in the NULL state.
30353
30354         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30355         message immediately and return.
30356         (gst_bus_set_flushing): New function. If a bus is flushing, it
30357         flushes out any queued messages and immediately unrefs new
30358         messages. This is so when an element goes to NULL, all of the
30359         unhandled messages coming from it can be freed, and their
30360         references to the element dropped. In other words: message source
30361         ref considered harmful :P
30362
30363         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30364         we're finished with it.
30365
30366         * gst/gstmessage.c (gst_message_new_state_changed): 
30367
30368 2005-05-10  Wim Taymans  <wim@fluendo.com>
30369
30370         * gst/gstvalue.c: (gst_value_compare_flags),
30371         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30372         (_gst_value_initialize):
30373         Added flags serialize/deserialize/compare code.
30374
30375 2005-05-09  Andy Wingo  <wingo@pobox.com>
30376
30377         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30378         Intersect the peer's caps with our caps.
30379
30380 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30381
30382         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30383         * gst/elements/gsttypefindelement.c: (find_peek):
30384           Handle negative offsets better. Fixes decodebin.
30385
30386 2005-05-09  Wim Taymans  <wim@fluendo.com>
30387
30388         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30389         (gst_base_transform_event):
30390         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30391         Implement accept_caps.
30392         Fix silly lock/unlock mismatch in base class.
30393
30394 2005-05-09  Wim Taymans  <wim@fluendo.com>
30395
30396         * docs/design/draft-push-pull.txt:
30397         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30398         * gst/elements/gstfilesink.c: (gst_filesink_init),
30399         (gst_filesink_query):
30400         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30401         (gst_type_find_handle_src_query), (find_element_get_length):
30402         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30403         * gst/gstelement.h:
30404         * gst/gstmessage.c:
30405         * gst/gstmessage.h:
30406         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30407         (gst_real_pad_get_caps_unlocked),
30408         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30409         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30410         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30411         (gst_real_pad_dispose), (gst_real_pad_finalize),
30412         (gst_pad_load_and_link), (gst_pad_save_thyself),
30413         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30414         (gst_pad_check_pull_range), (gst_pad_pull_range),
30415         (gst_pad_template_get_type), (gst_pad_template_class_init),
30416         (gst_pad_template_init), (gst_pad_template_dispose),
30417         (name_is_valid), (gst_static_pad_template_get),
30418         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30419         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30420         (gst_pad_get_element_private), (gst_pad_start_task),
30421         (gst_pad_pause_task), (gst_pad_stop_task),
30422         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30423         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30424         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30425         (gst_ghost_pad_new):
30426         * gst/gstpad.h:
30427         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30428         (gst_query_new_position), (gst_query_set_position),
30429         (gst_query_parse_position), (gst_query_new_convert),
30430         (gst_query_set_convert), (gst_query_parse_convert):
30431         * gst/gstquery.h:
30432         * gst/gstqueryutils.c:
30433         * gst/gstqueryutils.h:
30434         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30435         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30436         (gst_queue_handle_src_query):
30437         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30438         (gst_element_query_position), (gst_element_query_convert),
30439         (intersect_caps_func), (gst_pad_query_position),
30440         (gst_pad_query_convert):
30441         * gst/gstutils.h:
30442         * tools/gst-inspect.c: (print_pad_info):
30443         * tools/gst-xmlinspect.c: (print_element_info):
30444         Remove old query functions. Ported old code.
30445         Added position/convert helper functions to gstutils.
30446         Reordered gstpad.c code, grouping relevant things.
30447         Remove gst_message_new(), always need to speficy a specific
30448         message.
30449
30450
30451 2005-05-09  Andy Wingo  <wingo@pobox.com>
30452
30453         * gst/gstiterator.h: Add some includes.
30454
30455         * gst/gstqueryutils.h: Include more headers.
30456
30457         * gst/gstpad.h:
30458         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30459         some uses of gst_pad_query.
30460
30461         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30462         NULL out parameters.
30463         (gst_query_new_position): New proc, allocates a new position
30464         query.
30465
30466         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30467         gstqueryutils.c to the build.
30468
30469         * gst/gststructure.c (gst_structure_set_valist): Implement with
30470         the generic G_VALUE_COLLECT.
30471         
30472 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30473
30474         * gst/Makefile.am: (gst_headers):
30475         Added gstqueryutils.h to the list of headers to install, that was
30476         a 'nachty' move wingo :)
30477
30478 2005-05-06  Andy Wingo  <wingo@pobox.com>
30479
30480         * gst/gstquery.h
30481         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30482         GstData, init a memchunk.
30483         (standard_definitions): Add a few query types, deprecate a few.
30484         (gst_query_get_type): New proc.
30485         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30486         implementation.
30487         (gst_query_new_application, gst_query_get_structure): New public
30488         procs.
30489
30490         * docs/design/draft-query.txt: Removed LINKS from the query types,
30491         because all the rest can be dispatched to other pads -- seemed
30492         ugly to have a query that couldn't be dispatched. internal_links
30493         is fine as a pad method.
30494
30495         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30496         in gstpad.c, but maintain binary compatibility for the moment.
30497         Will fix before 0.9 is out.
30498
30499         * gst/gstqueryutils.c: 
30500         * gst/gstqueryutils.h: New files, implement 3 methods for each
30501         query type: parse_query, parse_response, and set. Probably need an
30502         allocator as well.
30503
30504         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30505
30506         * gst/elements/gstfilesink.c (gst_filesink_query2):
30507         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30508         query_types, and formats methods.
30509
30510         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30511         (gst_pad_set_query2_function): New functions.
30512         (gst_real_pad_init): Set query2_default as the default query2
30513         function. Basically just dispatches to internally linked pads.
30514
30515         Needs review!
30516         
30517         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30518         without using the atomic operations. Only one thread can possibly
30519         be accessing the data at this point. Changed so as to avoid
30520         gst_atomic operations.
30521
30522 2005-05-06  Wim Taymans  <wim@fluendo.com>
30523
30524         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30525         Also set caps if we use the fallback buffer alloc.
30526
30527 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30528
30529         * docs/gst/Makefile.am:
30530         * docs/gst/gstreamer-docs.sgml:
30531         * docs/gst/gstreamer-sections.txt:
30532         * docs/gst/tmpl/gstatomic.sgml:
30533         * docs/gst/tmpl/gstmemchunk.sgml:
30534         * testsuite/elements/struct_i386.h:
30535         * win32/GStreamer.vcproj:
30536         * win32/Makefile:
30537           Purge GstAtomic stuff from docs and win32 makefiles as well
30538
30539 2005-05-06  Wim Taymans  <wim@fluendo.com>
30540
30541         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30542         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30543         * gst/gstpad.c: (gst_pad_peer_get_caps):
30544         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30545         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30546         (gst_queue_src_activate), (gst_queue_change_state):
30547         * gst/gstqueue.h:
30548         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30549         (intersect_caps_func):
30550         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30551         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30552         Some fixes for the peer_get_caps() change.
30553
30554 2005-05-06  Wim Taymans  <wim@fluendo.com>
30555
30556         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30557         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30558         (gst_basesink_activate):
30559         Actually do something with error codes returned from the push
30560         functions.
30561
30562 2005-05-06  Wim Taymans  <wim@fluendo.com>
30563
30564         * docs/design/part-element-sink.txt:
30565         * docs/design/part-element-source.txt:
30566         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30567         (gst_basesink_event), (gst_basesink_activate):
30568         * gst/base/gstbasesink.h:
30569         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30570         (gst_basesrc_activate):
30571         * gst/base/gstbasesrc.h:
30572         * gst/gstelement.c: (gst_element_pads_activate):
30573         Some more documentation.
30574         Fixed scheduling decision in _pads_activate().
30575
30576 2005-05-05  Andy Wingo  <wingo@pobox.com>
30577
30578         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30579         the test suite.
30580
30581 2005-05-05  Wim Taymans  <wim@fluendo.com>
30582
30583         * gst/base/Makefile.am:
30584         * gst/base/gstbasesink.h:
30585         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30586         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30587         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30588         (gst_collectpads_class_init), (gst_collectpads_init),
30589         (gst_collectpads_finalize), (gst_collectpads_new),
30590         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30591         (find_pad), (gst_collectpads_remove_pad),
30592         (gst_collectpads_is_active), (gst_collectpads_collect),
30593         (gst_collectpads_collect_range), (gst_collectpads_start),
30594         (gst_collectpads_stop), (gst_collectpads_peek),
30595         (gst_collectpads_pop), (gst_collectpads_available),
30596         (gst_collectpads_read), (gst_collectpads_flush),
30597         (gst_collectpads_chain):
30598         * gst/base/gstcollectpads.h:
30599         * gst/elements/Makefile.am:
30600         * gst/elements/gstelements.c:
30601         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30602         (gst_fakesink_get_times), (gst_fakesink_event),
30603         (gst_fakesink_preroll), (gst_fakesink_render):
30604         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30605         (gst_filesink_init), (gst_filesink_set_location),
30606         (gst_filesink_open_file), (gst_filesink_close_file),
30607         (gst_filesink_pad_query), (gst_filesink_event),
30608         (gst_filesink_render), (gst_filesink_change_state):
30609         * gst/elements/gstfilesink.h:
30610         Added object to help in making collect pad based elements.
30611         Ported filesink.
30612         Make event function in sink baseclass return gboolean.
30613
30614 2005-05-05  Wim Taymans  <wim@fluendo.com>
30615
30616         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30617         (gst_bin_get_by_name):
30618         * gst/gstbuffer.h:
30619         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30620         (gst_clock_finalize):
30621         * gst/gstdata.c: (gst_data_replace):
30622         * gst/gstdata.h:
30623         * gst/gstelement.c: (gst_element_request_pad),
30624         (gst_element_pads_activate):
30625         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30626         (gst_object_unref):
30627         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30628         (gst_pad_set_checkgetrange_function),
30629         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30630         (gst_pad_check_pull_range), (gst_pad_pull_range),
30631         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30632         (gst_pad_pause_task), (gst_pad_stop_task):
30633         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30634         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30635         Fix name lookup in GstBin.
30636         Added _data_replace() function and _buffer_replace()
30637         Use finalize method to clean up clock.
30638         Fix refcounting on request pads.
30639         Fix pad schedule mode error.
30640         Some more object refcounting debug info,
30641
30642
30643 2005-05-04  Andy Wingo <wingo@pobox.com>
30644
30645         * check/Makefile.am:
30646         * docs/gst/tmpl/gstatomic.sgml:
30647         * docs/gst/tmpl/gstplugin.sgml:
30648         * gst/base/gstbasesink.c: (gst_basesink_activate):
30649         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30650         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30651         (gst_basesrc_query), (gst_basesrc_set_property),
30652         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30653         (gst_basesrc_activate):
30654         * gst/base/gstbasesrc.h:
30655         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30656         (gst_base_transform_src_activate):
30657         * gst/elements/gstelements.c:
30658         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30659         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30660         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30661         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30662         (gst_type_find_element_checkgetrange),
30663         (gst_type_find_element_activate):
30664         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30665         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30666         (gst_caps_load_thyself):
30667         * gst/gstelement.c: (gst_element_pads_activate),
30668         (gst_element_save_thyself), (gst_element_restore_thyself):
30669         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30670         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30671         * gst/gstpad.h:
30672         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30673         (gst_xml_parse_file), (gst_xml_parse_memory),
30674         (gst_xml_get_element), (gst_xml_make_element):
30675         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30676         (_file_index_id_save_xml), (gst_file_index_commit):
30677         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30678         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30679         (load_paths):
30680         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30681         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30682         * tools/gst-complete.c: (main):
30683         * tools/gst-compprep.c: (main):
30684         * tools/gst-inspect.c: (print_element_properties_info):
30685         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30686         * tools/gst-xmlinspect.c: (print_element_properties):
30687         GCC 4 fixen.
30688         
30689 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30690
30691         * gst/gstplugin.c: (gst_plugin_check_module),
30692         (gst_plugin_check_file), (gst_plugin_load_file):
30693             apply patch from #172526 to make register work on MacOSX
30694
30695 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30696
30697         * docs/gst/tmpl/gstconfig.sgml:
30698         * gst/gstconfig.h.in:
30699           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30700         * testsuite/debug/printf_extension.c: (main):
30701           Do not use GST_PTR_FORMAT on pointers to types with
30702           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30703         * testsuite/elements/property.h:
30704           use correct printf format
30705
30706 2005-05-02  Wim Taymans  <wim@fluendo.com>
30707
30708         * docs/design/draft-push-pull.txt:
30709         * docs/design/draft-query.txt:
30710         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30711         (gst_basesrc_start):
30712         Added draft for new query API.
30713         Added draft for better selecting scheduling methods.
30714         Make basesrc ignore length if the subclass does not support
30715         it.
30716
30717 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30718
30719         * gst/Makefile.am:
30720           possible fixes for automake-1.5 - _LIBADD is reserved
30721
30722 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30723
30724         * docs/faq/Makefile.am:
30725         * docs/manual/Makefile.am:
30726         * docs/manuals.mak:
30727         * docs/pwg/Makefile.am:
30728         * gst/Makefile.am:
30729           possible fixes for automake-1.5
30730
30731 2005-04-28  Wim Taymans  <wim@fluendo.com>
30732
30733         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30734         (gst_basesink_pad_getcaps), (gst_basesink_init),
30735         (gst_basesink_do_sync):
30736         * gst/gstclock.c: (gst_clock_entry_new):
30737         * gst/gstevent.c: (gst_event_discont_get_value):
30738         * gst/gstpipeline.c: (pipeline_bus_handler),
30739         (gst_pipeline_change_state):
30740         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30741         Better debugging of clocking info.
30742         Allow NULL values when getting discont values.
30743
30744 2005-04-27  Wim Taymans  <wim@fluendo.com>
30745
30746         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30747         * check/gst/gstpad.c: (gst_pad_suite):
30748         Increase timeout for checks.
30749
30750 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30751
30752         * check/Makefile.am:
30753           fix the broken rule for cleanup.  Apparently this rule is
30754           only needed on FC2, so maybe this warrants further autotool
30755           inspection.
30756
30757 2005-04-26  Wim Taymans  <wim@fluendo.com>
30758
30759         * gst/gsttrashstack.h:
30760         Ooohh. a nasty one! After having a failed pop() from the stack,
30761         it's possible that the stack is empty. In that case, don't
30762         follow the NULL pointer.
30763
30764 2005-04-25  Wim Taymans  <wim@fluendo.com>
30765
30766         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30767         (gst_pad_set_checkgetrange_function),
30768         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30769         (gst_pad_check_pull_range), (gst_pad_pull_range),
30770         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30771         (gst_pad_pause_task), (gst_pad_stop_task):
30772         * gst/gstplugin.c: (gst_plugin_load):
30773         * gst/gstplugin.h:
30774         Remove gst_library_load as it does more harm than good with
30775         the new g_module flags.
30776         Revert bogus caps template check in pad linking, pad caps
30777         are important when linking not the template, which is more
30778         general than the current caps.
30779
30780 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30781
30782         * gst/autoplug/.cvsignore:
30783         * gst/autoplug/Makefile.am:
30784         * gst/autoplug/gstsearchfuncs.c:
30785         * gst/autoplug/gstsearchfuncs.h:
30786         * gst/autoplug/gstspider.c:
30787         * gst/autoplug/gstspider.h:
30788         * gst/autoplug/gstspideridentity.c:
30789         * gst/autoplug/gstspideridentity.h:
30790         * gst/autoplug/spidertest.c:
30791           Die, spider, die.
30792
30793 2005-04-25  Wim Taymans  <wim@fluendo.com>
30794
30795         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30796         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30797         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30798         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30799         * gst/gstpad.h:
30800         Added stubs for unimplemented functions. 
30801
30802 2005-04-24  David Schleef  <ds@schleef.org>
30803
30804         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30805         please fix.
30806
30807 2005-04-24  David Schleef  <ds@schleef.org>
30808
30809         Convert everything from GstAtomicInt to g_atomic_int_*, and
30810         remove gstatomic.
30811         * gst/Makefile.am:
30812         * gst/gstatomic.c:
30813         * gst/gstatomic.h:
30814         * gst/gstatomic_impl.h:
30815         * gst/gstbuffer.c:
30816         * gst/gstcaps.c:
30817         * gst/gstcaps.h:
30818         * gst/gstclock.c:
30819         * gst/gstclock.h:
30820         * gst/gstdata.c:
30821         * gst/gstdata.h:
30822         * gst/gstdata_private.h:
30823         * gst/gstevent.c:
30824         * gst/gstinfo.c:
30825         * gst/gstinfo.h:
30826         * gst/gstmessage.c:
30827         * gst/gstobject.c:
30828         * gst/gstobject.h:
30829         * gst/gststructure.c:
30830         * gst/gststructure.h:
30831         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30832         * gst/gstutils.h:
30833
30834 2005-04-24  David Schleef  <ds@schleef.org>
30835
30836         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30837         make the regressions tests work.  Remove some code that is no
30838         longer true.
30839         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30840         Disable warning for pads without templates.
30841
30842 2005-04-24  David Schleef  <ds@schleef.org>
30843
30844         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30845         functions that handle filtered links.
30846         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30847         removed functions.
30848         * gst/gstutils.c: Fix/remove utility functions that handle
30849         filtered caps.
30850         * gst/gstutils.h:
30851         * gst/gstvalue.c: Add serialization/deserialization of caps
30852         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30853         requires fixing so that the filter caps notation creates
30854         a capsfilter element and sets the filter_caps property.  I
30855         think everyone probably wants to keep the shorthand notation.
30856         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30857         * docs/gst/tmpl/gstpad.sgml:
30858
30859         * gst/elements/gstelements.c: Register capsfilter element.
30860         * gst/Makefile.am: fix spacing
30861         * docs/random/ds/0.9-suggested-changes: random
30862
30863 2005-04-23  David Schleef  <ds@schleef.org>
30864
30865         * gst/elements/Makefile.am:
30866         * gst/elements/gstcapsfilter.c: New element that acts like an
30867         identity, but filters caps.  Will eventually replace filtered
30868         caps in pad linking.
30869         * gst/gstutils.c: (gst_element_create_all_pads): New function
30870         to create all the ALWAYS pads that are registered with an
30871         element class.  This functionality should eventually be
30872         merged in with GstElement initialization.
30873         * gst/gstutils.h:
30874         * testsuite/trigger/README: part of trigger test code that should
30875         have been checked in a long time ago.
30876
30877 2005-04-23  David Schleef  <ds@schleef.org>
30878
30879         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30880         needed with new versions of libtool (nobody will confirm this),
30881         and hard to carry around.
30882         * gst/autoplug/Makefile.am:
30883         * gst/base/Makefile.am:
30884         * gst/elements/Makefile.am:
30885         * gst/indexers/Makefile.am:
30886         * gst/schedulers/Makefile.am:
30887         * libs/gst/bytestream/Makefile.am:
30888         * libs/gst/control/Makefile.am:
30889         * libs/gst/dataprotocol/Makefile.am:
30890         * libs/gst/getbits/Makefile.am:
30891
30892 2005-04-21  Wim Taymans  <wim@fluendo.com>
30893
30894         * docs/design/draft-push-pull.txt:
30895         * docs/design/part-MT-refcounting.txt:
30896         * docs/design/part-TODO.txt:
30897         * docs/design/part-caps.txt:
30898         * docs/design/part-events.txt:
30899         * docs/design/part-gstbus.txt:
30900         * docs/design/part-gstpipeline.txt:
30901         * docs/design/part-messages.txt:
30902         * docs/design/part-push-pull.txt:
30903         * docs/design/part-query.txt:
30904         Some more docs.
30905
30906 2005-04-21  Wim Taymans  <wim@fluendo.com>
30907
30908         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30909         (gst_message_new), (gst_message_new_error),
30910         (gst_message_new_warning), (gst_message_new_tag),
30911         (gst_message_new_state_changed), (gst_message_new_application),
30912         (gst_message_get_structure):
30913         * gst/gstmessage.h:
30914         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30915         (gst_structure_copy_conditional):
30916         Use parent refcount in GstMessage to ensure GstStructure
30917         consistency.
30918         Cleaned up headers a bit.
30919         
30920
30921 2005-04-20  Wim Taymans  <wim@fluendo.com>
30922
30923         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30924         (gst_basesink_pad_getcaps), (gst_basesink_init),
30925         (gst_basesink_chain_unlocked):
30926         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30927         (gst_type_find_helper):
30928         * gst/elements/gsttypefindelement.c:
30929         (gst_type_find_element_have_type), (gst_type_find_element_init),
30930         (stop_typefinding), (gst_type_find_element_handle_event),
30931         (find_suggest), (gst_type_find_element_chain),
30932         (gst_type_find_element_checkgetrange),
30933         (gst_type_find_element_getrange), (do_typefind),
30934         (gst_type_find_element_activate):
30935         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30936         (gst_buffer_default_free), (gst_buffer_default_copy),
30937         (gst_buffer_set_caps):
30938         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30939         (gst_caps_replace):
30940         * gst/gstmessage.c: (gst_message_new),
30941         (gst_message_new_state_changed):
30942         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30943         (gst_pad_set_checkgetrange_function),
30944         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30945         (gst_pad_set_caps), (gst_pad_check_pull_range),
30946         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30947         * gst/gstpad.h:
30948         * gst/gsttypefind.c: (gst_type_find_register):
30949         Make gst_caps_replace() work like other _replace() functions.
30950         Use _caps_replace() where possible.
30951         Make sure _message_new() initialises its field.
30952         Add gst_static_pad_template_get_caps()
30953
30954
30955 2005-04-18  Andy Wingo  <wingo@pobox.com>
30956
30957         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30958         on the peer, not the pad. I think that was a typo. Pass an extra
30959         arg to see if random access is possible. Activate the pads as
30960         PULL_RANGE if possible.
30961
30962         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30963
30964         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30965         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30966         to PROP_....
30967
30968 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30969
30970         * docs/faq/using.xml:
30971           Add note on gstreamer-properties (#154996).
30972
30973 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30974
30975         * docs/random/bbb/optional-properties:
30976           Some analysis on optional properties.
30977
30978 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30979
30980         * docs/gst/tmpl/gstelementfactory.sgml:
30981         * gst/gstelement.h:
30982         * gst/gstelementfactory.c: (gst_element_factory_init),
30983         (gst_element_factory_cleanup), (gst_element_register),
30984         (__gst_element_factory_add_static_pad_template),
30985         (gst_element_factory_get_static_pad_templates),
30986         (gst_element_factory_can_src_caps),
30987         (gst_element_factory_can_sink_caps):
30988         * gst/registries/Makefile.am:
30989         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30990         (gst_xml_registry_class_init), (gst_xml_registry_init),
30991         (gst_xml_registry_new), (gst_xml_registry_set_property),
30992         (gst_xml_registry_get_property), (get_time), (make_dir),
30993         (gst_xml_registry_get_perms_func),
30994         (plugin_times_older_than_recurse), (plugin_times_older_than),
30995         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30996         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30997         (add_to_char_array), (read_string), (read_uint), (read_enum),
30998         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30999         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31000         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31001         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31002         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31003         (gst_xml_registry_rebuild):
31004         * gst/registries/gstlibxmlregistry.h:
31005         * tools/gst-compprep.c: (main):
31006         * tools/gst-inspect.c: (print_pad_templates_info):
31007         * tools/gst-xmlinspect.c: (print_element_info):
31008           Use libxml2 for registry parsing, use staticpadtemplates in
31009           elementfactories. Makes gst_init() +/- 10x faster.
31010
31011 2005-04-12  Wim Taymans  <wim@fluendo.com>
31012
31013         * gst/base/Makefile.am:
31014         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31015         (gst_basesink_pad_getcaps), (gst_basesink_init),
31016         (gst_basesink_event), (gst_basesink_change_state):
31017         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31018         (gst_basesrc_init), (gst_basesrc_query),
31019         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31020         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31021         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31022         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31023         (gst_basesrc_stop), (gst_basesrc_activate),
31024         (gst_basesrc_change_state):
31025         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31026         (helper_find_suggest), (gst_type_find_helper):
31027         * gst/base/gsttypefindhelper.h:
31028         * gst/elements/Makefile.am:
31029         * gst/elements/gstelements.c:
31030         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31031         (gst_fakesink_get_times), (gst_fakesink_event),
31032         (gst_fakesink_preroll), (gst_fakesink_render):
31033         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31034         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31035         (gst_fakesrc_get_property), (gst_fakesrc_create),
31036         (gst_fakesrc_start), (gst_fakesrc_stop):
31037         * gst/elements/gstfakesrc.h:
31038         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31039         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31040         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31041         (gst_filesrc_create_read), (gst_filesrc_create),
31042         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31043         (gst_filesrc_start):
31044         * gst/elements/gsttypefindelement.c:
31045         (gst_type_find_element_have_type), (gst_type_find_element_init),
31046         (start_typefinding), (stop_typefinding), (push_buffer_store),
31047         (gst_type_find_element_handle_event),
31048         (gst_type_find_element_chain),
31049         (gst_type_find_element_checkgetrange),
31050         (gst_type_find_element_getrange), (do_typefind),
31051         (gst_type_find_element_activate),
31052         (gst_type_find_element_change_state):
31053         * gst/elements/gsttypefindelement.h:
31054         * gst/gstpipeline.c: (pipeline_bus_handler):
31055         Added typefind helper.
31056         Small preroll fix in the base sink.
31057         Disable typefind code in basesrc.
31058         Crude port of typefindelement.
31059         Fakesrc cleanups.
31060
31061
31062 2005-04-11  Wim Taymans  <wim@fluendo.com>
31063
31064         * check/gst/gstbus.c: (gstbus_suite):
31065         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31066         * check/gstcheck.h:
31067           Fix up the timeout so that the test does not fail.
31068
31069 2005-04-06  Wim Taymans  <wim@fluendo.com>
31070
31071         * gst/base/README:
31072         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31073         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31074         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31075         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31076         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31077         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31078         (gst_basesrc_stop), (gst_basesrc_activate),
31079         (gst_basesrc_change_state), (basesrc_find_peek),
31080         (basesrc_find_suggest), (gst_basesrc_type_find):
31081         * gst/base/gstbasesrc.h:
31082         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31083         (gst_filesrc_class_init), (gst_filesrc_init),
31084         (gst_filesrc_finalize), (gst_filesrc_set_location),
31085         (gst_filesrc_set_property), (gst_filesrc_get_property),
31086         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31087         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31088         (gst_filesrc_create_read), (gst_filesrc_create),
31089         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31090         * gst/elements/gstfilesrc.h:
31091         * gst/gstelement.c: (gst_element_get_state_func),
31092         (gst_element_lost_state), (gst_element_pads_activate):
31093         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31094         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31095         (gst_pad_pull_range):
31096         * gst/gstpad.h:
31097         More work on the generic source base class, implement seeking,
31098         query.
31099         Make filesrc extend the base source class.
31100         Added gst_pad_set_checkgetrange_function to GstPad.
31101
31102 2005-04-06  Andy Wingo  <wingo@pobox.com>
31103
31104         * pkgconfig/gstreamer-base.pc.in:
31105         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31106
31107         * pkgconfig/Makefile.am:
31108         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31109
31110 2005-04-04  Wim Taymans  <wim@fluendo.com>
31111
31112         * gst/base/Makefile.am:
31113         * gst/base/README:
31114         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31115         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31116         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31117         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31118         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31119         (gst_basesrc_base_init), (gst_basesrc_class_init),
31120         (gst_basesrc_init), (gst_basesrc_get_formats),
31121         (gst_basesrc_get_query_types), (gst_basesrc_query),
31122         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31123         (gst_basesrc_set_property), (gst_basesrc_get_property),
31124         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31125         (gst_basesrc_loop), (gst_basesrc_activate),
31126         (gst_basesrc_change_state):
31127         * gst/base/gstbasesrc.h:
31128         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31129         (gst_fakesrc_class_init), (gst_fakesrc_init),
31130         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31131         (gst_fakesrc_get_property), (gst_fakesrc_create):
31132         * gst/elements/gstfakesrc.h:
31133         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31134         (gst_filesrc_open_file), (gst_filesrc_loop),
31135         (gst_filesrc_activate), (filesrc_find_peek),
31136         (gst_filesrc_type_find):
31137         Made base source class, make fakesrc extend it.
31138         Add comments to basesink class.
31139         Some filesrc cleanup.
31140
31141 2005-03-31  David Schleef  <ds@schleef.org>
31142
31143         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31144         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31145         expected to link against libgstreamer.
31146         * gst/base/Makefile.am: link against libgstreamer
31147         * gst/elements/Makefile.am: same
31148
31149 2005-03-31  Andy Wingo  <wingo@pobox.com>
31150
31151         * tests/instantiate/Makefile.am:
31152         * tests/instantiate/caps.c: Add test to test speed of caps copy
31153         and free.
31154
31155         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31156         GMemChunk to be fair.
31157
31158         * gst/gsttrashstack.h: Remove warning about using the fallback
31159         trash stack implementation, it's still faster than malloc.
31160
31161 2005-03-30  Andy Wingo  <wingo@pobox.com>
31162
31163         * tests/complexity.c: Add a copyright.
31164
31165 2005-03-31  Wim Taymans  <wim@fluendo.com>
31166
31167         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31168         (gst_base_transform_class_init), (gst_base_transform_init),
31169         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31170         (gst_base_transform_get_property),
31171         (gst_base_transform_sink_activate),
31172         (gst_base_transform_src_activate),
31173         (gst_base_transform_change_state):
31174         * gst/base/gstbasetransform.h:
31175         * gst/elements/gstidentity.c: (gst_identity_class_init),
31176         (gst_identity_event), (gst_identity_check_perfect),
31177         (gst_identity_transform), (gst_identity_start),
31178         (gst_identity_stop):
31179         Added start/stop methods to transform base class so subclasses 
31180         don't need to deal with state changes even.
31181
31182 2005-03-31  Wim Taymans  <wim@fluendo.com>
31183
31184         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31185         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31186         * gst/gstevent.h:
31187         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31188         (gst_pad_pull_range):
31189         Added rate to the discont event to prepare for variable speed
31190         and reverse playback.
31191
31192 2005-03-29  David Schleef  <ds@schleef.org>
31193
31194         * configure.ac:
31195         * testsuite/trigger/Makefile.am:
31196         * testsuite/trigger/trigger.c: A little example program to show
31197         how trigger-based elements can work.
31198
31199 2005-03-29  Wim Taymans  <wim@fluendo.com>
31200
31201         * gst/base/Makefile.am:
31202         * gst/base/README:
31203         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31204         (gst_basesink_base_init), (gst_basesink_class_init),
31205         (gst_basesink_pad_getcaps), (gst_basesink_init),
31206         (gst_basesink_activate), (gst_basesink_change_state):
31207         * gst/base/gstbasesink.h:
31208         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31209         (gst_base_transform_base_init), (gst_base_transform_finalize),
31210         (gst_base_transform_class_init), (gst_base_transform_init),
31211         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31212         (gst_base_transform_event), (gst_base_transform_getrange),
31213         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31214         (gst_base_transform_set_property),
31215         (gst_base_transform_get_property),
31216         (gst_base_transform_sink_activate),
31217         (gst_base_transform_src_activate),
31218         (gst_base_transform_change_state):
31219         * gst/base/gstbasetransform.h:
31220         * gst/elements/gstidentity.c: (gst_identity_finalize),
31221         (gst_identity_class_init), (gst_identity_init),
31222         (gst_identity_event), (gst_identity_check_perfect),
31223         (gst_identity_transform), (gst_identity_set_property),
31224         (gst_identity_get_property), (gst_identity_change_state):
31225         * gst/elements/gstidentity.h:
31226         * gst/gstelement.c: (gst_element_get_state_func),
31227         (gst_element_lost_state), (gst_element_pads_activate):
31228         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31229         (gst_pad_check_pull_range), (gst_pad_pull_range):
31230         * gst/gstpad.h:
31231         Simplify pad activation.
31232         Added function to check if pull_range can be performed.
31233         Error out when pulling inactive or flushing pads.
31234         Removed const from refcounted types as it does not make sense.
31235         Simplify pad templates in basesink
31236         Added base class for simple 1-to-1 transforms.
31237         Make identity subclass the base transform.
31238
31239 2005-03-29  Andy Wingo  <wingo@pobox.com>
31240
31241         * docs/libs/gstreamer-libs-overrides.txt: 
31242         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31243         really don't understand what's going on, but like whatever. I want
31244         green buildbot!
31245
31246         * docs/gst/Makefile.am:
31247         * docs/libs/Makefile.am: Dist the overrides files.
31248
31249         * check/Makefile.am (clean-local): Remove .libs directories.
31250
31251         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31252         elements to EXTRA_DIST, so po/ files are happy.
31253
31254         * po/POTFILES.in: Er, remove it here.
31255
31256         * po/POTFILES: Remove gstspider.c.
31257
31258         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31259
31260         * docs/libs/gstreamer-libs-docs.sgml: 
31261         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31262         bytestream.
31263
31264         * tests/complexity.c (main): Set the length of the preroll queue
31265         on the sinks to prevent a lockup.
31266
31267         * libs/gst/dataprotocol/Makefile.am: 
31268         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31269         the same as the one in check/gst-libs/gdp.c.
31270
31271         * po/, docs/gst/: Commit automatic changes to docs and po files.
31272
31273         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31274         the versioned libgstbase.
31275
31276         * check/Makefile.am: Depend on an unversioned gst-register, seems
31277         to make autoconf happier.
31278
31279         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31280
31281 2005-03-28  Wim Taymans  <wim@fluendo.com>
31282
31283         * configure.ac:
31284         * docs/design/part-gstelement.txt:
31285         * docs/design/part-negotiation.txt:
31286         * docs/design/part-preroll.txt:
31287         * docs/design/part-scheduling.txt:
31288         * docs/design/part-states.txt:
31289         * gst/Makefile.am:
31290         * gst/base/Makefile.am:
31291         * gst/base/README:
31292         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31293         (gst_basesink_base_init), (gst_basesink_class_init),
31294         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31295         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31296         (gst_basesink_set_pad_functions),
31297         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31298         (gst_basesink_set_property), (gst_basesink_get_property),
31299         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31300         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31301         (gst_basesink_preroll_queue_push),
31302         (gst_basesink_preroll_queue_empty),
31303         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31304         (gst_basesink_event), (gst_basesink_get_times),
31305         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31306         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31307         (gst_basesink_loop), (gst_basesink_activate),
31308         (gst_basesink_change_state):
31309         * gst/base/gstbasesink.h:
31310         * gst/elements/Makefile.am:
31311         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31312         (gst_fakesink_class_init), (gst_fakesink_init),
31313         (gst_fakesink_set_property), (gst_fakesink_get_property),
31314         (gst_fakesink_get_times), (gst_fakesink_event),
31315         (gst_fakesink_preroll), (gst_fakesink_render),
31316         (gst_fakesink_change_state):
31317         * gst/elements/gstfakesink.h:
31318         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31319         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31320         * gst/gstelement.c: (gst_element_add_pad),
31321         (gst_element_get_state_func), (gst_element_abort_state),
31322         (gst_element_commit_state), (gst_element_lost_state),
31323         (gst_element_set_state), (gst_element_pads_activate):
31324         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31325         * gst/gstpipeline.c: (gst_pipeline_send_event),
31326         (gst_pipeline_change_state):
31327         Added state change code.
31328         Added/updated docs.
31329         Added sink base class, make fakesink extend the base class.
31330         Small cleanups in GstPipeline.
31331
31332 2005-03-26  David Schleef  <ds@schleef.org>
31333
31334         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31335         is broken and should be implemented in a different library.
31336         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31337         * gst/gst.h: remove gstcpu.h
31338         * gst/gstcpu.c: remove
31339         * gst/gstcpu.h: remove
31340         * gst/Makefile.am.future: Remove this file.  It's ancient.
31341
31342 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31343
31344         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31345         (gst_bin_send_event):
31346           Add default event/set_manager handlers. The set_manager handler
31347           takes care that the manager is distributed over kids that were
31348           already in the bin before the manager was set. The event handler
31349           is a utility virtual function that sends the event over all sinks,
31350           so that gst_element_send_event (bin, event); has the expected
31351           behaviour.
31352         * gst/gstpad.c: (gst_pad_event_default):
31353           Re-install default event handling for discontinuities, so that
31354           seeking works without requiring hacks in applications or extra
31355           code in sinks.
31356         * gst/gstpipeline.c: (gst_pipeline_class_init),
31357         (gst_pipeline_send_event):
31358           Half hack, half utility: set a pipeline to PAUSED for seek events,
31359           since that is the only way we can guarantee a/v sync. Means that
31360           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31361           and it "just works".
31362
31363 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31364
31365         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31366           Lock/unlock mismatch.
31367
31368 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31369
31370         * docs/faq/gst-uninstalled:
31371           add gst-plugins-base
31372         * docs/gst/Makefile.am:
31373           don't error out until docs are fixed
31374         * docs/gst/gstreamer.types:
31375           remove thread
31376
31377 2005-03-22  Wim Taymans  <wim@fluendo.com>
31378
31379         * check/Makefile.am:
31380         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31381         * gst/gststructure.c: (gst_structure_set_valist),
31382         (gst_structure_copy_conditional):
31383         Activated more tests.
31384         Added message test.
31385         Added G_TYPE_POINTER to GstStructure.
31386         
31387
31388 2005-03-22  Wim Taymans  <wim@fluendo.com>
31389
31390         * docs/design/part-TODO.txt:
31391         * docs/design/part-events.txt:
31392         * docs/design/part-gstbin.txt:
31393         * docs/design/part-gstbus.txt:
31394         * docs/design/part-gstpipeline.txt:
31395         * docs/design/part-messages.txt:
31396         * gst/gstbus.c:
31397         * gst/gstmessage.c:
31398         Docs updates
31399
31400 2005-03-21  Wim Taymans  <wim@fluendo.com>
31401
31402         * gst/gstbus.c: (gst_bus_post):
31403         Fix copy-and-paste error.
31404
31405 2005-03-21  Wim Taymans  <wim@fluendo.com>
31406
31407         * check/Makefile.am:
31408         * gst/Makefile.am:
31409         * gst/elements/Makefile.am:
31410         * gst/elements/gstelements.c:
31411         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31412         (gst_fakesink_event), (gst_fakesink_chain):
31413         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31414         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31415         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31416         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31417         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31418         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31419         (gst_fakesrc_loop), (gst_fakesrc_activate),
31420         (gst_fakesrc_change_state):
31421         * gst/elements/gstfakesrc.h:
31422         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31423         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31424         (gst_filesrc_open_file), (gst_filesrc_loop),
31425         (gst_filesrc_activate), (gst_filesrc_change_state),
31426         (filesrc_find_peek), (filesrc_find_suggest),
31427         (gst_filesrc_type_find):
31428         * gst/elements/gstidentity.c: (gst_identity_finalize),
31429         (gst_identity_class_init), (gst_identity_init),
31430         (gst_identity_proxy_getcaps), (identity_queue_push),
31431         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31432         (gst_identity_getrange), (gst_identity_chain),
31433         (gst_identity_sink_loop), (gst_identity_src_loop),
31434         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31435         (gst_identity_set_property), (gst_identity_get_property),
31436         (gst_identity_change_state):
31437         * gst/elements/gstidentity.h:
31438         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31439         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31440         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31441         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31442         (gst_tee_sink_activate):
31443         * gst/elements/gsttee.h:
31444         * gst/gst.c: (gst_register_core_elements), (init_post):
31445         * gst/gst.h:
31446         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31447         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31448         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31449         (gst_bin_change_state):
31450         * gst/gstbin.h:
31451         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31452         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31453         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31454         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31455         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31456         (bus_watch_callback), (bus_watch_destroy),
31457         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31458         (poll_timeout), (gst_bus_poll):
31459         * gst/gstbus.h:
31460         * gst/gstcaps.h:
31461         * gst/gstdata.h:
31462         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31463         (gst_element_post_message), (gst_element_message_full),
31464         (gst_element_get_state_func), (gst_element_get_state),
31465         (gst_element_abort_state), (gst_element_commit_state),
31466         (gst_element_lost_state), (gst_element_set_state),
31467         (gst_element_pads_activate), (gst_element_change_state),
31468         (gst_element_dispose), (gst_element_set_manager_func),
31469         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31470         (gst_element_set_manager), (gst_element_get_manager),
31471         (gst_element_set_bus), (gst_element_get_bus),
31472         (gst_element_set_scheduler), (gst_element_get_scheduler):
31473         * gst/gstelement.h:
31474         * gst/gstevent.c: (gst_event_new_segment_seek),
31475         (gst_event_new_flush):
31476         * gst/gstevent.h:
31477         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31478         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31479         (gst_message_new_eos), (gst_message_new_error),
31480         (gst_message_new_warning), (gst_message_new_tag),
31481         (gst_message_new_state_changed), (gst_message_new_application),
31482         (gst_message_get_structure), (gst_message_parse_tag),
31483         (gst_message_parse_state_changed), (gst_message_parse_error),
31484         (gst_message_parse_warning):
31485         * gst/gstmessage.h:
31486         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31487         (gst_real_pad_set_property), (gst_pad_set_active),
31488         (gst_pad_is_active), (gst_pad_set_blocked_async),
31489         (gst_pad_set_blocked), (gst_pad_is_blocked),
31490         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31491         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31492         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31493         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31494         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31495         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31496         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31497         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31498         (gst_pad_set_caps), (gst_pad_configure_sink),
31499         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31500         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31501         (gst_real_pad_dispose), (gst_real_pad_finalize),
31502         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31503         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31504         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31505         * gst/gstpad.h:
31506         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31507         (pipeline_bus_handler), (gst_pipeline_change_state),
31508         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31509         * gst/gstpipeline.h:
31510         * gst/gstprobe.h:
31511         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31512         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31513         (gst_queue_link_src), (gst_queue_bufferalloc),
31514         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31515         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31516         (gst_queue_loop), (gst_queue_handle_src_event),
31517         (gst_queue_handle_src_query), (gst_queue_src_activate),
31518         (gst_queue_change_state):
31519         * gst/gstqueue.h:
31520         * gst/gstscheduler.c: (gst_scheduler_init),
31521         (gst_scheduler_dispose), (gst_scheduler_create_task),
31522         (gst_scheduler_factory_create):
31523         * gst/gstscheduler.h:
31524         * gst/gststructure.c: (gst_structure_get_type),
31525         (gst_structure_copy_conditional):
31526         * gst/gststructure.h:
31527         * gst/gsttaginterface.h:
31528         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31529         (gst_task_init), (gst_task_dispose), (gst_task_create),
31530         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31531         (gst_task_pause):
31532         * gst/gsttask.h:
31533         * gst/gstthread.c:
31534         * gst/gstthread.h:
31535         * gst/gsttypes.h:
31536         * gst/schedulers/Makefile.am:
31537         * gst/schedulers/cothreads_compat.h:
31538         * gst/schedulers/entryscheduler.c:
31539         * gst/schedulers/faircothreads.c:
31540         * gst/schedulers/faircothreads.h:
31541         * gst/schedulers/fairscheduler.c:
31542         * gst/schedulers/gstbasicscheduler.c:
31543         * gst/schedulers/gstoptimalscheduler.c:
31544         * gst/schedulers/gthread-cothreads.h:
31545         * gst/schedulers/threadscheduler.c:
31546         (gst_thread_scheduler_task_get_type),
31547         (gst_thread_scheduler_task_class_init),
31548         (gst_thread_scheduler_task_init),
31549         (gst_thread_scheduler_task_start),
31550         (gst_thread_scheduler_task_stop),
31551         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31552         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31553         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31554         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31555         (plugin_init):
31556         * libs/gst/Makefile.am:
31557         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31558         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31559         (gst_file_pad_parent_set):
31560         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31561         (gst_dp_event_from_packet):
31562         * tests/complexity.c: (main):
31563         * tests/mass_elements.c: (main):
31564         * testsuite/states/locked.c: (message_received), (main):
31565         * testsuite/states/parent.c: (main):
31566         * tools/gst-inspect.c: (print_element_flag_info),
31567         (print_implementation_info), (print_pad_info):
31568         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31569         (main):
31570         * tools/gst-md5sum.c: (event_loop), (main):
31571         * tools/gst-typefind.c: (main):
31572         * tools/gst-xmlinspect.c: (print_element_info):
31573         Next big merge.
31574         Added GstBus for mainloop integration.
31575         Added GstMessage for sending notifications on the bus.
31576         Added GstTask as an abstraction for pipeline entry points.
31577         Removed GstThread.
31578         Removed Schedulers.
31579         Simplified GstQueue for multithreaded core.
31580         Made _link threadsafe, removed old capsnego.
31581         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31582         Added pad blocking functions.
31583         Reworked scheduling functions in GstPad to prepare for
31584         scheduling updates soon.
31585         Moved events out of data stream.
31586         Simplified GstEvent types.
31587         Added return values to push/pull.
31588         Removed clocking from GstElement.
31589         Added prototypes for state change function for next merge.
31590         Removed iterate from bins and state change management.
31591         Fixed some elements, disabled others for now.
31592         Fixed -inspect and -launch.
31593         Added check for GstBus.
31594
31595 2005-03-10  Wim Taymans  <wim@fluendo.com>
31596
31597         * docs/design/part-MT-refcounting.txt:
31598         * docs/design/part-clocks.txt:
31599         * docs/design/part-gstelement.txt:
31600         * docs/design/part-gstobject.txt:
31601         * docs/design/part-standards.txt:
31602         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31603         (gst_bin_remove_func), (gst_bin_remove):
31604         * gst/gstbin.h:
31605         * gst/gstbuffer.c:
31606         * gst/gstcaps.h:
31607         * testsuite/clock/clock1.c: (main):
31608         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31609         (main):
31610         * testsuite/dlopen/loadgst.c: (do_test):
31611         * testsuite/refcounting/bin.c: (add_remove_test1),
31612         (add_remove_test2), (main):
31613         * testsuite/refcounting/element.c: (main):
31614         * testsuite/refcounting/element_pad.c: (main):
31615         * testsuite/refcounting/pad.c: (main):
31616         * tools/gst-launch.c: (sigint_handler_sighandler):
31617         * tools/gst-typefind.c: (main):
31618         Doc updates.
31619         Added doc about clock.
31620         removed gst_bin_iterate_recurse_up(), marked methods
31621         for removal.
31622         Fix more testsuites.
31623
31624 2005-03-09  Wim Taymans  <wim@fluendo.com>
31625
31626         * gst/gstpad.c: (gst_pad_get_direction),
31627         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31628         (gst_pad_collect_valist):
31629         * testsuite/bins/interface.c: (main):
31630         * testsuite/caps/audioscale.c: (test_caps):
31631         * testsuite/caps/caps.c: (test1), (test2), (test3):
31632         * testsuite/caps/deserialize.c: (main):
31633         * testsuite/caps/enumcaps.c: (main):
31634         * testsuite/caps/filtercaps.c: (main):
31635         * testsuite/caps/intersect2.c: (main):
31636         * testsuite/caps/random.c: (main):
31637         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31638         * testsuite/caps/sets.c: (check_caps):
31639         * testsuite/caps/simplify.c: (check_caps), (main):
31640         * testsuite/caps/subtract.c: (check_caps):
31641         Fix _pad_get_direction wrt ghostpads.
31642         Fix caps testsuite.
31643
31644 2005-03-09  Wim Taymans  <wim@fluendo.com>
31645
31646         * check/Makefile.am:
31647         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31648         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31649         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31650         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31651         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31652         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31653         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31654         (bin_element_is_sink), (gst_bin_iterate_sinks),
31655         (gst_bin_iterate_all_by_interface):
31656         * gst/gstbin.h:
31657         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31658         (gst_element_change_state), (gst_element_dispose),
31659         (gst_element_finalize), (gst_element_set_loop_function):
31660         * gst/gstelement.h:
31661         * gst/gstiterator.c: (find_custom_fold_func):
31662         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31663         (gst_pad_collectv), (gst_pad_collect_valist),
31664         (gst_pad_template_new):
31665         * gst/gstpipeline.c: (gst_pipeline_class_init),
31666         (gst_pipeline_dispose), (gst_pipeline_set_property),
31667         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31668         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31669         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31670         * gst/gstutils.h:
31671         * gst/schedulers/entryscheduler.c:
31672         * gst/schedulers/gstbasicscheduler.c:
31673         (gst_basic_scheduler_cothreaded_chain),
31674         (gst_basic_scheduler_chain_add_element):
31675         * testsuite/bins/interface.c: (main):
31676         Added GstBin test.
31677         Added GstSystemClock test.
31678         Implemented clock distribution code in GstBin.
31679         Implemented iterate sinks method for future use.
31680         Rearranged gstelement.h
31681         Fix GstIterator comparison bug.
31682         Moved some code to GstPipeline, mostly clocking related.
31683
31684 2005-03-09  Wim Taymans  <wim@fluendo.com>
31685
31686         * configure.ac:
31687         * gst/gst_private.h:
31688         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31689         (gst_bin_remove_func), (gst_bin_remove),
31690         (gst_bin_get_by_name_recurse_up):
31691         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31692         (gst_clock_id_compare_func), (gst_clock_id_wait),
31693         (gst_clock_id_wait_async), (gst_clock_init),
31694         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31695         * gst/gstelement.h:
31696         * gst/gstinfo.c: (_gst_debug_init):
31697         * gst/gstobject.h:
31698         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31699         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31700         * gst/gstpad.h:
31701         Bump version number, we're now 0.9.0
31702         Add future debugging category.
31703         Fix NULL _unref() in _get_by_name_recurse_up
31704         Rearrange gstpad.h.
31705         Update some docs.
31706
31707 2005-03-08  Wim Taymans  <wim@fluendo.com>
31708
31709         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31710         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31711         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31712         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31713         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31714         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31715         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31716         * gst/elements/gstidentity.c: (gst_identity_class_init):
31717         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31718         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31719         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31720         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31721         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31722         (gst_tee_link):
31723         * gst/gstelement.c: (gst_element_class_init),
31724         (gst_element_base_class_init), (gst_element_init),
31725         (gst_element_get_random_pad), (gst_element_wait_state_change),
31726         (gst_element_change_state), (gst_element_dispose),
31727         (gst_element_finalize), (gst_element_set_loop_function):
31728         * gst/gstelement.h:
31729         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31730         * gst/gstthread.c: (gst_thread_class_init),
31731         (gst_thread_release_children_locks), (gst_thread_change_state):
31732         * gst/schedulers/gstbasicscheduler.c:
31733         (gst_basic_scheduler_loopfunc_wrapper),
31734         (gst_basic_scheduler_chain_wrapper),
31735         (gst_basic_scheduler_src_wrapper),
31736         (gst_basic_scheduler_remove_element):
31737         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31738         Remove threadsafe properties. Fix elements because GObject
31739         complains when installing a property before declaring a
31740         set/get_property handler.
31741         Rearrange gstelement.h file, use STATE macros for state locks.
31742         Free mutexes in the finalize method instead of dispose.
31743
31744 2005-03-08  Wim Taymans  <wim@fluendo.com>
31745
31746         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31747         * gst/gstthread.c: (gst_thread_release_children_locks):
31748         Added parentage check.
31749         Fix build og GstThread again.
31750
31751 2005-03-08  Wim Taymans  <wim@fluendo.com>
31752
31753         * docs/design/part-MT-refcounting.txt:
31754         * docs/design/part-conventions.txt:
31755         * docs/design/part-gstobject.txt:
31756         * docs/design/part-relations.txt:
31757         * docs/design/part-standards.txt:
31758         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31759         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31760         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31761         (gst_bin_iterate_all_by_interface):
31762         * gst/gstbuffer.h:
31763         * gst/gstclock.h:
31764         * gst/gstelement.c: (gst_element_class_init),
31765         (gst_element_change_state), (gst_element_set_loop_function):
31766         * gst/gstelement.h:
31767         * gst/gstiterator.c:
31768         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31769         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31770         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31771         (gst_object_set_parent), (gst_object_unparent),
31772         (gst_object_check_uniqueness):
31773         * gst/gstobject.h:
31774         Docs updates, clean up some headers.
31775
31776 2005-03-07  Wim Taymans  <wim@fluendo.com>
31777
31778         * check/.cvsignore:
31779         * check/Makefile.am:
31780         * check/gst-libs/.cvsignore:
31781         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31782         * check/gst/.cvsignore:
31783         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31784         (START_TEST), (gstbus_suite), (main):
31785         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31786         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31787         (gst_data_suite), (main):
31788         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31789         (add_fold_func), (gstiterator_suite), (main):
31790         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31791         (thread_name_object), (thread_name_object_default),
31792         (gst_object_name_compare), (gst_object_suite), (main):
31793         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31794         (gst_pad_suite), (main):
31795         * check/gstcheck.c: (gst_check_log_message_func),
31796         (gst_check_log_critical_func), (gst_check_init):
31797         * check/gstcheck.h:
31798         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31799         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31800         Added checks.
31801
31802 2005-03-07  Wim Taymans  <wim@fluendo.com>
31803
31804         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31805         (gst_list_iterator_next), (gst_list_iterator_resync),
31806         (gst_list_iterator_free), (gst_iterator_new_list),
31807         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31808         (gst_iterator_free), (gst_iterator_push), (filter_next),
31809         (filter_resync), (filter_uninit), (filter_free),
31810         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31811         (gst_iterator_foreach), (find_custom_fold_func),
31812         (gst_iterator_find_custom):
31813         * gst/gstiterator.h:
31814         Added missing files.
31815
31816 2005-03-07  Wim Taymans  <wim@fluendo.com>
31817
31818         * Makefile.am:
31819         * configure.ac:
31820         * docs/design/part-MT-refcounting.txt:
31821         * docs/design/part-conventions.txt:
31822         * docs/design/part-gstobject.txt:
31823         * docs/design/part-relations.txt:
31824         * examples/mixer/mixer.c: (main):
31825         * examples/thread/thread.c: (eos), (main):
31826         * gst/Makefile.am:
31827         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31828         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31829         (gst_spider_plug_from_srcpad):
31830         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31831         (gst_spider_identity_change_state),
31832         (gst_spider_identity_sink_loop_type_finding):
31833         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31834         * gst/elements/gstidentity.c: (gst_identity_init):
31835         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31836         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31837         * gst/elements/gsttypefindelement.c: (free_entry):
31838         * gst/gst.c:
31839         * gst/gst.h:
31840         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31841         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31842         (gst_bin_set_index), (gst_bin_set_element_sched),
31843         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31844         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31845         (gst_bin_iterate_elements), (iterate_child_recurse),
31846         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31847         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31848         (compare_interface), (gst_bin_get_by_interface),
31849         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31850         * gst/gstbin.h:
31851         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31852         (gst_buffer_default_free), (gst_buffer_default_copy),
31853         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31854         (gst_buffer_create_sub):
31855         * gst/gstbuffer.h:
31856         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31857         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31858         (gst_caps_unref), (gst_static_caps_get),
31859         (gst_caps_remove_and_get_structure), (gst_caps_append),
31860         (gst_caps_append_structure), (gst_caps_remove_structure),
31861         (gst_caps_copy_nth), (gst_caps_set_simple),
31862         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31863         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31864         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31865         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31866         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31867         (gst_caps_structure_figure_out_union),
31868         (gst_caps_switch_structures), (gst_caps_do_simplify),
31869         (gst_caps_replace), (gst_caps_from_string),
31870         (gst_caps_copy_conditional):
31871         * gst/gstcaps.h:
31872         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31873         (_gst_clock_id_free), (gst_clock_id_unref),
31874         (gst_clock_id_compare_func), (gst_clock_id_wait),
31875         (gst_clock_id_wait_async), (gst_clock_class_init),
31876         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31877         (gst_clock_get_time), (gst_clock_set_time_adjust),
31878         (gst_clock_set_property), (gst_clock_get_property):
31879         * gst/gstclock.h:
31880         * gst/gstcompat.h:
31881         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31882         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31883         * gst/gstdata.h:
31884         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31885         (gst_element_requires_clock), (gst_element_provides_clock),
31886         (gst_element_set_clock), (gst_element_clock_wait),
31887         (gst_element_wait), (gst_element_set_time_delay),
31888         (gst_element_is_indexable), (gst_element_add_pad),
31889         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31890         (pad_compare_name), (gst_element_get_static_pad),
31891         (gst_element_request_pad), (gst_element_get_request_pad),
31892         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31893         (gst_element_class_get_pad_template_list),
31894         (gst_element_class_get_pad_template), (gst_element_error_func),
31895         (gst_element_get_random_pad), (gst_element_get_event_masks),
31896         (gst_element_send_event), (gst_element_seek),
31897         (gst_element_get_query_types), (gst_element_query),
31898         (gst_element_get_formats), (gst_element_convert),
31899         (gst_element_is_locked_state), (gst_element_set_locked_state),
31900         (gst_element_sync_state_with_parent), (gst_element_change_state),
31901         (gst_element_finalize), (gst_element_yield),
31902         (gst_element_interrupt), (gst_element_set_scheduler),
31903         (gst_element_get_scheduler), (gst_element_set_loop_function):
31904         * gst/gstelement.h:
31905         * gst/gstevent.h:
31906         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31907         (gst_format_get_by_nick), (gst_format_get_details),
31908         (gst_format_iterate_definitions):
31909         * gst/gstformat.h:
31910         * gst/gstindex.c: (gst_index_gtype_resolver):
31911         * gst/gstinfo.c:
31912         * gst/gstinfo.h:
31913         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31914         (gst_mem_chunk_free):
31915         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31916         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31917         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31918         (gst_object_dispatch_properties_changed),
31919         (gst_object_set_name_default), (gst_object_set_name),
31920         (gst_object_get_name), (gst_object_set_name_prefix),
31921         (gst_object_get_name_prefix), (gst_object_set_parent),
31922         (gst_object_get_parent), (gst_object_unparent),
31923         (gst_object_check_uniqueness), (gst_object_save_thyself),
31924         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31925         (gst_object_set_property), (gst_object_get_property),
31926         (gst_object_get_path_string):
31927         * gst/gstobject.h:
31928         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31929         (gst_real_pad_init), (gst_real_pad_get_property),
31930         (gst_pad_custom_new), (gst_pad_get_direction),
31931         (gst_pad_set_active), (gst_pad_is_active),
31932         (gst_pad_set_event_function), (gst_pad_is_linked),
31933         (gst_pad_link_free), (gst_pad_link_intersect),
31934         (gst_pad_link_fixate), (gst_pad_set_caps),
31935         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31936         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31937         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31938         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31939         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31940         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31941         (gst_pad_realize), (gst_pad_get_allowed_caps),
31942         (gst_real_pad_dispose), (gst_real_pad_finalize),
31943         (gst_pad_collectv), (gst_pad_collect_valist),
31944         (gst_pad_template_dispose), (gst_pad_template_new),
31945         (gst_pad_get_internal_links):
31946         * gst/gstpad.h:
31947         * gst/gstpipeline.c: (gst_pipeline_dispose),
31948         (gst_pipeline_change_state):
31949         * gst/gstpipeline.h:
31950         * gst/gstplugin.c:
31951         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31952         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31953         * gst/gstpluginfeature.h:
31954         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31955         * gst/gstquery.c: (_gst_query_type_initialize),
31956         (gst_query_type_register), (gst_query_type_get_by_nick),
31957         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31958         * gst/gstquery.h:
31959         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31960         * gst/gstscheduler.c: (gst_scheduler_add_element),
31961         (gst_scheduler_factory_create):
31962         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31963         (gst_structure_free), (gst_structure_set_name),
31964         (gst_structure_id_set_value), (gst_structure_set_value),
31965         (gst_structure_set_valist), (gst_structure_remove_field),
31966         (gst_structure_remove_fields),
31967         (gst_structure_remove_fields_valist),
31968         (gst_structure_remove_all_fields), (gst_structure_foreach),
31969         (gst_structure_map_in_place),
31970         (gst_caps_structure_fixate_field_nearest_int),
31971         (gst_caps_structure_fixate_field_nearest_double):
31972         * gst/gststructure.h:
31973         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31974         (gst_system_clock_init), (gst_system_clock_dispose),
31975         (gst_system_clock_async_thread),
31976         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31977         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31978         * gst/gstsystemclock.h:
31979         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31980         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31981         * gst/gsttaginterface.c:
31982         * gst/gstthread.c: (gst_thread_dispose),
31983         (gst_thread_release_children_locks), (gst_thread_change_state),
31984         (gst_thread_main_loop):
31985         * gst/gsttrashstack.h:
31986         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31987         * gst/gsttypes.h:
31988         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31989         (gst_element_request_pad), (gst_element_get_pad_from_template),
31990         (gst_element_request_compatible_pad),
31991         (gst_element_get_compatible_pad_filtered),
31992         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31993         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31994         (gst_element_link_many), (gst_element_link),
31995         (gst_element_link_pads), (gst_element_unlink_pads),
31996         (gst_element_unlink_many), (gst_element_unlink),
31997         (gst_pad_can_link_filtered), (gst_pad_can_link),
31998         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31999         (gst_object_default_error), (gst_bin_add_many),
32000         (gst_bin_remove_many), (gst_element_populate_std_props),
32001         (gst_element_class_install_std_props), (gst_buffer_merge),
32002         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32003         (link_fold_func), (gst_pad_proxy_setcaps):
32004         * gst/gstutils.h:
32005         * gst/gstvalue.c: (gst_value_deserialize_string):
32006         * gst/parse/grammar.y:
32007         * gst/schedulers/gstbasicscheduler.c:
32008         (gst_basic_scheduler_cothreaded_chain),
32009         (gst_basic_scheduler_chain_recursive_add),
32010         (gst_basic_scheduler_pad_link):
32011         * gst/schedulers/gstoptimalscheduler.c:
32012         (get_group_schedule_function),
32013         (gst_opt_scheduler_state_transition),
32014         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32015         * libs/gst/bytestream/bytestream.c:
32016         * libs/gst/dataprotocol/dataprotocol.c:
32017         (gst_dp_header_from_buffer):
32018         * po/nb.po:
32019         * po/ru.po:
32020         * tests/threadstate/threadstate2.c: (eos):
32021         * tools/gst-compprep.c: (main):
32022         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32023         (print_pad_info), (print_children_info):
32024         * tools/gst-launch.c: (idle_func), (main):
32025         * tools/gst-md5sum.c: (idle_func), (main):
32026         * tools/gst-xmlinspect.c: (print_element_info):
32027         First THREADED backport attempt, focusing on adding locks and
32028         making sure the API is threadsafe. Needs more work. More docs
32029         follow this week.
32030
32031 2005-02-24  Andy Wingo  <wingo@pobox.com>
32032
32033         * tests/bench-complexity.scm:
32034         * tests/complexity.gnuplot: New files, good for running complexity
32035         benchmarks.
32036
32037         * tests/Makefile.am:
32038         * tests/complexity.c: New test, sets up N elements, at each level
32039         teeing into M streams per element. Eeeenteresting.
32040
32041         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32042         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32043         running bench-mass_elements.scm.
32044
32045         * tests/bench-mass_elements.scm: New script, runs mass_elements
32046         for various numbers of identities, outputting the results to a
32047         file. Requires guile 1.6. Just for testing.
32048
32049 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32050
32051         * gst/schedulers/fairscheduler.c:
32052           compile with debug disabled
32053
32054 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32055
32056         * configure.ac:
32057           hunting season on 0.9 is now OPEN