tests/check/libs/controller.c: This test should return TRUE now as syncing an uncontr...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2
3         * tests/check/libs/controller.c: (GST_START_TEST):
4         This test should return TRUE now as syncing an uncontrolled
5         object will succeed now (there's nothing to sync).
6
7 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
8
9         * libs/gst/controller/gstcontroller.c:
10           Aggregate return value for gst_controller_sync_values(). More info in
11           logging. Always set values on first sync-call.
12
13         * libs/gst/controller/gstcontrolsource.c:
14           Microoptimizations.
15
16         * libs/gst/controller/gsthelper.c:
17           Fix return code and comment.
18
19 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
20
21         * tools/gst-launch.1.in:
22           Fix description of how to specify a type in caps. Fixes #553873.
23           Also ranges and list contain values and not property-assignments.
24
25 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
26
27         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
28         Check for changed pads-list before checking the last returned
29         GstFlowReturn because the pad could have been removed and we
30         need to ignore the value in that case.
31
32 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
33
34         * libs/gst/base/gstbasetransform.c:
35         (gst_base_transform_prepare_output_buffer),
36         (gst_base_transform_getrange), (gst_base_transform_chain):
37         * libs/gst/base/gstbasetransform.h:
38         Add vmethod that is called before we start the transform and which can
39         be used to configure the transform, such as dynamic properties.
40
41 2008-12-05  David Schleef  <ds@schleef.org>
42
43         * gst/gst.c:
44         Search for plugins on win32 based on the location of the
45         gstreamer DLL.  Fixes #548786
46
47 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
48
49         * configure.ac:
50         Apparently AC_CONFIG_MACRO_DIR breaks when using more
51         than one macro directory, reverting last change.
52
53 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
54
55         * configure.ac:
56         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
57         our M4 macros.
58
59 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
60
61         Patch by: Cygwin Ports maintainer
62                   <yselkowitz at users dot sourceforge dot net>
63
64         * autogen.sh:
65         * configure.ac:
66         Require gettext 0.17 because older versions don't mix with libtool
67         2.2. At build time an older gettext version will still work.
68         Fixes bug #556091.
69
70 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
71
72         Patch by: 이문형 <iwings at gmail dot com>
73
74         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
75         Adds support for FD_CONNECT event (win32). See #562258.
76
77 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
78
79         * libs/gst/base/gstbasesink.c:
80           Turn comment into gtk-doc comment.
81
82 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
83
84         * libs/gst/base/gstbasetransform.c:
85         (gst_base_transform_acceptcaps):
86         Revert quick accepcaps attempt, it's not fully equivalent to the old
87         behaviour and thus causes regressions.
88
89 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
90
91         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
92         Fix memory leak.
93
94 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
95
96         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
97
98         * gst/gstregistry.c: (gst_registry_scan_path_level):
99         Reduce the number of stat() calls for every file from three times
100         to one time. Fixes bug #560360.
101
102 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
103
104         * libs/gst/base/gstbasetransform.c:
105         (gst_base_transform_acceptcaps):
106         Rename a variable to make the code clearer.
107
108 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
109
110         * plugins/elements/gstidentity.c:
111         Don't warning on offset==-1. Taken from _check_imperfect_offset().
112
113 2008-11-21  Michael Smith <msmith@songbirdnest.com>
114
115         * plugins/elements/gstfilesrc.c:
116           Check for localhost in URI was backwards, fix it. Fixes unit test.
117
118 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
119
120         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
121         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
122         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
123         Add beginnings of a more optimized acceptcaps function than the default
124         core one.
125
126 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
127
128         * gst/gstpad.c: (gst_pad_accept_caps):
129         Avoid getting the acceptcaps function too early.
130
131 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
132
133         * tools/gst-launch.c: (event_loop):
134         Make gst-launch handle LATENCY messages and make it recalculate the
135         latency.
136
137 2008-11-20  Michael Smith <msmith@songbirdnest.com>
138
139         * plugins/elements/gstfilesrc.c:
140           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
141           out own slightly incorrect version. Fixes use of some paths on
142           win32.
143
144 2008-11-20  Michael Smith <msmith@songbirdnest.com>
145
146         * gst/gstregistrybinary.c:
147           In win32 codepath, if we fail to write the registry, create the
148           directory for it and try again, matching the behaviour in non-win32
149           codepaths.
150
151 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
152
153         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
154         Changing the render delay changes the latency and so we must post a
155         latency message.
156
157 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
158
159         * gst/gstquery.c:
160         * gst/gstquery.h:
161         Add GstQueryType for custom queries instead of having to use the
162         not-so-very-convenient registration infrastructure to register new
163         types.
164
165 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
166
167         Patch by: Andrew Feren <acferen at yahoo dot com>
168
169         * gst/gstobject.c: (gst_object_default_deep_notify):
170         Unref the GEnumClass after usage again. Fixes bug #561501.
171
172 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
173
174         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
175         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
176         (gst_bin_change_state_func):
177         * gst/gstbin.h:
178         Add do-latency signal with the old default fallback implementation. This
179         allows for custom latency calculations for when the default is not
180         sufficient.
181         API: GstBin::do-latency signal.
182
183 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
184
185         * win32/common/libgstreamer.def:
186         Add new symbols to .def file.
187
188 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
189
190         * docs/gst/gstreamer-sections.txt:
191         * gst/gstbin.c: (gst_bin_recalculate_latency),
192         (gst_bin_change_state_func):
193         * gst/gstbin.h:
194         Add method to recalculate and redistribute the latency on a bin.
195         API: gst_bin_recalculate_latency().
196
197 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
198
199         * gst/gstbuffer.h:
200         Document the free_func.
201
202 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
203
204         * libs/gst/controller/gstinterpolation.c:
205         * libs/gst/controller/gstlfocontrolsource.c:
206         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
207         as it is mapped to a cast on non-win32 platforms.
208
209 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
210
211         * libs/gst/controller/gstcontroller.c:
212         * libs/gst/controller/gstcontrollerprivate.h:
213           Keep last-value and only call set_property if value has changed. This
214           supresses all the g_object_notifies we would trigger otherwise. It
215           also allows the user to chage the value while there is no controller
216           change.
217
218 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
219
220         * gst/gstvalue.c:
221           Don't crash if either of the string GValues is empty.
222
223 2008-11-17  Andy Wingo  <wingo@pobox.com>
224
225         * tools/gst-inspect.c (print_all_uri_handlers): New function,
226         prints a summary of what URI schemes are supported by what
227         elements.
228         (main): Plumb in support for --uri-handlers or -u, and fix the
229         argc check for -a and -u.
230
231 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
232
233         * gst/gstutils.h:
234         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
235         conversion functions.
236
237 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
238
239         * gst/gstbuffer.c: (gst_buffer_finalize):
240         Avoid costly typechecking for trivially correct pointers.
241
242         * gst/gstpoll.c: (gst_poll_wait):
243         Add some G_LIKELY here and there.
244
245         * libs/gst/base/gstadapter.c: (gst_adapter_push):
246         Add some debug info.
247
248 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
249
250         * docs/random/wtay/poll-timeout:
251         Small tweaks.
252
253 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
254
255         * tests/old/testsuite/caps/intersection.c: (main):
256         * tests/old/testsuite/plugin/loading.c: (main):
257         Remove references to deprecated API g_mem_chunk*.
258         Fixes #560442.
259
260 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
261
262         * tools/gst-inspect.c: (main):
263         Add --plugin option. Fixes #560301.
264
265 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
266
267         * docs/random/wtay/poll-timeout:
268         Quick braindump for a possible (not totally verified) atomic case.
269
270 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
271
272         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
273         (gst_registry_binary_initialize_magic),
274         (gst_registry_binary_write_cache),
275         (gst_registry_binary_check_magic):
276         * gst/gstregistrybinary.h:
277         Don't write and check a CRC for the binary registry file. It's
278         guaranteed that the registry is completely written (it's first written
279         to a temporary file and then moved) and if the registry was corrupted
280         by some hardware failure we would have bigger problems.
281
282         Bump binary registry version to 0.10.21.1 for this as it's an
283         incompatible change and to ensure that the registry gets rebuild
284         after the update.
285
286         This saves some milliseconds for reading/writing the registry.
287         Fixes bug #560399.
288
289 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
290
291         * docs/random/wtay/poll-timeout:
292         Some pseudo code for how we could implement clock timeouts with GstPoll.
293
294 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
295
296         * plugins/elements/gstfilesink.c:
297           Update Author string to match others.
298
299 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
300
301         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
302         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
303         being fixed and inline the trivial check.
304
305 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
306
307         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
308         (gst_caps_merge_structure), (gst_caps_get_structure),
309         (gst_caps_copy_nth), (gst_caps_set_simple),
310         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
311         (gst_caps_is_equal_fixed), (gst_caps_intersect),
312         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
313         (gst_caps_to_string):
314         Callgrind micro optimisations.
315         Avoid array bounds checks and force inline of trivial function.
316
317         * gst/gstobject.c: (gst_object_set_name_default):
318         -1 is equivalent to letting glib to the strlen but then there is more
319         room for optimisations and it's not our fault.
320
321         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
322         no need to clear the array, we're cool.
323
324         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
325         The most common _is_fixed() check is done on fundamental glib base
326         types so we check this first instead of doing a huge amount of
327         useless GST_TYPE_ARRAY calls.
328
329 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
330
331         * gst/gstevent.h:
332         Add a SKIP seek flag for use with advanced trickmodes.
333         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
334
335 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
336
337         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
338         No need to memset, we can clear the value ourselves.
339
340         * gst/gstvalue.c: (gst_type_is_fixed),
341         (gst_value_get_compare_func):
342         Some optimisations from a few callgrind sessions:
343         When checking if a type is fixed, check for trivial fundamental types
344         first before checking types for which we need to get the type followed
345         by the heavy duty type checks, this reduces the amount of
346         g_type_fundamental() calls a lot.
347         When getting the compare function, first check for our registered types.
348         If that fails, do the heavy duty g_type_is_a() checks, reduces the
349         amount of g_type_is_a() considerably.
350
351 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
352
353         * docs/design/part-TODO.txt:
354         Mumble something about removing GstXML.
355
356 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
357
358         * gst/gstbin.c: (gst_bin_handle_message_func):
359         Get the seqnum before we dispose the message.
360
361 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
362
363         * docs/design/part-TODO.txt:
364         Refer to the framestepping document.
365
366 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
367
368         * gst/gstbin.c: (bin_handle_async_start),
369         (gst_bin_handle_message_func), (gst_bin_query):
370         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
371         (gst_base_sink_event), (gst_base_sink_change_state):
372         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
373         (gst_base_src_loop), (gst_base_src_change_state):
374         Copy seqnums from events to messages so that they can all be related
375         back to eachother.
376
377 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
378
379         * tools/gst-launch.c: (event_loop):
380         Print the message seqnums.
381
382 2008-11-04  Andy Wingo  <wingo@pobox.com>
383
384         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
385
386 2008-11-04  Andy Wingo  <wingo@pobox.com>
387
388         Add sequence numbers to events and messages. See #559250.
389
390         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
391         API: New functions.
392
393         * gst/gstevent.h:
394         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
395         events with a new sequence number, and copy it when copying.
396         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
397         an event's sequence number.
398
399         * gst/gstmessage.h:
400         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
401         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
402         so with messages.
403
404         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
405
406 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
407
408         * docs/manual/advanced-position.xml:
409         * docs/manual/basics-bins.xml:
410         * docs/manual/basics-bus.xml:
411         * docs/manual/basics-pads.xml:
412         * docs/manual/intro-gstreamer.xml:
413         * docs/manual/intro-preface.xml:
414         Some Application Development Manual fixes thanks to
415         Andrew Feren. Fixes #558459.
416
417 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
418
419         * gst/gstregistrybinary.c:
420           Don't bother with the GTimer if we don't output the results.
421
422 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
423
424         Patch by: David Schleef  <ds@schleef.org>
425
426         * libs/gst/net/Makefile.am:
427         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
428
429 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
430
431         * gst/gstregistrybinary.c:
432           Oh my, studip, stupid me. Remove double stat() call.
433
434 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
435
436         * gst/gstpreset.c:
437           Use g_unlink instead of unlink.
438
439         * gst/gststructure.c:
440           Use glib type.
441
442         * gst/gstutils.c:
443           Add a FIXME:.
444
445         * gst/gsttaglist.c:
446         * gst/gsttypefind.c:
447         * gst/gstvalue.c:
448           Formatting & whitespaces.
449
450 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
451
452         * plugins/elements/gstidentity.c:
453           Doc typo. Use return value of parent_class->event.
454   
455         * plugins/elements/gsttypefindelement.c:
456           Chain up at the end for consistency.
457   
458 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
459
460         * docs/Makefile.am:
461         * docs/gst/gstreamer-docs.sgml:
462         * docs/gst/gstreamer-sections.txt:
463         * docs/gst/running.xml:
464         * docs/libs/gstreamer-libs-docs.sgml:
465           Change to xinclude based build - its faster and easier to maintain.
466
467 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
468
469         * gst/gstregistrybinary.c:
470         * gst/gstregistryxml.c:
471           Use g_unlink() as none of these are directories.
472
473 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
474
475         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
476         Some more comments.
477
478 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
479
480         * libs/gst/base/gstbasetransform.c:
481         (gst_base_transform_find_transform), (gst_base_transform_getrange):
482         If we have a fixate function, call it even if we already have fixed caps
483         because the subclass might add some caps. Makes audioconvert add a
484         default channel layout.
485
486 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
487
488         * libs/gst/base/gstbasetransform.c:
489         (gst_base_transform_prepare_output_buffer),
490         (gst_base_transform_getrange):
491         Clear the output buffer variable.
492         Cleanups to the error path in the getrange function.
493         Fixes #557649.
494
495 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
496
497         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
498         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
499         Use gst_buffer_try_new_and_alloc() and handle errors instead of
500         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
501         be allocated.
502
503 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
504
505         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
506         Set the last_stop to a more meaningful position when configuring the
507         segment. ie. the start/stop of the segment or clipped against the
508         updated segment boundaries.
509
510         * tests/check/gst/gstsegment.c: (GST_START_TEST):
511         Add some unit tests for the last_stop.
512
513 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
514
515         * libs/gst/base/gstbytereader.c:
516         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
517         copies of them.
518
519 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
520
521         * docs/gst/gstreamer-sections.txt:
522         * gst/gstutils.h:
523         API: Move float endianness conversion macros from libgstfloatcast
524         to core as it's useful in general, even in core. Fixes bug #555196.
525         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
526         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
527         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
528
529         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
530         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
531         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
532         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
533
534 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
535
536         * docs/libs/gstreamer-libs-sections.txt:
537         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
538         (gst_byte_reader_peek_data):
539         * libs/gst/base/gstbytereader.h:
540         * win32/common/libgstbase.def:
541         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
542         to get a pointer to the data at the current position and have
543         a guaranteed size.
544
545 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
546
547         * configure.ac:
548         Fix a bug in the output of the configure script summary
549         when --gst-disable-registry is supplied
550
551 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
552
553         * libs/gst/base/gstbitreader.c:
554         * libs/gst/base/gstbytereader.c:
555         Fix the names of 2 functions in the docs strings.
556
557 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
558
559         * libs/gst/base/gstbasetransform.c:
560         (gst_base_transform_prepare_output_buffer),
561         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
562         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
563         refcount problems as seen in banshee and maybe also in farsight2.
564         Remove atomic int now that we need to take the lock anyways.
565
566 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
567
568         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
569         (gst_base_sink_default_prepare_seek_segment),
570         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
571         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
572         (gst_base_sink_query):
573         Implement more seeking in pull mode.
574         Use pad convert functions to convert position to the requested format.
575         Fix position/duration reporting in pull mode.
576         Implement position and duration reporting in other formats than time.
577
578         * libs/gst/base/gstbasesink.h:
579         Add member to keep track of when the segment is playing.
580
581 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
582
583         * gst/gstpad.c: (gst_pad_configure_src):
584         When we use gst_pad_alloc_buffer() without wanting to set the caps we
585         also don't need to check if the caps are compatible because the caller
586         presumably is going to perform its own custom checks. Fixes some cases
587         where basetransform elements would error out when it was not needed.
588
589 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
590
591         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
592         Update comment.
593
594         * libs/gst/base/gstbasetransform.c:
595         (gst_base_transform_handle_buffer),
596         (gst_base_transform_reconfigure):
597         Add some debug info.
598
599         * win32/common/libgstbase.def:
600         Add new method.
601
602 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
603
604         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
605           Remove duplicated assignment and log a message in failure case.
606
607 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
608
609         Patch by: Dig Ge <dig.ge.cn at gmail com>
610
611         * tests/examples/helloworld/helloworld.c: (main):
612           Fix copy'n'paste bug in hello world example (#556900).
613
614 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
615
616         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
617         (gst_base_sink_query):
618         Query the total number of bytes when activating the pad in pull mode.
619         Implement duration query in pull mode by using the installed pad convert
620         function to convert from bytes to the requested format.
621
622 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
623
624         * docs/libs/gstreamer-libs-sections.txt:
625         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
626         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
627         (gst_base_sink_event), (gst_base_sink_perform_seek),
628         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
629         (gst_base_sink_send_event), (gst_base_sink_change_state):
630         * libs/gst/base/gstbasesink.h:
631         Add method to commit the state in subclasses.
632         Refactor the flush_start and flush_stop code because we need it for
633         flushing while seeking too.
634         Implement the beginnings of seeking in pull mode.
635         Use the segment last_stop field for the pulling offset.
636         Fix the pause method in pull mode.
637         Configure the segment to BYTES for pull mode.
638         API: GstBaseSink::gst_base_sink_do_preroll()
639
640 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
641
642         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
643         Update some docs.
644
645 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
646
647         * gst/gstquark.c: (_priv_gst_quarks_initialize):
648           Fix printf format warning.
649
650 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
651
652         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
653         Fix flow aggregation of tee. Error out immediately for all flow returns
654         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
655         and return OK if at least one pad is linked.
656
657         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
658         and otherwise returned the flow return of the last pad, which is wrong.
659         
660         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
661         (GST_START_TEST), (tee_suite):
662         Add unit tests for the flow aggregation.
663
664 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
665
666         * docs/design/part-TODO.txt:
667         Remove item from the todo list because it was fixed with the latency
668         state change rewrites.
669
670         * docs/design/part-seeking.txt:
671         * docs/design/part-segments.txt:
672         Update some docs.
673
674         * gst/gstevent.c: (gst_event_new_new_segment_full),
675         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
676         (gst_event_parse_buffer_size), (gst_event_new_qos),
677         (gst_event_parse_qos), (gst_event_new_seek),
678         (gst_event_parse_seek), (gst_event_new_latency),
679         (gst_event_parse_latency):
680         Use quarks to construct and parse events.
681
682         * gst/gstquark.c: (_priv_gst_quarks_initialize):
683         * gst/gstquark.h:
684         Add some more quarks to the table.
685         Emit a warning when the quark tables are not in sync.
686
687         * tests/check/gst/gstbus.c: (GST_START_TEST):
688         Add an assert.
689
690 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
691
692         * plugins/elements/Makefile.am:
693         * plugins/indexers/Makefile.am:
694           Don't install static libs for plugins. Fixes #550851 for core.
695
696 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
697
698         * gst/gstbus.c: (gst_bus_source_finalize),
699         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
700         (gst_bus_enable_sync_message_emission),
701         (gst_bus_disable_sync_message_emission),
702         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
703         Fix deadlock, g_source_get_id() cannot be called in finalize.
704         Keep track of the watch source by keeping a pointer to the source object
705         instead.
706         Use the bus lock to protect access to the pointer to the current
707         watch source.
708
709 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
710
711         Base on Patch by: Olivier Crete <tester at tester dot ca>
712
713         * gst/gstbus.c: (gst_bus_source_finalize),
714         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
715         Only allow one bus watch to be set at a time. This is necessary
716         because the dispatcher pops the message from the bus and the second
717         watcher will then get NULL or the next message (and the first won't
718         get this next message then, etc). If more than one "watcher" is
719         required signal watches should be used. Fixes bug #526044.
720
721 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
722
723         * tools/gst-launch.c:
724         Change the printing of the 'buffering...' output to avoid putting
725         a \r in a translateable string (flagged by the TP).
726
727 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
728
729         * gst/gstxml.c:
730         Clarify that the save_thyself() and restore_thyself() virtual
731         functions of GstObject need to be overriden, not
732         gst_object_(save|restore)_thyself() which is impossible.
733         Fixes bug #555700.
734
735 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
736
737         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
738         Revert a patch from 21 months ago that broke caps negotiation in pull
739         mode. Basically, having a buffer pass over a pad will trigger the
740         setcaps function when caps change, just like in push mode.
741
742 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
743
744         * docs/design/part-negotiation.txt:
745         Update the docs some more.
746
747         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
748         If we pull a buffer with non-trivial caps, suggest those caps with the
749         max probability.
750
751 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
752
753         * docs/design/part-TODO.txt:
754         Add another limitation of pad-blocking with segment seeks not pushing
755         EOS events.
756
757 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
758
759         * win32/common/libgstbase.def:
760         * win32/common/libgstreamer.def:
761         Add new symbols to the win32 defs files
762
763 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
764
765         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
766         (gst_bin_handle_message_func):
767         The message src can be NULL, don't try to print the object names in that
768         case.
769
770         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
771         Add some more debug info.
772
773         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
774         (GST_START_TEST):
775         Add some debug.
776         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
777         scheduling modes.
778
779 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
780
781         * docs/design/part-negotiation.txt:
782         Small doc update.
783
784         * docs/libs/gstreamer-libs-sections.txt:
785         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
786         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
787         (gst_base_sink_init), (gst_base_sink_set_blocksize),
788         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
789         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
790         (gst_base_sink_loop), (gst_base_sink_pad_activate),
791         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
792         (gst_base_sink_change_state):
793         * libs/gst/base/gstbasesink.h:
794         Add blocksize property and methods to control the amount of data
795         to pull.
796         Negotiate first before activating upstream in pull mode so that they can
797         negotiate themselves.
798         When we operate in pull mode, we only accept the caps that we
799         negotiated.
800         Make the sink go ASYNC to PAUSED, like all other sinks.
801         API: GstBaseSink::gst_base_sink_set_blocksize()
802         API: GstBaseSink::gst_base_sink_get_blocksize()
803         API: GstBaseSink::blocksize
804
805         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
806         (gst_base_src_set_live), (gst_base_src_is_live),
807         (gst_base_src_set_format), (gst_base_src_query_latency),
808         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
809         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
810         (gst_base_src_set_property), (gst_base_src_get_property):
811         * libs/gst/base/gstbasesrc.h:
812         Add typechecking in public API functions.
813         Add methods to control the blocksize in subclasses.
814         API: GstBaseSrc::gst_base_src_set_blocksize()
815         API: GstBaseSrc::gst_base_src_get_blocksize()
816
817 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
818
819         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
820         (buffer_probe), (event_probe), (GST_START_TEST):
821         We now see 3 events go through our pad, since basesink now sends
822         upstream latency events.
823
824 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
825
826         * gst/gstpipeline.c: (gst_pipeline_change_state):
827         Release the object lock before trying to flush the bus.
828
829 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
830
831         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
832         Forward LATENCY events upstreams so that elements know about the total
833         pipeline latency. Fixes #555307.
834
835 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
836
837         * plugins/elements/gstqueue.c:
838         Allow through queries when we don't know how
839         to adjust them (not TIME or BYTES), as otherwise it's
840         not possible to query the current position in order
841         to seek in other formats at all.
842
843 2008-10-08  Andy Wingo  <wingo@pobox.com>
844
845         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
846
847 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
848
849         * gst/gstghostpad.c:
850         * gst/gstghostpad.h:
851         Unbreak -good build, private is a reserved c++ keyword.
852
853 2008-10-08  Andy Wingo  <wingo@pobox.com>
854
855         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
856         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
857         removal: re-add GST_GHOST_PAD_CAST to the header.
858
859         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
860         (GstGhostPadClass): Publically expose these structures so as to
861         allow easy subclassing from C. Hide the member data behind a
862         private opaque data pointer.
863
864         * gst/gstghostpad.c: Adapt to store instance data in the type
865         instance's private data region, not in the public struct.
866
867 2008-10-08  Andy Wingo  <wingo@pobox.com>
868
869         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
870         template via g_object_get(), be sure to unref it.
871
872         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
873
874 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
875
876         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
877         If we can't get a cache file don't try to save something to it.
878         Dereferencing NULL pointers usually isn't a good idea.
879
880 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
881
882         * tests/check/Makefile.am:
883         * tests/check/gst/gstabi.c:
884         * tests/check/gst/struct_sparc.h:
885         * tests/check/libs/libsabi.c:
886         * tests/check/libs/struct_sparc.h:
887         Add Sparc ABI checks
888
889         * tests/check/gst/gstvalue.c: (GST_START_TEST):
890         Cast signed integer to unsigned to avoid a compiler warning.
891
892 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
893
894         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
895         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
896         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
897         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
898         (gst_byte_reader_peek_int24_be):
899         Use new GST_READ_UINT24_(LE|BE) macros.
900
901 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
902
903         * docs/gst/gstreamer-sections.txt:
904         * gst/gstutils.h:
905         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
906         as it's too easy to break the ISO C strict aliasing rules with simple
907         casts to the corresponding type and this would introduce hard to debug
908         bugs. Fixes bug #545714.
909
910         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
911
912 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
913
914         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
915         * gst/gstghostpad.c: (gst_ghost_pad_construct):
916           Add 'Since' bits to gtk-doc chunks for new API.
917
918 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
919
920         * docs/gst/gstreamer-sections.txt:
921         Fix documentation
922
923 2008-10-06  Andy Wingo  <wingo@pobox.com>
924
925         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
926         that will be called on the malloc_data to free it. Basically a way
927         to avoid subclassing when all you need is a different free
928         function, i.e. free() instead of g_free().
929
930         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
931         calling the free function.
932         (gst_buffer_init): Initialize the free function to g_free.
933
934 2008-10-06  Andy Wingo  <wingo@pobox.com>
935
936         * gst/gstghostpad.h:
937         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
938         finishes the initialization of ghost pad. Useful for language
939         bindings and subclassers of GstGhostPad. Fixes #539108.
940         (gst_ghost_pad_new_full): Use the new constructor.
941
942 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
943
944         Base on Patch by: Olivier Crete <tester at tester dot ca>
945
946         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
947         (gst_bin_remove_func), (update_degree),
948         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
949         Keep track of pads that are being linked/unlinked and resync the state
950         changes.
951
952         * gst/gstpad.c: (gst_pad_get_direction),
953         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
954         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
955         (gst_pad_link_prepare), (gst_pad_link),
956         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
957         (gst_pad_check_pull_range), (gst_pad_get_range),
958         (gst_pad_pull_range):
959         Some code cleanups, use macros to check pad direction.
960         Don't need to take the lock on the pad direction.
961         Post structure change when pads are linked/unlinked.
962         Change some checks into _return_if_fail().
963
964         * tests/check/gst/gstbin.c:
965         (test_link_structure_change_state_changed_sync_cb),
966         (GST_START_TEST), (gst_bin_suite):
967         Add testcase for pad link/unlinke resync during a state change.
968         Fixes #510354.
969
970 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
971
972         * docs/gst/gstreamer-sections.txt:
973         * gst/gstmessage.c: (gst_message_new_structure_change),
974         (gst_message_parse_structure_change):
975         * gst/gstmessage.h:
976         Implement STRUCTURE_CHANGED messages. These messages will be used to
977         signal the parent bin of link/unlink operations that could require a
978         resync when doing a state change. See ##510354.
979         API: gst_message_new_structure_change()
980         API: gst_message_parse_structure_change()
981
982 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
983
984         * gst/gstquark.c:
985         * gst/gstquark.h:
986         Add some more quarks for new message. See #510354.
987
988 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
989
990         * docs/libs/gstreamer-libs-docs.sgml:
991         * docs/libs/gstreamer-libs-sections.txt:
992         * libs/gst/base/Makefile.am:
993         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
994         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
995         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
996         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
997         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
998         (gst_bit_reader_skip_to_byte):
999         * libs/gst/base/gstbitreader.h:
1000         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1001         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1002         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1003         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1004         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1005         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1006         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1007         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1008         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1009         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1010         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1011         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1012         * libs/gst/base/gstbytereader.h:
1013         * tests/check/Makefile.am:
1014         * tests/check/libs/bitreader.c: (GST_START_TEST),
1015         (gst_bit_reader_suite):
1016         * tests/check/libs/bytereader.c: (GST_START_TEST),
1017         (gst_byte_reader_suite):
1018         API: Add bit reader and byte reader classes, including documentation
1019         and an extensive unit test suite. Fixes bug #553554.
1020
1021 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1022
1023         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1024         (gst_base_sink_query):
1025         Improve position reporting while flushing and other intermediate state
1026         changes. Fixes #553874.
1027
1028 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1029
1030         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1031
1032         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1033         Original patch by : Simon Descaries
1034         Fix small refount leak in caps compatibility check.
1035         Fixes #551676.
1036
1037 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1038
1039         * docs/pwg/advanced-request.xml:
1040           Fix 0.8 api usage in example. Fixes #554561
1041
1042         * docs/pwg/appendix-porting.xml:
1043           Change 0.9 to 0.10 here.
1044
1045 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1046
1047         * docs/manual/basics-data.xml:
1048           Change "event-event interaction" to "element-element interaction".
1049           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1050           updates.
1051
1052 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1053
1054         * configure.ac:
1055         Back to development -> 0.10.21.1
1056
1057 === release 0.10.21 ===
1058
1059 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1060
1061         * configure.ac:
1062           releasing 0.10.21, "Take These Things From Me"
1063
1064 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1065
1066         * configure.ac:
1067         0.10.20.4 pre-release
1068
1069 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1070
1071         * libs/gst/base/gstbasetransform.c:
1072         * plugins/elements/gstcapsfilter.c:
1073         * tests/check/Makefile.am:
1074         * tests/check/elements/.cvsignore:
1075         * tests/check/elements/capsfilter.c:
1076         Fix assertion in basetransform when the subclass chooses not to
1077         allocate a buffer in prepare_buffer(), and make capsfilter error out
1078         cleanly if requested to apply caps that don't completely specify the
1079         buffer. Fixes #551509
1080
1081 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1082
1083         * libs/gst/base/gstbasetransform.c:
1084         (gst_base_transform_prepare_output_buffer):
1085         Take new caps ref because our old one might have been gone when the
1086         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1087
1088 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1089
1090         * configure.ac:
1091           Do not probe availability of check unit test library when cross
1092           compiling, as test would not work anyway. Also cleanup verbose output
1093           of the check test. Fixes #551952.
1094
1095 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1096
1097         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1098
1099         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1100         Avoid leaking the parent ref when we fail changing the state of the
1101         element using gst_element_sync_state_with_parent(). Fixes #551978.
1102
1103 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1104
1105         * docs/manual/intro-motivation.xml::
1106           Remove some bits that no longer apply, update others (#551642).
1107
1108 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1109
1110         * configure.ac:
1111         0.10.20.2 pre-release
1112
1113         * po/LINGUAS:
1114         * po/id.po:
1115         * po/pt_BR.po:
1116
1117         New translations.
1118
1119 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1120
1121         * win32/common/config.h.in:
1122           Add GST_DATADIR, hard-code cpu to x86.
1123
1124         * win32/common/libgstreamer.def:
1125           Spaces to tabs.
1126
1127 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1128
1129         * gst/gsttaglist.h:
1130           Fix Since: markers for new geo tags.
1131
1132 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1133
1134         * gst/gsttaglist.h:
1135           Fix actual tag name define after renaming from altitude to elevation.
1136
1137 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1138
1139         * gst/gstpad.c: (add_unref_pad_to_list),
1140         (gst_pad_get_internal_links_default):
1141         Add fallback when calling the deprecated function on an element that
1142         implements the new internal_link handler.
1143
1144 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1145
1146         * docs/gst/gstreamer-sections.txt:
1147         * gst/gsttaglist.c:
1148         * gst/gsttaglist.h:
1149           Add new tags for geo location and clarify purpose of existing location
1150           tag. Fixes #481169
1151
1152 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1153
1154         Patch by: Olivier Crete <tester at tester dot ca>
1155
1156         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1157         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1158         Use thread-safe internal links iterator. Fixes #549504.
1159
1160 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1161
1162         Based on patch by: Olivier Crete <tester at tester dot ca>
1163
1164         * docs/gst/gstreamer-sections.txt:
1165         * win32/common/libgstreamer.def:
1166         * gst/gstpad.c: (gst_pad_init),
1167         (gst_pad_set_iterate_internal_links_function),
1168         (int_link_iter_data_free), (iterate_pad),
1169         (gst_pad_iterate_internal_links_default),
1170         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1171         * gst/gstpad.h:
1172         Add threadsafe replacement functions for getting internal links of an
1173         element. Deprecate the old internal links functions.
1174         API:GstPad::gst_pad_set_iterate_internal_links_function()
1175         API:GstPad::GstPadIterIntLinkFunction
1176         API:GstPad::gst_pad_iterate_internal_links()
1177         API:GstPad::gst_pad_iterate_internal_links_default()
1178
1179         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1180         (gst_proxy_pad_init):
1181         Implement threadsafe internal links.
1182
1183         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1184         Unit test for internal links on tee. See #549504.
1185
1186 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1187
1188         * tests/check/Makefile.am:
1189         libs/transform1 test requires libs/test_transform.c
1190
1191 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1192
1193         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1194         Die evil deadlock, die !
1195
1196 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1197
1198         * gst/gstutils.c: (gst_element_get_compatible_pad):
1199         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1200         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1201         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1202         not steal the refcount of the given caps as stated.
1203
1204         REVERT THIS COMMIT ONCE FIXED !
1205         REVERT THIS COMMIT ONCE FIXED !
1206         REVERT THIS COMMIT ONCE FIXED !
1207         REVERT THIS COMMIT ONCE FIXED !
1208         REVERT THIS COMMIT ONCE FIXED !
1209         REVERT THIS COMMIT ONCE FIXED !
1210
1211 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1212
1213         * gst/gstiterator.c:
1214         * gst/gstiterator.h:
1215         After 3 years it's about time to revise the documentation of the
1216         iterator objects.
1217
1218 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1219
1220         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1221         Make the internal links function less thread-unsafe and add some
1222         comments, dunno why.
1223
1224 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1225
1226         * gst/gst_private.h:
1227           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1228           build with --disable-gst-debug.
1229
1230 2008-08-28  David Schleef  <ds@schleef.org>
1231
1232         * gst/gstpadtemplate.c: Revert last change, since it breaks
1233           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1234           but shouldn't be enabled until we've released fixed versions
1235           of -good and -ffmpeg.
1236
1237 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1238
1239         * gst/gstobject.c:
1240           Put the gst_object_get_name() back in.
1241
1242 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1243
1244         * gst/gstpadtemplate.c:
1245           The old behaviour was that gst_pad_template_new() takes ownership of
1246           the caps. As we now call g_object_new() which calls g_object_set() and
1247           which copies the caps, we have to unref them to not leak them. Fixes
1248           make valgrid for me.
1249
1250 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1251
1252         * gst/gsturi.c:
1253           Don't segfault on input like "tel:+1-123-555-1234".
1254
1255 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1256
1257         * gst/gstobject.c:
1258           Due to popular request also include ObjectType in
1259           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1260
1261 2008-08-26  David Schleef  <ds@schleef.org>
1262
1263         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1264           src_val must be positive, because that's not a requirement.
1265           This causes problems with converting negative granulepos
1266           values for Dirac.
1267         * gst/gstquery.c: Same, gst_query_new_convert().
1268
1269 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1270
1271         * gst/gstclock.c: (gst_clock_add_observation):
1272         Add some more debugging to the clock slaving code.
1273
1274         * win32/common/libgstbase.def:
1275         Add new basetransform method.
1276
1277 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1278
1279         * gst/gstbin.c: (gst_bin_element_set_state):
1280         Take the (recursive) state lock between getting the locked state of an
1281         element and changing the element state. This allows the application to
1282         lock an element's state and then change its state without races.
1283
1284 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1285
1286         * gst/gstbin.c: (gst_bin_element_set_state):
1287         When an element is in the locked state we still want to update the
1288         base_time of the element.
1289
1290 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1291
1292         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1293         Use the result from gst_pad_set_caps() instead of assuming the element
1294         always accepted the caps computed by the default negotiate function.
1295
1296 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1297
1298         * docs/libs/gstreamer-libs-sections.txt:
1299         * libs/gst/base/gstbasetransform.c:
1300         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1301         (gst_base_transform_chain), (gst_base_transform_suggest),
1302         (gst_base_transform_reconfigure):
1303         * libs/gst/base/gstbasetransform.h:
1304         Implement method for reconfiguring basetransform.
1305         API: GstBaseTransform::gst_base_transform_reconfigure()
1306
1307 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1308
1309         patch by: Murray Cumming <murrayc@murrayc.com>
1310
1311         * gst/gstutils.c:
1312           Mention that this is just like gst_buffer_merge() but with extra
1313           unreffing for C coders. Advise language bindings not to wrap it.
1314           Fixes Bug #533856.
1315           
1316           Also fix file comment.
1317
1318 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1319
1320         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1321
1322         * plugins/elements/gstfakesink.c:
1323         * plugins/elements/gstfakesrc.c:
1324           Call super::event() when not handling it. Fixes #544855.
1325
1326 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1327
1328         Patch by: Alessandro Decina <alessandro@nnva.org>
1329         * plugins/elements/gstfilesrc.c:
1330           Use 64 bit variants of stat functions on win32, to enable support
1331           of large files there.
1332           Fixes #547277.
1333
1334 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1335
1336         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1337         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1338         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1339         (gst_base_sink_get_position), (gst_base_sink_change_state):
1340         Improve position reporting in the flushing state.
1341         Also report the position when we are not yet prerolled but we
1342         have a newsegment event. Fixes #543444.
1343         Improve the pull-based negotiation code.
1344
1345         * tests/check/elements/fakesink.c: (GST_START_TEST),
1346         (fakesink_suite):
1347         Add testcase for position reporting while flushing in PAUSED and
1348         PLAYING.
1349
1350         * tests/check/generic/sinks.c: (GST_START_TEST):
1351         Update unit-test, we can now query the position as soon as we receive a
1352         NEWSEGMENT event.
1353
1354 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1355
1356         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1357
1358         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1359         When the subclass event handler releases the PREROLL_LOCK, we could be
1360         in the flushing state and we have to ignore the event. Fixes #548394.
1361
1362 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1363
1364         * tools/gst-launch.1.in:
1365           Document GST_REGISTRY_UPDATE environment variable.
1366
1367 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1368
1369         * libs/gst/base/gstbasetransform.c:
1370         (gst_base_transform_prepare_output_buffer):
1371         If the element is configured in passthrough mode but the
1372         prepare_output_buffer gave us a new output buffer, discard that buffer
1373         and reuse the input buffer.
1374
1375 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1376
1377         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1378
1379         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1380         (gst_tee_request_new_pad), (gst_tee_release_pad),
1381         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1382         * plugins/elements/gsttee.h:
1383         Protect pad_alloc with a new lock so that we can be sure that nothing is
1384         performing a pad_alloc when removing the pad. Fixes #547835.
1385
1386         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1387         (buffer_alloc_harness_teardown), (app_thread_func),
1388         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1389         Added testcase for shutdown race.
1390
1391 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1392
1393         * gst/gstpad.h:
1394         Add doc
1395
1396 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1397
1398         * libs/gst/base/gstbasetransform.c:
1399         (gst_base_transform_prepare_output_buffer),
1400         (gst_base_transform_buffer_alloc):
1401         Go over the buffer_alloc function again and make sure we always end up
1402         allocating a buffer.
1403         Add some more docs.
1404         Avoid doing pad alloc when we have a pending suggestion because we
1405         cannot yet deal with changing caps in that case. Fixes #547728
1406
1407 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1408
1409         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1410
1411         * docs/manual/advanced-clocks.xml:
1412         * docs/manual/clocks.png:
1413         * docs/manual/diagrams-clocks.svg:
1414           Add one more image showing different times together with a describing
1415           paragraph. Fixes #547729.
1416
1417 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1418
1419         * win32/common/libgstbase.def:
1420         Add new method.
1421
1422 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1423
1424         * libs/gst/base/gstbasetransform.c:
1425         (gst_base_transform_transform_caps),
1426         (gst_base_transform_prepare_output_buffer),
1427         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1428         Don't overwrite the outsize when calculating the expected size of a new
1429         buffer because we still need it in case we cannot process the new
1430         buffer.
1431         When converting the size of the new buffer to an upstream size, actually
1432         use the expected size of the buffer, not some other random value.
1433         Use an atomic int to signal that a new upstream caps suggestion is
1434         available.
1435         When we can convert the current buffer to a new format, check if the
1436         buffer size is of the expected size and allocate a new buffer of the
1437         expected size when this is not the case. Fixes #546883.
1438
1439         * tests/check/libs/transform1.c: (GST_START_TEST):
1440         remove ifdeffed code from the unit test.
1441
1442 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1443
1444         * pkgconfig/gstreamer-uninstalled.pc.in:
1445         * pkgconfig/gstreamer.pc.in:
1446           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1447           called gstcontroller-0.10.
1448
1449 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1450
1451         * gst/gstchildproxy.h:
1452         * gst/gstpreset.h:
1453           Remove double interface from doc-string.        
1454
1455 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1456
1457         * libs/gst/base/gstbasesrc.c:
1458         * libs/gst/base/gstbasetransform.c:
1459           Fix headings in docs and gtk-doc warnings.
1460
1461 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1462
1463         * gst/gstregistrybinary.c:
1464           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1465           libc.
1466           Fixes #544776.
1467
1468 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1469
1470         * libs/gst/base/gstbasetransform.c:
1471         (gst_base_transform_buffer_alloc):
1472         Fix a "may be used unitialized" warning.
1473
1474 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1475
1476         * docs/gst/gstreamer-sections.txt:
1477         * gst/gstpreset.h:
1478           Document preset-iface vmethods.
1479
1480 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1481
1482         * docs/manual/advanced-interfaces.xml:
1483           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1484           only used to discover devices.
1485
1486 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1487
1488         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1489
1490         * gst/gst.c: (init_pre):
1491         Make sure gettext returns translations in UTF-8 encoding rather
1492         than in the current locale encoding (#546822).
1493
1494 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1495
1496         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1497         Fix subset test.
1498
1499         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1500         Improve unit test subset tests and add a testcase for the subset failure
1501         cases.
1502
1503         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1504         Improve subtraction unit test.
1505
1506 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1507
1508         * plugins/elements/gsttee.c:
1509           Unlock, instead of locking again.
1510
1511 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1512
1513         * gst/gstpad.h:
1514         Clarify the docs a bit more.
1515
1516 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1517
1518         * tests/examples/metadata/read-metadata.c:
1519           Don't leak old taglist.
1520
1521 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1522
1523         Patch by: Olivier Crete <tester at tester dot ca>
1524
1525         * gst/gststructure.c:
1526         (gst_structure_fixate_field_nearest_fraction):
1527         Avoid overflows in fixation code when dealing with MAXINT values, which
1528         v4l2src seems to do.
1529         Fixes #546328.
1530
1531         * tests/check/gst/gststructure.c: (GST_START_TEST):
1532         Make a unit test to check the fix. 
1533
1534 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1535
1536         * plugins/elements/gstcapsfilter.c: (copy_func),
1537         (gst_capsfilter_set_property):
1538         Use new caps suggestion feature of basetransform to request a caps
1539         negotiation upstream.
1540
1541 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1542
1543         * docs/libs/gstreamer-libs-sections.txt:
1544         Add new function:
1545         API: GstBaseTransform::gst_base_transform_suggest()
1546
1547         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1548         (gst_base_transform_init), (gst_base_transform_transform_caps),
1549         (gst_base_transform_transform_size),
1550         (gst_base_transform_configure_caps),
1551         (gst_base_transform_can_transform),
1552         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1553         (gst_base_transform_prepare_output_buffer),
1554         (gst_base_transform_buffer_alloc),
1555         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1556         (gst_base_transform_chain), (gst_base_transform_activate),
1557         (gst_base_transform_set_passthrough),
1558         (gst_base_transform_is_passthrough),
1559         (gst_base_transform_set_in_place),
1560         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1561         (gst_base_transform_set_qos_enabled),
1562         (gst_base_transform_is_qos_enabled),
1563         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1564         (gst_base_transform_reconfigure):
1565         * libs/gst/base/gstbasetransform.h:
1566         Rewrite of basetransform to perform negotiation outside of the
1567         buffer_alloc functions.  Fixes #545853.
1568
1569         * tests/check/libs/transform1.c: (GST_START_TEST),
1570         (buffer_alloc_ct2):
1571         Update unit test.
1572
1573 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1574
1575         * tests/check/gst/gstpreset.c:
1576           Only run preset tests when $HOME is writable. Preliminary fix for
1577           #545433.
1578
1579 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1580
1581         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1582         (gst_bin_change_state_func), (bin_handle_async_done),
1583         (gst_bin_handle_message_func):
1584         Fix race for bins that simulate ASYNC state changes by inserting
1585         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1586         pending ASYNC messages even when the bin does not have ASYNC children.
1587         We note detect this behaviour because we will receive an ASYNC message
1588         that is originating from the bin itself. 
1589         Fixes races with decodebin2 state changes.
1590
1591         * tests/check/gst/gstbin.c: (GST_START_TEST):
1592         Add some more debug.
1593
1594 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1595
1596         * gst/gsttaglist.c: (_gst_tag_initialize):
1597           Fix typo.
1598
1599 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1600
1601         * gst/gsttaglist.c:
1602           Argh. actually save the text before committing. Now adds
1603           gst_tag_merge_strings_with_comma() to gst_tag_register().
1604
1605 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1606
1607         * gst/gsttaglist.c:
1608         * gst/gsttaglist.h:
1609           Do as tim pointed out and actually register the new tag. Also improve
1610           te docs and use gst_tag_merge_strings_with_comma() method to allow
1611           retriving all keywords merged in one list.
1612
1613 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1614
1615         * configure.ac:
1616         * docs/gst/gstreamer.types:
1617           Revert 'accidential' change of the configure option removal. We still
1618           need to generate the types file in configure --disable-load-save.
1619
1620 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1621
1622         * docs/gst/gstreamer-sections.txt:
1623         * gst/gsttaglist.h:
1624           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1625
1626 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1627
1628         * gst/gstpadtemplate.c:
1629           (gst_pad_template_class_init), (gst_static_pad_template_get),
1630           (gst_pad_template_new), (gst_pad_template_pad_created),
1631           (gst_pad_template_set_property), (gst_pad_template_get_property):
1632           Add "name-template", "direction", "presence" and "caps" properties,
1633           so that gst_pad_template_new() is just a thin wrapper around
1634           g_object_new(), which is better for bindings. (Fixes: #539772)
1635
1636 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1637
1638         * gst/gsturi.c:
1639           Be more liberal in what URIs we accept.
1640           Do not unescape bits of the URI for no apparent reason before passing to
1641           the element. Fixes #545352.
1642
1643 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1644
1645         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1646
1647         * gst/gst.c:
1648         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1649
1650 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1651
1652         * configure.ac:
1653         * docs/gst/gstreamer-sections.txt:
1654         * docs/gst/gstreamer.types:
1655         * docs/gst/gstreamer.types.in:
1656         * gst/Makefile.am:
1657         * gst/gst.c:
1658         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1659         * gst/gstconfig.h.in:
1660         * gst/gstelement.c: (gst_element_get_index):
1661         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1662         (gst_registry_binary_load_feature),
1663         (gst_registry_binary_read_cache):
1664         * gst/gstregistryxml.c: (load_feature),
1665         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1666         * plugins/Makefile.am:
1667         * tools/gst-indent:
1668         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1669         (print_plugin_features), (print_element_features):
1670         * tools/gst-xmlinspect.c: (print_event_masks),
1671         (print_element_info):
1672         * win32/common/gstconfig.h:
1673         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1674
1675         Disabling the indexers and URI handler code will only reduce the
1676         required amount of memory by a very small amount but on the other hand
1677         requires much more maintaince work. Apart from that many places of
1678         code are broken when disabling them.
1679
1680         Disabling the enum types doesn't reduce the required amount of memory
1681         by more than a few bytes and makes it hard to fix bugs like #539772,
1682         i.e. use the enums as GObject properties.
1683
1684 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1685
1686         * docs/design/part-TODO.txt:
1687         Add some thoughts and problems with upstream renegotiation.
1688
1689 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1690
1691         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1692         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1693         Remove silly redundant debug.
1694         Add some more debug info.
1695         Clarify the docs regarding new caps received from pad_alloc.
1696
1697 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1698
1699         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1700         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1701         Make setting the caps more threadsafe.
1702
1703 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1704
1705         * docs/design/part-element-transform.txt:
1706         Update docs.
1707
1708 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1709
1710         * plugins/elements/gstqueue.c: (gst_queue_init),
1711         (gst_queue_acceptcaps):
1712         Add and use a custom acceptcaps function instead of falling back to the
1713         potentially less optimized default implementation.
1714
1715 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1716
1717         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1718           Only sanity-check the buffer size if requested_caps == buffer_caps
1719           (ie. don't take pad caps into account, they're not relevant here)
1720
1721 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1722
1723         * plugins/elements/gsttee.c:
1724         * plugins/elements/gsttee.h:
1725           Reverting as not everything is clear yet. Needs some general design
1726           work.
1727
1728 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1729
1730         * ChangeLog:
1731           ChangeLog surgery for tee commit.
1732
1733 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1734
1735         * docs/gst/gstreamer-sections.txt:
1736           Cleanup section-file.
1737
1738 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1739
1740         * plugins/elements/gsttee.c:
1741         * plugins/elements/gsttee.h:
1742           Relay tag events in tee. Fixes parts of #474016.
1743           Downgrades 3 reoccurring debugs to log.
1744
1745 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1746
1747         * configure.ac:
1748         * libs/gst/Makefile.am:
1749           Build the net library if we have winsock2.
1750
1751 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1752
1753         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1754
1755         * docs/manual/advanced-threads.xml:
1756         * docs/manual/diagrams-pipelines.svg:
1757         * docs/manual/hello-world.png:
1758         * docs/manual/linked-elements.png:
1759         * docs/manual/mime-world.png:
1760         * docs/manual/queue.png:
1761         * docs/manual/thread-buffering.png:
1762         * docs/manual/thread-synchronizing.png:
1763           Replace one diagram with two separate ones and updates others.
1764           Fixes #542401.
1765
1766 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1767
1768         * gst/gstelement.h:
1769         Fix link in documentation.
1770
1771 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1772
1773         * gst/gstmessage.c:
1774         Fix confusing documentation.
1775
1776 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1777
1778         * libs/gst/base/gstbasesrc.h:
1779         revert the changes to the header file for the ABI.
1780
1781 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1782
1783         * libs/gst/base/gstbasesrc.c:
1784         * libs/gst/base/gstbasesrc.h:
1785         Don't cache the seekable status.
1786         Fixes bug #544174
1787
1788 2008-07-24  Rene Stadler  <mail@renestadler.de>
1789
1790         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1791         code to close the pipeline graph.  This prevents the program from
1792         printing internal data flow errors.
1793
1794 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1795
1796         * docs/manual/basics-bus.xml:
1797         Correct typo. Fixes bug #544320.
1798
1799 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1800
1801         * configure.ac:
1802           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1803           Add check (taken from -base) for winsock, adds WIN32_LIBS
1804         * gst/Makefile.am:
1805           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1806           winsock.
1807           Define GST_EXPORTS when building libgstreamer (only used on win32)
1808         * gst/gst_private.h:
1809         * gst/gstinfo.h:
1810           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1811           for symbols that we need to export in both these files.
1812         * gst/gstpoll.c:
1813           Include gst_private.h higher up to avoid some compile problems on win32.
1814
1815 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1816
1817         * gst/gstvalue.c:
1818         Fix typos.
1819
1820 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1821
1822         * gst/gstcaps.c:
1823         Previous commit was wrong NULL caps does not exist
1824         and indicate an error, so also add a FIXME to
1825         gst_caps_is_equal where NULL caps are accepted.
1826
1827 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1828
1829         * gst/gstcaps.c:
1830         Allow passing of NULL to gst_caps_union
1831
1832 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1833
1834         * gst/gstghostpad.c:
1835         Add in doc that gst_ghost_pad_set_target can accept
1836         NULL to clear target
1837
1838 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1839
1840         * gst/gstplugin.c:
1841         * gst/gstregistry.c:
1842           GstRegistryPool doesn't exist; don't refer to it in docs.
1843           Don't refer to functions that don't exist in docs, it's
1844           unhelpful.
1845
1846 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1847
1848         * gst/gst.c:
1849         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1850
1851 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1852
1853         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1854
1855         * docs/pwg/building-testapp.xml:
1856         Don't use an undeclared variable in the example program.
1857         Fixes bug #542573.
1858
1859 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1860
1861         * gst/gstdebugutils.c:
1862           Squeeze ghost-pad links and remove <> from classname labels to save
1863           more horizontal space.
1864
1865 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1866
1867         * gst/gstdebugutils.c:
1868           Give request and sometimes pads a different shpe style. Condense the
1869           graphs a little more.
1870
1871 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1872
1873         * configure.ac:
1874           Don't require flex and bison if the parser is disabled.
1875
1876 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1877
1878         * libs/gst/controller/gstinterpolationcontrolsource.c:
1879         (_list_find_sorted_custom):
1880         Don't use declarations after statements.
1881
1882 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1883
1884         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1885         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1886         of the the child-added / -removed signals as GstChildProxy
1887         only supports GstObjects.
1888
1889 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1890
1891         * gst/gstdebugutils.c:
1892         Fix memleak
1893
1894 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1895
1896         Patch by: Alessandro Decina <alessandro at nnva dot org>
1897
1898         * gst/gstpoll.c:
1899         Fix "ignored return value" compiler warning with newer glibc.
1900
1901 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1902
1903         * gst/gstchildproxy.c:
1904         Fix copy&paste error in gst_child_proxy_removed() documentation.
1905
1906 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1907
1908         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1909           Print error debug message if plugin description fields that should
1910           be set are NULL.
1911
1912         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1913           Don't crash if the string to serialise is NULL (it really should
1914           not be, but apparently this used to work with the xml registry ...).
1915
1916 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1917
1918         * tools/gst-plot-timeline.py:
1919         Fix parsing of log messages
1920
1921 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1922
1923         * win32/common/libgstbase.def::
1924           Sort alphabetically so make check-exports doesn't barf.
1925
1926 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1927
1928         * gst/gstevent.c:
1929           Use gst_format_get_name() to improve debug output.
1930
1931         * gst/gstpreset.c:
1932           Remove #ifdef'ed code. Add TODO comment.
1933
1934         * gst/gstsegment.c:
1935           Add debug output to ease spotting format != segment.format assertions.
1936
1937 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1938
1939         * tests/check/libs/gdp.c: (gst_dp_suite):
1940         Also enable the GDP unit test again on PPC now that the bug
1941         is fixed.
1942
1943 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1944
1945         * libs/gst/dataprotocol/dataprotocol.c:
1946         Don't write to the same region of memory as a uint64 and uint16
1947         as this breaks strict aliasing rules and apparantly breaks on PPC
1948         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1949
1950 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1951
1952         * libs/gst/controller/gstinterpolationcontrolsource.c:
1953           Optimize list handling. Use own find function. Exploit that fact that
1954           the list is sorted. Also pass back the node before, so that we can
1955           insert quickly. Have a fast path for append.
1956
1957 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1958
1959         * docs/design/draft-framestep.txt:
1960         * docs/design/part-negotiation.txt:
1961           Fix two typos.
1962
1963 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1964
1965         * configure.ac:
1966           Show configuration sumary after configure run. Based on patch by
1967           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1968
1969 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1970
1971         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1972
1973         * docs/manual/advanced-autoplugging.xml:
1974         * docs/manual/advanced-threads.xml:
1975         * docs/manual/basics-bins.xml:
1976         * docs/manual/basics-elements.xml:
1977         * docs/manual/basics-helloworld.xml:
1978         * docs/manual/basics-pads.xml:
1979           Add scale factor for pdf output.
1980
1981         * docs/manual/intro-basics.xml:
1982           Switched sections "pads" and "bins" and added a pipeline diagram.
1983
1984         * docs/manual/intro-gstreamer.xml:
1985           Added more info on gstreamer.
1986
1987         * docs/manual/intro-motivation.xml:
1988           Commented out the whole section "current problem", which sounds
1989           historical and somehow osolete; it could be turned in a positive
1990           way and reused to improve the design principles.
1991
1992         * docs/manual/intro-preface.xml:
1993           - Update URLs to library.gnome.org. 
1994           - Do not mention GTK+ in preliminary reading (irrelevant). 
1995           - Mention Plugin Writer's Manual and further reading only in the
1996             previous section.
1997           - Added a list of most relevant GObject/glib topics.
1998
1999         * docs/manual/Makefile.am:
2000         * docs/manual/bin-element-ghost.fig:
2001         * docs/manual/bin-element-ghost.png:
2002         * docs/manual/bin-element-noghost.fig:
2003         * docs/manual/bin-element-noghost.png:
2004         * docs/manual/bin-element.fig:
2005         * docs/manual/bin-element.png:
2006         * docs/manual/filter-element-multi.fig:
2007         * docs/manual/filter-element-multi.png:
2008         * docs/manual/filter-element.fig:
2009         * docs/manual/filter-element.png:
2010         * docs/manual/gstreamer-overview.png:
2011         * docs/manual/hello-world.fig:
2012         * docs/manual/hello-world.png:
2013         * docs/manual/linked-elements.fig:
2014         * docs/manual/linked-elements.png:
2015         * docs/manual/mime-world.fig:
2016         * docs/manual/mime-world.png:
2017         * docs/manual/queue.fig:
2018         * docs/manual/queue.png:
2019         * docs/manual/simple-player.png:
2020         * docs/manual/sink-element.fig:
2021         * docs/manual/sink-element.png:
2022         * docs/manual/src-element.fig:
2023         * docs/manual/src-element.png:
2024         * docs/manual/diagrams-general.svg:
2025         * docs/manual/diagrams-pipelines.svg:
2026           Removed .fig, added .png counterpart.
2027           
2028           Fixes: #539137
2029
2030 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2031
2032         * plugins/elements/gstmultiqueue.c:
2033         * plugins/elements/gstmultiqueue.h:
2034         revert extra-size-buffers stuff, caused some race conditions
2035         and extra-size-buffers is not used anymore. Docs needs some updates
2036
2037 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2038
2039         * win32/common/config.h:
2040         * win32/common/gstenumtypes.c:
2041         * win32/common/gstenumtypes.h:
2042         * win32/common/gstversion.h:
2043           Update win32 files.
2044
2045 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2046
2047         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2048           (GST_DEBUG_BIN_TO_DOT_FILE):
2049           Add missing Since' markers to gtk-doc blurbs.
2050
2051 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2052
2053         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2054         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2055         (set_caps_1), (set_caps_ct1), (transform_ct1),
2056         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2057         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2058         (transform_size_ct2), (buffer_alloc_ct2):
2059         Add some more tests with switching caps in buffer_alloc.
2060
2061 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2062
2063         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2064         (gst_test_trans_class_init), (result_sink_chain),
2065         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2066         (gst_test_trans_push), (gst_test_trans_pop):
2067         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2068         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2069         (set_caps_1), (set_caps_ct1), (transform_ct1),
2070         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2071         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2072         (transform_size_ct2), (buffer_alloc_ct2),
2073         (gst_basetransform_suite):
2074         More tests, prepare for tests with switching caps in buffer_alloc.
2075
2076 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2077
2078         * plugins/elements/gstmultiqueue.c:
2079         * plugins/elements/gstmultiqueue.h:
2080         Fix dead-lock in underrun_cb
2081
2082 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2083
2084         * docs/design/part-states.txt:
2085         Fix device open/close docs.
2086
2087 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2088
2089         * ChangeLog:
2090           Mention bugnumber for last commit.
2091
2092 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2093
2094         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2095
2096         * docs/manual/manual.xml:
2097         - Reorganised the previous "introduction" bundle into Foreword,
2098         Introduction, and About GStreamer. The two first are <preface>
2099         docbook elements. The later is the first part of the book.
2100         - added intro-gstreamer.xml (content partially from
2101         intro-preface.xml)
2102         - moved appendix-win32.xml into appendix-integration.xml
2103
2104         * docs/manual/intro-preface.xml: gstreamer section moved...
2105         * docs/manual/intro-gstreamer.xml: ...here. new file.
2106
2107         * docs/manual/appendix-win32.xml: removed file. Content moved...
2108         * docs/manual/appendix-integration.xml: ...here.
2109         
2110         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2111         * docs/manual/appendix-checklist.xml: ...here.
2112         
2113         Fixes: 538764
2114
2115 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2116
2117         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2118
2119         * docs/manual/basics-helloworld.xml:
2120         * docs/manual/hello-world.fig:
2121           - Explicitely include glib.h.
2122           - Do not use global variables.
2123           - Use g_printerr() instead of g_print().
2124           - Minor formating/renaming to increase readibility.
2125           - Renamed new_pad() to on_pad_added()
2126           - Improved explenatory comments.
2127           - renamed ogg parser to ogg demuxer
2128           - Use "autoaudiosink" instead of "alsasink".
2129           Fixes: #538619
2130
2131 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2132
2133         * ChangeLog:
2134           Remove cvs conflict marker.
2135
2136 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2137
2138         * docs/README:
2139           Document that for plgin-docs we extraxt he short-desc from the element
2140           details.
2141
2142         * docs/design/part-states.txt:
2143           Tell that devices should be closed in PAUSED -> READY.
2144
2145         * docs/manual/README:
2146           Document how tests in the manual are handled.
2147
2148         * docs/manuals.mak:
2149           Typo in comment.
2150
2151 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2152
2153         * gst/gstbin.c: (bin_query_latency_fold):
2154         Only care about latency min and max when the sink is actually a live
2155         sink.
2156
2157 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2158
2159         * docs/design/part-block.txt:
2160         Fix typo.
2161
2162         * docs/design/part-element-transform.txt:
2163         Add notes about why transform needs to know input/output sizes.
2164         Add some issues that need to be solved.
2165         Add some more use cases.
2166
2167         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2168         (gst_test_trans_class_init), (result_sink_chain),
2169         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2170         (gst_test_trans_push), (gst_test_trans_pop):
2171         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2172         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2173         (set_caps_1), (set_caps_ct1), (transform_ct1),
2174         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2175         (gst_basetransform_suite):
2176         Add suport for different pad templates and buffer-alloc.
2177         Add more checks for caps and buffer-alloc.
2178         Add checks for proxy buffer alloc.
2179         Add unit test for copy transform.
2180
2181 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2182
2183         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2184
2185         * docs/manual/appendix-integration.xml:
2186         * docs/manual/appendix-licensing.xml:
2187         * docs/manual/basics-elements.xml:
2188         * docs/manual/basics-helloworld.xml:
2189         * docs/manual/basics-pads.xml:
2190         * docs/manual/highlevel-components.xml:
2191         * docs/manual/highlevel-xml.xml:
2192         * docs/manual/intro-basics.xml:
2193         * docs/manual/intro-preface.xml:
2194           Typo and formatting fixes (#538594).
2195
2196 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2197
2198         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2199         Fix some memory leaks and uses of object instances that we don't
2200         actually own.
2201
2202 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2203
2204         * plugins/elements/gstmultiqueue.c:
2205         Add functionality to extra-size-buffers property.
2206
2207 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2208
2209         * plugins/elements/gstmultiqueue.c:
2210         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2211         activate the pads if they are added in STATE_NULL.
2212
2213 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2214
2215         * docs/libs/gstreamer-libs-sections.txt:
2216         Add new API to doc
2217         * libs/gst/check/gstcheck.c:
2218         * libs/gst/check/gstcheck.h:
2219         API: gst_check_teardown_pad_by_name
2220
2221 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2222
2223         * libs/gst/check/gstcheck.c:
2224         * libs/gst/check/gstcheck.h:
2225         Also setup request pads and allow setup pads by name (#537812)
2226         API: gst_check_setup_src_pad_by_name
2227         API: gst_check_setup_sink_pad_by_name
2228
2229 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2230
2231         * tests/check/gst/gstbuffer.c:
2232         * tests/check/pipelines/parse-launch.c:
2233           Use HAVE_VALGRIND_H some more.
2234
2235 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2236
2237         * scripts/cvs-update.sh:
2238           Pass arguments to make.
2239           Run autoregen.sh if Makefile is not there.
2240
2241 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2242
2243         * configure.ac:
2244         * gst/gstinfo.c:
2245           Don't assume that <valgrind/valgrind.h> exists just because
2246           the binary is there.
2247
2248 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2249
2250         * tests/check/Makefile.am:
2251         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2252         (gst_test_trans_class_init), (gst_test_trans_init),
2253         (gst_test_trans_set_data), (result_sink_chain),
2254         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2255         (gst_test_trans_pop):
2256         * tests/check/libs/transform1.c: (GST_START_TEST),
2257         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2258         Add some test basetransform element and the beginnings of various
2259         unit tests for it.
2260
2261 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2262
2263         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2264         Increase code readability.
2265         Don't try to compare buffer offsets when ther are invalid.
2266
2267 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2268
2269         * docs/design/Makefile.am:
2270           Dist some more design docs.
2271
2272         * docs/random/moving-plugins:
2273           Small addition: good plugins mustn't have functional code
2274           within assertion macros.
2275
2276 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2277
2278         * docs/design/draft-framestep.txt:
2279         Some ideas about a framestep API
2280
2281         * docs/design/part-element-transform.txt:
2282         Start design and use cases for basetransform in order to get it
2283         fixed soon.
2284
2285 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2286
2287         * gst/gsttaglist.h:
2288           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2289           be in UTF-8 encoding.
2290
2291 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2292
2293         * gst/gstbus.c:
2294           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2295
2296 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2297
2298         * plugins/elements/gstcapsfilter.c:
2299         * plugins/elements/gstfakesink.c:
2300         * plugins/elements/gstfakesrc.c:
2301         * plugins/elements/gstfdsink.c:
2302         * plugins/elements/gstfdsrc.c:
2303         * plugins/elements/gstfilesink.c:
2304         * plugins/elements/gstfilesrc.c:
2305         * plugins/elements/gstidentity.c:
2306         * plugins/elements/gstmultiqueue.c:
2307         * plugins/elements/gstqueue.c:
2308         * plugins/elements/gsttee.c:
2309         * plugins/elements/gsttypefindelement.c:
2310           Remove short_description. Add basic docs for gsttypefindelement.
2311           Simplify markup for fakesrc/fdsrc.
2312
2313 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2314
2315         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2316         Added Since doc.
2317
2318 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2319
2320         Patch by: Joel Larsson <tilljoel at gmail dot com>
2321
2322         * docs/plugins/gstreamer-plugins.args:
2323         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2324         (gst_fd_src_init), (gst_fd_src_update_fd),
2325         (gst_fd_src_set_property), (gst_fd_src_get_property),
2326         (gst_fd_src_create):
2327         * plugins/elements/gstfdsrc.h:
2328         Add timeout property like udpsrc. Fixes #538628.
2329         Add some more docs and example pipelines.
2330
2331 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2332
2333         * docs/libs/gstreamer-libs-sections.txt:
2334         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2335         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2336         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2337         (gst_base_sink_do_sync):
2338         * libs/gst/base/gstbasesink.h:
2339         * win32/common/libgstbase.def:
2340         Add method to allow sinks to specify additional delay between the sync
2341         times and the actual rendering of the data.
2342         API: gst_base_sink_set_render_delay()
2343         API: gst_base_sink_get_render_delay()
2344
2345 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2346
2347         * configure.ac:
2348         Bump version number back to dev -> 0.10.20.1
2349
2350 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2351
2352         * docs/gst/gstreamer-sections.txt:
2353         * gst/gsttaglist.c: (_gst_tag_initialize):
2354         * gst/gsttaglist.h:
2355         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2356         Fixes bug #538568.
2357
2358 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2359
2360         * libs/gst/controller/gstcontroller.c:
2361           Revert one change, that make ret value possible uninitialized.
2362
2363 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2364
2365         * libs/gst/controller/gstcontroller.c:
2366           Use freeze/thaw notify to sync notify emission a bit (its also more
2367           efficient). Move debug output to LOG (is called a lot in a loop).
2368           Always unset g_values if the have been initialized.
2369
2370 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2371
2372         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2373         (gst_base_sink_wait_eos), (gst_base_sink_event):
2374         If we have not seen a buffer before EOS, use the segment values to
2375         report the current position instead of invalid positions.
2376
2377 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2378
2379         * docs/plugins/tmpl/.cvsignore:
2380         * tests/check/gst/.cvsignore:
2381           Ignore more.
2382
2383 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2384
2385         * libs/gst/controller/gstinterpolation.c:
2386         * libs/gst/controller/gstinterpolationcontrolsource.c:
2387         * tests/check/libs/controller.c:
2388           Rewrite handling of default values. Fix overflow with unsigned types
2389           in linear interpolation. Remove now obsolete _first_value() function.
2390           Add more tests. Fixes #538201.
2391
2392 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2393
2394         * libs/gst/base/gstbasetransform.c:
2395         (gst_base_transform_class_init), (gst_base_transform_init),
2396         (gst_base_transform_transform_caps),
2397         (gst_base_transform_prepare_output_buffer):
2398         Add debug info.
2399         When a buffer is writable, its metadata is also writable so we don't
2400         need to subbuffer (which then makes the buffer not-writable anymore).
2401
2402 === release 0.10.20 ===
2403
2404 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2405
2406         * configure.ac:
2407           releasing 0.10.20, "You Crazy Diamond"
2408
2409 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2410
2411         * configure.ac:
2412         0.10.19.3 pre-release
2413
2414 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2415
2416         * configure.ac:
2417         * gst/gstpreset.c:
2418         Rename DATADIR to GST_DATADIR to avoid build problems
2419         on win32. Patch By: David Schleef <ds@schleef.org>
2420         Fixes: #536857
2421
2422 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2423
2424         * configure.ac:
2425         Explicitely link with -ldl if dladdr() is found there. Before it was
2426         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2427         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2428
2429 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2430
2431         * gst/gsterror.c: (_gst_stream_errors_init):
2432           Fix typo (spotted by Fabricio Godoy, #536723).
2433
2434 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2435
2436         * configure.ac:
2437         0.10.19.2 pre-release
2438
2439 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2440
2441         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2442         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2443         Add some debug.
2444         Make sure we don't generate invalid QoS messages.
2445
2446 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2447
2448         * gst/gstevent.c: (gst_event_new_qos):
2449         Add some assert and docs for invalid input to the qos function.
2450
2451 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2452
2453         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2454         (gst_base_sink_get_position):
2455         The reported position must always be smaller than the last seen
2456         timestamps (or timestamp + duration for reverse).
2457
2458 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2459
2460         Patch by: Rob Bradford <rob at robster dot org dot uk>
2461
2462         * gst/gstregistry.c: (gst_registry_scan_path_level):
2463         Don't recurse into .debug directories as some distros install
2464         the debugging symbols next to the plugins in .debug directories
2465         and dlopen() crashes on them sometimes. Fixes bug #508070.
2466
2467         Add FIXME for 0.11 to not recurse into directories at all because
2468         it's very inconsistent to the behaviour of other PATH environment
2469         variables.
2470
2471 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2472
2473         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2474         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2475         Fix position query range checks in reverse playback.
2476
2477 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2478
2479         * gst/gstelement.c:
2480         * gst/gstelement.h:
2481         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2482         clear of the reference to the resulting pad must be released later
2483         or not, resulting in possible leaks. Fixes bug #533865.
2484
2485 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2486
2487         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2488
2489         * gst/gstelementfactory.c:
2490         Small doc fix. Fixes #535285.
2491
2492 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2493
2494         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2495
2496         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2497         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2498         (gst_base_src_loop), (gst_base_src_set_flushing),
2499         (gst_base_src_change_state):
2500         Make sending an EOS event to the basesrc non-blocking even if the
2501         implementation does blocking waits in the create function. This is done
2502         by unlocking the create function when EOS is sent.
2503         Fixes #535218.
2504
2505 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2506
2507         * tools/gst-inspect.c: (print_element_properties_info):
2508         If possible print the element type of GValueArray properties.
2509
2510 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2511
2512         * gst/gstiterator.c:
2513         Remove an unused field from the private GstListIterator struct.
2514
2515 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2516
2517         * libs/gst/controller/gstcontroller.c:
2518           Add parameter guards.
2519
2520 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2521
2522         * tests/check/gst/gstpipeline.c:
2523           Revert test change and add comment why it should not work.
2524
2525 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2526
2527         * tests/check/gst/gstpipeline.c:
2528           Extending the test a little to verify that we also get the NULL state-
2529           change message.
2530
2531 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2532
2533         * gst/gstpreset.c: (gst_preset_default_get_meta),
2534           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2535           (gst_preset_load_preset), (gst_preset_save_preset),
2536           (gst_preset_rename_preset), (gst_preset_delete_preset),
2537           (gst_preset_set_meta):
2538           Add Since: markers to docs blurbs.
2539
2540         * win32/common/libgstreamer.def:
2541           Add recently-added API.
2542
2543 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2544
2545         Patch by: Stefan Kost  <ensonic@users.sf.net>
2546
2547         * configure.ac:
2548         Add DATADIR for storing presets.
2549
2550         * docs/gst/gstreamer-docs.sgml:
2551         * docs/gst/gstreamer-sections.txt:
2552         * docs/gst/gstreamer.types.in:
2553         Add GstPreset to docs.
2554
2555         * gst/Makefile.am:
2556         * gst/gst.h:
2557         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2558         (preset_open_and_parse_header), (preset_parse_version),
2559         (preset_merge), (preset_get_keyfile),
2560         (gst_preset_default_get_preset_names),
2561         (gst_preset_default_get_property_names),
2562         (gst_preset_default_load_preset),
2563         (gst_preset_default_save_presets_file),
2564         (gst_preset_default_save_preset),
2565         (gst_preset_default_rename_preset),
2566         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2567         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2568         (gst_preset_default_reset), (gst_preset_get_preset_names),
2569         (gst_preset_get_property_names), (gst_preset_load_preset),
2570         (gst_preset_save_preset), (gst_preset_rename_preset),
2571         (gst_preset_delete_preset), (gst_preset_set_meta),
2572         (gst_preset_get_meta), (gst_preset_class_init),
2573         (gst_preset_base_init), (gst_preset_get_type):
2574         * gst/gstpreset.h:
2575         Add GstPreset to core. Fixes #396779
2576
2577         * tests/check/Makefile.am:
2578         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2579         (gst_preset_test_set_property), (gst_preset_test_class_init),
2580         (gst_preset_test_base_init), (gst_preset_test_get_type),
2581         (gst_preset_test_plugin_init), (GST_START_TEST),
2582         (remove_preset_file), (test_setup), (test_teardown),
2583         (gst_preset_suite):
2584         Add GstPreset unit tests.
2585
2586 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2587
2588         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2589         The default event function on a sinkpad should return TRUE when
2590         there are no internal links but should collect the return values from
2591         the internal links otherwise.
2592
2593 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2594
2595         * plugins/elements/gsttypefindelement.c:
2596         (gst_type_find_element_src_event),
2597         (gst_type_find_element_handle_event):
2598         Use faster and safer _pad_push_event().
2599
2600 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2601
2602         * docs/gst/gstreamer-sections.txt:
2603         * gst/gstutils.c: (element_find_unlinked_pad),
2604           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2605         * gst/gstutils.h:
2606           API: add gst_bin_find_unlinked_pad()
2607           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2608
2609 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2610
2611         * gst/gstclock.c:
2612         * gst/gstclock.h:
2613         * gst/gsttask.c:
2614         * gst/gsttask.h:
2615         Fixed a bunch of typos.
2616
2617 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2618
2619         * gst/gstpad.h:
2620         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2621           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2622           (gst_parse_bin_from_description_full):
2623         * gst/gstutils.h:
2624           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2625
2626 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2627
2628         * docs/pwg/advanced-tagging.xml:
2629           Small docs update, can't be bothered to rewrite the nonsensical
2630           examples right now.
2631
2632 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2633
2634         * gst/gstevent.h:
2635           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2636
2637 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2638
2639         * gst/parse/grammar.y:
2640           Remove unneeded casts.
2641
2642 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2643
2644         * gst/parse/grammar.y:
2645         * tests/check/pipelines/parse-launch.c:
2646           Get all missing elements from a parse launch string if possible
2647           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2648
2649 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2650
2651         * tests/check/Makefile.am:
2652         * tests/check/pipelines/parse-launch.c:
2653           Add some unit tests for the new gst_parse_launch*_full() API.
2654           (Exposes a previously-existing memory leak in the error code
2655           path, so adding to VALGRIND_TO_FIX for now).
2656
2657 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2658
2659         * docs/gst/gstreamer-sections.txt:
2660         * gst/gst.c: (init_post):
2661         * gst/gst_private.h: (_GstParseContext):
2662         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2663           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2664           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2665           (gst_parse_launch_full):
2666         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2667           (GstParseFlags), (GstParseContext):
2668         * gst/gstutils.c: (gst_parse_bin_from_description),
2669           (gst_parse_bin_from_description_full):
2670         * gst/gstutils.h:
2671         * gst/parse/grammar.y:
2672         * gst/parse/types.h:
2673         * win32/common/libgstreamer.def:
2674           Add new gst_parse_*_full API (#528178):
2675           API: gst_parse_launch_full()
2676           API: gst_parse_launchv_full()
2677           API: gst_parse_bin_from_description_full()
2678           API: gst_parse_context_new()
2679           API: gst_parse_context_free()
2680           API: gst_parse_context_get_missing_elements()
2681
2682 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2683
2684         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2685
2686         * docs/faq/gst-uninstalled:
2687           Also support ffmpeg in gst-uninstalled.
2688
2689 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2690
2691         * configure.ac:
2692         After discussion on IRC use the binary registry as default
2693         but allow to disable it with --disable-binary-registry.
2694
2695         * win32/common/libgstreamer.def:
2696         Add the two new symbols for the binary registry.
2697
2698 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2699
2700         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2701         * gst/gstutils.c: (gst_parse_bin_from_description):
2702         * gst/parse/grammar.y: (graph):
2703           More guards against bad input; typo fix; some minor clean-ups.
2704
2705 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2706
2707         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2708
2709         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2710         If nothing else can be used, use the last buffer's start time as
2711         the segment's last stop. Fixes bug #534258.
2712
2713 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2714
2715         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2716           Move size sanity check to the right place: downstream may return
2717           a buffer with a smaller size if the buffer caps are different than
2718           the requested ones, as may happen when doing reverse negotiation.
2719
2720 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2721
2722         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2723         (gst_file_sink_render):
2724         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2725         (gst_file_src_start):
2726         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2727         use it yet.
2728
2729 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2730
2731         * gst/gstpad.c: (gst_pad_load_and_link):
2732         * gst/gstutils.c: (gst_element_link_pads),
2733         (gst_element_unlink_pads):
2734         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2735         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2736         (gst_check_teardown_sink_pad),
2737         (gst_check_element_push_buffer_list):
2738         * tests/check/elements/fakesink.c: (GST_START_TEST):
2739         * tests/check/elements/filesink.c:
2740         * tests/check/elements/filesrc.c: (GST_START_TEST):
2741         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2742         (mq_sinkpad_to_srcpad):
2743         * tests/check/elements/tee.c: (GST_START_TEST):
2744         * tests/check/generic/sinks.c: (GST_START_TEST):
2745         * tests/check/gst/gstbin.c: (GST_START_TEST):
2746         * tests/check/gst/gstevent.c: (GST_START_TEST):
2747         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2748         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2749         * tests/check/gst/gstquery.c: (GST_START_TEST):
2750         * tests/check/gst/gstutils.c: (GST_START_TEST):
2751         * tests/check/libs/basesrc.c: (GST_START_TEST):
2752         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2753         (gst_parse_test_element_change_state):
2754         Don't use gst_element_get_pad().
2755
2756 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2757
2758         * docs/Makefile.am:
2759         Fix installing plugin documentation when gtk-doc is disabled.
2760
2761 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2762
2763         * docs/manual/advanced-autoplugging.xml:
2764         * docs/manual/basics-helloworld.xml:
2765         * docs/manual/basics-pads.xml:
2766         * docs/manual/highlevel-components.xml:
2767         Avoid using a bad function in the example code.
2768
2769 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2770
2771         * gst/gstclock.c: (gst_clock_set_calibration):
2772         Fix debug of the new clock rate.
2773
2774 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2775
2776         * win32/common/libgstbase.def:
2777         Add gst_base_sink_wait_clock() to the exported symbols.
2778
2779 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2780
2781         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2782
2783         * libs/gst/base/gstbasetransform.c:
2784         (gst_base_transform_sink_event):
2785         Unref events that the GstBaseTransform::event vfunc didn't want to
2786         have forwarded by the base class. Closes a leak in identity.
2787         Fixes bug #446763.
2788
2789 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2790
2791         * docs/libs/gstreamer-libs-sections.txt:
2792         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2793         * libs/gst/base/gstbasesink.h:
2794         Expose a method that was previously used internally to synchronize
2795         against the clock because it can be useful for subclasses too.
2796         API: GstBaseSink::gst_base_sink_wait_clock()
2797
2798 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2799
2800         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2801           Add sanity check to make sure we don't get smaller buffers
2802           than requested (and fallback to normal buffer alloc if we do).
2803
2804 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2805
2806         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2807         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2808         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2809         Refactor adjusting the running_time with latency and offset into a
2810         separate method.
2811         When doing clipping, we still want to use the subclass get_times method,
2812         just in case the DURATION or TIMESTAMP are not set.
2813
2814 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2815
2816         * docs/gst/gstreamer-sections.txt:
2817         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2818         * gst/gsttypefind.h:
2819         * win32/common/libgstreamer.def:
2820           API: add gst_type_find_suggest_simple(), #533740.
2821
2822 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2823
2824         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2825           Use right error code when typefinding fails, so we can use
2826           the default (translated) error messages.
2827
2828 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2829
2830         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2831         (gst_base_src_start):
2832         When the subclass did not set caps on outgoing buffers, configure the
2833         caps we negotiated on the source pad.
2834         When the typefind helper does not find caps, error out properly instead
2835         of doing things with NULL caps.
2836
2837 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2838
2839         * gst/gsttypefind.h:
2840           Tabs to spaces, oh yes!
2841
2842 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2843
2844         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2845           Add David's and Benjamin's tests for array intersection to the
2846           unit test suite (#147931).
2847
2848 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2849
2850         * gst/gstevent.c:
2851           Document that gst_event_new_tag() and gst_event_new_navigation()
2852           take ownership of the taglist/structure passed to them. (#533635).
2853
2854 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2855
2856         * docs/Makefile.am:
2857         Don't descend into the plugins dir if plugin docs building
2858         is disabled.
2859
2860         * docs/README:
2861         Add a note about the new type:GTypeName syntax for the plugin
2862         documentation .types file.
2863
2864 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2865
2866         * gst/gstmessage.c: (gst_message_new_error),
2867         (gst_message_new_warning), (gst_message_new_info):
2868         * gst/gstmessage.h:
2869         Mark the debug string parameters as const. Fixes bug #533490.
2870
2871 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2872
2873         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2874         Sort buffer cache list by end offsets. This makes sure that we don't
2875         stop to search for a cached buffer that contains the requested data
2876         too early.
2877         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2878         more efficient. Fixes bug #459862.
2879
2880 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2881
2882         * gst/gstinfo.c:
2883           Explain why we copy the list.
2884
2885         * gst/gstpipeline.c:
2886           Improve docs.
2887
2888         * gst/gstutils.c:
2889           Add one debug-log statement to help tracing probelms with linking pads.
2890
2891 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2892
2893         * tests/check/gst/gstinfo.c:
2894         Add a test for removing the default log handler. Seems to fail under
2895         windows.
2896
2897 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2898
2899         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2900         Release pad lock before calling out to avoid a possible deadlock.
2901
2902 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2903
2904         * gst/parse/grammar.y:
2905         Remove unneeded value unset.
2906
2907         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2908         Add unit test for de/serialization of caps.
2909
2910 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2911
2912         * plugins/elements/gstfakesink.c:
2913         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2914         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2915         (gst_fake_src_class_init):
2916         Use custom marshalers that take GstMiniObject as first parameter.
2917         Using OBJECT as parameter while a GstMiniObject is given will lead
2918         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2919
2920 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2921
2922         * plugins/elements/gsttypefindelement.c:
2923         (gst_type_find_element_handle_event),
2924         (gst_type_find_element_send_cached_events),
2925         (gst_type_find_element_change_state):
2926         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2927         immediately.
2928
2929 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2930
2931         * plugins/elements/gsttypefindelement.c:
2932         (gst_type_find_handle_src_query), (stop_typefinding),
2933         (gst_type_find_element_handle_event),
2934         (gst_type_find_element_send_cached_events),
2935         (gst_type_find_element_change_state):
2936         Forward FLUSH_START events immediately and clean up instead of
2937         caching them.
2938
2939 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2940
2941         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2942
2943         * libs/gst/base/gstbasetransform.c:
2944         (gst_base_transform_buffer_alloc):
2945         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2946         fall back to default negotiation in the chain function if the caps
2947         are different from what was requested. Fixes bug #526768.
2948
2949 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2950
2951         * gst/gstsegment.c:
2952         * tests/check/gst/gstsegment.c:
2953           No, let's not use g_slice_{dup|copy} here, since they only exist
2954           since GLib 2.14 and we still depend only on >= 2.12. Also add
2955           unit test for gst_segment_copy().
2956
2957 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2958
2959         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2960           Try to fix 'dereferencing type-punned pointer will break strict
2961           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2962           changed the default GType typedef from gulong to gsize at some point,
2963           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2964           g_once_* functions all take a gsize * though, so work around the type
2965           mismatch for C++ by doing everything in gsize and casting to GType
2966           later.
2967
2968 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2969
2970         * plugins/elements/gstmultiqueue.c:
2971         Add documentation for the signals to push our core plugin docs
2972         coverage back up to 100%.
2973
2974 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2975
2976         * gst/gstinfo.h (GST_FUNCTION):
2977           Reverted GST_FUNCTION to the old version as we don't want the
2978           full signature in C++ code. Also added support for MSVC.
2979
2980 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2981
2982         * gst/gstutils.h:
2983         Intern the type name string, similar to what G_DEFINE_TYPE does.
2984
2985 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2986
2987         * gst/gstutils.h:
2988         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2989
2990 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2991
2992         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2993
2994         * libs/gst/base/gstbasetransform.c:
2995         (gst_base_transform_buffer_alloc):
2996         Don't passthrough buffer allocation too easily if the caps change.
2997         This breaks when working in passthrough mode and upstream changes
2998         it's caps. Fixes bug #526768.
2999
3000 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3001
3002         * gst/gstinfo.c (gst_debug_log_valist):
3003           Improved the __FILE__ part of debug output for MSVC.
3004
3005 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3006
3007         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3008           Declaration after statement fix for compilers like MSVC.
3009
3010 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3011
3012         * win32/common/config.h.in:
3013           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3014           use the real thing than having "???" unconditionally.
3015
3016 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3017
3018         * gst/gstinfo.h (GST_FUNCTION):
3019           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3020
3021 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3022
3023         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3024         Small code cleanup.
3025
3026         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3027         (gst_base_sink_set_flushing):
3028         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3029         Fix some comments.
3030
3031 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3032
3033         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3034         (gst_fake_src_init), (gst_fake_src_set_property),
3035         (gst_fake_src_get_property), (gst_fake_src_start):
3036         * plugins/elements/gstfakesrc.h:
3037         Added format property to control the format of the newsegment events.
3038         API: GstFakeSrc:format
3039
3040 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3041
3042         * win32/common/libgstreamer.def:
3043         Add gst_pad_has_name() to the exported symbols.
3044
3045 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3046
3047         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3048         * libs/gst/base/gstbasetransform.c:
3049         (gst_base_transform_prepare_output_buffer):
3050         Don't allow negative sizes when allocating new buffers.
3051         Fixes bug #461253.
3052
3053 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3054
3055         Patch by: Sjoerd Simons <sjoerd at luon net>
3056
3057         * gst/gstbus.c: (gst_bus_source_dispatch):
3058           Don't print a warning if the queue is empty when we try to pop
3059           here. That could happen if another thread or callback set the
3060           bus to flushing between the source's check/prepare and the
3061           dispatch being called (#531538).
3062
3063 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3064
3065         * plugins/elements/gstmultiqueue.c:
3066           Small docs fix.
3067         
3068 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3069
3070         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3071         Add unit test for deserializing uint64s and check some really large
3072         numbers in the int64 test.
3073
3074 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3075
3076         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3077         (print_interfaces), (print_element_properties_info),
3078         (print_signal_info):
3079         Use "%s" as format string instead of printing strings directly.
3080
3081 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3082
3083         * gst/gstclock.c: (gst_clock_set_calibration):
3084         Make some checks actually useful.
3085
3086         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3087         Remove some unused code. Unsigned integers tend to be >= 0.
3088
3089 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3090
3091         * gst/gstminiobject.c: (gst_value_get_mini_object):
3092           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3093           function was not in the unscheduled 0.10.19 release.
3094
3095 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3096
3097         * gst/gstregistry.c: (gst_registry_scan_path_level):
3098           Only print one log message per non-plugin file.
3099
3100 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3101
3102         * gst/gstinfo.c: (gst_debug_log_default):
3103           Fix alignment of debug log columns on 64-bit.
3104
3105 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3106
3107         * docs/libs/Makefile.am:
3108         * docs/libs/gstreamer-libs-sections.txt:
3109           Ignore private controller headers for docs.
3110
3111 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3112
3113         * libs/gst/controller/gstcontrollerprivate.h:
3114         * libs/gst/controller/gsthelper.c:
3115         * libs/gst/controller/gstinterpolation.c:
3116         * libs/gst/controller/gstinterpolationcontrolsource.c:
3117         (gst_interpolation_control_source_set_interpolation_mode):
3118         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3119         * libs/gst/controller/lib.c:
3120         Move some private declarations into private headers.
3121
3122 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3123
3124         * gst/gstdebugutils.c: (debug_dump_element_pad):
3125         Remove some code that is unused after Stefan's refactoring and uses
3126         uninitialized variables now, resulting in a compiler warning.
3127
3128 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3129
3130         * gst/gstregistry.c: (gst_registry_scan_path_level):
3131           Run g_str_has_suffix() only on the file name, not the
3132           entire file path.
3133
3134 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3135
3136         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3137           Since we're not called only from the chain function any longer,
3138           we can't assume that there's always data in the queue, so move
3139           the is_full check to the beginning of the loop (otherwise we'd
3140           hit the assert when changing the limit properties while the
3141           queue is empty or not running yet).
3142           Also, only set a discont if items were actually removed from
3143           the queue.
3144
3145         * tests/check/elements/queue.c: (test_leaky_downstream):
3146           Test case for the above.
3147
3148 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3149
3150         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3151
3152         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3153         (gst_queue_chain), (queue_capacity_change),
3154         (gst_queue_set_property):
3155         When changing thr max capacity of a leaky queue, immediatly drop buffers
3156         instead of waiting for a push on the sinkpad. Fixes #530637.
3157
3158 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3159
3160         * gst/gstdebugutils.c:
3161           Refactor code and fix handling of ghostpads and their proxypads.
3162
3163 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3164
3165         * docs/gst/gstreamer-sections.txt:
3166         * gst/gstevent.c: (gst_event_has_name):
3167         * gst/gstevent.h:
3168         * tests/check/gst/gstevent.c: (GST_START_TEST):
3169         Add method to conveniently check the name of a custom event with
3170         gst_event_has_name().
3171         Reformat the event docs so that related methods are put together instead
3172         of the default alphabetical sort.
3173         Update unit test with new method.
3174         API: GstEvent::gst_event_has_name()
3175
3176 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3177
3178         * libs/gst/check/Makefile.am:
3179           Don't add an explicit link to libgstreamer-0.10.la; it's already
3180           included in GST_OBJ_LIBS.
3181
3182 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3183
3184         * gst/gst.c:
3185         Register GstClock type from a type-safe context. Fixes bug #530317.
3186
3187 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3188
3189         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3190         * tools/gst-run.c:
3191           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3192
3193 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3194
3195         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3196         (gst_bin_dispose):
3197         Use the GLib stuff to create a private structure.
3198         Add some locking around some dispose methods to make them a little
3199         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3200
3201 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3202
3203         * libs/gst/base/gstbasesink.h:
3204         * libs/gst/base/gstbasesrc.h:
3205         * libs/gst/base/gstbasetransform.h:
3206         * libs/gst/base/gstcollectpads.h:
3207           Fix doc typos and unify caps a bit.
3208
3209 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3210
3211         * tools/gst-launch.1.in:
3212           Forgot to also add the envvar docs here.
3213
3214 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3215
3216         * gst/gst.c: (init_post), (gst_deinit):
3217         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3218           (test_concurrent_create), (gst_pipeline_suite):
3219           Ref some more classes in gst_init() to work around thread-safety
3220           issues in pre-2.16 GLibs, and add basic unit test.
3221
3222 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3223
3224         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3225         (gst_base_sink_send_event):
3226         Rearrange the latency query code. We always want to do the upstream
3227         query, even if we are not live so that the upstream elements can get the
3228         latency results too. If we fail doing the query and we are live, we
3229         return TRUE afterwards.
3230
3231 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3232
3233         patch by: Jason Zhao <e3423c@motorola.com>
3234
3235         * docs/gst/running.xml:
3236         * gst/gst.c:
3237           Enable/disable scan_and_update_registry() based on commandline switch
3238           or environment variable. Fixes #520468.
3239           
3240         * ChangeLog:
3241           Fix typo in my previous commit.
3242
3243 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3244
3245         * gst/gstregistrybinary.c:
3246           Add a warning if we hit unhandled factories when saving.
3247           More debug logging detail, but move to LOG category.
3248
3249 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3250
3251         * gst/gstregistry.c:
3252           Tell the *truth* when improving the documentation.
3253
3254 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3255
3256         * gst/gstelementfactory.c: (gst_element_factory_make):
3257         Unref the factory after it was used the last time, not before.
3258
3259         * gst/gstindexfactory.c: (gst_index_factory_make):
3260         Improve debugging a bit and don't leak a ref to the index factory with
3261         each call.
3262
3263 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3264
3265         * gst/gstregistry.c:
3266           Improve the documentation.
3267
3268 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3269
3270         * gst/gstsegment.c:
3271           The glib macro seems to be borked. Use g_slice_copy directly and cast
3272           in the hope that this fixes the warning on 64bit.
3273
3274 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3275
3276         * gst/gstsegment.c:
3277           Document the new function. Use g_slice_dup() (no need for
3278           gst_segment_init()).    
3279
3280 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3281
3282         * docs/gst/gstreamer-sections.txt:
3283           Move GParamSepc macros to standart section.
3284   
3285         * gst/gstbin.c:
3286           Dn't document _get_type - its in private section in docs anyway and
3287           this doc-blob was incomplete.
3288
3289         * gst/gstclock.h:
3290           Fix wrong symbol names in docs.
3291
3292         * gst/gstmacros.h:
3293           Add once doc sentence.
3294
3295         * tests/check/gst/.cvsignore:
3296           Ignore more.
3297
3298 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3299
3300         * docs/gst/Makefile.am:
3301           And remove those libs here.
3302
3303 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3304
3305         * docs/libs/Makefile.am:
3306           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3307
3308 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3309
3310         Patch by: Olivier Crete <tester at tester dot ca>
3311
3312         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3313         Add the min-threshold to the min latency if possible. Fixes #529148.
3314
3315 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3316
3317         * docs/gst/gstreamer.types.in:
3318           Stupid editor, I removed that line as it should go in yet.
3319
3320 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3321
3322         * docs/gst/gstreamer.types.in:
3323         * docs/libs/gstreamer-libs.types:
3324           Remove library types fro core docs and have them in libs docs.
3325           Reformat and cleanup. Add comment for miniobject types.
3326
3327 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3328
3329         * gst/gsturi.c: (gst_uri_get_protocol):
3330           Fix leak: g_strdown operates on the string in place, while
3331           g_ascii_strdown() returns a newly-allocated string.
3332
3333 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3334
3335         * tools/gst-inspect.c: (print_uri_handler_info),
3336         (print_element_info):
3337         Print the URI protocols and the URI type supported by the element.
3338
3339 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3340
3341         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3342         Use g_value_take_string() instead of the deprecated
3343         g_value_set_string_take_ownership().
3344
3345 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3346
3347         * gst/gstregistrybinary.c: (_gst_crc32):
3348         Return the old CRC instead of 0 if we give a NULL buffer
3349         or a buffer with a length of 0.
3350
3351 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3352
3353         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3354         (gst_uri_get_protocol), (gst_uri_has_protocol),
3355         (gst_uri_construct), (gst_uri_handler_set_uri):
3356         A valid URI scheme can also include '+', '-' and '.' additional
3357         to alphanumeric characters as per RFC 3986 Section 3.1.
3358
3359         Handle URI schemes case insensitive in all places and convert
3360         to lower-case when constructing an URI or setting an URI with
3361         the GstURIHandler interface. Fixes bug #528868.
3362         All elements can still assume (as before) that they will
3363         get passed URIs with a lower-case URI scheme by the GstURIHandler
3364         interface.
3365
3366 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3367
3368         * gst/gstcaps.c: (gst_static_caps_get):
3369         * gst/gstclock.c: (gst_clock_entry_new):
3370           Don't use g_atomic_set_int where it's not needed.
3371
3372 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3373
3374         * gst/gstvalue.c: (gst_value_deserialize_caps):
3375         * gst/parse/grammar.y:
3376         Fix 2 caps leaks.
3377
3378 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3379
3380         * gst/gstutils.c: (gst_atomic_int_set):
3381         Use g_atomic_int_set() here too instead of assignment +
3382         g_atomic_int_get().
3383
3384 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3385         
3386         * gst/gstutils.c:
3387         * gst/gstutils.h:
3388         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3389         now that we depend on new enough GLib.
3390
3391         * gst/gstcaps.c: (gst_static_caps_get):
3392         * gst/gstclock.c: (gst_clock_entry_new):
3393         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3394         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3395         (gst_debug_category_set_threshold):
3396         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3397         (gst_base_sink_set_qos_enabled):
3398         * libs/gst/net/gstnettimeprovider.c:
3399         (gst_net_time_provider_set_property):
3400         Use g_atomic_int_set() instead of gst_atomic_int_set().
3401
3402 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3403
3404         * gst/gstquery.c:
3405           Also use G_GINT64_CONSTANT for the queries.
3406
3407 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3408
3409         * gst/gstmessage.c:
3410           Use G_GINT64_CONSTANT in varargs function.
3411
3412 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3413
3414         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3415         Initialize the registry magic with zeroes.
3416
3417 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3418
3419         * gst/gstregistrybinary.c: (_gst_crc32),
3420         (gst_registry_binary_write),
3421         (gst_registry_binary_initialize_magic),
3422         (gst_registry_binary_write_cache),
3423         (gst_registry_binary_check_magic),
3424         (gst_registry_binary_read_cache):
3425         * gst/gstregistrybinary.h:
3426         Add crc32 checksum to the binary registry file and check this before
3427         accepting a registry file.
3428
3429         Also free the data list when writing to the registry file fails.
3430
3431 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3432
3433         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3434         (gst_registry_binary_load_feature),
3435         (gst_registry_binary_load_plugin):
3436         If an element supports the Uri interface, returns a valid pointer
3437         to the supported URI protocols but this pointer contains nothing
3438         don't try to save that as it will corrupt the registry.
3439
3440         Don't unref the plugin if we added it to the registry already but
3441         fail to load a feature as gst_registry_add_plugin() takes ownership
3442         of the plugin.
3443
3444         Improve debugging a bit.
3445
3446 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3447
3448         * gst/gsttaglist.h:
3449           Clarify some tag item docs after discussion on irc.
3450
3451 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3452
3453         * docs/gst/gstreamer-docs.sgml:
3454           Remove commented out plugins (they have their own docs). Update
3455           comments.
3456
3457 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3458
3459         * docs/gst/gstreamer-docs.sgml:
3460         * docs/gst/gstreamer-sections.txt:
3461         * gst/gstparamspecs.c:
3462         * gst/gstparamspecs.h:
3463           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3464           docs to own section.
3465
3466         * gst/gstvalue.c:
3467           This now only documents GValue.
3468           
3469         * docs/libs/gstreamer-libs-sections.txt:
3470         * libs/gst/controller/gstcontroller.h:
3471           Remove GST_PARAM_CONTROLLABLE.
3472
3473 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3474
3475         * docs/README:
3476           Correct file path. Tell about how to use -overrides.txt.
3477         * docs/design/draft-tagreading.txt:
3478           Small design update.
3479
3480 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3481
3482         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3483         (gst_registry_binary_load_plugin):
3484         Fix a typo in a debug message and revert change from yesterday as
3485         gst_registry_add_plugin() will only fail if something is really wrong
3486         already and we can't survive it anyway.
3487
3488 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3489
3490         * gst/gst.c: (init_post), (gst_deinit):
3491           Pre-register GstGError GType from a thread-safe context
3492           (fixes #527967); unref enum type classes in deinit.
3493
3494 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3495
3496         Patch by: Rene Stadler <mail at renestadler de>
3497
3498         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3499           Merging an empty list with another list in KEEP_ALL mode should
3500           yield an empty list as result and not the second list (#512578).
3501
3502         * tests/check/gst/gsttagsetter.c:
3503           Add unit test for tag merge modes and the aforementioned bug.
3504
3505 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3506
3507         Patch by: Rene Stadler <mail at renestadler de>
3508
3509         * gst/gsttaglist.h:
3510           Fix description to match the order in the table (#512577).
3511   
3512 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3513
3514         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3515
3516         * libs/gst/net/gstnettimepacket.h:
3517         * docs/libs/gstreamer-libs-sections.txt:
3518           Define socklen_t as int if it's not defined yet. Fixes compilation
3519           with MSVC6 and other versions where socklen_t is not defined in
3520           the windows headers (#518022).
3521
3522 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3523
3524         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3525         If gst_registry_add_plugin() fails our reference to the plugin is
3526         invalid so don't try to use it anymore and instead error out.
3527
3528 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3529
3530         * tools/gst-xmlinspect.c: (print_element_info), (main):
3531           De-cruft a bit. If no argument is specified, print all elements in
3532           XML syntax rather than a freestyle list of elements like gst-inspect.
3533           Also, don't print XML header chunk unless we actually have something
3534           to print (ie. don't print it before an error message); print error
3535           message to stderr not stdout. Remove support for printing plugin
3536           info (it would just output something freestyle along the lines of
3537           gst-inspect so far), which fixes #514507. Also add license header.
3538
3539 2008-04-11  Julien Moutte  <julien@fluendo.com>
3540
3541         Mac OS X love...
3542         * configure.ac: Merge platform specific defines, introduce a new
3543         define on OS X to remember that forking when updating registry is
3544         unsafe.
3545         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3546         module.
3547         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3548         is defined.
3549         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3550         condition that leads to absolutely no plugins being registered on
3551         OS X.
3552
3553 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3554
3555         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3556
3557         * gst/gstutils.c: (gst_pad_add_data_probe),
3558           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3559           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3560           (gst_pad_add_buffer_probe_full):
3561         * gst/gstutils.h:
3562         * docs/gst/gstreamer-sections.txt:
3563         * win32/common/libgstreamer.def:
3564           Add gst_pad_add_*_probe_full() functions with a notify callback that
3565           lets the caller free the data it passes to the probe functions. This
3566           is useful for bindings such as gst-python or gstreamermm (#526814).
3567           API: gst_pad_add_data_probe_full
3568           API: gst_pad_add_buffer_probe_full
3569           API: gst_pad_add_event_probe_full
3570
3571         * tests/check/gst/gstutils.c:
3572           Add minimal unit test to make sure freeing the data actually works
3573           as expected.
3574
3575         * tests/benchmarks/.cvsignore:
3576           Random cvsignore addendum.
3577
3578 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3579
3580         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3581           (GST_DEBUG_BIN_TO_DOT_FILE):
3582           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3583           to it in the docs (since these are macros the types of the arguments
3584           won't be shown in the docs otherwise).
3585
3586 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3587
3588         * gst/gstpad.c:
3589           Do not abort on out of memory for pad_alloc_buffer.
3590
3591 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3592
3593         * libs/gst/check/gstcheck.c:
3594           Remove blank line between symbol name ad parameters to fix gtkdoc
3595           warning.
3596
3597 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3598
3599         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3600
3601         * docs/gst/gstreamer-sections.txt:
3602         * gst/gstsegment.c:
3603         * gst/gstsegment.h:
3604         * win32/common/libgstreamer.def:
3605           Expose gst_segment_copy() to make things easier for the c++ bindings.
3606           Fixes #518932.
3607           API: gst_segment_copy()
3608
3609 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3610
3611         * gst/gst.c: (gst_init_get_option_group), (init_post):
3612           Fix const position; ref GType classes for enum types to work
3613           around thread-safety issues in GLib versions < 2.16.
3614
3615 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3616
3617         * docs/design/part-buffering.txt:
3618         Fix some typos and set the estimated total for push mode to -1.
3619
3620         * gst/gstquery.c: (gst_query_new_buffering):
3621         Set buffering-left to 0 as we're not buffering by default.
3622
3623         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3624         Implement BUFFERING query.
3625
3626 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3627
3628         Based on patch by: Milosz Derezynski <internalerror gmail com>
3629
3630         * gst/gsterror.c: (_gst_stream_errors_init):
3631         * gst/gsterror.h:
3632           Add two new error codes for encrypted content. Fixes #524659.
3633           API: GST_STREAM_ERROR_DECRYPT
3634           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3635
3636 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3637
3638         * gst/gstquery.h:
3639           Fix typo.
3640
3641         * win32/common/libgstreamer.def:
3642           Add new functions.
3643
3644 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3645
3646         * plugins/elements/gstidentity.c: (gst_identity_event),
3647         (gst_identity_start):
3648         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3649         event after processing some data. Fixes bug #526042.
3650
3651 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3652
3653         * docs/gst/gstreamer-sections.txt:
3654         * gst/gstquery.c: (gst_query_parse_latency),
3655         (gst_query_set_buffering_percent),
3656         (gst_query_parse_buffering_percent),
3657         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3658         * gst/gstquery.h:
3659         Rename _avail -> _range
3660         API: gst_query_set_buffering_range
3661         API: gst_query_parse_buffering_range
3662
3663 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3664
3665         * docs/design/part-buffering.txt:
3666         * gst/gstquark.c:
3667         * gst/gstquark.h:
3668         * gst/gstquery.c: (gst_query_parse_latency),
3669         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3670         (gst_query_parse_buffering_percent):
3671         * gst/gstquery.h:
3672         Add busy field and quark for the buffering query so that the app can
3673         only use the query to see if buffering is in progress.
3674
3675 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3676
3677         * docs/gst/gstreamer-sections.txt:
3678         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3679         (gst_message_parse_buffering_stats):
3680         * gst/gstmessage.h:
3681         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3682         (gst_query_parse_latency), (gst_query_new_buffering),
3683         (gst_query_set_buffering_percent),
3684         (gst_query_parse_buffering_percent),
3685         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3686         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3687         * gst/gstquery.h:
3688         Reorder the message docs and headers for clarity.
3689         Add aditional buffering stats API for messages.
3690         Add buffering query.
3691         Convert some leftover queries to use GstQuark.
3692         API: gst_message_set_buffering_stats
3693         API: gst_message_parse_buffering_stats
3694         API: GST_QUERY_BUFFERING
3695         API: GstBufferingMode
3696         API: gst_query_new_buffering
3697         API: gst_query_set_buffering_percent
3698         API: gst_query_parse_buffering_percent
3699         API: gst_query_set_buffering_stats
3700         API: gst_query_parse_buffering_stats
3701
3702 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3703
3704         * gst/gstmessage.c: (gst_message_new_error),
3705         (gst_message_new_warning), (gst_message_new_info),
3706         (gst_message_new_buffering), (gst_message_new_state_changed),
3707         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3708         (gst_message_new_new_clock), (gst_message_new_segment_start),
3709         (gst_message_new_segment_done), (gst_message_new_duration),
3710         (gst_message_new_async_start), (gst_message_parse_buffering),
3711         (gst_message_parse_state_changed),
3712         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3713         (gst_message_parse_new_clock), (gst_message_parse_error),
3714         (gst_message_parse_warning), (gst_message_parse_info),
3715         (gst_message_parse_segment_start),
3716         (gst_message_parse_segment_done), (gst_message_parse_duration),
3717         (gst_message_parse_async_start):
3718         Use GstQuark for messages.
3719
3720 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3721
3722         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3723         * gst/gstquark.h:
3724         Add some more quarks needed for messages and queries.
3725
3726 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3727
3728         * docs/design/part-buffering.txt:
3729         Remove the "none" buffering mode, STREAM is a good default.
3730         Move estimated-time to the avail query, that's when it will be needed.
3731         Other small typo fixes and updates.
3732
3733 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3734
3735         * gst/gstindex.c: (gst_index_resolver_get_type):
3736           Don't put descriptions into the nick field of a GEnumValue: it's not
3737           meant for that and some language bindings rely on the nick field to
3738           construct constants and the like. Fixes #526705.
3739
3740 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3741
3742         * NEWS:
3743         * RELEASE:
3744         * gstreamer.doap:
3745           Merge other changes from 0.10.19 release branch.
3746
3747 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3748
3749         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3750
3751         * configure.ac:
3752         Actually build dlls when cross-compiling with mingw32.
3753         Fixes bug #526247.
3754
3755 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3756
3757         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3758
3759         * gst/gstpoll.c:
3760         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3761
3762 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3763
3764         * docs/design/draft-latency.txt:
3765         Fix typo.
3766
3767         * docs/design/part-buffering.txt:
3768         Update design docs with more buffering ideas.
3769
3770 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3771
3772         * configure.ac:
3773           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3774
3775 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3776
3777         * configure.ac:
3778           Revert part that belongs to the preset patch.
3779
3780 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3781
3782         * configure.ac:
3783           Add qoutes to the define. Fixes # 525961.
3784
3785 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3786
3787         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3788         (gst_file_index_load), (gst_file_index_add_id),
3789         (gst_file_index_get_assoc_entry):
3790         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3791         (gst_mem_index_free_id), (gst_mem_index_add_id),
3792         (gst_mem_index_index_format):
3793         Use GSlice when possible.
3794
3795 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3796
3797         * libs/gst/controller/gstinterpolationcontrolsource.c:
3798         (gst_control_point_free),
3799         (gst_interpolation_control_source_set_internal):
3800         Use GSlice for allocating the control points.
3801
3802 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3803
3804         * plugins/elements/gsttypefindelement.c:
3805         (gst_type_find_element_class_init),
3806         (gst_type_find_element_set_property),
3807         (gst_type_find_element_get_property),
3808         (gst_type_find_element_activate):
3809         * plugins/elements/gsttypefindelement.h:
3810         Cleanup properties.
3811         Fix pad leak when peer query fails.
3812         We can still typefind when the peer returns -1.
3813         Add property to force caps and bypass typefinding. This will be used in
3814         uridecodebin.
3815         API::force-caps
3816
3817 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3818
3819         * configure.ac:
3820         Require GLib 2.12.
3821
3822         * gst/glib-compat-private.h:
3823         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3824         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3825         Unconditionally use GSlice for allocation.
3826
3827         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3828         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3829         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3830         (gst_structure_free):
3831         Use GSlice for allocation.
3832
3833 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3834
3835         * gst/parse/Makefile.am:
3836         * gst/parse/grammar.tab.pre.c:
3837         * gst/parse/grammar.tab.pre.h:
3838         * gst/parse/lex._gst_parse_yy.pre.c:
3839         Require a new enough flex and bison and remove the parser hacks to use
3840         a pre-regenerated version.
3841
3842 2008-04-01  Julien Moutte  <julien@fluendo.com>
3843
3844         patch by: Jason Zhao <E3423C@motorola.com>
3845
3846         * configure.ac: Add a configure switch to disable option parsing
3847         in gst_init.
3848         Fixes #522882.
3849
3850 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3851
3852         * configure.ac:
3853         * gst/gstregistry.c:
3854           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3855           and handle this case.
3856
3857         * gst/gst.c:
3858           Add a comment here describing, why we stat each plugin and not try to
3859           be smart.
3860
3861 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3862
3863         * libs/gst/base/gstbasetransform.c:
3864         (gst_base_transform_prepare_output_buffer):
3865         Also unset the GAP flag on buffers if we're working inplace but
3866         the element is not GAP-aware.
3867
3868         Mark a comment as FIXME 0.11.
3869
3870 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3871
3872         * gst/gst.c:
3873           Fix type in log message and add one to ease seeing how long registry
3874           cache verification takes.
3875
3876         * gst/gstregistry.c:
3877           Only test plugin filenames against G_MODULE_SUFFIX.
3878
3879 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3880
3881         * gst/gstdebugutils.c:
3882           Improve handling ghost/proxy pads.
3883
3884 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3885
3886         * docs/gst/gstreamer-sections.txt:
3887         * gst/gstpad.c:
3888         * gst/gstpad.h:
3889           Expose macro to docs and fix link to it.
3890
3891 2008-03-27  Michael Smith <msmith@fluendo.com>
3892
3893         * libs/gst/dataprotocol/dataprotocol.c:
3894         (gst_dp_packet_from_event_1_0):
3895           When calculating GDP body CRC, use the correct pointer. 
3896           Fixes part of #522401.
3897
3898 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3899
3900         Patch by: Mark Nauwelaerts <manauw at skynet be>
3901
3902         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3903         (gst_identity_init), (gst_identity_prepare_output_buffer):
3904         Identity is not always a passthrough element, it can modify the buffer
3905         timestamps when it has a datarate and operates in single-segment mode.
3906         We therefore make it an in_place filter with a custom buffer prepare
3907         function that conditionally makes the input buffer metadata writable
3908         when needed.  Fixes #523985.
3909
3910 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3911
3912         Patch by: Mark Nauwelaerts <manauw at skynet be>
3913
3914         * gst/gstclock.h:
3915         * libs/gst/base/gstbasesrc.h:
3916         * libs/gst/base/gstbasetransform.c:
3917         * libs/gst/check/gstcheck.c:
3918         Small documentation fixes. Fixes #523978.
3919
3920 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3921
3922         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3923         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3924         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3925
3926 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3927
3928         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3929         (single_queue_underrun_cb):
3930         When trying to make room in the queue, bump the max allowed buffers
3931         bigger than the current amount of buffers in the queue. this fixes some
3932         nasty deadlocks in multiqueue when dynamically changing the limits of
3933         the queue.
3934
3935 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3936
3937         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3938
3939         * gst/gstcaps.c: (gst_caps_set_simple),
3940         (gst_caps_set_simple_valist), (gst_caps_intersect):
3941         * gst/gstcaps.h:
3942         Constify the field gchar * params in set_simple and friends.
3943         Fixes #522326.
3944
3945 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3946
3947         * gst/gstvalue.c: (gst_value_transform_object_string):
3948         Transform a GstObject to a more meaningfull string that includes the
3949         object type in addition to its name.
3950
3951 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3952
3953         * ChangeLog:
3954           ChangeLog surgery to add bugnumber to commit.
3955
3956 2008-03-23  Rene Stadler  <mail@renestadler.de>
3957
3958         * libs/gst/base/gstbasetransform.c:
3959         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3960
3961 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3962
3963         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3964         Rename constant everywhere and don't forget one occurence.
3965
3966 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3967
3968         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3969         Align memory to the pointer size even if the architecture allows
3970         unaligned memory access. Unaligned memory access usually comes with
3971         performance penality.
3972
3973 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3974
3975         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3976         (gst_registry_binary_check_magic),
3977         (gst_registry_binary_load_pad_template),
3978         (gst_registry_binary_load_feature),
3979         (gst_registry_binary_load_plugin):
3980         Align memory to the pointer size instead of always 32 bit. Fixes
3981         unaligned memory accesses on ia64 and friends.
3982
3983         * gst/gstregistrybinary.h:
3984         Bump binary registry format version for this as it changes the
3985         format on those architectures that don't have unaligned access
3986         and 64 bit pointers.
3987
3988 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3989
3990         * docs/pwg/advanced-dparams.xml:
3991         * docs/pwg/building-props.xml:
3992         * docs/pwg/other-source.xml:
3993         * gst/glib-compat.h:
3994         * gst/gstbin.c: (gst_bin_class_init):
3995         * gst/gstclock.c: (gst_clock_class_init):
3996         * gst/gstindex.c: (gst_index_class_init):
3997         * gst/gstobject.c: (gst_object_class_init):
3998         * gst/gstpad.c: (gst_pad_class_init):
3999         * gst/gstpipeline.c: (gst_pipeline_class_init):
4000         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4001         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4002         * libs/gst/base/gstbasetransform.c:
4003         (gst_base_transform_class_init):
4004         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4005         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4006         (_gst_check_fault_handler_sighandler),
4007         (_gst_check_fault_handler_setup), (gst_check_init):
4008         * libs/gst/controller/gstcontroller.c:
4009         (_gst_controller_class_init):
4010         * libs/gst/controller/gstlfocontrolsource.c:
4011         (gst_lfo_control_source_class_init):
4012         * libs/gst/net/gstnetclientclock.c:
4013         (gst_net_client_clock_class_init):
4014         * libs/gst/net/gstnettimeprovider.c:
4015         (gst_net_time_provider_class_init):
4016         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4017         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4018         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4019         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4020         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4021         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4022         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4023         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4024         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4025         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4026         * plugins/elements/gsttee.c: (gst_tee_class_init):
4027         * plugins/elements/gsttypefindelement.c:
4028         (gst_type_find_element_class_init):
4029         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4030         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4031         use it everywhere for GParamSpecs that use static strings (i.e. all).
4032         This gives us less memory usage, fewer allocations and thus less
4033         memory defragmentation. Fixes bug #523806.
4034
4035 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4036
4037         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4038         (gst_param_spec_mini_object):
4039         * gst/gstminiobject.h:
4040         * win32/common/libgstreamer.def:
4041         * docs/gst/gstreamer-sections.txt:
4042         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4043         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4044         GstParamSpecMiniObject into a public header for this.
4045
4046         This make GstMiniObject a bit more consistent with GObject and makes
4047         it possible to extend the param specs.
4048
4049         gst_value_dup_mini_object is mainly useful for set_property methods.
4050
4051         Fixes bug #523798.
4052
4053         * tools/gst-inspect.c: (print_element_properties_info):
4054         Print something useful for GstMiniObject properties and not just
4055         "unknown type".
4056
4057 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4058
4059         * docs/gst/gstreamer-sections.txt:
4060         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4061         (gst_registry_binary_check_magic):
4062         * gst/gstregistrybinary.h:
4063         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4064         and add it to the (private part) of the docs to fix the build.
4065
4066 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4067
4068         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4069         (gst_registry_binary_check_magic),
4070         (gst_registry_binary_read_cache):
4071         * gst/gstregistrybinary.h:
4072         Don't use GST_MAJORMINOR for the binary registry version. Instead
4073         hardcode a value that must be changed whenever the format changes
4074         in an incompatible way.
4075         Also don't GST_ERROR when there is a version mismatch, just
4076         regenerate the registry silently.
4077
4078 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4079
4080         * configure.ac:
4081         Back to development - 0.10.18.1
4082
4083 === release 0.10.18 ===
4084
4085 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4086
4087         * configure.ac:
4088           releasing 0.10.18, "So far away"
4089
4090 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4091
4092         * configure.ac:
4093         * win32/common/config.h:
4094         0.10.17.4 pre-release
4095
4096 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4097
4098         Patch by: Ole André Vadla Ravnås
4099             <ole dot andre dot ravnas at tandberg dot com>
4100
4101         * docs/gst/gstreamer-sections.txt:
4102         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4103         (gst_poll_update_winsock_event_mask),
4104         (gst_poll_prepare_winsock_active_sets),
4105         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4106         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4107         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4108         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4109         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4110         * gst/gstpoll.h:
4111         * win32/common/libgstreamer.def:
4112         Add new function gst_poll_fd_ignored() for improved Windows
4113         compatibility.
4114         Various minor fixes and cleanups. See #520808.
4115
4116 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4117
4118         * gst/gstindex.c: (gst_index_entry_free):
4119         * gst/gstindex.h:
4120           Don't free key strings which we don't own. Fixes crash in
4121           gst_index_entry_free() (#522741).
4122
4123         * tests/check/Makefile.am:
4124         * tests/check/gst/.cvsignore:
4125         * tests/check/gst/gstindex.c: (test_index_entries),
4126           (gst_index_suite), (gst_index):
4127           Add unit test for the above.
4128
4129 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4130
4131         * win32/common/libgstreamer.def:
4132         Remove symbols that were removed recently. Fixes bug #521740.
4133
4134 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4135
4136         * configure.ac:
4137         * win32/common/config.h:
4138         0.10.17.3 pre-release
4139
4140 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4141
4142         Patch by: Ole André Vadla Ravnås
4143             <ole dot andre dot ravnas at tandberg dot com>
4144
4145         * docs/gst/gstreamer-sections.txt:
4146         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4147         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4148         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4149         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4150         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4151         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4152         (gst_poll_fd_can_write), (gst_poll_wait),
4153         (gst_poll_set_controllable), (gst_poll_restart),
4154         (gst_poll_set_flushing):
4155         * gst/gstpoll.h:
4156         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4157         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4158         (gst_net_time_provider_new):
4159         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4160         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4161         * tests/benchmarks/gstpollstress.c: (main):
4162         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4163         Remove GstPollMode from the API, it does not make sense to let the
4164         application control this.
4165         Add support for Win32.
4166         Fix the testsuite. Fixes #520671.
4167
4168 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4169
4170         Patch by: Ole André Vadla Ravnås
4171             <ole dot andre dot ravnas at tandberg dot com>
4172
4173         * gst/gstregistrybinary.c:
4174         Include io.h for write() and close() when building with MSVC. Fixes
4175         bug #520877.
4176
4177 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4178
4179         * configure.ac:
4180         * gst/gst_private.h:
4181         * gst/gstconfig.h.in:
4182         * gst/gstregistry.h:
4183         * gst/gstregistrybinary.c:
4184         * win32/common/gstconfig.h:
4185           Move registry backend API to private headers where we can. Add
4186           fixme-0.11 comments for the others. Add stubs for the xml backend when
4187           using the binary to ensure they functions exists (they should not be
4188           used though). Fixes #520756.
4189
4190 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4191
4192         * configure.ac:
4193         * win32/common/config.h:
4194         0.10.17.2 prelease
4195
4196 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4197
4198         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4199         (gst_registry_binary_read_cache):
4200         * gst/gstregistryxml.c: (gst_registry_save):
4201         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4202         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4203         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4204         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4205         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4206         Fixes #520152
4207
4208 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4209
4210         * gst/gstminiobject.c:
4211         Import gst_private.h before any other header that might include other
4212         glib headers. This fixes the build on windows using native compilers.
4213
4214 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4215
4216         * win32/common/gstconfig.h:
4217           Add here too, just for completeness.
4218
4219 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4220
4221         * configure.ac:
4222         * gst/gstconfig.h.in:
4223         * gst/gstregistry.h:
4224           Fix broken use of config.h-defined preprocessor directive in a public
4225           header file. Add a corresponding define to gstconfig.h, since we can't
4226           really remove those function declarations from the header file now
4227           (or can we? and why are they there in the first place?).
4228
4229 2008-03-03  Andy Wingo  <wingo@pobox.com>
4230
4231         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4232         the new warning.
4233
4234         * gst/gststructure.c (gst_structure_from_string): Warn if
4235         structure_from_string didn't consume the whole string, but the
4236         caller did not provide an end pointer.
4237
4238 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4239
4240         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4241
4242         * gst/gstregistryxml.c: (read_string), (load_feature):
4243           Strings allocated by libxml2 should be freed with xmlFree(), not
4244           with g_free(). Fixes issues on windows in certain contexts (#519698).
4245
4246 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4247
4248         * gst/gstinterface.c: (gst_element_implements_interface):
4249           Don't crash if the element supports the interface queried, but does
4250           not implement GstImplementsInterface. Fixes #519584.
4251
4252         * tests/check/Makefile.am:
4253         * tests/check/gst/.cvsignore:
4254         * tests/check/gst/gstinterface.c:
4255           Add unit test for the above.
4256
4257 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4258
4259         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4260         Small doc update.
4261
4262 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4263
4264         * gst/gstsegment.c: (gst_segment_set_seek),
4265         (gst_segment_to_stream_time):
4266         Improve some comment.
4267         Update variables where it makes more sense.
4268
4269 2008-02-29  Rene Stadler  <mail@renestadler.de>
4270
4271         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4272         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4273         URIHandlers implemented using language bindings.
4274
4275 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4276
4277         * gst/gstelementfactory.h:
4278         * tests/check/elements/fakesink.c:
4279         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4280         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4281         * tests/check/elements/filesink.c: (setup_filesink):
4282         * tests/check/elements/filesrc.c: (setup_filesrc):
4283         * tests/check/elements/identity.c: (setup_identity):
4284         * tests/check/elements/tee.c:
4285         * tests/check/generic/sinks.c:
4286         * tests/check/generic/states.c: (setup), (teardown):
4287         * tests/check/gst/gst.c:
4288         * tests/check/gst/gstabi.c:
4289         * tests/check/gst/gstbin.c:
4290         * tests/check/gst/gstbus.c: (pull_messages):
4291         * tests/check/gst/gstcaps.c:
4292         * tests/check/gst/gstelement.c:
4293         * tests/check/gst/gstevent.c:
4294         * tests/check/gst/gstghostpad.c:
4295         * tests/check/gst/gstiterator.c:
4296         * tests/check/gst/gstmessage.c:
4297         * tests/check/gst/gstminiobject.c: (my_foo_init):
4298         * tests/check/gst/gstobject.c: (thread_name_object),
4299         (gst_object_suite):
4300         * tests/check/gst/gstpad.c:
4301         * tests/check/gst/gstplugin.c:
4302         * tests/check/gst/gstpoll.c:
4303         * tests/check/gst/gstquery.c:
4304         * tests/check/gst/gstsegment.c:
4305         * tests/check/gst/gststructure.c:
4306         * tests/check/gst/gstsystemclock.c:
4307         * tests/check/gst/gsttask.c:
4308         * tests/check/gst/gstutils.c:
4309         * tests/check/gst/gstvalue.c:
4310         * tests/check/gst/struct_hppa.h:
4311         * tests/check/gst/struct_i386.h:
4312         * tests/check/gst/struct_ppc32.h:
4313         * tests/check/gst/struct_ppc64.h:
4314         * tests/check/gst/struct_x86_64.h:
4315         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4316         * tests/check/libs/basesrc.c:
4317         * tests/check/libs/controller.c: (GST_START_TEST):
4318         * tests/check/libs/gdp.c:
4319         * tests/check/libs/gstnetclientclock.c:
4320         * tests/check/libs/gstnettimeprovider.c:
4321         * tests/check/libs/libsabi.c:
4322         * tests/check/libs/struct_hppa.h:
4323         * tests/check/libs/struct_i386.h:
4324         * tests/check/libs/struct_ppc32.h:
4325         * tests/check/libs/struct_ppc64.h:
4326         * tests/check/libs/struct_x86_64.h:
4327         * tests/check/pipelines/cleanup.c:
4328         * tests/check/pipelines/simple-launch-lines.c:
4329         * tests/check/pipelines/stress.c:
4330         And correct even more valid sparse warnings.
4331
4332         * win32/common/libgstreamer.def:
4333         Add gst_poll_fd_init to the list of symbols.
4334
4335 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4336
4337         * gst/gstconfig.h.in:
4338         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4339         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4340         (gst_check_log_critical_func), (gst_check_drop_buffers),
4341         (gst_check_element_push_buffer_list):
4342         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4343         (gst_controller_get_type):
4344         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4345         (gst_object_get_controller), (gst_object_get_control_source):
4346         * libs/gst/controller/gstinterpolationcontrolsource.c:
4347         (gst_interpolation_control_source_new):
4348         * libs/gst/controller/gstlfocontrolsource.c:
4349         (gst_lfo_control_source_new):
4350         * libs/gst/dataprotocol/dataprotocol.c:
4351         (gst_dp_event_from_packet_0_2):
4352         * plugins/elements/gstfdsrc.c:
4353         * plugins/elements/gstmultiqueue.c:
4354         * plugins/elements/gsttee.c:
4355         * plugins/elements/gsttypefindelement.c:
4356         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4357         (gst_file_index_add_association):
4358         * plugins/indexers/gstmemindex.c:
4359         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4360         * tests/check/elements/queue.c: (setup_queue):
4361         * tests/check/gst/gstpipeline.c:
4362         * tests/check/libs/collectpads.c: (setup), (teardown),
4363         (gst_collect_pads_suite):
4364         * tests/examples/adapter/adapter_test.c:
4365         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4366         * tests/examples/xml/createxml.c:
4367         * tests/examples/xml/runxml.c:
4368         * tools/gst-inspect.c:
4369         * tools/gst-run.c:
4370         Correct all relevant warnings found by the sparse semantic code
4371         analyzer. This include marking several symbols static, using
4372         NULL instead of 0 for pointers, not using variable sized arrays
4373         on the stack, moving variable declarations to the beginning of
4374         a block and using "foo (void)" instead of "foo ()" for declarations.
4375
4376 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4377
4378         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4379         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4380         Don't reset GstPollFDs, this is not necessary at all.
4381
4382         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4383         (delayed_restart), (delayed_control):
4384         Use GST_POLL_FD_INIT.
4385
4386 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4387
4388         * gst/gstpoll.c: (gst_poll_fd_init):
4389         * gst/gstpoll.h:
4390         Added Since tags.
4391
4392         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4393         Use some more init macros.
4394
4395 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4396
4397         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4398         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4399         Use init macros and functions.
4400
4401 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4402
4403         * docs/gst/gstreamer-sections.txt:
4404         * gst/gstpoll.c: (gst_poll_fd_init):
4405         * gst/gstpoll.h:
4406         Add INIT macro and _init method for initializing the GstPollFD.
4407
4408 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4409
4410         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4411         (gst_fd_sink_update_fd):
4412         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4413         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4414         (delayed_restart), (delayed_control):
4415         Initialize some uninitialized variables as spotted by valgrind.
4416
4417 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4418
4419         * tests/benchmarks/Makefile.am:
4420         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4421         (main):
4422         Add poll stress test.
4423
4424 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4425
4426         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4427
4428         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4429         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4430         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4431         * plugins/elements/gstfdsink.h:
4432         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4433         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4434         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4435         (gst_fd_src_uri_set_uri):
4436         * plugins/elements/gstfdsrc.h:
4437         Port to GstPoll. See #505417.
4438
4439 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4440
4441         * win32/common/libgstreamer.def:
4442         Add new gst_poll_ symbols to win32 defs.
4443
4444 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4445
4446         * docs/libs/gstreamer-libs-sections.txt:
4447         * libs/gst/net/gstnetclientclock.c:
4448         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4449         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4450         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4451         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4452         * libs/gst/net/gstnetclientclock.h:
4453         * libs/gst/net/gstnettimeprovider.c:
4454         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4455         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4456         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4457         (gst_net_time_provider_new):
4458         * libs/gst/net/gstnettimeprovider.h:
4459         Use a private stuct to not break ABI.
4460
4461 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4462
4463         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4464
4465         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4466         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4467         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4468         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4469         * libs/gst/net/gstnetclientclock.h:
4470         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4471         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4472         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4473         (gst_net_time_provider_new):
4474         * libs/gst/net/gstnettimeprovider.h:
4475         Massive code removal and cleanups because of GstPoll.
4476         Fixes #505417.
4477
4478 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4479
4480         * configure.ac:
4481         Add checks for poll, ppoll and pselect.
4482
4483         * docs/gst/gstreamer-docs.sgml:
4484         * docs/gst/gstreamer-sections.txt:
4485         Add docs for GstPoll.
4486
4487         * gst/Makefile.am:
4488         * gst/gst.h:
4489         * gst/gstpoll.c: (find_index), (selectable_fds),
4490         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4491         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4492         (gst_poll_set_mode), (gst_poll_get_mode),
4493         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4494         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4495         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4496         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4497         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4498         (gst_poll_fd_can_write), (gst_poll_wait),
4499         (gst_poll_set_controllable), (gst_poll_restart),
4500         (gst_poll_set_flushing):
4501         * gst/gstpoll.h:
4502         Add generic poll abstraction. We ideally don't want to have this in core
4503         here but in glib intead...
4504         This code will be used in various network elements and ultimately for
4505         the nanosecond precision monotonic clock (that's why it's here in core).
4506         It'll allow us to implement cancelable socket operations for windows too.
4507
4508         * tests/check/Makefile.am:
4509         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4510         (delayed_stop), (delayed_restart), (delayed_flush),
4511         (delayed_control), (gst_poll_suite):
4512         Add GstPoll unit test.
4513
4514 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4515
4516         * gst/gstfilter.c:
4517           Improve documentation of gst_filter_run(). Fixes #518627.
4518
4519 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4520
4521         * docs/README:
4522           Add a few lines about the new 'check-inspected-versions' target.
4523
4524 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4525
4526         * tests/check/gst/gstevent.c:
4527           Add qos to the event test. Rename tcase/tsuite; is not only about
4528           custom events.
4529
4530 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4531
4532         * plugins/elements/gstqueue.c:
4533           Ensure that buffer metadata is writeable, before modifying. Spotted by
4534           Mike.
4535
4536 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4537
4538         * plugins/elements/gstqueue.c:
4539         * plugins/elements/gstqueue.h:
4540           When dropping buffers in leaky modes, mark next buffers we sent as
4541           DISCONT.
4542
4543 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4544
4545         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4546           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4547
4548 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4549
4550         * plugins/elements/Makefile.am:
4551         * plugins/elements/gstbufferstore.c:
4552         * plugins/elements/gstbufferstore.h:
4553         * plugins/elements/gsttypefindelement.h:
4554           Remove GstBufferStore, no idea why we were still building it.
4555           It's not used anywhere and superseded by GstAdapter.
4556
4557         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4558           (gst_file_src_create_mmap):
4559         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4560           Printf format fixes for 64-bit integers.
4561
4562 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4563
4564         * configure.ac:
4565         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4566         We're not in 0.8 times anymore.
4567
4568 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4569
4570         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4571         (gst_check_element_push_buffer_list):
4572         * libs/gst/check/gstcheck.h:
4573         Make the declaration in the header for
4574         gst_check_element_push_buffer_list match the implementation.
4575
4576         Fix up spelling, grammar and wording of the documentation in a few
4577         places, and add the Since keyword to new API functions.
4578         Use g_list_delete_link instead of g_list_remove in
4579         gst_check_drop_buffers, since it's immeasurably more efficient.
4580
4581         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4582         Use new gst_check_drop_buffers function where appropriate.
4583
4584         * win32/common/libgstbase.def:
4585         * win32/common/libgstreamer.def:
4586         Add new symbols gst_collect_pads_take_buffer, 
4587         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4588         exports
4589
4590         Changelog surgery to add API keyword to new gst_check API.
4591
4592 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4593
4594         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4595         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4596         Update pre-generated flex files with flex 2.3.34.
4597
4598 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4599
4600         * gst/gstminiobject.c:
4601           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4602           friendly to subclasses and not require them to know all internals
4603           of their parent class.
4604
4605 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4606
4607         * docs/libs/gstreamer-libs-sections.txt:
4608         * libs/gst/base/gstcollectpads.c:
4609         * libs/gst/base/gstcollectpads.h:
4610           Add sub-buffer functions to collectpads. Fixes #516187.
4611           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4612
4613 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4614
4615         * gst/gstbuffer.c:
4616           Copy selected buffer-flags when creating subbuffers.
4617           Fixes #516395.
4618
4619 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4620
4621         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4622         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4623         * gst/gstmessage.c: (gst_message_class_init),
4624         (gst_message_finalize):
4625         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4626         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4627         (gst_mmap_buffer_finalize):
4628         Properly chain up finalize functions to the parent class.
4629
4630 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4631
4632         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4633
4634         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4635         (gst_index_set_resolver_full):
4636         * gst/gstindex.h:
4637         Add new function with option to dispose of user_data in resolver.
4638         Actually call the dispose function when finalizing the object and not
4639         just when changing the resolver/filter.
4640         API: GstIndex::gst_index_set_resolver_full()
4641
4642         * docs/gst/gstreamer-sections.txt:
4643         Add new function to docs. Fixes #515469.
4644
4645 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4646
4647         * gst/gstindex.c: (gst_index_finalize):
4648         Chain up finalize to the parent class. Fixes leaking the GstObject
4649         name and other things.
4650
4651 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4652
4653         * configure.ac:
4654         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4655         pre-releases or releases.
4656
4657         * docs/faq/gst-uninstalled:
4658         Add gst-plugins-gl
4659
4660         * docs/random/release:
4661         Change one of the steps - we only upload core & base to Gnome FTP
4662
4663 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4664
4665         * gst/gstconfig.h.in:
4666           Add 'id' for example.
4667
4668         * gst/gstpad.c:
4669         * gst/gstutils.c:
4670         * plugins/elements/gstfdsink.c:
4671           Link to signals. Doc and comment fixes.
4672
4673 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4674
4675         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4676         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4677           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4678           unused and unimplemented; finally, it is plugin features, not
4679           plugins, that have ranks.
4680           
4681 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4682
4683         * gst/gstpluginfeature.h:
4684           Clarify GstRank range docs.
4685
4686 2008-02-05  David Schleef  <ds@schleef.org>
4687
4688         * gst/gst.c: Add a separate gst_deinitialized that prevents
4689           gst_init() from being called after gst_deinit().  Fixes #509559
4690
4691 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4692
4693         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4694         (gst_bin_class_init):
4695         * gst/gstelement.c: (gst_element_base_class_init),
4696         (gst_element_class_add_pad_template):
4697         * gst/gstpadtemplate.c: (gst_pad_template_init):
4698         * gst/gstpipeline.c: (gst_pipeline_get_type),
4699         (gst_pipeline_base_init), (gst_pipeline_class_init):
4700         * libs/gst/base/gstbasesink.c:
4701         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4702         (gst_base_src_base_init), (gst_base_src_class_init):
4703         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4704         (gst_capsfilter_class_init):
4705         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4706         (gst_fake_sink_class_init):
4707         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4708         (gst_fake_src_class_init):
4709         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4710         (gst_fd_sink_class_init):
4711         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4712         (gst_fd_src_class_init):
4713         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4714         (gst_file_sink_class_init):
4715         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4716         (gst_file_src_class_init):
4717         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4718         (gst_identity_class_init):
4719         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4720         (gst_multi_queue_class_init):
4721         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4722         (gst_queue_class_init):
4723         * plugins/elements/gsttee.c: (gst_tee_base_init),
4724         (gst_tee_class_init):
4725         * plugins/elements/gsttypefindelement.c:
4726         (gst_type_find_element_base_init),
4727         (gst_type_find_element_class_init):
4728         * tests/check/gst/gstelement.c: (gst_element_suite):
4729         Revert previous changes to the behaviour of GstPadTemplates, etc
4730         and the possiblity to call them in class_init as it breaks too
4731         many elements. Reopens bug #491501.
4732
4733         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4734         several places.
4735
4736 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4737
4738         * tools/gst-launch.c:
4739         Dump one graph per pipeline state-change and state change name
4740         (if GST_DEBUG_DUMP_DOT_DIR is set).
4741
4742 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4743
4744         * gst/gstpad.c:
4745         * tests/check/gst/gstpad.c:
4746         Be sure that we have a new copy of the caps and not
4747         reffed caps from a template
4748
4749 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4750
4751         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4752         * gst/gstpipeline.c: (gst_pipeline_get_type),
4753         (gst_pipeline_class_init):
4754         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4755         (gst_base_sink_class_init):
4756         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4757         (gst_base_src_class_init):
4758         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4759         (gst_base_transform_class_init):
4760         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4761         (gst_collect_pads_class_init):
4762         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4763         * libs/gst/net/gstnettimeprovider.c:
4764         (gst_net_time_provider_base_init),
4765         (gst_net_time_provider_class_init):
4766         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4767         (gst_capsfilter_class_init):
4768         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4769         (gst_fake_sink_class_init):
4770         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4771         (gst_fake_src_class_init):
4772         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4773         (gst_fd_sink_class_init):
4774         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4775         (gst_fd_src_class_init):
4776         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4777         (gst_file_sink_class_init):
4778         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4779         (gst_file_src_class_init):
4780         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4781         (gst_identity_class_init):
4782         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4783         (gst_multi_queue_class_init):
4784         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4785         (gst_queue_class_init):
4786         * plugins/elements/gsttee.c: (gst_tee_base_init),
4787         (gst_tee_class_init):
4788         * plugins/elements/gsttypefindelement.c:
4789         (gst_type_find_element_base_init),
4790         (gst_type_find_element_class_init):
4791         Don't use base_init where not absolutely necessary. For example it's
4792         not necessary anymore for adding pad templates or setting element
4793         details.
4794
4795         Leave empty base_init functions in several places as GST_BOILERPLATE
4796         still defines and uses them.
4797
4798 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4799
4800         * gst/gstelement.c: (gst_element_base_class_init),
4801         (gst_element_class_add_pad_template):
4802         * gst/gstpadtemplate.c:
4803         Make it possible (and recommended) to set element details and add
4804         pad templates in the class_init functions by copying the details/pad
4805         templates in GstElement's base_init.
4806
4807         Also make it possible to replace existing pad templates by adding
4808         a new one with the same name. This was done in a hackish fashion
4809         in same elements before already.
4810
4811         Don't reference pad templates that are added a second time. A
4812         new pad template has a refcount of one and is not floating anymore
4813         and to be owned by the element's class. Make this more explicit by
4814         mentioning it in the docs of gst_element_class_add_pad_template().
4815
4816         These changes are backwards compatible. Fixes bug #491501.
4817
4818         * tests/check/gst/gstelement.c:
4819         Add unit test for setting element details, adding pad templates and
4820         replacing them in a subclass.
4821
4822 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4823
4824         * tools/gst-inspect.c: (print_interfaces),
4825         (print_element_properties_info), (print_pad_info),
4826         (print_signal_info), (print_element_info):
4827         Fix a few memory leaks.
4828
4829 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4830
4831         * docs/libs/gstreamer-libs-sections.txt:
4832         * libs/gst/check/gstcheck.c:
4833         * libs/gst/check/gstcheck.h:
4834         Add more functions for unit testing: gst_check_drop_buffers,
4835         gst_check_caps_equal, gst_check_element_push_buffer_list,
4836         gst_check_element_push_buffer
4837         API: gst_check_drop_buffers
4838         API: gst_check_caps_equal
4839         API: gst_check_element_push_buffer_list
4840         API: gst_check_element_push_buffer
4841
4842 2008-02-01  Julien Moutte  <julien@fluendo.com>
4843
4844         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4845         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4846         (gst_index_finalize), (gst_index_entry_free),
4847         (gst_index_add_association): Fix memory leaks.
4848         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4849         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4850         (gst_mem_index_free_format), (gst_mem_index_free_id),
4851         (gst_mem_index_finalize): Fix memory leaks.
4852         * win32/common/config.h: Updated to CVS HEAD.
4853
4854 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4855
4856         * docs/README:
4857           Some more details about how the plugin docs works.
4858
4859         * docs/plugins/gstreamer-plugins-sections.txt:
4860           Whitespace cleanup.
4861
4862 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4863
4864         * gst/parse/grammar.tab.pre.c:
4865         * gst/parse/grammar.tab.pre.h:
4866         * gst/parse/grammar.y:
4867         * gst/parse/lex._gst_parse_yy.pre.c:
4868           Add delayed set-property. This allows to set properties on dynamicaly
4869           created objects (pads in videomxer). Fixes #509391.
4870
4871 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4872
4873         * gst/gstutils.c:
4874         Check if caps are not NULL (fix bug #510194)
4875
4876 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4877
4878         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4879         (gst_base_sink_get_position_paused):
4880         Add fixme regarding EOS in pull mode.
4881         Fix position reporting in PAUSED for negative rates.
4882
4883 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4884
4885         * gst/gstminiobject.c: (gst_mini_object_replace):
4886         When replacing a miniobject, do a quick equality check first so that we
4887         can avoid a ref/unref pair.
4888
4889 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4890
4891         * docs/design/part-synchronisation.txt:
4892         Update some docs.
4893
4894         * docs/plugins/Makefile.am:
4895         * docs/plugins/gstreamer-plugins-docs.sgml:
4896         * docs/plugins/gstreamer-plugins-sections.txt:
4897         * plugins/elements/gstmultiqueue.c:
4898         Add multiqueue to the docs.
4899
4900 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4901
4902         * configure.ac:
4903           Back to CVS
4904
4905 === release 0.10.17 ===
4906
4907 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4908
4909         * configure.ac:
4910           releasing 0.10.17, "Due Negligence"
4911
4912 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4913
4914         * gst/gstutils.c:
4915         Revert caps != NULL check temporarily for 0.10.17 release.
4916
4917 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4918
4919         * gst/gstutils.c:
4920         Check if caps are not NULL (fix bug #510194)
4921
4922 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4923
4924         * gst/gstutils.c:
4925         Fix compilation on systems that have posix timers but no
4926         monotonic clock.
4927         Fixes: #512715
4928         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4929         dot net>
4930
4931 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4932
4933         * tools/gst-inspect.c:
4934         Revert previous commit in preparation for an impromptu 0.10.17 release
4935
4936 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4937
4938         * tools/gst-inspect.c: (print_interfaces),
4939         (print_element_properties_info), (print_pad_info),
4940         (print_signal_info), (print_element_info):
4941         Fix a few memory leaks.
4942
4943 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4944
4945         * configure.ac:
4946         Back to CVS
4947
4948 === release 0.10.16 ===
4949
4950 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4951
4952         * configure.ac:
4953           releasing 0.10.16, "Special Dispensation"
4954
4955 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4956
4957         * configure.ac:
4958           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4959           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4960           not fail when trying to crosscompile on OpenEmbedded (#511750).
4961
4962 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4963
4964         * docs/manuals.mak:
4965         Use $(MAKE) instead of make to fix the build if GNU make is
4966         called different. Fixes bug #510747.
4967
4968 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4969
4970         * gst/gstplugin.c: (_gst_plugin_initialize):
4971           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4972           again, which I broke two commits ago when changing the API
4973           of gst_plugin_register_static(): the g_list_foreach() in
4974           _gst_plugin_register_static still assumed the old function
4975           signature and would therefore fail (re-fixes #510187).
4976
4977         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4978           (_gst_plugin_register_static), (gst_plugin_register_static):
4979           Revert the (technically correct) change to call g_thread_init() from
4980           the pre-main() constructor. This will break programs which call
4981           g_thread_init() without an if (!g_thread_supported()) guard in their
4982           main function. We could just blame it on GLib or the application, but
4983           it's probably best to just avoid this altogether and simply not use
4984           any GLib functions here and use plain old malloc() with a simple
4985           array to store the plugins to register later when gst_init() is
4986           finally called (re-fixes #510187).
4987
4988         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4989           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4990           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4991           (GST_START_TEST), (gst_plugin_suite):
4992           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4993           works.
4994
4995 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4996
4997         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4998           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4999           This makes gtk-doc complain, but results in slightly better
5000           compiler errors. The old _gst_plugin_register_static() is
5001           still guarded, so there'll be a compiler warning about that
5002           instead. Fixes #510187 too.
5003
5004 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5005
5006         * gst/gst.c: (init_post):
5007         * gst/gstplugin.c: (_gst_plugin_register_static),
5008           (gst_plugin_register_static), (_gst_plugin_initialize):
5009         * gst/gstplugin.h: (GstPluginFilter):
5010           Change API of gst_plugin_register_static() to not take
5011           a GstPluginDesc, but rather just take all the arguments
5012           in a GstPluginDesc directly. This is more intuitive and
5013           avoids certain mistakes when porting code from
5014           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5015           Fixes #510187.
5016
5017         * tests/check/gst/gstplugin.c:
5018           Fix up for changed API.
5019
5020 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5021
5022         * docs/faq/legal.xml:
5023           Update FAQ, Totem actually has an exception these days.
5024
5025 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5026
5027         * win32/common/libgstreamer.def:
5028         Add new API declarations
5029
5030 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5031
5032         * gst/gstminiobject.c:
5033           Spelling fixes for the API docs.
5034
5035 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5036
5037         * libs/gst/base/gstbasetransform.c:
5038           Fix long property description for QoS.
5039
5040 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5041
5042         * gst/gst.c:
5043         _gst_trace_on is already provided by gsttrace.h, no need to declare
5044         it ourselves.
5045
5046         * docs/libs/gstreamer-libs-sections.txt:
5047         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5048         and remove strange tcase_add_test which is outputting a warning.
5049
5050         * libs/gst/check/gstcheck.c:
5051         * libs/gst/check/gstcheck.h:
5052         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5053         and define them in gstcheck.c instead of having every .c file whcih
5054         includes gstcheck.h be defining its own copy and relying on symbol
5055         interposing to marry them all, which doesn't work on Solaris.
5056
5057         * tests/check/elements/identity.c: (GST_START_TEST):
5058         Don't define 'buffers' locally, it comes from libgstcheck.
5059
5060         * tests/check/generic/sinks.c: (send_buffer):
5061         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5062
5063         * tests/check/gst/gststructure.c: (GST_START_TEST):
5064         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5065         * tests/check/gst/gstutils.c: (GST_START_TEST):
5066         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5067         Add a bunch of casts to make various constants fit the types
5068         they're being assigned to.
5069
5070 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5071
5072         * gst/gstchildproxy.c:
5073           Improve docs and add some ideas for making this more general-purpose.
5074
5075 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5076
5077         * gst/gst_private.h: (GST_CAT_TYPES):
5078           Add GST_CAT_TYPES, for consistency, and so that the other
5079           debug categories don't make fun of it. Spotted by Saur on IRC.
5080
5081 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5082
5083         * gst/parse/Makefile.am:
5084           Move types.h from EXTRA_DIST to noinst_HEADERS.
5085
5086 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5087
5088         * autogen.sh:
5089           Add -Wno-portability to the automake parameters to stop warnings
5090           about GNU make extensions being used. We require GNU make in almost
5091           every Makefile anyway.
5092
5093         * configure.ac:
5094           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5095           at the same time is required for per target flags.
5096
5097 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5098
5099         * gst/gstmacros.h:
5100           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5101           __GNUC__ is defined before using it.
5102
5103 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5104
5105         * docs/gst/gstreamer-sections.txt:
5106         * gst/gst.c: (init_post):
5107         * gst/gstplugin.c: (_gst_plugin_register_static),
5108           (gst_plugin_register_static), (_gst_plugin_initialize),
5109           (gst_plugin_register_func):
5110         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5111           API: add gst_plugin_register_static() and deprecate
5112           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5113           (#498924).
5114           Also, in _gst_plugin_register_static(), make sure to call
5115           g_thread_init() before calling GLib functions such as
5116           g_list_append() if we're not initialised yet, since that
5117           may lead to random crashes with older GSlice/GLib versions.
5118
5119         * tests/check/gst/gstplugin.c:
5120           Adapt unit test to above changes.
5121
5122 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5123
5124         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5125         * gst/gstcaps.c: (gst_caps_to_string):
5126         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5127           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5128           Yet another gratuitous GString micro-optimisation: add a (private)
5129           function that serialises a structure appending to an existing
5130           GString, so that when we serialise caps we don't need to alloc+free
5131           a throwaway GString for each structure (each of which also entailing
5132           multiple reallocs on the way); also use g_string_sized_new() in
5133           various places with an approximate string length to avoid reallocs
5134           within GString. See #500143.
5135
5136 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5137
5138         * gst/gststructure.c: (gst_structure_id_set_value):
5139           Always check UTF-8 conformance of structure strings and not only
5140           if the debugging system is enabled; reasoning: the behaviour of
5141           the actual code shouldn't really change depending on whether the
5142           debugging system is enabled or not (#508291).
5143
5144 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5145
5146         * Makefile.am:
5147           Remove old coverage target in favour of "make lcov".
5148
5149 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5150
5151         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5152         (gst_base_src_loop):
5153         The start segment for reverse playback goes from start to last_stop.
5154
5155 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5156
5157         Patch by: Peter Kjellerstedt <pkj axis com>
5158
5159         * gst/gstclock.h:
5160         Cast the results from the timeval/spec_to_time macros to what the
5161         docs say it casts to, a GstClockTime. fixes #508175.
5162
5163 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5164
5165         * gst/gstbuffer.c:
5166         Update some comments.
5167
5168         * tools/gst-inspect.c: (print_element_properties_info):
5169         Improve printing of flags.
5170
5171 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5172
5173         * libs/gst/base/gstbasetransform.c:
5174           (gst_base_transform_transform_size):
5175           Print element name with g_warning() if there's a problem
5176           with the unit size.
5177
5178 2008-01-07  David Schleef  <ds@schleef.org>
5179
5180         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5181
5182         * libs/gst/controller/gstcontroller.h:
5183         * libs/gst/controller/gstcontrolsource.h:
5184         * libs/gst/controller/gstinterpolationcontrolsource.h:
5185         * libs/gst/controller/gstlfocontrolsource.h:
5186         * libs/gst/dataprotocol/dataprotocol.h:
5187           Fix empty prototypes.  Fixes bug #507957.
5188
5189 2008-01-07  David Schleef  <ds@schleef.org>
5190
5191         * docs/faq/dependencies.xml: Fix typo.
5192
5193 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5194
5195         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5196         (gst_base_src_loop):
5197         Don't update the last_stop position in do_seek, that's the position we
5198         did a seek to.
5199         Read backwards when we have a negative rate.
5200
5201         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5202         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5203         (filesrc_suite):
5204         Add check for reverse reading.
5205
5206 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5207
5208         Patch by: Alexis Ballier <aballier at gentoo org>
5209
5210         * tests/check/gst/gstabi.c:
5211         * tests/check/gst/struct_ppc64.h:
5212         * tests/check/libs/libsabi.c:
5213         * tests/check/libs/struct_ppc64.h:
5214           Decide which header to include based on the userland ABI target
5215           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5216           for 64-bit userland (#503590).  Might need something similar for
5217           x86 too.
5218
5219 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5220
5221         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5222           Log the reason why fopen fails in addition to the fact that it failed.
5223           
5224 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5225
5226         * gst/parse/parse.l:
5227         Use "%option never-interactive" to prevent useless calls to isatty()
5228         on every input when parsing. Also use "%option noinput" to not define
5229         the static input/yyinput functions which we don't use anyway. This
5230         removes a compiler warning with gcc 4.3 and saves some bytes in the
5231         library.
5232         
5233         * gst/parse/lex._gst_parse_yy.pre.c:
5234         Regenerated for the above change.
5235
5236 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5237
5238         * gst/gstpad.c: (fixate_value):
5239         Don't crash when trying to fixate and empty list.
5240         Fixes #506643.
5241
5242 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5243
5244         * docs/faq/gst-uninstalled:
5245         Clarify the comments to make the usage of this script and what it
5246         does easier to understand.
5247
5248 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5249
5250         * tools/gst-plot-timeline.py:
5251         Add more options to gst-plot-timeline
5252
5253 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5254
5255         * docs/design/part-synchronisation.txt:
5256         Some more info on how the stream_time in GstBaseSink is done.
5257
5258 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5259
5260         * tests/check/generic/sinks.c: (gst_sinks_suite):
5261           Put back the tcase_set_timeout(), apparently it's needed after
5262           all; fix it up in a way that makes things work with valgrind too.
5263
5264 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5265
5266         * gst/gstdebugutils.c:
5267           Add warning when failed to open file for writing.
5268
5269 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5270
5271         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5272
5273         * gst/gstvalue.c: (gst_value_is_fixed):
5274           Optimisation: bail out of the loop as early as possible (#500143).
5275
5276 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5277
5278         * gst/gstcaps.c: (gst_caps_to_string):
5279         * gst/gstinfo.c: (gst_debug_construct_term_color):
5280         * gst/gstparse.c: (gst_parse_launchv):
5281         * gst/gstutils.c: (gst_util_dump_mem):
5282         * gst/gstvalue.c: (gst_value_serialize_any_list),
5283           (gst_value_transform_any_list_string):
5284           Bunch of gratuitous nano-optimisations.
5285
5286 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5287
5288         * tests/check/generic/sinks.c: (async_done_func),
5289           (async_done_eos_func):
5290           Fix leak in unit test (bus sync handler must unref the message
5291           if it returns GST_BUS_DROP). Don't fiddle with the default test
5292           timeout, this is smaller than the current preconfigured value
5293           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5294           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5295
5296 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5297
5298         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5299
5300         * configure.ac:
5301         Check for stdio_ext.h for the filesink changes.
5302
5303         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5304         (gst_file_sink_class_init), (gst_file_sink_init),
5305         (gst_file_sink_dispose), (gst_file_sink_set_property),
5306         (gst_file_sink_get_property), (gst_file_sink_open_file),
5307         (gst_file_sink_close_file):
5308         * plugins/elements/gstfilesink.h:
5309         Add two properties to control the buffering mode and size.
5310         API: GstFileSink::buffer-mode
5311         API: GstFileSink::buffer-size
5312         Fixes #500150.
5313
5314 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5315
5316         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5317         Add some more docs to explain why a FIXME was wrongly added. 
5318
5319 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5320
5321         * gst/gstobject.c:
5322           Fix typo in the gst_object_{ref,unref} documentation.
5323
5324 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5325
5326         * tests/check/libs/controller.c:
5327         * tests/check/libs/typefindhelper.c:
5328         * tests/check/pipelines/parse-launch.c:
5329           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5330           going to be deprecated (see #498924).
5331
5332 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5333
5334         * gst/gsttypefind.c: (gst_type_find_register):
5335           Make gst_type_find_register work for static typefind functions,
5336           ie. allow passing plugin == NULL (prerequisite for #498924).
5337
5338         * gst/gstelementfactory.c: (gst_element_register):
5339           Small docs addition.
5340
5341 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5342
5343         * gst/gstpad.c: (gst_pad_dispose):
5344         Really unlink the peer pad instead of setting the peer pointer to NULL
5345         when we dispose the pad.
5346         This correctly calls the unlink functions and makes sure that the peer
5347         does not have a handle to invalid memory. See #504671.
5348
5349         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5350         Add testsuite for above case.
5351
5352 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5353
5354         Patch by: Peter Kjellerstedt <pkj axis com>
5355
5356         * libs/gst/check/gstcheck.h:
5357           Fix detection of the check version we're compiling against (would
5358           otherwise break if check goes v0.10.0); correctly report the
5359           name of the failed test again in case of failure, instead of
5360           just 'tf' (fixes #504499).
5361
5362 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5363
5364         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5365         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5366         (gst_base_src_loop), (gst_base_src_set_flushing),
5367         (gst_base_src_change_state):
5368         Allow sending EOS to the source to make it send out an EOS event from
5369         the streaming thread.
5370         Update docs and deprecate the old NULL/READY shutdown method.
5371
5372         * tests/check/libs/basesrc.c: (GST_START_TEST),
5373         (gst_basesrc_suite):
5374         Add unit test for controlled shutdown.
5375
5376 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5377
5378         * docs/design/part-synchronisation.txt:
5379         Small updates.
5380
5381         * gst/gstsegment.c: (gst_segment_set_seek),
5382         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5383         (gst_segment_to_running_time):
5384         The seek format can be different from the segment format when the start
5385         and stop values are not to be updated, when we only do a rate change for
5386         example.
5387
5388         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5389         (gst_segment_suite):
5390         Add a testcase for the rate-only seeks, checking that the format is
5391         correctly ignored when start and stop are not updated.
5392
5393 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5394
5395         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5396
5397         * win32/vs8/grammar.vcproj:
5398         * win32/vs8/libgstcontroller.vcproj:
5399         * win32/vs8/libgstreamer.vcproj:
5400         Fix compilation with VS8 and include some missing files.
5401
5402 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5403
5404         * gst/gsttaglist.c:
5405           Small docs addition: mention that the strings returned by
5406           gst_tag_list_get_string*() are in UTF-8 encoding.
5407
5408 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5409
5410         * Makefile.am:
5411           The check-exports stuff moved to common/win32.mak, so include that.
5412
5413 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5414
5415         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5416         (gst_base_src_perform_seek), (gst_base_src_get_range),
5417         (gst_base_src_set_playing), (gst_base_src_change_state):
5418         Make _wait_playing() not check any variables so that we can call this
5419         function from subclasses. Move the checks elsewhere similar to
5420         _wait_preroll() in basesink.
5421         Add some debugging.
5422         Only signal the LIVE cond when we are going back to PLAYING.
5423
5424 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5425
5426         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5427           Use g_remove() and g_rename(). Check result of g_rename(), and
5428           don't leak the open file descriptor if we error out when writing.
5429
5430         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5431           Must check the return value of close() after writing out the new
5432           registry file.  Sometimes write problems such as out-of-diskspace
5433           are only reported when the file is closed and not already during
5434           the write.  This may have caused partial/broken registry files in
5435           some rare circumstances. Should fix #503675.
5436
5437 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5438
5439         * docs/gst/.cvsignore:
5440         * docs/libs/.cvsignore:
5441         * docs/plugins/.cvsignore:
5442         Ignore files generated by new common/* modifications
5443
5444 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5445
5446         * win32/common/libgstbase.def:
5447           Yes, you can also have a <TAB> if you want.
5448
5449 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5450
5451         * win32/common/libgstbase.def:
5452           Add new basetransform API to win export file.
5453
5454 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5455
5456         * tests/check/gst/gstbin.c:
5457           Adjust the test to the refcount change two days ago.
5458
5459 2007-12-14  David Schleef  <ds@schleef.org>
5460
5461         * docs/faq/getting.xml: Fix typo.
5462
5463 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5464
5465         * docs/libs/gstreamer-libs-sections.txt:
5466         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5467           (gst_base_transform_prepare_output_buffer),
5468           (gst_base_transform_set_gap_aware):
5469         * libs/gst/base/gstbasetransform.h:
5470           API: Add gst_base_transform_set_gap_aware() to control whether
5471           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5472           get buffers with this flag at all. Fixes #503231.
5473
5474 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5475
5476         * libs/gst/base/gstbasesink.c:
5477         * libs/gst/base/gstbasesrc.c:
5478         * libs/gst/base/gstbasetransform.c:
5479           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5480           thread. Correct log message in gstbasesrc.c.
5481
5482 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5483
5484         * gst/gstutils.c: (element_find_unconnected_pad):
5485           Fix possible compiler warning (#503417).
5486
5487 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5488
5489         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5490           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5491
5492 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5493
5494         * tools/gst-inspect.c: (print_element_properties_info):
5495           Add support for GstFraction properties.
5496
5497 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5498
5499         * Makefile.am:
5500           Add check-exports target and run it as part of 'make check'
5501           (see #499140 and #493983).
5502
5503         * gst/gst_private.h:
5504         * gst/gstelementfactory.h:
5505         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5506         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5507           (_priv_gst_in_valgrind):
5508         * gst/gstinfo.h: (GstLogFunction):
5509         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5510           (gst_type_find_register):
5511         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5512           (gst_type_find_factory_get_type):
5513         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5514           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5515           (gst_controller_new_valist), (gst_controller_new_list),
5516           (_gst_controller_dispose), (_gst_controller_class_init):
5517         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5518         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5519           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5520           (gst_object_get_controller), (gst_object_set_controller),
5521           (gst_object_suggest_next_sync), (gst_object_sync_values),
5522           (gst_object_set_control_source), (gst_object_get_control_source),
5523           (gst_object_get_value_arrays), (gst_object_get_value_array),
5524           (gst_object_get_control_rate), (gst_object_set_control_rate):
5525         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5526         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5527           Make some functions that should be static static; rename some
5528           private symbols so that they don't get exported; add some FIXME
5529           comments so we can move accidentally exported functions into
5530           our private section in 0.11.
5531
5532         * win32/common/libgstreamer.def:
5533           Add gst_utils_get_timestamp().
5534
5535 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5536
5537         * gst/gstvalue.c:
5538         * gst/gstvalue.h:
5539           Add more missing "Since:" tags to docs.
5540
5541 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5542
5543         * gst/gstutils.c:
5544           Add mising "Since:" to docs.
5545
5546 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5547
5548         * gst/gstplugin.c:
5549           Include "glib-compat-private.h" to fix the build on system with
5550           glib < 2.10. Fixes #503131.
5551
5552 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5553
5554         * gst/gstutils.c:
5555         * gst/gstutils.h:
5556           Actually its not PURE as it gets the time from elsewhere.
5557
5558 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5559
5560         * docs/gst/gstreamer-sections.txt:
5561         * gst/gstclock.h:
5562         * gst/gstdebugutils.c:
5563         * gst/gstinfo.c:
5564         * gst/gstutils.c:
5565         * gst/gstutils.h:
5566         * libs/gst/base/gstbasesink.c:
5567         * tools/gst-launch.c:
5568           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5569           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5570           Thanks Tim for spotting.
5571           API: gst_util_get_timestamp
5572
5573 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5574
5575         * configure.ac:
5576           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5577
5578 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5579
5580         * gst/gststructure.c: (gst_structure_validate_name),
5581           (gst_structure_new_valist), (gst_structure_parse_value),
5582           (gst_structure_from_string):
5583           Don't crash in _from_string() if the structure name is not valid
5584           (fixes #501560).  Allow structure names to start with a number
5585           again (this apparently broke the ubuntu codec installer).
5586
5587         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5588           (GST_START_TEST):
5589           Add unit test for the crash; update unit tests for new behaviour.
5590
5591 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5592
5593         * gst/gstutils.c:
5594         Clarify gst_element_get_compatible_pad() documentation.
5595         Fixes #500919.
5596
5597 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5598
5599         * tests/check/Makefile.am:
5600           Don't forget to dist {gst,libs}/struct_hppa.h.
5601
5602 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5603
5604         * libs/gst/base/gstbasesink.c:
5605           Use new API to get elapsed time.
5606
5607 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5608
5609         * gst/gstdebugutils.c:
5610         * gst/gstinfo.c:
5611           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5612
5613         * tools/gst-launch.c:
5614           Use new API to get elapsed time.
5615
5616 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5617
5618         * docs/gst/gstreamer-sections.txt:
5619         * gst/gstclock.h:
5620         * gst/gstdebugutils.c:
5621         * gst/gstinfo.c:
5622           Rename new API + ChangeLog surgery to remove old name from last entry..
5623
5624 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5625
5626         * docs/gst/gstreamer-sections.txt:
5627         * gst/gstclock.h:
5628         * gst/gstdebugutils.c:
5629         * gst/gstinfo.c:
5630           Now hide the different clock stuff behind a macro.
5631
5632 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5633
5634         * configure.ac:
5635         * gst/gstdebugutils.c:
5636         * gst/gstinfo.c:
5637           Apply the posix-timer check from #361155. Conditionally use the posix
5638           timer for logging. This gives better timestamp precission, less
5639           overhead and no ntp jitter.
5640
5641 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5642
5643         * gst/gstminiobject.c: (gst_mini_object_get_type),
5644         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5645         (gst_mini_object_finalize), (gst_mini_object_copy),
5646         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5647         (gst_mini_object_replace), (param_mini_object_validate),
5648         (gst_param_spec_mini_object_get_type):
5649         Some cleanup and checking against invalid function parameters.
5650
5651 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5652
5653         * docs/gst/gstreamer-sections.txt:
5654         * gst/gstclock.h:
5655         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5656         (gst_systemclock_suite):
5657         Start merging in the easy bits of #361155, the monotonic clock patch.
5658         This one adds a few handy macros with docs and a testsuite.
5659
5660 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5661
5662         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5663         Be a bit smarter when seeking, like, don't try to do a seek when it's
5664         not needed. This avoids errors when the file is not seekable.
5665         Fixes #499771.
5666
5667 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5668
5669         * docs/gst/gstreamer-docs.sgml:
5670         * docs/gst/gstreamer-sections.txt:
5671         * docs/gst/gstreamer.types.in:
5672         * gst/Makefile.am:
5673         * gst/gst.h:
5674         * gst/gstpreset.c:
5675         * gst/gstpreset.h:
5676         * plugins/elements/gstqueue.c:
5677           Due to popular request remove preset interface again. :-(.
5678
5679 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5680
5681         * tools/gst-inspect.c:
5682           Print 'default value' for enums and flags too.
5683
5684 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5685
5686         * docs/random/ensonic/profiling.txt:
5687           More ideas.
5688
5689         * gst/gstbin.c:
5690           Fix typo and give better log output.
5691
5692         * gst/gstdebugutils.c:
5693         * gst/gstdebugutils.h:
5694           More ideas, make graphs a bit smaller and fix param name in macro.
5695
5696 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5697
5698         * gst/gstpreset.c:
5699           Try harder to use the return value from fgets().
5700
5701 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5702
5703         * gst/gstpreset.c:
5704           For theses two fgets we handle the error below.
5705
5706 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5707
5708         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5709         Only send upstream events upstream. Fixes #498746.
5710
5711 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5712
5713         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5714
5715         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5716         (gst_identity_init), (gst_identity_transform_ip),
5717         (gst_identity_set_property), (gst_identity_get_property):
5718         * plugins/elements/gstidentity.h:
5719         Add property to disable handoff signal emission. Fixes #498694.
5720         API: GstIdentity::signal-handoffs
5721
5722 2007-11-21  Julien Moutte  <julien@fluendo.com>
5723
5724         * docs/faq/gst-uninstalled: Yet another missing library for the
5725         uninstalled script (fft)
5726
5727 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5728
5729         * docs/faq/developing.xml:
5730         Add a question about how to submit new translations.
5731
5732         * docs/random/release:
5733         Update the contact email address for the Translation Project
5734
5735         * plugins/elements/gstfdsrc.c:
5736         The parent_class for fdsrc is pushsrc, not GstElement.
5737
5738 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5739
5740         * gst/gstpreset.c:
5741           Plug a leak and fix saving.
5742
5743 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5744
5745         * docs/gst/gstreamer-sections.txt:
5746         Add new gst_preset__get_property_names() function to the docs
5747         to fix the build.
5748
5749 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5750
5751         * gst/gstpreset.c:
5752         * gst/gstpreset.h:
5753           Change _get_preset_names API to return a strv with copies. Add
5754           _get_property_names to allow implementations to filter and provide
5755           good default implementation.
5756
5757 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5758
5759         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5760         script (sdp).
5761
5762 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5763
5764         * gst/gstpreset.c:
5765           More cleanups, docs, and TODOs from comments that now slowly come in.
5766
5767 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5768
5769         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5770         search path.
5771
5772 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5773
5774         * gst/gstpreset.c:
5775           Fix bogus warning and make the property type specific code more
5776           similar.
5777
5778 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5779
5780         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5781         it build on OS X.
5782
5783 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5784
5785         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5786         (gst_bin_add_func), (gst_bin_remove_func),
5787         (gst_bin_change_state_func), (gst_bin_continue_func):
5788         Change email, cleanups add some more debug and comments.
5789         Also set bus and clock on new elements when the pipeline was in error.
5790
5791 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5792
5793         * gst/gstbin.c:
5794         * gst/gstdebugutils.c:
5795           Fix build with --disable-gst-debug. Fixes #497859.
5796           Spotted by Sameer Naik.
5797
5798 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5799
5800         * gst/gstevent.c:
5801           Little documentation improvment.
5802
5803         * gst/gstpreset.c:
5804           More TODO cleanups. Remove c++ comments.
5805
5806         * libs/gst/controller/gstcontroller.c:
5807           Add TODO and use quark from static string.
5808
5809         * tests/check/gst/gstmessage.c:
5810         * tests/check/gst/gststructure.c:
5811           Use quark from static string.
5812
5813 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5814
5815         * gst/gstpreset.c:
5816           Add some comments and TODOs.
5817
5818         * gst/gstpreset.h:
5819           Add padding for future changes.
5820
5821         * plugins/elements/gstqueue.c:
5822           Implement the iface.    
5823
5824 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5825
5826         * docs/gst/gstreamer-docs.sgml:
5827         * docs/gst/gstreamer-sections.txt:
5828         * docs/gst/gstreamer.types.in:
5829         * gst/Makefile.am:
5830         * gst/gst.h:
5831         * gst/gstpreset.c:
5832         * gst/gstpreset.h:
5833           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5834
5835 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5836
5837         * configure.ac:
5838
5839         Back to CVS
5840
5841 === release 0.10.15 ===
5842
5843 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5844
5845         * configure.ac:
5846           releasing 0.10.15, "October"
5847
5848 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5849
5850         * win32/vs6/libgstreamer.dsp:
5851         Convert line endings back to DOS.
5852
5853 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5854
5855         * docs/design/draft-tagreading.txt:
5856         * docs/random/ensonic/profiling.txt:
5857         Update fast tagreading draft and performance profiling ideas.
5858
5859 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5860
5861         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5862         Don't hold the object lock when unreffing a buffer because it could
5863         cause a deadlock when the finalize function wants to grab the object
5864         lock too. Fixes #495133.
5865
5866 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5867
5868         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5869         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5870         Also accumulate time correctly when doing reverse playback. Fixes
5871         #488201,
5872         When converting to running and stream time, use default values for
5873         start/stop/time/accum when comparing different formats. Fixes #494245.
5874
5875         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5876         Do running/stream time in TIME format.
5877
5878         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5879         (gst_segment_suite):
5880         2 new unit tests for segment accumulation.
5881
5882 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5883
5884         * gst/gst.c: (init_pre):
5885         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5886           (_gst_debug_bin_to_dot_file):
5887           Move getenv() back into gst_init, so everyone can live happily
5888           ever after. Make sure the symbol isn't exported though.
5889
5890 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5891
5892         Patch by: Sebastien Moutte  <sebastien moutte net>
5893
5894         * win32/common/gstenumtypes.c:
5895         * win32/common/gstenumtypes.h:
5896           Update enum types.
5897
5898         * win32/vs6/libgstreamer.dsp:
5899           Update vs6 project files (#494343).
5900
5901 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5902
5903         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5904         (gst_base_src_perform_seek), (gst_base_src_default_event),
5905         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5906         (gst_base_src_activate_pull):
5907         Unify flushing code, remove some old unlock code that is no longer used.
5908         Take the streaming lock when seeking to avoid races. Fixes #492729.
5909         Added some more comments.
5910
5911 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5912
5913         * gst/gst.c: (_gst_disable_segtrap):
5914           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5915           we can use gst_segtrap_is_enabled() there now that we have that API.
5916           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5917           to do the getenv here (and export the variable).
5918
5919         * gst/gstdebugutils.c: (debug_dump_element),
5920           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5921           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5922
5923         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5924           (gst_debug_log_default):
5925           Rename _gst_info_start_time to priv_gst_info_start_time so it
5926           doesn't get exported (was never in any header).
5927
5928         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5929           (gst_plugin_loading_mutex):
5930           Make static mutex gst_plugin_loading_mutex really static (was never
5931           in any header), and use gst_segtrap_is_enabled() instead of
5932           _gst_disable_segtrap.
5933
5934         * gst/gsttrace.c: (_gst_trace_default):
5935           Make local _gst_trace_default static (was never in any header).
5936
5937 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5938
5939         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5940
5941         * win32/common/libgstbase.def:
5942         * win32/common/libgstcontroller.def:
5943         * win32/common/libgstdataprotocol.def:
5944         * win32/common/libgstnet.def:
5945         * win32/common/libgstreamer.def:
5946           Add more missing symbols, remove some duplicates, and sort
5947           as the 'sort' command sorts it (partially fixes #493983).
5948
5949 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5950
5951         * gst/gstelement.c: (gst_element_set_state_func):
5952         Only change the state cookie if a different state was set on the
5953         element. See #492729.
5954
5955 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5956
5957         * gst/gstvalue.c:
5958           Remove unused and uninitialised type variables that were still
5959           exported for some reason (they were never in any header files
5960           though).
5961
5962 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5963
5964         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5965         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5966         (gst_base_sink_event), (gst_base_sink_get_position_last),
5967         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5968         (gst_base_sink_change_state):
5969         Don't try to report a 0 position when we don't know, return -1 and FALSE
5970         instead. This mostly happens when we are prerolling.
5971         Make sure we can report the right position before we post the ASYNC_DONE
5972         message so that a message handler can query position without races.
5973
5974         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5975         (async_done_handoff), (async_done_func), (send_buffer),
5976         (async_done_eos_func), (gst_sinks_suite):
5977         Add two tests for the above.
5978
5979 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5980
5981         * MAINTAINERS:
5982         Update with new email address.
5983
5984         * docs/design/part-TODO.txt:
5985         Add some more info about future pad-block and negotiation changes.
5986
5987         * docs/design/part-buffering.txt:
5988         Add some ideas about buffering reporting.
5989
5990 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5991
5992         * tests/check/gst/gstobject.c:
5993         Disable silly racy test that always fails on this combination of CPU
5994         and kernel.
5995
5996 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5997
5998         Patch by: Murray Cumming  <murrayc@murrayc.com>
5999
6000         * gst/gstobject.c:
6001           Corrected the registration of the parent-set and parent-unset
6002           signals: The parameter is a GstObject, not a GObject (#493134).
6003
6004 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6005
6006         * gst/gst_private.h:
6007         * gst/gstbuffer.h:
6008         * gst/gstevent.h:
6009         * gst/gstformat.h:
6010         * gst/gstmessage.h:
6011         * gst/gstplugin.h:
6012         * gst/gstquery.h:
6013         * gst/gsttaglist.h:
6014         * gst/gstvalue.h:
6015           Move declaration of private _gst_foo_initialize() functions into
6016           our private header file where they should have been all along.
6017
6018 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6019
6020         * docs/plugins/gstreamer-plugins-sections.txt:
6021         * gst/gstdebugutils.h:
6022         * gst/gstxml.h:
6023         * plugins/elements/gstqueue.c:
6024           gtk-doc fixes; trailing-comma-in-enum fix.
6025
6026 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6027
6028         * gst/gst.c: (gst_deinit):
6029           Clean up on deinit (not the external ones though, doesn't seem to be
6030           needed for some reason).
6031
6032 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6033
6034         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6035           Remove __declspec(dllimport) for MSVC that was copied over into core
6036           from a plugin, obviously without ever having been tested (note the
6037           single underscore in _declspec in the initial commit), and that doesn't
6038           really make sense.  See #492077.
6039
6040 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6041
6042         * gst/gst.c: (init_post):
6043         * gst/gstevent.c: (_gst_event_initialize):
6044         * gst/gstquery.c: (_gst_query_initialize):
6045         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6046           g_type_class_ref() other types as well, see #349410 and #64764.
6047
6048         * gst/gstbuffer.c: (_gst_buffer_initialize):
6049         * gst/gstmessage.c: (_gst_message_initialize):
6050           Simplify existing g_type_class_ref().
6051
6052 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6053
6054         * gst/gstformat.c: (_gst_format_initialize):
6055           g_type_class_ref() our GstFormat type to make sure we avoid the
6056           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6057           bug #64764. Should fix intermittent tee unit test failures (#474823).
6058
6059 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6060
6061         * tests/check/elements/tee.c: (test_num_buffers):
6062           Simplify, simplify, simplify - or not.  Rewrite unit test
6063           not to use gst_parse_launch(); allow N sub-streams. Increasing
6064           the number of sub-streams seems to reproduce #474823 more easily.
6065
6066 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6067
6068         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6069
6070         * gst/gsttrace.c:
6071         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6072         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6073         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6074           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6075           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6076           so use _pipe() directly (#492077).
6077
6078         * win32/common/dirent.c: (_treaddir):
6079           Add a couple of casts to make it build without warnings with MSVC.
6080
6081         * win32/common/libgstreamer.def:
6082           Add some more symbols that need to be exported.
6083
6084 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6085
6086         * tests/examples/metadata/read-metadata.c: (message_loop):
6087           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6088           arriving in a second or third tag message are added to
6089           the tag list as well.
6090
6091 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6092
6093         * libs/gst/base/gstbasesrc.c:
6094           Its "Since:" and not "@Since:". And remove an superflous cast.
6095
6096 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6097
6098         * docs/libs/gstreamer-libs-sections.txt:
6099         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6100         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6101         (gst_base_sink_get_property), (gst_base_sink_render_object),
6102         (gst_base_sink_preroll_object),
6103         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6104         (gst_base_sink_change_state):
6105         * libs/gst/base/gstbasesink.h:
6106         Add a new last-buffer property that contains the last buffer used in
6107         basesink for preroll or rendering. useful for making snapshots.
6108         API: gst_base_sink_get_last_buffer()
6109         API: GstBaseSink::last-buffer
6110
6111 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6112
6113         * docs/gst/running.xml:
6114         * gst/gst.c:
6115         * gst/gstdebugutils.c:
6116         * gst/gstdebugutils.h:
6117         * tools/gst-launch.c:
6118           Improve bin graph dumping, by using the envvar to specify a path.
6119           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6120
6121 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6122
6123         * plugins/elements/gsttypefindelement.c:
6124           (gst_type_find_element_handle_event),
6125           (gst_type_find_element_activate):
6126           Post special error message if we can't determine the type of a stream
6127           because it's empty.
6128
6129 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6130
6131         * docs/gst/running.xml:
6132         * gst/gstdebugutils.c:
6133           Document new env-var. Add one log-line after dumpng a graph.
6134
6135 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6136
6137         * configure.ac:
6138           Ugly hack to put the (recently removed and non-portable, apparently)
6139           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6140           GNU ld, because without that 'make check' fails miserably on my debian
6141           stable box.  Someone with more knowledge of linker intricacies and
6142           portability issues than me fix this properly please.
6143
6144 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6145
6146         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6147         Reset last seen position after flushing so that we don't report the old
6148         position anymore.
6149
6150 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6151
6152         * gst/gstelementfactory.c: (gst_element_register):
6153         * gst/gsturi.h:
6154         Patch from Alessandro Decina adding get_type_full and
6155         get_protocols_full private vfuncs to the URIHandler interface
6156         to allow bindings to support creating URI handlers. 
6157         Partially fixes: #339279
6158         API: GstURIHandlerInterface::get_type_full
6159         API: GstURIHandlerInterface::get_protocols_full
6160
6161 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6162
6163         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6164         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6165         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6166         Make it so that pads are considered linked until a buffer is pushed
6167         and discovered otherwise. This avoids problems with decodebin2 hanging
6168         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6169         case.
6170
6171         Make sure we lock the multiqueue when updating the max-size properties.
6172         
6173         Fix a crash on Solaris in a debug statement in get_request_pad that
6174         passes a NULL string to GST_DEBUG. 
6175
6176         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6177         (run_output_order_test):
6178         Fix the test to allow the first buffer on not-linked pads to come out
6179         of sequence while multiqueue discovers that they are not-linked.
6180
6181 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6182
6183         * configure.ac:
6184         * libs/gst/check/Makefile.am:
6185         Use a custom export symbol regex for libgstcheck, as it needs
6186         to export symbols that don't match the standard GStreamer gst_*
6187         pattern, and  --export-dynamic is not portable (only works on 
6188         GNU ld)
6189
6190         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6191         (gst_check_setup_sink_pad):
6192         Make sure to pass a message parameter to the fail_* macros.
6193
6194         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6195         Fix some compiler warnings.
6196
6197 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6198
6199         * tests/check/gst/gststructure.c: (test_to_string):
6200           Disable test that checks that white spaces are not allowed
6201           in structure names or field names, since we need to
6202           support that for now for backwards compatibility reasons.
6203
6204 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6205
6206         * docs/gst/gstreamer-sections.txt:
6207         * gst/gsttaglist.c:
6208         * gst/gsttaglist.h:
6209           API: add GST_TAG_ARTIST_SORTNAME
6210           API: add GST_TAG_ALBUM_SORTNAME
6211           API: add GST_TAG_TITLE_SORTNAME
6212           Add tag variants for sorting (#414539).
6213
6214 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6215
6216         * gst/gststructure.c:
6217           Also allow white space for names so we don't break
6218           backwards compatibility.
6219
6220 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6221
6222         * docs/design/part-TODO.txt:
6223         * docs/design/part-segments.txt:
6224         * docs/design/part-streams.txt:
6225         Small updates.
6226
6227 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6228
6229         * docs/gst/gstreamer-sections.txt:
6230          Fixed documentation from my previous commit (added new API add
6231          gst_value_set_structure(), add gst_value_get_structure() and
6232          GST_VALUE_HOLDS_STRUCTURE).
6233
6234 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6235
6236         * gst/gstdebugutils.c:
6237           Reflow code to fix uninitialized variable warning.
6238
6239 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6240
6241         * gst/gstcaps.c: (gst_caps_to_string),
6242         (gst_caps_from_string_inplace):
6243         * gst/gststructure.c: (gst_structure_get_abbrs),
6244         (gst_structure_to_string), (gst_structure_from_string):
6245         * gst/gstvalue.c: (gst_value_set_structure),
6246         (gst_value_get_structure), (gst_value_serialize_structure),
6247         (gst_value_deserialize_structure), (_gst_value_initialize):
6248         * gst/gstvalue.h:
6249         * tests/check/gst/gststructure.c: (GST_START_TEST),
6250         (gst_structure_suite):
6251         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6252          Added GstStructure to gst_value_table and its related functions.
6253          Changed gst_structure_to_string to print ';' in the end.
6254          Changed gst_caps_to_string to not print ';' beteween its
6255          fields (structures) anymore and remove the lastes ';' from latest
6256          structure. Now it is possible to have nested structures.
6257          In addition, backward compatibilty is assured by accepting '\0' as
6258          end delimiter. Fixes: #487969.
6259          API: add gst_value_set_structure()
6260          API: add gst_value_get_structure()
6261          API: add GST_VALUE_HOLDS_STRUCTURE
6262
6263 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6264
6265         * gst/gstbus.c:
6266           When no GSource callback has been set up, tell developer
6267           to use a function that actually exists.
6268
6269 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6270
6271         * docs/gst/gstreamer-sections.txt:
6272         * gst/Makefile.am:
6273         * gst/gst.c:
6274         * gst/gst.h:
6275         * gst/gstdebugutils.c:
6276         * gst/gstdebugutils.h:
6277         * gst/gstinfo.c:
6278         * gst/gstinfo.h:
6279         * tools/gst-launch.c:
6280           Allow dumping pipelines as dot graphs. Fixes #456573.
6281
6282 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6283
6284         * gst/gststructure.c:
6285           Allow '+' as well, it can be part of media or mime types
6286           such as image/svg+xml.
6287
6288 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6289
6290         * docs/gst/gstreamer-sections.txt:
6291         * gst/gstbus.c:
6292         * gst/gstbus.h:
6293           API: add gst_bus_pop_filtered
6294           API: add gst_bus_timed_pop_filtered
6295           Two new functions for waiting for specific message types on the
6296           bus for a specified amount of time without iterating any main
6297           loops or main contexts.
6298
6299         * tests/check/gst/gstbus.c:
6300           Some tests for the new functions.
6301
6302 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6303
6304         * docs/libs/gstreamer-libs-sections.txt:
6305           Make gtk-doc ignore stuff it should ignore.
6306
6307 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6308
6309         * libs/gst/check/gstcheck.c:
6310         * libs/gst/check/gstcheck.h:
6311           Allow runtime selection of unit tests to run via the GST_CHECKS
6312           environment variable (test case function names, comma-separated).
6313
6314 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6315
6316         * gst/gststructure.c:
6317         * tests/check/gst/gststructure.c:
6318           Revert serialisation change and constrain structure-names after
6319           consensus on irc. Update api documentation to reflect the change.
6320
6321 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6322
6323         * gst/gststructure.c:
6324           Improve serialization and fix tests.
6325
6326         * tests/check/gst/gststructure.c:
6327           Add another test that covers why I actually did the previous structure
6328           change.
6329
6330 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6331
6332         * tools/gst-inspect.c: (print_element_info):
6333         Don't crash when inspecting an element.
6334
6335 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6336
6337         * tests/check/gst/gststructure.c:
6338           Add unit test for escaping of structure name when serialising
6339           and deserialising to/from strings.
6340
6341 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6342
6343         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6344         (gst_single_queue_new):
6345         * plugins/elements/gstqueue.c: (gst_queue_init),
6346         (gst_queue_push_one):
6347         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6348         upstream is tricked into thinking it can suggest a format downstream
6349         while downstream does not support that format. The real problem is that
6350         core calls acceptcaps when pushing a buffer with new caps, for which we
6351         do a little workaround by setting the caps on the srcpad ourselves
6352         before pushing the buffer (until this is figured out). Fixes #486758.
6353
6354 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6355
6356         * gst/gststructure.c:
6357         * gst/gstvalue.c:
6358           Add some more comments and debug output. Quote structure name to fix
6359           deserialisation of some strings.
6360
6361 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6362
6363         * gst/gstbuffer.h:
6364           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6365           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6366
6367 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6368
6369         * tools/gst-inspect.c:
6370           Save approx. 400 1 byte allocs when printing. Use API to acces element
6371           details.
6372
6373         * tools/gst-run.c:
6374           Avoid a strdup.
6375
6376         * tools/gst-xmlinspect.c:
6377           Use API to acces element details.
6378
6379 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6380
6381         * gst/gstinfo.c:
6382           Fix some spelling errors.
6383
6384 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6385
6386         * gst/gstbin.c: (bin_handle_async_done):
6387         Correctly set the next state if all of our async children commited their
6388         state. This makes sure we can actually cancel the state change in
6389         progress. Fixes a regression in Rhythmbox when seeking.
6390
6391 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6392
6393         * gst/gstbin.c:
6394           Don't shadow local variable.
6395
6396         * gst/gstinfo.c:
6397           Don't shadow global function name.
6398
6399 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6400
6401         * gst/gstelementfactory.c:
6402         * gst/gstpluginfeature.c:
6403         * gst/gstpluginfeature.h:
6404         * gst/gstregistrybinary.c:
6405         * gst/gstregistryxml.c:
6406         * gst/gsttypefind.c:
6407           Use already-interned string for the private GstPluginFeature
6408           plugin_name field.
6409
6410 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6411
6412         * docs/libs/gstreamer-libs-sections.txt:
6413           Add new API to docs; fixes the build.
6414
6415 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6416         
6417         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6418
6419         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6420         (gst_base_sink_event):
6421         * libs/gst/base/gstbasesink.h:
6422         Add function to wait for EOS, subclasses can use this to correctly wait
6423         for devices to drain before performing the EOS logic. Fixes #485343.
6424         API: gst_base_sink_wait_eos()
6425
6426 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6427
6428         * gst/gstplugin.h:
6429           Cast description string constants in GST_PLUGIN_DEFINE macros
6430           to a (gchar*) to make C++ code using these macros compile
6431           without warning with g++-4.2 (see #462737).  Even if slightly
6432           ugly, this seems preferable to putting the description strings
6433           into the GLib quark table or making the structure member a
6434           const gchar * and doing casts in core code that allocs and
6435           frees these strings, or requiring a cast in the C++ code.
6436
6437 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6438
6439         * gst/gstinfo.h:
6440           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6441           to print the entire class/function signature into the log
6442           file for C++ code.  This only affects C++ code, for C code
6443           everything remains the same.
6444
6445 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6446
6447         * gst/gstbin.c: (remove_from_queue):
6448         Work around a problem with pipelines containing (semi)loops until a
6449         proper, more complicated solution is ready. See #475455.
6450
6451 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6452
6453         * gst/gstplugin.c:
6454         * gst/gstplugin.h:
6455         * gst/gstregistrybinary.c:
6456         * gst/gstregistryxml.c:
6457           Put more strings into the GLib quark table. No need to keep
6458           a hundred-something copies of identical version strings,
6459           license strings, package name strings and package origin
6460           strings around. 
6461
6462 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6463
6464         * docs/manual/advanced-dataaccess.xml:
6465           Don't imply that it's okay to unconditionally change
6466           buffer data or buffer metadata in a pad probe callback,
6467           and a bunch of other comments. Fixes #430031.
6468
6469 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6470
6471         * win32/common/gstenumtypes.c:
6472         * win32/common/gstenumtypes.h:
6473         * win32/common/gstversion.h:
6474           Update generated files.
6475
6476 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6477
6478         * docs/manual/advanced-autoplugging.xml:
6479           Prefix section with broken code with a warning (see #342432).
6480
6481 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6482
6483         * docs/manual/appendix-integration.xml:
6484         * docs/manual/basics-init.xml:
6485           Call g_thread_init() before g_option_context_new() to
6486           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6487
6488 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6489
6490         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6491         (gst_base_sink_queue_object_unlocked),
6492         (gst_base_sink_queue_object), (gst_base_sink_event),
6493         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6494         When we received EOS and are waiting for when to post the EOS message,
6495         our state is prerolled and we should not return ASYNC.
6496         Reorganize some code paths to implement this behavior.
6497
6498         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6499         (gst_sinks_suite):
6500         Add unit test to verify above EOS fix.
6501
6502 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6503
6504         * plugins/elements/gsttypefindelement.c:
6505         (gst_type_find_element_have_type), (gst_type_find_element_init),
6506         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6507         Move detecting the input caps of the sinkpad to the setcaps function.
6508         This allows us to update the output caps when we receive new input caps
6509         instead of always using the first detected caps.
6510
6511 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6512
6513         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6514         (gst_base_sink_get_position):
6515         Don't try to preroll non-async elements after a flush.
6516         Subtract latency form clock times when reporting position.
6517
6518 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6519
6520         * gst/gstpad.c: (gst_pad_pause_task):
6521         * gst/gstutils.c:
6522         Small comment and documentation update.
6523
6524 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6525
6526         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6527         (gst_base_src_set_live), (gst_base_src_is_live),
6528         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6529         (gst_base_src_default_event), (gst_base_src_wait),
6530         (gst_base_src_do_sync), (gst_base_src_get_range),
6531         (gst_base_src_pad_get_range), (gst_base_src_loop),
6532         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6533         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6534         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6535         (gst_base_src_change_state):
6536         Rework the locking of basesrc in a similar fashion to basesink. We
6537         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6538         us to handle live sources and semi live ones much better.
6539         Simplify flushing.
6540         Fix unlocking when seeking, shutting down and pausing in live sources.
6541
6542 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6543
6544         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6545         Fix compilation again.
6546
6547 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6548
6549         * gst/gstelement.c:
6550           Use meaningful categories for the logs to clean the default one.
6551
6552 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6553
6554         * tests/check/pipelines/cleanup.c:
6555           Print message name and not just number.
6556
6557 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6558
6559         * docs/design/draft-tagreading.txt:
6560           Add some more thoughts.
6561
6562 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6563
6564         * tests/check/pipelines/simple-launch-lines.c:
6565           Print message name and not just number.
6566
6567 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6568
6569         * libs/gst/base/gsttypefindhelper.c:
6570           Speedup typefinding. This is work in progress (see #459862).
6571
6572 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6573
6574         * gst/gstplugin.c:
6575           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6576           Spotted by Josep Torra Valles <josep@fluendo.com>.
6577
6578 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6579
6580         * gst/gstclock.h:
6581           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6582           field has moved to GstObject.
6583
6584 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6585
6586         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6587         (gst_base_src_get_range), (gst_base_src_change_state):
6588         Call unlock for live sources so that they can't get stuck in _create and
6589         produce a buffer before they are set back to PLAYING.
6590
6591 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6592
6593         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6594         (gst_queue_locked_dequeue):
6595         Comment the segment-related code... in the PROPER function.
6596         See #482147 and my commit from yesterday.
6597
6598 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6599
6600         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6601         Also initialize the counter that calculates the first timestamp on a
6602         buffer correctly for non-live sources.
6603
6604 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6605
6606         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6607         Disable code that's breaking the current-time-level reporting.
6608         See #482147
6609
6610 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6611
6612         * docs/gst/gstreamer-sections.txt:
6613         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6614         as they shouldn't show up. Fixes the docs build.
6615
6616 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6617         
6618         * gst/gstinfo.h:
6619         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6620         Define M_PI which is used in files which are including gstinfo.h. 
6621         VS6 includes doesn't define it.
6622         * win32/common/libgstbase.def:
6623         * win32/common/libgstcontroller.def:
6624         * win32/common/libgstreamer.def:
6625         Add new exported functions and variables.
6626         * win32/vs6/libgstcontroller.dsp:
6627         * win32/vs6/libgstreamer.dsp:
6628         Update the list of files to build.
6629         
6630 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6631
6632         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6633
6634         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6635         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6636         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6637         Improve debugging. Fixes #480858.
6638
6639 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6640
6641         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6642
6643         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6644         First patch of code cleanups, use the macros and right arguments in the
6645         macros to signal and lock the queue. See #480858.
6646
6647 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6648
6649         * gst/gstbus.c: (poll_func):
6650         Improve debugging when dealing with _poll().
6651
6652 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6653
6654         * gst/gstregistryxml.c:
6655           Fix memory leak I introduced a few days ago.
6656
6657 2007-09-26  Michael Smith <msmith@fluendo.com>
6658
6659         * gst/gstbuffer.c: (gst_buffer_finalize):
6660           Make it once again possible to free GstBuffers in the default
6661           build.
6662           The poisoning scribbles on parts of the miniobject we need in
6663           order to free it.
6664           Fixes #480341
6665
6666 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6667
6668         * docs/gst/gstreamer-sections.txt:
6669         * gst/gsttaglist.c:
6670         * gst/gsttaglist.h:
6671         API: add GST_TAG_COMPOSER, fixes #459809.
6672
6673 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6674
6675         * gst/gstplugin.c:
6676         * gst/gstplugin.h:
6677         Add the 3-clause BSD license and the MIT/X11 license to the license
6678         list. Fixes #479784.
6679
6680 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6681
6682         * docs/faq/getting.xml:
6683           Add Q+A about different GStreamer versions (#364056).
6684
6685 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6686
6687         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6688         (gst_base_sink_event), (gst_base_sink_change_state):
6689         Return correct gboolean from query function.
6690
6691 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6692
6693         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6694         (gst_base_sink_event), (gst_base_sink_query),
6695         (gst_base_sink_change_state):
6696         Simplify latency query.
6697         When not synchronizing, we can report latency without querying the peer
6698         element.
6699
6700 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6701
6702         * gst/gstobject.h:
6703         * gst/gstvalue.c:
6704         Fix small typos in the docs.
6705
6706 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6707
6708         * docs/design/draft-latency.txt:
6709         * docs/design/draft-push-pull.txt:
6710         * docs/design/draft-tagreading.txt:
6711         * docs/design/part-MT-refcounting.txt:
6712         * docs/design/part-activation.txt:
6713         * docs/design/part-block.txt:
6714         * docs/design/part-element-source.txt:
6715         * docs/design/part-events.txt:
6716         * docs/design/part-gstbin.txt:
6717         * docs/design/part-gstelement.txt:
6718         * docs/design/part-gstobject.txt:
6719         * docs/design/part-gstpipeline.txt:
6720         * docs/design/part-messages.txt:
6721         * docs/design/part-preroll.txt:
6722         * docs/design/part-push-pull.txt:
6723         * docs/design/part-qos.txt:
6724         * docs/design/part-query.txt:
6725         * docs/design/part-scheduling.txt:
6726         * docs/design/part-seeking.txt:
6727         * docs/design/part-segments.txt:
6728         * docs/design/part-states.txt:
6729         Documentation updates and typo fixes.
6730
6731 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6732
6733         * plugins/elements/gstfakesink.c:
6734           Add some debug text to error message to indicate that
6735           we errored out on request.
6736
6737         * tools/gst-launch.c:
6738           When the state change to PLAYING fails, check for an
6739           error message on the bus and print it.
6740
6741 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6742
6743         translated by: Jorge González González <aloriel@gmail.com>
6744
6745         * po/LINGUAS:
6746         * po/es.po:
6747           Added Spanish translation.
6748
6749 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6750
6751         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6752         Fix printf arguments.
6753
6754 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6755
6756         * tests/check/generic/states.c:
6757           Improved state change unit test.
6758
6759 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6760
6761         * gst/gstbin.h:
6762           Move priv to the right place.
6763
6764         * gst/gstsystemclock.c:
6765           Add FIXME: and improve log.
6766
6767         * tests/check/Makefile.am:
6768         * tests/examples/manual/Makefile.am:
6769           Work with all types of registries.
6770
6771 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6772
6773         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6774         Don't unref the event after pushing it. Fixes #478401.
6775
6776 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6777
6778         * .cvsignore:
6779         * tests/examples/manual/.cvsignore:
6780           Ignore registries in any format.
6781
6782 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6783
6784         * gst/glib-compat-private.h:
6785           Add compatibility macro for g_intern_string() for
6786           GLib-2.8 (any reason we can't just bump the
6787           requirement to at least 2.10?)
6788
6789         * gst/gstpadtemplate.h:
6790         * gst/gstelementfactory.c:
6791         * gst/gstregistryxml.c:
6792         * gst/gstregistrybinary.c:
6793           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6794           up the internal code accordingly.  This shouldn't be a problem, since
6795           there is no reason external code could ever assume the string in such
6796           a structure is dynamically allocated unless it did that itself;  the
6797           use of g_strdup() is private to element factories.  The new code also
6798           saves some memory by putting pad template name strings into the GLib
6799           quark table instead of allocating them dynamically.
6800           Declaring this field constant fixes warnings with g++-4.2 when using
6801           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6802
6803 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6804
6805         * gst/gstelementfactory.c:
6806           Release static caps. Fixes #475723.
6807
6808 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6809
6810         * gst/gstinfo.c:
6811         * gst/gstinfo.h:
6812           Make some internal API take const gchar * instead of just
6813           gchar * to avoid compiler warnings with g++-4.2.2 when
6814           passing string constants (partially fixes #478092).
6815
6816 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6817
6818         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6819         A latency query fails when one of the sinks fail.
6820
6821         * gst/gstelement.c: (gst_element_set_base_time):
6822         Improve debugging.
6823
6824 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6825
6826         * gst/gstbin.c: (gst_bin_continue_func):
6827         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6828         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6829         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6830
6831         Fix minor compilation warnings shown with Forte.
6832
6833 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6834
6835         * plugins/elements/gstqueue.c: (apply_buffer),
6836         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6837         Measure queue level based on the diff between head and tail timestamps
6838         even when pushing the first buffer.
6839
6840 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6841
6842         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6843         (gst_base_sink_event), (gst_base_sink_change_state):
6844         Sinks that don't preroll can always be queried for the latency.
6845         Don't post ASYNC start when we are not async.
6846
6847 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6848
6849         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6850         (gst_queue_handle_sink_event), (gst_queue_chain),
6851         (gst_queue_push_one), (gst_queue_handle_src_query),
6852         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6853         * plugins/elements/gstqueue.h:
6854         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6855         push more buffers but allow pushing of EOS and NEWSEGMENT.
6856         Add some more debug info here and there. Fixes #476514.
6857
6858 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6859
6860         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6861         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6862         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6863         (gst_base_sink_set_flushing), (gst_base_sink_query),
6864         (gst_base_sink_change_state):
6865         Latency query is allowed after we are prerolled. Introduce a new flag
6866         for this and stop abusing other variables.
6867
6868 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6869
6870         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6871         Push OOB events downstream when we get them in send_event. This allows
6872         the application to insert events in the pipeline.
6873         Add some more comments.
6874
6875 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6876
6877         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6878         (do_bin_latency), (gst_bin_change_state_func):
6879         * gst/gstpipeline.c: (gst_pipeline_change_state):
6880         Move latency query from GstPipeline to GstBin so that we can also
6881         use it when async-handling is enabled on bins.
6882
6883 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6884
6885         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6886         (gst_base_src_do_sync), (gst_base_src_change_state):
6887         Update docs.
6888         Clean up the timestamping and syncing code for pseudo live sources.
6889
6890 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6891
6892         Patch by: Steve Fink  <sphink gmail com>
6893
6894         * docs/manual/appendix-checklist.xml:
6895           Mention less -R switch in the section about debug output (#474055).
6896
6897 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6898
6899         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6900         Queue can latency to the pipeline up to the configured max size in time.
6901         Report this fact in the latency query.
6902
6903 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6904
6905         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6906
6907         * libs/gst/controller/gstinterpolation.c:
6908         * libs/gst/controller/gstlfocontrolsource.c:
6909         Use gst_guint64_to_gdouble() when converting from a uint64 or
6910         GstClockTime to double to fix the build on win32. Fixes #474371.
6911
6912 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6913
6914         * gst/gstbuffer.c: (gst_buffer_finalize):
6915         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6916         When finalizing a buffer the complete struct is filled with 0xff,
6917         thus making a use of the buffer after the final unref impossible.
6918
6919 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6920
6921         * tests/check/libs/controller.c: (GST_START_TEST):
6922         Use fail_unless_equals_int(a, b) instead of
6923         fail_unless_equals (a == b) to get better output on failures.
6924
6925 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6926
6927         * tests/check/gst/gsturi.c:
6928           Also check for the other file URI variant on win32.
6929
6930 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6931
6932         * gst/gsturi.c: (gst_uri_get_location):
6933           If there's no hostname, we want to return 'c:/foo/bar.txt'
6934           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6935
6936         * tests/check/gst/gsturi.c:
6937           Unit test for the above and a few more things.
6938
6939 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6940
6941         * docs/design/part-live-source.txt:
6942         Add docs on how live sources should timestamp.
6943
6944         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6945         Add some more debug info.
6946         For subclasses that are live and like to sync, add aditional startup
6947         latency to sync time and timestamps so that we timstamp according to the
6948         design doc.
6949
6950 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6951
6952         * gst/gstbuffer.c:
6953           Also do a g_type_class_ref() for the subbuffer type in
6954           the init function.
6955
6956 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6957
6958         * docs/gst/gstreamer-sections.txt:
6959         * gst/gstpad.c: (gst_pad_peer_query):
6960         * gst/gstpad.h:
6961         Add function to perform a query on the peer of a pad.
6962         API: gst_pad_peer_query()
6963
6964 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6965
6966         * tests/check/gst/gstsystemclock.c:
6967           Cleanup the test a little (use gst-logging and not g_message). Improve
6968           test to check if a wait reached the target.
6969
6970 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6971
6972         * docs/libs/gstreamer-libs-sections.txt:
6973           Add new API to docs and fix the build.
6974
6975 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6976
6977         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6978         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6979         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6980         (gst_base_src_get_property), (gst_base_src_do_sync):
6981         * libs/gst/base/gstbasesrc.h:
6982         Add property to make the basesrc timestamp buffers based on the current
6983         running time.
6984         API: GstBaseSrc::do-timestamp
6985         API: gst_base_src_set_do_timestamp()
6986         API: gst_base_src_get_do_timestamp()
6987
6988 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6989
6990         * docs/random/release:
6991           Really make sure translations are up-to-date before
6992           a release (#465010).
6993
6994 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6995
6996         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6997         Always destroy the timer, also in error cases.
6998
6999 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7000
7001         * docs/manual/highlevel-xml.xml:
7002         Fix XML example code. Fixes #472714.
7003
7004 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7005
7006         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7007         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7008         (gst_base_sink_query):
7009         Protect eos and have_preroll with the OBJECT lock so we don't need to
7010         take the PREROLL lock when querying the latency. Fixes #473846.
7011
7012 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7013
7014         * gst/gstelement.c:
7015           Give some log-messages a category.
7016
7017 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7018
7019         * gst/gststructure.c:
7020         (gst_structure_fixate_field_nearest_fraction):
7021         Fix fraction list fixation code. Take the fraction with the smallest
7022         difference with the target instead of the first one in the list.
7023
7024         * tests/check/gst/gststructure.c: (GST_START_TEST),
7025         (gst_structure_suite):
7026         Added test to verify correct fraction list fixation behaviour.
7027
7028 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7029
7030         * win32/common/libgstreamer.def:
7031           Export gst_bus_add_signal_watch too.
7032
7033 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7034
7035         * docs/libs/gstreamer-libs-sections.txt:
7036         Add new methods to docs.
7037
7038         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7039         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7040         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7041         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7042         * libs/gst/base/gstbasesink.h:
7043         Add ts-offset property to fine-tune the synchronisation.
7044         API: GstBaseSink::ts-offset property
7045         API: gst_base_sink_set_ts_offset()
7046         API: gst_base_sink_get_ts_offset()
7047
7048 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7049
7050         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7051         (gst_base_sink_init), (gst_base_sink_set_sync),
7052         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7053         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7054         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7055         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7056         (gst_base_sink_get_property), (gst_base_sink_change_state):
7057         * libs/gst/base/gstbasesink.h:
7058         Add async property to instruct the sink never to inform the parent about
7059         ASYNC state changes, update docs.
7060         Check argument with g_return_* for the public functions.
7061         API: GstBaseSink::async property
7062         API: gst_base_sink_set_async_enabled()
7063         API: gst_base_sink_is_async_enabled()
7064
7065 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7066
7067         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7068         Improve debugging.
7069
7070         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7071         (gst_base_src_default_query), (gst_base_src_wait),
7072         (gst_base_src_do_sync), (gst_base_src_change_state):
7073         Rearrange some code so that we can add support for measuring the 
7074         startup latency.
7075
7076 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7077
7078         * docs/random/ensonic/dynlink.txt:
7079           More thoughs on this.
7080
7081         * plugins/elements/gstcapsfilter.c:
7082           Add bugzilla ticket number to FIXME comment.
7083
7084 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7085
7086         * docs/design/part-TODO.txt:
7087         * docs/design/part-block.txt:
7088         Update some docs.
7089
7090 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7091
7092         * gst/Makefile.am:
7093           Revert patch which uses $(gst_headers) instead of $^ because it
7094           breaks make dist.
7095
7096 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7097
7098         * tests/check/gst/gstbin.c: (GST_START_TEST):
7099           Fix leaks in the new unit test.
7100
7101 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7102
7103         * gst/gst.c:
7104           Don't use GST_INFO before the debug system is actually initialised
7105           (shouldn't do any harm, but won't print anything either, so we can
7106           just as well remove it).
7107
7108         * gst/gstinfo.h:
7109           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7110           compilers that don't support variadic macros (such as MSVC), should
7111           check for debug_level <= __gst_debug_min as well, since that's the
7112           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7113           inline helper functions. Should improve performance a bit, but also
7114           makes sure uses of GST_INFO et.al are ignored if the debugging
7115           system isn't initialised yet (instead of printing an assertion
7116           failure).
7117
7118 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7119
7120         patch by: David Nečas <yeti@physics.muni.cz>
7121
7122         * gst/Makefile.am:
7123           Replace some non portable makefile constructs.
7124
7125 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7126
7127         * common/gtk-doc-plugins.mak:
7128           Grrrrr. Don't remove the types file on make clean.
7129
7130 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7131
7132         * tools/gst-launch.1.in:
7133         Add colorspace to example pipeline. Fixes #458274.
7134
7135 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7136
7137         * docs/random/release:
7138           The release manager should run 'make download-po' before making a
7139           release to make sure translations are up-to-date.
7140
7141         * po/LINGUAS:
7142         * po/be.po:
7143         * po/pl.po:
7144         * po/rw.po:
7145           Add some new translations.
7146
7147 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7148
7149         * tools/gst-launch.c: (event_loop), (main):
7150         Don´t try to do any state management when a live pipeline posts
7151         buffering messages.
7152         Also make the buffering string translatable.
7153
7154 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7155
7156         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7157         (bin_handle_async_start), (gst_bin_handle_message_func):
7158         Improve debugging.
7159         When adding elements, insert messages into the bus of the newly added
7160         element and make sure the element is the source of the message. This
7161         allows the parent bin to intercept the message and do the
7162         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7163         messages to the app (which is not allowed).
7164         Update some docs.
7165
7166         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7167         Fix testsuite so that is does not work around messages that should not
7168         have been posted in the first place.
7169
7170 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7171
7172         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7173         (update_degree), (gst_bin_sort_iterator_next):
7174         Fix annoying bug in the sorted iterator where a sink that is not really
7175         a sink (when it has downstream links) screwed up the iterator.
7176
7177         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7178         Unit test to verify the fix.
7179
7180 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7181
7182         * gst/gstmessage.h:
7183         Add some more docs for the messages.
7184
7185         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7186         (gst_base_sink_query):
7187         Add some more debugging.
7188
7189         * tools/gst-launch.c: (event_loop):
7190         When interrupting, don't try to set pipeline to PAUSED twice.
7191
7192 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7193
7194         
7195         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7196         (bin_handle_async_start), (gst_bin_handle_message_func):
7197         Move ASYNC_START message posting to where it belongs, similar to
7198         async_done. 
7199         Don't post ASYNC_START when we are in error. 
7200         Post ASYNC_START when we added an async element to a bin.
7201
7202 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7203
7204         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7205         generation from vargs. Fixes #466595.
7206
7207 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7208
7209         * gst/gstbin.c: (gst_bin_element_set_state):
7210         Always change the state of a NO_PREROLL element even if it has ASYNC
7211         elements inside (in case of a bin).
7212
7213         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7214         Unit test for this case.
7215
7216 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7217
7218         * libs/gst/check/gstbufferstraw.c:
7219         * libs/gst/check/gstcheck.h:
7220         * libs/gst/controller/gstcontroller.c:
7221         * libs/gst/controller/gstcontrolsource.h:
7222         * libs/gst/controller/gstlfocontrolsource.h:
7223         * plugins/elements/gstcapsfilter.h:
7224         * plugins/elements/gstfdsink.h:
7225         * plugins/elements/gstfdsrc.h:
7226           Add more missing docs.
7227
7228 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7229
7230         * gst/gststructure.c:
7231         Add Since tag to docs.
7232
7233 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7234
7235         * docs/gst/gstreamer-sections.txt:
7236         * gst/gststructure.c: (gst_structure_get_uint):
7237         * gst/gststructure.h:
7238         Add function to get uint from a structure.
7239         API: gst_structure_get_uint()
7240
7241 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7242
7243         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7244         (gst_caps_intersect):
7245         Fix proper check for simple caps.
7246
7247 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7248
7249         * docs/gst/Makefile.am:
7250         * docs/libs/Makefile.am:
7251           Remove cruft and do some cleanups.
7252
7253         * docs/gst/gstreamer-docs.sgml:
7254         * docs/libs/gstreamer-libs-docs.sgml:
7255           Prepare for comming gtkdoc features (rebase against online docs).
7256
7257 2007-08-10  Michael Smith <msmith@fluendo.com>
7258
7259         * docs/gst/gstreamer-sections.txt:
7260           Add gst_registry_add_path to docs.
7261
7262 2007-08-10  Michael Smith <msmith@fluendo.com>
7263
7264         * gst/gstregistry.h:
7265           Add gst_registry_add_path, which was missing from this header.
7266
7267 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7268
7269         * libs/gst/controller/gstlfocontrolsource.c:
7270           Printf format fix.
7271
7272 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7273
7274         * libs/gst/base/gstbasesink.c:
7275           Don't send an async_start message during downwards state change if 
7276           target state is less than READY
7277
7278 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7279
7280         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7281
7282         * po/LINGUAS:
7283         * po/hu.po:
7284           Added Hungarian translation.
7285
7286 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7287
7288         * po/fi.po:
7289         * po/it.po:
7290         * po/nl.po:
7291         * po/sv.po:
7292         * po/uk.po:
7293           Updated translations.
7294
7295 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7296
7297         * libs/gst/controller/Makefile.am:
7298         Dist gstlfocontrolsourceprivate.h
7299
7300 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7301
7302         * docs/libs/gstreamer-libs.types:
7303         Don't register the enum type gst_lfo_waveform_get_type() in the
7304         .types file - only GObject derived types belong.
7305
7306 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7307
7308         Patch by: <arenevier at fdn dot fr>
7309
7310         * gst/gstbuffer.h:
7311         Remove comma from last element in enum to avoid compile errors when
7312         using -pendantic. Fixes #464366.
7313
7314 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7315
7316         * docs/design/part-TODO.txt:
7317         Add some more TODO items
7318
7319         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7320         Improve debugging.
7321
7322         * gst/gstcaps.c: (gst_caps_intersect):
7323         Optimize trivial intersection case between identical caps pointers.
7324
7325         * gst/gstelement.c: (gst_element_continue_state),
7326         (gst_element_set_state_func):
7327         * gst/gstpad.c:
7328         Fix spelling and grammar mistakes.
7329
7330 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7331
7332         * po/POTFILES.in:
7333         * po/POTFILES.skip:
7334           Update POTFILES. Fixes #461599.
7335
7336 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7337
7338         * gst/gst.c:
7339         Fix confusing typo in debug output.
7340
7341 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7342
7343         reviewed by: Stefan Kost <ensonic@users.sf.net>
7344
7345         * libs/gst/controller/Makefile.am:
7346         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7347         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7348         (gst_lfo_control_source_new),
7349         (gst_lfo_control_source_set_waveform),
7350         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7351         (gst_lfo_control_source_finalize),
7352         (gst_lfo_control_source_dispose),
7353         (gst_lfo_control_source_set_property),
7354         (gst_lfo_control_source_get_property),
7355         (gst_lfo_control_source_class_init):
7356         * libs/gst/controller/gstlfocontrolsource.h:
7357         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7358         API: Add GstLFOControlSource, a control source that gives values
7359         for specific timestamps based on several periodic waveforms.
7360         Fixes #459717.
7361
7362         * tests/check/libs/controller.c: (GST_START_TEST),
7363         (gst_controller_suite):
7364         * docs/libs/gstreamer-libs-docs.sgml:
7365         * docs/libs/gstreamer-libs-sections.txt:
7366         * docs/libs/gstreamer-libs.types:
7367         Add documentation and unit tests for GstLFOControlSource.
7368
7369 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7370
7371         * configure.ac:
7372         Back to CVS
7373
7374 === release 0.10.14 ===
7375
7376 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7377
7378         * configure.ac:
7379           releasing 0.10.14, "Breathing Vacuum"
7380
7381 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7382
7383         * gst/gstelement.c: (gst_element_class_set_details_simple):
7384         * gst/gstelement.h:
7385           Make strings passed to gst_element_class_set_details_simple()
7386           constant, as they should be (#462752).
7387
7388 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7389
7390         * gst/gstbin.c: (gst_bin_change_state_func),
7391         (bin_handle_async_done), (gst_bin_handle_message_func):
7392         Don't forget about the fact that some element went ASYNC even after a
7393         resync. This makes us post the ASYNC_DONE message correctly.
7394         Fixes #462558.
7395
7396 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7397
7398         * gst/gstregistry.c: (gst_registry_add_feature):
7399         When replacing an existing feature in the registry, make sure to
7400         continue holding a reference until we've replaced the name string
7401         within our feature hash table. Make sure to use g_hash_table_replace
7402         instead of g_hash_table_insert to ensure the new name string is used
7403         as a key instead of the old one that we're about to free.
7404         Fixes: #462085
7405
7406 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7407
7408         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7409         (gst_plugin_feature_set_name):
7410         Revert patch from #459466 until after the release and we can work
7411         out exactly what the problem is (if any).
7412
7413 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7414
7415         * docs/gst/gstreamer-sections.txt:
7416         * gst/gsttaglist.c:
7417         * gst/gsttaglist.h:
7418           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7419
7420 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7421
7422         * docs/libs/Makefile.am:
7423         Include our build-prefix libs and includes before the generic ones to
7424         avoid linking against the installed libs when we want the build-tree
7425         ones.
7426
7427 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7428
7429         Patch by: Steve Fink  <sphink gmail com>
7430
7431         * docs/pwg/building-testapp.xml:
7432           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7433           if people try to build or install the example from the plugin
7434           template against a GStreamer from package using the configure
7435           defaults.
7436
7437 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7438
7439         Patch by: Steve Fink  <sphink gmail com>
7440
7441         * tools/gst-inspect.1.in:
7442           Document --print-all and --print-plugin-auto-install-info command
7443           line options in man page.
7444
7445 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7446
7447         * docs/gst/gstreamer-sections.txt:
7448         Add docs for new api function.
7449
7450 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7451
7452         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7453         * gst/gstelementfactory.h:
7454         API: gst_element_factory_has_interface()
7455         Added method to check if an element factory implements a named
7456         interface.
7457
7458 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7459
7460         * configure.ac:
7461         * docs/gst/gstreamer.types.in:
7462           Another conditional doc check.
7463
7464         * gst/gstmessage.c:
7465         * gst/gstparamspecs.h:
7466         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7467         * gst/gstvalue.c:
7468         * gst/gstxml.h:
7469           API-doc fixes.
7470
7471 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7472
7473         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7474         (gst_registry_binary_load_feature),
7475         (gst_registry_binary_load_plugin),
7476         (gst_registry_binary_read_cache):
7477           Print error just once and with additional info.
7478
7479 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7480
7481         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7482         (helper_find_suggest), (helper_find_get_length),
7483         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7484         (gst_type_find_helper_for_buffer):
7485           Cleanup the typefindhelper code and add private doc comments.
7486
7487 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7488
7489         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7490         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7491         Fix capsfilter for cases where the caps set on capsfilter will provide
7492         additional information.
7493         Fixes #449197
7494
7495 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7496
7497         * gst/gsttypefindfactory.c:
7498           Fix docs that recommened wrong function to use.
7499
7500 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7501
7502         * tools/gst-inspect.c: (print_plugin_features):
7503           Also give media-type for typefinders in element output.
7504
7505 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7506
7507         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7508         (gst_registry_remove_features_for_plugin_unlocked),
7509         (gst_registry_add_feature), (gst_registry_remove_feature),
7510         (gst_registry_lookup_feature_locked):
7511         * gst/gstregistry.h:
7512           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7513           Fixes #459501.
7514
7515 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7516
7517         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7518         (gst_plugin_feature_set_name):
7519           Avoid double memory usage for pluginfeature names. Fixes #459466.
7520
7521 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7522
7523         * gst/gstpad.h:
7524           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7525           driving the pipeline may need to explicitly check for NOT_LINKED as
7526           well, since IS_FATAL doesn't cover that.
7527
7528 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7529
7530         * docs/pwg/advanced-types.xml:
7531           Fix typo and duplicate entry in video formats list.
7532
7533 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7534
7535         * libs/gst/controller/gstinterpolation.c:
7536         Also round to the nearest int when using cubic interpolation.
7537
7538 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7539
7540         * libs/gst/controller/gstinterpolation.c:
7541         When linearly interpolating integer types, round to the nearest int
7542         by adding 0.5. Don't do it for float/double types.
7543         Fixes the failing controller test on my machine, which is somehow
7544         rounding differently than on the buildbots.
7545
7546 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7547
7548         * tools/gst-plot-timeline.py:
7549           Better log parsing (categories can have -). Adjust text vs. lines, so
7550           that they span the same y-range.        
7551
7552 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7553
7554         * docs/random/ensonic/audiobaseclasses.txt:
7555         * docs/random/ensonic/dynlink.txt:
7556         * docs/random/ensonic/profiling.txt:
7557           Save my thoughts.
7558
7559         * docs/random/moving-plugins:
7560           Add note to use g_assert type macros.
7561
7562 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7563
7564         * configure.ac:
7565         * libs/gst/check/Makefile.am:
7566           Add libm check as we use in for plugins.
7567
7568 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7569
7570         * gst/gstbin.c: (gst_bin_continue_func):
7571         Check that the state_cookie hasn't changed since the continue_func
7572         was scheduled. Avoids problems where the state changes back to
7573         something it shouldn't be because it was changed in the meantime.
7574
7575 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7576
7577         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7578         (gst_registry_binary_save_string),
7579         (gst_registry_binary_save_pad_template),
7580         (gst_registry_binary_save_feature),
7581         (gst_registry_binary_save_plugin),
7582         (gst_registry_binary_load_feature),
7583         (gst_registry_binary_load_plugin),
7584         (gst_registry_binary_read_cache):
7585           Fix memory leak. Be less verbose in the log.
7586
7587 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7588
7589         * tests/check/elements/.cvsignore:
7590         Add file to cvsignore as commanded.
7591
7592 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7593
7594         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7595         (mq_dummypad_event), (run_output_order_test):
7596         Use a GStaticMutex to protect all cases where libcheck
7597         fail_if/fail_unless macros might be called from multiple threads
7598         simultaneously to avoid errors like:
7599           "check_pack.c:107: :-1081725400:Bad message type arg"
7600
7601 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7602
7603         * tests/check/pipelines/stress.c: (GST_START_TEST):
7604         Make sure we set the pipeline back to the NULL state before
7605         dropping our final reference.
7606
7607 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7608
7609         * tests/check/elements/tee.c: (GST_START_TEST):
7610         Make the tee stress-test a little less stressful so it doesn't just
7611         time out on slow-machines, and remove a small race when it's starting 
7612         up by adding a get_state() call.
7613
7614 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7615
7616         * gst/gst.c:
7617           Avoid reading registry twice on startup. Fixes #457322.
7618
7619 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7620
7621         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7622         * pkgconfig/gstreamer-check.pc.in:
7623         Substitute the CFLAGS for libcheck into our .pc file too so that
7624         dependent modules will pick it up properly if libcheck is installed
7625         into some other prefix.
7626
7627 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7628
7629         * configure.ac:
7630         Revert the pkg-config check for libcheck, since it pulls in the
7631         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7632         a proper solution, either from the check project, or something else.
7633
7634 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7635
7636         * configure.ac:
7637           Use pkg-config to locate check.
7638
7639 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7640
7641         * gst/gsttaglist.c:
7642           Fix doc syntax.
7643
7644         * gst/gstutils.c:
7645         * gst/gstutils.h:
7646           Add deprecation guards.
7647
7648         * libs/gst/base/gstcollectpads.h:
7649           Don't document object (this is implicitly private).
7650
7651 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7652
7653         * gst/gststructure.c: (gst_structure_parse_value):
7654           When deserialising foo=bar without a type cast, check if it's a
7655           boolean before falling back to a string type, otherwise things like
7656           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7657           because the filtercaps end up having a signed=(string)true field,
7658           which causes problems later when intersection caps.
7659
7660         * tests/check/gst/gststructure.c: (GST_START_TEST):
7661           Add a unit test for this.
7662
7663 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7664
7665         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7666
7667         * libs/gst/controller/Makefile.am:
7668         * libs/gst/controller/gstcontroller.c:
7669         (gst_controlled_property_add_interpolation_control_source),
7670         (gst_controlled_property_new), (gst_controlled_property_free),
7671         (gst_controller_find_controlled_property),
7672         (gst_controller_new_valist), (gst_controller_new_list),
7673         (gst_controller_new), (gst_controller_remove_properties_valist),
7674         (gst_controller_remove_properties_list),
7675         (gst_controller_remove_properties),
7676         (gst_controller_set_property_disabled),
7677         (gst_controller_set_disabled), (gst_controller_set_control_source),
7678         (gst_controller_get_control_source), (gst_controller_get),
7679         (gst_controller_sync_values), (gst_controller_get_value_array),
7680         (_gst_controller_dispose), (gst_controller_get_type),
7681         (gst_controlled_property_set_interpolation_mode),
7682         (gst_controller_set), (gst_controller_set_from_list),
7683         (gst_controller_unset), (gst_controller_unset_all),
7684         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7685         * libs/gst/controller/gstcontroller.h:
7686         * libs/gst/controller/gstcontrollerprivate.h:
7687         * libs/gst/controller/gstcontrolsource.c:
7688         (gst_control_source_class_init), (gst_control_source_init),
7689         (gst_control_source_get_value),
7690         (gst_control_source_get_value_array), (gst_control_source_bind):
7691         * libs/gst/controller/gstcontrolsource.h:
7692         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7693         (gst_object_get_control_source):
7694         * libs/gst/controller/gstinterpolation.c:
7695         (gst_interpolation_control_source_find_control_point_node),
7696         (gst_interpolation_control_source_get_first_value),
7697         (_interpolate_none_get), (interpolate_none_get),
7698         (interpolate_none_get_boolean_value_array),
7699         (interpolate_none_get_enum_value_array),
7700         (interpolate_none_get_string_value_array),
7701         (_interpolate_trigger_get), (interpolate_trigger_get),
7702         (interpolate_trigger_get_boolean_value_array),
7703         (interpolate_trigger_get_enum_value_array),
7704         (interpolate_trigger_get_string_value_array):
7705         * libs/gst/controller/gstinterpolationcontrolsource.c:
7706         (gst_control_point_free), (gst_interpolation_control_source_reset),
7707         (gst_interpolation_control_source_new),
7708         (gst_interpolation_control_source_set_interpolation_mode),
7709         (gst_interpolation_control_source_bind),
7710         (gst_control_point_compare), (gst_control_point_find),
7711         (gst_interpolation_control_source_set_internal),
7712         (gst_interpolation_control_source_set),
7713         (gst_interpolation_control_source_set_from_list),
7714         (gst_interpolation_control_source_unset),
7715         (gst_interpolation_control_source_unset_all),
7716         (gst_interpolation_control_source_get_all),
7717         (gst_interpolation_control_source_get_count),
7718         (gst_interpolation_control_source_init),
7719         (gst_interpolation_control_source_finalize),
7720         (gst_interpolation_control_source_dispose),
7721         (gst_interpolation_control_source_class_init):
7722         * libs/gst/controller/gstinterpolationcontrolsource.h:
7723         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7724         API: Refactor GstController into the core controller which can take
7725         a GstControlSource for providing actual values for timestamps.
7726         Implement a interpolation control source and use this for backward
7727         compatibility, deprecate a bunch of functions that are now handled
7728         by GstControlSource or GstInterpolationControlSource.
7729         Make it possible to disable the controller completely or only for
7730         specific properties. Fixes #450711.
7731         * docs/libs/gstreamer-libs-docs.sgml:
7732         * docs/libs/gstreamer-libs-sections.txt:
7733         * docs/libs/gstreamer-libs.types:
7734         Add new functions and classes to the docs.
7735         * tests/check/libs/controller.c: (GST_START_TEST),
7736         (gst_controller_suite):
7737         * tests/examples/controller/audio-example.c: (main):
7738         Port unit test and example to the new API and add some new
7739         unit tests.
7740
7741 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7742
7743         Patch by: Mark Nauwelaerts <manauw at skynet be>
7744
7745         * plugins/elements/gstmultiqueue.c:
7746         (gst_multi_queue_get_internal_links), (apply_buffer),
7747         (single_queue_overrun_cb), (gst_single_queue_new):
7748         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7749         the pipeline layout can be tracked correctly. Fixes #453732.
7750
7751 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7752
7753         * docs/gst/Makefile.am:
7754         * docs/libs/Makefile.am:
7755         * docs/plugins/Makefile.am:
7756           Simplify --extra-dir as gtkdoc scans recursively.
7757
7758 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7759
7760         * tools/gst-launch.c: (main):
7761         When we got an error, there is no point in waiting for preroll when
7762         shutting down.
7763
7764 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7765
7766         * plugins/elements/gsttee.c: (gst_tee_base_init),
7767         (gst_tee_request_new_pad), (gst_tee_release_pad),
7768         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7769         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7770         (gst_tee_chain):
7771         Be a lot smarter when deciding what srcpad to use for proxying
7772         the buffer_alloc. Also handle pad added/removed when doing so.
7773         Fixes #357959.
7774         Keep track of what pads we already pushed on in case we have pads
7775         added/removed while pushing. Fixes #374639 
7776
7777         * tests/check/Makefile.am:
7778         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7779         (tee_suite):
7780         Added unit test for pad resync.
7781
7782 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7783
7784         * po/nl.po:
7785         * po/sv.po:
7786           Updated translations.
7787
7788 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7789
7790         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7791
7792         * po/LINGUAS:
7793         * po/fi.po:
7794           Added new Finnish translation.
7795
7796 2007-06-28  Wim Taymans  <wim@fluendo.com>
7797
7798         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7799         (single_queue_overrun_cb):
7800         When figuring out when a queue is filled, use our internal time estimate
7801         based on segments, just like check_full does.
7802
7803 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7804
7805         * gst/gstminiobject.c: (gst_mini_object_get_type):
7806           Remove 3 do-nothing methods.
7807
7808 2007-06-27  Wim Taymans  <wim@fluendo.com>
7809
7810         Patch by: Tim Angus <tim at ngus dot net>
7811
7812         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7813         (gst_capsfilter_set_property):
7814         Take a reference instead of a copy when setting "caps".
7815         Fix documentation to clarify this behaviour. Fixes #449414.
7816
7817 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7818
7819         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7820         * gst/gstplugin.c: (gst_plugin_init):
7821         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7822         * gst/gstquery.c: (gst_query_get_type):
7823         * gst/gstregistry.c: (gst_registry_init):
7824         * gst/gsturi.c: (gst_uri_handler_base_init):
7825           Remove empty instance_init() functions to save relocs and lessen the
7826           noise. Remove some of the function prototypes that are doubled by
7827           G_DEFINE_TYPE.
7828           
7829 2007-06-27  Wim Taymans  <wim@fluendo.com>
7830
7831         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7832
7833         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7834         Add peer and direction in the XML serialisation of ghostpads.
7835         Fixes #449226.
7836
7837 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7838
7839         * configure.ac:
7840           Preserve useful information, thanks Tim.
7841
7842 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7843
7844         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7845         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7846         (gst_single_queue_push_one), (gst_multi_queue_loop),
7847         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7848         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7849         (compute_high_id), (gst_single_queue_new):
7850         * plugins/elements/gstmultiqueue.h:
7851         Take the multiqueue lock when updating the fill level so we don't get
7852         confused. 
7853
7854         After applying a buffer or event on the src pad segment, make sure to
7855         call gst_data_queue_limits_changed() to get the data queue to unblock
7856         and check the filled state again.
7857         
7858         Rework the not-linked pad handling so the logic is that not-linked 
7859         pads can push as fast as they like, but only so they never get 
7860         ahead of any linked pads.
7861
7862         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7863         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7864         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7865
7866         Add a test to check that not-linked pads always stay behind
7867         linked pads.
7868
7869         Fixes: #430682
7870
7871 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7872
7873         * docs/random/release:
7874           Some updates to the release procedure.
7875
7876 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7877
7878         * gst/gstelementfactory.c: (__gst_element_details_clear):
7879           Microoptimization that saves stunning 80 bytes.
7880
7881 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7882
7883         * docs/plugins/gstreamer-plugins.args:
7884         * docs/plugins/inspect/plugin-coreelements.xml:
7885         * docs/plugins/inspect/plugin-coreindexers.xml:
7886           Update docs with caps info.
7887
7888 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7889
7890         * po/it.po:
7891           Updated Italian translation.
7892
7893 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7894
7895         * ChangeLog:
7896         * po/vi.po:
7897           Update Vietnamese translations.
7898
7899 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7900
7901         * libs/gst/base/gstbasesink.c:
7902           Remove unused signal enum.
7903
7904 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7905
7906         * docs/gst/gstreamer-sections.txt:
7907         * gst/gstelement.c:
7908         * gst/gstutils.c: (gst_type_register_static_full):
7909         Beef up and include the docs for gst_type_register_static_full and
7910         gst_element_class_set_details_simple and add the API keyword
7911         in the ChangeLog.
7912
7913 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7914
7915         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7916         (update_time_level), (gst_single_queue_push_one),
7917         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7918         (single_queue_overrun_cb), (single_queue_underrun_cb),
7919         (single_queue_check_full):
7920         Fix setting max-* properties after adding queues.
7921         Use IS_FILLED for checking visible items.
7922         Signal overrun if multiple queues overrun.
7923         Add extra debug output.
7924         Patch by: Wim Taymans <wim@fluendo.com>
7925
7926 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7927
7928         * gst/gstelement.c: (gst_element_class_set_details_simple):
7929         * gst/gstelement.h:
7930         * gst/gstutils.c: (gst_type_register_static_full):
7931         * gst/gstutils.h:
7932         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7933         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7934         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7935         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7936         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7937         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7938         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7939         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7940         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7941         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7942         (apply_buffer), (gst_queue_chain):
7943         * plugins/elements/gsttee.c: (gst_tee_base_init):
7944         * plugins/elements/gsttypefindelement.c:
7945         (gst_type_find_element_base_init),
7946         (gst_type_find_element_class_init):
7947           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7948           API: add gst_type_register_static_full
7949           API: add gst_element_class_set_details_simple
7950
7951 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7952
7953         * docs/pwg/advanced-types.xml:
7954           Fix typo in iana.org URI.
7955
7956 2007-06-19  Andy Wingo  <wingo@pobox.com>
7957
7958         * tests/check/pipelines/simple-launch-lines.c
7959         (test_state_change_returns): Enable pull-mode tests now that
7960         basesink has been fixed.
7961
7962         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7963         Changed from gst_base_sink_is_prerolled, reversing the sense of
7964         the return value. Returns FALSE also if the sink is in pull mode,
7965         in which case it needs no preroll.
7966         (gst_base_sink_query, gst_base_sink_change_state): Update for
7967         needs_preroll change.
7968         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7969         chaining up, in which we return SUCCESS directly if we activated
7970         in pull mode instead of ASYNC. Involves countering an async_start
7971         message sent before chaining up; not sure if this is correct, in
7972         an ideal world we only send async-start when activating in push
7973         mode.
7974
7975         * tests/check/pipelines/simple-launch-lines.c
7976         (test_state_change_returns): New test, partially disabled until
7977         basesink is fixed.
7978
7979 2007-06-19  Wim Taymans  <wim@fluendo.com>
7980
7981         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7982         (gst_multi_queue_sink_event):
7983         Fix event leak.
7984
7985 2007-06-19  Wim Taymans  <wim@fluendo.com>
7986
7987         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7988         (gst_bin_change_state_func), (bin_push_state_continue),
7989         (bin_handle_async_start), (bin_handle_async_done),
7990         (gst_bin_handle_message_func):
7991         Move the common code for posting state-change messages into
7992         one function.
7993         Broadcast the state signal after we posted the messages.
7994         Mark the bin as busy when it's doing a state-change.
7995         Make sure async-start/done messages don't interfere with the bin's
7996         state when it's busy.
7997         After the state change, let the bin check which elements completed the
7998         state change while it was busy so that it can update its state.
7999
8000 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8001
8002         * docs/random/release:
8003         Add a note about updating the doap file to the release checklist
8004
8005 2007-06-18  Wim Taymans  <wim@fluendo.com>
8006
8007         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8008         (gst_single_queue_push_one), (gst_multi_queue_chain),
8009         (gst_multi_queue_sink_event):
8010         Make sure we don't reference the buffer/event after we have given away
8011         ownership in the queue.
8012
8013 2007-06-18  Wim Taymans  <wim@fluendo.com>
8014
8015         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8016         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8017         Update queue state _after_ adding the item in the queue because else we
8018         could end up being full without the element added yet.
8019
8020 2007-06-18  Wim Taymans  <wim@fluendo.com>
8021
8022         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8023         (gst_bin_remove_func), (gst_bin_get_state_func),
8024         (gst_bin_element_set_state), (gst_bin_continue_func),
8025         (bin_push_state_continue), (bin_handle_async_start),
8026         (bin_handle_async_done), (gst_bin_handle_message_func):
8027         * gst/gstbin.h:
8028         Immediatly commit the toplevel bin state when receiving an async-done
8029         message. This enables us to avoid spawning a thread to commit the state
8030         in some common cases and it also avoids some races.
8031         Avoid spawning a state thread when adding/removing async elements to a
8032         toplevel bin. Instead we immediatly update the bin state.
8033         Get rid of iterating all the children when getting the state in the bin
8034         because it is now always up-to-date.
8035         Fix bug where locked elements would always return _SUCCESS even it they
8036         returned NO_PREROLL before being locked.
8037         Fix the order of the state_change, async-start/done messages that was
8038         sometimes incorrect.
8039         Mark the state_dirty field as deprecated, we don't need it anymore as we
8040         are always up-to-date.
8041
8042         * gst/gstelement.c: (gst_element_get_state_func),
8043         (gst_element_continue_state):
8044         Small debug inprovements.
8045         Return the previous element state return when nothing is pending instead
8046         of blindly returning SUCCESS.
8047
8048         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8049         (gst_sinks_suite):
8050         Add a whole bunch of new testcases.
8051
8052 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8053
8054         * po/uk.po:
8055         * po/vi.po:
8056           Update translations.
8057
8058 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8059
8060         * gst/gstpad.c:
8061         Fix typo in the docs.
8062
8063 2007-06-15  Wim Taymans  <wim@fluendo.com>
8064
8065         * docs/libs/gstreamer-libs-sections.txt:
8066         Add docs for new methods.
8067
8068 2007-06-15  Wim Taymans  <wim@fluendo.com>
8069
8070         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8071         (gst_multi_queue_item_new):
8072         Don't use GSlice because we don't depend on >= 2.10 yet.
8073
8074 2007-06-15  Wim Taymans  <wim@fluendo.com>
8075
8076         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8077         (update_time_level), (apply_segment), (apply_buffer),
8078         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8079         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8080         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8081         (single_queue_underrun_cb), (single_queue_check_full):
8082         Remove debug printf.
8083
8084 2007-06-15  Wim Taymans  <wim@fluendo.com>
8085
8086         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8087         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8088         (gst_data_queue_set_flushing), (gst_data_queue_push),
8089         (gst_data_queue_pop), (gst_data_queue_drop_head),
8090         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8091         * libs/gst/base/gstdataqueue.h:
8092         Various cleanups.
8093         Added methods to get the current levels and to inform the queue that the
8094         'full' limits changed.
8095
8096         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8097         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8098         (gst_single_queue_flush), (update_time_level), (apply_segment),
8099         (apply_buffer), (gst_single_queue_push_one),
8100         (gst_multi_queue_item_steal_object),
8101         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8102         (gst_multi_queue_loop), (gst_multi_queue_chain),
8103         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8104         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8105         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8106         (single_queue_underrun_cb), (single_queue_check_full),
8107         (gst_single_queue_new):
8108         Keep track of time in the queue by measuring the difference between
8109         running_time on input and output. This gives more accurate results and
8110         can compensate for segments correctly.
8111         Make a queue by default only 5 buffers deep. We will now increase the
8112         buffer size depending on the filledness of the other queues.
8113         Factor out commong flush code.
8114         Make sure we don't add additional refcounts to buffers when we can avoid
8115         it.
8116         Propagate GstFlowReturn differently.
8117         Use GSlice for intermediate GstMultiQueueItems.
8118         Keep track of EOS.
8119         Resize queues on over and underruns based on filled level of other
8120         queues.
8121         When checking if the queue is filled, prefer to measure in time if we
8122         can and fall back to bytes when no time is known.
8123
8124         * plugins/elements/gstqueue.c:
8125         Fix return value.
8126
8127 2007-06-15  Wim Taymans  <wim@fluendo.com>
8128
8129         * libs/gst/base/gstbasetransform.c:
8130         (gst_base_transform_sink_event):
8131         Work around the brokenness of the event vmethod in basetransform. Prefer
8132         to return TRUE when the subclass returned FALSE (meaning don't forward
8133         the event). 
8134
8135         * libs/gst/base/gstbasetransform.h:
8136         Clarify the docs.
8137
8138 2007-06-15  Wim Taymans  <wim@fluendo.com>
8139
8140         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8141         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8142         (gst_base_src_default_query), (gst_base_src_get_range),
8143         (gst_base_src_start):
8144         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8145         Improve debugging.
8146
8147 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8148
8149         * docs/pwg/advanced-types.xml:
8150           Added more formats to caps table.
8151
8152 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8153
8154         * tools/gst-launch.c: (main):
8155           Remove crufy code. GOption does not need this workaround.
8156
8157 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8158
8159         * libs/gst/controller/gstcontroller.c:
8160         (gst_controlled_property_set_interpolation_mode):
8161           Fix wrong getter for enums in controller.
8162
8163 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8164
8165         * libs/gst/check/gstcheck.c: (gst_check_init):
8166           Intercept criticals and warnings in the Gst-Phonon log domain, so
8167           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8168           well.
8169         
8170 2007-06-14  Edward Hervey  <edward@fluendo.com>
8171
8172         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8173         Since this file doesn't include "gst.h" it will not go through the
8174         macros that disable GST_LOG if debugging was disabled.
8175
8176 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8177
8178         * libs/gst/check/Makefile.am:
8179         * libs/gst/check/gstcheck.h:
8180         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8181         * pkgconfig/gstreamer-check.pc.in:
8182           Ugly 'fix' for the controller unit test on the p5 bot: in
8183           fail_unless_equals_float() check whether the values are 'almost
8184           equal' by allowing a small absolute error, which should be good
8185           enough for our use cases (normal numbers and values close to 0).
8186           Proper fixage left to floating point arithmetic aficionados.
8187
8188 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8189
8190         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8191         (gst_base_sink_render_object), (gst_base_sink_get_position):
8192           Add two breaks thats where missing.
8193
8194 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8195
8196         * docs/libs/gstreamer-libs-sections.txt:
8197         * libs/gst/check/gstcheck.h:
8198           API: add fail_unless_equals_float() and assert_equals_float().
8199           Add documentation for some of the macros.
8200
8201         * tests/check/libs/controller.c: (GST_START_TEST):
8202           Use newly-added asserts.
8203
8204 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8205
8206         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8207           Show the caps change in the log to help spotting the case of not
8208           exactly matching caps.
8209
8210 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8211
8212         * docs/pwg/building-boiler.xml:
8213           Fix typos, spotted by Thijs Vermeir (#447190).
8214
8215 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8216
8217         * docs/plugins/tmpl/.cvsignore:
8218         Ignore file to keep the buildbots happy
8219
8220 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8221
8222         * docs/plugins/Makefile.am:
8223         * docs/plugins/gstreamer-plugins-docs.sgml:
8224         * docs/plugins/gstreamer-plugins-sections.txt:
8225         Pull fdsink into the docs too.
8226
8227 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8228
8229         * libs/gst/controller/gstinterpolation.c:
8230         Actually use the new functions with min/max checks for the trigger and
8231         none interpolation modes for get() and get_value_array() instead of
8232         just the latter.
8233
8234 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8235
8236         * libs/gst/controller/gstcontroller.c:
8237         (gst_controlled_property_free):
8238         Unset the minimum and maximum GValues when freeing the corresponding
8239         GstControllerProperty struct.
8240
8241 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8242
8243         * libs/gst/controller/gstcontroller.c:
8244         (gst_controlled_property_new):
8245         * libs/gst/controller/gstcontrollerprivate.h:
8246         * libs/gst/controller/gstinterpolation.c:
8247         (gst_controlled_property_find_control_point_node),
8248         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8249         (interpolate_none_get_string_value_array),
8250         (interpolate_trigger_get),
8251         (interpolate_trigger_get_enum_value_array),
8252         (interpolate_trigger_get_string_value_array):
8253         Protect against values larger or smaller than the minimum or maximum
8254         allowed value for the property when using values that can be compared.
8255
8256         Optimize trigger interpolator a bit by taking the last requested value
8257         into account instead of always looping through the complete list.
8258
8259         Fix coding style a bit, everywhere else we use "return foo" instead
8260         of "return (foo)".
8261         
8262         * tests/check/libs/controller.c: (GST_START_TEST),
8263         (gst_controller_suite):
8264         Add unit test for the protection against too large or too small
8265         values.
8266
8267 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8268
8269         * docs/random/slomo/controller.txt:
8270         Add some thoughts about the future of the controller.
8271
8272 2007-06-08  Wim Taymans  <wim@fluendo.com>
8273
8274         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8275         Don't overflow in retimestamping code.
8276
8277 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8278
8279         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8280         Use gst_util_guint64_to_gdouble for conversions.
8281         * win32/common/libgstreamer.def:
8282         Add new exported functions.
8283
8284 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8285
8286         * gst/gstutils.c:
8287           Small docs addition.
8288
8289 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8290
8291         * README:
8292           Remove that test line again.
8293
8294 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8295
8296         * README:
8297           Test commit mail sending.
8298
8299 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8300
8301         * configure.ac:
8302           Fix typo and test commit mail sending.
8303
8304 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8305
8306         * tests/examples/controller/audio-example.c:
8307           Improve comment and test commit mail sending.
8308
8309 2007-06-07  Wim Taymans  <wim@fluendo.com>
8310
8311         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8312         (gst_bin_remove_func), (gst_bin_element_set_state),
8313         (bin_handle_async_start), (bin_handle_async_done),
8314         (gst_bin_handle_message_func):
8315         Add helper function to find messages.
8316         Generate the async-done messages together with the state change
8317         messages.
8318         Small cleanups in handling toplevel bins.
8319
8320 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8321
8322         * libs/gst/base/gstdataqueue.c:
8323         * libs/gst/base/gstdataqueue.h:
8324         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8325         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8326         (gst_multi_queue_sink_event):
8327         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8328           Fix multiqueue leaking buffers and events when downstream or the
8329           queue are flushing. Make refcounting assumptions explicit and
8330           document them (shouldn't break existing code that uses it other than
8331           maybe leak miniobjects, but that already happens anyway). Add unit
8332           test for the most common flushing case. Fixes #423700.
8333           
8334 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8335
8336         * libs/gst/controller/gstcontroller.c:
8337         Clarify docs: The get_all, get_value_array(s) functions
8338         don't modify the GObject properties.
8339
8340 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8341
8342         * libs/gst/controller/gstcontroller.c:
8343         (gst_controlled_property_set_interpolation_mode),
8344         (gst_controlled_property_prepend_default),
8345         (gst_controlled_property_new), (gst_controller_set_unlocked),
8346         (gst_controller_set), (gst_controller_set_from_list),
8347         (gst_controller_unset), (gst_controller_unset_all):
8348         * libs/gst/controller/gstcontrollerprivate.h:
8349         * libs/gst/controller/gstinterpolation.c:
8350         Factor out the 'set' logic into gst_controller_set_unlocked for the
8351         gst_controller_set and gst_controller_set_from_list functions.
8352
8353         To make life of the interpolators easier always add a control point
8354         at timestamp zero with the default value.
8355
8356         In the linear interpolator make things more obvious by better variable
8357         naming (slope).
8358
8359         Implement cubic interpolation mode (by using a natural cubic spline)
8360         and map the quadratic interpolation mode to this too (as quadratic
8361         doesn't make much sense, see discussion on the list).
8362
8363         * tests/check/libs/controller.c: (GST_START_TEST),
8364         (gst_controller_suite):
8365         Add unit test for the cubic interpolation mode and check everywhere
8366         if the interpolation mode could be set as expected.
8367
8368 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8369
8370         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8371           Don't use GLib-2.10 functions, we still depend on
8372           GLib-how-old-is-it-again-2.8.
8373
8374 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8375
8376         * docs/gst/gstreamer-sections.txt:
8377         * gst/Makefile.am:
8378         * gst/gst.c:
8379         * gst/gst.h:
8380         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8381         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8382         (_gst_param_fraction_values_cmp),
8383         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8384         * gst/gstparamspecs.h:
8385         * gst/gstvalue.c:
8386         * tests/check/Makefile.am:
8387         * tests/check/gst/.cvsignore:
8388         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8389         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8390         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8391         (GST_START_TEST), (gst_param_spec_suite):
8392           API: add GstParamSpecFraction, so elements can have fraction
8393           properties without lots of painful string parsing (#444648).
8394
8395 2007-06-05  Wim Taymans  <wim@fluendo.com>
8396
8397         * gst/gstobject.c: (gst_object_class_init):
8398         Fix signal signature.
8399
8400         * gst/gstsegment.c:
8401         Add small clarification in the api docs.
8402
8403         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8404         States are protected with object lock.
8405
8406 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8407
8408         * AUTHORS:
8409         I should probably be listed as an author by now.
8410
8411         * docs/random/release:
8412         Update the release doc
8413
8414 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8415
8416         * gst/gstvalue.c:
8417           Make docs for gst_value_compare() mention return enums that
8418           actually exist.
8419
8420 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8421
8422         * configure.ac:
8423           Back to CVS
8424
8425 === release 0.10.13 ===
8426
8427 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8428
8429         * configure.ac:
8430           releasing 0.10.13, "With or without you"
8431
8432 2007-05-25  Wim Taymans  <wim@fluendo.com>
8433
8434         * gst/gstbin.c: (bin_handle_async_done):
8435         Make sure that the child bin stops after completing the async state
8436         change so that the parent can continue the state change to PLAYING.
8437         Fixes #441159.
8438
8439 2007-05-25  Wim Taymans  <wim@fluendo.com>
8440
8441         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8442         (unref_data), (gst_collect_pads_remove_pad),
8443         (gst_collect_pads_check_pads):
8444         Use additional refcounting to avoid crashes when dynamically adding and
8445         removing pads. Fixes #420206.
8446
8447 2007-05-24  Wim Taymans  <wim@fluendo.com>
8448
8449         * tools/gst-launch.c: (event_loop):
8450         When buffering goes from a two digit to a single digit number, make sure
8451         to remove the old second digit by writing a blank over it.
8452
8453 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8454
8455         * libs/gst/base/gstdataqueue.c:
8456           Eliminate tabs and trailing comma in enum list; fix some typos.
8457
8458 2007-05-24  Wim Taymans  <wim@fluendo.com>
8459
8460         * tests/check/gst/gstbin.c: (GST_START_TEST):
8461         Allow refcount of 3 and 4 because some state thread might still be busy
8462         with it.
8463
8464 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8465
8466         * plugins/elements/Makefile.am:
8467         * plugins/elements/gstmultiqueue.h:
8468         * plugins/elements/gstqueue.h:
8469           These are not installed headers, no need for padding.
8470
8471 2007-05-24  Wim Taymans  <wim@fluendo.com>
8472
8473         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8474         (gst_bin_continue_func):
8475         Enable latency for next release.
8476         Restore STATE_LOCK around recalc_state that was left out during the
8477         rewrite and could result in racy behaviour when _get_state and
8478         recalc_state are run concurrently. See #440463.
8479
8480 2007-05-23  Wim Taymans  <wim@fluendo.com>
8481
8482         * tests/check/gst/gstsystemclock.c: (store_callback),
8483         (GST_START_TEST):
8484         Improve test_async_order to also work when both timers are already
8485         expired when we get scheduled to check it.
8486
8487 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8488
8489         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8490         (gst_bin_set_property), (gst_bin_get_property),
8491         (gst_bin_remove_func), (gst_bin_handle_message_func):
8492         * gst/gstbin.h:
8493           'private' is a c++ keyword, let's not use that in header files,
8494           otherwise c++ compilers will throw a tantrum.
8495
8496 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8497
8498         * plugins/elements/gstelements.c:
8499         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8500         (gst_file_sink_get_current_offset):
8501         * plugins/indexers/gstindexers.c: (plugin_init):
8502           Use #ifdef for HAVE_XYZ for consistency.
8503
8504         * tests/check/Makefile.am:
8505         * tests/check/elements/.cvsignore:
8506         * tests/check/elements/filesink.c: (setup_filesink),
8507         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8508           Add some unit tests for filesink.
8509
8510 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8511
8512         Patch by: Mark Nauwelaerts <manauw at skynet be>
8513
8514         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8515         (gst_file_sink_query), (gst_file_sink_do_seek),
8516         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8517         * plugins/elements/gstfilesink.h:
8518           Fix position reporting; rename data_written member to current_pos to
8519           reflect its real meaning (fixes #412648).
8520
8521 2007-05-22  Edward Hervey  <edward@fluendo.com>
8522
8523         * docs/gst/gstreamer-sections.txt:
8524         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8525         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8526         (gst_bin_remove_func), (gst_bin_handle_message_func):
8527         * gst/gstbin.h:
8528         Add a property for bins that handle the state change of their childs.
8529         Fixes #435880
8530
8531 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8532
8533         * libs/gst/controller/gstinterpolation.c:
8534         Use an array of the correct type when using _get_value_array with
8535         linear interpolation.
8536
8537 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8538
8539         * gst/gstelement.c (gst_element_requires_clock,
8540           gst_element_provides_clock, gst_element_request_pad,
8541           gst_element_class_set_details, gst_element_class_set_details_simple,
8542           gst_element_default_send_event, gst_element_abort_state,
8543           gst_element_continue_state, gst_element_set_state,
8544           gst_element_set_state_func, iterator_activate_fold_with_resync):
8545         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8546           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8547           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8548           gst_pad_get_range, gst_pad_pull_range):
8549         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8550           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8551           GstPadActivateModeFunction, GstPadChainFunction,
8552           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8553           GstPadFixateCapsFunction, GstPadTemplate):
8554         * gst/gstpipeline.c (gst_pipeline_change_state,
8555           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8556           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8557           gst_pipeline_get_delay):
8558           Whitespace and docs fixes.
8559
8560 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8561
8562         * libs/gst/controller/gstinterpolation.c:
8563         (interpolate_trigger_get_enum_value_array),
8564         (interpolate_trigger_get_string_value_array):
8565         Add support for retrieving value arrays when using the trigger
8566         interpolation mode. 
8567
8568 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8569
8570         * libs/gst/controller/gstcontroller.c:
8571         (gst_controller_get_value_array):
8572         * libs/gst/controller/gstcontroller.h:
8573         Clarify the docs of gst_controller_get_value_array(): The array where
8574         the values should be written to must be allocated as there seems to be
8575         no way to get the size of a random GType. This doesn't change any
8576         behaviour. Also fix some typos all over the place and remove an unused,
8577         commented function that is not necessary as g_object_set() could be
8578         used instead.
8579         * tests/check/libs/controller.c: (GST_START_TEST),
8580         (gst_controller_suite):
8581         Add unit test for gst_controller_get_value_array().
8582
8583 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8584
8585         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8586
8587         Disable part of the gst_buffer_try_new_and_alloc test, because
8588         it can happily succeed on 64-bit systems where there's more address
8589         space available.
8590
8591 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8592
8593         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8594         Add unit test for the improved caps checking from bug #421543.
8595
8596 2007-05-21  Wim Taymans  <wim@fluendo.com>
8597
8598         * docs/design/part-synchronisation.txt:
8599         Small addition.
8600
8601         * gst/gstbin.c: (gst_bin_query):
8602         * plugins/elements/gstqueue.c: (apply_segment):
8603         Improve debugging.
8604
8605         * gst/gstmessage.h:
8606         Improve docs.
8607
8608 2007-05-21  Wim Taymans  <wim@fluendo.com>
8609
8610         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8611         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8612         (gst_pad_configure_src):
8613         Added simple version of improved caps checking. It was previously
8614         assumed that a setcaps function would check the validity of the caps but
8615         people prefer us to check caps against the template automatically. 
8616         Fixes #421543.
8617
8618 2007-05-21  Wim Taymans  <wim@fluendo.com>
8619
8620         * libs/gst/base/gstbasetransform.h:
8621         Fix macro for locking/unlocking the transform lock.
8622
8623 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8624
8625         * docs/plugins/tmpl/.cvsignore:
8626           Ignore more.
8627
8628 2007-05-18  Edward Hervey  <edward@fluendo.com>
8629
8630         * plugins/elements/gstqueue.c: (gst_queue_loop):
8631         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8632         for the subtle art of warning a potentially blocking thread that it
8633         should check the source pad return value, and relay the information
8634         upstream.
8635
8636 2007-05-18  Edward Hervey  <edward@fluendo.com>
8637
8638         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8639         Release the queue lock !
8640
8641 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8642
8643         * docs/libs/gstreamer-libs-sections.txt:
8644         Add the two new controller functions to the appropiate places.
8645
8646 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8647
8648         reviewed by: Stefan Kost <ensonic@users.sf.net>
8649
8650         * libs/gst/controller/gstcontroller.c:
8651         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8652         (_gst_controller_get_property), (_gst_controller_set_property),
8653         (_gst_controller_init), (_gst_controller_class_init):
8654         * libs/gst/controller/gstcontroller.h:
8655         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8656         (gst_object_get_control_rate), (gst_object_set_control_rate):
8657         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8658         Add API that provides sync suggestion timestamps for elements that
8659         call gst_object_sync_values() from which those elements can subdivide
8660         their processing loop to get the best results for the controlled
8661         properties. For now it just suggests last_sync + control_rate as
8662         new timestamp but this will be improved in the future.
8663
8664         While doing that change the control-rate property to a GstClockTime
8665         from guint and change it's meaning from samples to nanoseconds as
8666         the GstController doesn't know anything about sampling rate. Strictly
8667         speaking this breaks ABI but as the control-rate property didn't do
8668         anything in the past and as such couldn't be used this should be no
8669         problem.        
8670
8671 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8672
8673         reviewed by: Stefan Kost <ensonic@users.sf.net>
8674
8675         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8676         (gst_controller_unset_all):
8677         * libs/gst/controller/gstcontrollerprivate.h:
8678         * libs/gst/controller/gstinterpolation.c:
8679         (gst_controlled_property_find_control_point_node):
8680         Save last synced value from the list to continue searching from there
8681         in future syncs. This speeds everything up a bit.
8682         
8683 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8684
8685         reviewed by: Stefan Kost <ensonic@users.sf.net>
8686
8687         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8688         (gst_control_point_find), (gst_controlled_property_new),
8689         (gst_control_point_free), (gst_controlled_property_free),
8690         (gst_controller_set), (gst_controller_set_from_list),
8691         (gst_controller_unset), (gst_controller_unset_all),
8692         (gst_controller_sync_values):
8693         * libs/gst/controller/gstcontroller.h:
8694         * libs/gst/controller/gstcontrollerprivate.h:
8695         * libs/gst/controller/gstinterpolation.c:
8696         (gst_controlled_property_find_control_point_node),
8697         (interpolate_none_get), (interpolate_trigger_get):
8698         Add a new private GstControlPoint struct which "inherits" from
8699         GstTimedValue to allow different interpolators to store internal
8700         values next to each control point. From the outside everything is
8701         still a GstControlPoint so we don't loose binary compatibility.
8702         Also fixup all the GValue handling to not leak GValues or list nodes.
8703         * tests/check/libs/controller.c: (GST_START_TEST):
8704         Free the list nodes and GValues in the controller_misc test.
8705
8706 2007-05-17  Edward Hervey  <edward@fluendo.com>
8707
8708         * gst/gstsegment.c:
8709         Small doc fix.
8710
8711 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8712
8713         * gst/gstplugin.c: (gst_plugin_load_file):
8714           If we fail to load a plugin because of unresolved symbols or missing
8715           libraries and spew a warning to stderr, we may just as well mention
8716           which plugin it was that failed to load.
8717
8718 2007-05-13  David Schleef  <ds@schleef.org>
8719
8720         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8721           handles the case when ENABLE_GTK_DOC is false, and installs
8722           the prebuilt documentation.  So gtk-doc subdirs are 
8723           unconditionally enabled.  Fixes: #349099.
8724
8725 2007-05-13  David Schleef  <ds@schleef.org>
8726
8727         * gst/gstutils.h: Reword some documentation.
8728
8729 2007-05-12  David Schleef  <ds@schleef.org>
8730
8731         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8732           do anything with the passed "module" parameter, so remove it.
8733           Allows removal of additional vestigal code.
8734
8735 2007-05-12  David Schleef  <ds@schleef.org>
8736
8737         * gst/gstplugin.c:
8738           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8739           Switch to using g_stat() because it's more portable.
8740
8741 2007-05-12  David Schleef  <ds@schleef.org>
8742
8743         * gst/gst.c:
8744           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8745           parsing for embedded systems.
8746         * gst/gstelementfactory.c:
8747           Allow gst_element_register() to be called with plugin==NULL.
8748           Did nobody notice that static elements were broken?
8749
8750 2007-05-12  Wim Taymans  <wim@fluendo.com>
8751
8752         * tools/gst-launch.c: (event_loop):
8753         Give more interesting info when buffering starts and stops.
8754         Fix case where buffering starts but we fail to update the buffering flag
8755         because the target state is not PLAYING.
8756
8757 2007-05-12  Wim Taymans  <wim@fluendo.com>
8758
8759         * plugins/elements/gstqueue.c: (gst_queue_init),
8760         (gst_queue_finalize), (update_time_level), (apply_segment),
8761         (apply_buffer), (gst_queue_locked_flush),
8762         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8763         (gst_queue_handle_sink_event), (gst_queue_chain),
8764         (gst_queue_push_one), (gst_queue_loop):
8765         * plugins/elements/gstqueue.h:
8766         Refactor an cleanup queue a bit.
8767         Do better time level calculations that also work when the srcpad is not
8768         yet running.
8769         Remove some unneeded debug lines.
8770
8771         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8772         Added testcase for time level measurement.
8773         Try to make some stuff more racefree.
8774
8775 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8776
8777         * gst/gsturi.c: (gst_element_make_from_uri):
8778           Don't leak plugin feature.
8779
8780         * tests/check/Makefile.am:
8781         * tests/check/gst/.cvsignore:
8782         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8783           Add brain-dead unit test.
8784
8785 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8786
8787         Patch by: Jeroen Wouters <woutersj at gmail com>
8788
8789         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8790           Treat protocol strings in a case-insensitive way (#437563).
8791
8792 2007-05-11  Michael Smith <msmith@fluendo.com>
8793
8794         * gst/gstplugin.c: (gst_plugin_load_file):
8795         * gst/gstregistry.c: (gst_registry_scan_path_level):
8796           Don't print a g_warning for any failure to load a shared object.
8797           Instead, push this down into gstplugin.c, and warn _only_ if we
8798           failed to open the module (i.e. failure to link).
8799           Avoids warnings on normal, working, non-plugin .so files.
8800
8801 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8802
8803         * gst/gstplugin.c (gst_plugin_load_file):
8804         * gst/gstregistry.c (GST_CAT_DEFAULT,
8805           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8806           Print a g_warning if there was an error when loading a plugins during
8807           registry scan. The shuld help beginners starting with gst-plugin
8808           template.
8809
8810 2007-05-10  Wim Taymans  <wim@fluendo.com>
8811
8812         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8813         (update_time_level), (gst_queue_locked_flush),
8814         (gst_queue_handle_sink_event), (gst_queue_chain),
8815         (gst_queue_push_one), (gst_queue_loop):
8816         * plugins/elements/gstqueue.h:
8817         Be smarter when calculating the current amount of data in the queue by
8818         measuring the difference between start and end timestamps (in running
8819         time) inside the queue. Fixes #432876.
8820         API: GstQueue::pushing to notify elements that we are pushing data again
8821         since the running signal is rather broken for this purpose.
8822
8823 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8824
8825         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8826           gst_queue_base_init, gst_queue_init):
8827           use GST_BOILERPLATE
8828
8829 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8830
8831         * win32/common/libgstreamer.def:
8832         Add new exported functions.
8833         * win32/vs6/grammar.dsp:
8834         Use grammar pre-generated files.
8835
8836 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8837
8838         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8839
8840         * gst/Makefile.am:
8841         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8842         * gst/gstparse.h:
8843         * gst/gstutils.c: (gst_parse_bin_from_description):
8844         * gst/gstutils.h:
8845           Maintain API and ABI when --disable-parse is used. Now that
8846           we have an appropriate error code, we can just return NULL and the
8847           appropriate error when gst_parse_launch() is used despite it having
8848           been disabled (#342564).
8849
8850         * tests/check/Makefile.am:
8851         * tests/check/pipelines/.cvsignore:
8852         * tests/check/pipelines/parse-disabled.c:
8853           Make sure these functions exist and return NULL plus a GError when
8854           --disable-parse is used.
8855
8856 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8857
8858         * tests/benchmarks/complexity.c: (main):
8859         * tests/benchmarks/mass-elements.c: (main):
8860           Set a good example and don't leak messages.
8861
8862 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8863
8864         * docs/gst/Makefile.am:
8865         * docs/libs/Makefile.am:
8866           Correct fixxrefs options.
8867
8868         * docs/plugins/Makefile.am:
8869         * docs/plugins/gstreamer-plugins-docs.sgml:
8870         * docs/plugins/gstreamer-plugins-sections.txt:
8871         * plugins/elements/Makefile.am:
8872         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8873         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8874           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8875           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8876           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8877           _GstCapsFilterClass, trans_class):
8878         * plugins/elements/gstelements.c (name, rank, type, _elements):
8879         * plugins/elements/gstidentity.c
8880           (gst_identity_check_imperfect_timestamp,
8881           gst_identity_check_imperfect_offset):
8882           Document capsfilter and add doc-blurb to identity.
8883
8884 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8885
8886         * libs/gst/controller/gstcontroller.c:
8887         (gst_controlled_property_set_interpolation_mode):
8888         * libs/gst/controller/gstinterpolation.c:
8889           Don't crash if someone tries to set an interpolation mode that
8890           is invalid or that isn't supported yet. Fixes #422295.
8891
8892         * tests/check/libs/controller.c: (GST_START_TEST),
8893         (gst_controller_suite):
8894           Add a test case for the above.
8895
8896 2007-05-03  Edward Hervey  <edward@fluendo.com>
8897
8898         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8899         Properly set the last_stop position on GstSegment. This will only happen
8900         if there is a buffer to push out.
8901
8902 2007-05-03  Wim Taymans  <wim@fluendo.com>
8903
8904         * libs/gst/base/gstbasetransform.c:
8905         (gst_base_transform_buffer_alloc):
8906         always_in_place does not mean that the sink and source caps are the
8907         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8908
8909 2007-05-03  Wim Taymans  <wim@fluendo.com>
8910
8911         * docs/libs/gstreamer-libs-sections.txt:
8912         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8913         (gst_base_src_default_query), (gst_base_src_get_range):
8914         * libs/gst/base/gstbasesrc.h:
8915         API: gst_base_src_query_latency(). Added method so that subclasses can
8916         easily get the latency values of the base source class.
8917
8918 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8919
8920         * tools/gst-inspect.c (print_implementation_info):
8921         Remove 0.8 cruft.
8922
8923 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8924
8925         * tools/Makefile.am:
8926         * tools/gst-launch.1.in:
8927           Don't create a customised man page based on the host architecture,
8928           describe the default registry path generically. That way the man
8929           page is the same for all architectures and packagers have one
8930           multilib issue less to deal with. Fixes #434926.
8931
8932 2007-05-02  Wim Taymans  <wim@fluendo.com>
8933
8934         * gst/gstpad.c:
8935         Fix documentation as spotted by rg on IRC. 
8936
8937 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8938
8939         * gst/gstutils.c:
8940           Improve docs for gst_element_{link,unlink}.
8941
8942 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8943
8944         * docs/design/part-events.txt:
8945         * docs/design/part-overview.txt:
8946         * gst/gstevent.c:
8947         * gst/gsturi.c:
8948         * gst/gsturi.h:
8949         * libs/gst/base/gstbasesink.c:
8950           Typo fixes; minor docs addition.
8951
8952 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8953
8954         * docs/gst/gstreamer-sections.txt:
8955         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8956         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8957         * gst/gsturi.h:
8958         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8959         or src that supports a given URI protocol exists.
8960
8961 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8962
8963         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8964         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8965         Set the location to NULL if "file://" is set as URI. Otherwise
8966         some random previous URI would still be set if "file://" is
8967         set on an already used filesink/filesrc.
8968
8969 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8970
8971         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8972         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8973         Special case the "file://" URI as as this is used by some
8974         applications to test with gst_element_make_from_uri if there's
8975         an element that supports the URI protocol.
8976         Also move the g_path_is_absolute() check for the location part
8977         of the URI to also check this for "file://localhost/bla" URIs.
8978
8979 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8980
8981         * docs/gst/gstreamer-sections.txt:
8982         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8983         * gst/gstbuffer.h:
8984         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8985         (gst_buffer_suite):
8986           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8987
8988 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8989
8990         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8991         (gst_registry_binary_load_pad_template),
8992         (gst_registry_binary_load_plugin),
8993         (gst_registry_binary_read_cache):
8994         * gst/gstregistrybinary.h:
8995           Implement no-mmap alternative for registry reading. Do code cleanups.
8996           Add more comments about avoiding strdups for all text data. Comments
8997           welcome.
8998
8999 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9000
9001         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9002           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9003           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9004           Comment structs and reformat to fix the build (that stuff should go
9005           into a priv. header).
9006
9007 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9008
9009         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9010         (gst_registry_binary_load_feature):
9011         * gst/gstregistrybinary.h:
9012           Refactor so that we can implement multiple features. Add support for
9013           TypeFindFactory features.
9014
9015 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9016
9017         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9018
9019         * configure.ac:
9020           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9021
9022 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9023
9024         * gst/gstbin.c: (gst_bin_element_set_state),
9025         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9026         (bin_handle_async_done), (gst_bin_handle_message_func):
9027           Fix build with --gst-disable-gst-debug
9028
9029 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9030
9031         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9032           Make sure streaming has finished before calling the ::stop() vfunc,
9033           since that vfunc might clear state which is being used in the
9034           streaming thread. This fixes a race that caused crashes in
9035           audioresample when shutting down a pipeline (#420106).
9036
9037 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9038
9039         * docs/gst/gstreamer-sections.txt:
9040           That was one byte missing.
9041
9042 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9043
9044         * configure.ac:
9045         * docs/gst/gstreamer-sections.txt:
9046         * gst/Makefile.am:
9047         * gst/gstconfig.h.in:
9048         * gst/gstobject.c: (gst_object_class_init),
9049         (gst_signal_object_class_init):
9050         * gst/gstobject.h:
9051           2nd attempt to have a xml-less build as a joined effort of #413123
9052           and #421480.
9053
9054 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9055
9056         * docs/design/draft-tagreading.txt:
9057           Added open issues/thoughts to draft.
9058
9059 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9060
9061         * gst/parse/grammar.tab.pre.c:
9062         * gst/parse/grammar.tab.pre.h:
9063         * gst/parse/lex._gst_parse_yy.pre.c:
9064         Update the prebuild parser sources.
9065
9066 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9067
9068         * gst/parse/Makefile.am:
9069         And now fix the building of the flex sources. Now everything should
9070         work as expected.
9071
9072 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9073
9074         * gst/parse/Makefile.am:
9075         Now hopefully fix the build failures by setting proper rule
9076         dependencies and moving instead of copying.
9077
9078 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9079
9080         * tests/benchmarks/complexity.gnuplot:
9081         * tests/benchmarks/complexity.scm:
9082         * tests/benchmarks/mass-elements.gnuplot:
9083         * tests/benchmarks/mass-elements.scm:
9084           Total licensification.
9085
9086 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9087
9088         * gst/parse/Makefile.am:
9089           Fix the build by correcting the rule that gave wrong files to flex.
9090
9091 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9092
9093         * tests/benchmarks/complexity.c:
9094         * tests/benchmarks/mass-elements.c:
9095           Change licence to LGPL as granted by Benjamin and Andy.
9096
9097 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9098
9099         * gst/parse/Makefile.am:
9100         Add correct grammar.tab.h dependency if compiling without new enough
9101         flex. Fixes #431150.
9102
9103 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9104
9105         * gst/parse/Makefile.am:
9106         Fix typo and use outdated sources if the flex/bison sources are newer
9107         than the pregenerated ones but flex is too old. Print a warning in
9108         that case. This should fix the build on the build bot.
9109
9110 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9111
9112         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9113         * gst/parse/Makefile.am:
9114         * gst/parse/grammar.y:
9115         * gst/parse/parse.l:
9116         Make the parser reentrant and recursively callable. This requires flex
9117         >= 2.5.31, for older versions pregenerated sources are used as we
9118         can't bump the build dependency. Finally fixes #349180.
9119
9120         * gst/gstparse.c: (gst_parse_launch):
9121         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9122         now anyway.
9123
9124         * docs/gst/Makefile.am:
9125         * docs/gst/Makefile.am:
9126         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9127         (__gst_parse_strfree), (__gst_parse_link_new),
9128         (__gst_parse_link_free), (__gst_parse_chain_new),
9129         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9130         (gst_parse_element_set), (gst_parse_free_link),
9131         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9132         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9133         (_gst_parse_launch):
9134         * gst/parse/grammar.tab.pre.h:
9135         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9136         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9137         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9138         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9139         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9140         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9141         (_gst_parse_yypop_buffer_state),
9142         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9143         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9144         (yy_fatal_error), (_gst_parse_yyget_extra),
9145         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9146         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9147         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9148         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9149         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9150         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9151         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9152         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9153         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9154         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9155         (_gst_parse_yyfree):
9156         If the installed flex version is too old use pre-generated parser
9157         sources. These pre-generated parser sources are always updated when
9158         the actual flex/bison sources change but require everybody who wants
9159         to change something in the parser to have flex >= 2.5.31 installed.
9160
9161 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9162
9163         * common/m4/gst-gettext.m4:
9164         * gst/gst-i18n-lib.h:
9165           Make --disable-nls to work
9166
9167 2007-04-17  Wim Taymans  <wim@fluendo.com>
9168
9169         * gst/gstconfig.h.in:
9170         Revert previous change that broke the build.
9171
9172 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9173
9174         * configure.ac:
9175         * gst/Makefile.am:
9176         * gst/gstconfig.h.in:
9177           Drop libxml2 dependency when building with 
9178           --enable-binary-registry --disable-loadsave
9179
9180 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9181
9182         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9183         (gst_registry_binary_read_cache):
9184         * gst/gstregistrybinary.h:
9185           Remove unnecessary <sys/mman.h> include which broke the win32 build
9186           with MingW; move includes from header file to .c file, even if the
9187           header file isn't installed; use g_strerror() where UTF-8 strings
9188           are expected, such as in GST_DEBUG messages.
9189
9190 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9191
9192         * docs/libs/gstreamer-libs-sections.txt:
9193         Remove bogus addition for API I didn't end up keeping.
9194
9195         * libs/gst/base/gstbasesrc.h:
9196         Mention Since: 0.10.13 in the documentation.
9197
9198         Add the API keyword to the previous ChangeLog entry.
9199
9200 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9201
9202         * docs/libs/gstreamer-libs-sections.txt:
9203         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9204         (gst_base_src_default_prepare_seek_segment),
9205         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9206         * libs/gst/base/gstbasesrc.h:
9207         Allow basesrc derived classes to execute seeks in other formats
9208         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9209         to prepare the GstSegment in any format that their perform_seek method
9210         will be able to understand. The default implementation provides the
9211         old behaviour of attempting to convert the seek offsets to the 
9212         configured native format.
9213
9214         API: basesrc::prepare_seek_segment vmethod.
9215
9216 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9217
9218         * gst/gstelement.c: (gst_element_get_state_func):
9219         Don't output the same debug statement twice.
9220
9221         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9222         (gst_adapter_peek), (gst_adapter_take_buffer):
9223         Optimise the case where we have buffers at the head of the queue that
9224         can be joined quickly (because they're contiguous sub-buffers) by
9225         merging them together rather than copying data out into new memory.
9226
9227         * gst/parse/grammar.y:
9228         * tests/check/pipelines/parse-launch.c:
9229         Fix a leak in an error path for parse_launch, and add a check 
9230         for it to the testsuite.
9231
9232 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9233
9234         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9235           Don't deadlock when releasing a pad - gst_pad_set_active may try
9236           and take the multiqueue lock too.
9237
9238 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9239
9240         * gst/gsterror.c: (_gst_core_errors_init):
9241         * gst/gsterror.h:
9242           API: add GST_CORE_ERROR_DISABLED (#392804).
9243
9244 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9245
9246         * docs/faq/gst-uninstalled:
9247           don't get empty paths on the PATH variables
9248         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9249           Don't format for the uncommon terminal width of 84 characters.
9250
9251 2007-04-06  Wim Taymans  <wim@fluendo.com>
9252
9253         * gst/gstpipeline.c: (reset_stream_time),
9254         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9255         Only try to select a different pipeline clock when we went back to
9256         PAUSED and not when we merely got flushed.
9257
9258 2007-04-05  Michael Smith  <msmith@fluendo.com>
9259
9260         * tools/gst-launch.1.in:
9261           fractions are better supported in gstreamer than ractions, so
9262           suggest using those.
9263
9264 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9265
9266         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9267
9268         * po/LINGUAS:
9269         * po/da.po:
9270           Added Danish translation.
9271
9272 2007-04-05  Wim Taymans  <wim@fluendo.com>
9273
9274         * libs/gst/base/gstbasesink.c:
9275         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9276         Fix leak caused when refusing newsegment after EOS.
9277
9278         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9279         (gst_fake_sink_init), (gst_fake_sink_set_property),
9280         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9281         (gst_fake_sink_render), (gst_fake_sink_change_state):
9282         * plugins/elements/gstfakesink.h:
9283         Add num-buffers property to make the element generate EOS after a
9284         configurable amount of buffers.
9285         API: fakesink::num-buffers property.
9286
9287         * tests/check/elements/fakesink.c: (GST_START_TEST),
9288         (fakesink_suite):
9289         Fix GstBus leak in test.
9290         Test for fakesink num-buffers.
9291
9292 2007-04-05  Wim Taymans  <wim@fluendo.com>
9293
9294         * libs/gst/base/gstbasesink.c:
9295         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9296         (gst_base_sink_change_state):
9297         Don't accept anything after an EOS, return UNEXPECTED instead.
9298
9299         * tests/check/elements/fakesink.c: (GST_START_TEST),
9300         (fakesink_suite):
9301         Unit test for new EOS behaviour.
9302
9303 2007-04-05  Wim Taymans  <wim@fluendo.com>
9304
9305         * gst/gstelement.c: (gst_element_get_request_pad):
9306         Make padtemplates also work when they don't contain %s or %d.
9307
9308 2007-04-05  Wim Taymans  <wim@fluendo.com>
9309
9310         * docs/gst/gstreamer-sections.txt:
9311         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9312         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9313         * gst/gstclock.h:
9314         Improve _adjust_unlocked() so that it overflows less.
9315         Add gst_clock_unadjust_unlocked to convert from external time to
9316         internal time based on calibration.
9317         Add some more debug.
9318         API: GstClock::gst_clock_unadjust_unlocked()
9319
9320 2007-04-03  Wim Taymans  <wim@fluendo.com>
9321
9322         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9323
9324         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9325         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9326         when releasing sink pad. Fixes #425400.
9327
9328 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9329
9330         * docs/random/ensonic/dynlink.txt:
9331           More work on proposal for new core api.
9332
9333         * docs/libs/gstreamer-libs-sections.txt:
9334         * libs/gst/base/gstbasetransform.h:
9335           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9336           
9337         * libs/gst/controller/gstcontroller.c:
9338         (on_object_controlled_property_changed),
9339         (gst_controller_sync_values),
9340         (gst_controller_set_interpolation_mode):
9341         * libs/gst/controller/gstcontroller.h:
9342           Less verbose logging add docs for unimplemented parts and correctly
9343           return when using unavailable parts.
9344
9345 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9346
9347         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9348         Move all the debug to the CLOCK category, and associate it with
9349         the clock object.
9350
9351 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9352
9353         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9354         Make take_buffer a bit quicker by removing redundant checks
9355         caused by calling gst_adapter_take.
9356
9357 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9358
9359         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9360           Don't leak GCond.
9361
9362         * tests/check/Makefile.am:
9363         * tests/check/elements/.cvsignore:
9364         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9365         (GST_START_TEST), (multiqueue_suite):
9366           Add some dead simple unit tests for the 'multiqueue' element
9367           (some bits don't work yet and are disabled for now).
9368
9369 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9370
9371         * gst/gstelement.c: (gst_element_get_request_pad),
9372         (gst_element_class_get_request_pad_template):
9373           Make gst_element_get_request_pad() create request pads only for
9374           request pad templates and not for, say, sometimes pad templates.
9375
9376 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9377
9378         * docs/design/draft-klass.txt:
9379           Add example that needs more thinking.
9380         
9381         * docs/design/draft-missing-plugins.txt:
9382           More thoughts about wrapper plugins.
9383         
9384         * docs/random/ensonic/embedded.txt:
9385         * docs/random/ensonic/profiling.txt:
9386           More design work.
9387
9388 2007-03-25  Wim Taymans  <wim@fluendo.com>
9389
9390         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9391         (gst_base_src_loop):
9392         Only push the segment events in the PLAYING state for live sources.
9393
9394 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9395
9396         * gst/gstpipeline.c: (gst_pipeline_change_state):
9397         Modify the clock distribution path in PAUSED->PLAYING so that we 
9398         never attempt to choose a new clock unless we're actually leaving
9399         the PAUSED state for the first time. This prevents choosing a
9400         different clock when the state_change gets called for a 2nd time due
9401         to some element doing an async state change.
9402
9403 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9404
9405         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9406         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9407         (gst_pad_chain_unchecked), (gst_pad_push):
9408         Revert last commit. This needs some more thoughts.
9409
9410 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9411
9412         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9413         (gst_pad_chain_unchecked), (gst_pad_push):
9414         Check in set_caps if the caps are compatible with the pad and remove
9415         two functions that are redundant now. Fixes #421543.
9416
9417 2007-03-22  Wim Taymans  <wim@fluendo.com>
9418
9419         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9420         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9421         Unref some more to make valgrind happy.
9422
9423 2007-03-22  Wim Taymans  <wim@fluendo.com>
9424
9425         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9426         (gst_system_clock_id_wait_jitter),
9427         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9428         Fix anoying regression that survived a few releases. When adding an
9429         async entry while blocking on a sync entry, the sync entry will unblock
9430         but still be busy, so it should continue to wait instead of returning
9431         _BUSY to the app.
9432         Add some comments here and there.
9433
9434         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9435         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9436         Add testcase for this.
9437
9438 2007-03-22  Wim Taymans  <wim@fluendo.com>
9439
9440         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9441         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9442         WRONG_STATE and can silently pause the task. All other cases should
9443         error out.
9444
9445 2007-03-22  Wim Taymans  <wim@fluendo.com>
9446
9447         Patch by: Ville Syrjala <syrjala at sci dot fi>
9448
9449         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9450         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9451         Improve debugging.
9452
9453 2007-03-21  Michael Smith  <msmith@fluendo.com>
9454
9455         * docs/pwg/advanced-types.xml:
9456           Fix some errors in the typefinding docs pointed out on irc.
9457
9458 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9459
9460         * libs/gst/base/gstbasesrc.c:
9461         Clarify FIXME comment in the face of having added unlock_stop()
9462
9463 2007-03-21  Wim Taymans  <wim@fluendo.com>
9464
9465         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9466         Prepare for release where we warn against possible app breakage in the
9467         case of live pipelines along with an env var to enable/disable live
9468         preroll mode (GST_COMPAT=[no-]live-preroll).
9469
9470 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9471
9472         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9473         So we should use correct constants for checking for None offset.
9474
9475 2007-03-20  Wim Taymans  <wim@fluendo.com>
9476
9477         * docs/design/part-block.txt:
9478         Mention the fact that the newly switched element should be set to at
9479         least PAUSED.
9480
9481 2007-03-20  Wim Taymans  <wim@fluendo.com>
9482
9483         * gst/gst.c:
9484         Fix compilation with registry disabled as spotted by Saur.
9485
9486 2007-03-20  Wim Taymans  <wim@fluendo.com>
9487
9488         Patch by: Olivier Crete <tester at tester dot ca>
9489
9490         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9491         Look at the pending state too when syncing the element state to the
9492         parent. Fixes #420133.
9493
9494 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9495
9496         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9497         (gst_base_sink_change_state):
9498         * libs/gst/base/gstbasesink.h:
9499         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9500         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9501         (gst_base_src_deactivate):
9502         * libs/gst/base/gstbasesrc.h:
9503         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9504         for sub-classes to correctly clear any state they set trying to
9505         unlock, such as clearing out unlock commands from a command fd.
9506         API: basesrc::unlock_stop
9507         API: basesink::unlock_stop
9508
9509         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9510         (gst_fd_sink_render), (gst_fd_sink_unlock),
9511         (gst_fd_sink_unlock_stop):
9512         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9513         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9514         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9515
9516         Implement unlock_stop in fdsrc and fdsink.
9517         Implement seeking in fdsrc when a seekable fd is passed, as in
9518         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9519
9520 2007-03-19  Wim Taymans  <wim@fluendo.com>
9521
9522         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9523
9524         * gst/gstelement.c: (gst_element_class_init):
9525         Fix pad-added and pad-removed signal signatures so that the pad type is
9526         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9527
9528 2007-03-19  Wim Taymans  <wim@fluendo.com>
9529
9530         * docs/gst/gstreamer-sections.txt:
9531         Add new element field and method.
9532
9533         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9534         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9535         (gst_bin_recalc_state), (gst_bin_get_state_func),
9536         (gst_bin_element_set_state), (gst_bin_change_state_func),
9537         (gst_bin_continue_func), (bin_bus_handler),
9538         (bin_push_state_continue), (bin_handle_async_start),
9539         (bin_handle_async_done), (gst_bin_handle_message_func):
9540         Make async state changes a bit smarter by using new ASYNC_START and
9541         ASYNC_DONE messages. This reduces the number of times we run the state
9542         recalculation thread.
9543         Don't change state of element with a pending ASYNC_START message.
9544         Deprecate STATE_DIRTY messages.
9545         
9546         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9547         (gst_element_get_state_func), (gst_element_continue_state),
9548         (gst_element_lost_state), (gst_element_set_state_func),
9549         (gst_element_change_state):
9550         * gst/gstelement.h:
9551         Keep the state that was last set by the app in a new element field.
9552         Don't allow state changes when handling an element event.
9553         Post ASYNC_START and ASYNC_DONE messages.
9554         Change lost_state so that we go to PAUSED and wait for the parent to set
9555         us to PLAYING again (so latency calculation can be performed)
9556         Export gst_element_change_state() method so that subclasses can use it.
9557         API: gst_element_change_state()
9558         API: GST_STATE_TARGET
9559
9560         * gst/gstpipeline.c: (gst_pipeline_class_init),
9561         (reset_stream_time), (gst_pipeline_change_state),
9562         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9563         Using the new ASYNC_START message we can reset the base_time when
9564         needed. This can then be used to implement base_time redistribution in
9565         flushing seeks so that we can remove the explicit seek handling.
9566         Perform latency query and configuration when going to PLAYING.
9567
9568         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9569         (gst_base_sink_query), (gst_base_sink_change_state):
9570         Post new ASYNC_START/ASYNC_DONE messages.
9571
9572         * tests/check/generic/sinks.c: (GST_START_TEST):
9573         Fix test because the bin will not set the async element to PLAYING right
9574         away.
9575
9576         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9577         Make the message check a little stronger.
9578         Handle ASYNC messages.
9579
9580         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9581         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9582         Expect ASYNC_DONE messages.
9583
9584 2007-03-19  Wim Taymans  <wim@fluendo.com>
9585
9586         * docs/gst/gstreamer-sections.txt:
9587         * gst/gstmessage.c: (gst_message_new_async_start),
9588         (gst_message_new_async_done), (gst_message_parse_info),
9589         (gst_message_parse_async_start):
9590         * gst/gstmessage.h:
9591         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9592         support.
9593
9594 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9595
9596         * tools/gst-inspect.c:
9597         (print_plugin_automatic_install_info_codecs):
9598           Now that we don't check for the 'Codec' keyword any longer in the
9599           klass, we shouldn't spew a warning if the klass isn't a decoder or
9600           encoder (since it might be a Source/Network, for example).
9601
9602 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9603
9604         * tools/gst-inspect.c:
9605         (print_plugin_automatic_install_info_codecs):
9606           Don't require decoder/demuxer/depayloader elements or
9607           encoder/muxer/paylader elements to have 'Codec' as part of their
9608           factory class string when introspecting a plugin's capabilities.
9609           draft-klass.txt mentions that it might be removed in future, and
9610           flump3dec doesn't have it as part of its class string, so chances
9611           are others might also not have it.
9612
9613 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9614
9615         * po/af.po:
9616         * po/az.po:
9617         * po/bg.po:
9618         * po/ca.po:
9619         * po/cs.po:
9620         * po/de.po:
9621         * po/en_GB.po:
9622         * po/fr.po:
9623         * po/it.po:
9624         * po/nb.po:
9625         * po/nl.po:
9626         * po/ru.po:
9627         * po/sq.po:
9628         * po/sr.po:
9629         * po/sv.po:
9630         * po/tr.po:
9631         * po/uk.po:
9632         * po/vi.po:
9633         * po/zh_CN.po:
9634         * po/zh_TW.po:
9635           Update translations from translation project
9636
9637 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9638
9639         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9640         (gst_child_proxy_set_property):
9641           Invert precondition check to be alike the ones in the mimiced gobject
9642           api.
9643
9644 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9645
9646         * docs/design/draft-tagreading.txt:
9647         * docs/random/ensonic/audiobaseclasses.txt:
9648           Do some Architect work.
9649
9650         * gst/gstobject.c: (gst_object_set_name):
9651           Add a WARNING.
9652
9653         * gst/gstpad.c:
9654           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9655
9656 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9657
9658         * gst/gstsystemclock.c: (gst_system_clock_init),
9659         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9660         Defer starting the async system clock thread until the first async
9661         wait is scheduled. Fixes #414986.
9662
9663 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9664
9665         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9666         (gst_single_queue_free):
9667           Fix small leak (free GstSingleQueue structure too, not only contents).
9668
9669 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9670
9671         * gst/gstbin.c:(gst_bin_add):
9672         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9673         * win32/common/libgstbase.def:
9674         * win32/common/libgstreamer.def:
9675         Add new exported functions.
9676
9677 2007-03-09  Wim Taymans  <wim@fluendo.com>
9678
9679         * docs/plugins/gstreamer-plugins-sections.txt:
9680         Fix GstTee docs.
9681
9682 2007-03-09  Wim Taymans  <wim@fluendo.com>
9683
9684         * docs/gst/gstreamer-sections.txt:
9685         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9686         * gst/gstbuffer.h:
9687         Add metadata copy functions. Fixes #393099.
9688         API: gst_buffer_copy_metadata()
9689
9690         * gst/gstutils.c: (gst_buffer_stamp):
9691         * libs/gst/base/gstbasetransform.c:
9692         (gst_base_transform_prepare_output_buffer):
9693         Use new metadata copy functions.
9694
9695 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9696
9697         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9698         (gst_identity_init), (gst_identity_check_perfect),
9699         (gst_identity_check_imperfect_timestamp),
9700         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9701         (gst_identity_set_property), (gst_identity_get_property):
9702         * plugins/elements/gstidentity.h:
9703         Separate out check-imperfect-timestamp and check-imperfect-offset.
9704         Put back check-perfect as it was to keep compatibility.
9705
9706 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9707
9708         * gst/gstelement.c: (gst_element_dispose):
9709         There's no need to warn if VOID_PENDING is not NONE here, as
9710         long as the state is NULL it's ok, and that's checked immediately
9711         above.
9712
9713 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9714
9715         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9716         Fix check for perfect stream to ignore buffers with -1 
9717         offsets/offset ends when checking data contiguity.
9718
9719 2007-03-08  Wim Taymans  <wim@fluendo.com>
9720
9721         * tools/gst-launch.c: (event_loop):
9722         Print INFO messages.
9723
9724 2007-03-08  Wim Taymans  <wim@fluendo.com>
9725
9726         * libs/gst/base/gstbasetransform.c:
9727         (gst_base_transform_sink_eventfunc),
9728         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9729         (gst_base_transform_activate):
9730         * libs/gst/base/gstbasetransform.h:
9731         Add support for dropping buffers with custom GstFlowReturn.
9732         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9733         buffers or dropped buffers.
9734
9735         * docs/libs/gstreamer-libs-sections.txt:
9736         docs for new custom return code.
9737
9738         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9739         Use drop support in base class to implement drop-probability.
9740
9741 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9742
9743         * gst/gst.c: (load_plugin_func):
9744         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9745         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9746         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9747           Remove newlines at end of debug log strings.
9748
9749 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9750
9751         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9752         Only post bus message at max, once per buffer received.
9753
9754 2007-03-07  Wim Taymans  <wim@fluendo.com>
9755
9756         * docs/design/Makefile.am:
9757         * docs/design/part-synchronisation.txt:
9758         Add doc about synchronisation
9759
9760         * docs/design/draft-latency.txt:
9761         * docs/design/part-TODO.txt:
9762         * docs/design/part-clocks.txt:
9763         * docs/design/part-events.txt:
9764         * docs/design/part-gstbus.txt:
9765         * docs/design/part-gstpipeline.txt:
9766         * docs/design/part-live-source.txt:
9767         * docs/design/part-messages.txt:
9768         * docs/design/part-overview.txt:
9769         * docs/design/part-streams.txt:
9770         * docs/design/part-trickmodes.txt:
9771         Documentation updates.
9772
9773 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9774
9775         * gstreamer.doap:
9776         Update the doap file.
9777
9778 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9779
9780         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9781         Rename non-perfect to imperfect for Mike and for the sanctity of the
9782         language.
9783         Also make sure bus message gets emitted for data-incontiguities.
9784
9785 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9786
9787         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9788         (gst_identity_start):
9789         * plugins/elements/gstidentity.h:
9790         Emit bus message if check-perfect is true and we encounter a
9791         non-perfect stream between 2 consecutive buffers.
9792         Fixes #415394.
9793
9794 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9795
9796         * configure.ac:
9797         Back to CVS
9798
9799 === release 0.10.12 ===
9800
9801 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9802
9803         * configure.ac:
9804           releasing 0.10.12, "Inevitable Demise"
9805
9806 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9807
9808         * configure.ac:
9809          Version 0.10.11.2 (0.10.12 pre-release)
9810          Bump libtool versioning.
9811
9812 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9813
9814         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9815           Log flow-names and not numbers.
9816
9817 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9818
9819         * configure.ac:
9820           Convert to new AG_GST style.
9821
9822 2007-02-28  Wim Taymans  <wim@fluendo.com>
9823
9824         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9825         Don't unref query twice.
9826
9827 2007-02-28  Wim Taymans  <wim@fluendo.com>
9828
9829         * gst/gstvalue.c: (gst_value_transform_object_string),
9830         (_gst_value_initialize):
9831         Implement GstObject -> string transform so we print object names
9832         when serializing GValues containing GstObjects.
9833
9834 2007-02-28  Wim Taymans  <wim@fluendo.com>
9835
9836         * docs/gst/gstreamer-sections.txt:
9837         Add new stuff to docs.
9838
9839 2007-02-28  Wim Taymans  <wim@fluendo.com>
9840
9841         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9842         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9843         (gst_base_sink_change_state):
9844         Improve latency query code.
9845         Don't leak latency events.
9846
9847         * tests/check/gst/gstbin.c: (GST_START_TEST):
9848         Improve debugging.
9849
9850 2007-02-28  Wim Taymans  <wim@fluendo.com>
9851
9852         * gst/gstelement.c: (gst_element_message_full),
9853         (gst_element_get_state_func):
9854         * gst/gstelement.h:
9855         Improve docs a little. Added Since: for new macro.
9856
9857         * gst/gstobject.c: (gst_object_sink):
9858         * gst/gstpipeline.c: (gst_pipeline_change_state),
9859         (gst_pipeline_set_new_stream_time):
9860         * gst/gstpipeline.h:
9861         Improve debugging and docs.
9862
9863         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9864         Improve debugging.
9865
9866 2007-02-28  Wim Taymans  <wim@fluendo.com>
9867
9868         * gst/gstelement.c: (gst_element_message_full),
9869         (gst_element_set_locked_state), (gst_element_get_state_func),
9870         (gst_element_change_state):
9871         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9872         Documentation updates.
9873         Small code cleanups.
9874
9875         * gst/gstmessage.c: (gst_message_new_info),
9876         (gst_message_parse_info):
9877         * gst/gstmessage.h:
9878         API: gst_message_new_info()
9879         API: gst_message_parse_info()
9880         Add INFO message create and parse code.
9881
9882 2007-02-28  Wim Taymans  <wim@fluendo.com>
9883
9884         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9885         (bin_query_latency_done):
9886         Also report the live parameter of a latency query.
9887
9888 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9889
9890         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9891           Copy the current generic/states example from -base and adapt so
9892           we can use the exact same code everywhere.
9893           Check a STATES_IGNORE_ELEMENTS env var which can be used
9894           to ignore certain element factories for this test, which is
9895           what is being done in -base
9896         * tests/check/Makefile.am:
9897           Mention this environment variable.
9898
9899 2007-02-27  Wim Taymans  <wim@fluendo.com>
9900
9901         * docs/gst/gstreamer-sections.txt:
9902         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9903         (gst_bus_timed_pop), (gst_bus_pop):
9904         * gst/gstbus.h:
9905         API: gst_bus_timed_pop()
9906         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9907         message to arrive on the bus.
9908
9909         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9910         (gst_bus_suite):
9911         Two unit tests for new _timed_pop() function.
9912
9913 2007-02-23  Wim Taymans  <wim@fluendo.com>
9914
9915         * gst/gstpipeline.c: (gst_pipeline_change_state),
9916         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9917         Don't ref a NULL clock in _provide_clock_func().
9918         Don't allow an INVALID delay.
9919         Don't try to calculate base_time with an invalid start_time.
9920         Also distribute and notify a NULL clock when it was selected.
9921
9922         * tools/gst-launch.c: (event_loop):
9923         Don't crash when a NULL clock was selected in the pipeline.
9924
9925 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9926
9927         * docs/design/Makefile.am:
9928         * docs/design/draft-missing-plugins.txt:
9929         * docs/random/draft-missing-plugins.txt:
9930           Some small updates: update plugin system identifier prefix
9931           ('gstreamer.net' to 'gstreamer'), mention our new install
9932           API in libgstbaseutils rather than libgimme-codec, add
9933           reference to the online docs.
9934
9935 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9936
9937         * win32/common/config.h:
9938           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9939           use moap cl ci to only check in what is mentioned in the ChangeLog.
9940
9941 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9942
9943         * docs/gst/gstreamer-sections.txt:
9944         * gst/gstelement.h:
9945           Fix up documentation to link to the correct GstGError section.
9946           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9947
9948 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9949
9950         * tools/gst-launch.c: (event_loop):
9951           Make sure that we actually show the important message part of a
9952           warning message.
9953           No need to check if the gerror is not NULL to free; first of all
9954           g_free accepts NULL; and second the default error handler would
9955           segfault if gerror was NULL.
9956
9957 2007-02-21  Wim Taymans  <wim@fluendo.com>
9958
9959         * docs/gst/gstreamer-sections.txt:
9960         Removed docs as well.
9961
9962 2007-02-21  Wim Taymans  <wim@fluendo.com>
9963
9964         * gst/gstmessage.c: (gst_message_parse_duration):
9965         * gst/gstmessage.h:
9966         Remove new messages for release.
9967
9968 2007-02-20  Wim Taymans  <wim@fluendo.com>
9969
9970         * docs/design/part-gstghostpad.txt:
9971         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9972         (gst_ghost_pad_new_full):
9973         Make the ghostpad a parent of the internal pad again for better backward
9974         compatibility. Don't write code that relies on this however.
9975
9976         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9977         (gst_pad_link_check_hierarchy):
9978         Require that parents should be GstElements in the hierarchy check.
9979
9980 2007-02-20  Wim Taymans  <wim@fluendo.com>
9981
9982         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9983         (gst_bin_change_state_func), (bin_query_min_max_init),
9984         (bin_query_latency_fold), (bin_query_latency_done),
9985         (gst_bin_query):
9986         Improve debug info.
9987         Implement latency query.
9988
9989 2007-02-20  Wim Taymans  <wim@fluendo.com>
9990
9991         * docs/design/part-gstghostpad.txt:
9992         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9993         (gst_ghost_pad_internal_do_activate_push),
9994         (gst_ghost_pad_internal_do_activate_pull),
9995         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9996         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9997         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9998         Do not set the internal pad as a parent anymore so we can avoid
9999         hierarchy linking errors when the ghostpad has no parent yet. This also
10000         fixes failed activation because of unlinked internal pads, which in
10001         turn fixes the impossible case where you have to activate a pad before
10002         you can add it to a running element.
10003         Also fix the docs.
10004
10005         * gst/gstpad.c: (pre_activate), (post_activate),
10006         (gst_pad_set_active), (gst_pad_activate_pull),
10007         (gst_pad_activate_push), (gst_pad_check_pull_range):
10008         Add some more debug info.
10009         Mark activation mode in pre_activate so that we don't try to activate in
10010         endless loops. Fixes #385084.
10011
10012 2007-02-19  Wim Taymans  <wim@fluendo.com>
10013
10014         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10015         (gst_base_transform_check_get_range):
10016         Implement a checkgetrange function instead of relying on the default
10017         core behaviour that assumes we can operate in pull mode if we have a
10018         getrange function. First step at fixing #385084.
10019
10020 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10021
10022         * gst/gstchildproxy.h:
10023         * libs/gst/base/gstbasesink.h:
10024         * libs/gst/base/gstbasesrc.h:
10025         * libs/gst/base/gstbasetransform.h:
10026         More docs coverage and some ChangeLog surgery (add missing names)
10027
10028 2007-02-15  Wim Taymans  <wim@fluendo.com>
10029
10030         * docs/design/part-TODO.txt:
10031         * docs/design/part-activation.txt:
10032         * docs/design/part-block.txt:
10033         * docs/design/part-buffering.txt:
10034         * docs/design/part-clocks.txt:
10035         * docs/design/part-element-source.txt:
10036         * docs/design/part-events.txt:
10037         * docs/design/part-gstbin.txt:
10038         * docs/design/part-gstbus.txt:
10039         * docs/design/part-gstpipeline.txt:
10040         * docs/design/part-live-source.txt:
10041         * docs/design/part-messages.txt:
10042         * docs/design/part-overview.txt:
10043         * docs/design/part-qos.txt:
10044         * docs/design/part-query.txt:
10045         * docs/design/part-states.txt:
10046         * docs/design/part-trickmodes.txt:
10047         Some doc updates. Start renaming from stream_time to running_time where
10048         it was used wrongly.
10049
10050 2007-02-15  Wim Taymans  <wim@fluendo.com>
10051
10052         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10053         Answer LATENCY query.
10054
10055 2007-02-15  Wim Taymans  <wim@fluendo.com>
10056
10057         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10058         (GST_START_TEST):
10059         Improve debugging.
10060
10061 2007-02-15  Wim Taymans  <wim@fluendo.com>
10062
10063         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10064         (gst_pad_dispatcher):
10065         Improve debugging of default pad dispatcher and query functions.
10066
10067 2007-02-15  Wim Taymans  <wim@fluendo.com>
10068
10069         * docs/gst/gstreamer-sections.txt:
10070         Remove old unused method.
10071
10072 2007-02-13  Wim Taymans  <wim@fluendo.com>
10073
10074         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10075         Fix check
10076
10077 2007-02-13  Wim Taymans  <wim@fluendo.com>
10078
10079         * docs/design/part-seeking.txt:
10080         Some small update.
10081
10082         * gst/gstsegment.c: (gst_segment_set_seek):
10083         Revert old bogus change that should make seeking work again.
10084
10085 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10086
10087         * docs/random/ensonic/dynlink.txt:
10088         * docs/random/ensonic/interfaces.txt:
10089         * docs/random/ensonic/receipies.txt:
10090           Possible dynamic reconnection api, plus some type fixes the other two
10091           docs.
10092
10093 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10094
10095         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10096         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10097         Also check for an absolute path following file:// in the filesrc
10098         element. Remove redundant check and call g_path_is_absolute() on the
10099         unescaped location.
10100
10101 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10102
10103         * docs/design/draft-klass.txt:
10104           Add existing category analysis.
10105           
10106         * gst/gstcaps.c:
10107           Fix doc example, framerate is a fraction.
10108
10109 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10110
10111         * configure.ac:
10112         * docs/gst/Makefile.am:
10113         * docs/gst/gstreamer-sections.txt:
10114         * docs/libs/Makefile.am:
10115           Erm, forgot a bunch of --extra-dir.
10116
10117 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10118
10119         * configure.ac:
10120         * docs/gst/Makefile.am:
10121         * docs/libs/Makefile.am:
10122         * docs/plugins/Makefile.am:
10123           Add crossreferences to glib/gobject docs.
10124
10125 2007-02-12  Wim Taymans  <wim@fluendo.com>
10126
10127         * docs/design/draft-latency.txt:
10128         Small update.
10129
10130         * docs/libs/gstreamer-libs-sections.txt:
10131         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10132         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10133         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10134         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10135         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10136         (gst_base_sink_get_position), (gst_base_sink_query),
10137         (gst_base_sink_change_state):
10138         * libs/gst/base/gstbasesink.h:
10139         API: gst_base_sink_query_latency() to let subclasses query the upstream
10140         latency.
10141         API: gst_base_sink_get_latency() to let subclasses query the configured
10142         latency in the sink.
10143         Implement query and set latency.
10144         Update some docs.
10145         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10146         don't continue preroll when we are flushing. Fixes #405284.
10147
10148         * tests/check/pipelines/stress.c: (change_state_timeout),
10149         (quit_timeout), (GST_START_TEST), (stress_suite):
10150         Test for #405284.
10151
10152 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10153
10154         Patch by: René Stadler <mail at renestadler de>
10155
10156         * docs/gst/gstreamer-sections.txt:
10157         * gst/gsttaglist.c: (_gst_tag_initialize):
10158         * gst/gsttaglist.h:
10159           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10160
10161 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10162
10163         * docs/libs/Makefile.am:
10164           Fix path to core docs.
10165
10166         * gst/gstbin.c: (gst_bin_get_by_interface),
10167         (gst_bin_iterate_all_by_interface):
10168           Refix docs by also renaming 'interface' to 'iface' in implementation.
10169
10170         * docs/gst/gstreamer-sections.txt:
10171         * gst/gstcaps.c:
10172         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10173         * gst/gstchildproxy.h:
10174         * gst/gstelementfactory.c:
10175         * gst/gstpadtemplate.h:
10176         * libs/gst/controller/gstcontroller.c:
10177         (gst_controlled_property_new):
10178           Document more.
10179
10180 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10181
10182         * gst/gstbin.h:(gst_bin_get_by_interface),
10183         (gst_bin_iterate_all_by_interface):
10184         Replace interface parameter name by iface as interface is 
10185         a reserved keyword in Visual Studio for C++ projects so it removes
10186         a build error for application developpers using VS.
10187         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10188         Fix a bug on Windows in uri format check. Now the prefix checked
10189         is file:// and next we check if the path after file:// is absolute.
10190         * win32/common/libgstbase.def:
10191         * win32/common/libgstdataprotocol.def:
10192         * win32/common/libgstgstreamer.def:
10193         Add new exported functions.
10194
10195 2007-02-09  Andy Wingo  <wingo@pobox.com>
10196
10197         * tests/check/pipelines/simple-launch-lines.c
10198         (simple_launch_lines_suite, test_tee): Disable tee test until I
10199         have time to fix it :-(
10200
10201         * tests/check/Makefile.am (noinst_HEADERS): 
10202         * tests/check/libs/libsabi.c: 
10203         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10204         * tests/check/gst/gstabi.c: 
10205         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10206
10207         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10208         tests for push and pull tee behavior.
10209
10210         * plugins/elements/gsttee.h: 
10211         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10212         mark as deprecated as well as unimplemented. It was a crack idea.
10213         Add support for tee operating in pull mode, off by default.
10214
10215         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10216         normal-case logs down to LOG, raise errors to WARNING.
10217         (gst_registry_xml_read_cache): Don't log before calling a function
10218         that logs.
10219
10220         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10221         exit (registry finalize).
10222         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10223         DEBUG log when we emit signals that people don't even have the
10224         chance to connect to.
10225         (gst_registry_scan_path_level): Less logging in the normal case.
10226
10227 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10228
10229         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10230
10231         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10232         Correctly generate EOS for non-seekable files. We don't have a total
10233         length for them and would get an unexpected end of file if we only
10234         special-cased for regular files. (Fixes: #404569)
10235
10236 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10237
10238         * tests/check/elements/filesrc.c: (GST_START_TEST),
10239         (filesrc_suite):
10240         Add unit test for the GstURIHandler interface in filesrc. This also
10241         tests the newly added file://localhost/foo/bar support.
10242
10243 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10244
10245         * gst/gstelementfactory.h:
10246           The klass string is not a hierarchy. Add reference to the design doc
10247           for more information and common types.
10248
10249 2007-02-02  Wim Taymans  <wim@fluendo.com>
10250
10251         * gst/gstquery.c: (gst_query_new_latency):
10252         Remove old structure field.
10253
10254 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10255
10256         * tools/gst-launch.1.in:
10257           Give example for network streaming (#351998)
10258
10259 2007-02-02  Wim Taymans  <wim@fluendo.com>
10260
10261         * docs/gst/gstreamer-sections.txt:
10262         Add docs for new methods.
10263
10264         * gst/gstevent.c: (gst_event_new_latency),
10265         (gst_event_parse_latency):
10266         * gst/gstevent.h:
10267         Add new LATENCY event to configure latency in a pipeline.
10268         API: gst_event_new_latency
10269         API: gst_event_parse_latency
10270
10271         * gst/gstmessage.c: (gst_message_new_buffering),
10272         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10273         (gst_message_new_latency), (gst_message_parse_buffering),
10274         (gst_message_parse_lost_preroll):
10275         * gst/gstmessage.h:
10276         Added messages used in draft-latency.
10277         API: gst_message_new_lost_preroll
10278         API: gst_message_parse_lost_preroll
10279         API: gst_message_new_prerolled
10280         API: gst_message_new_latency
10281
10282         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10283         (gst_query_parse_latency):
10284         * gst/gstquery.h:
10285         Implemented new latency query as in design doc.
10286         API: gst_query_new_latency
10287         API: gst_query_set_latency
10288         API: gst_query_parse_latency
10289
10290 2007-02-02  Wim Taymans  <wim@fluendo.com>
10291
10292         * docs/design/draft-latency.txt:
10293         Slight redesign to allow for dynamic latency adjustments.
10294
10295         * docs/design/part-negotiation.txt:
10296         Fix some typos.
10297
10298 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10299
10300         reviewed by: Wim Taymans <wim@fluendo.com>
10301
10302         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10303         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10304         Allow file://localhost/foo/bar URLs and correctly fail for every other
10305         hostname that one sets. This was gnomevfssrc is linked for those if
10306         installed as it can handle it (#403172)
10307
10308 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10309
10310         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10311
10312         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10313         (unref_data), (gst_collect_pads_add_pad_full):
10314         * libs/gst/base/gstcollectpads.h:
10315         Don't put the previously added destroy notify in the GstCollectData
10316         struct as all it's padding is already used and we don't want to break
10317         ABI. Instead put in the pad's GObject data for now. This should be
10318         cleaned up for 0.11 (#402393).
10319
10320 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10321
10322         reviewed by: Wim Taymans <wim@fluendo.com>
10323
10324         * docs/libs/gstreamer-libs-sections.txt:
10325         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10326         (unref_data), (gst_collect_pads_add_pad),
10327         (gst_collect_pads_add_pad_full):
10328         * libs/gst/base/gstcollectpads.h:
10329         API: Add function to specify a destroy notification for custom
10330         GstCollectData when adding new pads in GstCollectPads (#402393).
10331
10332 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10333
10334         * po/sv.po:
10335           Update Swedish translation (#378255).
10336
10337 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10338
10339         * docs/design/draft-klass.txt:
10340           Fix the previous change, this is a list of categories and not a hierarchy.
10341
10342 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10343
10344         * docs/design/draft-klass.txt:
10345           Add info about how to get a list of used classes.
10346
10347 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10348
10349         * plugins/elements/gsttypefindelement.c:
10350         (gst_type_find_element_chain_do_typefinding),
10351         (gst_type_find_element_change_state):
10352           Don't leak found caps in chain function (no idea why that never
10353           showed up as a leak anywhere).
10354
10355 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10356
10357         * gst/gstplugin.h:
10358           Fix and expand GstPluginDesc API docs.
10359
10360 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10361
10362         * gst/gstcaps.c:
10363         * gst/gstelementfactory.c:
10364         * gst/gstpadtemplate.h:
10365           api doc fixes
10366
10367         * libs/gst/controller/gstcontroller.c:
10368         (gst_controlled_property_new):
10369         * tests/examples/controller/audio-example.c:
10370           comment fixes
10371
10372 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10373
10374         * configure.ac:
10375           comment about refining the xml deps
10376
10377         * docs/manuals.mak:
10378           comments about moving away from jade for docs
10379         
10380         * gst/gst.c:
10381           recommit the ifdefs to use the binary registry
10382         
10383         * gst/gstbin.c: (gst_bin_change_state_func):
10384           this break is obsolete
10385
10386         * gst/gstelementfactory.h:
10387           better GST_ELEMENT_DETAILS docs, add comment about translation
10388
10389         * gst/gstinfo.h:
10390           remove eol slash
10391
10392         * gst/gstobject.c: (gst_signal_object_get_type):
10393           add G_UNLIKELY as usual
10394
10395         * gst/gstpad.c: (gst_pad_event_default):
10396           add fall trhu comment
10397
10398         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10399         (gst_registry_binary_initialize_magic),
10400         (gst_registry_binary_save_string),
10401         (gst_registry_binary_save_pad_template),
10402         (gst_registry_binary_save_feature),
10403         (gst_registry_binary_save_plugin),
10404         (gst_registry_binary_write_cache),
10405         (gst_registry_binary_check_magic),
10406         (gst_registry_binary_load_pad_template),
10407         (gst_registry_binary_load_feature),
10408         (gst_registry_binary_load_plugin),
10409         (gst_registry_binary_read_cache):
10410           comment typo and formatting
10411
10412         * gst/gstutils.c: (gst_element_state_get_name),
10413         (gst_element_state_change_return_get_name):
10414           remove obsolete breaks
10415
10416         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10417           add FIXME 0.11 and remove cpp comment
10418
10419 2007-01-29  Edward Hervey  <edward@fluendo.com>
10420
10421         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10422         Fix print statement in an even more portable way.
10423
10424 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10425
10426         * docs/gst/gstreamer-sections.txt:
10427         * gst/gstutils.h:
10428           API: add GST_ROUND_DOWN_* macros (#401781).
10429
10430 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10431
10432         * docs/gst/gstreamer.types.in:
10433         * gst/gstregistry.c: (gst_registry_class_init):
10434           Document registry signals and make gtk-doc pick them up (#401381).
10435
10436 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10437
10438         * docs/pwg/building-testapp.xml:
10439           Add some audioconverts and audioresample to the pipeline, and some
10440           more comments and error handling.
10441
10442 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10443
10444         * docs/manual/manual.xml:
10445         * docs/pwg/pwg.xml:
10446           Fix typo (#400987).
10447
10448 2007-01-26  Wim Taymans  <wim@fluendo.com>
10449
10450         * gst/gstcaps.c: (gst_static_caps_get):
10451         Init caps flags too.
10452
10453 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10454
10455         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10456
10457         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10458         If not using mmap'ed files try to seek to the end instead of the
10459         start to determine whether we can seek at all. This fixes the case
10460         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10461         seeks for everything afterwards fail. Fixes #400656
10462
10463 2007-01-25  Wim Taymans  <wim@fluendo.com>
10464
10465         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10466         Add some refcount debugging.
10467         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10468         in multiple streaming threads.
10469
10470 2007-01-25  Wim Taymans  <wim@fluendo.com>
10471
10472         Patch by: David Schleef <ds at schleef dot org>
10473
10474         * docs/libs/gstreamer-libs-sections.txt:
10475         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10476         * libs/gst/base/gstadapter.h:
10477         API: gst_adapter_copy() that can reduce the amount of memcpy when
10478         getting data from the adapter. Fixes #388201.
10479
10480 2007-01-25  Edward Hervey  <edward@fluendo.com>
10481
10482         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10483         In print statements, "%x" is for guint. Fixes build on macosx.
10484
10485 2007-01-24  Edward Hervey  <edward@fluendo.com>
10486
10487         * plugins/elements/gstmultiqueue.c:
10488         (gst_multi_queue_loop):
10489         Small fix.
10490         (single_queue_overrun_cb), (single_queue_underrun_cb),
10491         (single_queue_check_full), (gst_single_queue_new):
10492         Implement single queue growth system.
10493         This uses the extra-size properties, and will grow single queues by
10494         that much if one goes full whereas there are others empty. This is
10495         called extra-mode in the code.
10496         When a single queue's levels go back below the initial max-size
10497         limits, it is no longer in extra-mode. This is to ensure we don't
10498         consume too much memory.
10499         Fixes #399875
10500
10501 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10502
10503         * gst/gst.c: (gst_init_get_option_group):
10504           Make warning about late g_thread_init() calls a bit more explicit,
10505           so that it's more obvious to application developers what they need
10506           to do if a user files a bug against their application.
10507
10508 2007-01-22  Edward Hervey  <edward@fluendo.com>
10509
10510         * plugins/elements/gstmultiqueue.c:
10511         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10512         Remove previous hack of unsetting the flushing flag for the source pad
10513         instead of activating it. Instead, fix the source pad activate function
10514         so that it no longer depends on having a parent set or not.
10515
10516 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10517
10518         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10519
10520         * docs/manual/basics-bus.xml:
10521           Fix example code, gst_element_unref() doesn't exist any longer.
10522
10523 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10524
10525         Patch by: Mark Nauwelaerts <manauw at skynet be>
10526
10527         * gst/gstpad.c:
10528           Fix two docs typoes (#399094).
10529
10530 2007-01-19  Edward Hervey  <edward@fluendo.com>
10531
10532         * docs/faq/gst-uninstalled:
10533         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10534         depending on libgstbaseutils can work in uninstalled environment.
10535
10536 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10537
10538         * gst/gsttaglist.h:
10539         * gst/gsttagsetter.c:
10540         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10541         statement for new tag.
10542
10543 2007-01-17  Edward Hervey  <edward@fluendo.com>
10544
10545         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10546         When dynamically creating single queues, activate sinkpad before adding
10547         it.
10548         We should be doing the same thing for the source pad, but we can't
10549         since it would call a method which needs the parent to be set in order
10550         to work propertly. Instead of activating the source pad, we just unset
10551         the flushing flag, which is the minimal requirement for adding a pad
10552         to an element in a state greater than READY.
10553
10554 2007-01-17  Edward Hervey  <edward@fluendo.com>
10555
10556         * docs/faq/gst-uninstalled:
10557         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10558         Mac OS X.
10559
10560 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10561
10562         * tests/check/gst/gstabi.c:
10563         * tests/check/gst/struct_hppa.h:
10564         * tests/check/libs/libsabi.c:
10565         * tests/check/libs/struct_hppa.h:
10566           Add ABI structs for HPPA (see #393796).
10567
10568 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10569
10570         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10571           Actually write ABI structs to the file specified in the GST_ABI
10572           environment variable, as the message we print claims we would.
10573
10574 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10575
10576         * tests/check/gst/gsttask.c:
10577           Fix header comment.
10578
10579 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10580
10581         * gst/gsttaglist.c: (_gst_tag_initialize):
10582           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10583           previous two entries.
10584
10585 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10586
10587         * docs/gst/gstreamer-sections.txt:
10588         * gst/gsttaglist.c: (_gst_tag_initialize):
10589         * gst/gsttaglist.h:
10590           Add tag support for beat-per-minute.
10591
10592 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10593
10594         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10595         (gst_registry_binary_initialize_magic),
10596         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10597         (gst_registry_binary_save_pad_template),
10598         (gst_registry_binary_save_feature),
10599         (gst_registry_binary_save_plugin),
10600         (gst_registry_binary_write_cache),
10601         (gst_registry_binary_check_magic),
10602         (gst_registry_binary_load_pad_template),
10603         (gst_registry_binary_load_feature),
10604         (gst_registry_binary_load_plugin),
10605         (gst_registry_binary_read_cache):
10606         * gst/gstregistrybinary.h:
10607           Use glib types, cleanup comments, impement interfaces and uri-types.
10608
10609 2007-01-13  Andy Wingo  <wingo@pobox.com>
10610
10611         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10612         getrange() to return buffers with other caps, while we fix
10613         demuxers and typefind, or otherwise change part-negotiation.txt.
10614
10615 2007-01-12  Andy Wingo  <wingo@pobox.com>
10616
10617         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10618         Factor start/stop into this private function instead of partially
10619         in activate functions and partially in the change_state function.
10620         Fixes setup before the element has changed from READY->PAUSED, as
10621         is the case in pull-mode pipelines.
10622         (gst_base_transform_sink_activate_push)
10623         (gst_base_transform_src_activate_pull): Refactor to use
10624         gst_base_transform_activate().
10625         (gst_base_transform_change_state): Removed, not needed any more.
10626
10627         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10628         Truncate before fixating.
10629         
10630         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10631         Don't set_caps() if the result of fixating is ANY, as it's not
10632         supported, and not necessary in the case of a link with no
10633         template caps on either side. Fixes tests/check/libs/basesrc in
10634         some pull-mode tests.
10635
10636         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10637         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10638         (gst_base_transform_src_activate_pull): 
10639         Track the activation mode.
10640         (gst_base_transform_setcaps): In pull mode, when activating the
10641         src pad, after activating the sink pad, activate the sink pad's
10642         peer, as discussed in part-negotiation.txt.
10643
10644         * libs/gst/base/gstbasesrc.h: 
10645         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10646         vmethod, as in basesink.
10647
10648         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10649
10650         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10651         mode, first proxy the setcaps to the peer pad.
10652         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10653         new fixate vmethod.
10654         (gst_base_sink_default_activate_pull): Rename from
10655         gst_base_sink_activate_pull.
10656         (gst_base_sink_negotiate_pull): New function, performs negotiation
10657         in pull mode before calling ::activate_pull().
10658         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10659         vmethod instead of the default implementation. I have no idea how
10660         this worked before. Negotiate before calling activate_pull.
10661
10662         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10663         sink pads in pull mode. In addition to being correct, fixes
10664         filesrc ! decodebin ! identity ! fakesink.
10665         (gst_pad_get_range, gst_pad_pull_range): Don't call
10666         gst_pad_set_caps() if the caps changes; instead error out with
10667         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10668
10669 2007-01-12  Andy Wingo  <wingo@pobox.com>
10670
10671         * docs/design/part-negotiation.txt: Update with more policy.
10672
10673 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10674
10675         * libs/gst/check/gstbufferstraw.h:
10676         * libs/gst/check/gstcheck.h:
10677           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10678           belongs.
10679
10680 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10681
10682         * tests/check/Makefile.am:
10683         * tests/check/gst/.cvsignore:
10684         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10685         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10686         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10687         (GST_START_TEST), (gst_tag_setter_suite):
10688           Add minimal unit test for beforementioned GstTagSetter bug.
10689
10690 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10691
10692         Patch by: René Stadler <mail at renestadler dot de>
10693
10694         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10695           gst_tag_list_merge() returns a new list, so it's not the best idea
10696           to ingore its return value. Effectively meant that tags could only
10697           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10698           Also add function guard to require a non-NULL taglist as input (has
10699           always been so due to gst_tag_list_copy(), just making it explicit).
10700
10701 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10702
10703         * docs/random/draft-missing-plugins.txt:
10704           Some additions: mention new API that is supposed to be used at the
10705           various stages; short blob about new gst-inspect introspection
10706           option; mention potential future problem with plugins that have
10707           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10708
10709 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10710
10711         * tools/gst-inspect.c:
10712         (print_plugin_automatic_install_info_codecs),
10713         (print_plugin_automatic_install_info_protocols),
10714         (print_plugin_automatic_install_info), (main):
10715         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10716         introspect plugin files and get machine-parsable output that corresponds
10717         to the last bit of the missing-plugin installer string (small gotcha:
10718         doesn't take into account ranks).
10719
10720 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10721
10722         * configure.ac:
10723         * docs/gst/gstreamer-sections.txt:
10724         * gst/Makefile.am:
10725         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10726         (gst_registry_lookup_locked):
10727         * gst/gstregistry.h:
10728         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10729         (gst_registry_binary_initialize_magic),
10730         (gst_registry_binary_save_string),
10731         (gst_registry_binary_save_pad_template),
10732         (gst_registry_binary_save_feature),
10733         (gst_registry_binary_save_plugin),
10734         (gst_registry_binary_write_cache),
10735         (gst_registry_binary_check_magic),
10736         (gst_registry_binary_load_pad_template),
10737         (gst_registry_binary_load_feature),
10738         (gst_registry_binary_load_plugin),
10739         (gst_registry_binary_read_cache):
10740         * gst/gstregistrybinary.h:
10741         * gst/gstregistryxml.c: (load_feature),
10742         (gst_registry_xml_read_cache):
10743           commit binary registry (disabled by default, see #359653)
10744
10745 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10746
10747         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10748           Fix 'make check' too.
10749
10750 2007-01-10  Andy Wingo  <wingo@pobox.com>
10751
10752         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10753         notes.
10754         
10755         * docs/design/part-negotiation.txt: Update with, um, one way that
10756         pull-mode negotiation might work?
10757
10758         * gst/gstpad.h: 
10759         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10760         that the pad must be a src pad; makes sense to call it the other
10761         way in pull mode, and the logic is symmetric anyway.
10762
10763 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10764
10765         * plugins/elements/gstfilesink.c:
10766           Include <stdio.h> for fseeko().
10767
10768 2007-01-10  Wim Taymans  <wim@fluendo.com>
10769
10770         * gst/gstevent.c:
10771         * gst/gstevent.h:
10772         Reserve LATENCY event.
10773
10774 2007-01-09  Wim Taymans  <wim@fluendo.com>
10775
10776         * docs/design/draft-latency.txt:
10777         Updates.
10778
10779 2007-01-09  Wim Taymans  <wim@fluendo.com>
10780
10781         * docs/design/draft-latency.txt:
10782         Updates.
10783
10784         * gst/gstelement.h:
10785         * gst/gststructure.c:
10786         * gst/gsttrace.c:
10787         Small typo fixes.
10788
10789 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10790
10791         * tests/check/.cvsignore:
10792           Ignore test-registry.xml as well.
10793
10794 2007-01-09  Wim Taymans  <wim@fluendo.com>
10795
10796         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10797         unref data at the end when we are done with the pad.
10798
10799 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10800
10801         * docs/gst/gstreamer-sections.txt:
10802         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10803         (init_post), (gst_deinit), (gst_update_registry):
10804         * gst/gst.h:
10805           API: add gst_update_registry() (#391296).
10806
10807         * tests/check/Makefile.am:
10808         * tests/check/gst/gstregistry.c:
10809         * tests/check/gst/.cvsignore:
10810           Simple unit test for the above.
10811
10812 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10813
10814         * gst/gstregistry.c: (gst_registry_scan_path_level):
10815           Plugin extension on HP-UX is .sl, add that to the list of approved
10816           plugin extensions (see #393796).
10817
10818         * tests/check/gst/gstpad.c: (GST_START_TEST):
10819           ulong => gulong. Fixes compilation with HP-UX compiler.
10820
10821         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10822           Fix compilation if valgrind headers are not available.
10823
10824 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10825
10826         * win32/common/libgstreamer.def: 
10827           Add new exported function.
10828         * win32/vs6/libgstbase.dsp: 
10829           Add gstdataqueue.c to the build.
10830         * win32/vs6/libgstcoreelements.dsp:
10831           Add gstmultiqueue.c to the build.
10832         
10833 2007-01-06  Andy Wingo  <wingo@pobox.com>
10834
10835         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10836         activate_pull(), providing for a way to specialize the process of
10837         spawning a thread to pull on the sink pad. There is a default
10838         implementation.
10839
10840         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10841         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10842         (gst_base_sink_init): Renamed pad activation functions (inserting
10843         "_pad" in their names). Refactor to use the new activate_pull
10844         vmethod, as appropriate.
10845         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10846         default activate_pull function to start a task pulling from the
10847         sink pad, as before.
10848
10849         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10850         on the pads if necessary, as in push()/chain(). Update docs.
10851         Shouldn't affect existing pull() usage as it is currently only
10852         being used on buffers without caps.
10853
10854 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10855
10856         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10857         (init_pre):
10858           Call g_thread_init() first thing in gst_init() / gst_check_init().
10859           When initialisation is done via gst_init_get_option_group() and
10860           GOption parsing, issue a warning if the GLib thread system has not
10861           been initialised yet by the time gst_init_get_option_group() is
10862           called, as it's quite likely other GLib functions such as
10863           g_option_context_new() have been called already then, and
10864           g_thread_init() must be called before any other GLib function. The
10865           application in question must be fixed in that case, since memory
10866           corruption might happen otherwise.
10867           We issue the warning because even if the GLib folks decide to work
10868           around the problem on their end in future, this is still an issue
10869           with all GLib versions >= 2.10.0, so we should warn until we depend
10870           on a GLib version we know to be safe.
10871           Update documentation as well.
10872           Closes bug #391278.
10873
10874 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10875
10876         * tools/gst-inspect.c: (main):
10877         * tools/gst-launch.c: (main):
10878         * tools/gst-typefind.c: (main):
10879         * tools/gst-xmlinspect.c: (main):
10880           Call g_thread_init() really really early, before any other GLib
10881           function (see #342564 and recent discussion on gtk-devel-list).
10882
10883 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10884
10885         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10886
10887         * gst/gst_private.h:
10888         * gst/gstconfig.h.in:
10889         * gst/gstinfo.h:
10890           On win32, all the __declspec stuff for symbol exporting is
10891           apparently only needed with MSVC, but doesn't work with MingW.
10892           Fixes compilation with MingW and #391909.
10893
10894 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10895
10896         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10897           Change some GST_ERROR_OBJECT that aren't really errors to
10898           GST_WARNING_OBJECT in order to reduce terminal spam.
10899
10900 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10901
10902         * tests/check/Makefile.am:
10903           disable test again, as there seem to be still race problems
10904
10905 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10906
10907         * tests/check/Makefile.am:
10908         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10909         (GST_START_TEST), (queue_suite):
10910           enable queue test again, add tests for the leaky behaviour
10911
10912 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10913
10914         * configure.ac:
10915         * tests/examples/Makefile.am:
10916           Compile adapter test/example only if the required headers are
10917           available (fixes #391915).
10918
10919 2007-01-01  David Schleef  <ds@schleef.org>
10920
10921         * gst/gstplugin.c:
10922           Restore the previous signal handler for SIGSEGV instead of
10923           setting to default, since we may have stolen it away from
10924           someone.  (i.e., Mono)
10925
10926 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10927
10928         * docs/random/draft-missing-plugins.txt:
10929           Some small additions and clarifications.
10930
10931 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10932
10933         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10934           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10935           since that can lead to random memory corruptions and crashes
10936           (may or may not be related to #383244, #386711, and #386711).
10937
10938 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10939
10940         * tests/check/.cvsignore:
10941         * tests/check/Makefile.am:
10942           sync .cvsignome and CLEANFILES
10943
10944 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10945
10946         * tests/check/Makefile.am:
10947           fix distcheck
10948
10949 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10950
10951         * docs/design/part-states.txt:
10952           two tiny additional comments
10953         
10954         * gst/gststructure.c:
10955           doc fixing
10956
10957         * tests/check/Makefile.am:
10958         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10959         (GST_START_TEST):
10960           disable test for now, unless it gets fixed
10961
10962 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10963
10964         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10965         (GST_START_TEST):
10966           fix race in underrun test
10967
10968 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10969
10970         * tests/check/elements/.cvsignore:
10971           ignore more
10972
10973         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10974         (GST_START_TEST):
10975           try to narrow test failure
10976
10977 2006-12-21  David Schleef  <ds@schleef.org>
10978
10979         * plugins/elements/gstfakesrc.c:
10980           Use g_random_int_range(), since it produces better random
10981           numbers in a range than almost-correct floating point code.
10982
10983 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10984
10985         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10986         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10987         (gst_check_teardown_sink_pad):
10988           do not automatically (de)activate pads
10989
10990         * tests/check/Makefile.am:
10991         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10992         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10993           add new, yet simple tests for queue
10994
10995         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10996         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10997         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10998         (GST_START_TEST):
10999         * tests/check/elements/identity.c: (cleanup_identity):
11000           consistent pad (de)activation
11001
11002 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11003
11004         Patch by: Sebastian Dröge  <slomo ubuntu com>
11005
11006         * libs/gst/base/gstcollectpads.c:
11007           Fix two doc typos (#387866).
11008
11009 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11010
11011         * docs/manual/advanced-dparams.xml:
11012           Fix typo (g_object_control_properties() doesn't exist).
11013
11014 2006-12-19  Edward Hervey  <edward@fluendo.com>
11015
11016         * gst/gstsegment.c: (gst_segment_set_seek):
11017         Fine tune the cases where the segment start/stop values are really
11018         updated.
11019         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11020         Add tests for the return values of gst_segment_set_seek().
11021
11022 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11023
11024         * gst/gst.c:
11025           Docs typo fix.
11026
11027         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11028         (gst_queue_init):
11029           Fix incorrect documentation and flesh it out a bit more.
11030           Set default values for the max properties on the GParamSpec as well,
11031           so it shows up correctly in gst-inspect.
11032
11033 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11034
11035         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11036           Correct docs of queue, add more detail and crosslink it more.
11037
11038 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11039
11040         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11041           Print additional debug info when the stream isn't perfectly
11042           timestamped; don't try to use invalid durations.
11043
11044 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11045
11046         * docs/design/Makefile.am:
11047           Dist new design docs.
11048
11049 2006-12-16  Wim Taymans  <wim@fluendo.com>
11050
11051         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11052
11053         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11054         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11055         (gst_collect_pads_stop), (gst_collect_pads_event),
11056         (gst_collect_pads_chain):
11057         * libs/gst/base/gstcollectpads.h:
11058         Add refcounting to the collectpads data so we can track when it's safe
11059         to free the data. Fixes #383382.
11060
11061 2006-12-15  Wim Taymans  <wim@fluendo.com>
11062
11063         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11064         (gst_collect_pads_remove_pad):
11065         Automatically activate/deactivate pads when they are added to a
11066         started/stoped collectpads.
11067
11068 2006-12-15  Wim Taymans  <wim@fluendo.com>
11069
11070         * gst/gstelement.c: (gst_element_add_pad):
11071         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11072         * gst/gstpad.c: (gst_pad_init):
11073         Set pads to FLUSHING when they are created. Check, warn and fix when a
11074         demuxer adds an inactive pad to itself when running. Fixes #339326.
11075
11076 2006-12-15  Wim Taymans  <wim@fluendo.com>
11077
11078         * gst/gstelement.c: (gst_element_class_init),
11079         (gst_element_default_send_event), (gst_element_send_event),
11080         (gst_element_default_query), (gst_element_query):
11081         Expose default element send_event and query handling as vmethods that
11082         subclasses can chain up to.
11083
11084 2006-12-15  Wim Taymans  <wim@fluendo.com>
11085
11086         * gst/gstelement.c: (gst_element_set_state_func):
11087         Small documentation fixes.
11088
11089 2006-12-15  Wim Taymans  <wim@fluendo.com>
11090
11091         * docs/design/draft-latency.txt:
11092         Checked in draft for handling latency in pipelines.
11093
11094 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11095
11096         * Makefile.am:
11097         * gstreamer.doap:
11098         * gstreamer.spec.in:
11099           adding .doap file
11100
11101 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11102
11103         * gst/gst.c: (init_pre), (init_post):
11104           init_pre() and init_post() might be called via our GOptionGroup or
11105           from gst_init(), and we should skip both of them if we've already
11106           been initialised, otherwise we will init some things twice or add
11107           two default log functions.
11108
11109 2006-12-13  Edward Hervey  <edward@fluendo.com>
11110
11111         * docs/manual/basics-bus.xml:
11112         No, gst_main_loop does not exist. Its g_main_loop.
11113         Discovered by somebody who abused the copy-paste technique of coding :)
11114
11115 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11116
11117         * gst/gstghostpad.c:
11118           Log ghostpad debug stuff to the GST_PADS category as well rather
11119           than just to the default category.
11120
11121 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11122
11123         * configure.ac:
11124         * gst/gst.c: (init_pre):
11125           Add some basic system details such as OS and architecture
11126           to the debug output if possible, courtesy of uname().
11127
11128 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11129
11130         * docs/gst/running.xml:
11131           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11132           environment variables.
11133
11134 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11135
11136         * tests/check/gst/gstbin.c: (GST_START_TEST):
11137         It is acceptable to have a refcount of 2 or 3 at this point in the
11138         test, because the pipeline might be just posting its state_change
11139         message. The next line then waits for that message to appear using
11140         bus_poll, so that should be fine too.
11141
11142 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11143
11144         * gst/gst.c: (ensure_current_registry_forking):
11145         Ignore EINTR when reading from the child registry pipe.
11146         Explicitly ignore the return value from close, since it makes no
11147         difference.
11148
11149         * gst/gstminiobject.c: (gst_mini_object_ref),
11150         (gst_mini_object_unref):
11151         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11152
11153         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11154         When removing cached plugins, remove their features too, so they're
11155         not visible after they've disappeared.
11156
11157         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11158         In the unlikely case that we are linking pads with no parents, don't
11159         crash trying to get the non-existent parent bin.
11160
11161         * gst/parse/grammar.y:
11162         Output debug in the PIPELINE category
11163
11164 2005-03-08  Wim Taymans  <wim@fluendo.com>
11165
11166         Patch by: René Stadler <mail at renestadler dot de>
11167
11168         * gst/gstclock.c: (gst_clock_new_periodic_id):
11169         Reject invalid clock times for interval of periodic ids.
11170         Fixes ##383506.
11171
11172 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11173
11174         * gst/gstelementfactory.c: (gst_element_factory_create):
11175         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11176         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11177         * tools/gst-inspect.c: (print_element_info):
11178         Fix refcounting of gst_plugin_feature_load to match the docs. 
11179         Fixes: #380129
11180
11181 2006-12-07  Wim Taymans  <wim@fluendo.com>
11182
11183         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11184         (gst_base_sink_get_position):
11185         Improve debugging of events.
11186
11187 2006-12-07  Wim Taymans  <wim@fluendo.com>
11188
11189         Patch by: René Stadler <mail at renestadler dot de>
11190
11191         * gst/gstclock.c: (gst_clock_id_wait):
11192         Make period ids add the interval to the origial requested time instead
11193         of the possibly updated time which can be wrong when there are multiple
11194         waiters for the same id. Fixes #382592.
11195
11196         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11197         (gst_system_clock_id_wait_jitter_unlocked),
11198         (gst_system_clock_id_wait_jitter):
11199         Fix restart in the async notify thread when an async entry is added to
11200         the front of the list. Fixes #381492. 
11201
11202         * tests/check/gst/gstsystemclock.c: (store_callback),
11203         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11204         Added test for multiple async waits.
11205         Added test for async wait order.
11206
11207 2006-12-07  Wim Taymans  <wim@fluendo.com>
11208
11209         * gst/gstbin.c: (gst_bin_query):
11210         Add some more docs about the POSITION query.
11211
11212 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11213
11214         * configure.ac:
11215         Bump version nano - back to CVS.
11216
11217 === release 0.10.11 ===
11218
11219 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11220
11221         * configure.ac:
11222           releasing 0.10.11, "Love never runs on time"
11223
11224 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11225
11226         * win32/common/libgstbase.def:
11227         * win32/common/libgstreamer.def:
11228         * win32/vs8/libgstbase.vcproj:
11229         * win32/vs8/libgstcoreelements.vcproj:
11230         * win32/vs8/libgstreamer.vcproj:
11231         Fix compilation on win32 under VS8
11232         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11233         Partially fixes #381175
11234
11235 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11236
11237         * gst/gstvalue.c: (gst_value_compare_fraction):
11238         If someone is foolish enough to compare 2 fractions with denominator =
11239         0, return UNORDERED rather than aborting.
11240
11241 2006-11-28  Edward Hervey  <edward@fluendo.com>
11242
11243         * libs/gst/base/Makefile.am:
11244         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11245         (gst_data_queue_base_init), (gst_data_queue_class_init),
11246         (gst_data_queue_init), (gst_data_queue_new),
11247         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11248         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11249         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11250         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11251         (gst_data_queue_set_flushing), (gst_data_queue_push),
11252         (gst_data_queue_pop), (gst_data_queue_drop_head),
11253         (gst_data_queue_set_property), (gst_data_queue_get_property):
11254         * libs/gst/base/gstdataqueue.h:
11255         New GstDataQueue object for threadsafe queueing. Most useful for
11256         elements that need some queueing functionnality.
11257         * docs/libs/gstreamer-libs-docs.sgml:
11258         * docs/libs/gstreamer-libs-sections.txt:
11259         Insert documentation for GstDataQueue
11260         * plugins/elements/Makefile.am:
11261         * plugins/elements/gstelements.c:
11262         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11263         (gst_multi_queue_class_init), (gst_multi_queue_init),
11264         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11265         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11266         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11267         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11268         (gst_multi_queue_loop), (gst_multi_queue_chain),
11269         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11270         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11271         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11272         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11273         (wake_up_next_non_linked), (compute_next_non_linked),
11274         (single_queue_overrun_cb), (single_queue_underrun_cb),
11275         (single_queue_check_full), (gst_single_queue_new):
11276         * plugins/elements/gstmultiqueue.h:
11277         New multiqueue element, using GstDataQueue. Used for queuing multiple
11278         streams.
11279         Closes #344639 and #347785
11280
11281 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11282
11283         * docs/pwg/advanced-types.xml:
11284           add more missing type details
11285
11286         * tools/gst-run.c: (main):
11287           remove unused variable
11288
11289 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11290
11291         * docs/libs/Makefile.am:
11292         * docs/libs/gstreamer-libs.types:
11293           add types of base classes to enable gobject specific stuff in the docs
11294
11295         * docs/random/ensonic/embedded.txt:
11296           more ideas about isolating platform specific things
11297
11298 2006-11-20  Wim Taymans  <wim@fluendo.com>
11299
11300         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11301
11302         * libs/gst/check/gstcheck.h:
11303         Fix compilation and running against 0.9.4. Fixes #377332.
11304
11305 2006-11-20  Wim Taymans  <wim@fluendo.com>
11306
11307         * gst/gstsegment.c: (gst_segment_set_seek),
11308         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11309         (gst_segment_to_running_time):
11310         Fix boundary checking in to_running_time() and to_stream_time().
11311         Fixes #377183.
11312
11313         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11314         stream and running time can now be calculated for the complete
11315         clipped segment.
11316
11317 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11318
11319         * gst/gstpad.c: (gst_pad_push_event):
11320           Can't access event structure after giving away ownership of
11321           the event.
11322
11323 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11324
11325         * docs/random/ensonic/embedded.txt:
11326         * docs/random/ensonic/profiling.txt:
11327         * docs/random/ensonic/receipies.txt:
11328           more thinking
11329
11330 2006-11-13  Wim Taymans  <wim@fluendo.com>
11331
11332         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11333
11334         * gst/gstpad.c:
11335         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11336
11337 2006-11-13  Wim Taymans  <wim@fluendo.com>
11338
11339         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11340
11341         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11342         Store new length in segment duration so we don't keep on calling the
11343         potentially expensize get_size() call. Fixes #370865.
11344
11345 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11346
11347         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11348
11349         * win32/common/libgstreamer.def:
11350           Add two missing symbols (#366492).
11351
11352 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11353
11354         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11355         (gst_adapter_take_buffer):
11356         Fix format string to use all its arguments.
11357         Remove useless >= check on a guint
11358
11359 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11360
11361         * tests/examples/adapter/.cvsignore:
11362         Ignore build file as commanded by the build-bot
11363
11364 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11365
11366         * tests/examples/adapter/Makefile.am:
11367         * tests/examples/adapter/adapter_test.c: (run_test_take),
11368         (run_test_take_buffer), (run_tests), (main):
11369
11370         Add new files from the previous commit
11371
11372 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11373
11374         * Makefile.am:
11375         * configure.ac:
11376         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11377         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11378         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11379         * libs/gst/base/gstadapter.h:
11380         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11381         (GST_START_TEST), (gst_adapter_suite):
11382         * tests/examples/Makefile.am:
11383         Do some optimisation work in GstAdapter to avoid copies in more cases.
11384         It could still do slightly better by merging buffers when
11385         gst_buffer_is_span_fast is true, but is already faster. 
11386
11387         Also, avoid traversing a single-linked list to append each incoming 
11388         buffer inside the adapter.
11389
11390         Add simple test app that times the adapter behaviour in different
11391         situations, and extend the unit test to check that bytes enter and
11392         exit the adapter in their original order.
11393
11394 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11395
11396         * docs/random/draft-missing-plugins.txt:
11397           Update: use element message instead of adding a new message
11398           type to the core; don't provide GStreamer API to initiate the
11399           plugin download, just provide API to compose the strings needed
11400           and let an external libgimmestuff handle the rest.
11401
11402 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11403
11404         * tools/gst-inspect.c: (print_element_properties_info):
11405         Print a string instead of 'unknown type' for GValueArray properties
11406
11407 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11408
11409         * docs/random/draft-missing-plugins.txt:
11410         More small fixes.
11411
11412 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11413
11414         * tests/examples/typefind/typefind.c: (type_found), (main):
11415           Make typefind element example work again (#371894); add a
11416           license header.
11417
11418 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11419
11420         * docs/random/draft-missing-plugins.txt:
11421           Commit initial draft about how to deal with missing plugins,
11422           needs work (API too).
11423
11424 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11425
11426         * docs/pwg/advanced-types.xml:
11427           documents the new caps elements (see #363118)
11428
11429 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11430
11431         * gst/gstplugin.c: (gst_plugin_load_file):
11432         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11433         (gst_file_src_map_region), (gst_file_src_start):
11434         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11435         (gst_file_index_commit):
11436           Use g_strerror() instead of strerror() - we want UTF-8.
11437
11438 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11439
11440         Patch by: Peter Kjellerstedt <pkj at axis com>
11441
11442         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11443           Another printf fix (#371493).
11444
11445 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11446
11447         * tests/check/gst/gsttag.c:
11448           relicence (okay with author=company)
11449
11450 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11451
11452         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11453         (gst_pad_push_event):
11454           Enhance debug and improve docs
11455         
11456         * gst/gsturi.c:
11457           Fix docs
11458
11459 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11460
11461         * docs/random/ensonic/distributed.txt:
11462         * docs/random/ensonic/profiling.txt:
11463           more ideas
11464
11465 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11466
11467         * docs/gst/gstreamer-sections.txt:
11468           add new API and fix the build
11469           
11470         * gst/gstbin.c: (gst_bin_recalc_state):
11471         * gst/gstelement.c: (gst_element_message_full),
11472         (gst_element_get_state_func), (gst_element_set_state_func):
11473           use new API and improve logging
11474         
11475         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11476         * gst/gstutils.h:
11477           API: add function to get StateChangereturn names to improve logs 
11478
11479 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11480
11481         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11482           I'm considering shooting the next person to put strerror stuff
11483           in the translateable part of the message.
11484
11485 2006-11-03  Wim Taymans  <wim@fluendo.com>
11486
11487         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11488         Get the type and printf conversion specifiers right.
11489
11490 2006-11-03  Wim Taymans  <wim@fluendo.com>
11491
11492         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11493
11494         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11495         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11496         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11497         Some small cleanups. Improve debugging.
11498         * gst/gstpad.h:
11499         Signal all waiting threads with a broadcast instead of just one.
11500         Fixes #369942.
11501
11502 2006-11-03  Wim Taymans  <wim@fluendo.com>
11503
11504         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11505         (gst_fd_src_create):
11506         Add some debugging. 
11507         Only update fd when it's different from the old.
11508
11509 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11510
11511         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11512           Printf fixes for PPC/OSX, take two (#369366).
11513
11514 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11515
11516         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11517
11518         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11519         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11520         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11521           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11522           don't cast to long long for portability reasons, but use
11523           GLib's types instead.
11524
11525 2006-10-30  Michael Smith  <msmith@fluendo.com>
11526
11527         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11528           Get the arguments to lseek() the right way around.
11529           Fixes 367677.
11530
11531 2006-10-30  Wim Taymans  <wim@fluendo.com>
11532
11533         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11534
11535         * gst/gstinfo.h:
11536         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11537
11538 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11539
11540         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11541
11542         * docs/design/part-MT-refcounting.txt:
11543         * docs/random/wtay/capsnego2-docs:
11544         * gst/gstclock.c:
11545         * gst/gstxml.c:
11546           Typo fixes (#366212).
11547
11548 2006-10-28  Wim Taymans  <wim@fluendo.com>
11549
11550         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11551
11552         * gst/gst.c:
11553         * win32/common/libgstbase.def:
11554         * win32/common/libgstreamer.def:
11555         * win32/vs8/libgstbase.vcproj:
11556         * win32/vs8/libgstcontroller.vcproj:
11557         Add needed entries in .def files.
11558         Use HAVE_UNISTD_H.
11559         Rearrange def files in vs8 solutions. Fixes #366286.
11560
11561 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11562
11563         * win32/common/gstconfig.h:
11564           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11565           hand-made win32 gstconfig.h. Fixes #366321.
11566
11567 2006-10-27  Wim Taymans  <wim@fluendo.com>
11568
11569         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11570         (gst_ghost_pad_new_full):
11571         Make acceptcaps return TRUE when we don't have a target, just like
11572         setcaps does.
11573
11574 2006-10-27  Wim Taymans  <wim@fluendo.com>
11575
11576         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11577         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11578
11579 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11580
11581         * gst/gststructure.c: (gst_structure_id_set_value):
11582           If someone tries to set a non-UTF8 string field on a structure,
11583           don't just print a warning, but also ignore the request and do
11584           not change/add that field to the structure.
11585
11586         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11587           Test for the above.
11588
11589 2006-10-25  David Schleef  <ds@schleef.org>
11590
11591         * gst/gstinfo.c:
11592           g_hash_table_insert() needs a cast to a non-const pointer duh.
11593
11594 2006-10-25  David Schleef  <ds@schleef.org>
11595
11596         * gst/gstinfo.c:
11597         * gst/gstinfo.h:
11598           Change name parameter of _gst_debug_register_funcptr to const
11599           to reflect the constness of its use in the function as well
11600           as to quiet a gcc warning.
11601
11602 2006-10-25  Edward Hervey  <edward@fluendo.com>
11603
11604         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11605         Don't push the buffer if it's empty.
11606         Closes #363095
11607
11608 2006-10-24  Wim Taymans  <wim@fluendo.com>
11609
11610         * gst/gstevent.h:
11611         Add small comment.
11612
11613         * libs/gst/base/gstbasetransform.c:
11614         (gst_base_transform_sink_eventfunc):
11615         Debug segment values *after* updating them as this is more
11616         interesting.
11617
11618 2006-10-23  Wim Taymans  <wim@fluendo.com>
11619
11620         * docs/design/part-events.txt:
11621         Update some docs.
11622
11623         * docs/design/part-block.txt:
11624         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11625         (gst_pad_push_event):
11626         Revert BLOCKING patch, it tries to be smart without really having a
11627         clear idea what or how. So, now we discard all FLUSHING events again on
11628         a blocking pad. Should fix gnonlin again.
11629
11630 2006-10-23  Wim Taymans  <wim@fluendo.com>
11631
11632         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11633
11634         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11635         (gst_base_src_start), (gst_base_src_activate_push):
11636         Make sure size is always initialized. Fixes #364388.
11637
11638 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11639
11640         * docs/random/ensonic/distributed.txt:
11641           add some ideas about doing distributed processing
11642
11643         * docs/random/ensonic/profiling.txt:
11644           get_rusage look promising
11645
11646 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11647
11648         * docs/manual/basics-helloworld.xml:
11649           Add a cast in example to fix compile warning
11650
11651 2006-10-18  Wim Taymans  <wim@fluendo.com>
11652
11653         * gst/gstsegment.c: (gst_segment_set_last_stop),
11654         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11655         Relax arg checking again, -1 is allowed.
11656
11657 2006-10-18  Wim Taymans  <wim@fluendo.com>
11658
11659         * gst/gstsegment.c: (gst_segment_set_last_stop),
11660         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11661         _set_last_stop() must be with a value != -1
11662         A _TYPE_SET to -1 means seek to 0.
11663         Calc last_stop correctly for negative rates.
11664         Make sure we work with positive durations when updating a segment.
11665
11666 2006-10-18  Wim Taymans  <wim@fluendo.com>
11667
11668         * docs/design/part-live-source.txt:
11669         * gst/gstclock.h:
11670         Small docs fixes.
11671
11672 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11673
11674         * gst/gstbuffer.h:
11675           Add an explicit cast to GstBuffer** to keep old code that added an
11676           explicit cast to GstMiniObject** for gst_mini_object_replace()
11677           compiling without warning.
11678
11679 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11680
11681         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11682           check for validity of dates
11683
11684 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11685
11686         * docs/gst/gstreamer-sections.txt:
11687           Forgot this one, makes gtk-doc shut up.
11688
11689 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11690
11691         Patch by: Peter Kjellerstedt <pkj at axis com>
11692
11693         * gst/gstobject.h:
11694           Don't define xmlNodePtr to gpointer if the core was built with
11695           --disable-loadsave and --disable-registry, this will break
11696           applications that want to use libxml2 but are buildling against a
11697           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11698           instead so we don't have to mess with the libxml2 namespace
11699           (#361675).
11700
11701 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11702
11703         * gst/gstbuffer.h:
11704           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11705           type-punned pointer warnings.
11706
11707 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11708
11709         * gst/gstelement.h:
11710           Add casts to the correct return type to state <=> state transition
11711           macros.
11712
11713 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11714
11715         * docs/design/part-live-source.txt:
11716           describe howto handle latency
11717         
11718         * docs/random/ensonic/profiling.txt:
11719           more ideas
11720
11721         * tools/gst-plot-timeline.py:
11722           fix log parsing for solaris, remove unused function
11723
11724 2006-10-16  Wim Taymans  <wim@fluendo.com>
11725
11726         * docs/design/part-trickmodes.txt:
11727         * gst/gstevent.c:
11728         Update some docs regarding reverse playback.
11729
11730 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11731
11732         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11733
11734         * win32/vs8/grammar.vcproj:
11735           Error out with a warning if glib-genmarshal.exe is not in path,
11736           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11737
11738 2006-10-13  Wim Taymans  <wim@fluendo.com>
11739
11740         * gst/gstsegment.c: (gst_segment_set_seek):
11741         When seeking to stop -1, set last_stop (current position) to the
11742         duration of the segment.
11743
11744 2006-10-13  Wim Taymans  <wim@fluendo.com>
11745
11746         * gst/gstelement.h:
11747         Clarify _NO_PREROLL a bit more.
11748
11749         * gst/gstevent.c:
11750         Fix docs.
11751
11752         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11753         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11754         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11755         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11756         due to wrong locking order. Fixes #361769.
11757         Remove some redundant/misplaced checks in pad_block.
11758
11759         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11760         For negative rates, count backwards from the duration.
11761
11762 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11763
11764         * gst/gsterror.c: (_gst_library_errors_init):
11765           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11766           up with something better).
11767
11768 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11769
11770         * win32/vs6/libgstreamer.dsp:
11771         * win32/vs7/libgstreamer.vcproj:
11772         * win32/vs8/libgstreamer.vcproj:
11773           Don't reference glib-compat.c which is currently not used and not
11774           disted; add gstquark.c which was recently added. Fixes #361730.
11775
11776 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11777
11778         * win32/common/libgstbase.def:
11779         * win32/common/libgstcontroller.def:
11780         * win32/common/libgstreamer.def:
11781           Add gst_caps_merge() and a bunch of other recently-added functions.
11782           Fixes #361732.
11783
11784 2006-10-11  Wim Taymans  <wim@fluendo.com>
11785
11786         * docs/plugins/gstreamer-plugins.args:
11787         * docs/plugins/inspect/plugin-coreelements.xml:
11788         * docs/plugins/inspect/plugin-coreindexers.xml:
11789         Update element args.
11790
11791         * gst/gstsystemclock.c:
11792         Small comment update.
11793
11794         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11795         (gst_tee_request_new_pad), (gst_tee_release_pad),
11796         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11797         (gst_tee_sink_activate_pull):
11798         * plugins/elements/gsttee.h:
11799         Some tee loving:
11800         Add default property defines.
11801         Implement release pad function.
11802         Give properties better blubs etc.
11803         Activate pads before adding them to a running tee.
11804         Do simple buffer_alloc on the first requested pad.
11805         Post error when activation fails.
11806
11807 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11808
11809         * gst/gst.c: (ensure_current_registry_forking):
11810           Check return value of write() to make compiler happy.
11811
11812 2006-10-11  Wim Taymans  <wim@fluendo.com>
11813
11814         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11815
11816         * plugins/elements/gstqueue.c: (gst_queue_chain):
11817         Recheck queue filledness after signalling the overrun when we're about
11818         to leak downstream because we released the lock when emitting the signal
11819         and the queue could be empty again. Fixes #352345.
11820
11821 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11822
11823         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11824           Fix refcounting here too, just like we did for _new_valist() a few
11825           days ago (#357180) (thanks to René Stadler). Also remove all those
11826           'Since: 0.9' from the gtk-doc blobs.
11827
11828         * tests/check/libs/controller.c: (controller_refcount_new_list),
11829         (gst_controller_suite):
11830           Unit test for the above.
11831
11832 2006-10-10  Wim Taymans  <wim@fluendo.com>
11833
11834         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11835
11836         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11837         (gst_pad_save_thyself):
11838         Update some docs.
11839         Write pad direction in XML output. Fixes #345496.
11840
11841 2006-10-10  Wim Taymans  <wim@fluendo.com>
11842
11843         Patch by: René Stadler <mail at renestadler dot de>
11844
11845         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11846         (gst_controller_new_list), (_gst_controller_dispose),
11847         (_gst_controller_finalize), (_gst_controller_class_init):
11848         Take ref to controlled object so that it cannot disappear. 
11849         Fixes #357432.
11850
11851 2006-10-10  Wim Taymans  <wim@fluendo.com>
11852
11853         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11854         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11855         (gst_check_teardown_sink_pad):
11856         Activate/deactivate pads in setup/teardown respectively.
11857
11858 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11859
11860         Patch by: Josep Torra Valles <josep@fluendo.com>
11861
11862         * gst/Makefile.am:
11863         Cast values when making gstenumtypes.h.  This pacifies Forte
11864         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11865         in the enumeration.
11866
11867 2006-10-09  Wim Taymans  <wim@fluendo.com>
11868
11869         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11870         Rename some more @cur to @start to fix docs. 
11871
11872         * gst/gstsegment.c: (gst_segment_set_seek):
11873         Fix typo.
11874         time and start must always stay in sync as defined in design doc.
11875
11876         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11877         Rename param to fix docs.
11878
11879         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11880         Check that start and time are in sync.
11881
11882         * tests/check/pipelines/parse-launch.c:
11883         (gst_parse_test_element_change_state):
11884         Activate pad before adding to the element.
11885
11886 2006-10-09  Wim Taymans  <wim@fluendo.com>
11887
11888         * docs/design/part-qos.txt:
11889         Fix typo.
11890
11891         * gst/gstevent.c:
11892         * gst/gstevent.h:
11893         Update seek event docs regarding negative rates.
11894         Rename @cur to @start. 
11895
11896         * gst/gstsegment.c: (gst_segment_set_seek):
11897         * gst/gstsegment.h:
11898         Update set_seek docs regarding negative rates.
11899         Correctly update last_stop to @stop when dealing with negative
11900         rates.
11901         Rename @cur to @start. 
11902
11903         * tests/check/gst/gstpad.c: (GST_START_TEST):
11904         Activate pads before trying to use them.
11905
11906         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11907         (gst_segment_suite):
11908         Add simple check for segments and negative rates.
11909
11910 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11911
11912         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11913         * gst/gsttaglist.h:
11914         * docs/gst/gstreamer-sections.txt:
11915           API: add gst_tag_list_is_empty() (#360467).
11916
11917         * tests/check/gst/gsttag.c: (GST_START_TEST):
11918           And a test case.
11919
11920 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11921
11922         * gst/gstmessage.h:
11923         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11924         a value that doesn't fit on enumeration.
11925
11926 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11927
11928         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11929         Remove local debugging system and use Gstreamer's instead.
11930
11931 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11932
11933         Patch by: Josep Torra Valles <josep@fluendo.com>
11934
11935         * common/m4/gst-error.m4:
11936         Disable warning of statement not reached on Forte.
11937         * gst/gstmessage.h:
11938         Fix warning on Forte (value doesn't fit on enumeration).
11939         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11940         Fix warning on Forte (value doesn't fit on enumeration).
11941         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11942         DEBUG macro says it takes minimum of 2 args and so Forte
11943         complains about the use with just 1 arg.
11944         * plugins/elements/gstfdsink.c:
11945         * plugins/elements/gstfdsrc.c:
11946         * plugins/elements/gstfilesink.c:
11947         * plugins/elements/gstfilesrc.c:
11948         Use correct return type for the uri handler implementations.
11949
11950         All these fix warnings in Forte.  Fixes bug #360860.
11951
11952 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11953
11954         * gst/gstelement.h:
11955           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11956           format string, so don't use G_GNUC_PRINTF for those versions.
11957
11958 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11959
11960         * gst/gsttaglist.c: (gst_is_tag_list):
11961         * gst/gsttaglist.h:
11962           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11963
11964         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11965           Small test for the above.
11966
11967 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11968
11969         * gst/gsttaglist.h:
11970           Less tabs, more spaces.
11971
11972 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11973
11974         * gst/gstinfo.h:
11975           Those two function declarations do actually belong there, revert
11976           commit from yesterday that turned them intro macros.
11977
11978 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11979
11980         Patch by: Josep Torra Valles <josep@fluendo.com>
11981
11982         * gst/gst.c: (gst_init_get_option_group):
11983         Fix empty declaration and type mismatch.
11984         * gst/gstbin.c: (gst_bin_change_state_func):
11985         Fix type mismatch.
11986         * gst/gstelement.c: (gst_element_continue_state),
11987         (gst_element_set_state_func), (gst_element_change_state),
11988         (gst_element_change_state_func):
11989         Fix type mismatches.
11990         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11991         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11992         Cast as appropriate.
11993         * gst/gstobject.c: (gst_class_signal_connect):
11994         Cast as appropriate.  The function pointer parameter really
11995         has the wrong type but would break API if we change it.
11996         * gst/gstquery.c:
11997         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11998         order of including string.h.
11999         * gst/gstutils.c: (gst_element_state_get_name):
12000         Remove unreachable line.
12001         * gst/gstxml.c: (gst_xml_parse_doc):
12002         Fix type mismatch.
12003         All these caught by Forte.
12004
12005 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12006
12007         Patch by: Josep Torra Valles <josep@fluendo.com>
12008
12009         * common/m4/gst-error.m4:
12010         Fixed bug #360151.
12011         We need to disable warnings on Forte for empty declarations
12012         due to gst-indent adding ;s to lines that just use macros
12013         where the macro actually doesn't need a ; at end to end
12014         statement.
12015
12016 2006-10-06  Wim Taymans  <wim@fluendo.com>
12017
12018         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12019         (gst_file_sink_close_file), (gst_file_sink_event),
12020         (gst_file_sink_render):
12021         Add some FIXME for the NEWSEGMENT handling.
12022
12023 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12024
12025         * gst/parse/grammar.y:
12026         Remove static function gst_parse_element_lock as all it does
12027         is return.  Looks like cruft from 0.8.
12028
12029 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12030
12031         Patch by: Josep Torra Valles <josep@fluendo.com>
12032
12033         * common/m4/gst-error.m4:
12034         * configure.ac:
12035         * libs/gst/net/Makefile.am:
12036         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12037         libresolv.
12038
12039 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12040
12041         * gst/gstpad.c: (pre_activate):
12042         * gst/gstregistry.c: (gst_registry_scan_path_level):
12043         * gst/gstregistryxml.c: (load_plugin):
12044         * libs/gst/controller/gstcontroller.c:
12045         (gst_controlled_property_set_interpolation_mode):
12046         * libs/gst/dataprotocol/dataprotocol.c:
12047         (gst_dp_packet_from_event_1_0):
12048         * libs/gst/net/gstnetclientclock.c:
12049         (gst_net_client_clock_observe_times):
12050         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12051           Printf fixes.
12052
12053 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12054
12055         * configure.ac:
12056         * docs/gst/gstreamer-sections.txt:
12057         * gst/gstconfig.h.in:
12058         * gst/gstelement.h:
12059         * gst/gstinfo.h:
12060           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12061           whether we can use G_GNUC_PRINTF in other header files and at
12062           least check the printf format/arguments of debug messages and
12063           GST_ELEMENT_ERROR messages when the printf extension is not
12064           being used.
12065           Replace more tabs with spaces in gstinfo.h and remove two spurious
12066           function declarations in GST_DISABLE_DEBUG part with macros.
12067
12068 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12069
12070         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12071           More docs for the sync-message signal (mention that it is not
12072           emitted by default); log message structures of messages posted on
12073           the bus as well.
12074
12075 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12076
12077         * gst/gst.c: (ensure_current_registry_forking):
12078         Use a pipe pair to receive status results from the forked child, and
12079         ignore the result from waitpid. Fixes #355499
12080
12081 2006-10-02  Wim Taymans  <wim@fluendo.com>
12082
12083         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12084         (gst_ghost_pad_suite):
12085         Fix leak in check.
12086
12087 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12088
12089         * gst/gstpad.c:
12090           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12091
12092 2006-10-02  Edward Hervey  <edward@fluendo.com>
12093
12094         * docs/design/part-block.txt:
12095         Further explain the use of flushing on blocked pads.
12096         * docs/gst/gstreamer-sections.txt:
12097         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12098         (gst_pad_push_event):
12099         * gst/gstpad.h:
12100         Added new GstPadFlag : GST_PAD_BLOCKING.
12101         Adds the notion of pads really blocking, which enables to properly
12102         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12103         Fixes #358999
12104         API: gst_pad_is_blocking()
12105         API: GST_PAD_IS_BLOCKING() macro
12106         API: GST_PAD_BLOCKING GstPadFlag
12107         
12108 2006-10-02  Wim Taymans  <wim@fluendo.com>
12109
12110         Patch by: mrcgran <mrc.gran at gmail dot com>
12111
12112         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12113         Filter the proxied caps against the padtemplate if we have one.
12114
12115         * gst/gstquery.c: (gst_query_new_segment):
12116         Add include for gstinfo.h so that compilation with
12117         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12118
12119 2006-10-02  Wim Taymans  <wim@fluendo.com>
12120
12121         Patch by: Alessandro Decina  <alessandro at nnva org>
12122
12123         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12124         (gst_file_sink_set_location), (gst_file_sink_open_file),
12125         (gst_file_sink_close_file), (gst_file_sink_event),
12126         (gst_file_sink_render):
12127         Set file to NULL when closing filesink so that we can set a new filename
12128         in READY. Fixes #358613.
12129
12130 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12131
12132         Patch by: Alessandro Decina  <alessandro at nnva org>
12133
12134         * gst/gstevent.c: (_gst_event_copy):
12135           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12136           with event structures by setting the parent refcount address of the
12137           copied structure to the address of the refcount member of the newly
12138           copied event rather than the address of the refcount member of the
12139           original event. Fixes #358737.
12140
12141         * tests/check/gst/gstevent.c: (GST_START_TEST):
12142           Unit test for the above.
12143
12144 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12145
12146         * docs/design/Makefile.am:
12147           Dist some more files.
12148
12149 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12150
12151         * tests/check/libs/controller.c: (GST_START_TEST),
12152         (gst_controller_suite):
12153           Add test for the previous fix; add some more tests
12154           for correct refcounting behaviour; fix a few leaks
12155           in test cases; call gst_controller_init() at start
12156           of all tests.
12157
12158 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12159
12160         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12161         (gst_controller_set_from_list):
12162           Don't g_return_val_if_fail() on timed values with invalid timestamps
12163           inside a critical section without unlocking the mutex. Spotted by
12164           René Stadler. (#357617)
12165           Also, fix up refcounting properly: when returning an existing
12166           controller, we should increase the reference only once and not
12167           once per property and when trying to control a property again
12168           we should also increase the refcount.
12169
12170 2006-09-29  Wim Taymans  <wim@fluendo.com>
12171
12172         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12173         * libs/gst/net/gstnettimeprovider.c:
12174         (gst_net_time_provider_thread):
12175         Stop reading commands when EOF as well.
12176
12177         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12178         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12179         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12180         Unify description of the dump property.
12181
12182 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12183
12184         * tests/examples/manual/.cvsignore:
12185         OK, so it's actually cvsignore that needs changing. Stop laughing.
12186
12187 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12188
12189         * tests/examples/manual/Makefile.am:
12190         Gah, declare vars *before* using them
12191
12192 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12193
12194         * gst/gst.c: (init_pre), (scan_and_update_registry),
12195         (ensure_current_registry_nonforking),
12196         (ensure_current_registry_forking), (ensure_current_registry),
12197         (init_post), (gst_debug_help), (gst_deinit):
12198         * gst/gst_private.h:
12199         * gst/gstregistry.c: (gst_registry_finalize),
12200         (gst_registry_remove_features_for_plugin_unlocked),
12201         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12202         (gst_registry_scan_path),
12203         (_priv_gst_registry_remove_cache_plugins),
12204         (_priv_gst_registry_cleanup):
12205         * gst/gstregistry.h:
12206         Re-commit the registry changes, along with an extra fix:
12207           When a cached plugin is encountered at a different file path,
12208           update the stored path in the registry cache so that the parent
12209           process knows where it actually is now when it re-reads the registry
12210           cache. Fixes the thing that broke distcheck with the previous commit.
12211
12212         * tests/check/Makefile.am:
12213         Clean up files named 'core' too when running make clean.
12214
12215         * tests/examples/manual/Makefile.am:
12216         Set up a registry path for running these tests, and clean it properly
12217         for distcheck.
12218
12219 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12220
12221         * configure.ac:
12222         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12223         want gmodule-no-export-2.0.pc instead so that we don't drag in
12224         --export-dynamic on every project that links to GStreamer.
12225
12226         Also, make our export regex only match the start of symbols, rather 
12227         than any symbol that contains '_gst' somewhere.
12228
12229         * libs/gst/check/Makefile.am:
12230         The libgstcheck we build does however need export-dynamic, as it
12231         produces some symbols that don't match our _gst... style regex.
12232         Fixes: #318031
12233
12234 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12235
12236         * gst/gst.c: (init_pre), (scan_and_update_registry),
12237         (ensure_current_registry_nonforking),
12238         (ensure_current_registry_forking), (ensure_current_registry),
12239         (init_post), (gst_debug_help), (gst_deinit):
12240         * gst/gst_private.h:
12241         * gst/gstregistry.c: (gst_registry_finalize),
12242         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12243         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12244         (_gst_registry_cleanup):
12245         * gst/gstregistry.h:
12246           Revert previous change until I figure out why it breaks distcheck.
12247
12248 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12249
12250         * gst/gst.c: (init_pre), (scan_and_update_registry),
12251         (ensure_current_registry_nonforking),
12252         (ensure_current_registry_forking), (ensure_current_registry),
12253         (init_post), (gst_debug_help), (gst_deinit):
12254
12255           Make init_pre and init_post take the full complement of GOptionFunc
12256           args so they can return useful GErrors. Make the registry updating
12257           functions do so.
12258
12259           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12260           ensure that the registry we're about to write out doesn't contain
12261           stale information about old-deleted plugin files.
12262
12263           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12264           that deletion of plugin files is considered a registry change.
12265
12266         * gst/gst_private.h:
12267         * gst/gstregistry.c: (gst_registry_finalize),
12268         (gst_registry_remove_features_for_plugin_unlocked),
12269         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12270         (gst_registry_scan_path),
12271         (_priv_gst_registry_remove_cache_plugins),
12272         (_priv_gst_registry_cleanup):
12273         * gst/gstregistry.h:
12274         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12275         by adding _priv prefix, so that they won't appear in the global
12276         symbol table. They still do atm though because of #318031. Move the
12277         prototypes to gst_private.h
12278
12279         When removing a plugin, remove all features for that plugin too. 
12280         Fixes #340878.
12281
12282 2006-09-27  Wim Taymans  <wim@fluendo.com>
12283
12284         * docs/random/moving-plugins:
12285         Make it clear that the "compiled-in descriptions" really mean
12286         the element details.
12287
12288         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12289         (gst_base_sink_wait_preroll):
12290         Update docs.
12291
12292         * docs/libs/gstreamer-libs-sections.txt:
12293         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12294         (gst_base_src_get_range), (gst_base_src_activate_push):
12295         * libs/gst/base/gstbasesrc.h:
12296         Added function to block while waiting for PLAYING, this function
12297         is used by live sources that block on the clock.
12298         API: gst_base_src_wait_playing()
12299
12300 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12301
12302         Patch by: Peter Kjellerstedt <pkj at axis com>
12303
12304         * Makefile.am:
12305           gst-element-check.m4 is generated and should therefore be
12306           copied from the build dir rather than the source dir (#357593).
12307           'make distcheck' hasn't noticed this because we were disting
12308           the file as well, so stop doing that.
12309
12310 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12311
12312         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12313           Add some tests for gst_caps_intersect().
12314
12315         * tools/gst-launch.c: (event_loop):
12316           Print all buffering percentages we get, even the 100% one.
12317
12318 2006-09-26  Wim Taymans  <wim@fluendo.com>
12319
12320         * tools/gst-inspect.c: (print_element_properties_info),
12321         (print_signal_info):
12322         Fix printing of flags to match the look of enums.
12323
12324 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12325
12326         * gst/gstelementfactory.c:
12327           Fix typo in docs blurb.
12328
12329 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12330
12331         * gst/gsturi.c: (search_by_entry):
12332           Don't assert/crash here if a uri handler doesn't return any
12333           supported protocols. The list of protocols could be generated
12334           dynamically at runtime or at plugin registration, and an error
12335           in the underlying library shouldn't be fatal (#353301).
12336
12337 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12338
12339         * gst/gstinfo.c:
12340           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12341           (spotted by Peter Kjellerstedt).
12342
12343 2006-09-23  Wim Taymans  <wim@fluendo.com>
12344
12345         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12346
12347         * libs/gst/base/gstbasesrc.c:
12348         (gst_base_src_default_check_get_range), (gst_base_src_start),
12349         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12350         (gst_base_src_change_state):
12351         Match _start/_stop calls in the activate functions. Remove redundant
12352         _stop call from the state change function. Fixes #356910.
12353         Turn failure DEBUG into ERROR. 
12354
12355 2006-09-22  Wim Taymans  <wim@fluendo.com>
12356
12357         * docs/design/part-buffering.txt:
12358         * gst/gstmessage.c: (gst_message_new_buffering),
12359         (gst_message_parse_buffering):
12360         Update docs about buffering.
12361
12362         * docs/design/part-trickmodes.txt:
12363         Fix typo.
12364
12365 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12366
12367         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12368         (gst_controller_new_list):
12369           Ref instances when returning them again (fixes #357180)
12370
12371 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12372
12373         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12374           Don't forget to release proxy lock when there's an error.
12375
12376 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12377
12378         * gst/gstcaps.h:
12379           Add extra initialisers for Caps things, to fix some plugin warnings
12380           when using -Wextra
12381
12382 2006-09-18  Wim Taymans  <wim@fluendo.com>
12383
12384         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12385           Also set template on the internal pad so that a getcaps from the 
12386           target pad returns the template caps.
12387
12388 2006-09-18  Wim Taymans  <wim@fluendo.com>
12389
12390         * gst/gstelement.c: (gst_element_post_message),
12391         (gst_element_dispose):
12392         Use _DEBUG_OBJECT some more.
12393
12394         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12395         Avoid typechecks.
12396
12397         * tools/gst-launch.c: (main):
12398         If the toplevel element is not a GstPipeline, it must be put in a
12399         pipeline so that a bus and clock is selected.
12400
12401 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12402
12403         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12404           JITTER, RATE, and LATENCY query should be handled by the
12405           default case and not by the CONVERT query code.
12406
12407 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12408
12409         * gst/gstformat.c: (gst_format_register):
12410           Fix locking order (must take lock before using n_values).
12411
12412         * gst/gstvalue.c: (gst_value_serialize_enum),
12413         (gst_value_deserialize_enum_iter_cmp),
12414         (gst_value_deserialize_enum):
12415           Fix serialisation/deserialisation of custom registered GstFormats.
12416
12417         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12418           Unit test for custom format serialisation/deserialisation.
12419
12420 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12421
12422         * docs/pwg/building-boiler.xml:
12423         * plugins/elements/gstcapsfilter.c:
12424         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12425         section.
12426
12427 2006-09-16  Edward Hervey  <edward@fluendo.com>
12428
12429         * libs/gst/base/gstbasetransform.c:
12430         (gst_base_transform_buffer_alloc):
12431         Check if requested caps are the same as the sinks caps IF
12432         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12433         is FALSE.
12434         This fixes the renegotiation issues stated in #352827.
12435
12436 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12437
12438         * configure.ac:
12439         * docs/manual/advanced-autoplugging.xml:
12440         * tests/examples/Makefile.am:
12441         * tests/examples/manual/.cvsignore:
12442         * tests/examples/manual/Makefile.am:
12443         * tests/examples/manual/extract.pl:
12444           Extract the manual examples again like we used to do.
12445           Fix one of them.
12446
12447 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12448
12449         * win32/common/config.h:
12450           update for version
12451
12452 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12453
12454         * gst/gsterror.c:
12455           Documents how to receive errors.
12456
12457 2006-09-15  Wim Taymans  <wim@fluendo.com>
12458
12459         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12460         (event_loop), (main):
12461         Added some comments here and there.
12462         Post an application message when an interrupt is caught instead of doing
12463         an uncontrolled state change.
12464         Clean up the event loop.
12465         Handle buffering messages, pause/resume the pipeline.
12466         Make shutdown because of an interrupt more reliable.
12467
12468 2006-09-15  Wim Taymans  <wim@fluendo.com>
12469
12470         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12471         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12472         (gst_base_sink_preroll_object):
12473         Make sure that our internal state is correct when we commit our state
12474         asynchronously. This solves a race where a state change to PLAYING
12475         could cause the sink to remain blocked in preroll in some situations.
12476
12477 2006-09-15  Wim Taymans  <wim@fluendo.com>
12478
12479         * tools/gst-inspect.c: (print_element_properties_info),
12480         (print_signal_info):
12481         List flags as hex so it's easier to deal with.
12482
12483 2006-09-15  Wim Taymans  <wim@fluendo.com>
12484
12485         * docs/libs/gstreamer-libs-sections.txt:
12486         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12487         (gst_base_sink_do_sync):
12488         * libs/gst/base/gstbasesink.h:
12489         Expose logic to wait for preroll so that subclasses such as audiosink
12490         can also use this method.
12491         API: gst_base_sink_wait_preroll()
12492
12493 2006-09-15  Wim Taymans  <wim@fluendo.com>
12494
12495         * gst/gstobject.c: (gst_object_set_parent):
12496         * gst/gstpipeline.c: (do_pipeline_seek):
12497         Small cleanups in docs and code.
12498
12499         * gst/gstsegment.c: (gst_segment_clip):
12500         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12501         if stop == start and start is in the segment, no clipping should be
12502         done. Also add a test for this.
12503
12504 2006-09-15  Wim Taymans  <wim@fluendo.com>
12505
12506         * docs/design/part-buffering.txt:
12507         * docs/gst/gstreamer-sections.txt:
12508         * gst/gstmessage.c: (gst_message_new_buffering),
12509         (gst_message_parse_buffering):
12510         * gst/gstmessage.h:
12511         Added methods to create and parse BUFFERING messages.
12512         Added preliminary docs about buffering.
12513         API: gst_message_new_buffering
12514         API: gst_message_parse_buffering
12515
12516 2006-09-06  Wim Taymans  <wim@fluendo.com>
12517
12518         * gst/gstbin.c:
12519         Update documentation.
12520
12521         * gst/gstelement.c: (gst_element_class_init),
12522         (gst_element_release_request_pad), (gst_element_set_clock),
12523         (gst_element_get_index), (gst_element_add_pad),
12524         (gst_element_remove_pad), (gst_element_get_random_pad),
12525         (gst_element_send_event), (gst_element_get_query_types),
12526         (gst_element_query), (gst_element_post_message),
12527         (gst_element_message_full), (gst_element_continue_state),
12528         (gst_element_lost_state), (gst_element_save_thyself),
12529         (gst_element_restore_thyself):
12530         Documentation updates.
12531         Rename last bit of the new-pad -> pad-added signal rename.
12532         Fix the case where an element query would only work if the source
12533         pad was linked.
12534         Avoid some useless type checking in message handling.
12535
12536         * gst/gstevent.c:
12537         * gst/gstevent.h:
12538         * gst/gstutils.c:
12539         Documentation updates.
12540
12541 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12542
12543         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12544           add an INFO line for when we actually update the fd
12545
12546 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12547
12548         * configure.ac:
12549           back to TRUNK
12550
12551 === release 0.10.10 ===
12552
12553 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12554
12555         * configure.ac:
12556           releasing 0.10.10, "Pais"
12557
12558 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12559
12560         * docs/manual/advanced-position.xml:
12561           Fix typo in sample code.
12562
12563 2006-09-05  Wim Taymans  <wim@fluendo.com>
12564
12565         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12566         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12567         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12568         * libs/gst/net/gstnetclientclock.h:
12569         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12570         * libs/gst/net/gstnettimepacket.h:
12571         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12572         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12573         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12574         * libs/gst/net/gstnettimeprovider.h:
12575         Make stuff compile on windows. Fixes #345295.
12576
12577 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12578
12579         * gst/gst.c: (ensure_current_registry_forking):
12580           Print better details when child was terminated by signal.
12581
12582 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12583
12584         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12585           Print a warning rather than g_assert() if a plugin feature
12586           is a URI handler but returns no protocols (#353976).
12587
12588 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12589
12590         * docs/random/moving-plugins:
12591         Fix two typos.         
12592
12593 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12594
12595         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12596           Fix locking order, handle NULL function values properly.
12597
12598         * gst/gstinfo.h:
12599           Fix docs.
12600
12601         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12602           Initialise variable before using it and fix debug statement to
12603           print the address of the function rather than the address of the
12604           variable on the stack holding the address of the function.
12605
12606 2006-09-01  Wim Taymans  <wim@fluendo.com>
12607
12608         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12609         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12610         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12611         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12612         (gst_ghost_pad_parent_unset),
12613         (gst_ghost_pad_internal_do_activate_push),
12614         (gst_ghost_pad_internal_do_activate_pull),
12615         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12616         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12617         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12618         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12619         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12620         (gst_ghost_pad_new_no_target_from_template),
12621         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12622         More cleanups.
12623         Avoid needless typechecking in macros.
12624         Since the internal pad is always present and never changes, there is
12625         no need to locking or ref when retrieving it.
12626         Improve debugging a bit.
12627         Handle link errors when setting the target. Fixes #341029.
12628
12629 2006-09-01  Wim Taymans  <wim@fluendo.com>
12630
12631         * docs/libs/gstreamer-libs-sections.txt:
12632         * docs/plugins/gstreamer-plugins-sections.txt:
12633         Fix docs some more.
12634
12635         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12636         (gst_collect_pads_event):
12637         * libs/gst/base/gstcollectpads.h:
12638         Documentation updates.
12639         Free queued buffer when removing a pad.
12640
12641 2006-08-31  Michael Smith  <msmith@fluendo.com>
12642
12643         * gst/gstutils.c: (gst_element_link_pads),
12644         (gst_element_link_pads_filtered):
12645           Ensure that we set a capsfilter to NULL if we failed to link it
12646           when doing filtered linking, to avoid criticals.
12647
12648           No need to check for unreffing srcpad, which is explicly NULLed
12649           above (a trivial code cleanup).
12650
12651 2006-08-31  Wim Taymans  <wim@fluendo.com>
12652
12653         * docs/design/part-gstghostpad.txt:
12654         Update ascii art in documentation.
12655
12656         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12657         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12658         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12659         (gst_ghost_pad_internal_do_activate_push),
12660         (gst_ghost_pad_internal_do_activate_pull),
12661         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12662         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12663         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12664         (gst_ghost_pad_set_target):
12665         Small cleanups and leak fixes.
12666         Remove some checks now that the internal pad is never NULL.
12667         Fix the case where linking pads without a target would create nasty
12668         criticals. Fixes #341029.
12669         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12670         value of _set_target().
12671
12672         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12673         (gst_ghost_pad_suite):
12674         Some more tests for creating and linking untargeted ghostpads.
12675
12676 2006-08-31  Edward Hervey  <edward@fluendo.com>
12677
12678         * docs/gst/gstreamer-sections.txt:
12679         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12680         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12681         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12682         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12683         (gst_ghost_pad_new_from_template),
12684         (gst_ghost_pad_new_no_target_from_template):
12685         * gst/gstghostpad.h:
12686         Refactored *_new() functions.
12687         Templates are now used as a g_object_new() parameter.
12688         Use template in _do_getcaps() if we don't have a target.
12689         Small documentation cleanups.
12690         Added two new constructors:
12691         gst_ghost_pad_new_from_template()
12692         gst_ghost_pad_new_no_target_from_template()
12693         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12694         (gst_ghost_pad_suite):
12695         Added tests for new ghostpad instanciation functions.
12696
12697         API additions: gst_ghost_pad_new_from_template,
12698         gst_ghost_pad_new_no_target_from_template
12699
12700 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12701
12702         * docs/random/ensonic/profiling.txt:
12703           Ideas about qos profiling.
12704
12705 2006-08-29  Wim Taymans  <wim@fluendo.com>
12706
12707         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12708         Code cleanups.
12709         Fix memleak.
12710
12711 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12712
12713         * gst/gstxml.c:
12714           Improve and detypofy docs.
12715
12716         * tests/check/Makefile.am:
12717         * tests/check/gst/.cvsignore:
12718         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12719           Add a basic test suite for GstXML.
12720
12721 2006-08-29  Wim Taymans  <wim@fluendo.com>
12722
12723         * gst/gstelement.c: (activate_pads), (clear_caps),
12724         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12725         Clear the pad caps when the element shut down all of the pads and
12726         is not streaming data that could modify the caps. 
12727         Fixes #352958.
12728
12729 2006-08-28  Michael Smith  <msmith@fluendo.com>
12730
12731         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12732           Revert previous change; I misunderstood single-segment mode.
12733
12734 2006-08-28  Michael Smith  <msmith@fluendo.com>
12735
12736         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12737           Unset DISCONT on buffers when using single-segment mode.
12738
12739 2006-08-28  Wim Taymans  <wim@fluendo.com>
12740
12741         * gst/gstcaps.c: (gst_caps_merge_structure):
12742         * gst/gstcaps.h:
12743         Fix docs and indentation again.
12744
12745         * tests/check/gst/gstquery.c: (GST_START_TEST):
12746         Fix leak in tests and add some more tests.
12747
12748 2006-08-28  Edward Hervey  <edward@fluendo.com>
12749
12750         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12751         Inform GstSegment of the last stop position in order for the current
12752         segment to have a proper duration if it doesn't have a specific stop
12753         position from which a duration could be calculated.
12754         This bug was noticeable when a non-flushing, non-update new segment was
12755         followed by another segment (all buffers from the new segment were being
12756         dropped).
12757
12758 2006-08-28  Wim Taymans  <wim@fluendo.com>
12759
12760         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12761         Small comment update.
12762
12763         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12764         (gst_identity_transform_ip):
12765         Drop-probability is broken, mention this in the code with a 
12766         FIXME and also in the property description.
12767         Make silent also be silent about the drop messages.
12768
12769 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12770
12771         * docs/manual/appendix-win32.xml:
12772           Remove mention of popt, we don't depend on that any
12773           longer (#353136). Add some comments pointing out that
12774           this section is slightly outdated.
12775
12776 2006-08-28  Wim Taymans  <wim@fluendo.com>
12777
12778         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12779
12780         * gst/gstquery.c: (gst_query_new_segment):
12781         * tests/check/gst/gstquery.c: (GST_START_TEST):
12782         Initialize variables when creating a new segment query.
12783         Fixes #353121.
12784
12785 2006-08-28  Wim Taymans  <wim@fluendo.com>
12786
12787         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12788
12789         * gst/gstelement.c: (gst_element_get_bus):
12790         * tests/check/gst/gstelement.c: (GST_START_TEST):
12791         Check for NULL before _reffing the bus. Fixes #353122.
12792
12793 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12794
12795         * docs/manual/basics-bus.xml:
12796           Docs update: fix wrong callback return value explanation; add
12797           some lines about the implicit relationship between main loop
12798           and main context; remove duplicate main loop variable declaration.
12799
12800 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12801
12802         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12803           Don't leak caps in unit test; add a few more simple
12804           checks. 
12805
12806 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12807
12808         * docs/gst/gstreamer-sections.txt:
12809         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12810         (gst_caps_structure_is_subset), (gst_caps_merge),
12811         (gst_caps_merge_structure):
12812         * gst/gstcaps.h:
12813         * libs/gst/base/gstbasetransform.c:
12814         (gst_base_transform_transform_caps):
12815         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12816           implement caps merging (fixes #352580)
12817
12818 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12819
12820         * tools/Makefile.am:
12821         * tools/gst-plot-timeline.py:
12822           add debug-log plotting developer tool (#340674)
12823
12824 2006-08-23  Wim Taymans  <wim@fluendo.com>
12825
12826         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12827         (gst_pad_stop_task):
12828         Improve debugging for task functions.
12829
12830         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12831         (gst_task_start), (gst_task_pause), (gst_task_join):
12832         Make sure that the task function started and finished after a 
12833         join(). 
12834         Don't try to push the task function on the threadpool multiple
12835         times.
12836         Improve the g_warning message with some useful suggestions
12837         about how to fix the problem. 
12838
12839 2006-08-23  Wim Taymans  <wim@fluendo.com>
12840
12841         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12842         Handle RESYNC correctly in _proxy_getcaps.
12843
12844 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12845
12846         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12847         (gst_xml_parse_memory), (gst_xml_get_element):
12848           Chain up to parent class in dispose function and also
12849           unref the elements in the toplevel_elements GList.
12850           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12851           Always return a reference in gst_xml_get_element() rather
12852           than only sometimes.
12853
12854         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12855           Don't leak GstXml object.
12856
12857 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12858
12859         * docs/gst/gstreamer-sections.txt:
12860         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12861         (gst_caps_merge):
12862         * gst/gstcaps.h:
12863         * libs/gst/base/gstbasetransform.c:
12864         (gst_base_transform_transform_caps):
12865           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12866           in a better way
12867
12868 2006-08-21  Edward Hervey  <edward@fluendo.com>
12869
12870         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12871         Implement GObject::dispose virtual method in GstXML so we can free the
12872         top_elements GList.
12873
12874 2006-08-21  Wim Taymans  <wim@fluendo.com>
12875
12876         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12877         (gst_buffer_create_sub):
12878         Copy duration/offset_end/caps when creating a subbuffer of the
12879         complete parent.
12880         Make the subbuffer read-only when we make the metadata writable for
12881         now. Fixes #351768.
12882
12883         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12884         Added check for metadata copy when creating subbuffers.
12885
12886 2006-08-21  Edward Hervey  <edward@fluendo.com>
12887
12888         * libs/gst/base/gstbasetransform.c:
12889         (gst_base_transform_buffer_alloc):
12890         Only call downstream buffer_alloc if transform element is passthrough
12891         or always_in_place. Closes #350449.
12892
12893 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12894
12895         * ChangeLog:
12896           ChangeLog surgery to add comments to previous changes
12897
12898 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12899
12900         * gst/gst.c:
12901           Add comments
12902
12903         * gst/gstpad.c: (gst_pad_set_active):
12904           Be more verbose in the log
12905
12906         * libs/gst/base/gstbasetransform.c:
12907         (gst_base_transform_transform_caps):
12908           Simplify caps to get rid of duplicates, fixes #345444
12909
12910 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12911
12912         * gst/gstvalue.c:
12913         * gst/gstvalue.h:
12914           Use these optimizations only internally.
12915
12916 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12917
12918         * gst/gstvalue.c: (gst_value_compare_list),
12919         (gst_value_compare_fraction_range),
12920         (gst_value_intersect_fraction_fraction_range),
12921         (gst_value_intersect_fraction_range_fraction_range),
12922         (gst_value_subtract_fraction_fraction_range),
12923         (gst_value_subtract_fraction_range_fraction_range),
12924         (gst_value_get_compare_func), (gst_value_compare),
12925         (gst_value_compare_with_func):
12926         * gst/gstvalue.h:
12927           Saves the expensive lookup of the compare function in many cases
12928          (#345444)
12929
12930 2006-08-18  Edward Hervey  <edward@fluendo.com>
12931
12932         * tests/check/gst/gstinfo.c: (gst_info_suite):
12933         Disable test that require gstdebug if it wasn't built in core.
12934
12935 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12936
12937         * docs/random/ensonic/logging.txt:
12938           update ideas
12939           
12940         * gst/gstinfo.c: (gst_debug_log_default):
12941           reorder fields, save some columns, add optional color codes for log
12942           levels
12943
12944 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12945
12946         * docs/random/ensonic/logging.txt:
12947           add ideas about making the logs a bit more useful
12948
12949 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12950
12951         * docs/pwg/advanced-events.xml:
12952         * docs/pwg/titlepage.xml:
12953           Update for 0.10 API (#340627). Add myself
12954           to authors list.
12955
12956 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12957
12958         * docs/libs/gstreamer-libs-docs.sgml:
12959         * docs/libs/gstreamer-libs-sections.txt:
12960         * libs/gst/check/gstbufferstraw.c:
12961           Make gstcheck stuff show up in docs (still needs to
12962           be documented properly though).
12963
12964 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12965
12966         * docs/gst/gstreamer-sections.txt:
12967         * gst/Makefile.am:
12968         * gst/gst.c: (init_post):
12969         * gst/gst_private.h:
12970         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12971         * gst/gstquark.h:
12972         * gst/gstquery.c: (gst_query_new_position),
12973         (gst_query_set_position), (gst_query_parse_position),
12974         (gst_query_new_duration), (gst_query_set_duration),
12975         (gst_query_parse_duration), (gst_query_new_convert),
12976         (gst_query_set_convert), (gst_query_parse_convert),
12977         (gst_query_new_segment), (gst_query_set_segment),
12978         (gst_query_parse_segment), (gst_query_new_seeking),
12979         (gst_query_set_seeking), (gst_query_parse_seeking):
12980         Add internal helpers for pre-registering quarks from static strings
12981         and using the quark values directly instead of looking them up when
12982         creating and parsing queries. Can be used for event construction too.
12983         Closes #350432.
12984
12985 2006-08-16  Wim Taymans  <wim@fluendo.com>
12986
12987         * gst/gstbin.c:
12988         Fix bogus docs.
12989
12990 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12991
12992         * gst/gstutils.c: (gst_util_set_value_from_string):
12993           Fix memleak (#351502).
12994
12995         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12996           Add unit test for most of gst_util_set_value_from_string()
12997           (not that one would want to encourage use of this function).
12998
12999 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13000
13001         * libs/gst/check/gstcheck.h:
13002           Use const gchar * variables in fail_unless_equals_string
13003           macro to avoid compiler warnings (and don't use tabs for
13004           indenting).
13005
13006 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13007
13008         * tools/gst-launch.c: (print_tag):
13009           More space on the left for the tag names, to cater
13010           for the 'extended comment' tag (not touching the
13011           string for the first line since it's translated).
13012
13013 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13014
13015         * libs/gst/check/gstcheck.h:
13016           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13017           print something when they fail.
13018
13019 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13020
13021         * docs/gst/gstreamer-sections.txt:
13022         * gst/gsttaglist.c: (_gst_tag_initialize):
13023         * gst/gsttaglist.h:
13024           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13025           Also change merge function for GST_TAG_COMMENT to
13026           use_first.
13027
13028 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13029
13030         * gst/gstinfo.c: (gst_debug_print_object):
13031           Make GST_PTR_FORMAT print messages as well.
13032
13033         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13034         (GST_START_TEST), (gst_info_suite):
13035           More tests.
13036
13037 2006-08-14  Edward Hervey  <edward@fluendo.com>
13038
13039         * gst/gstelementfactory.c: (gst_element_register):
13040         If the GstElementClass doesn't have a GstElementDetails with all fields
13041         filled up correctly (longname, description AND author), then error out
13042         nicely instead of crashing.
13043
13044 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13045
13046         * gst/gststructure.c:
13047           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13048
13049         * gst/gstvalue.h:
13050           Expand on the difference between arrays and lists as we use them.
13051           
13052 2006-08-14  Wim Taymans  <wim@fluendo.com>
13053
13054         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13055         If the parent state change function failed, don't assume we can safely
13056         stop the source, this will be done when the pads are deactivated.
13057
13058 2006-08-14  Wim Taymans  <wim@fluendo.com>
13059
13060         * gst/gstbuffer.c:
13061         * gst/gsttask.c: (gst_task_join):
13062         Small doc updates.
13063
13064         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13065         (gst_pad_stop_task):
13066         When pad (de)activation failed for some reason, restore the old
13067         activation mode and set the pad to flushing instead of assuming the
13068         pad is deactivated.
13069         If the _task_join() failed, reinstall the task on the pad so that it can
13070         be stopped later and return an error.
13071
13072 2006-08-11  Andy Wingo  <wingo@pobox.com>
13073
13074         * configure.ac:
13075         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13076         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13077         is only for users of API that don't want to see deprecated
13078         functions in the headers; people that want to compile out
13079         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13080         CFLAGS. Fixes the build of multifdsink, or will soon..
13081
13082 2006-08-11  Wim Taymans  <wim@fluendo.com>
13083
13084         * docs/gst/gstreamer-sections.txt:
13085         Add GstClockClass vmethod docs.
13086
13087         * gst/gstcaps.h:
13088         Mark #endif with comment for associated #if
13089
13090         * gst/gstclock.c: (gst_clock_id_wait):
13091         * gst/gstclock.h:
13092         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13093         most clock implementations.
13094         Document vmethods.
13095         Flesh out docs about resolution methods.
13096         API: GstClockClass::wait_jitter
13097
13098         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13099         (gst_system_clock_async_thread),
13100         (gst_system_clock_id_wait_jitter_unlocked),
13101         (gst_system_clock_id_wait_jitter):
13102         Use base class wait_jitter variant for improved performance
13103         due to less clock polling.
13104
13105 2006-08-11  Edward Hervey  <edward@fluendo.com>
13106
13107         * gst/gst.c: (gst_init_check), (init_post):
13108         Set gst as being initialized before scanning/updating the registry,
13109         since there might be my python plugin loader that calls gst_init() and
13110         we don't want to loop back in.
13111         Closes #350879
13112
13113 2006-08-11  Wim Taymans  <wim@fluendo.com>
13114
13115         * docs/design/part-qos.txt:
13116         Bring docs in line with the code. Mostly the sign of the jitter was
13117         wrong in the docs. Fixes #349943.
13118
13119         * gst/gstclock.c:
13120         Fix the docs for the jitter.
13121
13122         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13123         (gst_event_parse_tag), (gst_event_new_buffer_size),
13124         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13125         (gst_event_new_seek), (gst_event_parse_seek),
13126         (gst_event_new_navigation):
13127         Make sure the GstStructure has no parent when creating custom
13128         events.
13129         Add some more argument checking so that we avoid 0.0 rates.
13130         Flesh out the docs for the QoS event some more.
13131
13132 2006-08-11  Wim Taymans  <wim@fluendo.com>
13133
13134         * docs/gst/gstreamer-sections.txt:
13135         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13136         (ensure_current_registry_forking), (ensure_current_registry),
13137         (parse_one_option), (parse_goption_arg), (gst_deinit),
13138         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13139         * gst/gst.h:
13140         Doc updates.
13141         Added API and command line option to disable registry forking in
13142         addition to the environment variable.
13143         Constify some static arrays.
13144         Added some more debug.
13145         Don't deinit twice.
13146         API: gst_registry_fork_is_enabled()
13147         API: gst_registry_fork_set_enabled()
13148         API: --gst-disable-registry-fork command line option
13149         Fixes #348918.
13150
13151 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13152
13153         * gst/gst.c: (gst_init):
13154           Fix typo in error message.
13155
13156 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13157
13158         * libs/gst/controller/gstcontroller.h:
13159           fix ABI size-correction
13160
13161         * tests/check/libs/gdp.c: (gst_dp_suite):
13162           make tests that use deprecated API conditional
13163
13164 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13165
13166         * docs/libs/gstreamer-libs-sections.txt:
13167         * libs/gst/controller/gstcontroller.c:
13168         (_gst_controller_get_property), (_gst_controller_set_property),
13169         (_gst_controller_init), (_gst_controller_class_init):
13170         * libs/gst/controller/gstcontroller.h:
13171         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13172         (gst_object_set_control_rate):
13173           API: add gst_object_{s,g}et_control_rate(), add private data section,
13174           fix docs
13175
13176         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13177         * libs/gst/dataprotocol/dataprotocol.h:
13178           add deprecation guards to make gtk-doc happy and allow disabling cruft
13179
13180 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13181
13182         * tests/check/Makefile.am:
13183         * tests/check/gst/.cvsignore:
13184           Let's enable the new unit test as well.
13185
13186 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13187
13188         * configure.ac:
13189         * docs/gst/gstreamer-sections.txt:
13190         * gst/gstconfig.h.in:
13191         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13192         (_gst_info_printf_extension_ptr),
13193         (_gst_info_printf_extension_segment):
13194           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13195           register that lets us easily dump GstSegments into debug
13196           logs (#350419).
13197
13198         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13199         (info_segment_format_printf_extension), (gst_info_suite):
13200           Add simple unit test that logs a bunch of different segments (not
13201           valgrinded at the moment because of leaks in
13202           gst_debug_add_log_function).
13203
13204 2006-08-09  Edward Hervey  <edward@fluendo.com>
13205
13206         * libs/gst/base/gstbasetransform.c:
13207         (gst_base_transform_buffer_alloc):
13208         Even if we can't figure out the proper format to request downstream,
13209         call buffer_alloc() downstream with the input parameters without setting
13210         the caps on the srcpad. This will force negotiation in the chain
13211         function.
13212         Closes #350449
13213
13214 2006-08-08  Edward Hervey  <edward@fluendo.com>
13215
13216         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13217         Unlinking from a pad without a target is now a perfectly valid case
13218         which should NOT raise an assertion.
13219         This case would happen if a linked ghostpad its target set to NULL after
13220         it was previously linked.
13221
13222 2006-08-08  Edward Hervey  <edward@fluendo.com>
13223
13224         * tests/check/libs/gdp.c:
13225         Also comment out the test (see below).
13226
13227 2006-08-08  Edward Hervey  <edward@fluendo.com>
13228
13229         * tests/check/libs/gdp.c: (gst_dp_suite):
13230         Use the architecture information from config.h and not gcc macros
13231         in order to properly disable a test that fails on PPC64.
13232
13233 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13234
13235         * gst/gstelement.c: (gst_element_remove_pad):
13236           Don't crash printing the warning if the pad has no parent.
13237
13238 2006-08-02  Wim Taymans  <wim@fluendo.com>
13239
13240         * libs/gst/dataprotocol/dataprotocol.c:
13241         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13242         (gst_dp_crc), (gst_dp_header_payload_length),
13243         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13244         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13245         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13246         (gst_dp_event_from_packet), (gst_dp_validate_header),
13247         (gst_dp_validate_payload):
13248         Make debug category static
13249         Constify the crc table.
13250         Do some more arg checking in public functions.
13251         Fix some docs and do some small cleanups.
13252
13253         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13254         Add some more checks to see if GDP deals with bogus input.
13255
13256 2006-07-31  Wim Taymans  <wim@fluendo.com>
13257
13258         * gst/gstvalue.c: (gst_value_compare_list):
13259         Fix GstValueList comparison code. Fixes #347293.
13260
13261         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13262         Check to test GstValueList comparison.
13263
13264 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13265
13266         * gst/gstelementfactory.c: (gst_element_factory_create):
13267         Remove unnecessary ref/unref pair
13268
13269         * gst/parse/grammar.y:
13270         Make sure to free the parse buffer on all code paths.
13271         Move a g_free up to the error handler where it's easier to see.
13272
13273         * tests/check/gst/gstevent.c: (test_event):
13274         Extending timeout for downstream travelling events to 10 seconds to
13275         hopefully avoid intermittent failure on the buildbots.
13276
13277         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13278         Don't manually set the state of the src element - it will happen as a
13279         natural consequence of the pipeline changing state, and that way it
13280         will do it in the right order too.
13281
13282 2006-07-31  Wim Taymans  <wim@fluendo.com>
13283
13284         * libs/gst/base/gstbasetransform.c:
13285         (gst_base_transform_buffer_alloc):
13286         Use OBJECT_LOCK and refcounting to get the pad caps in the
13287         buffer_alloc function because the caps could change while we are
13288         busy with them. Fixes #349105
13289
13290 2006-07-31  Wim Taymans  <wim@fluendo.com>
13291
13292         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13293         Protect _PAD_CAPS with OBJECT_LOCK.
13294
13295 2006-07-31  Wim Taymans  <wim@fluendo.com>
13296
13297         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13298         (gst_pad_get_property), (gst_pad_activate_pull),
13299         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13300         (gst_pad_set_activate_function),
13301         (gst_pad_set_activatepull_function),
13302         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13303         (gst_pad_set_getrange_function),
13304         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13305         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13306         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13307         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13308         (gst_pad_set_acceptcaps_function),
13309         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13310         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13311         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13312         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13313         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13314         (gst_pad_configure_sink), (gst_pad_configure_src),
13315         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13316         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13317         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13318         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13319         (gst_pad_send_event):
13320         Use _DEBUG_OBJECT when it makes sense.
13321         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13322         Small cleanups and code reflows.
13323         Avoid caps refcounting in _accept_caps.
13324         Refactor alloc_buffer so that the code performed on the peer is in a
13325         separate function. Also if the pad does not implement a buffer alloc
13326         function, we should still check if the pad is flushing before falling
13327         back to the default allocator.
13328
13329 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13330
13331         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13332         Make all uses of identity and fakesink have silent=true to avoid
13333         serialising every passing data structure, which is breaking tests
13334         on FC4 for some unknown reason.
13335
13336 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13337
13338         * gst/parse/Makefile.am:
13339         * gst/parse/grammar.y:
13340         * gst/parse/parse.l:
13341           Reverted previous patch as it required to bump the flex dependency to
13342           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13343
13344 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13345
13346         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13347
13348         * gst/parse/Makefile.am:
13349         * gst/parse/grammar.y:
13350         * gst/parse/parse.l:
13351           push & pop the state of the lexer for reentrant use case
13352           Fixes #349180
13353
13354 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13355
13356         * libs/gst/base/gstbasesrc.h:
13357           Note in the docs that the ::newsegment vfunc is not actually used by
13358           GstBaseSrc.
13359
13360 2006-07-28  Wim Taymans  <wim@fluendo.com>
13361
13362         * libs/gst/base/gstcollectpads.c:
13363         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13364         (gst_collect_pads_clear), (gst_collect_pads_flush),
13365         (gst_collect_pads_event), (gst_collect_pads_chain):
13366         When flushing a pad, also clear the queued buffer so that we don't
13367         accidentally use it when we shouldn't.
13368         Fix leaks by inreffing incomming buffer.
13369         Flush out queued buffers in case of errors.
13370         Fixes #347452.
13371
13372 2006-07-28  Wim Taymans  <wim@fluendo.com>
13373
13374         * docs/random/phonon-gst:
13375         Random notes about a Phonon backend.
13376
13377 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13378
13379         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13380         Extra debug output
13381         * tests/check/libs/gdp.c: (gst_dp_suite):
13382         Take a whack at fixing the ppc compile using a different define to
13383         disable the broken test.
13384
13385         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13386         Remove excess g_print()
13387
13388 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13389
13390         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13391         Oops, meant to uncomment this line too to dampen the noise a bit.
13392
13393 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13394
13395         * gst/parse/grammar.y:
13396         * gst/parse/parse.l:
13397         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13398         (GST_START_TEST), (parse_suite):
13399         Fix some of the leaks exposed by extending the parse-launch testsuite,
13400         and move the 3 I can't figure out into a separate test that won't run
13401         the pipelines unless the appropriate line is uncommented.
13402
13403 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13404
13405         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13406           Requesting 0 bytes before the end of the file should result in
13407           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13408           unit test.
13409
13410 2006-07-27  Wim Taymans  <wim@fluendo.com>
13411
13412         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13413         Fix useless assert, a uint is always positive.
13414
13415         * gst/gststructure.c: (gst_structure_nth_field_name),
13416         (gst_structure_foreach), (gst_structure_map_in_place):
13417         Check input arguments for public functions to avoid obvious crashes.
13418
13419         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13420         * plugins/elements/gstfakesink.h:
13421         Do less useless typechecking.
13422
13423 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13424
13425         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13426           Do not use mmap() by default since there are a number of error
13427           conditions that we would like to handle in a non-fatal way that
13428           will result in a SIGBUS if we use mmap(). Examples: external
13429           devices (USB harddrive, portable music player) being unplugged
13430           while in use; file on mounted CD/DVD that can't be read because
13431           the medium is partly damaged. Fixes #348455 and #348475.
13432
13433 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13434
13435         * gst/gstquery.h:
13436         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13437         rates are a gdouble
13438
13439 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13440
13441         * gst/gstregistry.c:
13442           Move big documentation comment into class section header, so that it
13443           appears in the API docs.
13444
13445 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13446
13447         * docs/gst/gstreamer-sections.txt:
13448         Oops. Commit the docs additions too for new API.
13449         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13450
13451 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13452
13453         * gst/gststructure.c: (gst_structure_id_set),
13454         (gst_structure_id_set_valist):
13455         * gst/gststructure.h:
13456         Add API for setting values into structures without performing
13457         a quark lookup, if the appropriate quark is already known.
13458
13459         API: gst_structure_id_set
13460         API: gst_structure_id_set_valist
13461
13462         * gst/parse/grammar.y:
13463         * gst/parse/parse.l:
13464         Remove some dead code shown by the coverage information.
13465         Don't throw a critical g_warning when encountering a syntax error,
13466         just warn and let the normal error path handle it.
13467
13468         * plugins/elements/gstelements.c:
13469         Bump the rank of filesink up to PRIMARY so that it is preferred over
13470         gnomevfssink for file:// sink uri's
13471
13472         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13473         (GST_START_TEST), (run_delayed_test),
13474         (gst_parse_test_element_base_init),
13475         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13476         (gst_parse_test_element_change_state),
13477         (gst_register_parse_element), (parse_suite):
13478         Beef up the tests for parse syntax to check that more error cases
13479         fail as they are supposed to. Increases the test coverage a bit.
13480
13481 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13482
13483         * docs/manual/basics-elements.xml:
13484           Fix gst_element_link() example.
13485
13486         * gst/gstutils.c:
13487           Mention in API docs that one should usually gst_bin_add()
13488           elements to a bin or pipeline before doing the linking.
13489           
13490 2006-07-26  Wim Taymans  <wim@fluendo.com>
13491
13492         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13493         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13494         Avoid function call for known types by keeping the buffer and
13495         subbuffer GType global.
13496
13497         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13498         Random silly optimisations in read() path.
13499
13500 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13501
13502         * tools/gst-launch.c: (main):
13503           If the top-level of the parse is a normal bin, it doesn't do the
13504           right logic to run as a top-level element, so place it inside a
13505           pipeline.
13506
13507 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13508
13509         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13510           Remove superfluous g_object_notify() calls, GObject does
13511           that for us automatically.
13512
13513 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13514
13515         * gst/gstinfo.h:
13516           on Win32, use dllspec to export the debug category symbols
13517
13518 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13519
13520         * gst/gsttaglist.c: (_gst_tag_initialize):
13521           Allow more than one GST_TAG_IMAGE per taglist.
13522
13523 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13524
13525         * gst/gstminiobject.c:
13526           update docs
13527         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13528         (gst_fd_src_create):
13529           log recurring events at LOG level
13530           add more debug for when the fd gets set
13531
13532 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13533
13534         * gst/gstparse.c: (gst_parse_launch):
13535           Also remove reentrance checks if flex is MT safe (#348179)
13536          Fix my empty ChangeLog entry below
13537
13538 2006-07-21  Andy Wingo  <wingo@pobox.com>
13539
13540         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13541
13542         * libs/gst/check/Makefile.am
13543         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13544         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13545         * libs/gst/check/gstbufferstraw.h:
13546         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13547         functions, thus proving I am still a GStreamer haxor. OK I wrote
13548         them a long time ago, but anyways.
13549
13550 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13551
13552         * configure.ac:
13553         * gst/gstparse.c: (gst_parse_launch):
13554           Check for flex version and omit mutex if we have a MT save flex
13555           (fixes #348179)
13556
13557 2006-07-21  Wim Taymans  <wim@fluendo.com>
13558
13559         * gst/gstparse.c: (gst_parse_launch):
13560         Protect recursive calls to _parse with a recursive mutex
13561         and busy flag.
13562
13563 2006-07-21  Wim Taymans  <wim@fluendo.com>
13564
13565         * tests/check/gst/gstpad.c: (GST_START_TEST):
13566         Fix leak in test.
13567
13568 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13569
13570         * gst/gstparse.c: (gst_parse_launch):
13571           Do not hang on recursive usage of gst_parse_launch()
13572
13573 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13574
13575         * gst/gsttaglist.c:
13576           Add some more docs, comments and FIXME 0.11s here and there
13577           and also fix some typos.
13578
13579 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13580
13581         * gst/gstsegment.h:
13582           Convert tabs to spaces for better readability. 
13583
13584 2006-07-20  Edward Hervey  <edward@fluendo.com>
13585
13586         * tests/check/libs/gdp.c: (gst_dp_suite):
13587         the test_buffer test fails at line 140 on ppc64 at the following
13588         check:
13589         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13590                 GST_BUFFER_FLAG_IN_CAPS),
13591                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13592         See bug #348114 for more details.
13593
13594 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13595
13596         * docs/pwg/advanced-scheduling.xml:
13597         * gst/gstpad.c:
13598           Fix typos (#348000).
13599
13600 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13601
13602         * docs/pwg/intro-basics.xml:
13603           Fix wrong links (#347927).
13604
13605 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13606
13607         * gst/gstregistry.h:
13608         * gst/gstregistryxml.c: (load_feature),
13609         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13610         * win32/common/config.h:
13611           make --disable-index work (#342564)
13612
13613 2006-07-18  Wim Taymans  <wim@fluendo.com>
13614
13615         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13616
13617         * gst/Makefile.am:
13618         * gst/gsttrace.h:
13619         The attached patch adds two missing defines to gsttrace.h when tracing
13620         is disabled.  It also corrects one existing define.
13621         Fixes #347756.
13622
13623 2006-07-17  Wim Taymans  <wim@fluendo.com>
13624
13625         * docs/gst/gstreamer-sections.txt:
13626         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13627         * gst/gst.h:
13628         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13629         Add two functions to check and change the SIGSEGV behaviour
13630         when loading plugins.
13631         Don't mess with the SIGSEGV handler when we were told not to.
13632         Fixes #347794.
13633         API: gst_segtrap_is_enabled
13634         API: gst_segtrap_set_enabled
13635
13636 2006-07-14  Wim Taymans  <wim@fluendo.com>
13637
13638         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13639         * tests/check/elements/filesrc.c: (GST_START_TEST):
13640         Revert fix for regression in #347408 after release.
13641
13642 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13643
13644         Patch by: Antoine Tremblay <hexa00 at gmail com>
13645
13646         * gst/gstutils.c: (gst_element_unlink):
13647           Free iterator when done (#347311).
13648
13649         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13650           And add a test case for this.
13651
13652 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13653
13654         * configure.ac:
13655         Bump nano back to CVS
13656
13657 === release 0.10.9 ===
13658
13659 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13660
13661         * configure.ac:
13662           releasing 0.10.9, "On the road again"
13663
13664 2006-07-13  Wim Taymans  <wim@fluendo.com>
13665
13666         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13667         * tests/check/elements/filesrc.c: (GST_START_TEST):
13668         Revert pull-0 fix for release. Disable check. Fixes #347408.
13669
13670 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13671
13672         * libs/gst/dataprotocol/dataprotocol.c:
13673         (gst_dp_event_from_packet_1_0):
13674           Fixes #347337: failure to deserialize event packets with
13675           empty payload (only event type)
13676
13677 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13678
13679         * gst/Makefile.am:
13680           do not install a .c file in the header directory
13681
13682 2006-07-13  Edward Hervey  <edward@fluendo.com>
13683
13684         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13685         GhostPad no longer implicitely use the padtemplates of the targets.
13686         Fixes #347384
13687
13688 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13689
13690         * gst/gstvalue.c: (gst_value_compare_list),
13691         (gst_value_compare_array), (_gst_value_initialize):
13692         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13693         Make GstValueArray comparison be order dependent as designed.
13694         Add checks for value lists and value array comparisons.
13695         Fixes #347221
13696
13697 2006-07-11  Edward Hervey  <edward@fluendo.com>
13698
13699         * gst/gstbin.c: (activate_pads),
13700         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13701         (gst_bin_change_state_func):
13702         (de)activate src pads before calling state_change on the childs.
13703         This is to avoid the case where a src ghostpad is blocked (holding the
13704         stream lock), which would block the deactivation of the ghostpad's
13705         target pad.
13706         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13707         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13708         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13709         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13710         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13711         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13712         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13713         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13714         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13715         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13716         (gst_ghost_pad_class_init),
13717         (gst_ghost_pad_internal_do_activate_push),
13718         (gst_ghost_pad_internal_do_activate_pull),
13719         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13720         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13721         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13722         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13723         GhostPads now create their internal GstProxyPad at creation (and not
13724         when they're linked, as it was being done previously).
13725         The internal and target pads are linked straight away.
13726         The data will also travel through the other pad in order to make
13727         pad blocking and probes non-hackish (the probe/block now really happens
13728         on the GhostPad and not on the target).
13729         * gst/gstpad.c: (gst_pad_set_blocked_async),
13730         (gst_pad_link_prepare), (gst_pad_push_event):
13731         Remove previous ghostpad cruft.
13732         * gst/gstutils.c: (gst_pad_add_data_probe),
13733         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13734         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13735         (gst_pad_remove_buffer_probe):
13736         Remove previous ghost pad cruft.
13737         Added more detailed debug statements.
13738         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13739         Fix the testsuite for refcounting changes.
13740         The comments about who has references were correct, but the refcount
13741         being checked wasn't the same (!?!).
13742
13743         Fixes #341029
13744
13745 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13746
13747         * docs/gst/gstreamer-sections.txt:
13748         * gst/gstconfig.h.in:
13749         More docs for configuration options, add docs to gtk-doc.
13750
13751 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13752
13753         * gst/Makefile.am:
13754         * gst/gstconfig.h.in:
13755         * win32/common/config.h:
13756         Fix build when disabling tracing (fixes #344016). Also start to document
13757         the defines that disable the sub-systems.
13758
13759 2006-07-10  Edward Hervey  <edward@fluendo.com>
13760
13761         * gst/gst.c: (ensure_current_registry_forking):
13762         let's make valgrind happy...
13763
13764 2006-07-09  Wim Taymans  <wim@fluendo.com>
13765
13766         * gst/gstelement.c: (activate_pads),
13767         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13768         Better pad activation code: Reset the collect value too on resync.
13769         Add some comments.
13770
13771 2006-07-09  Wim Taymans  <wim@fluendo.com>
13772
13773         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13774         (gst_pad_activate_push):
13775         Use some more macros where it makes sense.
13776         Allow pad mode switching instead of asserting. When a pad
13777         is activated in one mode and we activate it in another, 
13778         deactivate it first before activating it in a different mode.
13779         Fixes #329198.
13780
13781 2006-07-08  Andy Wingo  <wingo@pobox.com>
13782
13783         * tools/gst-launch.c (main): Handle err == NULL.
13784
13785         * gst/gst.c (init_post, ensure_current_registry)
13786         (ensure_current_registry_forking)
13787         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13788         factoring out the registry scanning into separate functions. Don't
13789         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13790         Better environment var name/interface suggestions accepted.
13791
13792 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13793
13794         * gst/gstobject.c: (gst_object_set_name_default),
13795         (gst_object_set_name):
13796           Random micro-optimisation: don't use a hash table
13797           with strings as keys and the usual strdup/strcmp
13798           involved, but rather just use the GQuark of the
13799           type name as key, since it needs to be looked up
13800           anyway to get the type name string.
13801
13802         * tests/check/gst/gstobject.c: (GST_START_TEST):
13803           Fix various leaks.
13804
13805 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13806
13807         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13808         (gst_bin_iterate_all_by_interface):
13809           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13810           GTypes are gulongs and thus the top 4 bytes might be cut
13811           off on some platforms when doing GPOINTER_TO_INT, leading
13812           to invalid GTypes and bad things happening (see RH bug #179654).
13813           Also add a check to make sure the type passed in is really
13814           an interface type.
13815
13816 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13817
13818         * .cvsignore:
13819           Ignore more.
13820
13821 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13822
13823         * Makefile.am:
13824         * configure.ac:
13825         * gst-element-check.m4:
13826         * gst-element-check.m4.in:
13827           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13828           instead of the unversioned gst-inspect (#324176, #168659).
13829
13830 2006-07-06  Wim Taymans  <wim@fluendo.com>
13831
13832         * gst/gstmessage.h:
13833         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13834         warnings.
13835
13836 2006-07-06  Wim Taymans  <wim@fluendo.com>
13837
13838         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13839         (gst_base_src_wait), (gst_base_src_update_length),
13840         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13841         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13842         (gst_base_src_loop), (gst_base_src_start),
13843         (gst_base_src_activate_pull):
13844         Update docs.
13845         blocksize == 0 now means the default blocksize when working in push
13846         based mode.
13847         Remove some pointless asserts in _wait function.
13848         Fix offset/length calculations and EOS handling. We can now pull 0
13849         bytes as well, which is allowed.
13850         use _check_get_range() to decide if we can operate in _pull based
13851         mode.
13852         Fix refcounting leak when check_get_range function was not 
13853         implemented.
13854         API GstBaseSrc::blocksize range can be 0 too now (default)
13855
13856         * tests/check/elements/filesrc.c: (GST_START_TEST),
13857         (filesrc_suite):
13858         Added check to test _get_range() behaviour.
13859
13860 2006-07-06  Wim Taymans  <wim@fluendo.com>
13861
13862         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13863         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13864         (gst_pad_pull_range):
13865         * gst/gstpad.h:
13866         Lots of comments and docs added to the pad functions.
13867         Flesh out the expected behaviour of the get_range() functions.
13868
13869 2006-07-06  Wim Taymans  <wim@fluendo.com>
13870
13871         * gst/gstbus.h:
13872         * gst/gstclock.h:
13873         * gst/gstevent.h:
13874         * gst/gstiterator.h:
13875         * gst/gstpad.h:
13876         * gst/gstplugin.h:
13877         * gst/gsttask.h:
13878         Remove comma at end of enumerator list. 
13879
13880 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13881
13882         * win32/common/libgstbase.def:
13883         * win32/common/libgstdataprotocol.def:
13884         * win32/common/libsgtreamer.def:
13885         Add new exported functions.
13886
13887 2006-07-05  Wim Taymans  <wim@fluendo.com>
13888
13889         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13890         Add some more docs here and there.
13891
13892 2006-07-05  Wim Taymans  <wim@fluendo.com>
13893
13894         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13895         (gst_base_sink_loop), (gst_base_sink_get_position):
13896         When operating in pull mode update the offset so that we
13897         read sequentially.
13898
13899 2006-07-05  Wim Taymans  <wim@fluendo.com>
13900
13901         * gst/gstregistryxml.c: (read_string):
13902         Avoid strdup. (will happen in libxml, but hey!)
13903
13904         * gst/gsturi.c:
13905         Add some more docs.
13906
13907 2006-07-05  Wim Taymans  <wim@fluendo.com>
13908
13909         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13910         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13911         (gst_buffer_suite):
13912         No point in checking if the size of the subbuffer > 0, the
13913         code handles it correclty as demonstrated by unit test.
13914         Also add a unit test for the zero sized _new_and_alloc and
13915         _copy. Fixes #346663.
13916
13917 2006-07-05  Wim Taymans  <wim@fluendo.com>
13918
13919         * libs/gst/base/gstbasetransform.c:
13920         (gst_base_transform_prepare_output_buffer),
13921         (gst_base_transform_buffer_alloc),
13922         (gst_base_transform_handle_buffer):
13923         Make sure the buffer we pass to transform_ip has a refcount of
13924         1 and thus is writable. Fixes #343196
13925
13926 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13927
13928         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13929         (gst_file_src_init), (gst_file_src_set_property),
13930         (gst_file_src_get_property), (gst_file_src_map_region):
13931         * plugins/elements/gstfilesrc.h:
13932         Add "sequential" property, off by default, to use madvise and hint
13933         to the kernel that sequential access is desired.
13934         Touch all retrieved pages by default to ensure they are pulled
13935         into memory. (Closes #345720)
13936
13937 2006-07-03  Wim Taymans  <wim@fluendo.com>
13938
13939         * docs/design/part-block.txt:
13940         * docs/design/part-dynamic.txt:
13941         Small docs updates.
13942
13943 2006-07-03  Wim Taymans  <wim@fluendo.com>
13944
13945         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13946         (gst_caps_unref), (gst_static_caps_get),
13947         (gst_caps_append_structure):
13948         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13949         Use GSlice when the glib we build against is >= 2.10
13950
13951 2006-07-03  Wim Taymans  <wim@fluendo.com>
13952
13953         * gst/gstelement.c: (gst_element_pads_activate):
13954         Small cleanup in pad activation code.
13955
13956 2006-07-03  Wim Taymans  <wim@fluendo.com>
13957
13958         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13959
13960         * gst/gst-i18n-app.h:
13961         * gst/gst-i18n-lib.h:
13962         * tools/gst-inspect.c: (print_signal_info):
13963         The attached patch will make the inclusion of gettext.h unconditional in
13964         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13965         libintl.h in tools/gst-inspect.c.
13966         This allows use of --disable-nls again and fixes #344642.
13967
13968 2006-07-03  Edward Hervey  <edward@fluendo.com>
13969
13970         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13971         Implement pad blocking on events according to part-block.txt.
13972         More comments on behaviour.
13973         * tests/check/gst/gstevent.c: (test_event):
13974         Send event to peer pad of blocked pad (else it will block).
13975
13976 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13977
13978         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13979         (gst_check_run_suite):
13980           if we get the wrong message, give us the types as string
13981         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13982           Fix a translatable
13983         * tests/check/elements/filesrc.c: (GST_START_TEST):
13984           add a test for trying to open a non-existing file
13985
13986 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13987
13988         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13989           add a test for adding self
13990
13991 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13992
13993         * libs/gst/check/gstcheck.h:
13994           add some assert_ as alias for fail_unless_*
13995         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13996           increase test coverage
13997
13998 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13999
14000         * Makefile.am:
14001           include lcov.mak for lcov coverage generation
14002         * tools/Makefile.am:
14003           add to CLEANFILES
14004
14005 2006-07-02  Edward Hervey  <edward@fluendo.com>
14006
14007         * tests/check/elements/.cvsignore:
14008         moaping
14009
14010 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14011
14012         * configure.ac:
14013           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14014         * tests/check/Makefile.am:
14015           clean up gcov files
14016
14017 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14018
14019         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14020           remove gst_caps_simplify; it was not declared and not used
14021           and deprecated in 0.8
14022
14023 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14024
14025         * docs/faq/gst-uninstalled:
14026           don't put empty paths on PYTHONPATH
14027         * docs/gst/gstreamer-sections.txt:
14028           remove some symbols that are not there
14029
14030 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14031
14032         * gst/gstcaps.c: (gst_caps_compare_structures):
14033           whitespace fixes
14034         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14035         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14036           add more tests
14037
14038 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14039
14040         * libs/gst/dataprotocol/Makefile.am:
14041           build dataprotocol test by linking to the lib, instead of
14042           compiling the source, so we get coverage
14043         * tests/check/Makefile.am:
14044         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14045         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14046           add a test for filesrc
14047
14048 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14049
14050         * tests/check/gst/gststructure.c: (GST_START_TEST),
14051         (gst_structure_suite):
14052           Push coverage from 59.04% to 70.00%
14053
14054 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14055
14056         * tests/check/Makefile.am:
14057           gst-inspect every element; this makes sure that we also get
14058           coverage on element's get/set functions
14059
14060 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14061
14062         * configure.ac:
14063           set CFLAGS and friends to -O0 if gcov is being used
14064           add GCOV LIBS
14065         * gst/Makefile.am:
14066         * libs/gst/base/Makefile.am:
14067         * libs/gst/check/Makefile.am:
14068         * libs/gst/controller/Makefile.am:
14069         * libs/gst/dataprotocol/Makefile.am:
14070         * libs/gst/net/Makefile.am:
14071         * plugins/elements/Makefile.am:
14072         * plugins/indexers/Makefile.am:
14073           add makefile rules to generate gcov data and clean up
14074         * tests/check/Makefile.am:
14075           add a coverage target that generates an html overview
14076           of coverage data
14077
14078 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14079
14080         * tests/check/elements/fakesink.c:
14081         * tests/check/elements/fakesrc.c:
14082         * tests/check/elements/fdsrc.c:
14083         * tests/check/elements/identity.c:
14084         * tests/check/generic/sinks.c: (gst_sinks_suite):
14085         * tests/check/generic/states.c:
14086         * tests/check/gst/gst.c:
14087         * tests/check/gst/gstabi.c:
14088         * tests/check/gst/gstbin.c:
14089         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14090         * tests/check/gst/gstbus.c: (gst_bus_suite):
14091         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14092         * tests/check/gst/gstelement.c:
14093         * tests/check/gst/gstevent.c: (gst_event_suite):
14094         * tests/check/gst/gstghostpad.c:
14095         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14096         * tests/check/gst/gstmessage.c: (gst_message_suite):
14097         * tests/check/gst/gstminiobject.c:
14098         * tests/check/gst/gstobject.c:
14099         * tests/check/gst/gstpad.c:
14100         * tests/check/gst/gstpipeline.c:
14101         * tests/check/gst/gstplugin.c:
14102         * tests/check/gst/gstquery.c: (gst_query_suite):
14103         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14104         * tests/check/gst/gststructure.c:
14105         * tests/check/gst/gstsystemclock.c:
14106         * tests/check/gst/gsttag.c:
14107         * tests/check/gst/gsttask.c: (gst_task_suite):
14108         * tests/check/gst/gstutils.c:
14109         * tests/check/gst/gstvalue.c:
14110         * tests/check/libs/adapter.c:
14111         * tests/check/libs/basesrc.c:
14112         * tests/check/libs/collectpads.c:
14113         * tests/check/libs/controller.c:
14114         * tests/check/libs/gdp.c: (gst_dp_suite):
14115         * tests/check/libs/gstnetclientclock.c:
14116         * tests/check/libs/gstnettimeprovider.c:
14117         * tests/check/libs/libsabi.c: (libsabi_suite):
14118         * tests/check/libs/typefindhelper.c:
14119         * tests/check/pipelines/cleanup.c:
14120         * tests/check/pipelines/parse-launch.c:
14121         * tests/check/pipelines/simple-launch-lines.c:
14122         * tests/check/pipelines/stress.c: (stress_suite):
14123           use the new macro
14124
14125 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14126
14127         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14128         * libs/gst/check/gstcheck.h:
14129           create a macro and function so that the simple unit test
14130           case can be just one macro to create main()
14131
14132 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14133
14134         * gst/gstbin.c: (gst_bin_restore_thyself):
14135         * gst/gstxml.c: (gst_xml_make_element):
14136           Fix deserialisation from XML. Set parent manually
14137           instead of using gst_bin_add(), since gst_bin_add()
14138           will unlink all pads of the element being added.
14139           Fixes #341667.
14140
14141 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14142
14143         Patch by: Peter Kjellerstedt <pkj at axis com>
14144
14145         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14146           Fix missing g_strdup() and double free when using the
14147           --gst-plugin-load command line option (#346097).
14148
14149 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14150
14151         * gst/gstinfo.c:
14152           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14153
14154         * libs/gst/net/gstnetclientclock.c:
14155         * libs/gst/net/gstnettimeprovider.c:
14156           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14157
14158 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14159
14160         * docs/manual/advanced-dataaccess.xml:
14161           Fix buffer probe example compilation in
14162           ADM (#345708).
14163         
14164 2006-06-22  Edward Hervey  <edward@fluendo.com>
14165
14166         * gst/gstelement.c: (gst_element_pads_activate):
14167         We need to deactivate src pads first and then sink pads.
14168         The reason is the src pads might be blocking while holding the streaming
14169         lock, so we need to deactivate them first so that deactivating the sink
14170         pads doesn't block (since it will require the streaming lock).
14171
14172 2006-06-22  Wim Taymans  <wim@fluendo.com>
14173
14174         * libs/gst/base/gstbasetransform.c:
14175         (gst_base_transform_buffer_alloc):
14176         Forgot to remove two unneeded unrefs.
14177         Simplify a check _is_equal allready checks the obvious case.
14178
14179 2006-06-22  Wim Taymans  <wim@fluendo.com>
14180
14181         * docs/design/part-block.txt:
14182         Some docs about what pad_block should do.
14183
14184 2006-06-22  Wim Taymans  <wim@fluendo.com>
14185
14186         * gst/gstcaps.c: (gst_caps_replace):
14187         Fix crasher when passed NULL. Doc clarification.
14188         Optimize for the trivial case.
14189
14190         * gst/gstpipeline.c: (gst_pipeline_change_state):
14191         Small cleanups.
14192
14193         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14194         Small documentation cleanup.
14195
14196         * libs/gst/base/gstbasetransform.c:
14197         (gst_base_transform_buffer_alloc):
14198         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14199         is what we need and it avoids a whole lot of redundant 
14200         refcount operations.
14201
14202 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14203
14204         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14205
14206         * docs/manual/advanced-dataaccess.xml:
14207           Fix 'Embedding static elements' section to use
14208           GST_PLUGIN_DEFINE_STATIC (#345607).
14209
14210 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14211
14212         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14213           Attempt to 'fix' spuriously failing test case: it seems like the
14214           timeout of half a second is simply too small when the system is under
14215           load otherwise, and the timeout doesn't really seem to serve any
14216           particular purpose here. Give the pipeline a few seconds to preroll
14217           first, and then give it another half a second to go from PAUSED to
14218           PLAYING and marshal the message into the main thread.
14219
14220 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14221
14222         * tools/gst-feedback-m.m:
14223           Don't only use unversioned tools, try versioned tools as well
14224           (#345086).
14225
14226 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14227
14228         * gst/gstbus.c: (gst_bus_class_init):
14229           Fix some typos, make docs more explicit.
14230
14231 2006-06-20  Wim Taymans  <wim@fluendo.com>
14232
14233         * tests/check/gst/gstghostpad.c: (block_callback),
14234         (GST_START_TEST), (gst_ghost_pad_suite):
14235         Added some more ghostpad tests, mainly blocking
14236         and probes.
14237
14238 2006-06-16  Wim Taymans  <wim@fluendo.com>
14239
14240         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14241         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14242         (gst_file_sink_event), (gst_file_sink_render):
14243         * plugins/elements/gstfilesink.h:
14244         Check if we can seek in the file instead of assuming
14245         we always can. Post an error when we are asked to seek in a
14246         non-seekable file (like a fifo). Fixes #343312.
14247         Some cleanups.
14248
14249 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14250
14251         * tools/gst-launch.1.in:
14252           Un-garble (fourcc) bit in filtered caps section.
14253
14254 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14255
14256         * docs/manual/advanced-autoplugging.xml:
14257         * docs/manual/basics-helloworld.xml:
14258         * docs/manual/highlevel-components.xml:
14259           Don't leak bus reference in sample code.
14260
14261 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14262
14263         * autogen.sh:
14264           Add default for new --enable-plugin-docs switch.
14265
14266         * configure.ac:
14267           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14268           Fixes #344039.
14269
14270         * docs/Makefile.am:
14271           Use new ENABLE_PLUGIN_DOCS conditional.
14272
14273 2006-06-14  Wim Taymans  <wim@fluendo.com>
14274
14275         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14276         Make it clear with a FIXME and a real define what the #if 0
14277         previously disabled.
14278
14279 2006-06-14  Wim Taymans  <wim@fluendo.com>
14280
14281         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14282         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14283         * libs/gst/base/gstbasetransform.c:
14284         (gst_base_transform_sink_eventfunc):
14285         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14286         Don't randomly and silently reset a segment when the format 
14287         changes as this is a bug somewhere upstream. Fixes #330379.
14288
14289 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14290
14291         Patch by: Wouter Paesen  <wouter at kangaroot net>
14292
14293         * libs/gst/controller/gstcontroller.c:
14294         (gst_controlled_property_new):
14295           Fix controlling of float properties (#344849).
14296
14297         * tests/check/libs/controller.c:
14298         (gst_test_mono_source_get_property),
14299         (gst_test_mono_source_set_property),
14300         (gst_test_mono_source_class_init), (GST_START_TEST):
14301           While we're at it, add some float stuff to unit test.
14302
14303 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14304
14305         * docs/README:
14306         * docs/images/gdp-header.svg:
14307           add a gdp image
14308         * docs/libs/Makefile.am:
14309         * docs/libs/gdp-header.png:
14310         * libs/gst/dataprotocol/dataprotocol.c:
14311           add it to the API docs
14312         * docs/manual/intro-motivation.xml:
14313           fix typo
14314
14315 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14316
14317         * gst/gst.c: (scan_and_update_registry), (init_post):
14318           If the fork()'ed child process can't write the updated registry cache
14319           file to disk for some reason, make it exit with a failure exit code,
14320           so that the parent can then re-scan the plugins itself and update the
14321           registry structures in memory and work with that (rather than failing
14322           when creating elements because seemingly no plugins are available).
14323           Refactor registry scanning code into separate function for this and
14324           also separate fork() and non-fork() code paths. Fixes #344748.
14325
14326 2006-06-13  Wim Taymans  <wim@fluendo.com>
14327
14328         * docs/manual/advanced-dataaccess.xml:
14329         Fix wrong PluginDesc. Fixes #344755.
14330
14331 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14332
14333         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14334           Fix silly bug that prevented us from creating
14335           ~/.gstreamer-0.10 and writing the registry in one
14336           go (the first call to g_mkstemp() would overwrite the
14337           placeholder in the template string, so the second call
14338           to g_mkstemp() after creating the missing directory
14339           would then error out with 'invalid argument').
14340
14341 2006-06-13  Edward Hervey  <edward@fluendo.com>
14342
14343         * gst/gst.c: (init_post):
14344         Free string.
14345
14346 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14347
14348         * gst/glib-compat-private.h:
14349         * gst/glib-compat.c:
14350         * gst/glib-compat.h:
14351         * gst/gstvalue.c: (gst_value_serialize_flags):
14352           remove GLib 2.6 compatibility code
14353
14354 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14355
14356         * gst/parse/Makefile.am:
14357           Fix build with 'make -j N' even more (#340016).
14358
14359 2006-06-12  Wim Taymans  <wim@fluendo.com>
14360
14361         * docs/gst/gstreamer-sections.txt:
14362         Fix docs.
14363
14364 2006-06-12  Wim Taymans  <wim@fluendo.com>
14365
14366         * gst/gstsegment.c: (gst_segment_set_duration),
14367         (gst_segment_set_last_stop), (gst_segment_set_seek),
14368         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14369         (gst_segment_to_running_time), (gst_segment_clip):
14370         Use G_UNLIKELY to help the compiler a bit.
14371
14372 2006-06-12  Wim Taymans  <wim@fluendo.com>
14373
14374         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14375
14376         * gst/gstevent.c: (gst_event_get_type):
14377         * gst/gstmessage.c:
14378         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14379         (gst_pad_push):
14380         constify quark registration strings. Fixes #344115
14381         Avoid unneeded type checking is _pad_push() by internally
14382         calling gst_pad_chain_unchecked().
14383
14384 2006-06-12  Wim Taymans  <wim@fluendo.com>
14385
14386         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14387         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14388         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14389         (gst_buffer_is_span_fast), (gst_buffer_span):
14390         Init _type for consistency.
14391         Use _FLAGS macro to avoid type check.
14392         Avoid unneeded type checks in subbufer code.
14393
14394 2006-06-12  Wim Taymans  <wim@fluendo.com>
14395
14396         * gst/gst.c: (gst_debug_help):
14397         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14398         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14399         (gst_plugin_feature_list_free):
14400         * gst/gstregistry.c: (gst_registry_add_plugin),
14401         (gst_registry_add_feature), (gst_registry_plugin_filter),
14402         (gst_registry_feature_filter), (gst_registry_find_plugin),
14403         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14404         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14405         * gst/gstregistryxml.c: (load_feature),
14406         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14407         * gst/gstminiobject.c: (gst_mini_object_unref),
14408         (gst_mini_object_replace), (gst_value_mini_object_free),
14409         (gst_value_mini_object_copy):
14410         Use _CAST macros to avoid unneeded type checking.
14411         Added some more G_UNLIKELY.
14412
14413 2006-06-12  Wim Taymans  <wim@fluendo.com>
14414
14415         * gst/gstbuffer.h:
14416         Avoid unneeded type checking.
14417         API: GST_BUFFER_IS_DISCONT
14418
14419         * gst/gstminiobject.h:
14420         Avoid type check in flag accessor.
14421
14422         * gst/gstelementfactory.h:
14423         * gst/gstplugin.h:
14424         * gst/gstpluginfeature.h:
14425         Add _CAST macros.
14426         API: GST_ELEMENT_FACTORY_CAST
14427         API: GST_PLUGIN_CAST
14428         API: GST_PLUGIN_FEATURE_CAST
14429
14430 2006-06-12  Wim Taymans  <wim@fluendo.com>
14431
14432         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14433         (gst_object_unref):
14434         Add G_UNLIKELY in type registration.
14435         Avoid type check in _ref/_unref since that is also
14436         done in glib.
14437
14438 2006-06-12  Wim Taymans  <wim@fluendo.com>
14439
14440         * gst/gsterror.c: (gst_g_error_get_type):
14441         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14442         (gst_static_pad_template_get_type):
14443         * gst/gsttaglist.c: (gst_tag_list_get_type):
14444         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14445         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14446         * gst/gsturi.c: (gst_uri_handler_get_type):
14447         * gst/gstvalue.c: (gst_date_get_type):
14448         * gst/gstxml.c: (gst_xml_get_type):
14449         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14450         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14451         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14452         Add G_UNLIKELY in type registration.
14453
14454 2006-06-12  Wim Taymans  <wim@fluendo.com>
14455
14456         * tools/gst-inspect.c: (print_signal_info):
14457         Properly print enum values.
14458
14459 2006-06-12  Wim Taymans  <wim@fluendo.com>
14460
14461         * gst/gstinfo.c: (gst_debug_set_active),
14462         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14463         * gst/gstinfo.h:
14464         Add some G_[UN]LIKELY.
14465         Maintain __gst_debug_min to avoid formatting the arguments of
14466         debug messages that will be dropped anyway to avoid a lot of 
14467         overhead from the debugging system.
14468
14469 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14470
14471         * po/POTFILES.in:
14472         * po/POTFILES.skip:
14473           add missing files containing translatable strings, tell intltool about
14474           one exception
14475
14476 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14477
14478         * tests/check/libs/.cvsignore:
14479         add test-binary to ignore list
14480
14481 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14482
14483         * docs/libs/gstreamer-libs-docs.sgml:
14484         reorder (put dp into a chapter) and indent
14485
14486 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14487
14488         * configure.ac:
14489           back to HEAD
14490
14491 === release 0.10.8 ===
14492
14493 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14494
14495         * configure.ac:
14496           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14497
14498 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14499
14500         * gst/gst.c: (init_post):
14501           move pid declaration to declaration block
14502
14503 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14504
14505         * gst/gst.c: (init_post):
14506           use _exit() instead of exit() in our forked child; this ensures
14507           that none of the registered exit handlers from whatever is using
14508           GStreamer get executed.  This fixes gnome-mixer-applet failing
14509           to load, because ORBit would shut down.
14510           Spotted by: Edward Hervey  <edward@fluendo.com>
14511           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14512           Fixes #344474
14513
14514 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14515
14516         * configure.ac:
14517           back to TRUNK
14518
14519 === release 0.10.7 ===
14520
14521 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14522
14523         * configure.ac:
14524           releasing 0.10.7, "Soepeke, ik zie ou"
14525
14526 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14527
14528         * configure.ac:
14529         * po/af.po:
14530         * po/az.po:
14531         * po/bg.po:
14532         * po/ca.po:
14533         * po/cs.po:
14534         * po/de.po:
14535         * po/en_GB.po:
14536         * po/fr.po:
14537         * po/it.po:
14538         * po/nb.po:
14539         * po/nl.po:
14540         * po/ru.po:
14541         * po/sq.po:
14542         * po/sr.po:
14543         * po/sv.po:
14544         * po/tr.po:
14545         * po/uk.po:
14546         * po/vi.po:
14547         * po/zh_CN.po:
14548         * po/zh_TW.po:
14549         * win32/common/config.h:
14550           0.10.6.2 prerelease
14551
14552 2006-06-07  Wim Taymans  <wim@fluendo.com>
14553
14554         * gst/gstindex.c: (gst_index_gtype_resolver):
14555         * tools/gst-xmlinspect.c: (print_plugin_info):
14556         Fix leak spotted by coverity checker. Fixes #343827
14557         Fix another other leak found by paolo borelli.
14558
14559 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14560
14561         * libs/gst/dataprotocol/dataprotocol.c:
14562         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14563         (gst_dp_version_get_type), (gst_dp_init),
14564         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14565         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14566         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14567         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14568         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14569         (gst_dp_packetizer_free):
14570         * libs/gst/dataprotocol/dataprotocol.h:
14571           API: add a GstDPPacketizer object, and create/free functions
14572           API: add GstDPVersion enum
14573           Add 1.0 event function that uses the string serialization
14574           Serialize more useful buffer flags
14575           Fixes #343988
14576
14577 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14578
14579         * tests/check/Makefile.am:
14580         * tests/check/gst/gstabi.c:
14581         * tests/check/gst/struct_ppc64.h:
14582         * tests/check/libs/libsabi.c:
14583         * tests/check/libs/struct_ppc64.h:
14584           add ppc64 structure sizes
14585
14586 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14587
14588         * tests/check/Makefile.am:
14589         * tests/check/gst/gstabi.c:
14590         * tests/check/gst/struct_x86_64.h:
14591         * tests/check/libs/libsabi.c:
14592         * tests/check/libs/struct_x86_64.h:
14593           generate and add structure size lists for x86_64
14594
14595 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14596
14597         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14598         * libs/gst/check/gstcheck.h:
14599           factor out the method from tests that checks size of structures,
14600           and add code to generate the header containing these sizes
14601         * tests/check/gst/gstabi.c: (GST_START_TEST):
14602         * tests/check/gst/struct_i386.h:
14603         * tests/check/libs/libsabi.c: (GST_START_TEST):
14604         * tests/check/libs/struct_i386.h:
14605           use it
14606
14607 2006-06-06  Michael Smith  <msmith@fluendo.com>
14608
14609         * gst/gstsegment.h:
14610           Don't use c++-style comments, fixes #343929
14611
14612 2006-06-05  Edward Hervey  <edward@fluendo.com>
14613
14614         * gst/gst.c:
14615         plugin_paths is not used if we build without registry support.
14616
14617         * gst/gstsegment.c: (gst_segment_copy): 
14618         _copy() was always returning NULL...
14619
14620 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14621
14622         * libs/gst/dataprotocol/dataprotocol.c:
14623         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14624         (gst_dp_packet_from_event):
14625           factor out CRC code
14626
14627 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14628
14629         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14630           make sure we unset caps
14631
14632 2006-06-02  Michael Smith  <msmith@fluendo.com>
14633
14634         * libs/gst/check/gstcheck.c: (gst_check_init),
14635         (gst_check_chain_func):
14636         * libs/gst/check/gstcheck.h:
14637           Add a cond/mutex to the check support lib, signal this whenever we
14638           add to the buffers list. This will allow tests to not busy-wait on
14639           the buffer-list.
14640
14641 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14642
14643         * libs/gst/dataprotocol/dataprotocol.c:
14644         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14645         (gst_dp_packet_from_event):
14646           factor out some common header init code
14647
14648 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14649
14650         * docs/libs/gstreamer-libs-sections.txt:
14651         * docs/libs/tmpl/gstdataprotocol.sgml:
14652         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14653         * libs/gst/dataprotocol/dataprotocol.h:
14654           API: make gst_dp_crc() public
14655
14656 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14657
14658         * plugins/indexers/gstindexers.c: (plugin_init):
14659         conditionally register fileindexer (fixes #343598)
14660
14661 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14662
14663         * gst/gsttagsetter.h:
14664         Can't cast ifaces to a class
14665
14666         * libs/gst/net/gstnetclientclock.h:
14667         * libs/gst/net/gstnettimeprovider.h:
14668         * plugins/elements/gstfakesink.h:
14669         * plugins/elements/gstfakesrc.h:
14670         * plugins/elements/gstfdsink.h:
14671         * plugins/elements/gstfdsrc.h:
14672         * plugins/elements/gstfilesink.h:
14673         * plugins/elements/gstfilesrc.h:
14674         * plugins/elements/gstidentity.h:
14675         * plugins/elements/gstqueue.h:
14676         * plugins/elements/gsttee.h:
14677         * plugins/indexers/gstfileindex.c:
14678         * plugins/indexers/gstmemindex.c:
14679         * tests/old/examples/plugins/example.h:
14680         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14681
14682 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14683
14684         * libs/gst/dataprotocol/dataprotocol.c:
14685         (gst_dp_header_from_buffer):
14686           make sure we zero the whole ABI-compatible area
14687
14688 2006-06-01  Wim Taymans  <wim@fluendo.com>
14689
14690         Patch by: Alessandro Decina <alessandro at nnva dot org>
14691
14692         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14693         Make sure the EOS flag is cleared from pads after a flush
14694         or stop. Fixes #343538.
14695
14696         * tests/check/libs/collectpads.c: (GST_START_TEST),
14697         (gst_collect_pads_suite):
14698         Added test for collectpads reusage after EOS.
14699
14700 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14701
14702         * gst/gst.c:
14703          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14704         * win32/common/libgstbase.def:
14705          export gst_collect_pads_set_flushing
14706         * win32/common/libgstreamer.def:
14707          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14708          gst_value_fraction_multiply
14709         * win32/vs6/gst_inspect.dsp:
14710          add a link to intl.lib
14711
14712 2006-05-30  Wim Taymans  <wim@fluendo.com>
14713
14714         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14715         (gst_collect_pads_chain):
14716         Handle the case where a pad is removed from the collection
14717         that could cause the other pads to become collectable.
14718
14719 2006-05-30  Wim Taymans  <wim@fluendo.com>
14720
14721         * gst/gstelement.c:
14722         Clarify the use of _release_request_pad() and
14723         _get_request_pad() a bit better.
14724
14725         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14726         (gst_adapter_take_buffer):
14727         Fix some doc and comment typos.
14728
14729 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14730
14731         * docs/gst/gstreamer-sections.txt:
14732         * docs/libs/gstreamer-libs-sections.txt:
14733           add declared symbols
14734
14735 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14736
14737         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14738         Add debug that can be enabled using a #define at the top of the file,
14739         for dumping stats about how late/early we were when waking up from
14740         waiting on the clock.
14741
14742 2006-05-30  Wim Taymans  <wim@fluendo.com>
14743
14744         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14745         When rebuilding the pad list, don't leak the previous list.
14746
14747 2006-05-30  Wim Taymans  <wim@fluendo.com>
14748
14749         Patch by: Lutz Mueller <lutz at topfrose dot de>
14750
14751         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14752         (gst_base_src_get_query_types), (gst_base_src_update_length):
14753         Publish supported query types.
14754         Update last_stop field in get_range mode so the position
14755         query works. Fixes #342321.
14756
14757 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14758
14759         * docs/gst/gstreamer-sections.txt:
14760         * gst/gsttaglist.c: (_gst_tag_initialize):
14761         * gst/gsttaglist.h:
14762           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14763
14764 2006-05-30  Wim Taymans  <wim@fluendo.com>
14765
14766         Patch by: Alessandro Decina <alessandro at nnva dot org>
14767
14768         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14769         Unlock mutex when removing an unknown pad.
14770         Fixes #343334.
14771
14772         * tests/check/Makefile.am:
14773         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14774         (push_event), (setup), (teardown), (GST_START_TEST),
14775         (gst_collect_pads_suite), (main):
14776         Added collecpads check, disabled for now as check crashes for
14777         some reason.
14778
14779 2006-05-29  Wim Taymans  <wim@fluendo.com>
14780
14781         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14782         Don't leak pads lists.
14783
14784 2006-05-29  Wim Taymans  <wim@fluendo.com>
14785
14786         * docs/libs/gstreamer-libs-sections.txt:
14787         * libs/gst/base/gstcollectpads.c:
14788         (gst_collect_pads_set_flushing_unlocked),
14789         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14790         (gst_collect_pads_stop):
14791         * libs/gst/base/gstcollectpads.h:
14792         API: gst_collect_pads_set_flushing()
14793         Added api to set the pads to flushing, useful for seeking
14794         code in elements using collectpads.
14795         Clear segment when receiving a flush.
14796
14797 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14798
14799         * gst/gst.c: (add_path_func), (init_post):
14800           Don't scan registry paths passed via --gst-plugin-path immediately
14801           (will crash, because absolutely nothing is set up and no types are
14802           registered etc.); do this later in init_post(). Fixes #343057.
14803
14804 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14805
14806         * gst/gst.c: (init_post):
14807           if we have fork, fork while reading/rebuilding the registry
14808           so the parent doesn't take the hit of having all plugins loaded
14809           in memory.  Fixes #342777.
14810         * configure.ac:
14811           Check if we have fork()
14812         * win32/common/config.h.in:
14813           no fork() on win32
14814
14815 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14816
14817         * plugins/elements/gstelements.c:
14818         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14819         (gst_file_src_init), (gst_file_src_set_property),
14820         (gst_file_src_get_property), (gst_file_src_start):
14821         * plugins/elements/gstfilesrc.h:
14822           API: GstFileSrc::use-mmap
14823
14824         Add a use-mmap property to enable easier testing of all code paths.
14825         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14826         in the absence of gnomevfssrc. (Closes #340501)
14827
14828 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14829
14830         * tools/gst-inspect.c:
14831         Add missing include, removes warning of ngettext not being defined on
14832         some arches.
14833
14834 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14835
14836         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14837         Handle NULL input and output pointers silently as a failed conversion,
14838         rather than g_warnings.
14839
14840 2006-05-25  Wim Taymans  <wim@fluendo.com>
14841
14842         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14843         Initialize variable before using. Fixes #342820.
14844
14845 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14846
14847         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14848           Fix off-by-one bug that would only allow peeks of N-1 bytes
14849           from the start even if the buffer to typefind on contains
14850           in fact N bytes of data (makes vorbis typefinding from a
14851           vorbis identification header buffer work).
14852
14853         * tests/check/Makefile.am:
14854         * tests/check/libs/.cvsignore:
14855         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14856         (gst_typefindhelper_suite), (main), (foobar_typefind),
14857         (plugin_init):
14858           Add very basic unit test for gst_type_find_helper_for_buffer()
14859           that checks for the problem fixed above.
14860
14861 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14862
14863         * tools/gst-inspect.c: (print_interfaces),
14864         (print_element_properties_info), (print_element_list), (main):
14865           add more translatable strings
14866
14867 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14868
14869         Patch by: Julien Moutte  <julien at moutte net>
14870
14871         * docs/gst/gstreamer-sections.txt:
14872           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14873           
14874         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14875         (gst_fake_sink_preroll):
14876         * plugins/elements/gstfakesink.h:
14877           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14878
14879 2006-05-23  Wim Taymans  <wim@fluendo.com>
14880
14881         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14882         * gst/gstpad.h:
14883         Added _CUSTOM error and success GstFlowReturn that can be
14884         used be elements internally. 
14885         Added macro to check for SUCCESS flowreturns.
14886         API: GST_FLOW_CUSTOM_SUCCESS
14887         API: GST_FLOW_CUSTOM_ERROR
14888         API: GST_FLOW_IS_SUCCESS
14889
14890         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14891         Added check for GstFlowReturn sanity.
14892
14893 2006-05-23  Wim Taymans  <wim@fluendo.com>
14894
14895         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14896
14897         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14898         (gst_collect_pads_event):
14899         clear/reset segment info in FLUSH_STOP.
14900         Fixes #336929.
14901
14902 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14903
14904         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14905         (gst_collect_pads_check_collected):
14906         Flush queued buffer on _stop(), fixes playing again (#342454)
14907
14908 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14909
14910         * tests/check/gst/gststructure.c: (GST_START_TEST),
14911         (gst_structure_suite):
14912           add a test for a complete structure
14913
14914 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14915
14916         * docs/faq/developing.xml:
14917         * docs/faq/faq.xml:
14918         * docs/faq/troubleshooting.xml:
14919         * docs/faq/using.xml:
14920           Some minor FAQ updates that won't change the fact that
14921           our FAQ is badly structured, full of information hardly
14922           anyone new to GStreamer needs to know and lacking lots
14923           of information people constantly ask for.
14924           
14925 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14926
14927         * gst/gstpad.c: (gst_pad_set_caps):
14928           Short-circuit gst_pad_set_caps if setting the existing
14929           caps pointer again, and avoid printing debug and 
14930           reffing/unreffing the caps.
14931
14932         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14933           There's actually no need to set the caps before pushing -
14934           the acceptcaps method will handle it anyway.
14935
14936 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14937
14938         * docs/gst/gstreamer-sections.txt:
14939         * win32/common/libgstreamer.def:
14940         * gst/gstutils.c: (gst_element_seek_simple):
14941         * gst/gstutils.h:
14942           API: add gst_element_seek_simple() (#342238).
14943
14944 2006-05-18  Edward Hervey  <edward@fluendo.com>
14945
14946         * gst/gsttypefind.c: (gst_type_find_get_type):
14947         * gst/gsttypefind.h:
14948         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14949         registered for GstTypeFind pointers. This allows wrapping the structure
14950         in bindings (i.e. gst-python).
14951
14952 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14953
14954         * gst/gsttagsetter.c:
14955           Docs additions and fixes (see #339918).
14956
14957 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14958
14959         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14960         The caps intersection algorithm can produce multiple copies of the
14961         caps. Until that is fixed, we need to simplify the result to be
14962         sure whether the allowed caps are fixed or not.
14963
14964         * plugins/elements/gstqueue.c: (gst_queue_init),
14965         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14966         (gst_queue_push_one):
14967         Proxied buffer alloc should not set the caps on the source pad.
14968         When pushing buffers, we always accept the caps change that triggers.
14969         This prevents negotiation errors caused by caps changing mid-stream 
14970         and then being refused on our source pad (because upstream is now
14971         refusing those caps).
14972
14973 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14974
14975         * tests/examples/helloworld/helloworld.c: (main):
14976           Must plug audioconvert and audioresample between decoder
14977           and audio sink.
14978
14979 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14980
14981         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14982         (load_feature), (load_plugin):
14983         Allow empty strings for some of the plugin fields so we don't 
14984         drop valid plugin entries that were written out correctly
14985         (Fixes #341479)
14986
14987 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14988         
14989         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14990           Use g_remove and g_rename instead of remove and rename that don't 
14991           handle utf8 characters. rename was failing for users who had specific
14992           characters in their name then the registry was built at each 
14993           gstreamer init.
14994         * win32/vs6/gst_inspect.dsp:
14995         * win32/vs6/gst_launch.dsp:
14996         * win32/vs6/libgstbase.dsp:
14997         * win32/vs6/libgstcoreelements.dsp:
14998         * win32/vs6/libgstreamer.dsp:
14999           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15000           build of libgstreamer and clean unused libraries in projects link 
15001           settings.
15002
15003 2006-05-17  Edward Hervey  <edward@fluendo.com>
15004
15005         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15006         The queue is not responsible for pushing an EOS when receiving a fatal
15007         flow error. It's up to the real element driving the pipeline to do that.
15008
15009 2006-05-16  Edward Hervey  <edward@fluendo.com>
15010
15011         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15012         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15013         buffer returned a fatal error. It should just send an EOS and stop
15014         its task.
15015         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15016         when pushing buffers on the queue and will be able to handle the event.
15017
15018 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15019
15020         * docs/manual/basics-bins.xml:
15021         * docs/manual/basics-init.xml:
15022           Fix typos and minor errors in sample code (#341856).
15023
15024 2006-05-16  Wim Taymans  <wim@fluendo.com>
15025
15026         * docs/design/part-qos.txt:
15027         Fix indexes in formulas to make more sense.
15028
15029 2006-05-15  Wim Taymans  <wim@fluendo.com>
15030
15031         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15032         Don't report POSITION based on clock time if sync is
15033         disabled in a sink.
15034
15035 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15036
15037         * gst/gstobject.h:
15038           Add cast to make compiler happy - refcount variable was a gint
15039           in GstObject but is a guint in GObject and g_atomic_int_get()
15040           wants a gint *.
15041
15042 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15043
15044         * gst/parse/Makefile.am:
15045           chain commands using &&, which also makes parallel make work
15046
15047 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15048
15049         * docs/gst/gstreamer-sections.txt:
15050         * gst/gstevent.c:
15051         * gst/gstevent.h:
15052         * gst/gstmessage.h:
15053           Minor docs fixes.
15054
15055 === release 0.10.6 ===
15056
15057 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15058
15059         * configure.ac:
15060           releasing 0.10.6, "Take the cannoli"
15061
15062 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15063
15064         * tools/gst-launch.c: (print_tag):
15065           Fix use of uninitialized variable in the hypothetical
15066           case that some broken plugin creates a GST_TAG_IMAGE
15067           tag containing a NULL buffer (#341667).
15068
15069 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15070
15071         * tools/gst-launch.c: (print_tag):
15072           Print something more intelligible for image tags when
15073           using the -t switch (#341556).
15074
15075 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15076
15077         * Makefile.am:
15078           updates for win32
15079         * configure.ac:
15080           define GST_MAJORMINOR so we have it available in win32/common/config.h
15081           Possibly remove it from our Makefile.am files later
15082         * win32/common/config.h:
15083         * win32/common/config.h.in:
15084           added GST_MAJORMINOR
15085         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15086         * win32/common/gstversion.h:
15087           updated
15088
15089 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15090
15091         * win32/MANIFEST:
15092           Update win32 files listing.
15093         * win32/common/gstversion.h:
15094           Add GST_MAJORMINOR definition.
15095         * win32/common/libgstreamer.def:
15096           Add new exported functions.
15097           
15098 2006-05-12  Michael Smith  <msmith@fluendo.com>
15099
15100         * gst/gstplugin.c: (gst_plugin_load_file):
15101           If an so file has no plugin entry point, unload the module.
15102
15103 2006-05-11  Wim Taymans  <wim@fluendo.com>
15104
15105         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15106         (gst_queue_set_property):
15107         Don't forget to signal the _chain or _loop function 
15108         when the queue size or thresholds change since that might
15109         cause them to make progres again.
15110
15111 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15112
15113         * gst/gstclock.c: (gst_clock_class_init):
15114         * gst/gstindex.c: (gst_index_class_init):
15115         * gst/gstobject.c: (gst_object_class_init):
15116         * gst/gstpad.c: (gst_pad_class_init):
15117         * gst/gstpipeline.c: (gst_pipeline_class_init):
15118         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15119         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15120         * libs/gst/base/gstbasetransform.c:
15121         (gst_base_transform_class_init):
15122         * libs/gst/net/gstnetclientclock.c:
15123         (gst_net_client_clock_class_init):
15124         * libs/gst/net/gstnettimeprovider.c:
15125         (gst_net_time_provider_class_init):
15126         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15127         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15128         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15129         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15130         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15131         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15132         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15133         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15134         * plugins/elements/gsttee.c: (gst_tee_class_init):
15135         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15136         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15137           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15138
15139 2006-05-11  Wim Taymans  <wim@fluendo.com>
15140
15141         * gst/gstbuffer.c: (_gst_buffer_initialize):
15142         Register subbufer along with the buffer type so that
15143         it does not accidentally gets registered from N
15144         different streaming threads in a non threadsafe way.
15145
15146 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15147
15148         * gst/gstbuffer.h:
15149         * gst/gstevent.h:
15150         * gst/gstmessage.h:
15151           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15152           gst_event_ref() and gst_message_ref() functions again
15153           (ugly hack, please do fix if there's a better way besides
15154           overrides.txt, which doesn't seem to work).
15155
15156 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15157
15158         * libs/gst/check/gstcheck.h:
15159           add an assert for setting state to avoid lots of repetitive code
15160           in the future
15161
15162 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15163
15164         * gst/gstvalue.c: (gst_value_serialize_flags):
15165           fix a leak if no flags are set
15166         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15167           fix leak in tests
15168
15169 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15170
15171         * docs/manual/basics-pads.xml:
15172           Expand a bit on caps and filtered links and update
15173           examples that were still using the no longer existing
15174           gst_pad_link_filtered() (#338206).
15175
15176 2006-05-10  Wim Taymans  <wim@fluendo.com>
15177
15178         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15179         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15180         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15181         (gst_collect_pads_stop):
15182         * libs/gst/base/gstcollectpads.h:
15183         No need to call _stop in _finalize.
15184         Iterate the main pad list in _finalize.
15185         Added some more debug.
15186         Free lists and data in the right order.
15187         Also free data whem doing _remove_pad when stopped for
15188         backward compatibility protect ::started with PAD_LOCK as
15189         well.
15190
15191 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15192
15193         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15194         (gst_structure_parse_value):
15195           add some comments
15196           rename a method so that it actually says what it does better
15197
15198 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15199
15200         * gst/gstevent.c: (_gst_event_initialize):
15201         * gst/gstformat.c: (_gst_format_initialize):
15202           make sure some essential types used by events are registered
15203           as part of gst_init()
15204         * gst/gstvalue.c: (gst_value_serialize_flags):
15205           if no flags are set, serialize them to a value that represents NONE
15206           so that deserializing them works
15207         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15208           add tests for serialization and deserialization of flags
15209
15210 2006-05-10  Wim Taymans  <wim@fluendo.com>
15211
15212         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15213         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15214         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15215         (gst_collect_pads_event), (gst_collect_pads_chain):
15216         Update docs.
15217         Better debug info.
15218         Catch and return errors from the collect function
15219         Refuse data on eos pads.
15220
15221 2006-05-10  Edward Hervey  <edward@fluendo.com>
15222
15223         * gst/gstinterface.h:
15224         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15225         GInterface type checking.
15226         They were previously using non-defined macros.
15227
15228 2006-05-09  Wim Taymans  <wim@fluendo.com>
15229
15230         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15231         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15232         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15233         (gst_collect_pads_start), (gst_collect_pads_stop),
15234         (gst_collect_pads_peek), (gst_collect_pads_pop),
15235         (gst_collect_pads_available), (gst_collect_pads_read),
15236         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15237         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15238         (gst_collect_pads_chain):
15239         * libs/gst/base/gstcollectpads.h:
15240         Clean up the mess that is collectpads, add comments and
15241         FIXMEs where needed.
15242         Maintain a separate pad list so we can add pads while
15243         collecting the other ones. For this we need a new separate 
15244         lock (see comics).
15245         Fix memory leak in finalize.
15246         Refactor some weird code to set/unset pad flushing flags, mark
15247         with comments.
15248         Don't crash in _available, _read, _flush when we're EOS.
15249
15250         * tests/check/libs/.cvsignore:
15251         Ignore adapter check binary.
15252
15253 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15254
15255         * gst/gstindex.c: (gst_index_resolver_get_type):
15256         * plugins/elements/gstfakesink.c:
15257         (gst_fake_sink_state_error_get_type):
15258         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15259         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15260         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15261           Const-ify GEnumValue arrays.
15262
15263 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15264
15265         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15266           Add test case for flags + gst_buffer_make_metadata_writable().
15267
15268 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15269
15270         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15271           gst_buffer_make_metadata_writable() should maintain the
15272           buffer flags (those that make sense at least) (see #340859).
15273
15274 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15275
15276         * tools/gst-inspect.c:
15277         * tools/gst-launch.c:
15278         * tools/gst-typefind.c:
15279         * tools/gst-xmlinspect.c:
15280         * tools/tools.h:
15281           Fix up includes: need to include stdlib.h in tools.h for exit().
15282
15283 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15284
15285         * gst/gsttaglist.c: (_gst_tag_initialize):
15286         * gst/gsttaglist.h:
15287           API: add GST_TAG_IMAGE tag (#340721).
15288
15289 2006-05-08  Wim Taymans  <wim@fluendo.com>
15290
15291         * gst/gstquery.c:
15292         Added some docs for the segment query.
15293
15294 2006-05-08  Wim Taymans  <wim@fluendo.com>
15295
15296         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15297         (gst_base_src_loop), (gst_base_src_change_state):
15298         Always push non-flushing serialized events in the streaming 
15299         thread.
15300
15301 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15302
15303         * gst/gsterror.c: (_gst_stream_errors_init):
15304           Add a missing error string.
15305
15306 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15307
15308         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15309         Add applied_rate to the debug
15310
15311         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15312         Copy applied_rate into the outgoing NEWSEGMENT event
15313
15314 2006-05-08  Wim Taymans  <wim@fluendo.com>
15315
15316         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15317
15318         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15319         (gst_base_sink_change_state):
15320         call ::unlock before taking the PREROLL_LOCK so we can safely
15321         handle elements that lock in ::render.
15322         Fixes #340174.
15323
15324 2006-05-08  Edward Hervey  <edward@fluendo.com>
15325
15326         * autogen.sh: (CONFIGURE_DEF_OPT): 
15327         Darwin's libtoolize is in fact called glibtoolize.
15328         Adding glibtoolize to the list of accepted names for libtoolize.
15329
15330 2006-05-08  Wim Taymans  <wim@fluendo.com>
15331
15332         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15333         Unify error handling, don't post an error message
15334         when a push() returns EOS but perform our normal EOS
15335         handling code. Fixes #340772.
15336
15337 2006-05-08  Wim Taymans  <wim@fluendo.com>
15338
15339         * docs/design/part-overview.txt:
15340         Make upsteam/downstream concepts more clear.
15341         Give an example of serialized/non-serialized events.
15342
15343         * docs/design/part-events.txt:
15344         * docs/design/part-streams.txt:
15345         Mention applied_rate.
15346
15347         * docs/design/part-trickmodes.txt:
15348         Mention applied rate, flesh out some more use cases.
15349
15350         * gst/gstevent.c: (gst_event_new_new_segment),
15351         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15352         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15353         (gst_event_parse_tag), (gst_event_new_buffer_size),
15354         (gst_event_parse_buffer_size), (gst_event_new_qos),
15355         (gst_event_parse_qos), (gst_event_parse_seek),
15356         (gst_event_new_navigation):
15357         * gst/gstevent.h:
15358         Add applied_rate field to NEWSEGMENT event.
15359         API: gst_event_new_new_segment_full()
15360         API: gst_event_parse_new_segment_full()
15361
15362         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15363         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15364         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15365         * gst/gstsegment.h:
15366         Add applied_rate to GstSegment structure.
15367         Make calculation of stream_time and running_time more correct
15368         wrt rate/applied_rate.
15369         Add some more docs.
15370         API: GstSegment::applied_rate field
15371         API: gst_segment_set_newsegment_full();
15372
15373         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15374         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15375         * libs/gst/base/gstbasetransform.c:
15376         (gst_base_transform_sink_eventfunc),
15377         (gst_base_transform_handle_buffer):
15378         Parse and use applied_rate in the GstSegment field.
15379
15380         * tests/check/gst/gstevent.c: (GST_START_TEST):
15381         Add check for applied_rate field.
15382
15383         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15384         (gstsegments_suite):
15385         Add more checks for various GstSegment operations.
15386
15387 2006-05-08  Wim Taymans  <wim@fluendo.com>
15388
15389         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15390         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15391         (gst_base_sink_get_position), (gst_base_sink_change_state):
15392         Store the sync time of the buffer end position separatly in a
15393         new variable eos_rtime so we can properly sync the EOS event.
15394         Fixes #340697.
15395         Fix the docs for gst_base_sink_set_qos_enabled().
15396         Don't set segment start to invalid value when we receive a 
15397         non TIME newsegment.
15398         get closer to handling position reporting for negative rates 
15399         correctly.
15400
15401 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15402
15403         * gst/gstcaps.c:
15404         Docs about how to print caps for debug purposes.
15405
15406         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15407         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15408
15409 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15410
15411         * gst/gstelement.c:
15412           use full enum names and preprend a '%' in docs strings to make recent 
15413           gtk-doc turn that into a link
15414
15415 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15416
15417         * docs/manual/basics-bins.xml:
15418         * docs/manual/basics-bus.xml:
15419         * docs/manual/basics-pads.xml:
15420           Some typo fixes, some additions, some clarifications. 
15421
15422 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15423
15424         * tools/gst-inspect.c: (main):
15425         * tools/gst-launch.c: (main):
15426         * tools/gst-run.c: (main):
15427         * tools/gst-typefind.c: (main):
15428         * tools/gst-xmlinspect.c: (main):
15429           Use the string passed to g_option_context_new() for
15430           what it's intended for - the program name is already
15431           printed elsewhere.
15432
15433 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15434
15435         * tools/Makefile.am:
15436         * tools/gst-inspect.c: (main):
15437         * tools/gst-launch.c: (main):
15438         * tools/gst-xmlinspect.c: (main):
15439         * tools/tools.h:
15440           Add back --version command line option (#340460).
15441
15442         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15443           Add --version option and use GOption for argument parsing; refactor a
15444           bit; accept directories as arguments and recurse into them; lastly,
15445           print a decent error message when things go wrong.
15446
15447 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15448
15449         * docs/manual/basics-bins.xml:
15450         Don't mention GstThread (#340611)
15451         * docs/manual/basics-elements.xml:
15452         Update link to GObject tutorial (#340607)
15453         
15454 2006-05-05  Wim Taymans  <wim@fluendo.com>
15455
15456         * gst/gstbuffer.h:
15457         * gst/gstminiobject.c:
15458         Add note about refcounting and miniobject/buffer writeability
15459         to docs. Fixes #340604
15460
15461         * gst/gstelementfactory.h:
15462         Added some explanation about @klass.
15463
15464 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15465
15466         * docs/manual/intro-motivation.xml:
15467         * docs/manual/manual.xml:
15468         Avoid CORBA & Bonobo references (#340598)
15469
15470 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15471
15472         * docs/manual/basics-bus.xml:
15473         * docs/manual/basics-pads.xml:
15474         Fix up some inaccuracies and omissions (#340609)
15475         
15476 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15477
15478         * gst/gstghostpad.c:
15479           Small typo in docs (#340625)
15480
15481 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15482
15483         * gst/parse/Makefile.am:
15484           Make 'make -j' proof (see #340698).
15485
15486 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15487
15488         * configure.ac:
15489           Require GLib-2.8 here as well.
15490
15491 2006-05-05  Wim Taymans  <wim@fluendo.com>
15492
15493         * gst/glib-compat.c:
15494         * gst/gst.c: (init_pre):
15495         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15496         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15497         (gst_object_dispatch_properties_changed):
15498         * gst/gstobject.h:
15499         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15500         * gst/gststructure.c: (gst_structure_set_valist):
15501         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15502         Remove pre glib2.8 compatibility, fixes #340508
15503
15504 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15505
15506         * gst/gsttaglist.h:
15507           Mention type of tags in doc blurbs.
15508
15509 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15510
15511         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15512         (gst_pad_configure_src), (gst_pad_push):
15513         Restore acceptcaps checking behaviour now that good plugins have
15514         been released.
15515
15516 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15517
15518         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15519
15520         * gst/gst.c:
15521         * gst/gstbus.c:
15522         * gst/gstclock.c:
15523         * gst/gstevent.c:
15524         * gst/gstformat.c:
15525         * gst/gstmessage.c:
15526         * gst/gstparse.c:
15527         * gst/gstquery.c:
15528         * gst/gstutils.c:
15529         * gst/parse/Makefile.am:
15530         * libs/gst/base/gstadapter.c:
15531         * libs/gst/base/gstbasesrc.c:
15532         * libs/gst/base/gstpushsrc.c:
15533         * libs/gst/base/gsttypefindhelper.c:
15534         * plugins/elements/gstfakesrc.c:
15535         * plugins/elements/gstidentity.c:
15536           Make sure gstprivate.h and/or config.h are
15537           always included first, otherwise some of our
15538           defines (like _FILE_OFFSET_BITS) might be
15539           redefined in the system headers. Fixes build
15540           on opensolaris (#340016).
15541
15542 2006-05-04  Wim Taymans  <wim@fluendo.com>
15543
15544         * docs/libs/gstreamer-libs-sections.txt:
15545         API: addition: gst_adapter_take_buffer()
15546         
15547         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15548         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15549         (gst_adapter_available_fast):
15550         * libs/gst/base/gstadapter.h:
15551         Prepare for optimizing the hell out of this hugely inefficient
15552         piece of code. 
15553         Added gst_adapter_take_buffer() so we can at least start thinking
15554         about subbuffering and merging.
15555         Added some comments.
15556
15557         * tests/check/Makefile.am:
15558         * tests/check/libs/adapter.c: (GST_START_TEST),
15559         (gst_adapter_suite), (main):
15560         Added GstAdapter check.
15561
15562 2006-05-04  Wim Taymans  <wim@fluendo.com>
15563
15564         * docs/design/part-overview.txt:
15565         Fix some typos, add blurb about buffer flags.
15566
15567 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15568
15569         * docs/libs/gstreamer-libs-sections.txt:
15570           make sure GstBaseTransformClass shows up in the docs
15571         * libs/gst/base/gstbasetransform.c:
15572         * libs/gst/base/gstbasetransform.h:
15573           move docs so gtk-doc picks it up now
15574
15575 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15576
15577         * docs/libs/gstreamer-libs-sections.txt:
15578           add missing symbols to docs
15579
15580 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15581
15582         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15583           back out the newsegment handling change, see #340060 for ongoing
15584           discussion
15585
15586 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15587
15588         * tools/gst-run.c: (get_candidates), (main):
15589           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15590           work); fix typo in error message. Fixes #340079.
15591
15592 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15593
15594         * common/Makefile.am:
15595         * docs/Makefile.am:
15596         * docs/faq/Makefile.am:
15597         * docs/gst/Makefile.am:
15598         * docs/libs/Makefile.am:
15599         * docs/manual/Makefile.am:
15600         * docs/plugins/Makefile.am:
15601         * docs/pwg/Makefile.am:
15602         * docs/slides/Makefile.am:
15603         * docs/upload.mak:
15604         * common/upload.mak:
15605           move upload.mak to common
15606
15607 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15608
15609         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15610           add more asserts on refcounts
15611           do more cleanup at end of tests
15612           fix test leaks showing in FC5
15613
15614 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15615
15616         * plugins/elements/gsttypefindelement.c:
15617         (gst_type_find_element_handle_event):
15618         reverted wrong change and reflowed code to avoid others falling into
15619         this trap
15620
15621 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15622
15623         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15624           fix changelog entry about last collectpads change,
15625           add notes about proper fix
15626
15627 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15628
15629         * gst/gst.c:
15630         * gst/gstregistry.c: (gst_registry_scan_path_level),
15631         (gst_registry_scan_path):
15632         * gst/gstregistry.h:
15633           only write out registry if it has changed, fixes #338339
15634
15635 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15636
15637         * gst/gstbin.c:
15638         * gst/gstpipeline.c:
15639         * plugins/elements/gstcapsfilter.c:
15640         * plugins/elements/gstfakesink.c:
15641         * plugins/elements/gstfakesrc.c:
15642         * plugins/elements/gstfdsink.c:
15643         * plugins/elements/gstfdsrc.c:
15644         * plugins/elements/gstfilesink.c:
15645         * plugins/elements/gstfilesrc.c:
15646         * plugins/elements/gstidentity.c:
15647         * plugins/elements/gstqueue.c:
15648         * plugins/elements/gsttee.c:
15649         * plugins/elements/gsttypefindelement.c:
15650         (gst_type_find_element_handle_event):
15651           make GstElementDetails const
15652
15653 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15654
15655         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15656         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15657         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15658           more detailed debug and formatting cleanup,
15659           forward newsegments to src-pad (so that e.g. adder not eats them)
15660
15661 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15662
15663         * gst/gstutils.c: (gst_element_link_pads):
15664           cleanup double code
15665
15666 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15667
15668         * libs/gst/controller/gstcontroller.c:
15669         (gst_controller_sync_values):
15670           some little tuning
15671         * tests/check/libs/controller.c: (GST_START_TEST),
15672         (gst_controller_suite):
15673           a new test for live value handling
15674
15675 2006-04-28  Wim Taymans  <wim@fluendo.com>
15676
15677         * gst/gstutils.c: (push_and_ref):
15678         Added some more docs.
15679         Fix refcount issue whith gst_element_found_tags() helper 
15680         function. Fixes #338335
15681
15682         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15683         Added testsuite for gst_element_found_tags().
15684
15685 2006-04-28  Michael Smith  <msmith@fluendo.com>
15686
15687         * gst/gstvalue.c: (gst_value_serialize_flags):
15688           Avoid NULL dereference when trying to serialize flags containing
15689           invalid values.
15690
15691 2006-04-28  Michael Smith  <msmith@fluendo.com>
15692
15693         * plugins/elements/gsttypefindelement.c:
15694         (gst_type_find_element_handle_event):
15695           If we get EOS before any data is accumulated, don't use
15696           uninitialised local variables.
15697
15698 2006-04-28  Michael Smith  <msmith@fluendo.com>
15699
15700         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15701         (gst_dp_event_from_packet):
15702           Fixes in reading/writing events over GDP (not currently used?) - 
15703           dereferencing NULL events for unknown/invalid event types, memory
15704           leak, and change g_warning to GST_WARNING.
15705
15706 2006-04-28  Wim Taymans  <wim@fluendo.com>
15707
15708         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15709         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15710         (gst_base_sink_get_position), (gst_base_sink_change_state):
15711         When frame dropping is enabled, we should not ignore frames
15712         without a duration.
15713         Update some documentation.
15714
15715 2006-04-28  Wim Taymans  <wim@fluendo.com>
15716
15717         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15718         (gst_base_src_send_event), (gst_base_src_change_state):
15719         Documentation updates.
15720
15721 2006-04-28  Wim Taymans  <wim@fluendo.com>
15722
15723         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15724         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15725         handle EAGAIN, EINTR and short writes correctly. Also clean
15726         up some error cases, avoid a deadlock on bad file descriptors and
15727         use GST_DEBUG_OBJECT.
15728         Fixes #339843
15729
15730 2006-04-28  Wim Taymans  <wim@fluendo.com>
15731
15732         * gst/gstvalue.c: (gst_value_serialize_buffer),
15733         (gst_value_deserialize_buffer):
15734         Don't try to serialize a GValue with a NULL buffer. 
15735         Fixes #339821.
15736
15737         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15738         Added check for serialisation of NULL buffers.
15739
15740 2006-04-28  Wim Taymans  <wim@fluendo.com>
15741
15742         * gst/gstminiobject.c: (gst_value_take_mini_object):
15743         Taking a NULL miniobject is valid, fix the case where
15744         we try to unref the NULL miniobject.
15745
15746 2006-04-28  Wim Taymans  <wim@fluendo.com>
15747
15748         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15749
15750         * gst/gstbin.c: (gst_bin_handle_message_func):
15751         Update docs.
15752         Don't leak bin refcount when a state recalc is
15753         in progress and we delay another one #339808.
15754
15755 2006-04-28  Wim Taymans  <wim@fluendo.com>
15756
15757         * docs/design/part-TODO.txt:
15758         Mention QoS as an ongoing work item.
15759
15760         * docs/design/part-buffering.txt:
15761         New doc about buffering that needs to be fleshed out
15762         at some point.
15763
15764         * docs/design/part-qos.txt:
15765         More QoS policy for decoders/demuxers/transforms
15766
15767         * docs/design/part-trickmodes.txt:
15768         Small update.
15769
15770 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15771
15772         * configure.ac:
15773           back to HEAD
15774
15775 === release 0.10.5 ===
15776
15777 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15778
15779         * configure.ac:
15780           releasing 0.10.5, "Fogo"
15781
15782 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15783
15784         patch by: Wim Taymans
15785
15786         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15787         (gst_pad_configure_src), (gst_pad_push):
15788         * gst/gstpipeline.c: (gst_pipeline_init):
15789           Fix internal data flow errors.  Fixes #338711.
15790
15791 2006-04-12  Wim Taymans  <wim@fluendo.com>
15792
15793         * tests/check/gst/gstelement.c: (GST_START_TEST):
15794         Don't leak the factory.
15795
15796 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15797
15798         * configure.ac:
15799         * win32/common/config.h:
15800           prerelease
15801
15802 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15803
15804         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15805         (gst_controller_unset_all):
15806           Free allocated GstTimedValues when freeing list nodes.
15807           Should fix leaks 'make check-valgrind' complains about.
15808
15809         * win32/common/libgstcontroller.def:
15810           Add gst_controller_unset_all.
15811
15812 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15813
15814         * docs/libs/gstreamer-libs-sections.txt:
15815         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15816         (gst_controller_unset_all):
15817         * libs/gst/controller/gstcontroller.h:
15818         API: Added new method gst_controller_unset_all()
15819         fixed gst_controller_unset()
15820         * tests/check/libs/controller.c: (GST_START_TEST),
15821         (gst_controller_suite):
15822         Added two testcases for new and fixed method
15823
15824 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15825
15826         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15827           MSG_DONTWAIT is not defined on Cygwin, so work
15828           around that (fixes #317048).
15829           
15830 2006-04-11  Wim Taymans  <wim@fluendo.com>
15831
15832         * gst/gstelementfactory.c: (gst_element_register),
15833         (gst_element_factory_create), (gst_element_factory_make):
15834         Some cleanups.
15835         Fixed a FIXME.
15836         Updated docs (Fixes #131079)
15837
15838         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15839         Small cleanups.
15840
15841         * tests/check/gst/gstelement.c: (GST_START_TEST),
15842         (gst_element_suite):
15843         Added testcase for elementfactory class field.
15844
15845 2006-04-10  Wim Taymans  <wim@fluendo.com>
15846
15847         * gst/gstsegment.c:
15848         Added some more docs.
15849
15850         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15851         (gst_base_sink_reset_qos):
15852         Calculate more accurate rate values.
15853
15854 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15855
15856         * gst/gst_private.h:
15857           add a new #ifdef to use __declspec(dllimport) only for
15858           other modules and not for gstreamer core
15859         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15860           use gst_guint64_to_gdouble for conversion
15861         * win32/common/libgstreamer.def:
15862           add new exported functions
15863         * win32/vs6/gst_inspect.dsp:
15864         * win32/vs6/gst_launch.dsp:
15865         * win32/vs6/libgstbase.dsp:
15866         * win32/vs6/libgstcontroller.dsp:
15867         * win32/vs6/libgstcoreelements.dsp:
15868         * win32/vs6/libgstdataprotocol.dsp:
15869         * win32/vs6/libgstnet.dsp:
15870           update project files
15871
15872 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15873
15874         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15875         * gst/gstclock.c: (gst_clock_class_init):
15876         * gst/gstelement.c: (gst_element_class_init):
15877         * gst/gstindex.c: (gst_index_class_init):
15878         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15879         * gst/gstobject.c: (gst_object_class_init),
15880         (gst_signal_object_class_init):
15881         * gst/gstpad.c: (gst_pad_class_init):
15882         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15883         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15884         * gst/gstregistry.c: (gst_registry_class_init):
15885         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15886         * gst/gsttask.c: (gst_task_class_init):
15887         * gst/gstxml.c: (gst_xml_class_init):
15888         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15889         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15890         (gst_base_src_loop):
15891         * libs/gst/controller/gstcontroller.c:/
15892         (_gst_controller_class_init):
15893         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15894         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15895         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15896         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15897         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15898         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15899
15900 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15901
15902         * gst/gstpad.c: (gst_pad_link):
15903           Must set peer pads before calling the link function, otherwise
15904           a task started from a link function might get a flow-not-linked
15905           result when trying to push because the other thread where the
15906           linking happens hasn't had a chance to set the peers yet. This
15907           might happen for example when a queue gets linked to a downstream
15908           element, as queue starts a streaming task when its source pad
15909           gets linked. Happens in real life when playing back flac/musepack
15910           files in playbin (#332390).
15911           
15912 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15913
15914         * gst/gstindex.h:
15915         * gst/gstxml.h:
15916         * libs/gst/base/gstadapter.h:
15917         * libs/gst/base/gstbasesink.h:
15918         * libs/gst/base/gstbasesrc.h:
15919         * libs/gst/base/gstbasetransform.h:
15920         * libs/gst/base/gstcollectpads.h:
15921         * libs/gst/base/gstpushsrc.h:
15922         Fix broken GObject macros
15923
15924 2006-04-07  Wim Taymans  <wim@fluendo.com>
15925
15926         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15927         Initialize start and stop times, thanks valgrind.
15928
15929 2006-04-07  Wim Taymans  <wim@fluendo.com>
15930
15931         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15932         Be a bit nicer to badly behaving upstream elements that expect
15933         us to deal with non TIME segments and timestamps (such as fakesrc
15934         in the testsuite).
15935
15936 2006-04-07  Wim Taymans  <wim@fluendo.com>
15937
15938         * gst/gstbus.c:
15939         Small documentation clarification about the signal watch.
15940
15941         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15942         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15943         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15944         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15945         (gst_base_sink_get_position_last),
15946         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15947         Convert and store timestamps in stream time and running time, the
15948         raw timestamps are not useful, also document this better.
15949         Use different window sizes for good and bad QoS observations so
15950         we react to badness a little quicker.
15951         Keep track of the amount of rendered and dropped buffers.
15952         Send QoS timestamps in running time.
15953
15954         * libs/gst/base/gstbasetransform.c:
15955         (gst_base_transform_sink_eventfunc),
15956         (gst_base_transform_handle_buffer):
15957         Compare QoS timestamps against running time.
15958
15959 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15960
15961         * gst/gstpad.c:
15962           Typo fixes in docs.
15963
15964 2006-04-06  Michael Smith  <msmith@fluendo.com>
15965
15966         * gst/gstpad.c: (gst_pad_set_property):
15967           Use g_value_get_object() instead of g_value_dup_gst_object(),
15968           to avoid double-reffing the pad template (which we then sink,
15969           so this worked previously if (and only if) the pad template
15970           was floating.
15971
15972         * gst/gstpadtemplate.c: (gst_pad_template_init),
15973         (gst_pad_template_pad_created):
15974           Never return floating references to pad templates, create
15975           them as initially-sunken.
15976
15977           Document an extra function (and make this stop sinking our
15978           pad template, since that is now guaranteed to do nothing,
15979           since we created it sunken).
15980
15981         * gst/gstghostpad.c:
15982           Fix docs typo.
15983
15984 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15985
15986         * gst/gstinfo.c: (__gst_in_valgrind):
15987           Add some newlines.
15988
15989         * plugins/elements/gsttypefindelement.c:
15990         (gst_type_find_element_chain):
15991           Don't leak buffer caps.
15992
15993 2006-04-06  Michael Smith  <msmith@fluendo.com>
15994
15995         * gst/parse/grammar.y:
15996           Fix a leak in parse-launch for any source-or-sink named element 
15997           references used.
15998
15999         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16000           Unref the pipeline if it exists after we've failed parsing.
16001
16002 2006-04-05  Michael Smith  <msmith@fluendo.com>
16003
16004         * gst/gstpipeline.c: (gst_pipeline_init):
16005           When we create a pipeline bus, initially create it in flushing mode.
16006           Fixes leaks in at least one test, and makes a new pipeline work the
16007           same as one that has gone to READY and then back to NULL.
16008
16009         * gst/gstelement.c:
16010           Typo fix in docs.
16011
16012 2006-04-05  Michael Smith  <msmith@fluendo.com>
16013
16014         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16015           Unref a pad we reffed.
16016         * tests/check/gst/gstutils.c: (GST_START_TEST):
16017           Unref bins
16018
16019 2006-04-05  Michael Smith  <msmith@fluendo.com>
16020
16021         * gst/gstquery.c: (gst_query_set_formats),
16022         (gst_query_set_formatsv):
16023           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16024
16025 2006-04-05  Michael Smith  <msmith@fluendo.com>
16026
16027         * tests/check/generic/sinks.c: (GST_START_TEST):
16028           Fix a variety of memleaks in sinks check, which are only sometimes 
16029           shown by running the tests under valgrind (weird?).
16030
16031 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16032
16033         * docs/version.entities.in:
16034           Fix the substituted entity name after thomas' changes on the
16035           weekend.
16036
16037 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16038
16039         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16040         VALGRIND_PRINTF
16041         
16042 2006-04-05  Andy Wingo  <wingo@pobox.com>
16043
16044         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16045
16046         * libs/gst/base/gstbasetransform.c
16047         (gst_base_transform_sink_eventfunc): When resetting our segment on
16048         FLUSH_STOP, also update the flag saying we haven't seen a
16049         newsegment.
16050
16051 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16052
16053         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16054
16055         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16056         (gst_plugin_check_license):
16057           minor clean-ups: G_DEFINE_TYPE already takes care of the
16058           parent_class stuff, no need to do it twice. Mark array of
16059           license strings as constant. (#337103)
16060           
16061 2006-04-04  Michael Smith  <msmith@fluendo.com>
16062
16063         * tools/gst-inspect.c: (print_element_list):
16064           Free the right plugin list; fixes a memory leak.
16065
16066 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16067
16068         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16069
16070         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16071           Don't error out on empty buffers (#336945).
16072           
16073 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16074
16075         * docs/libs/gstreamer-libs-sections.txt:
16076         * gst/gsttaglist.c:
16077         * libs/gst/base/gstbasesink.c:
16078         * libs/gst/base/gstbasesink.h:
16079         * libs/gst/base/gstbasesrc.c:
16080         * libs/gst/base/gstbasesrc.h:
16081           Documentation updates. Make BaseSink and BaseSrc docs contain the
16082           class structure so that people can actually see the prototypes for
16083           virtual functions they're supposed to be overriding.
16084
16085 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16086
16087         * plugins/elements/gsttypefindelement.c:
16088         (gst_type_find_element_chain):
16089           More debug info; when skipping typefinding, send cached
16090           events in all cases.
16091
16092 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16093
16094         * configure.ac:
16095           use new AS_VERSION and AS_NANO macros
16096         * gst/gst-i18n-lib.h:
16097         * gst/gst.c:
16098         * gst/gsterror.c:
16099         * gst/gstversion.h.in:
16100         * win32/common/config.h:
16101         * win32/common/config.h.in:
16102           update accordingly
16103
16104 2006-03-31  Michael Smith  <msmith@fluendo.com>
16105
16106         * plugins/elements/gsttypefindelement.c:
16107         (gst_type_find_element_chain):
16108           Do not typefind content if the buffers already have caps.
16109           Neccesary for icydemux (#333657), and the right thing to do anyway.
16110
16111 2006-03-30  Wim Taymans  <wim@fluendo.com>
16112
16113         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16114         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16115         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16116         (gst_base_sink_record_qos_observation),
16117         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16118         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16119         (gst_base_sink_change_state):
16120         More QoS measurements as described in the design doc.
16121         Get rid of ringbuffer with observations, running average is
16122         more simple and equally good.
16123         Calculates valid proportion now.
16124         Added beginning of flood measurement.
16125
16126 2006-03-29  Wim Taymans  <wim@fluendo.com>
16127
16128         * docs/design/part-qos.txt:
16129         * gst/gstclock.c:
16130         Small documentation updates and additions.
16131
16132 2006-03-29  Wim Taymans  <wim@fluendo.com>
16133
16134         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16135         (gst_base_src_send_event), (gst_base_src_loop),
16136         (gst_base_src_change_state):
16137         Perform the EOS logic when we reach the segment stop position.
16138         Fix compilation on gcc4.1
16139
16140 2006-03-29  Wim Taymans  <wim@fluendo.com>
16141
16142         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16143
16144         * plugins/elements/gstqueue.c: (gst_queue_init),
16145         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16146         (gst_queue_set_property):
16147         * plugins/elements/gstqueue.h:
16148         In queue, when EOS is received, if minimum threshold > max_size -
16149         current_level, there is chance that queue blocks forever in conditional
16150         item del wait. This is because the queue is not emptied completely due
16151         to minimum threshold.  Here is another approach. Instead of setting
16152         cur_levels to max in EOS, just zero all minimum threshold levels. This
16153         should make sure that queue gives out all data. When going to READY
16154         (stop) state, just reset the original minimum threshold levels.
16155         Fixes #336336.
16156
16157 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16158
16159         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16160         (gst_type_find_element_handle_event),
16161         (gst_type_find_element_send_cached_events),
16162         (gst_type_find_element_change_state):
16163         * plugins/elements/gsttypefindelement.h:
16164           When typefinding is done in push mode, we should cache
16165           events we receive during typefinding instead of just
16166           dropping them (e.g. newsegment, custom events from
16167           dvdreadsrc etc.) and then send them out once we've
16168           determined the type of the stream (and decodebin
16169           has had a chance to plug in a decoder/demuxer).
16170           
16171 2006-03-27  Wim Taymans  <wim@fluendo.com>
16172
16173         * docs/design/part-qos.txt:
16174         First QoS ideas.
16175
16176 2006-03-27  Wim Taymans  <wim@fluendo.com>
16177
16178         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16179
16180         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16181         (gst_base_src_send_event), (gst_base_src_change_state):
16182         Handle element seek correctly when we are streaming.
16183         Fixes #326998.
16184
16185 2006-03-24  Michael Smith  <msmith@fluendo.com>
16186
16187         * docs/faq/gst-uninstalled:
16188           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16189           allow you to correctly run intalled applications built against old 
16190           core, using plugins that require updated core (e.g. running
16191           installed totem against a full uninstalled gstreamer stack)
16192
16193 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16194
16195         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16196         more debug details
16197
16198 2006-03-24  Wim Taymans  <wim@fluendo.com>
16199
16200         * docs/gst/gstreamer-sections.txt:
16201         Rearrange the order of the methods so that related methods
16202         are grouped together in sections.
16203
16204 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16205
16206         * gst/gstelement.c:
16207           Little clarification in the docs
16208
16209 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16210
16211         * docs/README:
16212         formatting fix
16213         * plugins/elements/gstidentity.c:
16214         * plugins/elements/gstqueue.c:
16215         * plugins/elements/gsttee.c:
16216         * plugins/elements/gsttypefindelement.c:
16217         GST_ELEMENT_DETAILS formatting
16218
16219 2006-03-24  Wim Taymans  <wim@fluendo.com>
16220
16221         * libs/gst/base/gstbasesink.h:
16222         Only add fields, not insert or we break ABI.
16223
16224 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16225
16226         * win32/common/libgstbase.def:
16227         * win32/common/libgstreamer.def:
16228           Update, add recently added functions.
16229
16230 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16231
16232         * docs/gst/gstreamer-sections.txt:
16233         * gst/gstutils.c: (gst_pad_query_peer_position),
16234         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16235         * gst/gstutils.h:
16236           API: add some new utility functions:
16237            - gst_pad_query_peer_position()
16238            - gst_pad_query_peer_duration()
16239            - gst_pad_query_peer_convert()
16240           
16241 2006-03-23  Wim Taymans  <wim@fluendo.com>
16242
16243         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16244         (gst_base_sink_init), (gst_base_sink_finalize),
16245         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16246         (gst_base_sink_set_property), (gst_base_sink_get_property),
16247         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16248         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16249         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16250         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16251         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16252         (gst_base_sink_preroll_object), (gst_base_sink_event),
16253         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16254         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16255         (gst_base_sink_query), (gst_base_sink_change_state):
16256         Decouple max-lateness and the fact that QoS messages are generated
16257         with a new property (qos).
16258         added API: GstBaseSink::async_play()
16259         Add vmethod so subclasses can be notified of ASYNC playing
16260         state changes.
16261         Collect timestamp start and stop to report better current
16262         position in EOS/PLAYING/PAUSED/READY/NULL.
16263         Refactor QoS/frame dropping and other measurements.
16264         API: GstBaseSrc::qos
16265         Fixes #326311
16266
16267         * libs/gst/base/gstbasesink.h:
16268         Added Private struct.
16269         API: gst_base_sink_set_qos_enabled()
16270         API: gst_base_sink_is_qos_enabled()
16271
16272 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16273
16274         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16275           If compiling against GLib-2.8 or newer, try to read the
16276           registry file using GMappedFile first before falling back
16277           to fopen() + fread() (#332151).
16278
16279 2006-03-22  Wim Taymans  <wim@fluendo.com>
16280
16281         * gst/gstinfo.c: (gst_debug_set_active),
16282         (gst_debug_category_set_threshold):
16283         Disable debugging unless explicitly activated.
16284         Fixes #335480.
16285
16286 2006-03-22  Wim Taymans  <wim@fluendo.com>
16287
16288         * gst/gstelement.c: (gst_element_set_locked_state),
16289         (gst_element_dispose):
16290         Cleanup the error case.
16291
16292         * gst/gstobject.c: (gst_object_dispose):
16293         print a critical when some object was disposed with
16294         a parent, also revive the object since it might
16295         crash the parent.
16296
16297 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16298
16299         * tools/gst-launch.1.in:
16300           Fix another typo.
16301
16302 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16303
16304         * configure.ac:
16305         * tests/check/Makefile.am:
16306           disable some tests when we don't have a registry
16307         * tests/check/gst/gstutils.c: (gst_utils_suite):
16308           don't build the part that needs parsing
16309
16310 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16311
16312         * gst/Makefile.am
16313         * tests/examples/Makefile.am:
16314           fix --disable-parse build
16315
16316 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16317
16318         * tools/gst-feedback.1.in:
16319           Fix typo: s/feeback/feedback/ (#133494).
16320
16321 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16322
16323         * tools/Makefile.am:
16324         * tools/gst-launch.1.in:
16325           Add FILES section and correct entry about GST_REGISTRY_PATH
16326           environment variable (#133495; #133494).
16327
16328 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16329
16330         * tools/Makefile.am:
16331         * tools/gst-md5sum.1.in:
16332         * tools/gst-md5sum.c:
16333           Remove gst-md5sum and man page (the md5sink element
16334           required was removed ages ago)
16335
16336 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16337
16338         * gst/gststructure.c: (gst_structure_id_set_value):
16339           Make sure that string fields in structures/taglists
16340           contain valid UTF-8 - we don't want to pass rubbish to
16341           applications because of a buggy plugin (cp. #334167).
16342
16343 2006-03-21  Edward Hervey  <edward@fluendo.com>
16344
16345         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16346         (gst_bin_handle_message_func):
16347         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16348         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16349         (gst_element_set_bus_func):
16350         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16351         * gst/gstminiobject.c: (gst_value_set_mini_object),
16352         (gst_value_take_mini_object):
16353         * gst/gstpad.c: (gst_pad_set_pad_template):
16354         * gst/gstpipeline.c: (gst_pipeline_dispose),
16355         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16356         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16357         (gst_collect_pads_chain):
16358         * libs/gst/net/gstnettimeprovider.c:
16359         (gst_net_time_provider_set_property):
16360         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16361         It's in fact all issues with gst_*object_replace().
16362
16363 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16364
16365         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16366         
16367         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16368         * pkgconfig/gstreamer-check.pc.in:
16369           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16370
16371 2006-03-21  Edward Hervey  <edward@fluendo.com>
16372
16373         * gst/gstbuffer.h:
16374         * gst/gstevent.h:
16375         * gst/gstmessage.h:
16376         gst_[buffer|event|message]_ref() macros are replaced by a static
16377         inline functions because gcc-4.1 will about if the return value
16378         isn't used.
16379         * tests/check/gst/gstevent.c: (event_probe):
16380         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16381
16382 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16383
16384         * gst/gstutils.h:
16385         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16386         the type' case. (Closes: #335195 for now). In the future, when we
16387         depend on GLib 2.10, we could also intern the type name using
16388         g_intern_static_string()
16389
16390 2006-03-20  Wim Taymans  <wim@fluendo.com>
16391
16392         * gst/gstbin.c: (gst_bin_handle_message_func),
16393         (bin_query_max_init), (bin_query_position_fold),
16394         (bin_query_position_done), (gst_bin_query):
16395         Position query should also take max of all streams.
16396
16397 2006-03-20  Wim Taymans  <wim@fluendo.com>
16398
16399         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16400         (gst_fake_src_finalize):
16401         Fix leaks in fakesrc.
16402
16403         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16404         Fix leaks in the testcase.
16405
16406 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16407
16408         * gst/gst_private.h:
16409           add win32 specific import decoration(__declspec(dllimport)) 
16410           for all extern GstDebugCategory * variables
16411         * win32/common/libgstbase.def:
16412         * win32/common/libgstcontroller.def:
16413         * win32/common/libgstreamer.def:
16414           Add some exports, remove empty lines
16415         * win32/common/libgstdataprotocol.def:
16416         * win32/common/libgstdataprotocol.dsp:
16417         * win32/common/libgstnet.def:
16418         * win32/common/libgstnet.dsp:
16419           new project files and exportation files added
16420         
16421 2006-03-19  Wim Taymans  <wim@fluendo.com>
16422
16423         * tests/check/libs/basesrc.c: (eos_event_counter):
16424         Use proper return value for probe.
16425
16426 2006-03-17  Wim Taymans  <wim@fluendo.com>
16427
16428         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16429         (gst_pad_push):
16430         Don't leak buffers, caps and pads on negotiation errors.
16431
16432 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16433
16434         * docs/faq/cvs.xml:
16435         * docs/faq/dependencies.xml:
16436         * docs/faq/developing.xml:
16437         * docs/faq/faq.xml:
16438         * docs/faq/general.xml:
16439         * docs/faq/getting.xml:
16440         * docs/faq/legal.xml:
16441         * docs/faq/troubleshooting.xml:
16442         * docs/faq/using.xml:
16443         Faq review and update.
16444
16445 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16446
16447         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16448         (gst_pad_push):
16449         Don't pound the cpu to pieces by checking get_caps when accept_caps
16450         is called with the same caps as the pad already has.
16451         Use GST_DEBUG_OBJECT when outputting caps change information.
16452
16453 2006-03-15  Wim Taymans  <wim@fluendo.com>
16454
16455         * gst/gstclock.c: (gst_clock_class_init):
16456         Fix docs.
16457
16458 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16459
16460         * gst/gstbuffer.h:
16461         Documentation fix.
16462
16463         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16464         (gst_pad_accept_caps), (gst_pad_configure_sink),
16465         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16466         Make the default acceptcaps behaviour be to check the requested 
16467         caps against the gst_pad_get_caps output. 
16468
16469         Ensure that gst_pad_accept_caps is used to check caps when a pad
16470         doesn't have a setcaps function, so that pads automatically refuse 
16471         caps that they don't allow in their pad template. (Fixes #332986)
16472
16473         When a buffer with attached caps is pushed, ensure that the source 
16474         pad receives those caps even if the element didn't call
16475         gst_pad_set_caps first.
16476
16477 2006-03-15  Wim Taymans  <wim@fluendo.com>
16478
16479         * libs/gst/base/gstadapter.c:
16480         Add some docs.
16481
16482 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16483
16484         * win32/common/libgstbase.def:
16485         * win32/common/libgstcontroller.def:
16486         * win32/common/libgstreamer.def:
16487           Add a whole bunch of missing functions (#334434).
16488
16489 2006-03-14  Wim Taymans  <wim@fluendo.com>
16490
16491         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16492         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16493         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16494         Better debug info when we receive a segment event.
16495         Reorganize a bit so we can pass the get_times() results around.
16496         Use the segment format when calculating the running time.
16497         Don't do QoS is sync is disabled or we have no clock or the
16498         element does not want us to sync to the clock.
16499         Don't drop buffers if QoS is disabled for now.
16500
16501 2006-03-14  Wim Taymans  <wim@fluendo.com>
16502
16503         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16504         Marked the stats property as unimplemented so people don't get
16505         wild ideas.
16506         Add debug message when regression goes wrong.
16507         Added some more docs.
16508
16509 2006-03-14  Wim Taymans  <wim@fluendo.com>
16510
16511         * gst/gstsegment.c: (gst_segment_to_stream_time):
16512         Return correct return type in case of errors.
16513
16514 2006-03-14  Wim Taymans  <wim@fluendo.com>
16515
16516         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16517           Don't segfault on invalid formats.
16518
16519 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16520
16521         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16522           Can't use gst_segment_to_running_time() when the segment
16523           is not in GST_TIME_FORMAT (like with filesink, for example).
16524           Stops flac encoding pipelines from spewing critical warnings
16525           at EOS (#331248).
16526           
16527 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16528
16529         * gst/gstpipeline.c: (gst_pipeline_class_init):
16530           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16531
16532         * plugins/elements/gsttypefindelement.c:
16533         (gst_type_find_element_handle_event):
16534           Don't try to typefind empty streams.
16535
16536 2006-03-14  Wim Taymans  <wim@fluendo.com>
16537
16538         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16539         (gst_base_sink_do_qos):
16540         Separate QoS calculation.
16541         Only drop buffers when lateness is bigger than the 
16542         duration of the buffer.
16543
16544 2006-03-13  Wim Taymans  <wim@fluendo.com>
16545
16546         * gst/gstpipeline.c: (gst_pipeline_set_property),
16547         (gst_pipeline_get_property), (do_pipeline_seek),
16548         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16549         (gst_pipeline_get_delay):
16550         Don't deadlock when reading properties.
16551
16552 2006-03-13  Wim Taymans  <wim@fluendo.com>
16553
16554         * libs/gst/base/gstbasetransform.c:
16555         (gst_base_transform_class_init), (gst_base_transform_init),
16556         (gst_base_transform_sink_event),
16557         (gst_base_transform_sink_eventfunc),
16558         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16559         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16560         (gst_base_transform_set_property),
16561         (gst_base_transform_get_property),
16562         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16563         (gst_base_transform_set_qos_enabled),
16564         (gst_base_transform_is_qos_enabled):
16565         * libs/gst/base/gstbasetransform.h:
16566         Make basetransform virtual method for src events too.
16567         Handle QOS in basetransform.
16568         API: gst_base_transform_update_qos()
16569         API: gst_base_transform_set_qos_enabled()
16570         API: gst_base_transform_is_qos_enabled()
16571
16572 2006-03-13  Wim Taymans  <wim@fluendo.com>
16573
16574         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16575         (gst_base_sink_do_sync):
16576         Small cleanups.
16577         Use QOS debug category.
16578
16579 2006-03-13  Wim Taymans  <wim@fluendo.com>
16580
16581         * plugins/elements/gstqueue.c:
16582         Very small doc update.
16583
16584 2006-03-13  Wim Taymans  <wim@fluendo.com>
16585
16586         * gst/gst_private.h:
16587         * gst/gstinfo.c: (_gst_debug_init):
16588         Added QOS debug category
16589
16590 2006-03-13  Wim Taymans  <wim@fluendo.com>
16591
16592         * docs/gst/gstreamer-sections.txt:
16593         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16594         * gst/gstbin.h:
16595         * gst/gstbus.c: (gst_bus_class_init):
16596         * gst/gstbus.h:
16597         * gst/gstclock.c:
16598         * gst/gstelement.c: (gst_element_set_locked_state):
16599         * gst/gstsegment.c:
16600         Documentation updates.
16601
16602         * gst/gstpipeline.c: (gst_pipeline_get_type),
16603         (gst_pipeline_class_init), (gst_pipeline_init),
16604         (gst_pipeline_dispose), (gst_pipeline_set_property),
16605         (gst_pipeline_get_property), (do_pipeline_seek),
16606         (gst_pipeline_send_event), (gst_pipeline_change_state),
16607         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16608         (gst_pipeline_get_delay):
16609         * gst/gstpipeline.h:
16610         Added methods for setting the delay.
16611         API: gst_pipeline_set_delay()
16612         API: gst_pipeline_get_delay()
16613         Add pipeline debug category
16614         Various cleanups.
16615         Updated docs.
16616         Don't reset stream time when seek failed.
16617
16618 2006-03-13  Wim Taymans  <wim@fluendo.com>
16619
16620         * docs/design/draft-klass.txt:
16621         * docs/design/part-clocks.txt:
16622         * docs/design/part-events.txt:
16623         * docs/design/part-gstbin.txt:
16624         * docs/design/part-gstpipeline.txt:
16625         * docs/design/part-messages.txt:
16626         * docs/design/part-negotiation.txt:
16627         * docs/design/part-overview.txt:
16628         * docs/design/part-preroll.txt:
16629         * docs/design/part-seeking.txt:
16630         * docs/design/part-states.txt:
16631         * docs/design/part-streams.txt:
16632         Documentation updates.
16633
16634 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16635
16636         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16637         us to leak strings...
16638
16639 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16640
16641         * libs/gst/net/gstnettimeprovider.c:
16642           fix docs
16643         * win32/common/config.h:
16644           update
16645
16646 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16647
16648         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16649
16650         * configure.ac:
16651           Don't check for libgnomeui (leftover from old examples
16652           that aren't built or disted any longer) (#334303).
16653           
16654 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16655
16656         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16657         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16658           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16659           there's no space left on the device.
16660
16661 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16662
16663         * gst/gstclock.h:
16664           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16665           to cast the input to GstClockTime before comparing with
16666           another GstClockTime value.
16667
16668 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16669
16670         * configure.ac:
16671           back to trunk
16672
16673 === release 0.10.4 ===
16674
16675 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16676
16677         * configure.ac:
16678           releasing 0.10.4, "Light"
16679
16680 2006-03-10  Michael Smith  <msmith@fluendo.com>
16681
16682         * libs/gst/dataprotocol/dataprotocol.c:
16683           Fix docs for dataprocotol to not get the return types completely
16684           wrong for a few functions.
16685
16686 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16687
16688         * docs/gst/gstreamer-sections.txt:
16689         * gst/gstpipeline.c: (gst_pipeline_class_init),
16690         (gst_pipeline_init), (gst_pipeline_set_property),
16691         (gst_pipeline_get_property), (gst_pipeline_change_state),
16692         (gst_pipeline_set_auto_flush_bus),
16693         (gst_pipeline_get_auto_flush_bus):
16694         * gst/gstpipeline.h:
16695           Add new API: gst_pipeline_set_auto_flush_bus() and
16696           gst_pipeline_get_auto_flush_bus() to disable automatic
16697           flushing of the pipeline's GstBus when going from READY
16698           to NULL state (#332045).
16699
16700 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16701
16702         * docs/gst/gstreamer-sections.txt:
16703         * gst/gsturi.c: (gst_uri_has_protocol):
16704         * gst/gsturi.h:
16705            Add new API: gst_uri_has_protocol() (#333779).
16706
16707 2006-03-09  Wim Taymans  <wim@fluendo.com>
16708
16709         * gst/gstclock.c: (gst_clock_entry_new),
16710         (gst_clock_id_compare_func), (gst_clock_id_wait),
16711         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16712         (gst_clock_init), (gst_clock_get_internal_time),
16713         (gst_clock_set_master), (do_linear_regression),
16714         (gst_clock_add_observation), (gst_clock_set_property):
16715         * gst/gstclock.h:
16716         Review docs.
16717         Small cleanups.
16718         Fix a possible segfault when the window-size is made smaller.
16719         Calculate jitter before performing the clock wait. Ideally
16720         the clock implementation should calculate jitter but we need
16721         API breakage for that.
16722
16723         * gst/gstsystemclock.c: (gst_system_clock_init):
16724         Docs review.
16725         
16726         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16727         Remove leftover else
16728
16729         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16730         (gst_systemclock_suite):
16731         Added check to test GST_CLOCK_DIFF.
16732
16733 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16734
16735         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16736         (gst_type_find_helper_get_range):
16737           If we are provided with the size, we should implement
16738           GstTypeFind::get_length, so that typefind functions who
16739           want to can actually peek at the middle of a file.
16740
16741 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16742
16743         * docs/manual/advanced-dataaccess.xml:
16744           Add some very very basic error checking.
16745
16746         * docs/pwg/appendix-checklist.xml:
16747           Some updates to the list of things to check when writing an element.
16748
16749 2006-03-08  Wim Taymans  <wim@fluendo.com>
16750
16751         * docs/design/part-element-transform.txt:
16752         Added some docs about the design of tranform elements.
16753
16754         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16755         (gst_base_src_loop), (gst_base_src_change_state):
16756         Mark buffers with the DISCONT flag.
16757
16758 2006-03-08  Michael Smith  <msmith@fluendo.com>
16759
16760         * gst/gstregistry.h:
16761         * gst/gstregistryxml.c: (gst_registry_save),
16762         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16763         (gst_registry_xml_save_pad_template),
16764         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16765         (gst_registry_xml_write_cache):
16766           Rewrite registry-saving to avoid race conditions and check for
16767           failed writes.
16768
16769 2006-03-08  Wim Taymans  <wim@fluendo.com>
16770
16771         * libs/gst/base/gstbasetransform.c:
16772         (gst_base_transform_transform_caps),
16773         (gst_base_transform_transform_size),
16774         (gst_base_transform_prepare_output_buffer),
16775         (gst_base_transform_get_unit_size),
16776         (gst_base_transform_buffer_alloc),
16777         (gst_base_transform_handle_buffer),
16778         (gst_base_transform_change_state):
16779         Cleanups, separate normal flow from errors, add sensible
16780         DEBUG lines.
16781         Don't try to renegotiate when allocating an output buffer.
16782         Also copy DISCONT buffer flag when copying a buffer.
16783         Reset the transform after we finish streaming, not during.
16784
16785 2006-03-08  Wim Taymans  <wim@fluendo.com>
16786
16787         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16788         Use last buffer timestamp in qos message.
16789
16790 2006-03-07  Wim Taymans  <wim@fluendo.com>
16791
16792         Patch by: Christophe Fergeau
16793
16794         * docs/pwg/advanced-tagging.xml:
16795         * docs/pwg/building-pads.xml:
16796           fixes #333416
16797
16798 2006-03-07  Wim Taymans  <wim@fluendo.com>
16799
16800         * docs/libs/gstreamer-libs-sections.txt:
16801         Added basesink new methods.
16802
16803         * gst/gstevent.c:
16804         * gst/gstevent.h:
16805         Docs updates. Flesh out the QoS docs.
16806
16807         * libs/gst/base/gstadapter.c:
16808         Small doc clarification about ownership and flushing.
16809
16810         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16811         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16812         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16813         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16814         * libs/gst/base/gstbasesink.h:
16815         API additions: 
16816         Added new methods to allow subclass to control max-lateness 
16817         and sync.
16818         Generate very basic QoS events based on last sync observation.
16819         Updated docs, fix typo, added some QoS blurb.
16820
16821         * libs/gst/base/gstbasesrc.c:
16822         Remove obsolete _get_state() calls from docs.
16823
16824 2006-03-07  Wim Taymans  <wim@fluendo.com>
16825
16826         * docs/libs/gstreamer-libs-sections.txt:
16827         * libs/gst/base/gstbasetransform.h:
16828         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16829         Fix docs for GstBaseSrc.
16830
16831 2006-03-07  Wim Taymans  <wim@fluendo.com>
16832
16833         * docs/gst/gstreamer-sections.txt:
16834         * gst/gstbuffer.h:
16835         * gst/gstvalue.c:
16836         * libs/gst/base/gstbasetransform.h:
16837         Small documentation fixes.
16838
16839 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16840
16841         * gst/gstvalue.c:
16842           Document thread-unsafety of gst_value_register_foo_func()
16843           when used at the same time as gst_value_foo() (#322628).
16844
16845 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16846
16847         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16848         (gst_push_src_check_get_range):
16849           Push sources don't support pull mode by default.
16850
16851 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16852
16853         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16854         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16855         (gst_base_src_default_check_get_range):
16856         * libs/gst/base/gstbasesrc.h:
16857           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16858           provide default implementation, and rename
16859           gst_base_src_check_get_range() to
16860           gst_base_src_pad_check_get_range() for clarity.
16861
16862 2006-03-06  Wim Taymans  <wim@fluendo.com>
16863
16864         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16865         Make property overridable.
16866
16867 2006-03-06  Wim Taymans  <wim@fluendo.com>
16868
16869         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16870         (gst_base_sink_init), (gst_base_sink_set_property),
16871         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16872         * libs/gst/base/gstbasesink.h:
16873         API addition: Make max-lateness a property.
16874
16875 2006-03-06  Wim Taymans  <wim@fluendo.com>
16876
16877         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16878         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16879         Don't ever draw a frame that is >10ms late.
16880
16881 2006-03-06  Michael Smith  <msmith@fluendo.com>
16882
16883         * gst/gstmessage.c: (_gst_message_copy):
16884           When copying a message, set the parent_refcount of the enclosed
16885           structure to point at the copy, not the original message.
16886
16887 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16888
16889         Patch by: Christophe Fergeau
16890
16891         * gst/gstutils.h:
16892           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16893           usable in c++ code (#333417)
16894
16895 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16896
16897         * gst/gstclock.h:
16898           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16899
16900 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16901
16902         * libs/gst/base/gstbasetransform.c:
16903         (gst_base_transform_transform_caps):
16904           Make sure caps are writable before passing them to
16905           gst_caps_append().
16906
16907 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16908
16909         * gst/gsterror.h:
16910           Fix some minor docs errors.
16911
16912 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16913
16914           Patch by: Ross Burton <ross at burtonini dot com>
16915
16916         * gst/gsterror.c: (_gst_resource_errors_init):
16917         * gst/gsterror.h:
16918           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16919
16920 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16921
16922         * gst/gst.c:
16923         Add a check and output a g_warning when GStreamer is built
16924         against GLib 2.6 but running against 2.8 or higher, and vice 
16925         versa. (Closes: #323542)
16926
16927 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16928
16929         * gst/parse/parse.l:
16930           Commit patch for parse_launch syntax from #331255. Removes 
16931           support for quoted strings and mimetypes when writing filtered 
16932           caps. See the bug report for more details - I'm pretty sure this
16933           obscure feature is not in use by _anyone_ anywhere.
16934
16935           With this simple change, the size of the gstreamer.so here 
16936           drops from 2193KB to 1565KB.
16937
16938 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16939
16940         * plugins/elements/gsttypefindelement.h:
16941         * plugins/elements/gsttypefindelement.c:
16942         (gst_type_find_element_src_event), (start_typefinding),
16943         (stop_typefinding), (gst_type_find_element_handle_event),
16944         (gst_type_find_element_chain),
16945         (gst_type_find_element_chain_do_typefinding):
16946           Use gst_type_find_helper_for_buffer() for chain-based
16947           typefinding.
16948
16949 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16950
16951         * plugins/elements/gsttypefindelement.c:
16952         (gst_type_find_element_class_init),
16953         (gst_type_find_element_set_property),
16954         (gst_type_find_element_get_property):
16955           Deprecate "maximum" property (not only was it only taken into
16956           account for typefinding in push-mode anyway, it also was never
16957           actually possible to set it in the first place because the
16958           property was registered with the numeric property ID for the
16959           "minimum" property). Register "maximum" property correctly,
16960           for the sake of future copy'n'pasters. Remove some cruft
16961           from property get/set functions.
16962
16963 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16964
16965         * plugins/elements/gsttypefindelement.c:
16966         (gst_type_find_element_activate):
16967           Use gst_type_find_helper_get_range() here, so we
16968           can honour the "minimum" property and also emit
16969           the signal with the correct probability of the found caps.
16970
16971 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16972
16973         * docs/libs/gstreamer-libs-sections.txt:
16974         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16975         (helper_find_suggest), (gst_type_find_helper_get_range),
16976         (gst_type_find_helper):
16977         * libs/gst/base/gsttypefindhelper.h:
16978           New API: gst_type_find_helper_get_range() (#333042).
16979
16980 2006-03-02  Michael Smith  <msmith@fluendo.com>
16981
16982         * gst/gstregistryxml.c: (load_feature):
16983           Asserting on a failure to read part of the registry is Not Cool.
16984           Just log a warning and return NULL (which is already handled)
16985
16986 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16987
16988         * win32/common/libgstbase.def:
16989           added export of gst_type_find_helper_for_buffer
16990         * win32/common/libgstbase.def:
16991           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16992           gst_ghost_pad_get_target
16993
16994 2006-02-28  Wim Taymans  <wim@fluendo.com>
16995
16996         * docs/design/draft-klass.txt:
16997         We use Filter now.
16998         Added Connector to mark elements that are only used to
16999         allow pipeline connections.
17000         Moved Debug to extra feature since most of them are 
17001         functionally something else.
17002
17003 2006-02-28  Wim Taymans  <wim@fluendo.com>
17004
17005         * docs/design/draft-klass.txt:
17006         Some updates and clarifications.
17007
17008 2006-02-28  Wim Taymans  <wim@fluendo.com>
17009
17010         * docs/design/draft-klass.txt:
17011         Proposal for klass field values.
17012
17013         * docs/design/part-streams.txt:
17014         Start of a doc describing stream anatomy.
17015
17016 2006-02-28  Wim Taymans  <wim@fluendo.com>
17017
17018         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17019         Help the compiler a bit with type registration.
17020         Use existing forward cod path instead of duplicating it when 
17021         handling a message.
17022         
17023         * gst/gstbus.c: (gst_bus_get_type):
17024         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17025         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17026         * gst/gstclock.c: (gst_clock_get_type):
17027         * gst/gstelement.c: (gst_element_get_type),
17028         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17029         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17030         * gst/gstminiobject.c: (gst_mini_object_get_type):
17031         * gst/gstpad.c: (gst_pad_get_type):
17032         * gst/gstsegment.c: (gst_segment_get_type):
17033         * gst/gststructure.c: (gst_structure_get_type):
17034         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17035         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17036         * gst/gstvalue.c:
17037         Help compiler with type registration.
17038
17039         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17040         Small doc update.
17041
17042 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17043
17044         * plugins/elements/gsttypefindelement.c:
17045         (gst_type_find_element_handle_event):
17046           When we get an EOS event and have not found a type yet
17047           (most likely because we had not yet accumulated
17048           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17049           type given the data we have so far. Fixes typefinding
17050           for very short streams again, most notably quicktime
17051           redirections as used on Apple's trailer site (#331701).
17052
17053 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17054
17055         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17056         (gst_type_find_helper):
17057           Try typefinding factories with the highest rank first.
17058
17059 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17060
17061         * docs/libs/gstreamer-libs-docs.sgml:
17062         * docs/libs/gstreamer-libs-sections.txt:
17063         * libs/gst/base/gsttypefindhelper.c:
17064           Add section for typefind helper and add documentation
17065           for the old and the new function.
17066
17067 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17068
17069         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17070         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17071         (gst_type_find_helper_for_buffer):
17072         * libs/gst/base/gsttypefindhelper.h:
17073           New API: gst_type_find_helper_for_buffer() (#332723).
17074           
17075 2006-02-27  Michael Smith  <msmith@fluendo.com>
17076
17077         Patch by: Loïc Minier
17078
17079         * configure.ac:
17080         * docs/Makefile.am:
17081         * docs/slides/Makefile.am:
17082           prevent CVS directories getting disted.
17083
17084 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17085
17086         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17087           Use the REFCOUNTING category for caps refcounting.
17088           
17089 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17090
17091         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17092           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17093
17094 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17095
17096         * plugins/elements/gsttypefindelement.c:
17097         (gst_type_find_element_activate):
17098           Use gst_pad_check_pull_range() before _activate_pull()
17099           to avoid unnecessary open/close (see #331690).
17100
17101 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17102
17103         * gst/gstutils.c:
17104           Docs enhancement: make it crystal clear what the
17105           gst_pad_add_*_probe() callbacks should look like.
17106
17107 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17108
17109         * libs/gst/base/gstbasesrc.c:
17110           Document how applications can stop recording from
17111           live sources (see #330996).
17112
17113 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17114
17115         * tests/check/Makefile.am:
17116         * tests/check/libs/basesrc.c: (eos_event_counter),
17117         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17118         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17119         (gst_basesrc_suite), (main):
17120           ... and add some tests for the base source EOS stuff.
17121
17122 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17123
17124         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17125           Test case originally showed the problem fixed below,
17126           but was then amended. Add checks back at the place
17127           where they used to be.
17128
17129 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17130
17131         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17132         (gst_base_src_init), (gst_base_src_loop),
17133         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17134         (gst_base_src_change_state):
17135         * libs/gst/base/gstbasesrc.h:
17136           Don't unconditionally send EOS when going from PAUSED to
17137           READY state, esp. make sure we don't send two EOS events
17138           in some cases (e.g. one when reaching EOS and one when
17139           going from PAUSED to READY). Also, we don't want to send
17140           EOS events when operating in pull mode. However, we do
17141           want to send an EOS event when shutting down a live
17142           source explicitly, for example (fixes #330996).
17143           
17144 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17145
17146         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17147           Update src->read_position after a seek when not using mmap.
17148           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17149
17150 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17151
17152         * gst/Makefile.am:
17153         * gst/gstparse.h:
17154         * gst/gstutils.c:
17155         * gst/gstutils.h:
17156         Make things work with --disable-parse as they do with 
17157         --disable-load-save - the symbols involved disappear, but the
17158         header is still installed and GST_DISABLE_PARSE is included via
17159         gstconfig.h
17160
17161 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17162
17163         * libs/gst/base/gstbasetransform.c:
17164         (gst_base_transform_change_state): Fix a stupid bug. I was 
17165         sure I compiled that.
17166
17167 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17168
17169         * gst/gstpad.c: (gst_pad_set_blocked_async):
17170         * gst/gstutils.c: (gst_pad_add_data_probe),
17171         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17172         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17173         (gst_pad_remove_buffer_probe): Make those function act on the
17174         ghostpad target when it's a ghostpad. (Closes #331727)
17175
17176 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17177
17178         * libs/gst/base/gstbasetransform.c:
17179         (gst_base_transform_change_state): Make basetransform reusable.
17180         (Closes #331898)
17181
17182 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17183
17184         * docs/random/release:
17185         Move the current documentation of how to do a release to the top
17186         of the file.
17187
17188         * gst/gstbin.c: (gst_bin_class_init),
17189         (gst_bin_handle_message_func):
17190         Allow multiple state-recalculation threads. (Closes #328873)
17191
17192 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17193
17194         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17195         * gst/gstpad.c: (gst_pad_set_event_function),
17196         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17197         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17198         2 strings. You can't use the STR_NULL macro on that.
17199
17200 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17201
17202         * gst/gstpad.c: (gst_pad_set_event_function),
17203         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17204         (gst_pad_set_getcaps_function)
17205         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17206           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17207           So now, we can use --gst-debug-level=5 on Windows
17208         * win32/common/libgstcontroller.def:
17209           Added export of gst_controller_init
17210         * win32/vs6/libgstcontroller.dsp:
17211           Fixed Release post build configuration
17212
17213 2006-02-17  Wim Taymans  <wim@fluendo.com>
17214
17215         * tests/check/gst/gstquery.c: (GST_START_TEST):
17216         Added another check.
17217
17218 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17219
17220         * plugins/elements/gsttypefindelement.c: (find_peek):
17221           We can do peeks at non-zero offsets, as long as they
17222           fall within the buffer we have.
17223
17224 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17225
17226         * tests/check/Makefile.am:
17227         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17228         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17229         (parse_suite), (main):
17230           Add testsuite for parse launch syntax
17231
17232 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17233
17234         * plugins/elements/gsttypefindelement.c:
17235         (gst_type_find_element_chain):
17236           When typefinding is unsuccessful in the chain function, don't
17237           error out immediately. Only error out with NO_CAPS_FOUND if
17238           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17239           otherwise simply wait for more data so we can try typefinding
17240           again with more data later. Also, don't attempt to typefind
17241           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17242           this should improve typefinding from network sources where the
17243           size of the first buffer can be somewhat random.
17244
17245 2006-02-14  Wim Taymans  <wim@fluendo.com>
17246
17247         * docs/gst/gstreamer-sections.txt:
17248         * gst/gstpadtemplate.c:
17249         * gst/gstpadtemplate.h:
17250         Fix padtemplate docs, fixes #328805.
17251
17252 2006-02-14  Wim Taymans  <wim@fluendo.com>
17253
17254         * tools/gst-launch.c: (main):
17255         NO_PREROLL is not an ERROR so don't send confusing messages
17256         to the user.
17257
17258 2006-02-14  Wim Taymans  <wim@fluendo.com>
17259
17260         Patch by: Torsten Schoenfeld
17261
17262         * gst/gstregistry.c: (gst_registry_get_default),
17263         (_gst_registry_cleanup):
17264         Protect default registry with lock and ref/sink it.
17265         Fixes #324818
17266
17267 2006-02-14  Wim Taymans  <wim@fluendo.com>
17268
17269         * gst/gstbuffer.c:
17270         * gst/gstquery.c: (gst_query_list_add_format),
17271         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17272         (gst_query_parse_formats_nth):
17273         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17274         Docs fixes.
17275
17276 2006-02-14  Wim Taymans  <wim@fluendo.com>
17277
17278         * docs/gst/gstreamer-sections.txt:
17279         Reworked query docs.
17280
17281         * gst/gstquery.c: (gst_query_new_formats),
17282         (gst_query_list_add_format), (gst_query_set_formats),
17283         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17284         (gst_query_parse_formats_nth):
17285         * gst/gstquery.h:
17286         Flesh out formats query, added some new methods.
17287         Fix part of #324398.
17288
17289         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17290         Added query creation tests.
17291
17292 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17293
17294         * gst/gstpad.c: (fixate_value):
17295         Add a default fixation for fraction lists.
17296
17297 2006-02-13  Wim Taymans  <wim@fluendo.com>
17298
17299         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17300         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17301         (gst_task_join):
17302         * gst/gsttask.h:
17303         Detect and warn for obvious deadlocks. fixes #320340
17304         Fix error case where lock was not released.
17305
17306         * tests/check/Makefile.am:
17307         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17308         (task_func), (gst_element_suite), (main):
17309         Add task check.
17310
17311 2006-02-13  Wim Taymans  <wim@fluendo.com>
17312
17313         * docs/gst/gstreamer-sections.txt:
17314         * gst/gstbus.c:
17315         Add new functions to docs.
17316
17317 2006-02-13  Wim Taymans  <wim@fluendo.com>
17318
17319         * docs/design/part-TODO.txt:
17320         Updated TODO list, basesrc supports seeking to non-bytes
17321         formats.
17322
17323         * docs/design/part-element-sink.txt:
17324         Update docs.
17325
17326         * gst/gstbin.c: (bin_replace_message),
17327         (gst_bin_handle_message_func):
17328         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17329         * gst/gstevent.c: (gst_event_finalize):
17330         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17331         (gst_pad_send_event):
17332         Use shiny new _TYPE_NAME macros.
17333
17334         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17335         Move debug statement up.
17336
17337         * gst/gstelement.c: (gst_element_set_locked_state):
17338         Add some debugging.
17339
17340 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17341
17342         * docs/gst/gstreamer-sections.txt:
17343         * gst/gstmessage.h:
17344         * gst/gstquery.h:
17345           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17346           macros (#330906). Also, document the already existing
17347           GST_QUERY_TYPE macro.
17348
17349 2006-02-13  Wim Taymans  <wim@fluendo.com>
17350
17351         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17352         (event_probe), (GST_START_TEST):
17353         Only events up to the pipeline EOS are counted, there are
17354         some more when going to NULL currently which we don't care
17355         about for now.
17356
17357 2006-02-13  Wim Taymans  <wim@fluendo.com>
17358
17359         * gst/gstpad.c: (gst_pad_send_event):
17360         Correctly check flushing and emit probes. fixes #330125
17361
17362 2006-02-10  Andy Wingo  <wingo@pobox.com>
17363
17364         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17365         structure.
17366         (gst_bus_init): Cache the location of the private data in the
17367         instance structure.
17368         (gst_bus_enable_sync_message_emission) 
17369         (gst_bus_disable_sync_message_emission): Implement new public
17370         functions.
17371         (gst_bus_post): Emit the sync-message signal if the user asked for
17372         it. Fixes #330684.
17373
17374         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17375         location of the bus-private structure.
17376         (gst_bus_enable_sync_message_emission)
17377         (gst_bus_disable_sync_message_emission): API addition
17378
17379 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17380
17381         Patch by: Vincent Torri
17382
17383         * docs/pwg/building-boiler.xml:
17384         PWG patch from #326800
17385
17386 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17387
17388         * configure.ac:
17389         * docs/Makefile.am:
17390         * docs/design/Makefile.am:
17391           Dist design docs.
17392
17393 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17394
17395         * configure.ac:
17396           back to CVS
17397
17398 === release 0.10.3 ===
17399
17400 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17401
17402         * configure.ac:
17403           releasing 0.10.3, "Like a virgin"
17404
17405 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17406
17407         * configure.ac:
17408           2nd prerelease of 0.10.3
17409           Bump libtool versioning.
17410
17411 2006-02-07  Andy Wingo  <wingo@pobox.com>
17412
17413         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17414         update last_stop if we're in TIME format and the timestamp is
17415         valid.
17416
17417         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17418         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17419         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17420         If we get a new newsegment with a different format, adapt
17421         accordingly.
17422
17423         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17424         of 0. Not a problem, really.
17425
17426         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17427         warn if sync=true.
17428
17429 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17430
17431         * configure.ac:
17432           Prelease of 0.10.3
17433
17434 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17435
17436         * win32/vs7:
17437           project files updated to the default vs7 configuration
17438         * win32/common/libgstbase.def:
17439         * win32/common/libgstreamer.def:
17440           added new symbols,
17441           removed empty lines,
17442           sorted all exported symbols alphabetically
17443         * win32/common/dirent.c:
17444         * win32/common/dirent.h:
17445         * win32/common/gchar.h:
17446           use windows line end.
17447           
17448 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17449
17450         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17451           Send EOS event when stopping.
17452
17453 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17454
17455         * docs/README:
17456           Tell folks what to do if the plugin-foobar.xml file
17457           hasn't been generated for a newly-added plugin.
17458
17459 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17460
17461         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17462         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17463         (gst_collect_pads_start), (gst_collect_pads_stop),
17464         (gst_collect_pads_event): Collectpads now holds a reference
17465         to the GstPad that was added. Indeed we don't want to look
17466         at pads that might just go away with no warning...
17467
17468 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17469
17470         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17471         (gst_collect_pads_start), (gst_collect_pads_stop),
17472         (gst_collect_pads_event), (gst_collect_pads_chain):
17473         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17474         Mark Nauwelaerts's patch on bug #328491.
17475
17476 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17477
17478         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17479         (gst_utils_suite):
17480           Add some simple tests for gst_parse_bin_from_description() and
17481           gst_bin_find_unconnected_pad() (#329069).
17482
17483 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17484
17485         * tools/gst-launch.c: (event_loop), (main):
17486           Catch errors during preroll (#320084).
17487
17488 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17489
17490         * plugins/elements/gsttypefindelement.c:
17491         (gst_type_find_element_activate):
17492           Post TYPE_NOT_FOUND error message when typefinding
17493           is unsuccessful in the activate function as well.
17494
17495 2006-02-02  Wim Taymans  <wim@fluendo.com>
17496
17497         * docs/design/part-element-sink.txt:
17498         Updated doc.
17499
17500 2006-02-02  Wim Taymans  <wim@fluendo.com>
17501
17502         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17503         (gst_base_sink_render_object),
17504         (gst_base_sink_queue_object_unlocked):
17505         Only keep track of prerollable items when we are 
17506         prerolling.
17507         Before rendering after preroll, always check if we
17508         have queued items.
17509         Added some more debugging.
17510
17511 2006-02-02  Wim Taymans  <wim@fluendo.com>
17512
17513         * gst/gstelement.c: (gst_element_continue_state),
17514         (gst_element_set_state_func), (gst_element_change_state):
17515         Fixed #326576, been running this for quite some time with
17516         no regressions at all.
17517
17518 2006-02-02  Wim Taymans  <wim@fluendo.com>
17519
17520         * common/gst.supp:
17521         Added more suppressions
17522
17523 2006-02-02  Wim Taymans  <wim@fluendo.com>
17524
17525         * docs/design/part-element-sink.txt:
17526         Updated document.
17527
17528         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17529         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17530         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17531         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17532         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17533         (gst_base_sink_preroll_object),
17534         (gst_base_sink_queue_object_unlocked),
17535         (gst_base_sink_queue_object), (gst_base_sink_event),
17536         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17537         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17538         (gst_base_sink_get_position), (gst_base_sink_change_state):
17539         * libs/gst/base/gstbasesink.h:
17540         Totally refactored matching the design doc.
17541         Use two segments, one to clip incomming buffers and another to
17542         perform sync.
17543         Handle queueing correctly, bypass the queue when playing.
17544         Make EOS cancelable.
17545         Handle errors correctly when operating in pull based mode.
17546
17547         * tests/check/elements/fakesink.c: (GST_START_TEST),
17548         (fakesink_suite):
17549         Added new check for sinks.
17550
17551 2006-02-02  Wim Taymans  <wim@fluendo.com>
17552
17553         * gst/gstsegment.c: (gst_segment_clip):
17554         No reason to refuse to clip when start == -1
17555
17556 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17557
17558         * docs/README:
17559         * docs/manual/intro-basics.xml:
17560         * docs/manual/intro-preface.xml:
17561         * docs/manual/manual.xml:
17562         * docs/pwg/advanced-dparams.xml:
17563         * docs/pwg/intro-basics.xml:
17564         * docs/pwg/intro-preface.xml:
17565         * docs/pwg/pwg.xml:
17566           describe dparams (controller) for plugins
17567           unify docs a little more
17568
17569 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17570
17571         * docs/gst/gstreamer-sections.txt:
17572         * gst/gstutils.c: (element_find_unconnected_pad),
17573         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17574         * gst/gstutils.h:
17575           Add new API: gst_parse_bin_from_description() and
17576           gst_bin_find_unconnected_pad() (#329069).
17577
17578 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17579
17580         * docs/manual/README:
17581           uncover a nasty detail of the docs build
17582
17583 2006-01-31  Wim Taymans  <wim@fluendo.com>
17584
17585         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17586         Don't cache duration messages if we're not going to use or
17587         free them.
17588
17589 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17590
17591         * docs/manual/advanced-dparams.xml:
17592         * docs/pwg/advanced-dparams.xml:
17593           more dparam docs
17594         * gst/gstindex.c:
17595           fix docs
17596         * libs/gst/controller/lib.c: (gst_controller_init):
17597           init just once
17598
17599 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17600
17601         * gst/gstelement.c: (gst_element_message_full):
17602           also show file/line/func if no additional debug was given
17603
17604 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17605         
17606         * win32/vs7/grammar.vcproj:
17607           activate copy of autogenerated files for Release mode
17608
17609 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17610         
17611         * win32/common/libgstreamer.def:
17612           export gst_value_compare
17613
17614 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17615
17616         * plugins/elements/Makefile.am:
17617         * plugins/elements/gstelements.c:
17618         * plugins/elements/gstfdsink.c: (_do_init),
17619         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17620         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17621         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17622         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17623         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17624         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17625         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17626         * plugins/elements/gstfdsink.h:
17627         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17628
17629 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17630
17631         * docs/manual/advanced-dparams.xml:
17632           describe controller
17633         * docs/manual/advanced-position.xml:
17634         * docs/manual/basics-init.xml:
17635         * docs/manual/manual.xml:
17636         * docs/manual/titlepage.xml:
17637         * docs/pwg/pwg.xml:
17638         * docs/pwg/titlepage.xml:
17639           cleanup xml (more to come)
17640         * libs/gst/controller/gstcontroller.c:
17641           fix typo
17642
17643 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17644         
17645         * win32/vs6/grammar.dsp:
17646           add autogen of gstmarshal.c,h for Release mode
17647                 
17648 2006-01-30  Wim Taymans  <wim@fluendo.com>
17649
17650         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17651         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17652         (gst_base_sink_handle_object), (gst_base_sink_event),
17653         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17654         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17655         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17656         (gst_base_sink_deactivate), (gst_base_sink_activate),
17657         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17658         (gst_base_sink_query), (gst_base_sink_change_state):
17659         Basesink cleanups, remove some old code.
17660         Handle the case where a subclass can preroll in the render
17661         method (mostly audiosinks).
17662         Handle more events.
17663         Remove some locks around variables that are now protected
17664         with the PREROLL_LOCK (clock_id, flushing, ..).
17665         Optimize position query some more, do correct locking.
17666         Remove old code to push queue in state change, this is not
17667         needed anymore since preroll blocks on all prerollable items 
17668         now.
17669         Almost implemented as described in design doc.
17670
17671 2006-01-30  Wim Taymans  <wim@fluendo.com>
17672
17673         * tests/check/gst/gstbin.c: (GST_START_TEST):
17674         Wait for refcount to settle down before checking.
17675
17676 2006-01-30  Wim Taymans  <wim@fluendo.com>
17677
17678         * docs/design/part-element-sink.txt:
17679         Pseudo code overview of desired sink behaviour regarding
17680         preroll.
17681
17682 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17683         * win32/vs6/grammar.dsp:
17684           fix some bugs in Release mode for autogenerated files
17685                 
17686 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17687         * win32/common/libgstbase.def:
17688         * win32/common/libgstreamer.def:
17689           export some new symbols: gst_base_src_set_format,
17690           gst_iterator_next, gst_structure_set_valist
17691
17692 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17693
17694         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17695         Set pad functions unconditionally. Fixes #329105.
17696
17697 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17698         * win32/vs8:
17699           add vs8 project files created by Sergey Scobich
17700
17701 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17702
17703         * gst/gstutils.c: (gst_element_unlink_pads):
17704         Don't leak pad references.
17705
17706         * tests/check/elements/fakesink.c: (GST_START_TEST):
17707         * tests/check/generic/sinks.c: (GST_START_TEST):
17708         * tests/check/generic/states.c: (GST_START_TEST):
17709         * tests/check/gst/gstbin.c: (GST_START_TEST):
17710         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17711         * tests/check/gst/gstelement.c: (GST_START_TEST):
17712         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17713         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17714         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17715         Fix a bunch of leaks. Make generic/sinks.c
17716         use a bit less cpu by slowing the buffer rate
17717         between fakesrc and fakesink.
17718         
17719 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17720         * gst/gstcaps.c:
17721         * gst/gstelement.c: (gst_element_send_event):
17722         * gst/gstevent.c:
17723         * gst/gstinfo.c:
17724         * gst/gstiterator.c:
17725         * gst/gstiterator.h:
17726         * gst/gstpad.c: (gst_pad_send_event):
17727         * gst/gststructure.c:
17728         * gst/gsturi.c:
17729         * gst/gstutils.c:
17730         * gst/gstvalue.c:
17731         * libs/gst/base/gstadapter.c:
17732           doc fixes, to link to function, just write gst_cool_function(), don't
17733           prefix with '#'
17734
17735 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17736
17737         * plugins/elements/gsttee.c: (gst_tee_do_push),
17738         (gst_tee_handle_buffer):
17739         Always prefer an actual return value from a src
17740         pad in place of NOT_LINKED. This means we return
17741         WRONG_STATE when all src pads are WRONG_STATE
17742         instead of NOT_LINKED.
17743
17744         Lock when replacing the last message to prevent
17745         racing with the get_property method.
17746
17747         Add debug output
17748
17749 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17750
17751         * tests/check/Makefile.am:
17752         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17753         (main):
17754         Add a very simple check that should have caught the memleak I fixed
17755         last night (if not for the slice allocator hiding it)
17756
17757 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17758
17759         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17760         (gst_bin_remove_func), (gst_bin_handle_message_func),
17761         (bin_query_duration_fold), (bin_query_generic_fold):
17762         Clean up references to the clock provider when disposed or when
17763         handling a clock-lost message from it.
17764
17765         Unref sinks when performing a query via gst_iterator_fold, as the
17766         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17767
17768         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17769         (gst_clock_set_master):
17770         Drop our reference to the master clock, if any, when we are disposed.
17771
17772         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17773         Chain up in dispose. 
17774
17775 2006-01-26  Wim Taymans  <wim@fluendo.com>
17776
17777         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17778         Add some debugging.
17779
17780 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17781
17782         * plugins/elements/gsttee.c: (gst_tee_do_push),
17783         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17784         handles pad being NOT_LINKED or in WRONG_STATE.
17785
17786 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17787
17788         * win32/MANIFEST:
17789           more updating
17790
17791 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17792
17793         * win32/MANIFEST:
17794           remove obsolete entry
17795
17796 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17797
17798         * docs/gst/gstreamer-sections.txt:
17799         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17800         (gst_bin_iterate_sources), (gst_bin_send_event):
17801         * gst/gstbin.h:
17802         * gst/gstelement.c: (gst_element_send_event):
17803         * gst/gstevent.c:
17804         * gst/gstpad.c: (gst_pad_send_event):
17805           added code for downstream events, reviewed docs in gstevent.c
17806
17807 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17808
17809         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17810         We only query position using the clock in the playing state.
17811         Query peer in the other cases.
17812         * win32/common/config.h: Updates.
17813
17814 2006-01-24  Wim Taymans  <wim@fluendo.com>
17815
17816         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17817         A clock entry that is scheduled for the exact time of the
17818         clock is still in time.
17819
17820         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17821         (gst_base_sink_do_sync):
17822         Add some more debug info.
17823
17824 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17825
17826         * win32/vs7:
17827           Add new vs7 project files and solution.
17828
17829 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17830
17831         * win32/vs7:
17832           all files removed as they were out-dated.
17833
17834 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17835
17836         * docs/random/release:
17837           update notes
17838         * gst/gstbin.c: (gst_bin_init):
17839         * gst/gstbus.c: (gst_bus_new):
17840         * gst/gstbus.h:
17841         * gst/gstpipeline.c: (gst_pipeline_init):
17842           use gst_bus_new(), improve logging, fix docs
17843         * win32/common/config.h:
17844           update for cvs build
17845
17846 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17847
17848         * autogen.sh:
17849           up required version of automake to 1.7
17850
17851 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17852
17853         * win32/common/libgstreamer.def:
17854           export gst_buffer_is_metadata_writable
17855
17856 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17857
17858         * docs/gst/gstreamer-sections.txt:
17859         * gst/gstevent.h:
17860           Add gst_event_replace() (#327001)
17861
17862 2006-01-20  Wim Taymans  <wim@fluendo.com>
17863
17864         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17865         Make it actually compile too..
17866
17867 2006-01-20  Wim Taymans  <wim@fluendo.com>
17868
17869         * gst/gstcaps.c:
17870         Clarify behaviour of _is_equal() when passing NULL parameters.
17871
17872         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17873         (gst_pad_set_caps):
17874         Cleanups. Don't unref NULL caps.
17875         When setting the same caps, protect caps of the pad with
17876         proper lock.
17877         Use full functionality of _is_equal() when comparing caps.
17878
17879 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17880
17881         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17882         Don't loop infinitely if there are no buffers to present. Partially
17883         fixes #327197, but collectpads is just broken for reusing elements
17884         to do multiple encodes atm.
17885
17886 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17887
17888         * tools/gst-inspect.c: (print_element_features):
17889         * tools/gst-xmlinspect.c: (main):
17890         URL_HANDLER is not a plugin feature we can search for in
17891         the registry.
17892
17893 2006-01-19  Edward Hervey  <edward@fluendo.com>
17894
17895         * gst/gstelement.c: (gst_element_pads_activate): 
17896         When activating, do src pads first, then sink pads.
17897         When de-activating, do sink pads first, then src pads.
17898
17899 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17900
17901         * docs/gst/gstreamer-sections.txt:
17902         Add gst_index_add_associationv to the docs
17903
17904 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17905
17906         * gst/gstevent.c:
17907           Fix docs typo
17908
17909         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17910         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17911           Do some refactoring. Doesn't actually change functionality,
17912           but makes landing the DRAIN event easier later.
17913
17914 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17915
17916         * docs/pwg/advanced-scheduling.xml:
17917           Update from 0.9.x to 0.10 API and make example a bit
17918           clearer.
17919
17920 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17921
17922         * docs/gst/gstreamer-sections.txt:
17923         Add gst_buffer_(is|make)_metadata_writable methods.
17924
17925 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17926
17927         * docs/design/part-sparsestreams.txt:
17928         Update sparse streams doc, hopefully for greater clarity
17929
17930 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17931
17932         * docs/design/part-events.txt:
17933         Remove mention of FILLER events.
17934         Add DRAIN event.
17935
17936         * docs/design/part-sparsestreams.txt:
17937         Write some things about using NEWSEGMENT to keep sparse streams
17938         flowing.
17939
17940 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17941
17942         * gst/gstbin.c: (gst_bin_dispose):
17943           Guard gst_object_unref call against a NULL object (dispose
17944           can theoretically be called multiple times).
17945           
17946 2006-01-18  Wim Taymans  <wim@fluendo.com>
17947
17948         * gst/gstbin.c: (gst_bin_element_set_state):
17949         * gst/gstclock.c: (gst_clock_id_wait):
17950         Added some more debug info.
17951
17952         * libs/gst/base/gstadapter.c:
17953         Added more docs.
17954
17955         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17956         (gst_base_sink_do_sync), (gst_base_sink_chain):
17957         Added some comments.
17958
17959 2006-01-18  Wim Taymans  <wim@fluendo.com>
17960
17961         * tests/check/Makefile.am:
17962         * tests/check/elements/fakesink.c: (chain_async_buffer),
17963         (chain_async), (chain_async_return), (GST_START_TEST),
17964         (fakesink_suite), (main):
17965         Added fakesink test that checks prerolling and clipping
17966         behaviour.
17967
17968         * tests/check/gst/gstutils.c: (GST_START_TEST):
17969         Make check run faster so that buildbots don't timeout.
17970
17971 2006-01-18  Wim Taymans  <wim@fluendo.com>
17972
17973         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17974         (gst_base_sink_do_sync):
17975         Some cleanups.
17976         When the sink finishes blocking on the preroll buffer, it can
17977         immediatly render it instead of rendering when the next buffer
17978         arrives.
17979
17980 2006-01-18  Wim Taymans  <wim@fluendo.com>
17981
17982         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17983         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17984         (gst_base_sink_chain):
17985         Small cleanups.
17986         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17987         Don't store _last_stop if the buffer is dropped.
17988
17989 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17990
17991         * plugins/elements/gsttypefindelement.c:
17992         (gst_type_find_element_class_init):
17993           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17994           object method handler that sets the caps on the pad and we want
17995           that to happen before we emit the signal (fixes e.g. feeding a
17996           plain text file to decodebin).
17997
17998 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17999
18000         * gst/gstplugin.c: Add MPL and Proprietary as license options
18001
18002 2006-01-18  Andy Wingo  <wingo@pobox.com>
18003
18004         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18005         symbol was exported before, it appears this was just an oversight.
18006         Fixes #168703.
18007         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18008
18009         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18010         prototype to gint. OK since this prototype was not in the header.
18011
18012 2006-01-17  Andy Wingo  <wingo@pobox.com>
18013
18014         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18015         registry while we remove plugins.
18016
18017         * tools/gst-inspect.c (print_element_info): Don't unref the
18018         factory arg, that should be the responsibility of whatever code
18019         received the ref. Fixes a double-free when called from
18020         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18021         (main): Unref the factory if we have one.
18022         (print_element_list): No change -- relies on the
18023         plugin_feature_list_free to free the list of features.
18024
18025 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18026
18027         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18028         (gst_buffer_make_metadata_writable):
18029         * gst/gstbuffer.h:
18030         * libs/gst/base/gstbasetransform.c:
18031         (gst_base_transform_prepare_output_buf):
18032         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18033         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18034           Replace gst_buffer_(make|is)_metadata_writable patch now
18035           that the release is out.
18036
18037 2006-01-17  Andy Wingo  <wingo@pobox.com>
18038
18039         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18040         in the present tense without reference to versions.
18041
18042         * gst/gstregistry.c (gst_registry_add_plugin)
18043         (gst_registry_remove_plugin, gst_registry_remove_feature)
18044         (gst_registry_find_feature, gst_registry_get_feature_list)
18045         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18046         (gst_registry_lookup, gst_registry_scan_path)
18047         (_gst_registry_remove_cache_plugins)
18048         (gst_registry_get_feature_list_by_plugin): Add argument
18049         validation.
18050
18051 === release 0.10.2 ===
18052
18053 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18054
18055         * configure.ac:
18056           releasing 0.10.2, "If man is five"
18057
18058 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18059
18060         * gst/gstbuffer.c:
18061         * gst/gstbuffer.h:
18062         * libs/gst/base/gstbasetransform.c:
18063         (gst_base_transform_prepare_output_buf):
18064         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18065         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18066           Back out patch until after the release.
18067
18068 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18069
18070         * gst/gstminiobject.c:
18071           Spelling fix in docs.
18072         * ChangeLog - remove conflict indicator
18073
18074 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18075
18076         Reviewed By: Andy Wingo
18077
18078         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18079         (gst_buffer_make_metadata_writable):
18080         * gst/gstbuffer.h:
18081           Add gst_buffer_(is|make)_metadata_writable as analogues of
18082           gst_buffer_(is|make)_writable.
18083
18084         * libs/gst/base/gstbasetransform.c:
18085         (gst_base_transform_prepare_output_buf):
18086         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18087           Use name gst_buffer_(is|make)_metadata_writable functions.
18088
18089         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18090           Test gst_buffer_(is|make)_metadata_writable
18091         
18092           (Closes: #324162)
18093
18094 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18095
18096         * docs/manual/Makefile.am:
18097           don't do parallel make
18098         * configure.ac:
18099           AC_SUBST HOST_CPU
18100         * win32/common/config.h.in:
18101           add generations for HOST_CPU and GST_MAJORMINOR
18102         * win32/common/config.h:
18103           commit generated result
18104
18105 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18106
18107         * docs/manual/appendix-integration.xml:
18108           Update GNOME integration section to use gst_init_get_option_group()
18109           instead of the old popt stuff (#322911). Also, GNOME applications
18110           should  now use gconf*sink and gconf*src instead of the old gconf
18111           helper lib we had.
18112
18113 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18114
18115
18116         * docs/gst/gstreamer-docs.sgml:
18117         * docs/gst/gstreamer-sections.txt:
18118         * docs/libs/gstreamer-libs-sections.txt:
18119           add new API entries to the docs
18120         * libs/gst/controller/Makefile.am:
18121         * libs/gst/controller/gstcontroller.c:
18122         * libs/gst/controller/gstcontroller.h:
18123         * libs/gst/controller/gstcontrollerprivate.h:
18124         * libs/gst/controller/gsthelper.c:
18125         * libs/gst/controller/gstinterpolation.c:
18126           move private structs to private header
18127         * po/README:
18128           gstreamer-0.7 -> gstreamer-0.10
18129         * tests/check/libs/struct_i386.h:
18130           remove private structs
18131
18132 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18133
18134         * plugins/indexers/Makefile.am:
18135           Fixes as part of #317048
18136
18137 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18138
18139         * plugins/indexers/Makefile.am:
18140           fix #316086 - compilation when mmap is missing
18141
18142 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18143
18144         * libs/gst/base/gstbasesink.c:
18145           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18146           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18147         * win32/common/config.h:
18148           added some defines GST_MAJORMINOR and HOST_CPU
18149         * win32/common/libgstbase.def:
18150         * win32/common/libgstreamer.def:
18151           added some exported functions.
18152
18153 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18154
18155         * libs/gst/controller/gstcontroller.c:
18156         (gst_controlled_property_set_interpolation_mode),
18157         (gst_controlled_property_new):
18158         * libs/gst/controller/gstcontroller.h:
18159         * libs/gst/controller/gstinterpolation.c:
18160         (interpolate_none_get_string_value_array):
18161           make G_TYPE_STRING controlable
18162
18163 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18164
18165         * tools/README:
18166         * tools/gst-feedback.1.in:
18167         * tools/gst-inspect.1.in:
18168         * tools/gst-launch.1.in:
18169         * tools/gst-md5sum.1.in:
18170         * tools/gst-typefind.1.in:
18171         * tools/gst-xmlinspect.1.in:
18172         * tools/gst-xmllaunch.1.in:
18173           cleanup man-pages, remove reference to gst-register, document env-vars
18174
18175 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18176
18177         * gst/gstbuffer.c: (gst_buffer_span):
18178           gst_buffer_span should copy the timestamp of the first buffer
18179           if they were both originally overlapping subbuffers of the 
18180           same parent, using the same logic as the 'slow copy' case.
18181
18182 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18183
18184         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18185           Need to awaken ALL the pads when we pop a buffer, otherwise
18186           collectpads only works when there is 2 input streams.
18187
18188 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18189
18190         * docs/random/ensonic/media-device-daemon.txt:
18191           more ideas (dbus)
18192         * gst/gstbuffer.c:
18193           fix doc example, add clarification
18194         * tools/gst-launch.1.in:
18195           add initial info about GST_PLUGIN_PATH, needs more work
18196
18197 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18198
18199         * docs/manual/basics-bins.xml:
18200         * docs/manual/basics-elements.xml:
18201         * docs/manual/intro-basics.xml:
18202           Some more minor docs additions and updates.
18203
18204 2006-01-11  Wim Taymans  <wim@fluendo.com>
18205
18206         * docs/manual/basics-bins.xml:
18207         * docs/manual/basics-elements.xml:
18208         Some small fixes as pointed out by Ser-ver on IRC.
18209
18210 2006-01-10  Edward Hervey  <edward@fluendo.com>
18211
18212         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18213         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18214         the single-segment mode.
18215
18216 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18217
18218         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18219
18220         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18221         (gst_base_src_perform_seek), (gst_base_src_send_event),
18222         (gst_base_src_set_property), (gst_base_src_get_property),
18223         (gst_base_src_loop), (gst_base_src_start),
18224         (gst_base_src_activate_push):
18225         * libs/gst/base/gstbasesrc.h:
18226           Name (private) union; makes Sun's Forte compiler happy (#324900).
18227
18228 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18229
18230         * README:
18231           gst-register is gone.
18232
18233 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18234
18235         * gst/gstvalue.c: (_gst_value_initialize):
18236           make the G_TYPE_DATE instantiation work if debug is disabled
18237
18238 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18239
18240         * gst/gstmessage.c: (gst_message_parse_tag),
18241         (gst_message_parse_error), (gst_message_parse_warning):
18242           Don't crash when return location for error/warning debug
18243           string is NULL; add fact that return locations can be
18244           NULL to docs where appropriate.
18245
18246 2006-01-05  Wim Taymans  <wim@fluendo.com>
18247
18248         * gst/gstplugin.c: (gst_plugin_load_file):
18249         Replace strdup by g_strdup.
18250
18251 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18252
18253         * docs/pwg/advanced-types.xml:
18254           fix doc borkage
18255
18256 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18257
18258         submitted by: Abel Cheung
18259
18260         * po/LINGUAS:
18261         * po/zh_TW.po:
18262           Added Chinese (traditional) translation
18263
18264 2006-01-04  Wim Taymans  <wim@fluendo.com>
18265
18266         * docs/manual/basics-pads.xml:
18267         * docs/plugins/Makefile.am:
18268         * docs/plugins/gstreamer-plugins-docs.sgml:
18269         * docs/plugins/gstreamer-plugins-sections.txt:
18270         * docs/pwg/advanced-clock.xml:
18271         * docs/pwg/advanced-scheduling.xml:
18272         * docs/pwg/advanced-types.xml:
18273         * plugins/elements/gstfdsink.c:
18274         * plugins/elements/gstfdsrc.c:
18275         * plugins/elements/gstfdsrc.h:
18276         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18277         * plugins/elements/gstidentity.h:
18278         * plugins/elements/gstqueue.h:
18279         * plugins/elements/gsttee.c:
18280         * plugins/elements/gsttee.h:
18281         * plugins/elements/gsttypefindelement.c:
18282         (gst_type_find_element_class_init):
18283         * plugins/elements/gsttypefindelement.h:
18284         Small updates to various docs.
18285         Added core plugins to docs.
18286
18287 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18288
18289         * common/gst.supp:
18290           add a suppression for liboil's uninitialized variable
18291
18292 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18293
18294         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18295
18296         * gst/gstutils.h:
18297           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18298           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18299           compiler switch is being used (#325429).
18300
18301 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18302
18303         * gst/gstbin.c: (gst_bin_query):
18304           Disable duration query caching in bins until it gets
18305           fixed (see #324807).
18306
18307 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18308
18309         * tools/gst-inspect.c: (print_element_properties_info):
18310           Handle properties of POINTER and BOXED type.
18311
18312 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18313
18314         * gst/gst.c: (init_post):
18315           Init tags stuff and some other things before loading
18316           any static plugins (there may be other static plugins
18317           than just the GStreamer ones, and they may want to
18318           register their own tags or formats or whatever, and
18319           preferably without segfaulting).
18320
18321         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18322           Print at least a warning in the debug logs if we drop a
18323           query just because we don't know how to adjust the value
18324           in the particular format.
18325
18326 2005-12-24  David Schleef  <ds@schleef.org>
18327
18328         * tools/gstreamer-completion:
18329           Replacement for gst-complete written in sh and sed.  Only
18330           completes names of features, but that's 90% of what I want
18331           it for.  Properties are not available in registry.xml.  (Maybe
18332           they should be...)
18333
18334 === release 0.10.1 ===
18335
18336 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18337
18338         * configure.ac:
18339           releasing 0.10.1, "Nollaig chridheil"
18340
18341 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18342
18343         * docs/faq/cvs.xml:
18344           Add missing quote, should be make ERROR_CFLAGS="".
18345
18346 2005-12-20  Wim Taymans  <wim@fluendo.com>
18347
18348         * docs/design/part-trickmodes.txt:
18349         More documentation on trickmodes.
18350
18351 2005-12-20  Edward Hervey  <edward@fluendo.com>
18352
18353         * gst/gstcaps.c: (gst_static_caps_get_type):
18354         * gst/gstcaps.h:
18355           API addition: GST_TYPE_STATIC_CAPS
18356         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18357         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18358         * gst/gstpadtemplate.h:
18359           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18360         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18361         bindings.
18362
18363 2005-12-18  Wim Taymans  <wim@fluendo.com>
18364
18365         * libs/gst/base/gstadapter.c:
18366         * libs/gst/base/gstadapter.h:
18367         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18368         (gst_base_sink_get_position):
18369         * libs/gst/base/gstbasesink.h:
18370         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18371         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18372         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18373         (gst_base_src_send_event), (gst_base_src_update_length),
18374         (gst_base_src_get_range), (gst_base_src_loop),
18375         (gst_base_src_start):
18376         * libs/gst/base/gstbasesrc.h:
18377         * libs/gst/base/gstbasetransform.h:
18378         * libs/gst/base/gstcollectpads.h:
18379         * libs/gst/base/gstpushsrc.c:
18380         * libs/gst/base/gstpushsrc.h:
18381         * libs/gst/dataprotocol/dataprotocol.c:
18382         * libs/gst/dataprotocol/dataprotocol.h:
18383         * libs/gst/net/gstnetclientclock.h:
18384         * libs/gst/net/gstnettimeprovider.h:
18385         Documentation updates.
18386
18387 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18388
18389         * docs/manual/basics-helloworld.xml:
18390           Remove superfluous closing bracket in helloworld example.
18391
18392 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18393
18394         * tools/gst-launch.1.in:
18395           Update gst-launch man page; add a section with useful
18396           environment variables. Fixes #323882.
18397
18398 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18399
18400         * gst/gst.c:
18401         * gst/gst_private.h:
18402           change some char* into char[]
18403
18404 2005-12-16  Wim Taymans  <wim@fluendo.com>
18405
18406         * gst/gstregistryxml.c: (load_feature):
18407         Cleanups.
18408         Don't use g_object_unref on GstObjects so that we avoid
18409         leaks on unsafe glibs.
18410
18411 2005-12-16  Wim Taymans  <wim@fluendo.com>
18412
18413         * gst/gstbin.c: (gst_bin_recalc_state):
18414         Small doc updates.
18415
18416 2005-12-16  Wim Taymans  <wim@fluendo.com>
18417
18418         * common/check.mak:
18419         Added make forever target for check.
18420
18421 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18422
18423         * gst/gst.c: (init_post):
18424           make the registry cache file HOST_CPU-dependent
18425
18426 2005-12-16  Andy Wingo  <wingo@pobox.com>
18427
18428         * plugins/elements/gstbufferstore.c
18429         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18430         return value.
18431
18432         * tests/check/gst/gstobject.c
18433         (test_fake_object_name_threaded_unique): Pay attention to
18434         g_list_sort return value.
18435
18436 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18437
18438         * tools/gst-feedback-m.m:
18439           Update for 0.9/0.10 (fixes #323870).
18440
18441 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18442
18443         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18444           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18445           
18446         * tests/check/gst/gstminiobject.c: (my_foo_init),
18447         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18448         (test_value_collection), (gst_mini_object_suite):
18449           Add test to ensure refcounts end up as expected when passing
18450           GstMiniObjects through g_object_get() and g_object_set().
18451
18452 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18453
18454         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18455         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18456         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18457         of collectpads. This version removes a lot of races without
18458         touching API/ABI. Yay !
18459
18460 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18461
18462         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18463           Don't allow activation of a srcpad in pull_range if it has no
18464           getrange function.
18465           Change some debug statements to be a little clearer
18466
18467         * plugins/elements/gsttypefindelement.c:
18468         (gst_type_find_handle_src_query):
18469           Check that we have a peer before executing queries thereupon.
18470
18471         * tests/examples/metadata/read-metadata.c: (message_loop):
18472           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18473           immediately return us any available message with 0 timeout.
18474
18475 2005-12-12  Michael Smith  <msmith@fluendo.com>
18476
18477         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18478           Don't unref factories after calling them.
18479         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18480         * plugins/elements/gsttypefindelement.c:
18481         (gst_type_find_element_chain):
18482           Free lists of factories after using them. Fixing typefinding memory
18483           leaks.
18484
18485 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18486
18487         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18488         (gst_plugin_feature_load):
18489           more meaningful debug output
18490         * configure.ac:
18491         * tests/Makefile.am:
18492         * tests/old/examples/Makefile.am:
18493           make make distcheck happy again
18494
18495 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18496
18497         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18498           Catch the special case where we are operating chain-based,
18499           but the downstream peer pad has no chain function. Emit a
18500           custom error message in this case instead of letting the
18501           core generate one implying that this is some sort of core
18502           bug. It's not, it just means that whatever got plugged
18503           into the pipeline downstream when we announced the type
18504           can only operate pull-based, while our source can only
18505           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18506           Error string has not been marked for translation yet, as
18507           it probably needs some more work first.
18508
18509         (gst_type_find_element_get_best_possibility):
18510           Add helper function to find the best of all available
18511           found possibilities that qualify given the min. threshold.
18512
18513         (gst_type_find_element_handle_event):
18514           Fix the case where we get an EOS while still in TYPEFIND
18515           mode (we want to chose the best of all possible types,
18516           not just the first type that happens to be in our unsorted
18517           list of possible types).
18518
18519         (gst_type_find_element_chain):
18520           Make sure we return GST_FLOW_ERROR when we errored out
18521           in stop_typefinding(); also, don't just find the best of
18522           all found type entries and then use the last examined
18523           type entry, but actually use the best entry.
18524
18525 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18526
18527         * tests/examples/typefind/typefind.c: (type_found):
18528         * tests/examples/xml/runxml.c: (xml_loaded):
18529           More gcc4 fixes and a mem leak fix.
18530
18531 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18532
18533         * tests/examples/xml/createxml.c: (object_saved):
18534           gcc 4 fixes
18535
18536 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18537
18538         * tests/Makefile.am:
18539           enable the examples even more
18540
18541 2005-12-12  Andy Wingo  <wingo@pobox.com>
18542
18543         * libs/gst/net/gstnettimeprovider.c
18544         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18545         (gst_net_time_provider_set_property)
18546         (gst_net_time_provider_get_property):
18547         API addition: Export "active" as a GObject property.
18548         (gst_net_time_provider_thread): Only respond to time queries if
18549         the time provider is active.
18550
18551         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18552         NetTimeProvider, preserving binary compat.
18553
18554 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18555
18556         * tests/examples/controller/audio-example.c: (main):
18557         * tests/examples/launch/Makefile.am:
18558           convert comments again
18559
18560 2005-12-12  Wim Taymans  <wim@fluendo.com>
18561
18562         * libs/gst/base/gstpushsrc.c:
18563         Fix typo.
18564
18565 2005-12-12  Wim Taymans  <wim@fluendo.com>
18566
18567         * docs/libs/gstreamer-libs-sections.txt:
18568         Added new symbol to docs.
18569
18570         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18571         (gst_base_src_init), (gst_base_src_set_format),
18572         (gst_base_src_default_query), (gst_base_src_query),
18573         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18574         (gst_base_src_perform_seek), (gst_base_src_send_event),
18575         (gst_base_src_default_event), (gst_base_src_event_handler),
18576         (gst_base_src_set_property), (gst_base_src_get_property),
18577         (gst_base_src_wait), (gst_base_src_do_sync),
18578         (gst_base_src_update_length), (gst_base_src_get_range),
18579         (gst_base_src_check_get_range), (gst_base_src_loop),
18580         (gst_base_src_default_negotiate), (gst_base_src_start),
18581         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18582         (gst_base_src_change_state):
18583         * libs/gst/base/gstbasesrc.h:
18584         Implement seeking to other formats than _BYTES.
18585         Implement more seeking methods correctly.
18586         Doc updates.
18587         Added query vmethod.
18588         Added do_seek vmethod to make life easier for subclasses
18589         when seeking.
18590         API addition: gst_base_src_set_format()
18591
18592 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18593
18594         * tests/examples/Makefile.am:
18595           added that too
18596
18597 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18598
18599         * configure.ac:
18600         * docs/random/ensonic/media-device-daemon.txt:
18601         * tests/examples/controller/.cvsignore:
18602         * tests/examples/controller/Makefile.am:
18603         * tests/examples/controller/audio-example.c: (main):
18604         * tests/examples/helloworld/.cvsignore:
18605         * tests/examples/helloworld/Makefile.am:
18606         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18607         * tests/examples/launch/.cvsignore:
18608         * tests/examples/launch/Makefile.am:
18609         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18610         * tests/examples/metadata/.cvsignore:
18611         * tests/examples/metadata/Makefile.am:
18612         * tests/examples/metadata/read-metadata.c: (message_loop),
18613         (make_pipeline), (print_tag), (main):
18614         * tests/examples/queue/.cvsignore:
18615         * tests/examples/queue/Makefile.am:
18616         * tests/examples/queue/queue.c: (event_loop), (main):
18617         * tests/examples/typefind/.cvsignore:
18618         * tests/examples/typefind/Makefile.am:
18619         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18620         (main):
18621         * tests/examples/xml/.cvsignore:
18622         * tests/examples/xml/Makefile.am:
18623         * tests/examples/xml/createxml.c: (object_saved), (main):
18624         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18625         * tests/old/examples/Makefile.am:
18626         * tests/old/examples/TODO:
18627         * tests/old/examples/controller/.cvsignore:
18628         * tests/old/examples/controller/Makefile.am:
18629         * tests/old/examples/controller/audio-example.c:
18630         * tests/old/examples/helloworld/.cvsignore:
18631         * tests/old/examples/helloworld/Makefile.am:
18632         * tests/old/examples/helloworld/helloworld.c:
18633         * tests/old/examples/launch/.cvsignore:
18634         * tests/old/examples/launch/Makefile.am:
18635         * tests/old/examples/launch/mp3parselaunch.c:
18636         * tests/old/examples/launch/mp3play:
18637         * tests/old/examples/manual/Makefile.am:
18638         * tests/old/examples/metadata/Makefile.am:
18639         * tests/old/examples/metadata/read-metadata.c:
18640         * tests/old/examples/queue/.cvsignore:
18641         * tests/old/examples/queue/Makefile.am:
18642         * tests/old/examples/queue/queue.c:
18643         * tests/old/examples/typefind/.cvsignore:
18644         * tests/old/examples/typefind/Makefile.am:
18645         * tests/old/examples/typefind/typefind.c:
18646         * tests/old/examples/xml/.cvsignore:
18647         * tests/old/examples/xml/Makefile.am:
18648         * tests/old/examples/xml/createxml.c:
18649         * tests/old/examples/xml/runxml.c:
18650           applied some simple fixing to some examples
18651           re-enabled the working examples
18652
18653 2005-12-12  Wim Taymans  <wim@fluendo.com>
18654
18655         * gst/gstsegment.c: (gst_segment_init),
18656         (gst_segment_set_last_stop), (gst_segment_set_seek),
18657         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18658         (gst_segment_to_running_time):
18659         Added more documentation.
18660         Make sure the last_pos value is updated properly.
18661         Make sure to_stream_time and to_running_time don't
18662         operate on wrong values.
18663
18664         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18665         Update check.
18666
18667 2005-12-12  Michael Smith  <msmith@fluendo.com>
18668
18669         * plugins/elements/gsttypefindelement.c: (free_entry),
18670         (gst_type_find_element_chain):
18671           Now that we're not leaking factories, make sure we keep references
18672           to them while we need them.
18673
18674 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18675
18676         * tests/check/gst/struct_i386.h:
18677           ifdef out the XML structs
18678
18679 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18680
18681         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18682           floor is not needed, F is always positive; this obviates the
18683           need for adding -lm when building without libxml
18684
18685 2005-12-12  Wim Taymans  <wim@fluendo.com>
18686
18687         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18688         Take current playback rate into account when reporting
18689         the position.
18690
18691 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18692
18693         * docs/manual/mime-world.fig:
18694           Let's try this again, this time with a file that is
18695           actually in XFig format.
18696
18697 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18698
18699         * docs/manual/mime-world.fig:
18700           Add audioconvert element to diagram so that it
18701           matches the text and the code (fixes #319526).
18702
18703 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18704
18705         * docs/pwg/building-chainfn.xml:
18706         * docs/pwg/building-pads.xml:
18707         * docs/pwg/building-state.xml:
18708         * docs/pwg/other-source.xml:
18709           Update state change stuff for 0.10 (fixes #322969).
18710
18711 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18712
18713         * docs/manual/advanced-dataaccess.xml:
18714         * docs/manual/appendix-checklist.xml:
18715         * docs/manual/appendix-programs.xml:
18716         * docs/manual/basics-pads.xml:
18717         * docs/manual/highlevel-components.xml:
18718         * docs/manual/manual.xml:
18719           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18720           add converters in front of pipelines; remove curly
18721           brackets for threads stuff, they no longer exist; use
18722           GST_TYPE_FRACTION for framerates; update some pieces of
18723           code to 0.10, but there's plenty more to do.
18724
18725         * docs/manual/appendix-porting.xml:
18726           Expand on asynchroneous state changes; s/0.9/0.10/;
18727           mention disappearance of gst_init_get_popt_table()
18728           (fixes #322916).
18729
18730 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18731
18732         * docs/faq/using.xml:
18733           Spider no longer exists, and neither does gst-launch-ext.
18734           Update examples to use decodebin and playbin and put
18735           converters in front of sinks (fixes #323726).
18736
18737 2005-12-09  Michael Smith  <msmith@fluendo.com>
18738
18739         * plugins/elements/gsttypefindelement.c: (find_peek),
18740         (gst_type_find_element_chain):
18741           Fix leaking element factories in typefinding.
18742           Fix problem where we forgot about a probable type on non-seekable
18743           files, and thus later mis-typefound it.
18744
18745 2005-12-09  Michael Smith  <msmith@fluendo.com>
18746
18747         * common/m4/gst-makecontext.m4:
18748         * common/m4/gst-mcsc.m4:
18749         * configure.ac:
18750         * win32/common/config.h:
18751         * win32/common/config.h.in:
18752           Remove makecontext stuff; not used in 0.10 and causes problems on
18753           HPUX according to bug #322441
18754
18755 2005-12-07  Wim Taymans  <wim@fluendo.com>
18756
18757         * tests/check/Makefile.am:
18758         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18759         (main):
18760         * tests/check/libs/struct_i386.h:
18761         Added ABI check for libs
18762
18763 2005-12-07  Wim Taymans  <wim@fluendo.com>
18764
18765         * tests/check/Makefile.am:
18766         And add the struct_i386.h to dist.
18767
18768 2005-12-07  Wim Taymans  <wim@fluendo.com>
18769
18770         * tests/check/Makefile.am:
18771         * tests/check/gst/.cvsignore:
18772         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18773         (main):
18774         * tests/check/gst/struct_i386.h:
18775         Added check for ABI compatibility.
18776
18777 2005-12-07  Wim Taymans  <wim@fluendo.com>
18778
18779         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18780         (gst_fake_src_get_times), (gst_fake_src_create):
18781         Fix broken sync option, fixes #323259
18782
18783 2005-12-07  Wim Taymans  <wim@fluendo.com>
18784
18785         * gst/gstbuffer.c:
18786         Small docs update.
18787
18788         * gst/gstcaps.c: (gst_caps_is_equal):
18789         Don't assert on NULL <--> X. Fixes #323260
18790
18791         * gst/gstminiobject.c: (gst_mini_object_replace):
18792         If we're doing atomic operations, we might just as well use
18793         the proper way to get an atomic pointer.
18794
18795         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18796         Clean up debugging.
18797
18798 2005-12-07  Michael Smith  <msmith@fluendo.com>
18799
18800         * gst/parse/grammar.y:
18801           Remove handling of { } for threads.
18802
18803 2005-12-06  David Schleef  <ds@schleef.org>
18804
18805         * libs/gst/base/gstbasetransform.c: speling fix.
18806
18807 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18808
18809         * docs/libs/tmpl/gstdataprotocol.sgml:
18810         * docs/random/omega/testing/gstobject.c:
18811         * gst/gst.c:
18812         * gst/gstclock.c:
18813         * gst/gstelement.c:
18814         * gst/gstelementfactory.c:
18815         * gst/gsterror.c:
18816         * gst/gstevent.c:
18817         * gst/gstghostpad.c:
18818         * gst/gstinfo.c:
18819         * gst/gstpadtemplate.c:
18820         * gst/gstregistryxml.c:
18821         * gst/gsttaglist.c:
18822         * gst/gsttagsetter.c:
18823         * gst/gsttypefind.c:
18824         * gst/gstvalue.c:
18825         * libs/gst/base/gstbasesrc.c:
18826         * libs/gst/net/gstnetclientclock.c:
18827         * libs/gst/net/gstnettimeprovider.c:
18828         * plugins/elements/gstfakesrc.c:
18829         * plugins/elements/gstfdsrc.c:
18830         * plugins/elements/gstfilesrc.c:
18831         * plugins/elements/gstidentity.c:
18832         * plugins/elements/gstqueue.c:
18833         * plugins/elements/gsttypefindelement.c:
18834         * plugins/indexers/gstfileindex.c:
18835         * plugins/indexers/gstmemindex.c:
18836         * tests/check/gst/gsttag.c:
18837         * tests/old/examples/cutter/cutter.c:
18838         * tests/old/examples/mixer/mixer.c:
18839         * tests/old/examples/xml/runxml.c: (main):
18840         * tests/old/testsuite/caps/normalisation.c:
18841         * tests/old/testsuite/debug/global.c:
18842         * tests/old/testsuite/parse/parse1.c:
18843         * tools/gst-xmlinspect.c:
18844         * win32/common/dirent.c:
18845           expand tabs
18846
18847 === release 0.10.0 ===
18848
18849 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18850
18851         * configure.ac:
18852           releasing 0.10.0, "Maroilles"
18853
18854 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18855
18856         submitted by: Funda Wang <fundawang@linux.net.cn>
18857
18858         * po/LINGUAS:
18859         * po/zh_CN.po:
18860           added Chinese (Traditional) translation
18861
18862 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18863
18864         * docs/gst/gstreamer-sections.txt:
18865         * docs/libs/tmpl/gstdataprotocol.sgml:
18866         * docs/random/thomasvs/TODO:
18867         * gst/gstutils.c:
18868         * gst/gstutils.h:
18869           fix docs
18870
18871 2005-12-05  Andy Wingo  <wingo@pobox.com>
18872
18873         patch by: Wim Taymans <wim@fluendo.com>
18874
18875         * libs/gst/base/gstbasetransform.c
18876         (gst_base_transform_prepare_output_buf)
18877         (gst_base_transform_buffer_alloc):
18878         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18879         alloc_buffer_and_set_caps.
18880
18881         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18882         set_caps on the source pad.
18883         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18884         alloc_buffer used to do. Fixes #322874.
18885
18886         * docs/gst/gstreamer-sections.txt: 
18887         * docs/design/part-negotiation.txt: 
18888         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18889         changes.
18890
18891 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18892
18893         patch by: Sebastien Moutte
18894
18895         * win32/MANIFEST:
18896         * win32/common/config.h.in:
18897         * win32/vs6/libgstcontroller.dsp:
18898           win32 build fixes
18899
18900 2005-12-05  Wim Taymans  <wim@fluendo.com>
18901
18902         * gst/gstcaps.c: (gst_caps_is_equal):
18903         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18904         (gst_fake_src_create):
18905         Back out previous code changes, leave doc updates, file bugs 
18906         instead. 
18907
18908 2005-12-05  Wim Taymans  <wim@fluendo.com>
18909
18910         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18911         (gst_fake_src_get_times), (gst_fake_src_create):
18912         * plugins/elements/gstfakesrc.h:
18913         Fix broken sync code.
18914
18915 2005-12-05  Wim Taymans  <wim@fluendo.com>
18916
18917         * gst/gstcaps.c: (gst_caps_is_equal):
18918         Comparing NULL against !NULL yields different caps, not a
18919         failure.
18920
18921 2005-12-05  Wim Taymans  <wim@fluendo.com>
18922
18923         * gst/gstpipeline.c:
18924         Fix small typo in docs.
18925
18926 2005-12-05  Andy Wingo  <wingo@pobox.com>
18927
18928         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18929
18930         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18931         registries/plugins with a MAJORMINOR one.
18932         (plugin_desc): Rename library from gstcoreleements to
18933         staticelements. Fixes #323222.
18934
18935 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18936
18937         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18938           Change debug category to 'collectpads' from 'collect_pads'
18939           (fixes #323250).
18940
18941 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18942
18943         patch by: Sebastien Moutte
18944
18945         * libs/gst/controller/gstinterpolation.c:
18946           use convert function for uint64/double
18947         * win32/vs6/libgstcontroller.dsp:
18948           link to GLib
18949
18950 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18951
18952         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18953         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18954         * gst/gstutils.h:
18955         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18956           add tests that seem to show that the guint64/gdouble conversions
18957           are correct.
18958
18959 2005-12-02  Wim Taymans  <wim@fluendo.com>
18960
18961         * gst/gstregistry.c: (gst_registry_add_path):
18962         * gst/gstregistry.h:
18963         * gst/gstregistryxml.c:
18964         Fix docs again.
18965
18966 2005-12-02  Wim Taymans  <wim@fluendo.com>
18967
18968         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18969         (gst_util_uint64_scale_int):
18970         Small cleanup.
18971
18972         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18973         Add debug log line.
18974
18975         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18976         Add FIXME.
18977
18978 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18979
18980         * win32/MANIFEST:
18981         * win32/common/config.h:
18982         * win32/vs6/gstreamer.dsw:
18983         * win32/vs6/libgstcoreelements.dsp:
18984         * win32/vs6/libgstelements.dsp:
18985           renamed core elements plugin
18986
18987 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18988
18989         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18990         (get_candidates):
18991           do piece-wise major/minor comparison so 0.9 < 0.10
18992           also allow .exe extensions for tools
18993
18994 2005-12-02  Michael Smith  <msmith@fluendo.com>
18995
18996         * gst/gst.c:
18997           Escape a % to make gtkdoc happier; bug 322958.
18998
18999 === release 0.9.7 ===
19000
19001 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19002
19003         * configure.ac:
19004           releasing 0.9.7, "My Dog Has No Nose"
19005
19006 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19007
19008         * common/gst-xmlinspect.py:
19009         * configure.ac:
19010         * docs/libs/tmpl/gstdataprotocol.sgml:
19011         * docs/random/release:
19012         * po/af.po:
19013         * po/az.po:
19014         * po/bg.po:
19015         * po/ca.po:
19016         * po/cs.po:
19017         * po/de.po:
19018         * po/en_GB.po:
19019         * po/fr.po:
19020         * po/it.po:
19021         * po/nb.po:
19022         * po/nl.po:
19023         * po/ru.po:
19024         * po/sq.po:
19025         * po/sr.po:
19026         * po/sv.po:
19027         * po/tr.po:
19028         * po/uk.po:
19029         * po/vi.po:
19030         * win32/common/config.h:
19031         * win32/common/config.h.in:
19032         * win32/vs6/gst_inspect.dsp:
19033         * win32/vs6/gst_launch.dsp:
19034         * win32/vs6/libgstbase.dsp:
19035         * win32/vs6/libgstelements.dsp:
19036         * win32/vs6/libgstreamer.dsp:
19037         * win32/vs7/GStreamer.vcproj:
19038         * win32/vs7/gst-inspect.vcproj:
19039         * win32/vs7/gst-launch.vcproj:
19040         * win32/vs7/libgstbase.vcproj:
19041           bump GST_MAJORMINOR to 0.10
19042           reset libtool version
19043
19044 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19045
19046         * po/LINGUAS:
19047         * po/bg.po:
19048           Added Bulgarian translation by (Alexander Shopov)
19049
19050 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19051
19052         * tests/check/gst/gstplugin.c:
19053           fix test
19054
19055 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19056
19057         * common/gst-xmlinspect.py:
19058         * common/gtk-doc-plugins.mak:
19059         * configure.ac:
19060         * docs/Makefile.am:
19061         * docs/gst/Makefile.am:
19062         * docs/gst/gstreamer-docs.sgml:
19063         * docs/gst/gstreamer-sections.txt:
19064         * docs/gst/gstreamer.types:
19065         * docs/gst/gstreamer.types.in:
19066         * docs/plugins/Makefile.am:
19067         * docs/plugins/gstreamer-plugins-docs.sgml:
19068         * docs/plugins/gstreamer-plugins-sections.txt:
19069         * docs/plugins/gstreamer-plugins.types:
19070         * docs/plugins/inspect.stamp:
19071         * docs/plugins/inspect/plugin-coreelements.xml:
19072         * docs/plugins/inspect/plugin-coreindexers.xml:
19073         * docs/plugins/scanobj-build.stamp:
19074         * gstreamer.spec.in:
19075         * plugins/elements/Makefile.am:
19076         * plugins/elements/gstelements.c:
19077         * plugins/elements/gstfakesink.c:
19078         * plugins/elements/gstfakesrc.c:
19079         * plugins/elements/gstfilesink.c:
19080         * plugins/elements/gstfilesrc.c:
19081         * plugins/elements/gstqueue.c:
19082         * plugins/indexers/Makefile.am:
19083         * plugins/indexers/gstindexers.c:
19084           document core plugins in a separate document just like all the
19085           others
19086           rename these plugins to something starting with core
19087
19088 2005-12-01  Andy Wingo  <wingo@pobox.com>
19089
19090         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19091         padding here before, but it missed the commit.
19092
19093 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19094
19095         * libs/gst/controller/gstinterpolation.c:
19096           whitespace prices have crashed, we should feel free to use some now
19097           use gst_guint64_to_gdouble
19098
19099 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19100
19101         * libs/gst/controller/gstcontroller.c:
19102         * libs/gst/controller/gsthelper.c:
19103         * libs/gst/controller/gstinterpolation.c:
19104         * libs/gst/controller/lib.c:
19105           wrap config.h include
19106
19107 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19108
19109         * docs/gst/gstreamer-sections.txt:
19110           update docs
19111
19112 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19113
19114         * plugins/elements/gstelements.c:
19115         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19116         (gst_fd_sink__class_init), (gst_fd_sink__init),
19117         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19118         (gst_fd_sink__get_property):
19119         * plugins/elements/gstfdsink.h:
19120         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19121         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19122         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19123         (gst_fd_src_unlock), (gst_fd_src_set_property),
19124         (gst_fd_src_get_property), (gst_fd_src_create),
19125         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19126         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19127         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19128         (gst_fd_src_uri_handler_init):
19129         * plugins/elements/gstfdsrc.h:
19130         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19131           more anal cleanup
19132
19133 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19134
19135         * docs/gst/Makefile.am:
19136         * docs/gst/gstreamer.types.in:
19137         * gst/Makefile.am:
19138           fix the docs build
19139
19140 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19141
19142         * configure.ac:
19143         * gst/Makefile.am:
19144         * gst/gst.c:
19145         * gst/gstplugin.h:
19146         * gst/gstregistry.h:
19147         * tests/benchmarks/complexity.c:
19148         * tests/benchmarks/mass-elements.c:
19149         * tests/check/Makefile.am:
19150         * tools/Makefile.am:
19151         * tools/gst-inspect.c:
19152         * tools/gst-xmlinspect.c:
19153           various fixes to make
19154           --disable-nls --disable-registry --disable-loadsave
19155           --disable-parse --disable-gst-debug
19156           work and get the core .so down to 360444 bytes after stripping
19157
19158 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19159
19160         * Makefile.am:
19161         * configure.ac:
19162           descend into tests
19163         * docs/random/thomasvs/TODO:
19164         * tests/Makefile.am:
19165         * tests/README:
19166           add a README
19167
19168 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19169
19170         * win32/GStreamer.vcproj:
19171         * win32/MANIFEST:
19172         * win32/Makefile:
19173         * win32/Makefile.inspect:
19174         * win32/Makefile.launch:
19175         * win32/Makefile.register:
19176         * win32/README.txt:
19177         * win32/gst-inspect.vcproj:
19178         * win32/gst-launch.vcproj:
19179         * win32/gst-register.vcproj:
19180         * win32/gstelements.vcproj:
19181         * win32/gstgetbits.def:
19182         * win32/gstgetbits.vcproj:
19183         * win32/gstreamer-dbg.def:
19184         * win32/gstreamer.def:
19185         * win32/libgstbase.def:
19186         * win32/libgstbase.vcproj:
19187         * win32/link_oldruntime.c:
19188         * win32/mman.c:
19189         * win32/mman.h:
19190         * win32/mman.inl:
19191         * win32/msvc71.sln:
19192           move even more stuff, win32/ is nice and clean now
19193
19194 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19195
19196         * libs/gst/control/.cvsignore:
19197         * win32/MANIFEST:
19198         * win32/config.h:
19199         * win32/dirent.c:
19200         * win32/dirent.h:
19201         * win32/gstbytestream.def:
19202         * win32/gstbytestream.vcproj:
19203         * win32/gstconfig.h:
19204         * win32/gstenumtypes.c:
19205         * win32/gstenumtypes.h:
19206         * win32/gstoptimalscheduler.vcproj:
19207         * win32/gstversion.h:
19208         * win32/gtchar.h:
19209         * win32/testsuite/bins.vcproj:
19210         * win32/testsuite/bytestream.vcproj:
19211         * win32/testsuite/caps.vcproj:
19212         * win32/testsuite/cleanup.vcproj:
19213         * win32/testsuite/clock.vcproj:
19214         * win32/testsuite/debug.vcproj:
19215         * win32/testsuite/dlopen.vcproj:
19216         * win32/testsuite/dynparams.vcproj:
19217         * win32/testsuite/elements.vcproj:
19218         * win32/testsuite/ghostpads.vcproj:
19219         * win32/testsuite/indexers.vcproj:
19220         * win32/testsuite/negotiation.vcproj:
19221         * win32/testsuite/parse.vcproj:
19222         * win32/testsuite/plugin.vcproj:
19223         * win32/testsuite/refcounting.vcproj:
19224         * win32/testsuite/schedulers.vcproj:
19225         * win32/testsuite/states.vcproj:
19226         * win32/testsuite/tags.vcproj:
19227         * win32/testsuite/threads.vcproj:
19228           remove old win32 stuff that isn't maintained and should be
19229           reorganized
19230
19231 2005-11-30  Andy Wingo  <wingo@pobox.com>
19232
19233         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19234         loading the gst.interfaces python module bork.
19235
19236         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19237         available since GLib 2.2. Fixes #318031.
19238
19239 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19240
19241         * Makefile.am:
19242         * check/.cvsignore:
19243         * check/Makefile.am:
19244         * check/elements/.cvsignore:
19245         * check/elements/fakesrc.c:
19246         * check/elements/fdsrc.c:
19247         * check/elements/identity.c:
19248         * check/generic/.cvsignore:
19249         * check/generic/states.c:
19250         * check/gst-libs/.cvsignore:
19251         * check/gst-libs/controller.c:
19252         * check/gst-libs/gdp.c:
19253         * check/gst/.cvsignore:
19254         * check/gst/capslist.h:
19255         * check/gst/gst.c:
19256         * check/gst/gstbin.c:
19257         * check/gst/gstbuffer.c:
19258         * check/gst/gstbus.c:
19259         * check/gst/gstcaps.c:
19260         * check/gst/gstelement.c:
19261         * check/gst/gstevent.c:
19262         * check/gst/gstghostpad.c:
19263         * check/gst/gstiterator.c:
19264         * check/gst/gstmessage.c:
19265         * check/gst/gstminiobject.c:
19266         * check/gst/gstobject.c:
19267         * check/gst/gstpad.c:
19268         * check/gst/gstpipeline.c:
19269         * check/gst/gstplugin.c:
19270         * check/gst/gstsegment.c:
19271         * check/gst/gststructure.c:
19272         * check/gst/gstsystemclock.c:
19273         * check/gst/gsttag.c:
19274         * check/gst/gstutils.c:
19275         * check/gst/gstvalue.c:
19276         * check/net/.cvsignore:
19277         * check/net/gstnetclientclock.c:
19278         * check/net/gstnettimeprovider.c:
19279         * check/pipelines/.cvsignore:
19280         * check/pipelines/cleanup.c:
19281         * check/pipelines/simple_launch_lines.c:
19282         * check/pipelines/stress.c:
19283         * check/states/.cvsignore:
19284         * check/states/sinks.c:
19285         * configure.ac:
19286         * examples/Makefile.am:
19287         * examples/appreader/.cvsignore:
19288         * examples/appreader/Makefile.am:
19289         * examples/appreader/appreader.c:
19290         * examples/controller/.cvsignore:
19291         * examples/controller/Makefile.am:
19292         * examples/controller/audio-example.c:
19293         * examples/cutter/.cvsignore:
19294         * examples/cutter/Makefile.am:
19295         * examples/cutter/cutter.c:
19296         * examples/cutter/cutter.h:
19297         * examples/events/Makefile.am:
19298         * examples/events/seek.c:
19299         * examples/helloworld/.cvsignore:
19300         * examples/helloworld/Makefile.am:
19301         * examples/helloworld/helloworld.c:
19302         * examples/helloworld2/.cvsignore:
19303         * examples/helloworld2/Makefile.am:
19304         * examples/helloworld2/helloworld2.c:
19305         * examples/launch/.cvsignore:
19306         * examples/launch/Makefile.am:
19307         * examples/launch/mp3parselaunch.c:
19308         * examples/launch/mp3play:
19309         * examples/manual/.cvsignore:
19310         * examples/manual/Makefile.am:
19311         * examples/manual/extract.pl:
19312         * examples/metadata/Makefile.am:
19313         * examples/metadata/read-metadata.c:
19314         * examples/mixer/.cvsignore:
19315         * examples/mixer/Makefile.am:
19316         * examples/mixer/mixer.c:
19317         * examples/mixer/mixer.h:
19318         * examples/pingpong/.cvsignore:
19319         * examples/pingpong/Makefile.am:
19320         * examples/pingpong/pingpong.c:
19321         * examples/plugins/.cvsignore:
19322         * examples/plugins/Makefile.am:
19323         * examples/plugins/example.c:
19324         * examples/plugins/example.h:
19325         * examples/pwg/.cvsignore:
19326         * examples/pwg/Makefile.am:
19327         * examples/pwg/extract.pl:
19328         * examples/queue/.cvsignore:
19329         * examples/queue/Makefile.am:
19330         * examples/queue/queue.c:
19331         * examples/queue2/.cvsignore:
19332         * examples/queue2/Makefile.am:
19333         * examples/queue2/queue2.c:
19334         * examples/queue3/.cvsignore:
19335         * examples/queue3/Makefile.am:
19336         * examples/queue3/queue3.c:
19337         * examples/queue4/.cvsignore:
19338         * examples/queue4/Makefile.am:
19339         * examples/queue4/queue4.c:
19340         * examples/retag/.cvsignore:
19341         * examples/retag/Makefile.am:
19342         * examples/retag/retag.c:
19343         * examples/retag/transcode.c:
19344         * examples/thread/.cvsignore:
19345         * examples/thread/Makefile.am:
19346         * examples/thread/thread.c:
19347         * examples/typefind/.cvsignore:
19348         * examples/typefind/Makefile.am:
19349         * examples/typefind/typefind.c:
19350         * examples/xml/.cvsignore:
19351         * examples/xml/Makefile.am:
19352         * examples/xml/createxml.c:
19353         * examples/xml/runxml.c:
19354         * tests/Makefile.am:
19355         * tests/check/Makefile.am:
19356         * testsuite/.cvsignore:
19357         * testsuite/Makefile.am:
19358         * testsuite/Rules:
19359         * testsuite/caps/.cvsignore:
19360         * testsuite/caps/Makefile.am:
19361         * testsuite/caps/app_fixate.c:
19362         * testsuite/caps/audioscale.c:
19363         * testsuite/caps/caps.c:
19364         * testsuite/caps/caps.h:
19365         * testsuite/caps/caps_strings:
19366         * testsuite/caps/compatibility.c:
19367         * testsuite/caps/deserialize.c:
19368         * testsuite/caps/enumcaps.c:
19369         * testsuite/caps/eratosthenes.c:
19370         * testsuite/caps/filtercaps.c:
19371         * testsuite/caps/fixed.c:
19372         * testsuite/caps/fraction-convert.c:
19373         * testsuite/caps/fraction-multiply-and-zero.c:
19374         * testsuite/caps/intersect2.c:
19375         * testsuite/caps/intersection.c:
19376         * testsuite/caps/normalisation.c:
19377         * testsuite/caps/random.c:
19378         * testsuite/caps/renegotiate.c:
19379         * testsuite/caps/sets.c:
19380         * testsuite/caps/simplify.c:
19381         * testsuite/caps/string-conversions.c:
19382         * testsuite/caps/structure.c:
19383         * testsuite/caps/subtract.c:
19384         * testsuite/caps/union.c:
19385         * testsuite/debug/.cvsignore:
19386         * testsuite/debug/Makefile.am:
19387         * testsuite/debug/category.c:
19388         * testsuite/debug/commandline.c:
19389         * testsuite/debug/global.c:
19390         * testsuite/debug/output.c:
19391         * testsuite/debug/printf_extension.c:
19392         * testsuite/dlopen/.cvsignore:
19393         * testsuite/dlopen/Makefile.am:
19394         * testsuite/dlopen/dlopen_gst.c:
19395         * testsuite/dlopen/loadgst.c:
19396         * testsuite/elements/.cvsignore:
19397         * testsuite/elements/Makefile.am:
19398         * testsuite/elements/gst-inspect-check.in:
19399         * testsuite/elements/struct_i386.h:
19400         * testsuite/elements/struct_size.c:
19401         * testsuite/indexers/.cvsignore:
19402         * testsuite/indexers/Makefile.am:
19403         * testsuite/indexers/cache1.c:
19404         * testsuite/indexers/indexdump.c:
19405         * testsuite/parse/.cvsignore:
19406         * testsuite/parse/Makefile.am:
19407         * testsuite/parse/parse1.c:
19408         * testsuite/parse/parse2.c:
19409         * testsuite/plugin/.cvsignore:
19410         * testsuite/plugin/Makefile.am:
19411         * testsuite/plugin/README:
19412         * testsuite/plugin/dynamic.c:
19413         * testsuite/plugin/linked.c:
19414         * testsuite/plugin/loading.c:
19415         * testsuite/plugin/registry.c:
19416         * testsuite/plugin/static.c:
19417         * testsuite/plugin/static2.c:
19418         * testsuite/plugin/testplugin.c:
19419         * testsuite/plugin/testplugin2.c:
19420         * testsuite/plugin/testplugin2_s.c:
19421         * testsuite/plugin/testplugin_s.c:
19422         * testsuite/refcounting/.cvsignore:
19423         * testsuite/refcounting/Makefile.am:
19424         * testsuite/refcounting/bin.c:
19425         * testsuite/refcounting/element.c:
19426         * testsuite/refcounting/element_pad.c:
19427         * testsuite/refcounting/mainloop.c:
19428         * testsuite/refcounting/mem.c:
19429         * testsuite/refcounting/mem.h:
19430         * testsuite/refcounting/object.c:
19431         * testsuite/refcounting/pad.c:
19432         * testsuite/refcounting/sched.c:
19433         * testsuite/refcounting/thread.c:
19434         * testsuite/states/.cvsignore:
19435         * testsuite/states/Makefile.am:
19436         * testsuite/states/bin.c:
19437         * testsuite/states/locked.c:
19438         * testsuite/states/parent.c:
19439         * testsuite/threads/.cvsignore:
19440         * testsuite/threads/159566.c:
19441         * testsuite/threads/159852.c:
19442         * testsuite/threads/Makefile.am:
19443         * testsuite/threads/queue.c:
19444         * testsuite/threads/signals.c:
19445         * testsuite/threads/staticrec.c:
19446         * testsuite/threads/thread.c:
19447         * testsuite/threads/threadb.c:
19448         * testsuite/threads/threadc.c:
19449         * testsuite/threads/threadd.c:
19450         * testsuite/threads/threade.c:
19451         * testsuite/threads/threadf.c:
19452         * testsuite/threads/threadg.c:
19453         * testsuite/threads/threadh.c:
19454         * testsuite/threads/threadi.c:
19455           move all of these under tests
19456
19457 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19458
19459         * configure.ac:
19460         * tests/Makefile.am:
19461           fix distcheck
19462
19463 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19464
19465         * docs/gst/gstreamer-sections.txt:
19466         * tests/sched/.cvsignore:
19467         * tests/sched/Makefile.am:
19468         * tests/sched/cases/(fs-fs).xml:
19469         * tests/sched/cases/(fs-i-fs).xml:
19470         * tests/sched/cases/(fs-i-i-fs).xml:
19471         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19472         * tests/sched/dynamic-pipeline.c:
19473         * tests/sched/interrupt1.c:
19474         * tests/sched/interrupt2.c:
19475         * tests/sched/interrupt3.c:
19476         * tests/sched/runtestcases:
19477         * tests/sched/runxml.c:
19478         * tests/sched/sched-stress.c:
19479         * tests/sched/sort.c:
19480         * tests/sched/testcases:
19481         * tests/sched/testcases1.tc:
19482         * tests/seeking/.cvsignore:
19483         * tests/seeking/Makefile.am:
19484         * tests/seeking/seeking1.c:
19485         * tests/threadstate/.cvsignore:
19486         * tests/threadstate/Makefile.am:
19487         * tests/threadstate/test1.c:
19488         * tests/threadstate/test2.c:
19489         * tests/threadstate/threadstate1.c:
19490         * tests/threadstate/threadstate2.c:
19491         * tests/threadstate/threadstate3.c:
19492         * tests/threadstate/threadstate4.c:
19493         * tests/threadstate/threadstate5.c:
19494           remove obsolete tests
19495         * configure.ac:
19496         * tests/bench-complexity.scm:
19497         * tests/bench-mass_elements.scm:
19498         * tests/complexity.c:
19499         * tests/complexity.gnuplot:
19500         * tests/instantiate/.cvsignore:
19501         * tests/instantiate/Makefile.am:
19502         * tests/instantiate/caps.c:
19503         * tests/mass_elements.c:
19504         * tests/network-clock-utils.scm:
19505         * tests/network-clock.scm:
19506         * tests/plot-data:
19507         First pass at cleaning up tests/ dir before moving the rest
19508         Combined with CVS surgery
19509
19510 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19511
19512         * po/POTFILES.in:
19513           queue has moved, update
19514
19515 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19516
19517         * docs/gst/gstreamer-sections.txt:
19518           remove double entries from the docs
19519         * gst/gst_private.h:
19520         * gst/gstinfo.c: (_gst_debug_init):
19521           remove the THREAD debug category
19522         * gst/Makefile.am:
19523         * gst/gstqueue.c:
19524         * gst/gstqueue.h:
19525         * docs/gst/gstreamer.types:
19526         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19527         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19528           completely move queue and fix up debugging categories
19529
19530 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19531
19532         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19533           make initialization portable, using LL is not
19534
19535 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19536
19537         * win32/common/gstconfig.h:
19538           add large padding
19539
19540 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19541
19542         * win32/common/libgstreamer.def:
19543           rename symbols; sort base section
19544
19545 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19546
19547         * gst/gstclock.c: (do_linear_regression):
19548           remove crack non-portable handrolled DEBUG macro
19549
19550 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19551
19552         * docs/random/release:
19553           update notes
19554         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19555         (gst_object_flags_get_type), (register_gst_bin_flags),
19556         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19557         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19558         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19559         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19560         (gst_caps_flags_get_type), (register_gst_clock_return),
19561         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19562         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19563         (gst_clock_flags_get_type), (register_gst_state),
19564         (gst_state_get_type), (register_gst_state_change_return),
19565         (gst_state_change_return_get_type), (register_gst_state_change),
19566         (gst_state_change_get_type), (register_gst_element_flags),
19567         (gst_element_flags_get_type), (register_gst_core_error),
19568         (gst_core_error_get_type), (register_gst_library_error),
19569         (gst_library_error_get_type), (register_gst_resource_error),
19570         (gst_resource_error_get_type), (register_gst_stream_error),
19571         (gst_stream_error_get_type), (register_gst_event_type_flags),
19572         (gst_event_type_flags_get_type), (register_gst_event_type),
19573         (gst_event_type_get_type), (register_gst_seek_type),
19574         (gst_seek_type_get_type), (register_gst_seek_flags),
19575         (gst_seek_flags_get_type), (register_gst_format),
19576         (gst_format_get_type), (register_gst_index_certainty),
19577         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19578         (gst_index_entry_type_get_type),
19579         (register_gst_index_lookup_method),
19580         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19581         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19582         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19583         (gst_index_flags_get_type), (register_gst_debug_level),
19584         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19585         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19586         (gst_iterator_result_get_type), (register_gst_iterator_item),
19587         (gst_iterator_item_get_type), (register_gst_message_type),
19588         (gst_message_type_get_type), (register_gst_mini_object_flags),
19589         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19590         (gst_pad_link_return_get_type), (register_gst_flow_return),
19591         (gst_flow_return_get_type), (register_gst_activate_mode),
19592         (gst_activate_mode_get_type), (register_gst_pad_direction),
19593         (gst_pad_direction_get_type), (register_gst_pad_flags),
19594         (gst_pad_flags_get_type), (register_gst_pad_presence),
19595         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19596         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19597         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19598         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19599         (gst_plugin_flags_get_type), (register_gst_rank),
19600         (gst_rank_get_type), (register_gst_query_type),
19601         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19602         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19603         (gst_tag_flag_get_type), (register_gst_task_state),
19604         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19605         (gst_alloc_trace_flags_get_type),
19606         (register_gst_type_find_probability),
19607         (gst_type_find_probability_get_type), (register_gst_uri_type),
19608         (gst_uri_type_get_type), (register_gst_parse_error),
19609         (gst_parse_error_get_type):
19610         * win32/common/gstenumtypes.h:
19611         * win32/common/gstversion.h:
19612           update visual studio generated files
19613
19614 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19615
19616         * win32/vs6/libgstbase.dsp:
19617         * win32/vs6/libgstelements.dsp:
19618           update project files for new locations
19619
19620 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19621
19622         * Makefile.am:
19623           remove some files
19624         * README:
19625           reinstate and update
19626         * DEVEL:
19627         * REQUIREMENTS:
19628           removed
19629         * LICENSE:
19630         * docs/random/LICENSE:
19631           moved to random
19632
19633 2005-11-30  Edward Hervey  <edward@fluendo.com>
19634
19635         * gst/gsttypefind.c: (gst_type_find_register):
19636         * gst/gsttypefind.h:
19637         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19638         (gst_type_find_factory_dispose):
19639         * gst/gsttypefindfactory.h:
19640         Fix memory leak in GstTypeFindFactory.
19641
19642 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19643
19644         * gst/gst.c:
19645         * plugins/elements/Makefile.am:
19646         * plugins/elements/gstelements.c:
19647         * plugins/elements/gstqueue.c:
19648           move queue from core to the elements plugin
19649
19650 2005-11-29  Andy Wingo  <wingo@pobox.com>
19651
19652         * libs/gst/base/gstbasetransform.h: 
19653         * libs/gst/base/gstbasesrc.h: 
19654         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19655
19656         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19657         of pointers by which to pad very extensible base classes (like the
19658         ones in libs/gst/base).
19659
19660 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19661
19662         * docs/gst/gstreamer-docs.sgml:
19663         * docs/gst/gstreamer-sections.txt:
19664         * docs/libs/gstreamer-libs-docs.sgml:
19665         * docs/libs/gstreamer-libs-sections.txt:
19666           moving documentation from core to lib
19667
19668 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19669
19670         * check/Makefile.am:
19671         * configure.ac:
19672         * docs/gst/Makefile.am:
19673         * gst/Makefile.am:
19674         * gst/base/.cvsignore:
19675         * gst/base/Makefile.am:
19676         * gst/base/README:
19677         * gst/base/gstadapter.c:
19678         * gst/base/gstadapter.h:
19679         * gst/base/gstbasesink.c:
19680         * gst/base/gstbasesink.h:
19681         * gst/base/gstbasesrc.c:
19682         * gst/base/gstbasesrc.h:
19683         * gst/base/gstbasetransform.c:
19684         * gst/base/gstbasetransform.h:
19685         * gst/base/gstcollectpads.c:
19686         * gst/base/gstcollectpads.h:
19687         * gst/base/gstpushsrc.c:
19688         * gst/base/gstpushsrc.h:
19689         * gst/base/gsttypefindhelper.c:
19690         * gst/base/gsttypefindhelper.h:
19691         * gst/check/Makefile.am:
19692         * gst/check/gstcheck.c:
19693         * gst/check/gstcheck.h:
19694         * gst/net/Makefile.am:
19695         * gst/net/gstnet.h:
19696         * gst/net/gstnetclientclock.c:
19697         * gst/net/gstnetclientclock.h:
19698         * gst/net/gstnettimepacket.c:
19699         * gst/net/gstnettimepacket.h:
19700         * gst/net/gstnettimeprovider.c:
19701         * gst/net/gstnettimeprovider.h:
19702         * libs/gst/Makefile.am:
19703         * libs/gst/base/Makefile.am:
19704         * libs/gst/base/gstbasetransform.c:
19705         * libs/gst/check/Makefile.am:
19706         * plugins/elements/Makefile.am:
19707         * po/POTFILES.in:
19708           CVS surgery + support to move base, check, and net out of gst
19709           and into libs/gst
19710
19711 2005-11-29  Andy Wingo  <wingo@pobox.com>
19712
19713         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19714
19715         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19716         padding.
19717
19718         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19719
19720         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19721
19722         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19723
19724         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19725         padding; reduces object size by about 30%. We don't expect
19726         anything else to go into gstobject.
19727
19728         * gst/gstminiobject.h (struct _GstMiniObject)
19729         (struct _GstMiniObjectClass): Only one pointer of padding; the
19730         payload is only a pointer and two ints anyway. For the class there
19731         are only two methods as well.
19732         
19733         * gst/gstelement.h (struct _GstElementClass): Removed
19734         the state_changed signal callback, it is not used.
19735
19736 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19737
19738         * docs/gst/gstreamer.types:
19739           fix includes, though they are a little dinky
19740
19741 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19742
19743         * check/Makefile.am:
19744           look in the right place for elements, a lot more chance of
19745           success
19746         * gst/Makefile.am:
19747           remove indexers and elements subdirs
19748         * plugins/Makefile.am:
19749           make indexers conditional
19750
19751 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19752
19753         * Makefile.am:
19754         * configure.ac:
19755         * plugins/elements/Makefile.am:
19756         * plugins/elements/gstcapsfilter.c:
19757         * plugins/elements/gstfilesink.c:
19758         * plugins/elements/gstfilesrc.c:
19759         * plugins/elements/gstidentity.c:
19760         * plugins/indexers/Makefile.am:
19761           do CVS surgery and related build fixery to move elements
19762           and indexers in a new gstreamer/plugins directory, out of the
19763           gst/ directory
19764
19765 2005-11-29  Andy Wingo  <wingo@pobox.com>
19766
19767         * check/Makefile.am:
19768         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19769         * pkgconfig/gstreamer-net.pc.in:
19770         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19771         #322257.
19772
19773 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19774
19775         * tools/Makefile.am:
19776         * tools/gst-complete.1.in:
19777         * tools/gst-complete.c:
19778         * tools/gst-compprep.1.in:
19779         * tools/gst-compprep.c:
19780           removing -compprep and -complete
19781
19782 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19783
19784         * gst/gstevent.c: (gst_event_new_new_segment),
19785         (gst_event_parse_new_segment):
19786         * gst/gstevent.h:
19787           fix #320529 - clean up new_segment API and structure.
19788           Let's hope everyone was using the methods, and not the structure.
19789
19790 2005-11-29  Edward Hervey  <edward@fluendo.com>
19791
19792         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19793         (gst_base_sink_event), (gst_base_sink_do_sync),
19794         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19795         Properly handle non GST_FORMAT_TIME segment
19796         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19797         Properly handle non GST_FORMAT_TIME segment
19798         * gst/gstsegment.c:
19799         This function is valid if the accumulator is 0 and the format
19800         is different from the requested format.
19801         
19802 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19803
19804         * docs/gst/gstreamer-sections.txt:
19805         Add gst_query_new_seeking and gst_query_parse_seeking to the
19806         docs.
19807
19808 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19809
19810         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19811           Treat a pad alloc with new caps the same as if we were not
19812           negotiated, in order to allow a changing upstream output
19813           to produce a new format of data.
19814
19815 2005-11-29  Edward Hervey  <edward@fluendo.com>
19816
19817         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19818         (gst_base_transform_event), (gst_base_transform_eventfunc):
19819         The event virtual method is now properly implemented, with a default
19820         handler
19821         Sub classes should call the parent_class event method. They should
19822         return FALSE if they had a problem handling the given event, or don't
19823         want GstBaseTransform to send that even downstream
19824         * gst/elements/gstidentity.c: (gst_identity_class_init),
19825         (gst_identity_init), (gst_identity_event),
19826         (gst_identity_transform_ip), (gst_identity_set_property),
19827         (gst_identity_get_property):
19828         * gst/elements/gstidentity.h:
19829         Added the single-segment boolean property.
19830         If set to TRUE, it will output a single segment of data, starting from
19831         0, will eat up all incoming newsegment, and modify the timestamp of the
19832         buffers accordingly
19833
19834 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19835
19836         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19837           Don't ref NULL target pad (#322751). Improve docs.
19838
19839 2005-11-29  Michael Smith  <msmith@fluendo.com>
19840
19841         * gst/gstregistryxml.c: (load_plugin):
19842           Don't crash if we failed to load a feature from a plugin. 
19843
19844 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19845
19846         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19847         (GST_START_TEST):
19848           use more check API and less GLib API
19849
19850 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19851
19852         * Makefile.am:
19853           don't run checks if we don't have check
19854         * common/check.mak:
19855           remove the registry when running make torture
19856         * docs/gst/gstreamer-sections.txt:
19857           remove second multiply
19858         * gst/gstqueue.c: (gst_queue_loop):
19859           fix a compile warning when disabling debug
19860
19861 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19862
19863         * gst/gstinfo.h:
19864         Hey! Let's print the pad name if the pointer != NULL instead
19865         of when it == NULL :-)
19866
19867 2005-11-28  Wim Taymans  <wim@fluendo.com>
19868
19869         * check/gst/gstutils.c: (GST_START_TEST):
19870         Updated check, add some scaling accuracy checking code.
19871
19872         * gst/gstutils.c: (gst_util_div128_64),
19873         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19874         (gst_util_uint64_scale_int):
19875         Fix 6 times faster division code. Optimize for common 
19876         1/1 and less common X/1 cases.
19877
19878 2005-11-28  Wim Taymans  <wim@fluendo.com>
19879
19880         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19881         More checks.
19882
19883         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19884         (do_linear_regression), (gst_clock_add_observation):
19885         Cleanups.
19886         Release lock when the clock cannot be slaved.
19887         Catch the case where the regression returned an invalid denominator.
19888
19889         * gst/gstutils.c: (gst_util_div128_64_iterate),
19890         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19891         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19892         Add protentially more performant non-iterative 128/64 divide function
19893         that unfortunatly does not work yet.
19894         Shortcut the trivial 0/X = 0 case.
19895         Remove the warnings on overflow.
19896
19897 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19898
19899         * gst/gstplugin.c: (gst_plugin_register_func):
19900           everything causing a plugin not to load should be at least a WARNING
19901
19902 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19903
19904         * docs/random/ensonic/dparams.txt:
19905           some TODOs for the next dev cycle
19906         * libs/gst/controller/gstcontroller.c:
19907         (gst_controlled_property_set_interpolation_mode),
19908         (gst_controlled_property_new):
19909         * libs/gst/controller/gstcontroller.h:
19910           use base type to assign acccessor functions
19911
19912 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19913
19914         * check/Makefile.am:
19915         Oops, that should have been top_srcdir
19916
19917 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19918
19919         * check/Makefile.am:
19920         * check/elements/fdsrc.c: (GST_START_TEST):
19921         Use a cmdline define to specify the location of a file to use for
19922         testing, to avoid breaking distcheck.
19923
19924 2005-11-28  Andy Wingo  <wingo@pobox.com>
19925
19926         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19927
19928 2005-11-28  Edward Hervey  <edward@fluendo.com>
19929
19930         * tools/gst-launch.c: (main):
19931         Clarify the output strings, makes it easier to translate.
19932         Fixes #322626
19933
19934 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19935
19936         * gst/Makefile.am:
19937           don't try and build net if we don't even have <sys/socket.h>
19938
19939 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19940
19941         * check/Makefile.am:
19942         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19943         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19944           Add tests for fdsrc seekability
19945
19946         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19947         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19948         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19949         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19950         * gst/elements/gstfdsrc.h:
19951           fdsrc should not be a 'live' source.
19952           Implement seeking on seekable fd's.
19953
19954         * gst/gstquery.c: (gst_query_new_seeking),
19955         (gst_query_parse_seeking):
19956         * gst/gstquery.h:
19957           Implement SEEKING query functions: 
19958             *_new_seeking and *_parse_seeking
19959
19960 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19961
19962         * gst/gstelement.c: (gst_element_dispose):
19963           don't loop forever
19964
19965         * gst/gstiterator.c:
19966         * gst/gststructure.c:
19967           doc fixes
19968
19969         * libs/gst/controller/gstcontroller.c:
19970         (gst_controlled_property_set_interpolation_mode):
19971         * libs/gst/controller/gstcontroller.h:
19972         * libs/gst/controller/gstinterpolation.c:
19973         (interpolate_none_get_enum_value_array):
19974           support controlling enums
19975
19976 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19977
19978         * gst/gstvalue.c:
19979           Improve documentation for gst_value_union().
19980
19981         * gst/gstvalue.h:
19982           Change return value for union, intersect and subtract functions
19983           from gint to gboolean.
19984
19985 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19986
19987         * gst/gstvalue.c: (gst_value_serialize_any_list),
19988         (gst_value_transform_any_list_string),
19989         (gst_value_deserialize_list), (gst_value_deserialize_array),
19990         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19991         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19992         (gst_value_set_fraction_range_full),
19993         (gst_value_deserialize_fraction_range),
19994         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19995         (gst_value_deserialize_boolean),
19996         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19997         (gst_value_serialize_float), (gst_value_deserialize_float),
19998         (gst_string_wrap), (gst_value_deserialize_string),
19999         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20000         (gst_value_union_int_range_int_range),
20001         (gst_value_intersect_int_range_int_range),
20002         (gst_value_intersect_double_range_double_range),
20003         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20004         (gst_value_subtract_int_range_int_range),
20005         (gst_value_subtract_double_double_range),
20006         (gst_value_subtract_double_range_double_range),
20007         (gst_value_deserialize_fraction):
20008         * gst/gstvalue.h:
20009           Use gint, gdouble and gchar in our API instead of int, double and
20010           char (and make usage in gstvalue.c more consistent).
20011
20012 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20013
20014         * check/Makefile.am:
20015         * libs/gst/controller/Makefile.am:
20016         * libs/gst/dataprotocol/Makefile.am:
20017           fix up Makefile.am and remove GST_ENABLE_NEW
20018
20019 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20020
20021         * configure.ac:
20022         * gst/Makefile.am:
20023         * gst/base/Makefile.am:
20024         * gst/check/Makefile.am:
20025         * gst/elements/Makefile.am:
20026         * gst/net/Makefile.am:
20027           update LDFLAGS use some more
20028
20029 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20030
20031         * common/m4/gst-doc.m4:
20032           Fixes #312589
20033
20034 2005-11-26  Edward Hervey  <edward@fluendo.com>
20035
20036         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20037         This shouldn't issue a g_warning since it returns NULL if it
20038         couldn't find the plugin, and all functions using this behave
20039         properly on a NULL return. Switching to a GST_WARNING.
20040
20041 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20042
20043         * gst/gstbin.c: (gst_bin_handle_message_func):
20044         Don't leak clock messages.
20045
20046 2005-11-25  Wim Taymans  <wim@fluendo.com>
20047
20048         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20049         (gst_util_uint64_scale_int):
20050         Optimisations, remove unneeded vars.
20051
20052 2005-11-25  Wim Taymans  <wim@fluendo.com>
20053
20054         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20055         Added more checks for the high precision uint64 cases.
20056
20057         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20058         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20059         Implement high precision (guint64 * guint64) / guint64.
20060
20061 2005-11-24  Wim Taymans  <wim@fluendo.com>
20062
20063         * gst/base/gstbasesrc.c: (gst_base_src_query):
20064         Fix wrong percentage query.
20065
20066         * gst/gstutils.c: (gst_util_uint64_scale),
20067         (gst_util_uint64_scale_int):
20068         Add some more common cases that can be handled 
20069         efficiently to _scale.
20070
20071 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20072
20073         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20074         (gst_mini_object_suite):
20075           don't use check calls from threads; check probably isn't
20076           threadsafe and using a lock to make it threadsafe would
20077           defeat the purpose of this check
20078         * gst/check/gstcheck.c:
20079         * gst/check/gstcheck.h:
20080           use GST_DEBUG some more
20081
20082 2005-11-24  Wim Taymans  <wim@fluendo.com>
20083
20084         * gst/gstutils.c: (gst_util_uint64_scale),
20085         (gst_util_uint64_scale_int):
20086         Chain trivial case to _scale_int.
20087
20088 2005-11-24  Wim Taymans  <wim@fluendo.com>
20089
20090         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20091         Added test for scaling.
20092
20093         * gst/gstclock.h:
20094         Small doc fix.
20095
20096         * gst/gstutils.c: (gst_util_uint64_scale_int):
20097         Implemented high precision scaling code.
20098
20099 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20100
20101         * gst/gstinfo.h:
20102           do not crash on pad==NULL
20103
20104 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20105
20106         Patch by: Stefan Kost
20107
20108         * common/gtk-doc.mak:
20109         * docs/gst/Makefile.am:
20110         * docs/libs/Makefile.am:
20111           Fix distcheck issues for the libraries docs build
20112           Closes #319599.
20113
20114 2005-11-24  Michael Smith <msmith@fluendo.com>
20115
20116         * docs/manual/basics-helloworld.xml:
20117           Fix bug #315027: memory leak in example code in docs.
20118
20119 2005-11-24  Michael Smith <msmith@fluendo.com>
20120
20121         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20122           Unlock the PREROLL_LOCK in a failure case.
20123
20124 2005-11-24  Wim Taymans  <wim@fluendo.com>
20125
20126         * docs/gst/gstreamer-sections.txt:
20127         * gst/base/gstadapter.h:
20128         * gst/base/gstbasesink.h:
20129         * gst/base/gstbasesrc.h:
20130         * gst/base/gstbasetransform.h:
20131         * gst/base/gstpushsrc.h:
20132         * gst/elements/gstfakesink.h:
20133         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20134         * gst/elements/gstfakesrc.h:
20135         * gst/elements/gstfilesink.h:
20136         * gst/elements/gstfilesrc.h:
20137         * gst/gst.c:
20138         * gst/gstbin.c:
20139         * gst/gstbuffer.c: (_gst_buffer_copy):
20140         * gst/gstbus.h:
20141         * gst/gstcaps.c:
20142         * gst/gstchildproxy.c:
20143         * gst/gstclock.c:
20144         * gst/gstelement.c:
20145         * gst/gstelementfactory.c:
20146         * gst/gstelementfactory.h:
20147         * gst/gstevent.c:
20148         * gst/gstghostpad.h:
20149         * gst/gstindex.h:
20150         * gst/gstinterface.h:
20151         * gst/gstminiobject.c:
20152         * gst/gstminiobject.h:
20153         * gst/gstpad.c:
20154         * gst/gstpad.h:
20155         * gst/gstpadtemplate.h:
20156         * gst/gstpipeline.h:
20157         * gst/gstpluginfeature.h:
20158         * gst/gstquery.h:
20159         * gst/gstqueue.h:
20160         * gst/gsttaglist.c:
20161         * gst/gsttaglist.h:
20162         * gst/gsttagsetter.c:
20163         * gst/gsttagsetter.h:
20164         * gst/gsttrace.c:
20165         * gst/gsttrace.h:
20166         * gst/gsttypefind.h:
20167         * gst/gsturi.h:
20168         * gst/gstvalue.c:
20169         * gst/net/gstnetclientclock.c:
20170         * gst/net/gstnetclientclock.h:
20171         * gst/net/gstnettimepacket.c:
20172         * gst/net/gstnettimeprovider.c:
20173         * gst/net/gstnettimeprovider.h:
20174         Doc fixes.
20175
20176 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20177
20178         * configure.ac: back to HEAD
20179
20180 === release 0.9.6 ===
20181
20182 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20183
20184         * configure.ac:
20185           releasing 0.9.6, "Always On Time"
20186
20187 2005-11-23  Wim Taymans  <wim@fluendo.com>
20188
20189         * docs/gst/gstreamer-sections.txt:
20190         * gst/glib-compat.c:
20191         * gst/gsttagsetter.c:
20192         * gst/gstvalue.c:
20193         * gst/net/gstnetclientclock.c:
20194         * gst/net/gstnettimepacket.h:
20195         Doc updates.
20196
20197 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20198
20199         * docs/faq/using.xml:
20200         * docs/libs/tmpl/gstcontrol.sgml:
20201         * docs/manual/advanced-dparams.xml:
20202         * docs/manual/appendix-checklist.xml:
20203         * docs/manual/basics-elements.xml:
20204         * docs/pwg/other-source.xml:
20205         * docs/random/moving-plugins:
20206         * gst/gstpad.c:
20207         * tools/gst-launch.1.in:
20208           remove mentions of sinesrc
20209
20210 2005-11-23  Michael Smith <msmith@fluendo.com>
20211
20212         * docs/gst/gstreamer-sections.txt:
20213           Update for new API and API changes.
20214         * gst/gstobject.h:
20215           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20216         * gst/gstvalue.c:
20217           Documentation typo fix.
20218         * gst/net/gstnettimepacket.c:
20219           Documentation fixes for arguments.
20220
20221 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20222
20223         * gst/gststructure.c: (gst_structure_get_fraction),
20224         (gst_structure_parse_value),
20225         (gst_structure_fixate_field_nearest_fraction):
20226         * gst/gststructure.h:
20227         * gst/gstutils.c: (gst_util_uint64_scale_int):
20228         * gst/gstutils.h:
20229         * scripts/update-funcnames:
20230         API Changes. 
20231         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20232         Make gst_structure_fixate_field_nearest_fraction take a numerator
20233         and denominator argument instead of a GValue
20234         add gst_structure_get_fraction helper function.
20235
20236 2005-11-23  Wim Taymans  <wim@fluendo.com>
20237
20238         * docs/design/part-TODO.txt:
20239         Update TODO.
20240
20241         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20242         * gst/net/gstnetclientclock.h:
20243         Use parent fields for timeout and window_size.
20244
20245 2005-11-23  Andy Wingo  <wingo@pobox.com>
20246
20247         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20248         rate_num/rate_denom change.
20249
20250         * gst/net/gstnetclientclock.c
20251         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20252         OBJECT_LOCK. Don't call add_observation with the lock.
20253
20254         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20255         fraction.
20256         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20257         rate fraction.
20258         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20259         deal with rate as a fraction whose numerator and denominator are
20260         GstClockTime values.
20261         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20262         master; the other fields are protected by the SLAVE_LOCK.
20263         (do_linear_regression): Note that this must be called with the
20264         SLAVE_LOCK.
20265         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20266         OBJECT_LOCK. Call set_calibration instead of touching the
20267         variables directly.
20268         (gst_clock_set_property, gst_clock_get_property): Protect
20269         master/slave parameters with the SLAVE_LOCK.
20270
20271         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20272         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20273         note that all of the instance variables that add_observation and
20274         the set_master functions use are protected by that lock and not
20275         the OBJECT_LOCK.
20276         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20277
20278         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20279         the caller to take the object lock.
20280
20281 2005-11-23  Wim Taymans  <wim@fluendo.com>
20282
20283         * gst/gsterror.c: (_gst_core_errors_init):
20284         * gst/gsterror.h:
20285         Add error for clock stuff.
20286
20287         * gst/gstpipeline.c: (gst_pipeline_change_state),
20288         (gst_pipeline_set_clock):
20289         Post clock error when clock cannot be used in a pipeline.
20290
20291 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20292
20293         * docs/gst/gstreamer-sections.txt:
20294           make two symbols from gstinfo private for the docs
20295         * gst/base/gstcollectpads.h:
20296         * gst/gstutils.c:
20297           fix doc typos, update docs
20298
20299 2005-11-22  Wim Taymans  <wim@fluendo.com>
20300
20301         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20302         (gst_base_sink_wait), (gst_base_sink_do_sync),
20303         (gst_base_sink_handle_event):
20304         * gst/base/gstbasesink.h:
20305         No need to store the clock, the parent element class already
20306         has it.
20307
20308         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20309         Updates for clock_set returning a gboolean
20310
20311         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20312         (gst_clock_id_wait_async), (gst_clock_class_init),
20313         (gst_clock_init), (gst_clock_finalize),
20314         (gst_clock_get_internal_time), (gst_clock_get_time),
20315         (gst_clock_slave_callback), (gst_clock_set_master),
20316         (gst_clock_get_master), (do_linear_regression),
20317         (gst_clock_add_observation), (gst_clock_set_property),
20318         (gst_clock_get_property):
20319         * gst/gstclock.h:
20320         Implement master/slave. When setting a clock as a slave, a
20321         periodic timeout is scheduled to sample master and slave times.
20322         Then the slave clock is recalibrated to match offset and rate
20323         of the master clock.
20324         Update logging a bit.
20325         Add flag so that a clock can state that is cannot be slaved to
20326         another clock.
20327
20328         * gst/gstelement.c: (gst_element_set_clock):
20329         * gst/gstelement.h:
20330         The set clock returns a gboolean for when an element cannot
20331         deal with the selected clock in the pipeline. 
20332
20333         * gst/gstpipeline.c: (gst_pipeline_change_state),
20334         (gst_pipeline_set_clock):
20335         * gst/gstpipeline.h:
20336         Handle the case where the selected clock cannot be set on
20337         the pipeline.
20338
20339         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20340         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20341         (gst_net_client_clock_set_property),
20342         (gst_net_client_clock_get_property),
20343         (gst_net_client_clock_observe_times):
20344         * gst/net/gstnetclientclock.h:
20345         Use regression code in GstClock parent, remove duplicated
20346         functionality.
20347
20348 2005-11-22  Michael Smith <msmith@fluendo.com>
20349
20350         * gst/gstutils.c: (gst_util_clock_time_scale):
20351         * gst/gstutils.h:
20352         * docs/gst/gstreamer-sections.txt:
20353           Rename method to have extra underscore.
20354
20355 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20356
20357         * gst/elements/Makefile.am:
20358         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20359         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20360         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20361         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20362         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20363         * gst/elements/gstfakesrc.h:
20364         * gst/gstqueue.c: (queue_leaky_get_type):
20365           correctly fix GEnumValues so that nick is the short lowercase
20366           dashed tag
20367         * tools/gst-inspect.c: (print_element_properties_info):
20368           also show the nick, since it's useful to use from parse_launch
20369           syntax
20370           Fixes #322139
20371
20372 2005-11-22  Michael Smith <msmith@fluendo.com>
20373
20374         * gst/gstutils.c: (gst_util_clocktime_scale):
20375         * gst/gstutils.h:
20376         * docs/gst/gstreamer-sections.txt:
20377           Add util method for scaling a clocktime by a fraction. Useful 
20378           implementation is left as an exercise for the reader.
20379
20380 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20381
20382         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20383         If needed, allocate storage in the destination value during
20384         collection.
20385
20386 2005-11-22  Edward Hervey  <edward@fluendo.com>
20387
20388         * docs/gst/gstreamer-sections.txt:
20389         * gst/Makefile.am:
20390         * gst/gst.h:
20391         * gst/gsturitype.c:
20392         * gst/gsturitype.h:
20393         * gst/gstutils.c: (gst_util_set_object_arg):
20394         * tools/gst-compprep.c: (main):
20395         * tools/gst-inspect.c: (print_element_properties_info):
20396         Removed GstURI, closes bug #321061
20397
20398 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20399
20400         * check/gst/gststructure.c: (GST_START_TEST):
20401         * gst/gststructure.c: (gst_structure_parse_value):
20402           Oops, broke automatic string type parsing.
20403           Add a test to catch it in future.
20404
20405 2005-11-22  Andy Wingo  <wingo@pobox.com>
20406
20407         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20408         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20409         Actually rename the function implementations. Grr.
20410
20411 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20412
20413         * check/gst/capslist.h:
20414           Comment test cases
20415         * check/gst/gststructure.c: (GST_START_TEST),
20416         (gst_structure_suite):
20417           Test automatic value type detection in gst_structure_from_string.
20418         * gst/gststructure.c: (gst_structure_parse_value):
20419           Add fraction as a type we try and guess automatically in
20420           caps/structure strings.
20421
20422 2005-11-22  Andy Wingo  <wingo@pobox.com>
20423
20424         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20425
20426         * gst/gsttagsetter.h:
20427         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20428         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20429         (gst_tag_setter_add_tag_valist)
20430         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20431         _add_values, _add_valist, and _add_valist_values. Since this is an
20432         interface the function suffixes should be more explicit so
20433         language binding don't end up with element.add_valist ->
20434         gst_tag_setter_add_valist, for example. Fixes #322069.
20435
20436 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20437
20438         * check/gst/gstcaps.c: (GST_START_TEST):
20439           Extend caps string tests to check that a caps to string
20440           conversion is reversible and produces the same caps.
20441
20442         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20443           Output "fraction" as the generic type fraction range, so caps
20444           serialisation and deserialisation works.
20445         * check/gst/capslist.h:
20446         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20447           Support 'MIN' and 'MAX' for deserialising fractions.
20448
20449 2005-11-22  Andy Wingo  <wingo@pobox.com>
20450
20451         * gst/gstevent.h (gst_event_new_new_segment)
20452         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20453         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20454         Renamed from *_newsegment, *_buffersize, *_notarget.
20455
20456         * scripts/update-funcnames: New script, performs the changes
20457         listed above.
20458
20459 2005-11-22  Wim Taymans  <wim@fluendo.com>
20460
20461         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20462         Make sure the GstFlowReturn is returned.
20463
20464         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20465         (gst_bus_add_signal_watch):
20466         * gst/gstbus.h:
20467         add gst_bus_add_signal_watch_full.
20468
20469         * gst/gstplugin.c: (gst_plugin_load_file):
20470         Small style cleanup.
20471
20472 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20473
20474         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20475           Block the fakesrc srcpad when we send an event, to avoid
20476           contention on the stream_lock causing random test failures.
20477
20478 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20479
20480         * check/gst/gstvalue.c: (GST_START_TEST):
20481         * gst/gstvalue.c: (gst_value_fraction_subtract):
20482           Fix subtraction.
20483
20484 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20485
20486         * gst/gst.h:
20487           include "gstchildproxy.h"
20488         * gst/gstchildproxy.h:
20489         * libs/gst/controller/gstcontroller.h:
20490           use G_GNUC_NULL_TERMINATED
20491
20492 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20493
20494         * check/gst/capslist.h:
20495         * check/gst/gstcaps.c: (GST_START_TEST):
20496         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20497         * gst/gststructure.c: (gst_structure_parse_range),
20498         (gst_structure_fixate_field_nearest_fraction):
20499         * gst/gststructure.h:
20500         * gst/gstvalue.c: (gst_value_init_fraction_range),
20501         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20502         (gst_value_collect_fraction_range),
20503         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20504         (gst_value_set_fraction_range_full),
20505         (gst_value_get_fraction_range_min),
20506         (gst_value_get_fraction_range_max),
20507         (gst_value_serialize_fraction_range),
20508         (gst_value_transform_fraction_range_string),
20509         (gst_value_compare_fraction_range),
20510         (gst_value_deserialize_fraction_range),
20511         (gst_value_intersect_fraction_fraction_range),
20512         (gst_value_intersect_fraction_range_fraction_range),
20513         (gst_value_subtract_fraction_fraction_range),
20514         (gst_value_subtract_fraction_range_fraction),
20515         (gst_value_subtract_fraction_range_fraction_range),
20516         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20517         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20518         (gst_value_transform_string_fraction), (_gst_value_initialize):
20519         * gst/gstvalue.h:
20520           Implement fraction ranges and extend GstFraction to support
20521           arithmetic subtraction, as well as deserialization from integer
20522           strings such as "100"
20523           Add a testsuite as for int and double range set operations
20524
20525 2005-11-21  Andy Wingo  <wingo@pobox.com>
20526
20527         * gst/gsttaglist.h: 
20528         * gst/gstcaps.h: 
20529         * gst/gststructure.h: Add glib-compat.h.
20530
20531 2005-11-21  Wim Taymans  <wim@fluendo.com>
20532
20533         * gst/gstbin.c: (gst_bin_change_state_func):
20534         Fix for #321595
20535
20536 2005-11-21  Wim Taymans  <wim@fluendo.com>
20537
20538         * gst/gstsegment.h:
20539         And add a nice define too.
20540
20541 2005-11-21  Wim Taymans  <wim@fluendo.com>
20542
20543         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20544         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20545         (gst_segment_set_duration), (gst_segment_set_last_stop),
20546         (gst_segment_set_seek), (gst_segment_set_newsegment),
20547         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20548         (gst_segment_clip):
20549         * gst/gstsegment.h:
20550         Make binding friendly.
20551
20552 2005-11-21  Andy Wingo  <wingo@pobox.com>
20553
20554         * gst/gsttagsetter.h: 
20555         * gst/gsttaglist.h: 
20556         * gst/gststructure.h: 
20557         * gst/gstcaps.h: 
20558         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20559         #319940.
20560
20561         * gst/gsterror.c (_gst_core_errors_init):
20562         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20563         category.
20564
20565         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20566         (noinst_HEADERS): noinst the -private.
20567
20568 2005-11-21  Michael Smith <msmith@fluendo.com>
20569
20570         * gst/gstplugin.h:
20571         * gst/gstregistry.h:
20572           Remove unimplemented declarations for which we can see no sensible
20573           use.
20574
20575 2005-11-21  Andy Wingo  <wingo@pobox.com>
20576
20577         * gst/gst.h: Include glib-compat.h.
20578
20579         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20580
20581         * gst/glib-compat.c: Include the public and the private header.
20582
20583         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20584
20585         * gst/gstvalue.c: 
20586         * gst/gstpad.c: 
20587         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20588
20589         * check/gst/gstevent.c (create_custom_events): Check that
20590         FLUSH_STOP is serialized.
20591
20592         * check/elements/identity.c (event_func): 
20593         * check/elements/fakesrc.c (event_func): No stream lock, the core
20594         takes it.
20595
20596         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20597         stream lock taking, yay.
20598
20599         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20600         ensure that core takes the stream lock.
20601
20602         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20603         lock name change.
20604
20605         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20606         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20607         it already. For the flush start we do take it though so we get the
20608         right preroll state change messages.
20609
20610         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20611         the stream lock here, the core does it for us.
20612
20613         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20614         GST_STREAM_GET_LOCK.
20615         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20616         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20617         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20618         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20619         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20620         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20621
20622         * gst/gstpad.c: Update for stream lock name change.
20623
20624         * gst/base/gstbasesink.c: Update for preroll lock name change.
20625
20626 2005-11-21  Wim Taymans  <wim@fluendo.com>
20627
20628         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20629         (gst_clock_get_master):
20630         * gst/gstclock.h:
20631         * gst/gstsystemclock.c: (gst_system_clock_init):
20632         Convert Clock flags to object flags.
20633         Added methods to manage master/slave clocks.
20634
20635 2005-11-21  Wim Taymans  <wim@fluendo.com>
20636
20637         * check/gst/gstsegment.c: (GST_START_TEST):
20638         * docs/design/part-TODO.txt:
20639         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20640         (gst_base_sink_event), (gst_base_sink_do_sync),
20641         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20642         (gst_base_sink_query), (gst_base_sink_change_state):
20643         * gst/base/gstbasesink.h:
20644         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20645         (gst_base_src_default_newsegment),
20646         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20647         (gst_base_src_get_range), (gst_base_src_loop),
20648         (gst_base_src_change_state):
20649         * gst/base/gstbasesrc.h:
20650         * gst/base/gstbasetransform.c:
20651         (gst_base_transform_prepare_output_buf),
20652         (gst_base_transform_event), (gst_base_transform_change_state):
20653         * gst/base/gstbasetransform.h:
20654         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20655         (gst_collect_pads_event):
20656         * gst/base/gstcollectpads.h:
20657         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20658         (gst_fake_src_create):
20659         * gst/elements/gstfakesrc.h:
20660         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20661         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20662         (gst_segment_set_last_stop), (gst_segment_set_seek),
20663         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20664         (gst_segment_to_running_time), (gst_segment_clip):
20665         * gst/gstsegment.h:
20666         More segment updates, replace code in plugins with segment
20667         helper functions.
20668
20669 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20670
20671         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20672         Don't ignore sscanf results
20673
20674 2005-11-21  Andy Wingo  <wingo@pobox.com>
20675
20676         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20677
20678         * *.h:
20679         * *.c: Ran scripts/update-macros. Oh yes.
20680
20681         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20682         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20683         GST_GET_LOCK, etc.
20684
20685         * scripts/update-macros: New script. Run it on your files to
20686         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20687         well.
20688
20689 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20690
20691         * docs/gst/Makefile.am:
20692         * docs/gst/gstreamer-docs.sgml:
20693         * docs/gst/gstreamer-sections.txt:
20694         * docs/gst/gstreamer.types:
20695         * gst/gstinfo.h:
20696           more docs fixes, add new api to the docs
20697
20698 2005-11-21  Andy Wingo  <wingo@pobox.com>
20699
20700         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20701         state_broadcast call.
20702
20703         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20704
20705 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20706
20707         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20708         function calls for arrays.
20709
20710 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20711
20712         * docs/random/ensonic/media-device-daemon.txt:
20713           wild idea, can this be done?
20714         * docs/gst/gstreamer-sections.txt:
20715         * gst/gsterror.h:
20716         * gst/gstfilter.c:
20717         * gst/gstfilter.h:
20718         * gst/gstplugin.h:
20719         * gst/gstpluginfeature.c:
20720         * gst/gsttrace.c:
20721         * gst/gstvalue.c:
20722         * gst/gstvalue.h:
20723           doc fixes and additions
20724
20725 2005-11-21  Andy Wingo  <wingo@pobox.com>
20726
20727         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20728         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20729         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20730         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20731         private to the basesrc implementation.
20732
20733         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20734         behalf of event function if necessary. It should no longer be
20735         necessary to take the stream lock in pad's event functions. Fixes
20736         #320299.
20737
20738 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20739         * docs/gst/gstreamer-sections.txt:
20740         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20741         (gst_structure_fixate_field_nearest_double),
20742         (gst_structure_fixate_field_boolean):
20743         * gst/gststructure.h:
20744         * win32/common/libgstreamer.def:
20745         * win32/gstreamer.def:
20746
20747         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20748         (#322027)
20749
20750 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20751
20752         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20753         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20754         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20755         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20756         (gst_fdsrc_uri_handler_init):
20757         * gst/elements/gstfdsrc.h:
20758           Port fd:// URI handler from 0.8 to fdsrc
20759
20760 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20761
20762         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20763         (gst_value_serialize_fourcc):
20764         * gst/gstvalue.h:
20765           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20766           consistent with our other format defines (#320324).
20767
20768 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20769
20770         * gst/gstvalue.c: (gst_value_is_fixed):
20771           Revert previous commit. Value lists are by definition
20772           not fixed, as they are a list of possible values.
20773
20774 2005-11-21  Andy Wingo  <wingo@pobox.com>
20775
20776         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20777         during the stable series if we need it. Fixes #319178.
20778
20779         * gst/gstevent.c (gst_event_new_filler): Removed.
20780
20781         * check/gst/gstevent.c: Update comment about filler events.
20782
20783 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20784
20785         * gst/gstvalue.c: (gst_value_is_fixed):
20786           Should handle both value arrays and value lists.
20787
20788 2005-11-21  Andy Wingo  <wingo@pobox.com>
20789
20790         patch by: Alessandro Dessina <alessandro nnva org>
20791
20792         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20793         functions to access arrays. Fixes #321962.
20794
20795 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20796
20797         * docs/gst/gstreamer.types:
20798           gst_collectpads_get_type => gst_collect_pads_get_type.
20799           
20800         * gst/base/gstbasetransform.c:
20801           Remove unused SIGNAL_HANDOFF enum.
20802
20803 2005-11-21  Andy Wingo  <wingo@pobox.com>
20804
20805         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20806         the event type (upstream, downstream, serialized). Renamed
20807         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20808         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20809         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20810
20811         * gst/gstevent.c: Update for new CUSTOM event names.
20812
20813         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20814
20815         * gst/gstevent.h:
20816         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20817         bug #319392.
20818
20819 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20820
20821         * docs/gst/gstreamer-sections.txt:
20822         * win32/common/libgstbase.def:
20823         * win32/libgstbase.def:
20824         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20825         (gst_collect_pads_class_init), (gst_collect_pads_init),
20826         (gst_collect_pads_finalize), (gst_collect_pads_new),
20827         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20828         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20829         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20830         (gst_collect_pads_start), (gst_collect_pads_stop),
20831         (gst_collect_pads_peek), (gst_collect_pads_pop),
20832         (gst_collect_pads_available), (gst_collect_pads_read),
20833         (gst_collect_pads_flush), (gst_collect_pads_event),
20834         (gst_collect_pads_chain):
20835         * gst/base/gstcollectpads.h:
20836           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20837           unimplemented functions as unimplemented. Add padding to
20838           GstCollectData. (#320766, #320423)
20839
20840 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20841
20842         * gst/gstmessage.c:
20843           Improve docs for DURATION message (usage of duration parameter)
20844           (#320113)
20845
20846 2005-11-20  Wim Taymans  <wim@fluendo.com>
20847
20848         * check/Makefile.am:
20849         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20850         (main):
20851         * gst/Makefile.am:
20852         * gst/gst.h:
20853         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20854         (gst_segment_set_seek), (gst_segment_set_newsegment),
20855         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20856         (gst_segment_clip):
20857         * gst/gstsegment.h:
20858         Added segment helper structure and methods. Not fully implemented
20859         yet.
20860         Added segment check.
20861
20862 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20863
20864         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20865           Add a deserialisation test for fractions
20866         * examples/metadata/read-metadata.c: (message_loop),
20867         (make_pipeline), (main):
20868           Fix up metadata reading sample.
20869         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20870           Debug format fix
20871         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20872           Don't try and fixate empty caps
20873         * gst/gst_private.h:
20874           Wrap in G_BEGIN_DECLS/G_END_DECLS
20875         * gst/gstvalue.c: (gst_value_collect_fraction),
20876         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20877         (gst_value_transform_string_fraction),
20878         (gst_value_compare_fraction):
20879           Add some extra guards to ensure that we don't end up 
20880           with an invalid denominator of 0 in a gstfraction and
20881           that fractions always get reduced.
20882
20883 2005-11-20  Wim Taymans  <wim@fluendo.com>
20884
20885         * docs/gst/gstreamer-sections.txt:
20886         * gst/gstbuffer.h:
20887         * gst/gstelement.c:
20888         * gst/gstformat.c:
20889         * gst/gstformat.h:
20890         * gst/gstindex.h:
20891         * gst/gstquery.c:
20892         * gst/gstquery.h:
20893         * gst/gstvalue.c:
20894         Doc fixes.
20895
20896 2005-11-20  Wim Taymans  <wim@fluendo.com>
20897
20898         * docs/design/part-TODO.txt:
20899         * gst/gstcaps.h:
20900         Make a proper enum of the flag.
20901
20902 2005-11-19  Wim Taymans  <wim@fluendo.com>
20903
20904         * docs/design/part-TODO.txt:
20905         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20906         (gst_format_to_quark), (gst_format_register):
20907         * gst/gstformat.h:
20908         * gst/gstquery.c: (_gst_query_initialize),
20909         (gst_query_type_get_name), (gst_query_type_to_quark),
20910         (gst_query_type_register):
20911         * gst/gstquery.h:
20912         Add type to quark and type to string conversions.
20913
20914 2005-11-19  Andy Wingo  <wingo@pobox.com>
20915
20916         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20917         #320097.
20918
20919 2005-11-19  Wim Taymans  <wim@fluendo.com>
20920
20921         * docs/design/part-TODO.txt:
20922         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20923         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20924         (gst_bin_handle_message_func):
20925         * gst/gstbin.h:
20926         Make message handling overridable.
20927
20928 2005-11-19  Andy Wingo  <wingo@pobox.com>
20929
20930         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20931
20932         * gst/gstclock.h:
20933         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20934         be a GstClockTime.
20935         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20936         is a GstClockTime. Fixes #321710.
20937
20938         * gst/gstclock.h (GstClock): Remove offset property. Add
20939         internal_calibration and external_calibration. Fix padding. Pad
20940         also by GstClockTime so we don't run into problems.
20941
20942         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20943         (gst_clock_get_rate_offset): Remove.
20944         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20945
20946         * gst/gstutils.h:
20947         * gst/gstutils.c (g_static_rec_cond_wait)
20948         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20949
20950         * gst/gstbin.c: Remove terrible continue_state prototype.
20951
20952         * gst/gstelement.h (gst_element_continue_state): Make public.
20953
20954         * gst/gstelement.h:
20955         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20956         by continue_state. Fixes #319389.
20957
20958         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20959         Really fixes #168438. However I don't see anywhere where the
20960         filter function is called... stupid GStreamer...
20961         
20962         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20963         don't have a dispose function, so it won't get called when the
20964         object is unreffed, but oh well!
20965
20966         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20967         allows a destroy function to be set so user_data can be freed.
20968         Fixes #168438.
20969         (gst_index_set_filter): Call gst_index_set_filter_full.
20970
20971         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20972
20973         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20974         string should produce an error, given the lack of a way to
20975         represent NULL strings. Fixes #165650.
20976         
20977         * gst/gstvalue.h: 
20978         * gst/gstvalue.c (gst_value_array_append_value) 
20979         (gst_value_array_prepend_value, gst_value_array_get_size) 
20980         (gst_value_array_get_value): New API, copied from
20981         gst_value_list_*, only operates on arrays.
20982         (gst_value_list_append_value, gst_value_list_prepend_value) 
20983         (gst_value_list_concat, gst_value_list_get_size) 
20984         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20985
20986         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20987         init_list, because it works on both.
20988         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20989         (gst_value_copy_list_or_array): Renamed from copy_list.
20990         (gst_value_free_list_or_array): Renamed from free_list.
20991         (gst_value_collect_list_or_array): Renamed from collect_list.
20992         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20993         (gst_value_list_or_array_peek_pointer): Renamed from
20994         list_peek_pointer.
20995         (_gst_value_array_value_table, _gst_value_list_value_table):
20996         Update value table functions.
20997         (gst_value_compare_list_or_array): Renamed from compare_list.
20998
20999         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21000         some constness.
21001
21002         * gst/gsttaglist.c:
21003         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21004         GstTagList*. Fixes #143472.
21005
21006         * gst/gststructure.h: Clarify what the foreach/map functions can
21007         or can't do to their arguments.
21008
21009 2005-11-18  Wim Taymans  <wim@fluendo.com>
21010
21011         * gst/gstclock.c: (gst_clock_set_calibration),
21012         (gst_clock_get_calibration):
21013         Doc and API fixes.
21014         Calibration can be set with internal time equal to current
21015         internal time too.
21016
21017 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21018
21019         * gst/gsterror.c:
21020         * gst/gsterror.h:
21021           document
21022
21023 2005-11-18  Andy Wingo  <wingo@pobox.com>
21024
21025         * configure.ac: 
21026         * pkgconfig/gstreamer-net.pc.in:
21027         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21028         * pkgconfig/Makefile.am: Add net pkgconfig files.
21029
21030 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21031
21032         * gst/gstcaps.c:
21033         * gst/gstghostpad.c:
21034         * gst/gsttrace.c:
21035         * gst/gstvalue.c:
21036         * gst/gstvalue.h:
21037           docs fixes
21038
21039 2005-11-18  Andy Wingo  <wingo@pobox.com>
21040
21041         * gst/net/gstnetclientclock.c: Turn off debugging.
21042
21043         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21044         times connverge somewhat. Can't make a real test.
21045
21046         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21047         integer arithmetic. Return the minimum of the domain, which can be
21048         set as "internal" for gst_clock_set_calibration.
21049         (gst_net_client_clock_observe_times): Call _set_calibration.
21050         (gst_net_client_clock_new): Call _set_calibration instead of
21051         rate_offset.
21052
21053         * check/net/gstnetclientclock.c (test_functioning): Use the right
21054         adjustment api.
21055
21056         * gst/gstclock.h:
21057         * gst/gstclock.c (gst_clock_get_calibration) 
21058         (gst_clock_set_calibration): New functions, obsolete the ones I
21059         added yesterday. Doh. Precision issues mean we have to extrapolate
21060         from a point in the more recent past than 1970.
21061         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21062         obsolete.
21063         (gst_clock_adjust_unlocked): Use the right calibration data.
21064
21065 2005-11-18  Edward Hervey  <edward@fluendo.com>
21066
21067         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21068         Also reset the ->current_* values in READY->PAUSED
21069
21070 2005-11-18  Andy Wingo  <wingo@pobox.com>
21071
21072         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21073         Whoops, check the right fd. Also add some debugging.
21074         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21075         (do_linear_regression): Add a crapload of debugging. Subtract off
21076         the minimum values from the input series to discard unneeded bits.
21077         Use only int arithmetic. There is still double arithmetic when
21078         calculating the intercept that needs fixing. Return boolean to
21079         indicate success; FALSE would mean the domain or range is too
21080         great. Still needs fixes.
21081
21082 2005-11-18  Wim Taymans  <wim@fluendo.com>
21083
21084         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21085         For the current position in stream time, we need to subtract
21086         accumulated time.
21087         
21088         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21089         Release lock before calling the callback function of async
21090         entries.
21091
21092 2005-11-18  Andy Wingo  <wingo@pobox.com>
21093
21094         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21095         Port goes all the way to MAXUINT16.
21096
21097         * gst/net/gstnettimeprovider.c: Make the port range the same as
21098         for the kernel: 0 assigns, otherwise ports are less than
21099         MAXUINT16.
21100
21101         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21102         port change.
21103
21104         * check/net/gstnetclientclock.c (test_functioning): Add the start
21105         of another test. 
21106
21107 2005-11-18  Wim Taymans  <wim@fluendo.com>
21108
21109         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21110         (gst_bin_remove_func), (bin_bus_handler):
21111         * gst/gstbin.h:
21112         Removing a clock provider from a bin, triggers a clock lost message
21113         so that a new clock will be selected.
21114         Adding a clock to a bin triggers a clock provider message.
21115         Make sure we reselect a clock when we received a clock lost message.
21116         Keep a reference to the element that provided the clock.
21117
21118 2005-11-18  Andy Wingo  <wingo@pobox.com>
21119
21120         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21121         the clock initially so it produces values around the base time.
21122         (gst_net_client_clock_class_init): Typo fix.
21123         (gst_net_client_clock_thread): Add note on when the socket gets
21124         closed.
21125
21126 2005-11-17  Wim Taymans  <wim@fluendo.com>
21127
21128         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21129         Free remote and local time arrays.
21130
21131 2005-11-17  Wim Taymans  <wim@fluendo.com>
21132
21133         * gst/net/gstnetclientclock.c: (do_linear_regression),
21134         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21135         Fix compilation, uninitialized vars and a forgotten continue.
21136
21137 2005-11-17  Andy Wingo  <wingo@pobox.com>
21138
21139         * check/Makefile.am (check_PROGRAMS): 
21140         * check/net/gstnetclientclock.c: Add a most minimal test for the
21141         net client clock. More to come later.
21142
21143         * gst/net/gstnet.h: 
21144         * gst/net/Makefile.am: Add netclientclock.
21145
21146         * gst/net/gstnetclientclock.h:
21147         * gst/net/gstnetclientclock.c: New files, implement an untested
21148         GstClock that takes its time from a network time provider.
21149         Implements the algorithm in network-clock.scm.
21150
21151         * tests/network-clock.scm (*window-size*): Rename from
21152         *queue-length*.
21153         * tests/network-clock.scm (network-time): 
21154         * tests/network-clock-utils.scm (q-push): Update callers.
21155
21156 2005-11-17  Wim Taymans  <wim@fluendo.com>
21157
21158         * gst/gstbin.c: (gst_bin_provide_clock_func),
21159         (gst_bin_sort_iterator_new):
21160         And unref the child too..
21161
21162 2005-11-17  Wim Taymans  <wim@fluendo.com>
21163
21164         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21165         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21166         Refactor the sort iterator so it can be used while holding the
21167         LOCK too.
21168         Make clock selection select a clock closest to the source.
21169
21170 2005-11-17  Michael Smith <msmith@fluendo.com>
21171
21172         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21173         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21174         * gst/gstclock.h:
21175           Anonymous structs are a gcc (and some other compilers) extension, so
21176           don't use them. Since this is only for ABI-compatibility, and our
21177           API/ABI freeze is over in a few days, this whole thing will only
21178           last a few days, so don't bother trying to think up a meaningful
21179           name for the struct.
21180
21181 2005-11-17  Andy Wingo  <wingo@pobox.com>
21182
21183         * gst/gstclock.h (GstClock): Add rate and offset properties,
21184         preserving ABI stability. Add rate/offset accessors. Will file bug
21185         for the freeze break.
21186
21187         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21188         and offset, trying to keep precision and avoiding
21189         underflow/overflow.
21190         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21191         functions. Make gst_clock_set_time_adjust obsolete.
21192         (gst_clock_set_time_adjust): Note that this function is obsolete.
21193         Will file bug soon.
21194
21195         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21196         greppable by using GST_PADDING-1+1.
21197
21198 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21199
21200         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21201
21202         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21203           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21204
21205         * gst/gstpadtemplate.h:
21206         * gst/gstpluginfeature.h:
21207           Don't use c++ style comments in headers (#321638).
21208
21209 2005-11-16  Andy Wingo  <wingo@pobox.com>
21210
21211         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21212         buffer.
21213
21214         * check/net/gstnettimeprovider.c: Check to see that the time
21215         provider actually provides times. Works, yo!
21216
21217 2005-11-16  Wim Taymans  <wim@fluendo.com>
21218
21219         * check/Makefile.am:
21220         Enable more tests.
21221
21222         * check/elements/fakesrc.c: (GST_START_TEST):
21223         Set element to NULL before disposing it.
21224
21225 2005-11-16  Andy Wingo  <wingo@pobox.com>
21226
21227         * gst/net/Makefile.am:
21228         * gst/net/gstnet.h:
21229         * gst/net/gstnettimeprovider.c: 
21230         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21231         provider, include it from gstnet.h, and add it to the build.
21232
21233         * gst/net/gstnettimepacket.h: 
21234         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21235         sending and receiving.
21236
21237 2005-11-16  Wim Taymans  <wim@fluendo.com>
21238
21239         * check/Makefile.am:
21240         Enable valgrind check.
21241
21242         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21243         (gst_fake_src_alloc_buffer):
21244         Fix memleak.
21245
21246 2005-11-16  Wim Taymans  <wim@fluendo.com>
21247
21248         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21249         Call parent finalize too.
21250
21251 2005-11-16  Wim Taymans  <wim@fluendo.com>
21252
21253         * check/Makefile.am:
21254         Enable valgrind check that should work fine now.
21255
21256         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21257         * gst/gstqueue.c: (gst_queue_init):
21258         Fix memleaks in pad allocation.
21259
21260 2005-11-16  Andy Wingo  <wingo@pobox.com>
21261
21262         * gst/net/Makefile.am:
21263         * gst/net/gstnet.h: New part of core to hold network elements and
21264         objects. Put in core because it exposes API that applications want
21265         to use. The library is named libgstnet-tempname right now because
21266         of the existing libgstnet in gst-plugins-base. Solution is
21267         probably to rename the one in plugins-base; will file a bug for
21268         the freeze break.
21269
21270         * gst/net/gstnettimeprovider.c: 
21271         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21272         get_time call over the network.
21273
21274         * configure.ac: 
21275         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21276
21277         * check/Makefile.am:
21278         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21279         get additions shortly.
21280
21281 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21282
21283         * gst/gstpad.c: (gst_pad_new_from_static_template):
21284         * gst/gstpad.h:
21285           add gst_pad_new_from_static_template functions
21286         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21287         (gst_check_setup_sink_pad):
21288         * gst/elements/gsttee.c: (gst_tee_init):
21289           and use them
21290
21291 2005-11-16  Wim Taymans  <wim@fluendo.com>
21292
21293         * gst/gstpad.c: (gst_pad_pause_task):
21294         Removed warning, it's not really an error either.
21295
21296 2005-11-16  Wim Taymans  <wim@fluendo.com>
21297
21298         * gst/base/gstbasetransform.c:
21299         (gst_base_transform_prepare_output_buf),
21300         (gst_base_transform_event):
21301         Check if the caps are NULL, this can happen if the element
21302         is shutting down and the pad caps are set to NULL.
21303
21304 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21305
21306         * gst/elements/gsttee.c: (gst_tee_init):
21307           fix pad template leak in tee
21308
21309 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21310
21311         * gst/glib-compat.c: (g_value_dup_gst_object):
21312         * gst/glib-compat.h:
21313         * gst/gstpad.c: (gst_pad_set_property):
21314           use gst_object_ref when setting the pad template; this will
21315           trigger the pad template leaks on GLib 2.6 and the slaves
21316
21317 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21318
21319         * gst/glib-compat.c: (gst_flags_get_first_value):
21320         * gst/glib-compat.h:
21321         * gst/gstregistryxml.c:
21322           remove functions copied from GLib 2.6
21323
21324 2005-11-16  Michael Smith <msmith@fluendo.com>
21325
21326         * gst/Makefile.am:
21327           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21328           do, but only breaks with newer valgrind versions. We're not a
21329           valgrind tool, we have no link-time dependencies on libcoregrind.
21330
21331 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21332
21333         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21334           some debug changes
21335         * gst/gstmessage.h:
21336           typo fixes
21337
21338 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21339
21340         * gst/base/gstbasesrc.c: (gst_base_src_init):
21341         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21342         * gst/gstqueue.c: (gst_queue_init):
21343         * gst/gstregistryxml.c: (load_feature):
21344           Revert all these unrefs, they don't even pass make check !
21345
21346 2005-11-15  Johan Dahlin  <johan@gnome.org>
21347
21348         * gst/base/gstbasesrc.c: (gst_base_src_init):
21349         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21350         * gst/gstqueue.c: (gst_queue_init): 
21351         Free pad templates, fixes a couple of leaks.
21352
21353 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21354
21355         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21356
21357         * gst/gstpad.c: (gst_pad_get_property):
21358           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21359           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21360           (#321452)
21361
21362 2005-11-15  Wim Taymans  <wim@fluendo.com>
21363
21364         * gst/gstevent.c:
21365         Small doc update.
21366
21367 2005-11-15  Andy Wingo  <wingo@pobox.com>
21368
21369         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21370
21371         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21372         using GST_CLOCK_TIME_NONE to disable base time management.
21373         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21374         time if it was NONE before.
21375         (gst_pipeline_change_state): Only munge the base time if
21376         stream_time != GST_CLOCK_TIME_NONE.
21377
21378         * check/gst/gstpipeline.c (test_base_time): Punt around the
21379         problem of the probe not being called, because that's not the
21380         issue I'm looking at. Add a check that setting stream_time to NONE
21381         disables base time management.
21382         
21383 2005-11-15  Wim Taymans  <wim@fluendo.com>
21384
21385         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21386         segment_stop == -1 at startup.
21387
21388         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21389         (gst_base_transform_change_state):
21390         Init segment values at start.
21391
21392 2005-11-15  Wim Taymans  <wim@fluendo.com>
21393
21394         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21395         0 segment values are 0 in any format.
21396
21397         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21398         * gst/base/gstbasetransform.h:
21399         Parse newsegment correctly in basetransform
21400
21401         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21402         Sync to clock using updated segment values.
21403
21404 2005-11-15  Andy Wingo  <wingo@pobox.com>
21405
21406         * check/gst/gstpipeline.c (test_base_time): Add check that the
21407         base time and stream time are reset correctly.
21408
21409 2005-11-15  Wim Taymans  <wim@fluendo.com>
21410
21411         * docs/design/part-TODO.txt:
21412         Some more TODO items.
21413
21414 2005-11-15  Andy Wingo  <wingo@pobox.com>
21415
21416         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21417         error if the user selected "no clock" as the clocking method.
21418
21419         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21420         timestamps with live capture.
21421
21422         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21423         is 0 but we are a live source, timestamp the buffers using the
21424         element's clock.
21425
21426 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21427
21428         * docs/gst/gstreamer-sections.txt:
21429         * gst/gsterror.c:
21430         * gst/gstghostpad.c:
21431         * gst/gstobject.h:
21432         * gst/gstxml.c:
21433           more section docs
21434
21435 2005-11-14  Wim Taymans  <wim@fluendo.com>
21436
21437         * common/gst.supp:
21438           add suppressions from Wim's Debian machine
21439
21440 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21441
21442         * common/gst.supp:
21443           add suppressions from Andy's AMD64 Ubuntu machine
21444
21445 2005-11-14  Andy Wingo  <wingo@pobox.com>
21446
21447         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21448         STATE_LOCK not necessary. Fixes #311489.
21449
21450         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21451         #305291.
21452
21453         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21454         this function is not implemented.
21455
21456 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21457
21458         * gst/base/gstbasetransform.c:
21459         (gst_base_transform_prepare_output_buf):
21460         Ref the source pad caps while we need them.
21461         Fixes (#321386)
21462
21463 2005-11-11  Wim Taymans  <wim@fluendo.com>
21464
21465         * docs/gst/gstreamer-sections.txt:
21466         Added some docs for GstCollectData.
21467
21468         * gst/base/gstadapter.c:
21469         Some small code example fix.
21470
21471         * gst/base/gstcollectpads.c:
21472         * gst/base/gstcollectpads.h:
21473         Document some more.
21474
21475 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21476
21477         * configure.ac: back to HEAD
21478
21479 === release 0.9.5 ===
21480
21481 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21482
21483         * configure.ac:
21484           releasing 0.9.5, "Bike Lunch Day"
21485
21486 2005-11-11  Wim Taymans  <wim@fluendo.com>
21487
21488         * gst/gstbuffer.c: (_gst_buffer_copy):
21489         Copy more flags.
21490
21491         * gst/gstcaps.c: (gst_caps_is_equal):
21492         Fix some docs.
21493         Make _is_equal fast in the trivial cases.
21494
21495         * gst/gstminiobject.c:
21496         * gst/gstminiobject.h:
21497         More docs. Spifify .h file.
21498
21499         * gst/gstutils.c:
21500         Small doc update.
21501
21502 2005-11-11  Wim Taymans  <wim@fluendo.com>
21503
21504         * gst/base/gstbasetransform.c:
21505         (gst_base_transform_prepare_output_buf),
21506         (gst_base_transform_handle_buffer):
21507         Small cleanups.
21508         If we're processing a buffer and need to allocate an output
21509         buffer, we cannot accept a format change. If we did get a 
21510         format change, we have to alloc a buffer ourselves of the 
21511         right size.
21512
21513 2005-11-11  Wim Taymans  <wim@fluendo.com>
21514
21515         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21516         While checking the flag for reentrancy in the gstcaps function
21517         is nice to detect recursive invocations, it also makes it 
21518         impossible to call getcaps from multiple threads, which must be
21519         possible. So, checking for recursive calls has to go.
21520
21521 2005-11-11  Michael Smith <msmith@fluendo.com>
21522
21523         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21524           Don't sync on buffers that fall partially outside our current
21525           segment. Prevents an assertion failure/abort playing some files.
21526
21527 2005-11-10  Andy Wingo  <wingo@pobox.com>
21528
21529         * check/gst/gstbin.c (test_message_state_changed_children): Style
21530         fix..
21531
21532         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21533         gst_bus_poll with the signal watch. Ensures that poll and a signal
21534         watch see the same messages.
21535
21536         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21537         a poll and a watch at the same time get the same messages.
21538
21539 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21540
21541         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21542         * gst/gstcaps.c: (gst_caps_intersect):
21543           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21544           and it's not needed.
21545
21546 2005-11-10  Wim Taymans  <wim@fluendo.com>
21547
21548         * docs/design/part-TODO.txt:
21549         Updated todo.
21550
21551 2005-11-10  Wim Taymans  <wim@fluendo.com>
21552
21553         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21554         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21555         (gst_base_src_do_sync), (gst_base_src_get_range):
21556         Implement clock sync in base class.
21557
21558 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21559
21560         patch by: Tim-Philipp Müller <tim at centricular dot net>
21561
21562         * gst/gststructure.c: (gst_structure_parse_field),
21563         (gst_structure_from_string):
21564           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21565           so that gst_parse_launch() can deal with spaces in filtered link
21566           caps (fixes #164479)
21567         * check/gst/capslist.h:
21568         * check/gst/gststructure.c: (GST_START_TEST):
21569           add unit tests for this change
21570
21571 2005-11-10  Wim Taymans  <wim@fluendo.com>
21572
21573         * docs/gst/gstreamer-sections.txt:
21574         * gst/gstelement.c:
21575         * gst/gstelement.h:
21576         Fix docs, move some STATE macros to private.
21577
21578 2005-11-10  Wim Taymans  <wim@fluendo.com>
21579
21580         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21581         Added check for bug #317341
21582
21583         * gst/gstbuffer.c:
21584         * gst/gstbuffer.h:
21585         Some more spiffifying.
21586
21587         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21588         Call peer linkfunction if we are a source pad. Totally fixes
21589         #317341
21590
21591         * gst/gstpad.c:
21592         Update docs, source pads should call the peer linkfunction
21593         so they can atomically perform the pad link.
21594
21595 2005-11-09  Wim Taymans  <wim@fluendo.com>
21596
21597         * gst/gstbuffer.c:
21598         * gst/gstbuffer.h:
21599         Uber-spiffy-spiffify some more.
21600
21601 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21602
21603         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21604         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21605         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21606         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21607         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21608         * gst/gstpad.c: (gst_pad_init):
21609           Use GST_DEBUG_FUNCPTR() more extensively.
21610
21611 2005-11-09  Wim Taymans  <wim@fluendo.com>
21612
21613         * gst/gstobject.c: (gst_object_class_init):
21614         * gst/gstobject.h:
21615         Documentation fixes.
21616
21617 2005-11-09  Edward Hervey  <edward@fluendo.com>
21618
21619         * gst/gsttypefindfactory.c:
21620         Fix docs.
21621         
21622 2005-11-09  Edward Hervey  <edward@fluendo.com>
21623
21624         * gst/base/gsttypefindhelper.c:
21625         * gst/gsttypefind.c:
21626         * gst/gsttypefind.h:
21627         Fix docs.
21628
21629 2005-11-09  Wim Taymans  <wim@fluendo.com>
21630
21631         * gst/gstiterator.c:
21632         Fix revision data.
21633
21634         * gst/gsttask.c:
21635         * gst/gsttask.h:
21636         Fix docs.
21637
21638 2005-11-09  Wim Taymans  <wim@fluendo.com>
21639
21640         * gst/gstevent.h:
21641         * gst/gsturi.h:
21642         Fix docs.
21643
21644 2005-11-09  Wim Taymans  <wim@fluendo.com>
21645
21646         * docs/gst/gstreamer-sections.txt:
21647         Moved the message async delivery private lock and cond
21648         to the private section.
21649
21650         * gst/gstmessage.c:
21651         * gst/gstmessage.h:
21652         Fixed docs.
21653
21654 2005-11-09  Edward Hervey  <edward@fluendo.com>
21655
21656         * docs/gst/gstreamer-sections.txt:
21657         * gst/gsturi.c:
21658         * gst/gsturi.h:
21659         Document GstURIHandler
21660
21661 2005-11-09  Wim Taymans  <wim@fluendo.com>
21662
21663         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21664         (gst_iterator_find_custom):
21665         * gst/gstiterator.h:
21666         Fix iterator docs.
21667
21668 2005-11-09  Wim Taymans  <wim@fluendo.com>
21669
21670         * gst/gstbin.h:
21671         Document another field.
21672
21673         * gst/gststructure.c:
21674         * gst/gststructure.h:
21675         Document.
21676
21677 2005-11-09  Wim Taymans  <wim@fluendo.com>
21678
21679         * gst/gstbin.h:
21680         Documented structs.
21681
21682 2005-11-09  Wim Taymans  <wim@fluendo.com>
21683
21684         * docs/gst/gstreamer-sections.txt:
21685         Added some new macros.
21686
21687         * gst/gstclock.c:
21688         * gst/gstclock.h:
21689         * gst/gstobject.h:
21690         Docs updates.
21691
21692 2005-11-09  Wim Taymans  <wim@fluendo.com>
21693
21694         * docs/design/part-TODO.txt:
21695         Some more items for the TODO
21696
21697         * gst/gstcaps.c:
21698         * gst/gstcaps.h:
21699         Document GstCaps.
21700
21701 2005-11-09  Andy Wingo  <wingo@pobox.com>
21702
21703         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21704         to work on something else now tho...
21705
21706         * gst/base/gstadapter.c: More adapter docs.
21707
21708         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21709         (gst_file_sink_stop): New functions, replace the state change
21710         handler.
21711         (gst_file_sink_class_init): Hook up the start and stop functions.
21712         (gst_file_sink_base_init): Don't set the state change handler any
21713         more. It was a bit ugly too, being set from here...
21714         (gst_file_sink_get_property, gst_file_sink_set_property):
21715         Cleanups...
21716         (gst_file_sink_set_location): More robust check that doesn't call
21717         GST_STATE. Ugggggg.
21718
21719 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21720
21721         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21722           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21723
21724 2005-11-08  Wim Taymans  <wim@fluendo.com>
21725
21726         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21727         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21728         (gst_base_sink_chain), (gst_base_sink_change_state):
21729         * gst/base/gstbasesink.h:
21730         * gst/base/gstbasesrc.h:
21731         * gst/gstelement.h:
21732         * gst/gstevent.h:
21733         Avoid excessive typechecking in macros.
21734
21735         * gst/gstminiobject.c: (gst_mini_object_get_type),
21736         (gst_mini_object_init), (gst_mini_object_new),
21737         (gst_mini_object_free):
21738         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21739         (gst_object_finalize):
21740         Remove cruft code, optimize alloc_trace.
21741
21742 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21743
21744         * docs/faq/gst-uninstalled:
21745           fix up PS1 for systems that try to reset it
21746
21747 2005-11-07  Wim Taymans  <wim@fluendo.com>
21748
21749         * gst/base/gstbasesrc.c: (gst_base_src_init),
21750         (gst_base_src_get_range):
21751         Set the segment_end to -1 initially. Fixed typefind.
21752
21753 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21754
21755         * gst/base/gstadapter.c:
21756           Debug category should be 'adapter', not 'GstAdapter'.
21757           
21758         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21759         (gst_collectpads_class_init), (gst_collectpads_init),
21760         (gst_collectpads_peek), (gst_collectpads_pop),
21761         (gst_collectpads_event), (gst_collectpads_chain):
21762           Add debug category and some debugging output. Use boilerplate
21763           macros. Remove some extraneous words from docs.
21764
21765 2005-11-05  Andy Wingo  <wingo@pobox.com>
21766
21767         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21768         macro.
21769
21770 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21771
21772         * docs/gst/gstreamer-sections.txt:
21773         * gst/gstcaps.h:
21774         * gst/gstinfo.c:
21775         * gst/gstminiobject.h:
21776         * gst/gstobject.h:
21777         * gst/gstutils.h:
21778           more docs added
21779
21780 2005-11-04  Wim Taymans  <wim@fluendo.com>
21781
21782         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21783         Small update to stop at the configured segment_end
21784         position.
21785
21786 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21787
21788         * gst/gstregistry.c:
21789         * gst/gstregistry.h:
21790           added missing docs
21791
21792 2005-11-04  Edward Hervey  <edward@fluendo.com>
21793
21794         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21795         Check if we are doing a segment seek and have arrived at the
21796         end of that segment.
21797
21798 2005-11-04  Wim Taymans  <wim@fluendo.com>
21799
21800         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21801         Don't leak a mutex unlock in case of an error.
21802
21803         * gst/gstbus.h:
21804         Doc fixes.
21805
21806 2005-11-04  Wim Taymans  <wim@fluendo.com>
21807
21808         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21809         (gst_bus_post):
21810         Get the context to wake up only once.
21811
21812 2005-11-03  Wim Taymans  <wim@fluendo.com>
21813
21814         * check/states/sinks.c: (GST_START_TEST):
21815         Uncomment fixed check.
21816
21817         * docs/design/part-TODO.txt:
21818         Updated TODO.
21819
21820         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21821         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21822         (gst_base_sink_get_position):
21823         If we are going to PLAYING, post the right pending state
21824         when we post the intermediate paused message.
21825
21826         * gst/gstelement.c: (gst_element_continue_state),
21827         (gst_element_set_state_func), (gst_element_change_state):
21828         Don't post state changes that were between the same state
21829         and were not ASYNC.
21830
21831 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21832
21833         * docs/gst/gstreamer-sections.txt:
21834         * gst/gstcaps.h:
21835         * gst/gstinfo.c:
21836         * gst/gstminiobject.h:
21837         * gst/gstobject.h:
21838         * gst/gstutils.h:
21839           more docs and doc style fixes
21840
21841 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21842
21843         * docs/gst/gstreamer-sections.txt:
21844         * gst/gstelement.c:
21845         * gst/gstminiobject.c:
21846         doc fixes
21847
21848 2005-11-03  Andy Wingo  <wingo@pobox.com>
21849
21850         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21851         state-changed messages actually have the right order and the right
21852         values.
21853
21854 2005-11-03  Wim Taymans  <wim@fluendo.com>
21855
21856         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21857         Added some more checks. Specifically the case where NO_PREROLL
21858         elements are in the pipeline.
21859
21860         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21861         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21862         (gst_base_sink_get_position):
21863         Post READY->PAUSED state change messages too.
21864         Fix bug where VOID was posted as pending state...
21865
21866         * gst/gstbin.c: (gst_bin_recalc_state):
21867         use _element_continue_state() to continue the state change.
21868
21869         * gst/gstelement.c: (gst_element_continue_state),
21870         (gst_element_commit_state), (gst_element_set_state_func),
21871         (gst_element_change_state), (gst_element_change_state_func):
21872         Lots of state change cleanups, assign the STATE_RETURN in
21873         a new continue_state() function that also propagates the
21874         last return value from a state change to the app.
21875         Update some debug statements with proper category.
21876
21877 2005-11-03  Wim Taymans  <wim@fluendo.com>
21878
21879         * docs/design/part-events.txt:
21880         * docs/design/part-gstpipeline.txt:
21881         * docs/design/part-messages.txt:
21882         * docs/design/part-overview.txt:
21883         * docs/design/part-seeking.txt:
21884         * docs/design/part-states.txt:
21885         * docs/design/part-trickmodes.txt:
21886         * docs/manual/advanced-position.xml:
21887         Small docs updates.
21888
21889         * gst/gstobject.h:
21890         People think !! is ugly, this looks better.
21891
21892         * gst/gstpad.c: (gst_pad_set_blocked_async):
21893         Remove !! since it's fixed elsewhere now.
21894
21895 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21896
21897         * gst/gstminiobject.h:
21898         * gst/gstobject.h:
21899           Add !! to _FLAG_IS_SET macros to make the result boolean.
21900
21901 2005-11-03  Edward Hervey  <edward@fluendo.com>
21902
21903         * gst/gstpad.c: (gst_pad_set_blocked_async):
21904         comparing a flag and a gboolean rarely returns coherent results...
21905         Added two characters (!!) to make that work correctly.
21906         
21907 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21908
21909         * gst/gstbus.c: (gst_bus_class_init):
21910           Fix some typos.
21911           
21912         * gst/gstqueue.c: (gst_queue_loop):
21913           Don't assume a miniobject that isn't a buffer is an
21914           event (it could be that there is a refcounting
21915           problem somewhere and the pointer is stale and
21916           refers to an already destroyed miniobject).
21917
21918 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21919
21920         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21921
21922 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21923
21924         * docs/manual/advanced-position.xml:
21925           Update seek example and explanations to current 0.9 API.
21926
21927         * gst/elements/gsttypefindelement.c:
21928         (gst_type_find_element_activate):
21929           Remove FIXME comment now that the found caps
21930           are unreffed.
21931
21932 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21933
21934         * gst/gstregistryxml.c: (load_feature):
21935           Add another GST_STR_NULL instance
21936
21937 2005-11-02  Edward Hervey  <edward@fluendo.com>
21938
21939         * gst/gstpad.c: (handle_pad_block):
21940         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21941         
21942 2005-11-02  Wim Taymans  <wim@fluendo.com>
21943
21944         * gst/gstbin.c:
21945         Fix typo in docs.
21946
21947         * gst/gstelement.c: (gst_element_commit_state):
21948         Remove unused value.
21949
21950         * gst/gstiterator.c:
21951         Mention that the returned element is reffed in the docs.
21952
21953 2005-11-02  Wim Taymans  <wim@fluendo.com>
21954
21955         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21956         (gst_pad_push), (gst_pad_push_event):
21957         Unlock blocked pads when they are flushed.
21958
21959 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21960
21961         * docs/README:
21962         * docs/gst/gstreamer-sections.txt:
21963         * gst/gstbin.c:
21964           doc updates
21965         * gst/gstregistry.c: (gst_registry_scan_path_level):
21966           fix for a nasty little missed situation where an installed plug-in
21967           which was in the cache did not get overridden by an uninstalled one
21968           which was earlier in the plugin path because the newly created plugin
21969           for the uninstalled one (not in the registry) didn't get its
21970           ->registered set to TRUE
21971
21972 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21973
21974         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21975         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21976         (gst_collectpads_is_active), (gst_collectpads_collect),
21977         (gst_collectpads_collect_range), (gst_collectpads_start),
21978         (gst_collectpads_stop), (gst_collectpads_peek),
21979         (gst_collectpads_pop), (gst_collectpads_available),
21980         (gst_collectpads_read), (gst_collectpads_flush):
21981           Guard public API with assertions.
21982         
21983         * gst/gstpad.c:
21984           Fix docs for gst_pad_set_link_function().
21985
21986 2005-11-02  Johan Dahlin  <johan@gnome.org>
21987
21988         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21989         Unref found_caps after we used it.
21990
21991 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21992
21993         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21994           Don't try to ref NULL.
21995
21996 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21997
21998         * win32/common/config.h.in:
21999           provide a GST_FUNCTION that just gives a string for now
22000
22001 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22002
22003         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22004         (gst_object_flags_get_type), (register_gst_bin_flags),
22005         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22006         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22007         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22008         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22009         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22010         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22011         (gst_clock_flags_get_type), (register_gst_state),
22012         (gst_state_get_type), (register_gst_state_change_return),
22013         (gst_state_change_return_get_type), (register_gst_state_change),
22014         (gst_state_change_get_type), (register_gst_element_flags),
22015         (gst_element_flags_get_type), (register_gst_core_error),
22016         (gst_core_error_get_type), (register_gst_library_error),
22017         (gst_library_error_get_type), (register_gst_resource_error),
22018         (gst_resource_error_get_type), (register_gst_stream_error),
22019         (gst_stream_error_get_type), (register_gst_event_type),
22020         (gst_event_type_get_type), (register_gst_seek_type),
22021         (gst_seek_type_get_type), (register_gst_seek_flags),
22022         (gst_seek_flags_get_type), (register_gst_format),
22023         (gst_format_get_type), (register_gst_index_certainty),
22024         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22025         (gst_index_entry_type_get_type),
22026         (register_gst_index_lookup_method),
22027         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22028         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22029         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22030         (gst_index_flags_get_type), (register_gst_debug_level),
22031         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22032         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22033         (gst_iterator_result_get_type), (register_gst_iterator_item),
22034         (gst_iterator_item_get_type), (register_gst_message_type),
22035         (gst_message_type_get_type), (register_gst_mini_object_flags),
22036         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22037         (gst_pad_link_return_get_type), (register_gst_flow_return),
22038         (gst_flow_return_get_type), (register_gst_activate_mode),
22039         (gst_activate_mode_get_type), (register_gst_pad_direction),
22040         (gst_pad_direction_get_type), (register_gst_pad_flags),
22041         (gst_pad_flags_get_type), (register_gst_pad_presence),
22042         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22043         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22044         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22045         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22046         (gst_plugin_flags_get_type), (register_gst_rank),
22047         (gst_rank_get_type), (register_gst_query_type),
22048         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22049         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22050         (gst_tag_flag_get_type), (register_gst_task_state),
22051         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22052         (gst_alloc_trace_flags_get_type),
22053         (register_gst_type_find_probability),
22054         (gst_type_find_probability_get_type), (register_gst_uri_type),
22055         (gst_uri_type_get_type), (register_gst_parse_error),
22056         (gst_parse_error_get_type):
22057         * win32/common/gstversion.h:
22058           update win32 copies
22059
22060 2005-11-01  Luca Ognibene  <luogni@tin.it>
22061
22062         * gst/gst.c:
22063           fix docs. popt is dead, long live GOption.
22064
22065 2005-10-31  Wim Taymans  <wim@fluendo.com>
22066
22067         * gst/gstbuffer.h:
22068         Small doc fix.
22069
22070 2005-10-31  Andy Wingo  <wingo@pobox.com>
22071
22072         * Boo!
22073
22074         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22075
22076         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22077         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22078         the possibility of deadlocks here if code calling notify() or
22079         set() has a lock that can be taken in another notify handler (ABBA
22080         with class lock and e.g. python GIL state lock).
22081
22082 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22083
22084         * gst/gstbus.c: Doc updates.
22085
22086 2005-10-28  Wim Taymans  <wim@fluendo.com>
22087
22088         * docs/design/part-TODO.txt:
22089         * gst/gstiterator.c:
22090         * gst/gstsystemclock.c:
22091         * gst/gstsystemclock.h:
22092         Doc updates.
22093
22094 2005-10-28  Edward Hervey  <edward@fluendo.com>
22095
22096         * docs/gst/gstreamer-docs.sgml:
22097         * docs/gst/gstreamer-sections.txt:
22098         the GstURIType documentation page is private, it only defines GstURIType
22099         which should be defined in the GstURIHandler page
22100         
22101 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22102
22103         * gst/gstbin.c: (gst_bin_class_init):
22104         * gst/gstbin.h:
22105         * gst/gstutils.c:
22106         Documentation updates.
22107
22108 2005-10-28  Wim Taymans  <wim@fluendo.com>
22109
22110         * docs/gst/gstreamer-sections.txt:
22111         * gst/gstclock.c:
22112         * gst/gstclock.h:
22113         Documented the clocks.
22114
22115 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22116
22117         * docs/gst/gstreamer-sections.txt:
22118           move some macros to private sections
22119         * gst/gstminiobject.c:
22120         * gst/gstminiobject.h:
22121           add descriptions provided by ds and some more
22122         * gst/gstpad.h:
22123           mark macro as to be removed
22124
22125 2005-10-28  Wim Taymans  <wim@fluendo.com>
22126
22127         * docs/design/part-TODO.txt:
22128         Add an item to TODO.
22129
22130         * gst/gstiterator.c: (gst_iterator_fold),
22131         (gst_iterator_find_custom):
22132         * gst/gstiterator.h:
22133         Add iterator docs.
22134
22135 2005-10-28  Wim Taymans  <wim@fluendo.com>
22136
22137         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22138         (gst_base_transform_init):
22139         Don't leak class.
22140
22141         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22142         An EOS event marks the queue as completely filled.
22143
22144 2005-10-27  Wim Taymans  <wim@fluendo.com>
22145
22146         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22147         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22148         Some more debugging.
22149
22150         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22151         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22152         (gst_base_transform_event), (gst_base_transform_getrange),
22153         (gst_base_transform_chain):
22154         * gst/base/gstbasetransform.h:
22155         Fix debugging,
22156         Protect transform and concurrent buffer alloc with a new lock.
22157         Try not to break ABI/API.
22158
22159 2005-10-27  Wim Taymans  <wim@fluendo.com>
22160
22161         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22162         (gst_base_src_init), (gst_base_src_query),
22163         (gst_base_src_default_newsegment),
22164         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22165         (gst_base_src_send_event), (gst_base_src_event_handler),
22166         (gst_base_src_pad_get_range), (gst_base_src_loop),
22167         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22168         (gst_base_src_start), (gst_base_src_deactivate),
22169         (gst_base_src_activate_push), (gst_base_src_change_state):
22170         Move some stuff around and cleanup things.
22171
22172 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22173
22174         * gst/base/gstbasesrc.c: (gst_base_src_query):
22175           Add missing break statements.
22176
22177 2005-10-27  Wim Taymans  <wim@fluendo.com>
22178
22179         * check/gst/gstbin.c: (GST_START_TEST):
22180         An extra refcount is taken in basesrc.
22181
22182         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22183         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22184         (gst_base_src_loop):
22185         Small cleanups, check for flushing after being unlocked from the 
22186         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22187         Don't send out EOS when going to READY.
22188
22189 2005-10-27  Wim Taymans  <wim@fluendo.com>
22190
22191         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22192         (gst_base_sink_get_position):
22193         Some more debug.
22194
22195         * gst/gstbin.c: (message_check), (bin_replace_message),
22196         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22197         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22198         (bin_query_duration_init), (bin_query_duration_fold),
22199         (bin_query_duration_done), (bin_query_generic_fold),
22200         (gst_bin_query):
22201         * tools/gst-launch.c: (main):
22202         Remove old option.
22203
22204 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22205
22206         * examples/controller/audio-example.c: (main):
22207         * examples/queue/queue.c: (event_loop):
22208         * gst/base/gstbasetransform.h:
22209         * gst/gstelement.c: (gst_element_send_event):
22210         * gst/gstevent.h:
22211         * gst/gstpad.c: (gst_pad_send_event):
22212           fixing examples
22213           fixing docs typos
22214           changing log priority in error situations
22215
22216 2005-10-25  Wim Taymans  <wim@fluendo.com>
22217
22218         * gst/gstbin.c: (message_check), (bin_replace_message),
22219         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22220         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22221         (bin_query_duration_init), (bin_query_duration_fold),
22222         (bin_query_duration_done), (bin_query_generic_fold),
22223         (gst_bin_query):
22224         Some doc and debug updates.
22225         Cache previously requested query DURATION for speed. invalidate
22226         cached duration if element posts a DURATION message.
22227
22228 2005-10-25  Wim Taymans  <wim@fluendo.com>
22229
22230         * docs/design/part-TODO.txt:
22231         Update TODO.
22232
22233         * gst/gstbin.c: (message_check), (bin_replace_message),
22234         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22235         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22236         (bin_query_duration_init), (bin_query_duration_fold),
22237         (bin_query_duration_done), (bin_query_generic_fold),
22238         (gst_bin_query):
22239         Handle SEGMENT_START/DONE messages correctly.
22240         More evolved query algorithm that handles duration queries
22241         correctly.
22242
22243         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22244         (gst_element_get_state_func), (gst_element_abort_state),
22245         (gst_element_commit_state), (gst_element_lost_state):
22246         Some more debugging.
22247
22248         * gst/gstmessage.h:
22249         Added doc.
22250
22251 2005-10-25  Wim Taymans  <wim@fluendo.com>
22252
22253         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22254         Don't use invalid stream_time.
22255
22256         * gst/gstevent.c: (gst_event_new_newsegment):
22257         stream_time in newsegment cannot be undefined.
22258
22259 2005-10-24  Wim Taymans  <wim@fluendo.com>
22260
22261         * gst/gstbus.c:
22262         Doc fix.
22263
22264         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22265         (gst_queue_loop):
22266         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22267
22268 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22269
22270         * docs/libs/tmpl/gstdparam.sgml:
22271         * docs/libs/tmpl/gstdplinint.sgml:
22272         * docs/libs/tmpl/gstdpman.sgml:
22273         * docs/libs/tmpl/gstdpsmooth.sgml:
22274         * docs/libs/tmpl/gstunitconvert.sgml:
22275           these are obsolete
22276
22277 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22278
22279         * configure.ac:
22280           back to HEAD
22281
22282 === release 0.9.4 ===
22283
22284 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22285
22286         * configure.ac:
22287           releasing 0.9.4, "Tyrannosaurus Rex"
22288
22289 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22290
22291         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22292         (gst_file_sink_get_current_offset):
22293           Use fseeko() and ftello() if available. When falling back on
22294           lseek() to get the current offset, fflush() first to make sure
22295           everything is up-to-date and we get the right offset.
22296
22297 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22298
22299         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22300         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22301         * gst/gsterror.c: (_gst_stream_errors_init):
22302         * gst/gsterror.h:
22303         * gst/gstqueue.c: (gst_queue_loop):
22304         * po/POTFILES.in:
22305           remove prematurely added error category and clean up the instances
22306
22307 2005-10-21  Wim Taymans  <wim@fluendo.com>
22308
22309         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22310         (gst_base_sink_get_position), (gst_base_sink_query),
22311         (gst_base_sink_change_state):
22312         Simply set the right flag when going to playing, that's all
22313         we need to do instead of calling a function inside the object
22314         lock (that could take the lock as well and deadlock)
22315
22316 2005-10-21  Wim Taymans  <wim@fluendo.com>
22317
22318         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22319         (gst_base_src_loop):
22320         Don't warn, the peer element knows what to do best when
22321         the seek failed, it might try something else.
22322
22323 2005-10-21  Wim Taymans  <wim@fluendo.com>
22324
22325         * gst/base/gstbasesrc.c: (gst_base_src_init),
22326         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22327         Fix seeking.
22328
22329 2005-10-21  Wim Taymans  <wim@fluendo.com>
22330
22331         * docs/design/part-segments.txt:
22332         More docs.
22333
22334         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22335         Correctly set caps, even on the subbufer.
22336
22337 2005-10-21  Wim Taymans  <wim@fluendo.com>
22338
22339         * docs/gst/gstreamer-docs.sgml:
22340         * docs/gst/gstreamer-sections.txt:
22341         * gst/gstelement.h:
22342         * gst/gstevent.c:
22343         * gst/gstevent.h:
22344         * gst/gstmessage.h:
22345         * gst/gstpad.h:
22346         * gst/gstparse.h:
22347         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22348         * gst/gsttask.h:
22349         * gst/gstutils.c:
22350         * gst/gstutils.h:
22351         And 2% more doc coverage.
22352
22353 2005-10-21  Andy Wingo  <wingo@pobox.com>
22354
22355         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22356         position reporting.
22357
22358 2005-10-20  Wim Taymans  <wim@fluendo.com>
22359
22360         * gst/gsterror.c: (gst_error_get_message):
22361         * gst/gstparse.h:
22362         * gst/gstquery.h:
22363         * gst/gststructure.c:
22364         * gst/gsttrace.c:
22365         * gst/gstutils.c:
22366         More docs.
22367
22368 2005-10-20  Wim Taymans  <wim@fluendo.com>
22369
22370         * gst/gstbuffer.h:
22371         * gst/gstpad.c:
22372         * gst/gstparse.c:
22373         Another 1% more coverage.
22374
22375 2005-10-20  Wim Taymans  <wim@fluendo.com>
22376
22377         * docs/gst/gstreamer-sections.txt:
22378         * gst/gstelement.c: (gst_element_get_state_func),
22379         (gst_element_abort_state), (gst_element_commit_state),
22380         (gst_element_lost_state):
22381         * gst/gstevent.h:
22382         * gst/gstquery.c: (gst_query_set_position),
22383         (gst_query_parse_position), (gst_query_set_duration),
22384         (gst_query_parse_duration), (gst_query_new_convert):
22385         * gst/gstutils.c:
22386         Yay! 1% more docs coverage.
22387
22388 2005-10-20  Wim Taymans  <wim@fluendo.com>
22389
22390         * gst/gstpad.h:
22391         * gst/gstquery.c: (gst_query_set_position),
22392         (gst_query_parse_position), (gst_query_set_duration),
22393         (gst_query_parse_duration), (gst_query_new_convert):
22394         * gst/gstquery.h:
22395         * gst/gstutils.c: (gst_element_query_convert):
22396         * gst/gstutils.h:
22397         Docs and consistency fixes.
22398
22399 2005-10-20  Wim Taymans  <wim@fluendo.com>
22400
22401         * gst/gsttask.c:
22402         * gst/gsttask.h:
22403         More docs.
22404
22405 2005-10-20  Wim Taymans  <wim@fluendo.com>
22406
22407         * gst/gstbin.c: (message_check), (bin_replace_message),
22408         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22409         (update_degree), (gst_bin_sort_iterator_next),
22410         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22411         Reworked the message handling a bit, cache the messages instead of
22412         only the senders. alows us to do more in the future.
22413
22414 2005-10-20  Wim Taymans  <wim@fluendo.com>
22415
22416         * docs/design/part-TODO.txt:
22417         Update TODO
22418
22419         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22420         (gst_base_sink_query):
22421         Don't use clock time to report position when in EOS.
22422
22423 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22424
22425         * tools/gst-inspect.c: (print_interfaces),
22426         (print_element_properties_info), (print_element_info):
22427           Fix interface output with gst-inspect -a; don't print
22428           newlines after double/float properties.
22429
22430 2005-10-20  Wim Taymans  <wim@fluendo.com>
22431
22432         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22433         (gst_base_sink_query):
22434         Speed up current position calculation.
22435
22436         * gst/base/gstbasesrc.c: (gst_base_src_query),
22437         (gst_base_src_default_newsegment):
22438         Correctly set stream position in newsegment.
22439
22440         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22441         (update_degree), (gst_bin_sort_iterator_next),
22442         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22443         * gst/gstmessage.c: (gst_message_new_custom):
22444         Clean up debugging info
22445
22446         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22447         (gst_queue_loop), (gst_queue_handle_src_query):
22448         Pause task faster.
22449
22450 2005-10-19  Wim Taymans  <wim@fluendo.com>
22451
22452         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22453         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22454         Fix query handling again.
22455
22456 2005-10-19  Wim Taymans  <wim@fluendo.com>
22457
22458         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22459         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22460         * gst/base/gstbasesrc.c: (gst_base_src_query):
22461         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22462         * gst/elements/gsttypefindelement.c:
22463         (gst_type_find_handle_src_query), (find_element_get_length),
22464         (gst_type_find_element_activate):
22465         API change fix.
22466
22467         * gst/gstquery.c: (gst_query_new_position),
22468         (gst_query_set_position), (gst_query_parse_position),
22469         (gst_query_new_duration), (gst_query_set_duration),
22470         (gst_query_parse_duration), (gst_query_set_segment),
22471         (gst_query_parse_segment):
22472         * gst/gstquery.h:
22473         Bundling query position/duration is not a good idea since duration
22474         does not change much and we don't want to recalculate it for every
22475         position query, so they are separated again..
22476         Base value in segment query is not needed.
22477
22478         * gst/gstqueue.c: (gst_queue_handle_src_query):
22479         * gst/gstutils.c: (gst_element_query_position),
22480         (gst_element_query_duration), (gst_pad_query_position),
22481         (gst_pad_query_duration):
22482         * gst/gstutils.h:
22483         Updates for query API change.
22484         Added some docs here and there.
22485
22486 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22487
22488         * check/gst/gstbin.c: (GST_START_TEST):
22489         * check/gst/gstghostpad.c: (GST_START_TEST):
22490         * check/pipelines/cleanup.c: (GST_START_TEST):
22491           wait on thread to die so we can check refcount correctly
22492
22493 2005-10-18  Wim Taymans  <wim@fluendo.com>
22494
22495         * check/pipelines/stress.c: (GST_START_TEST):
22496         Make check a little more time consuming.
22497
22498 2005-10-18  Wim Taymans  <wim@fluendo.com>
22499
22500         * check/Makefile.am:
22501         * check/pipelines/stress.c: (GST_START_TEST),
22502         (simple_launch_lines_suite), (main):
22503         Small state change torture test.
22504
22505         * docs/design/part-states.txt:
22506         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22507         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22508         (gst_base_sink_change_state):
22509         Never take state lock from streaming thread, clean up ugly
22510         hacks. Unfortunatly core does not yet support nice ways to
22511         async commit state.
22512         
22513         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22514         (bin_bus_handler):
22515         Start state recalc if a STATE_DIRTY message is posted, but only
22516         on the toplevel bin.
22517
22518         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22519         (gst_element_get_state_func), (gst_element_abort_state),
22520         (gst_element_commit_state), (gst_element_lost_state),
22521         (gst_element_set_state_func), (gst_element_change_state):
22522         * gst/gstelement.h:
22523         State variables are now protected with the LOCK, the state
22524         lock is only used to serialize _set_state().
22525
22526 2005-10-18  Wim Taymans  <wim@fluendo.com>
22527
22528         * check/gst/gstbin.c: (GST_START_TEST):
22529         * check/gst/gstmessage.c: (GST_START_TEST):
22530         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22531         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22532         (bin_bus_handler):
22533         * gst/gstelement.c: (gst_element_abort_state),
22534         (gst_element_commit_state), (gst_element_lost_state):
22535         * gst/gstmessage.c: (gst_message_new_state_changed),
22536         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22537         (gst_message_new_segment_done), (gst_message_new_duration),
22538         (gst_message_parse_state_changed),
22539         (gst_message_parse_segment_start),
22540         (gst_message_parse_segment_done), (gst_message_parse_duration):
22541         * gst/gstmessage.h:
22542         * tools/gst-launch.c: (event_loop):
22543         Seriously, this is better than a previous commit as we only need
22544         to notify the fact that an element changed state in a streaming
22545         thread, marking the state of the parents dirty, hence the 
22546         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22547         message.
22548
22549 2005-10-18  Wim Taymans  <wim@fluendo.com>
22550
22551         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22552         (gst_bin_recalc_func):
22553         * gst/gstelement.c: (gst_element_set_clock),
22554         (gst_element_abort_state), (gst_element_lost_state):
22555         Cleanups, prepare for state change fixes.
22556
22557 2005-10-18  Wim Taymans  <wim@fluendo.com>
22558
22559         * gst/gstbin.h:
22560         * gst/gstelement.c: (gst_element_class_init),
22561         (gst_element_set_state), (gst_element_set_state_func):
22562         * gst/gstelement.h:
22563         Pending ABI changes.
22564         GThreadPool in GstBinClass to monitor async state changes.
22565         state_cookie in GstElement to detect concurrent gst/set state.
22566         set_state is now virtual too in case a very complicated element
22567         has to be constructed.
22568
22569 2005-10-18  Wim Taymans  <wim@fluendo.com>
22570
22571         * check/gst/gstbin.c: (GST_START_TEST):
22572         * check/gst/gstmessage.c: (GST_START_TEST):
22573         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22574         * gst/gstbin.c: (bin_bus_handler):
22575         * gst/gstelement.c: (gst_element_commit_state),
22576         (gst_element_lost_state):
22577         * gst/gstmessage.c: (gst_message_new_state_changed),
22578         (gst_message_new_segment_start), (gst_message_new_segment_done),
22579         (gst_message_new_duration), (gst_message_parse_state_changed),
22580         (gst_message_parse_segment_start),
22581         (gst_message_parse_segment_done), (gst_message_parse_duration):
22582         * gst/gstmessage.h:
22583         * tools/gst-launch.c: (event_loop):
22584         Make messages future proof.
22585         state-change gets a flag if it was a message comming from the
22586         streaming thread.
22587         segment-start/stop can also be specified in other formats.
22588         A message to notify an app that a pipeline changed playback 
22589         duration.
22590         Also fix a GstMessage leak in -launch
22591
22592 2005-10-18  Andy Wingo  <wingo@pobox.com>
22593
22594         * gst/gstelement.c (gst_element_dispose): More helpful message.
22595
22596 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22597
22598         reviewed by: <delete if not using a buddy>
22599
22600         * common/gtk-doc.mak:
22601
22602 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22603
22604         * gst/gstregistry.c: (gst_registry_scan_path_level):
22605           unref a plug-in we get that was already initialized
22606
22607 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22608
22609         * docs/gst/gstreamer-sections.txt:
22610         * docs/libs/gstreamer-libs-sections.txt:
22611         * gst/gstelement.h:
22612           add new api entries
22613           hide internal macro
22614
22615 2005-10-17  Andy Wingo  <wingo@pobox.com>
22616
22617         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22618         cleanup.
22619
22620         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22621
22622         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22623
22624         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22625         (gst_element_get_state_func): Better debug message.
22626         (gst_element_commit_state): s/INFO/DEBUG/.
22627         (gst_element_lost_state, gst_element_change_state): 
22628
22629         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22630         (gst_message_new_custom): s/INFO/LOG/.
22631
22632 2005-10-17  Michael Smith <msmith@fluendo.com>
22633
22634         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22635           Check if end time is valid using end time, not start time.
22636
22637 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22638
22639         * check/gst-libs/controller.c: (GST_START_TEST),
22640         (gst_controller_suite):
22641         * libs/gst/controller/gstcontroller.c:
22642         (gst_controlled_property_set_interpolation_mode):
22643         * libs/gst/controller/gstcontroller.h:
22644         * libs/gst/controller/gstinterpolation.c:
22645         * testsuite/controller/.cvsignore:
22646         * testsuite/controller/Makefile.am:
22647         * testsuite/controller/interpolator.c:
22648           merge controller testsuites
22649           fix broken tests
22650           remove mem-chunk from docs
22651
22652 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22653
22654         * gst/gstmemchunk.c:
22655         * gst/gstmemchunk.h:
22656         * gst/gsttrashstack.c:
22657         * gst/gsttrashstack.h:
22658           out.  get out.  you're fired.  to the Attic !
22659
22660 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22661
22662         * gst/gstcaps.c: (gst_caps_intersect):
22663           fix signedness issues in a (hopefully) correct way
22664         * gst/gstelement.c: (gst_element_pads_activate):
22665           some debugging
22666         * gst/gstobject.c: (gst_object_set_parent):
22667           some debugging
22668
22669 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22670
22671         * gst/gstvalue.h: Fix prototypes.
22672
22673 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22674
22675         * docs/gst/gstreamer-sections.txt:
22676         * gst/gst.c: (gst_version_string):
22677         * gst/gst.h:
22678         * gst/gstversion.h.in:
22679         * win32/common/libgstreamer.def:
22680           add gst_version_string ()
22681
22682 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22683
22684         * configure.ac:
22685           clean up further
22686         * gst/gst.c: (init_post):
22687         * win32/common/config.h.in:
22688           it's PLUGINDIR now
22689         * gst/gstcaps.c: (gst_caps_intersect):
22690           use gint64, the range could be bigger than a guint
22691
22692 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22693
22694         * gst/gstclock.h:
22695           document potential problem in 2038
22696
22697 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22698
22699         * gst/gstcaps.c: (gst_caps_intersect):
22700           Fix guint j diving under 0
22701
22702 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22703
22704         * configure.ac:
22705         * win32/common/config.h:
22706         * win32/common/config.h.in:
22707           check for process.h, declares getpid() on Windows
22708         * gst/gstinfo.c:
22709           include process.h if we have it
22710         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22711         * gst/gstmemchunk.h:
22712           fix signedness issues
22713         * win32/common/libgstreamer.def:
22714           fix get_type's
22715
22716 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22717
22718         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22719         fix. Because of unsigned ints, caps intersection was going nuts and
22720         trying to access structures with G_MAXUINT index. That fixes
22721         videotestsrc ! ffmpegcolorspace ! fakesink
22722         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22723         consistency.
22724
22725 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22726
22727         * configure.ac:
22728           use the gettext macro
22729         * gst/elements/gstelements.c:
22730         * gst/gst.c:
22731         * gst/indexers/gstindexers.c:
22732           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22733         * win32/common/config.h:
22734           updated config.h
22735         * win32/common/config.h.in:
22736           add the template to generate config.h
22737         * win32/common/gstenumtypes.c:
22738         * win32/common/gstversion.h:
22739           updated copies
22740
22741 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22742
22743         * gst/gst.c: (gst_version):
22744         * gst/gstversion.h.in:
22745           add the nano
22746
22747 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22748
22749         * gst/gstevent.h:
22750           Oops, add missing closing bracket.
22751
22752 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22753
22754         * configure.ac:
22755           use common m4's for argument checking
22756
22757 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22758
22759         * docs/gst/gstreamer-sections.txt:
22760         * gst/gstevent.h:
22761           Add GST_EVENT_TYPE_NAME() macro.
22762
22763 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22764
22765         * gst/gstinfo.c:
22766         * gst/gstpluginfeature.c:
22767         * gst/gsttask.c:
22768           privatize more symbols
22769
22770 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22771
22772         * configure.ac:
22773           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22774           everything that uses GStreamer API should have the includes
22775
22776 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22777
22778         * docs/gst/gstreamer-sections.txt:
22779         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22780         * gst/gstvalue.h:
22781           give each value a _get_type, removes the DATA exports
22782
22783 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22784
22785         * gst/gst.c:
22786         * gst/gst.h:
22787           remove _gst_registry_auto_load, not used anymore
22788         * gst/gstbin.c: (gst_bin_get_type):
22789         * gst/gstbin.h:
22790         * gst/gstelement.c: (gst_element_get_type):
22791         * gst/gstelement.h:
22792         * gst/gstobject.c: (gst_object_get_type):
22793         * gst/gstobject.h:
22794         * gst/gstpad.c: (gst_pad_get_type):
22795         * gst/gstpad.h:
22796           make _get_type functions similar, fixes data export from library
22797
22798 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22799
22800         * configure.ac:
22801           correctly make conditionals
22802         * gst/elements/Makefile.am:
22803         * gst/elements/gstelements.c:
22804           fix typo causing fdsrc not to build
22805
22806 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22807
22808         * testsuite/Makefile.am:
22809         * testsuite/bytestream/.cvsignore:
22810         * testsuite/bytestream/Makefile.am:
22811         * testsuite/bytestream/filepadsink.c:
22812         * testsuite/bytestream/gstbstest.c:
22813         * testsuite/bytestream/test1.c:
22814         * testsuite/bytestream/testfile1:
22815         * testsuite/caps/normalisation.c:
22816         * testsuite/caps/random.c: (main):
22817         * testsuite/cleanup/.cvsignore:
22818         * testsuite/cleanup/Makefile.am:
22819         * testsuite/cleanup/cleanup1.c:
22820         * testsuite/cleanup/cleanup2.c:
22821         * testsuite/cleanup/cleanup3.c:
22822         * testsuite/cleanup/cleanup4.c:
22823         * testsuite/cleanup/cleanup5.c:
22824         * testsuite/controller/interpolator.c:
22825         * testsuite/debug/printf_extension.c: (main):
22826         * testsuite/elements/tee.c:
22827         * testsuite/negotiation/.cvsignore:
22828         * testsuite/negotiation/Makefile.am:
22829         * testsuite/negotiation/pad_link.c:
22830         * testsuite/pad/Makefile.am:
22831         * testsuite/pad/chainnopull.c:
22832         * testsuite/pad/getnopush.c:
22833         * testsuite/pad/link.c:
22834         * testsuite/refcounting/sched.c: (create_pipeline):
22835         * testsuite/registry/Makefile.am:
22836         * testsuite/registry/gst-print-formats.c:
22837         * testsuite/schedulers/.cvsignore:
22838         * testsuite/schedulers/142183-2.c:
22839         * testsuite/schedulers/142183.c:
22840         * testsuite/schedulers/143777-2.c:
22841         * testsuite/schedulers/143777.c:
22842         * testsuite/schedulers/147713.c:
22843         * testsuite/schedulers/147819.c:
22844         * testsuite/schedulers/147894-2.c:
22845         * testsuite/schedulers/147894.c:
22846         * testsuite/schedulers/Makefile.am:
22847         * testsuite/schedulers/group_link.c:
22848         * testsuite/schedulers/queue_link.c:
22849         * testsuite/schedulers/relink.c:
22850         * testsuite/schedulers/unlink.c:
22851         * testsuite/schedulers/unref.c:
22852         * testsuite/schedulers/useless_iteration.c:
22853         * testsuite/states/bin.c:
22854           clean out/remove some stuff from the testsuite directories
22855
22856 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22857
22858         * configure.ac:
22859           check for some headers
22860         * gst/elements/Makefile.am:
22861         * gst/elements/gstelements.c:
22862           don't compile fdsrc without sys/socket.h
22863         * gst/indexers/Makefile.am:
22864         * gst/indexers/gstindexers.c: (plugin_init):
22865           don't compile fileindex without mmap
22866
22867 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22868
22869         * configure.ac:
22870           reorganize
22871           clean up
22872           document more
22873           remove cruft
22874         * check/Makefile.am:
22875         * docs/gst/Makefile.am:
22876         * examples/helloworld/Makefile.am:
22877         * gst/Makefile.am:
22878         * gst/base/Makefile.am:
22879         * gst/check/Makefile.am:
22880         * gst/elements/Makefile.am:
22881         * gst/indexers/Makefile.am:
22882         * gst/parse/Makefile.am:
22883         * libs/gst/controller/Makefile.am:
22884         * libs/gst/dataprotocol/Makefile.am:
22885         * examples/helloworld/helloworld.c: (event_loop):
22886           compile fixes, though it's not being compiled currently
22887
22888 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22889
22890         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22891           Add some simple tests for the new taglist date API.
22892
22893 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22894
22895         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22896         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22897           Beautify 'last-message' output: print 'none' for buffer timestamps
22898           and durations if none is set; improve alignment with next messages.
22899
22900 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22901
22902         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22903         * gst/gstpluginfeature.h:
22904         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22905         * gst/gstregistry.h:
22906         * docs/gst/gstreamer-sections.txt:
22907           Add new API to check plugin feature version requirements.
22908
22909         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22910           Some basic tests for the above.         
22911
22912 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22913
22914         * gst/gststructure.c: (gst_structure_to_string):
22915           guard against NULL printf - happens when for example
22916           a message structure with GstClock gets serialized
22917
22918 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22919
22920         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22921           Fix presumable copy'n'pasto.
22922
22923 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22924
22925         * gst/elements/gstfakesrc.h:
22926         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22927         * gst/elements/gsttypefindelement.c:
22928           fix some signedness
22929         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22930           I wonder if this could actually write +2GB files before
22931
22932 2005-10-13  Andy Wingo  <wingo@pobox.com>
22933
22934         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22935         Fix Timmeke Waymans bug.
22936         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22937         string of the proper length to gst_caps_from_string. There's a
22938         potential for, before this fix, that this could cause someone
22939         connecting over the network to cause a segfault if the payload is
22940         not NUL-terminated.
22941
22942 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22943
22944         * docs/design/draft-push-pull.txt:
22945         * docs/design/part-overview.txt:
22946         * docs/random/TODO-pre-0.9:
22947         * docs/random/old/ChangeLog.gstreamer:
22948         * gst/base/gstpushsrc.c:
22949         * gst/gstclock.c:
22950           fixed typos
22951
22952 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22953
22954         * gst/glib-compat.c: (gst_flags_get_first_value):
22955         * gst/glib-compat.h:
22956         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22957         (gst_value_compare_double), (gst_value_serialize_flags):
22958           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22959           infinite loop
22960
22961 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22962
22963         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22964         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22965           fix up debugging
22966         * tools/gst-launch.c: (event_loop):
22967           print out clock nicely
22968
22969 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22970
22971         * docs/gst/gstreamer-sections.txt:
22972         * gst/gsttaglist.h:
22973         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22974         (gst_tag_list_get_date_index):
22975           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22976           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22977
22978 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22979
22980         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22981         (gst_collectpads_chain):
22982         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22983         in CollectData.
22984
22985 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22986
22987         * docs/gst/gstreamer-sections.txt:
22988         * gst/gst.c:
22989         * gst/gsterror.h:
22990         * tools/gst-inspect.c: (main):
22991         * tools/gst-launch.c: (main):
22992         * tools/gst-run.c: (main):
22993         * tools/gst-xmlinspect.c: (main):
22994           fix GOption context leaks
22995           doc fixes
22996
22997 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22998
22999         * gst/gstbus.c:
23000           use HAVE_UNISTD_H
23001         * win32/common/config.h:
23002           update config
23003         * win32/vs6/grammar.dsp:
23004         * win32/vs6/libgstelements.dsp:
23005         * win32/vs6/libgstreamer.dsp:
23006           update vs6 files
23007
23008 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23009
23010         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23011         * gst/base/gstbasesrc.c: (gst_base_src_query):
23012           fix more guint64<->gdouble conversions
23013
23014 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23015
23016         * Makefile.am:
23017           add win32-update target
23018         * win32/common/gstconfig.h:
23019         * win32/common/gstenumtypes.c:
23020         * win32/common/gstenumtypes.h:
23021         * win32/common/gstversion.h:
23022           add files that visual studio can't generate
23023
23024 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23025
23026         * Makefile.am:
23027           add a win32-update target
23028         * configure.ac:
23029
23030 2005-10-12  Wim Taymans  <wim@fluendo.com>
23031
23032         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23033         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23034         * gst/gstelement.c: (gst_element_commit_state),
23035         (gst_element_set_state):
23036         Protect flags with proper lock.
23037         unref provided cached clock in dispose.
23038
23039 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23040
23041         * gst/gst.c:
23042         * gst/gstminiobject.h:
23043         * gst/gstpad.h:
23044         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23045           removed unused flags from miniobject
23046           doc fixes
23047
23048 2005-10-12  Wim Taymans  <wim@fluendo.com>
23049
23050         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23051         (gst_file_sink_event), (gst_file_sink_render):
23052         Flush before seeking.
23053
23054 2005-10-12  Andy Wingo  <wingo@pobox.com>
23055
23056         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23057         always been the case.
23058
23059 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23060
23061         * check/gst/gstbin.c: (GST_START_TEST):
23062         * docs/gst/gstreamer-sections.txt:
23063         * gst/base/gstbasesink.c: (gst_base_sink_init):
23064         * gst/base/gstbasesrc.c: (gst_base_src_init),
23065         (gst_base_src_get_range), (gst_base_src_check_get_range),
23066         (gst_base_src_start), (gst_base_src_stop):
23067         * gst/base/gstbasesrc.h:
23068         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23069         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23070         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23071         (bin_bus_handler):
23072         * gst/gstbin.h:
23073         * gst/gstbuffer.h:
23074         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23075         * gst/gstbus.h:
23076         * gst/gstelement.c: (gst_element_is_locked_state),
23077         (gst_element_set_locked_state), (gst_element_commit_state),
23078         (gst_element_set_state):
23079         * gst/gstelement.h:
23080         * gst/gstindex.c: (gst_index_init):
23081         * gst/gstindex.h:
23082         * gst/gstminiobject.h:
23083         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23084         (gst_object_set_parent):
23085         * gst/gstobject.h:
23086         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23087         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23088         * gst/gstpad.h:
23089         * gst/gstpadtemplate.h:
23090         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23091         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23092         * gst/gstpipeline.h:
23093         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23094         (gst_file_index_commit):
23095         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23096         * testsuite/pad/link.c: (gst_test_src_init),
23097         (gst_test_filter_init), (gst_test_sink_init):
23098         * testsuite/states/locked.c: (main):
23099           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23100           moved bitshift from macro to enum definition
23101
23102 2005-10-12  Wim Taymans  <wim@fluendo.com>
23103
23104         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23105         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23106         (gst_file_sink_render):
23107         Some more debugging info.
23108
23109 2005-10-12  Wim Taymans  <wim@fluendo.com>
23110
23111         * docs/design/part-states.txt:
23112         * tools/gst-launch.c: (main):
23113         Some doc updates.
23114         Revert non-intentional change.
23115
23116 2005-10-12  Wim Taymans  <wim@fluendo.com>
23117
23118         * check/gst/gstbin.c: (GST_START_TEST):
23119         * check/gst/gstelement.c: (GST_START_TEST):
23120         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23121         * check/gst/gstghostpad.c: (GST_START_TEST):
23122         * check/gst/gstpipeline.c: (GST_START_TEST):
23123         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23124         * check/states/sinks.c: (GST_START_TEST):
23125         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23126         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23127         (gst_bin_remove_func), (gst_bin_get_state_func),
23128         (gst_bin_recalc_state), (gst_bin_change_state_func),
23129         (bin_bus_handler):
23130         * gst/gstelement.c: (gst_element_get_state_func),
23131         (gst_element_get_state), (gst_element_abort_state),
23132         (gst_element_commit_state), (gst_element_set_state),
23133         (gst_element_change_state), (gst_element_change_state_func):
23134         * gst/gstelement.h:
23135         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23136         (gst_pipeline_provide_clock_func):
23137         * gst/gstutils.c: (gst_element_link_pads_filtered):
23138         * tools/gst-launch.c: (main):
23139         * tools/gst-typefind.c: (main):
23140         Use GstClockTime in _get_state() instead of GTimeVal.
23141         Remove old code in gstutils.c
23142
23143 2005-10-12  Andy Wingo  <wingo@pobox.com>
23144
23145         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23146         removed.
23147
23148         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23149         there is no task. Shouldn't affect any code, as nothing in our
23150         plugins checks this return value.
23151         (gst_pad_stop_task): Also take the stream lock if the pad has no
23152         task. Docs updated.
23153
23154 2005-10-12  Wim Taymans  <wim@fluendo.com>
23155
23156         * gst/gstpad.c: (pre_activate), (post_activate),
23157         (gst_pad_activate_pull), (gst_pad_activate_push):
23158         Cleanup activation code. Reset old state if
23159         activation failed.
23160
23161 2005-10-12  Wim Taymans  <wim@fluendo.com>
23162
23163         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23164         (gst_base_sink_change_state):
23165         No need to prerol after receiving EOS.
23166
23167         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23168         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23169         * gst/elements/gstidentity.c: (gst_identity_event):
23170         Print events more verbosely.
23171
23172 2005-10-12  Wim Taymans  <wim@fluendo.com>
23173
23174         * check/Makefile.am:
23175         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23176         * check/states/sinks2.c:
23177         Moved sinks2 testcode in sinks check.
23178
23179         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23180         (gst_bin_remove_func), (gst_bin_recalc_state),
23181         (gst_bin_change_state_func), (bin_bus_handler):
23182         Fix potential race condition when _get_state() iterated over an
23183         ASYNC element right before it posted a state completion.
23184
23185         * gst/gstclock.h:
23186         Do proper cast here.
23187
23188         * gst/gstevent.c: (gst_event_new_newsegment),
23189         (gst_event_parse_newsegment):
23190         A playback rate of 0.0 is not allowed.
23191
23192 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23193
23194         * win32/common/config.h:
23195         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23196         (_trewinddir), (_ttelldir), (_tseekdir):
23197         * win32/common/dirent.h:
23198         * win32/common/gtchar.h:
23199         * win32/common/libgstbase.def:
23200         * win32/common/libgstreamer.def:
23201         * win32/vs6/grammar.dsp:
23202         * win32/vs6/gst_inspect.dsp:
23203         * win32/vs6/gst_launch.dsp:
23204         * win32/vs6/gstreamer.dsw:
23205         * win32/vs6/libgstbase.dsp:
23206         * win32/vs6/libgstelements.dsp:
23207         * win32/vs6/libgstreamer.dsp:
23208           Visual Studio 6 project files, and a new common directory.
23209           Phear.
23210
23211 2005-10-11  Wim Taymans  <wim@fluendo.com>
23212
23213         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23214         (gst_base_sink_do_sync), (gst_base_sink_query),
23215         (gst_base_sink_change_state):
23216         * gst/base/gstbasesink.h:
23217         Correctly parse newsegment info.
23218
23219 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23220
23221         * gst/gst.c: (init_post):
23222           split plugin paths correctly
23223
23224 2005-10-11  Wim Taymans  <wim@fluendo.com>
23225
23226         * check/gst/gstevent.c: (GST_START_TEST):
23227         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23228         (gst_base_sink_change_state):
23229         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23230         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23231         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23232         * gst/gstevent.c: (gst_event_new_newsegment),
23233         (gst_event_parse_newsegment):
23234         * gst/gstevent.h:
23235         Added extra flag to newsegment for future API freeze.
23236         Updated check and base elements.
23237
23238 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23239
23240         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23241         (gst_collectpads_add_pad), (gst_collectpads_pop),
23242         (gst_collectpads_event), (gst_collectpads_chain):
23243         * gst/base/gstcollectpads.h: Handle EOS correctly.
23244
23245 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23246
23247         * tools/gst-launch.c: (main):
23248           more null protecting
23249
23250 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23251
23252         * gst/gst-i18n-lib.h:
23253           check for ENABLE_NLS, not GETTEXT_PACKAGE
23254         * gst/gstregistry.c: (gst_registry_add_plugin),
23255         (gst_registry_scan_path_level),
23256         (_gst_registry_remove_cache_plugins):
23257           protect possibly NULL strings
23258         * gst/parse/types.h:
23259           config.h already included before
23260         * tools/gst-inspect.c: (main):
23261           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23262           check for ENABLE_NLS, not GETTEXT_PACKAGE
23263         * tools/gst-launch.c: (main):
23264           check for ENABLE_NLS, not GETTEXT_PACKAGE
23265
23266 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23267
23268         * configure.ac:
23269           if we don't have glib, fail before testing 2.8
23270         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23271           fix a leak, should fix plugins-base testsuite
23272
23273 2005-10-11  Andy Wingo  <wingo@pobox.com>
23274
23275         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23276         take the mode we're going to as an arg. Go head and set the mode
23277         and flushing flags now, so that if the activate function starts a
23278         thread all the flags will be in the right state.
23279         (post_activate): Renamed also. Just handle making sure streaming
23280         finishes for the deactivation case, and setting the deactivated
23281         mode.
23282         (gst_pad_set_active): Complain loudly if deactivation fails.
23283         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23284         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23285         remove the terrible hack.
23286
23287 2005-10-11  Wim Taymans  <wim@fluendo.com>
23288
23289         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23290         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23291         (gst_bin_recalc_state), (gst_bin_change_state_func),
23292         (gst_bin_dispose), (bin_bus_handler):
23293         * gst/gstbin.h:
23294         Prepare to make current EOS message queue more generic.
23295         Fix some typos.
23296
23297         * gst/gstevent.c: (gst_event_new_newsegment),
23298         (gst_event_parse_newsegment):
23299         * gst/gstevent.h:
23300         Rename base to stream_time.
23301
23302         * gst/gstmessage.h:
23303         Fix typo in docs.
23304
23305 2005-10-11  Wim Taymans  <wim@fluendo.com>
23306
23307         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23308         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23309         (gst_bin_change_state_func), (bin_bus_handler):
23310         * gst/gstbin.h:
23311         Work on proper clock selection.
23312
23313 2005-10-11  Edward Hervey  <edward@fluendo.com>
23314
23315         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23316         * libs/gst/controller/gstcontroller.h:
23317         Added GList* version of _remove_properties() in order to be able to wrap
23318         it in bindings.
23319
23320 2005-10-11  Wim Taymans  <wim@fluendo.com>
23321
23322         * docs/design/part-states.txt:
23323         Some more docs.
23324
23325         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23326         (gst_bin_change_state_func), (bin_bus_handler):
23327         Doc updates. Don't distribute the same clock over and over again.
23328
23329         * gst/gstclock.c:
23330         * gst/gstclock.h:
23331         Doc updates.
23332
23333         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23334         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23335         (gst_pad_send_event):
23336         * gst/gstpad.h:
23337         Make probe emission threadsafe again.
23338         Register quarks and move _get_name() from utils.
23339         Doc updates.
23340
23341         * gst/gstpipeline.c: (gst_pipeline_class_init),
23342         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23343         Only redistribute the clock of it changed.
23344
23345         * gst/gstsystemclock.h:
23346         Doc updates. 
23347
23348         * gst/gstutils.c:
23349         * gst/gstutils.h:
23350         Moved the _flow_get_name() to GstPad.
23351
23352 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23353
23354         * check/gst-libs/gdp.c: (GST_START_TEST):
23355         * check/gst/gstcaps.c: (GST_START_TEST):
23356         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23357         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23358         (gst_dp_packet_from_caps):
23359           fix more valgrind warnings before turning up the heat
23360
23361 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23362
23363         * gst/parse/grammar.y:
23364           some cleanup before the hacking
23365
23366 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23367
23368         * gst/base/gstbasesrc.c: (gst_base_src_query):
23369           use conversions
23370         * gst/gstutils.c: (gst_guint64_to_gdouble),
23371         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23372         * gst/gstutils.h:
23373           externalize, basesrc uses it
23374           obviously the implementation needs testing
23375
23376 2005-10-10  Wim Taymans  <wim@fluendo.com>
23377
23378         * tests/sched/Makefile.am:
23379         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23380         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23381
23382 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23383
23384         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23385           apparently converting from guint64 to double is not implemented
23386           on MSVC
23387
23388 2005-10-10  Wim Taymans  <wim@fluendo.com>
23389
23390         * check/Makefile.am:
23391         * check/generic/states.c: (GST_START_TEST):
23392         * check/gst/gstbin.c: (GST_START_TEST):
23393         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23394         * check/states/sinks.c: (GST_START_TEST):
23395         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23396         (main):
23397         Check fixes, use API as stated in design docs, remove hacks.
23398
23399         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23400         (gst_base_sink_change_state):
23401         Catch stopping our task while we're shutting down.
23402
23403         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23404         (gst_bin_remove_func), (gst_bin_get_state_func),
23405         (gst_bin_recalc_state), (gst_bin_change_state_func),
23406         (bin_bus_handler):
23407         * gst/gstbin.h:
23408         * gst/gstelement.c: (gst_element_init),
23409         (gst_element_get_state_func), (gst_element_abort_state),
23410         (gst_element_commit_state), (gst_element_lost_state),
23411         (gst_element_set_state), (gst_element_change_state),
23412         (gst_element_change_state_func):
23413         * gst/gstelement.h:
23414         New state change algorithm (see #318116)
23415
23416         * gst/gstpipeline.c: (gst_pipeline_class_init),
23417         (gst_pipeline_init), (gst_pipeline_set_property),
23418         (gst_pipeline_get_property), (do_pipeline_seek),
23419         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23420         * gst/gstpipeline.h:
23421         Remove crude state change hacks.
23422
23423         * gst/gstutils.h:
23424         Remove crude hacks.
23425
23426         * tools/gst-launch.c: (main):
23427         Fixes for state change. Needs some more work to fully use the
23428         new stuff.
23429
23430 2005-10-10  Andy Wingo  <wingo@pobox.com>
23431
23432         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23433
23434         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23435         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23436         issue.
23437
23438 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23439
23440         * gst/gstiterator.c: (gst_iterator_new):
23441           Fix my previous commit: GTypes passed to gst_iterator_new()
23442           can be fundamental types.
23443
23444 2005-10-10  Wim Taymans  <wim@fluendo.com>
23445
23446         * gst/gstelement.c: (gst_element_iterate_pad_list),
23447         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23448         (gst_element_iterate_sink_pads):
23449         Use src/sink pads lists for the respective iterators instead
23450         of filtering.
23451
23452 2005-10-10  Andy Wingo  <wingo@pobox.com>
23453
23454         Merged in popt removal + GOption addition patch from Ronald, bug
23455         #169772.
23456
23457         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23458         GstElement macros around, remove popt-related symbols, add goption
23459         stuff.
23460
23461         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23462         
23463         * docs/gst/Makefile.am:
23464         * docs/libs/Makefile.am: No POPT_CFLAGS.
23465         
23466         * examples/manual/Makefile.am:
23467         * docs/manual/basics-init.xml: Doc updates with an example.
23468         
23469         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23470         (gst_init), (parse_one_option), (parse_goption_arg):
23471         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23472         bit of hand merging and debugging to get the GOption stuff working
23473         tho.
23474         
23475         * tests/Makefile.am:
23476         * tools/Makefile.am:
23477         * tools/gst-inspect.c: (main):
23478         * tools/gst-launch.c: (main):
23479         * tools/gst-run.c: (main):
23480         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23481
23482 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23483
23484         * gst/gstiterator.c: (gst_iterator_new):
23485           Add assertions to make sure passed GType is likely to really
23486           be a GType (as the compiler won't catch it if the size and
23487           GType arguments get mixed up, see #318447).
23488
23489 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23490
23491         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23492
23493         * gst/gstbin.c: (gst_bin_iterate_sorted):
23494           Pass GType and size arguments to gst_iterator_new() in the right
23495           order (maybe we should make _new() take the GType as first argument
23496           just like _new_list()?) (#318447).
23497           
23498
23499 2005-10-10  Wim Taymans  <wim@fluendo.com>
23500
23501         * gst/gstelement.c: (gst_element_finalize):
23502         And free the GStaticRecMutex too
23503
23504 2005-10-10  Andy Wingo  <wingo@pobox.com>
23505
23506         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23507         Allocate and free the mutex properly.
23508
23509         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23510         New macros.
23511         (GstElement): The state_lock is now recursive. Rebuild your
23512         plugins, suckers. Old macros adapted.
23513
23514         * docs/gst/gstreamer-sections.txt: Doc updates.
23515
23516         * gst/gstutils.h:
23517         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23518         (g_static_rec_cond_wait): Ported from state changes patch, while
23519         we wait on bug #317802 to be solved in a well-distributed GLib.
23520
23521         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23522         gst_element_change_state, variable name changes.
23523         (gst_element_change_state): Split out of gst_element_set_state in
23524         preparation for the state change merge. Doesn't pay attention to
23525         the 'transition' argument.
23526         (gst_element_set_state): Updates, hopefully purely cosmetic.
23527         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23528         state change patch.
23529         (gst_element_get_state_func): Renamed from get_state, cosmetic
23530         changes.
23531
23532 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23533
23534         * gst/elements/gstelements.c:
23535         * win32/GStreamer.vcproj:
23536         * win32/config.h:
23537         * win32/dirent.c: (_tseekdir):
23538         * win32/gst-inspect.vcproj:
23539         * win32/gst-launch.vcproj:
23540         * win32/gstconfig.h:
23541         * win32/gstelements.vcproj:
23542         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23543         * win32/gstreamer.def:
23544         * win32/msvc71.sln:
23545           updates for the win32 build (patch from Sebastien Moutte)
23546
23547 2005-10-10  Andy Wingo  <wingo@pobox.com>
23548
23549         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23550         gst_bin_get_state, cleaned up (but no logic changes).
23551         (bin_element_is_sink): Comment updates.
23552         (sink_iterator_filter): Remove needless cast.
23553         (gst_bin_iterate_sinks): Doc update.
23554         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23555         cleaned up (but no logic changes).
23556
23557         * check/states/sinks.c (test_src_sink): Cleanups from the state
23558         change patch.
23559         (test_livesrc_sink): Sync on the state.
23560
23561         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23562         the state change patch.
23563
23564         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23565         change patch.
23566
23567         * check/gst/gstbin.c: Merge in some style fixes and additional
23568         checks from Wim's state change patch.
23569
23570 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23571
23572         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23573         (gst_type_find_helper):
23574           Check whether we have the requested data already in our list of
23575           cached buffers before pulling a new buffer; also make the buffer
23576           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23577
23578 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23579
23580         * gst/gstcaps.c:
23581         * gst/gstevent.c:
23582           doc updates
23583         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23584           don't use long long, it's not portable.  Replacing with
23585           gint64 seems to work; let's hope no skeletons fall out of the closet.
23586
23587 2005-10-10  Andy Wingo  <wingo@pobox.com>
23588
23589         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23590
23591 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23592
23593         * docs/gst/gstreamer-sections.txt:
23594         * gst/gstevent.c:
23595         * gst/gstevent.h:
23596         * gst/gstinfo.c:
23597         * gst/gstinfo.h:
23598         * gst/gstmessage.c: (gst_message_parse_state_changed):
23599         * gst/gstpad.c:
23600         * gst/gstpad.h:
23601           more docs, fix compilation
23602
23603 2005-10-09  Philippe Khalaf <burger@speedy.org>
23604         * gst/gstmessage.c:
23605           Fixed a few forgotten variables on previous commit
23606
23607 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23608
23609         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23610           Fix evil typefind crasher: getrange() might return a short
23611           buffer at the end of a file, but gst_type_find_peek() must
23612           either return the full data as requested or NULL, but
23613           never a short buffer.
23614
23615 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23616
23617         * gst/gstmessage.c: (gst_message_new_state_changed),
23618         (gst_message_parse_state_changed):
23619         * gst/gstmessage.h:
23620           don't use "new", it's a C++ keyword
23621
23622 2005-10-08  Wim Taymans  <wim@fluendo.com>
23623
23624         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23625         * gst/gstelement.c: (gst_element_post_message):
23626         * gst/gstpipeline.c: (gst_pipeline_change_state):
23627         Small docs and debug updates.
23628
23629 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23630
23631         * docs/gst/gstreamer-sections.txt:
23632         * gst/gstelementfactory.c:
23633         * gst/gstevent.c:
23634         * gst/gsttaglist.c:
23635           more docs
23636
23637 2005-10-08  Wim Taymans  <wim@fluendo.com>
23638
23639         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23640         (gst_bin_dispose), (bin_bus_handler):
23641         Fix typos, add comments.
23642         Clear EOS list when going to PAUSED from any direction and do it
23643         in a threadsafe way.
23644         Get base time in a threadsafe way too.
23645         Fix confusing debug in the change_state function.
23646         Various other small cleanups.
23647         
23648         * gst/gstelement.c: (gst_element_post_message):
23649         Fix very verbose bus posting code.
23650
23651         * gst/gstpipeline.c: (gst_pipeline_class_init),
23652         (gst_pipeline_set_property), (gst_pipeline_get_property),
23653         (gst_pipeline_change_state):
23654         Small ARG_ -> PROP_ cleanup
23655
23656 2005-10-08  Wim Taymans  <wim@fluendo.com>
23657
23658         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23659         Do a less CPU demanding EOS check because we can.
23660
23661 2005-10-08  Wim Taymans  <wim@fluendo.com>
23662
23663         * libs/gst/dataprotocol/dataprotocol.c:
23664         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23665         (gst_dp_packet_from_event):
23666         * libs/gst/dataprotocol/dataprotocol.h:
23667         * libs/gst/dataprotocol/dp-private.h:
23668         It's about time we bump the version number.
23669         Since event types don't fit in the guint8 anymore describing
23670         the payload type, make payload type 16 bits wide.
23671
23672 2005-10-08  Wim Taymans  <wim@fluendo.com>
23673
23674         * docs/design/part-TODO.txt:
23675         * docs/design/part-clocks.txt:
23676         * docs/design/part-events.txt:
23677         * docs/design/part-gstbin.txt:
23678         * docs/design/part-gstelement.txt:
23679         * docs/design/part-gstpipeline.txt:
23680         * docs/design/part-live-source.txt:
23681         * docs/design/part-messages.txt:
23682         * docs/design/part-overview.txt:
23683         * docs/design/part-states.txt:
23684         Many doc updates.
23685
23686 2005-10-08  Wim Taymans  <wim@fluendo.com>
23687
23688         * gst/gstevent.c:
23689         * gst/gstevent.h:
23690         Fix event quark registration.
23691         Add some space between events so we can insert them in the
23692         right groups.
23693
23694 2005-10-08  Wim Taymans  <wim@fluendo.com>
23695
23696         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23697         (gst_base_sink_handle_buffer):
23698         Better log message.
23699
23700         * gst/gstbus.h:
23701         * gst/gstelement.h:
23702         More docs.
23703
23704         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23705         (gst_queue_set_property), (gst_queue_get_property):
23706         * gst/gstqueue.h:
23707         Remove old unused properties.
23708
23709 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23710         * docs/gst/gstreamer-sections.txt:
23711         * gst/gstmessage.c:
23712         * gst/gstmessage.h:
23713         * gst/gstminiobject.c:
23714         * gst/gstminiobject.h:
23715         * gst/gstobject.h:
23716         * gst/gstpad.h:
23717         * gst/gstutils.h:
23718           lots of new docs and doc fixes
23719
23720 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23721
23722         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23723         * gst/gstplugin.h:
23724         * gst/gstregistry.c: (gst_registry_lookup_locked),
23725         (gst_registry_scan_path_level):
23726         * gst/gstregistryxml.c: (load_plugin):
23727           Only ever load one plugin for a given plugin basename.
23728           This ensures correct overriding of GST_PLUGIN_PATH over
23729           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23730           system installed plugins.
23731
23732 2005-10-08  Wim Taymans  <wim@fluendo.com>
23733
23734         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23735         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23736         Prepare for doing QOS.
23737
23738 2005-10-08  Wim Taymans  <wim@fluendo.com>
23739
23740         * check/gst/gstbin.c: (GST_START_TEST):
23741         * check/pipelines/cleanup.c: (GST_START_TEST):
23742         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23743         Allow new clock message too.
23744
23745 2005-10-08  Wim Taymans  <wim@fluendo.com>
23746
23747         * gst/gstmessage.c: (gst_message_new_error),
23748         (gst_message_new_warning), (gst_message_new_tag),
23749         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23750         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23751         (gst_message_new_segment_start), (gst_message_new_segment_done),
23752         (gst_message_parse_state_changed),
23753         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23754         (gst_message_parse_new_clock):
23755         * gst/gstmessage.h:
23756         Also carry the clock in question.
23757
23758 2005-10-08  Wim Taymans  <wim@fluendo.com>
23759
23760         * gst/gstmessage.c: (gst_message_new_custom),
23761         (gst_message_new_eos), (gst_message_new_error),
23762         (gst_message_new_warning), (gst_message_new_tag),
23763         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23764         (gst_message_new_new_clock), (gst_message_new_segment_start),
23765         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23766         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23767         * gst/gstmessage.h:
23768         Clean up.
23769         Added clock related messages.
23770
23771         * gst/gstpipeline.c: (gst_pipeline_change_state):
23772         Post message when the clock changed.
23773
23774         * tools/gst-launch.c: (event_loop):
23775         Print new clock.
23776
23777 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23778
23779         * tools/gst-inspect.c: (print_element_properties_info):
23780           Can't pass NULL strings to g_print() on windows.
23781
23782 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23783
23784         * docs/Makefile.am:
23785         * docs/gst/Makefile.am:
23786         * docs/gst/gstreamer-docs.sgml:
23787         * docs/gst/running.xml:
23788         * docs/version.entities.in:
23789           add a chapter on running GStreamer.
23790           document GST_DEBUG and GST_PLUGIN* env vars
23791
23792 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23793
23794         * Makefile.am:
23795           remove include dir
23796         * configure.ac:
23797           remove PLUGINS_BUILDDIR stuff
23798         * gst/gst.c: (init_post):
23799           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23800         * idiottest.mak:
23801           remove, it was condescending and not needed
23802
23803 2005-10-08  Wim Taymans  <wim@fluendo.com>
23804
23805         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23806         (gst_base_sink_handle_object), (gst_base_sink_event),
23807         (gst_base_sink_wait), (gst_base_sink_handle_event),
23808         (gst_base_sink_change_state):
23809         * gst/base/gstbasesink.h:
23810         Repost EOS message while going to PLAYING if still EOS.
23811         Make sure that when receiving a FLUSH_START we don't attempt
23812         to sync on the clock anymore.
23813
23814 2005-10-08  Wim Taymans  <wim@fluendo.com>
23815
23816         * tools/gst-launch.c: (event_loop):
23817         Better message printout.
23818
23819 2005-10-08  Wim Taymans  <wim@fluendo.com>
23820
23821         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23822         (gst_bin_child_proxy_get_children_count):
23823         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23824         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23825         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23826         (gst_child_proxy_set_valist):
23827         * gst/parse/grammar.y:
23828         Make ChildProxy threadsafe and fix mem leaks.
23829
23830 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23831
23832         * gst/gst.c: (init_post):
23833           debug the GST_PLUGIN_ env vars
23834
23835 2005-10-08  Wim Taymans  <wim@fluendo.com>
23836
23837         * check/gst/gstbin.c: (GST_START_TEST):
23838         * check/gst/gstmessage.c: (GST_START_TEST):
23839         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23840         * gst/gstelement.c: (gst_element_commit_state),
23841         (gst_element_lost_state):
23842         * gst/gstmessage.c: (gst_message_new_state_changed),
23843         (gst_message_parse_state_changed):
23844         * gst/gstmessage.h:
23845         * tools/gst-launch.c: (event_loop):
23846         Added extra field to STATE_CHANGE message with the pending
23847         state, which will be different from the new state soon.
23848
23849 2005-10-08  Wim Taymans  <wim@fluendo.com>
23850
23851         * gst/gstbus.c: (gst_bus_pop):
23852         * gst/gstclock.c:
23853         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23854         Small cleanups and doc updates.
23855
23856 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23857
23858         * gst/gst.c: (init_pre):
23859         * gst/gstbin.c: (gst_bin_add_func):
23860           log distributing clocks and base time
23861         * gst/gstregistry.c: (gst_registry_add_plugin),
23862         (gst_registry_scan_path_level), (gst_registry_scan_path):
23863           clean up the debugging output a little
23864         * gst/gstutils.c: (gst_element_state_get_name):
23865           warn about a memleak (I've actually seen this be used, though
23866           it was probably a bug)
23867
23868 2005-10-07  Wim Taymans  <wim@fluendo.com>
23869
23870         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23871         (gst_base_src_init), (gst_base_src_default_newsegment),
23872         (gst_base_src_newsegment), (gst_base_src_do_seek),
23873         (gst_base_src_loop), (gst_base_src_start):
23874         * gst/base/gstbasesrc.h:
23875         Make the newsegment event customizable by subclasses.
23876
23877 2005-10-07  Wim Taymans  <wim@fluendo.com>
23878
23879         * gst/gstevent.c: (gst_event_new_buffersize),
23880         (gst_event_parse_buffersize):
23881         * gst/gstevent.h:
23882         New event for future idea.
23883
23884 2005-10-07  Andy Wingo  <wingo@pobox.com>
23885
23886         * gst/gstelement.c (gst_element_post_message): Doc update.
23887
23888         * docs/gst/gstreamer-sections.txt: Update.
23889
23890         * gst/gstmessage.c (gst_message_new_application): Made into a
23891         function like honest API calls.
23892         (gst_message_new_element): New message type.
23893
23894         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23895
23896         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23897         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23898         times.
23899
23900         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23901         NO_PREROLL from gst_element_change_state to fall through.
23902
23903 2005-10-07  Wim Taymans  <wim@fluendo.com>
23904
23905         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23906         (gst_ghost_pad_do_activate_push):
23907         Activating a ghostpad with no internal pad in push mode
23908         is ok.
23909
23910 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23911
23912         * gst/gstobject.h:
23913           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23914           Fixes compilation on Windows.
23915
23916 2005-10-07  Michael Smith <msmith@fluendo.com>
23917
23918         * tools/gst-inspect.c:
23919           Print out feature and plugin count at the end when printing out
23920           all features.
23921
23922 2005-10-04  Michael Smith <msmith@fluendo.com>
23923
23924         * gst/gsterror.c: (_gst_stream_errors_init):
23925           Add another error string used in a few existing plugins.
23926
23927         * gst/gstplugin.c:
23928         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23929         * tools/gst-inspect.c: (print_element_info):
23930           When a feature disappears from a plugin (and the feature exists in
23931           the cached registry file), things went horribly wrong. This isn't a
23932           complete fix, we should actually be removing the 'missing' features
23933           from the features list when we load the actual plugin. That's not
23934           yet implemented. 
23935
23936 2005-10-04  Johan Dahlin  <johan@gnome.org>
23937
23938         * check/gst/gstiterator.c: (GST_START_TEST):
23939         * gst/gstbin.c: (gst_bin_iterate_elements),
23940         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23941         * gst/gstelement.c: (gst_element_iterate_pads):
23942         * gst/gstformat.c: (gst_format_iterate_definitions):
23943         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23944         (gst_iterator_new_list), (gst_iterator_filter):
23945         * gst/gstiterator.h:
23946         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23947         Add a GType to GstIterator, update callsites and tests.
23948
23949 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23950
23951         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23952           give events a chance to be handled by event probes when the pad
23953           is not linked
23954
23955 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23956
23957         * gst/gstevent.c: (gst_event_type_get_name),
23958         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23959         * gst/gstevent.h:
23960           add string representations for event types
23961
23962 2005-10-06  Wim Taymans  <wim@fluendo.com>
23963
23964         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23965         Don't use NULL pointers.
23966
23967 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23968
23969         * gst/gst_private.h:
23970         * gst/gstbus.c:
23971         * gst/gstelement.c:
23972         * gst/gstinfo.c:
23973         * gst/gstpluginfeature.c:
23974           widen the debug category in output to fit the biggest one we have
23975           add a bus category and use it
23976           play with the colors
23977           fix up some categories
23978
23979 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23980
23981         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23982           add push activation of sink ghost pads.
23983           Andye, please verify
23984
23985 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23986
23987         * gst/gstutils.c: (gst_element_link_pads):
23988           fix a bug in the case where neither element has a pad
23989         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23990           add a test for that case
23991
23992 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23993
23994         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23995           emit have-data before checking for peers.  This allows
23996           for probe handlers to connect elements.  This helps autopluggers.
23997         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23998         (gst_pad_suite):
23999           add six checks, linked/unlinked with no/true/false probe
24000
24001 2005-10-04  Wim Taymans  <wim@fluendo.com>
24002
24003         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24004         (gst_fake_sink_event), (gst_fake_sink_preroll),
24005         (gst_fake_sink_render), (gst_fake_sink_change_state):
24006         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24007         (gst_fake_src_get_property), (gst_fake_src_create),
24008         (gst_fake_src_stop):
24009         * gst/elements/gstidentity.c: (gst_identity_stop):
24010         Protect last_message with lock.
24011
24012 2005-10-04  Edward Hervey  <edward@fluendo.com>
24013
24014         * gst/gstformat.h: 
24015         Added precision in the comments for GST_FORMAT_DEFAULT
24016
24017 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24018
24019         * tools/gst-launch.c: (main):
24020           Don't try to run erroneous pipelines.
24021
24022 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24023
24024         * gst/gstbus.c: We don't need this header.
24025
24026 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24027
24028         * configure.ac:
24029           back to development
24030
24031 === release 0.9.3 ===
24032
24033 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24034
24035         * README:
24036         * configure.ac:
24037           Releasing 0.9.3, "Unregistered"
24038
24039 2005-10-03  Andy Wingo  <wingo@pobox.com>
24040
24041         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24042         whereby calling a pad's activatepush() function can start a thread
24043         that starts to push or pull before the pad gets the FLUSHING flag
24044         unset. Hack around it by holding the stream lock until the flag is
24045         set. Need to replace this with a proper solution. Together with
24046         the ghost pad fixes, this fixes mp3 playing/tagreading.
24047
24048         * docs/design/part-gstghostpad.txt: Add a note about activation of
24049         proxy pads outside of ghost pads.
24050
24051         * gst/gstghostpad.c: Implement the ghost pad activation design.
24052
24053 2005-10-02  Andy Wingo  <wingo@pobox.com>
24054
24055         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24056         It is volatile, after all.
24057
24058         * docs/design/part-gstghostpad.txt: Flesh out activation with
24059         ghost pads.
24060
24061         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24062         GST_DEBUG_FUNCPTR.
24063
24064 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24065
24066         * configure.ac:
24067           Fix (unused) AM_CONDITIONAL tests.
24068
24069 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24070
24071         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24072
24073         * gst/gstutils.c: (gst_pad_query_convert):
24074           Add assertion that makes sure src_val is >=0, just like
24075           gst_query_new_convert() has. (#315895)
24076
24077 2005-09-30  Edward Hervey  <edward@fluendo.com>
24078
24079         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24080         Let's not iterate pads we're not interested in, it avoids getting 
24081         sky-high refcounts on sinkpad.
24082
24083 2005-09-30  Wim Taymans  <wim@fluendo.com>
24084
24085         * gst/gstelement.c: (gst_element_set_state),
24086         (gst_element_change_state):
24087         Small tweak, element in ASYNC remains ASYNC.
24088
24089 2005-09-30  Wim Taymans  <wim@fluendo.com>
24090
24091         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24092         Only error is an error.
24093
24094         * gst/gstbin.c: (gst_bin_change_state):
24095         Better debugging.
24096
24097         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24098         Also call pad_block in pad alloc.
24099
24100         * gst/gstutils.c: (gst_flow_get_name):
24101         Better debugging.
24102
24103 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24104
24105         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24106         (gst_base_src_get_range):
24107           Fix documentation typos. Add some more debug info.
24108
24109 2005-09-29  David Schleef  <ds@schleef.org>
24110
24111         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24112           more end-user friendly.
24113         * tools/gst-inspect.c: (main): Check if command-line argument is
24114           a file and attempt to load that file as a plugin.
24115
24116 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24117
24118         * check/gst/gstbin.c:
24119         * check/states/sinks.c:
24120           fix tests for the new warning
24121         * check/gst/gstpipeline.c:
24122           add a test for pipeline and bus interaction
24123         * gst/gstelement.c:
24124           elements should be NULL if they get disposed; add a warning if not
24125
24126 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24127
24128         * gst/gstobject.c:
24129           for 2.6 refcounting, make debug log more correct by printing
24130           the actual refcounts at the time of swap (Wim)
24131
24132 2005-09-29  Andy Wingo  <wingo@pobox.com>
24133
24134         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24135         removes signal watches previously added via
24136         gst_bus_add_signal_watch.
24137         (gst_bus_add_signal_watch): Don't return the source id, just store
24138         it on the bus if there wasn't an id already.
24139
24140         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24141         add_signal_watch and remove_signal_watch.
24142
24143 2005-09-29  Edward Hervey  <edward@fluendo.com>
24144
24145         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24146         Better if we actually iterate the list :)
24147
24148 2005-09-29  Wim Taymans  <wim@fluendo.com>
24149
24150         * check/gst/gstbin.c: (GST_START_TEST):
24151         Change for new bus API.
24152
24153         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24154         (send_messages), (GST_START_TEST), (gstbus_suite):
24155         Change for new bus signal API.
24156
24157         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24158         (gst_bus_source_prepare), (gst_bus_source_check),
24159         (gst_bus_create_watch), (gst_bus_add_watch_full),
24160         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24161         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24162         * gst/gstbus.h:
24163         Remove support for multiple GSources operating on different
24164         message types as it is too complex and unneeded when using
24165         signals.
24166         Added support for receiving signals from the bus.
24167
24168 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24169
24170         * docs/libs/tmpl/gstdataprotocol.sgml:
24171         * docs/manual/advanced-dataaccess.xml:
24172         * gst/elements/gstcapsfilter.c:
24173         * gst/gstutils.c:
24174           rename filter-caps to caps property
24175
24176 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24177
24178         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24179           More robust fraction string parsing.
24180
24181         * docs/pwg/appendix-porting.xml:
24182           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24183
24184 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24185
24186         * gst/gstcaps.c: (gst_caps_do_simplify):
24187           Thou shalt not free a structure and then continue using it
24188           in the next loop iteration.
24189
24190         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24191         (gst_caps_suite):
24192           Add test case for caps simplification.
24193
24194 2005-09-29  Wim Taymans  <wim@fluendo.com>
24195
24196         * check/gst/gstbin.c: (GST_START_TEST):
24197         Oops.
24198
24199 2005-09-29  Wim Taymans  <wim@fluendo.com>
24200
24201         * check/gst/gstbin.c: (GST_START_TEST):
24202         Add bus to bin.
24203
24204         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24205         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24206         (find_element), (gst_bin_sort_iterator_next),
24207         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24208         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24209         (gst_bin_change_state), (gst_bin_dispose):
24210         A bin does not have a bus, it gets the bus from the parent.
24211
24212         * gst/gstelement.c: (gst_element_requires_clock),
24213         (gst_element_provides_clock), (gst_element_is_indexable),
24214         (gst_element_is_locked_state), (gst_element_change_state),
24215         (gst_element_set_bus_func):
24216         Small cleanups.
24217
24218         * gst/gstpipeline.c: (gst_pipeline_class_init),
24219         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24220         The pipeline provides a bus.
24221
24222 2005-09-28  Johan Dahlin  <johan@gnome.org>
24223
24224         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24225         gst_structure_get_enum instead of gst_structure_get_int
24226
24227         * gst/gststructure.c (gst_structure_get_enum): Impl.
24228
24229         * gst/gststructure.h (gst_structure_get_enum): Add
24230
24231         * docs/gst/gstreamer-sections.txt: Ditto
24232
24233         * gst/gstmessage.c (gst_message_new_state_changed): Use
24234         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24235         which does introspection.
24236         Reviewed by Christian Schaller
24237
24238 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24239
24240         * gst/gstinfo.c: (gst_debug_log_default):
24241           don't do dummy g_strdup()s
24242         * libs/gst/controller/gstcontroller.c:
24243         (on_object_controlled_property_changed),
24244         (gst_controlled_property_new), (gst_controller_new_valist),
24245         (gst_controller_new_list),
24246         (gst_controller_remove_properties_valist), (gst_controller_set),
24247         (gst_controller_get), (gst_controller_sync_values),
24248         (gst_controller_get_value_array), (_gst_controller_class_init),
24249         (gst_controller_get_type):
24250         * libs/gst/controller/gstcontroller.h:
24251         * libs/gst/controller/gstinterpolation.c:
24252         (gst_controlled_property_find_timed_value_node):
24253           convert // to /**/ comments
24254
24255 2005-09-28  Wim Taymans  <wim@fluendo.com>
24256
24257         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24258         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24259         (gst_bus_sync_signal_handler):
24260         * gst/gstbus.h:
24261         Added async-message and sync-message signals to the bus.
24262         Added helper BusFunc to emit signals for all posted messages.
24263
24264         * gst/gstmessage.c: (gst_message_type_get_name),
24265         (gst_message_type_to_quark), (gst_message_get_type):
24266         * gst/gstmessage.h:
24267         Register quarks for message names.
24268
24269 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24270
24271         * docs/libs/gstreamer-libs-sections.txt:
24272         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24273         (gst_controller_new_list):
24274         * libs/gst/controller/gstcontroller.h:
24275           added another constructor for language bindings
24276
24277 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24278
24279         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24280           add another check
24281         * gst/gstbus.c:
24282           add some doc
24283         * gst/gstinfo.c: (_gst_debug_init):
24284           slightly more readable color for refcount debugging
24285
24286 2005-09-28  Wim Taymans  <wim@fluendo.com>
24287
24288         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24289         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24290         (find_element), (gst_bin_sort_iterator_next),
24291         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24292         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24293         (gst_bin_change_state), (gst_bin_dispose):
24294         Small doc fixes. get_clock -> provide_clock.
24295
24296         * gst/gstelement.c: (gst_element_class_init),
24297         (gst_element_provides_clock), (gst_element_provide_clock),
24298         (gst_element_get_clock), (gst_element_commit_state),
24299         (gst_element_lost_state):
24300         * gst/gstelement.h:
24301         Make get/set_clock() symetric. Add provide_clock vmethod since
24302         that is actually what this function does.
24303
24304         * gst/gstpipeline.c: (gst_pipeline_class_init),
24305         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24306         (gst_pipeline_get_clock):
24307         get_clock -> provide_clock.
24308
24309 2005-09-28  Andy Wingo  <wingo@pobox.com>
24310
24311         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24312         lieu of real docs...
24313
24314         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24315
24316 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24317
24318         * gst/elements/gstcapsfilter.c:
24319         * gst/elements/gstfakesink.c:
24320         * gst/elements/gstfakesrc.c:
24321         * gst/elements/gstfdsink.c:
24322         * gst/elements/gstfdsrc.c:
24323         * gst/elements/gstfilesink.c:
24324         * gst/elements/gstfilesrc.c:
24325         * gst/elements/gstidentity.c:
24326         * gst/elements/gsttee.c:
24327         * gst/elements/gsttypefindelement.c:
24328           Make element details static.
24329
24330 2005-09-28  Wim Taymans  <wim@fluendo.com>
24331
24332         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24333         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24334         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24335         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24336         (gst_bin_change_state), (gst_bin_dispose):
24337         Some documentation updates.
24338         Clean up dispose handlers.
24339
24340         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24341         * gst/gstpad.c: (gst_pad_dispose):
24342         Clean up dispose handler.
24343
24344         * gst/gstpipeline.c: (gst_pipeline_change_state):
24345         Removed spurious UNLOCK.
24346
24347 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24348
24349         * docs/gst/gstreamer-sections.txt:
24350         * gst/base/gstbasesrc.h:
24351         * gst/gstelement.h:
24352         * gst/gstevent.h:
24353         * gst/gstobject.h:
24354         * gst/gstpad.h:
24355         * gst/gstpipeline.c:
24356         * gst/gstpipeline.h:
24357         * gst/gstutils.h:
24358         * gst/gstxml.h:
24359           added two new functions to the docs
24360                 documents all undocumented GstXXXFlags
24361                 completed some incomplete docs 
24362
24363 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24364
24365         * gst/gstbin.c: (gst_bin_dispose):
24366         * gst/gstelement.c: (gst_element_dispose):
24367           remove now useless and leaky resurrection code in dispose
24368         * gst/base/gstbasesrc.c: (gst_base_src_init):
24369         * gst/gstelementfactory.c: (gst_element_factory_create):
24370         * gst/gstobject.c: (gst_object_set_parent):
24371           add some debugging
24372
24373 2005-09-27  Wim Taymans  <wim@fluendo.com>
24374
24375         * docs/design/part-TODO.txt:
24376         Update TODO.
24377
24378         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24379         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24380         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24381         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24382         (gst_bin_change_state):
24383         * gst/gstelement.h:
24384         Remove element variable, we keep element info in the iterator now.
24385
24386 2005-09-27  Andy Wingo  <wingo@pobox.com>
24387
24388         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24389         values.
24390
24391 2005-09-27  Wim Taymans  <wim@fluendo.com>
24392
24393         * check/gst/gstbin.c: (GST_START_TEST):
24394         Enable check that works now.
24395
24396         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24397         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24398         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24399         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24400         (gst_bin_change_state):
24401         * gst/gstbin.h:
24402         Redid the state change algorithm using a topological sort algo.
24403         Handles all cases correctly.
24404         Exposed iterator for state change order.
24405
24406         * gst/gstelement.h:
24407         Temp storage for state changes. Need to get rid of this soon.
24408
24409 2005-09-27  Wim Taymans  <wim@fluendo.com>
24410
24411         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24412         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24413         (link_fold_func), (gst_pad_proxy_setcaps):
24414         Leak fixes, the fold functions need to unref the passed object and
24415         _get_parent_*() returns ref to parent.
24416
24417 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24418
24419         * check/gst/gstbuffer.c: (test_make_writable):
24420           Plug leak in test case and fix 'make check-valgrind'
24421
24422 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24423
24424         * gst/gstbuffer.c: (gst_subbuffer_init):
24425           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24426           works correctly in all circumstances (we could have just copied
24427           the parent buffer's readonly flag, but conceptually it seems
24428           cleaner to mark all subbuffers as read-only). (based on patch
24429           by Alessandro Decina, #314710).
24430         
24431         * check/gst/gstbuffer.c: (create_read_only_buffer),
24432         (test_make_writable), (test_subbuffer_make_writable),
24433         (gst_test_suite):
24434           Add some tests for gst_buffer_make_writable().
24435
24436 2005-09-27  Wim Taymans  <wim@fluendo.com>
24437
24438         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24439         use gst_object_has_ancestor().
24440
24441         * gst/gstobject.c: (gst_object_has_ancestor):
24442         * gst/gstobject.h:
24443         gst_object_has_ancestor() copied from gstbin.c as it is a
24444         useful function.
24445
24446         * tests/instantiate/create.c: (create_all_elements):
24447         * tests/lat.c: (handoff_src), (handoff_sink):
24448         * tests/sched/runxml.c: (main):
24449         * tests/seeking/seeking1.c: (main):
24450         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24451         (main):
24452         Fix compilation of some tests.
24453
24454 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24455
24456         * gst/gsterror.h:
24457           Remove comment. GST_TYPE_G_ERROR is here to stay,
24458           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24459           (#316961, #300610).
24460
24461 2005-09-26  Wim Taymans  <wim@fluendo.com>
24462
24463         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24464         Added check that shows error in state change order.
24465
24466 2005-09-26  Wim Taymans  <wim@fluendo.com>
24467
24468         * gst/gstbin.c: (gst_bin_change_state):
24469         Make state change function use 3 queues again, we were
24470         adding elements in the wrong order.
24471
24472         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24473         Some debug info,
24474
24475         * gst/gstpad.c: (gst_pad_dispose):
24476         Added some debug info first.
24477
24478 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24479
24480         * docs/design/draft-push-pull.txt:
24481         * docs/design/part-events.txt:
24482         * docs/design/part-overview.txt:
24483         * docs/design/part-scheduling.txt:
24484           Replace all _pull_region() with _pull_range()
24485           
24486 2005-09-26  Andy Wingo  <wingo@pobox.com>
24487
24488         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24489
24490         * check/gst-libs/controller.c: Update for controller api change.
24491
24492         * configure.ac: 
24493         * tests/Makefile.am:
24494         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24495         over by GLib bug 118439.
24496         
24497         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24498         routines to a function.
24499
24500         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24501
24502         * libs/gst/controller/gsthelper.c:
24503         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24504         (gst_object_sync_values): Renamed from sink_values. Ugh.
24505
24506         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24507
24508         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24509         Renamed from controller_key, as it is exported.
24510
24511         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24512
24513 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24514
24515         * gst/Makefile.am:
24516         * gst/gst.h:
24517         * gst/gstpad.h:
24518         * gst/gstpadtemplate.h:
24519         * gst/gstquery.c:
24520         * gst/gstquery.h:
24521         * gst/gstqueryutils.c:
24522         * gst/gstqueryutils.h:
24523           remove queryutils headers after moving the two used functions
24524           to gstquery.  also fixes build problem for gstsiddec
24525
24526 2005-09-26  Michael Smith <msmith@fluendo.com>
24527
24528         * tools/gst-launch.1.in:
24529         Correct documentation in manpage of debug syntax
24530
24531 2005-09-26  Wim Taymans  <wim@fluendo.com>
24532
24533         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24534         (gst_base_src_is_seekable), (gst_base_src_change_state):
24535         Some more debugging info.
24536
24537 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24538
24539         * docs/gst/gstreamer-sections.txt:
24540         * gst/base/gstbasetransform.h:
24541         * gst/gstindex.h:
24542           added more docs
24543
24544 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24545
24546         * docs/gst/.cvsignore:
24547         * docs/gst/tmpl/.cvsignore:
24548         * docs/gst/tmpl/gstpipeline.sgml:
24549         * docs/gst/tmpl/gstplugin.sgml:
24550         * gst/gstpipeline.c:
24551         * gst/gstplugin.c:
24552         * gst/gstplugin.h:
24553           inlined the last two docs files
24554           removed the tmpl directory from cvs (no more conflicts here!)
24555
24556 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24557
24558         * docs/gst/gstreamer-sections.txt:
24559         * docs/gst/tmpl/.cvsignore:
24560         * docs/gst/tmpl/gstpad.sgml:
24561         * docs/gst/tmpl/gstpadtemplate.sgml:
24562         * gst/Makefile.am:
24563         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24564         (gst_pad_finalize), (gst_pad_set_pad_template):
24565         * gst/gstpad.h:
24566         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24567         (gst_pad_template_class_init), (gst_pad_template_init),
24568         (gst_pad_template_dispose), (name_is_valid),
24569         (gst_static_pad_template_get), (gst_pad_template_new),
24570         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24571         (gst_pad_template_pad_created):
24572         * gst/gstpadtemplate.h:
24573           inlined two more docs
24574           factored gstpadtemplate out of gstpad
24575
24576 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24577
24578         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24579         (test_children_state_change_order_semi_sink):
24580           Fix test case: we can't rely on a fixed state change order when
24581           going from READY => PAUSED because the sink might commit its 
24582           new state first when the first buffer created by the source 
24583           reaches the sink before the source has finished its change state.
24584           (Test case still fails at times, see #316856, comment 5 onwards)
24585
24586 2005-09-24  Wim Taymans  <wim@fluendo.com>
24587
24588         * docs/design/part-events.txt:
24589         * docs/design/part-gstbus.txt:
24590         * docs/design/part-gstpipeline.txt:
24591         * docs/design/part-messages.txt:
24592         * docs/design/part-overview.txt:
24593         * docs/design/part-segments.txt:
24594         * gst/gstbin.c:
24595         * gst/gstbuffer.c:
24596         * gst/gstclock.c:
24597         * gst/gstelement.c:
24598         * gst/gstevent.c:
24599         * gst/gstfilter.c:
24600         * gst/gstiterator.c:
24601         Various documentation updates.
24602
24603 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24604
24605         * gst/gstclock.h:
24606           Well, that's embarassing.  Luckily we weren't using
24607           GST_CLOCK_DIFF anywhere.
24608
24609 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24610
24611         * common/gtk-doc.mak:
24612           don't fail on building XML, FC4 slave shows a bunch of doc
24613           missing bits that I don't get
24614         * gst/gstpad.c:
24615         * gst/gstpipeline.c:
24616         * gst/gststructure.c:
24617           some doc updates
24618
24619 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24620
24621         * docs/design/part-gstbin.txt:
24622         * docs/design/part-gstbus.txt:
24623         * gst/gstbus.c:
24624           Add blurb about how the bus goes into flushing mode and
24625           drops all messages when its bin goes from READY into NULL 
24626           state.
24627
24628 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24629
24630         * docs/gst/gstreamer-sections.txt:
24631         * gst/gststructure.c: (gst_structure_get_clock_time):
24632         * gst/gststructure.h:
24633           add a method to get a GstClockTime out of a structure
24634
24635 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24636
24637         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24638         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24639           Added test to check state change order in bins (can still be made
24640           to fail here under heavy disk load; bails out with 'Push on pad
24641           fakesink:sink0, but it was not activated in push mode').
24642
24643         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24644           Fix state change order when there is only a semi sink (#316856)
24645
24646         * gst/gstbus.c: (gst_bus_class_init):
24647           Use _class_peek_parent(), not _class_ref(); fix docs to say
24648           'default main context' instead of 'mainloop' where that is
24649           what's meant.
24650
24651         * gst/gstelement.c: (gst_element_commit_state),
24652         (gst_element_set_state):
24653           Fix typos in debug messages
24654
24655 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24656
24657         * docs/README:
24658         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24659         * gst/gstpluginfeature.c:
24660         * gst/gstutils.c:
24661           various doc updates
24662         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24663           change an assert into an error until it gets fixed properly
24664
24665 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24666
24667         * docs/gst/gstreamer-sections.txt:
24668         * docs/gst/tmpl/.cvsignore:
24669         * docs/gst/tmpl/gstelement.sgml:
24670         * docs/gst/tmpl/gstinfo.sgml:
24671         * docs/gst/tmpl/gstobject.sgml:
24672         * gst/gstelement.c:
24673         * gst/gstelement.h:
24674         * gst/gstinfo.c:
24675         * gst/gstinfo.h:
24676         * gst/gstobject.c: (gst_object_class_init):
24677         * gst/gstobject.h:
24678           inlined 3 more biiiig doc files and added some missing docs on the fly
24679
24680 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24681
24682         * check/gst/.cvsignore:
24683         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24684         * gst/gstregistryxml.c: (load_plugin),
24685         (gst_registry_xml_save_plugin):
24686           put back source in registry.  add checks for find_plugin.
24687         * testsuite/states/bin.c: (assert_state), (empty_bin),
24688         (test_adding_one_element), (main):
24689         * testsuite/states/locked.c: (main):
24690           some compile/run fixes
24691
24692 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24693
24694         * check/gst/gstvalue.c: (GST_START_TEST):
24695           fix leaks in the test itself
24696
24697 2005-09-22  Wim Taymans  <wim@fluendo.com>
24698
24699         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24700         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24701         (gst_base_sink_query):
24702         Prepare for more accurate position reporting and query
24703         handling.
24704
24705         * gst/gstelement.c: (gst_element_send_event),
24706         (gst_element_set_state):
24707         Add some comment.
24708
24709 2005-09-22  Wim Taymans  <wim@fluendo.com>
24710
24711         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24712         (gst_query_parse_segment):
24713         * gst/gstquery.h:
24714         More documentation.
24715         Add segment query for future use.
24716
24717 2005-09-22  Wim Taymans  <wim@fluendo.com>
24718
24719         * gst/gstbin.c: (gst_bin_add_func):
24720         Some more debug info.
24721
24722         * gst/gstelement.c: (gst_element_send_event):
24723         Simplify send_event
24724
24725         * gst/gstelement.h:
24726         Don't know how flags got broken.
24727
24728         * gst/gstquery.h:
24729         Added new query.
24730
24731 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24732
24733         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24734           Add simplistic test suite for GST_TYPE_DATE serialisation and
24735           deserialisation.
24736
24737 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24738
24739         * docs/gst/gstreamer-sections.txt:
24740         * gst/gststructure.c: (gst_structure_set_valist),
24741         (gst_structure_get_date):
24742         * gst/gststructure.h:
24743         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24744         (gst_date_copy), (gst_value_compare_date),
24745         (gst_value_serialize_date), (gst_value_deserialize_date),
24746         (gst_value_transform_date_string),
24747         (gst_value_transform_string_date), (_gst_value_initialize):
24748         * gst/gstvalue.h:
24749           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24750           bunch of utility functions along with a hack that checks that
24751           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24752           is required. Part of the grand scheme in #170777.
24753
24754 2005-09-22  Andy Wingo  <wingo@pobox.com>
24755
24756         * gst/gstconfig.h.in: Psych out gtk-doc.
24757
24758         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24759
24760         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24761
24762         * tools/gst-inspect.c (print_element_list): Plug some
24763         inconsequential leaks.
24764
24765         * gst/gstregistry.c (gst_registry_get_default): Doc.
24766
24767         * check/gst/gstplugin.c: 
24768         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24769         * gst/gstelementfactory.c (gst_element_factory_create): 
24770         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24771         refcount changes.
24772
24773         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24774         (gst_plugin_feature_load): Doc, don't eat refs.
24775
24776         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24777         (gst_plugin_list_free): Doc.
24778         (gst_plugin_load_file): Doc updates.
24779
24780         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24781         accessors returning refcounted objects, return a ref.
24782
24783         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24784         accessor for caps. IDEMPOTENCE. Oh yes.
24785
24786 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24787
24788         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24789
24790         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24791         (_gst_debug_register_funcptr):
24792           Add mutex to serialise access to the hash table with
24793           the function pointer => function name string mapping;
24794           make that hash table static scope (#316809).
24795
24796         * gst/registries/.cvsignore:
24797           Remove left-over file.
24798
24799 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24800
24801         * docs/pwg/appendix-porting.xml:
24802           And something about newsegment events and caps-on-buffers to
24803           the porting guide (feel free to improve).
24804
24805 2005-09-21  Andy Wingo  <wingo@pobox.com>
24806
24807         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24808         data and event probes on the same pad.
24809         (test_buffer_probe_once): Test that removing probes from within
24810         the probe functions works.
24811
24812 2005-09-21  Andy Wingo  <wingo@pobox.com>
24813
24814         * check/gst/gstutils.c: New file.
24815         (test_buffer_probe_n_times): A simple buffer probe test. More to
24816         come, foolios.
24817
24818         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24819         have-data::buffer, not have-data.
24820         (gst_pad_add_event_probe): Likewise for have-data::event.
24821         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24822         peer' isn't quite right yet though.
24823         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24824         (gst_pad_remove_data_probe): Change to take the guint handler_id
24825         as their arg, not the function+data, which is more glib-like.
24826
24827         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24828         the signal emission to indicate if the data is a buffer or an
24829         event.
24830         (gst_pad_get_type): Initialize buffer and event quarks.
24831         (gst_pad_class_init): have-data is now a detailed signal, yes it
24832         is.
24833
24834 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24835
24836         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24837         * gst/gstutils.c: (gst_util_set_value_from_string),
24838         (gst_util_set_object_arg):
24839           Don't put functional code in g_return_if_fail() or
24840           g_return_val_if_fail() statements, otherwise things will 
24841           break when G_DISABLE_CHECKS is defined during compilation.
24842
24843 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24844
24845         * docs/gst/tmpl/.cvsignore:
24846         * docs/gst/tmpl/gstvalue.sgml:
24847         * gst/gstvalue.c:
24848         * gst/gstvalue.h:
24849           inlied another one and added  some obvious docs
24850
24851 2005-09-21  Wim Taymans  <wim@fluendo.com>
24852
24853         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24854         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24855         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24856         (gst_fdsrc_get_property), (gst_fdsrc_create):
24857         * gst/elements/gstfdsrc.h:
24858         Properly implement fdsrc. Removed signal and timeout,
24859         better implemented somewhere else.
24860
24861 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24862
24863         * docs/gst/tmpl/.cvsignore:
24864         * docs/gst/tmpl/gstimplementsinterface.sgml:
24865         * gst/gstinterface.c:
24866           inlined more docs
24867
24868 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24869
24870         * docs/gst/gstreamer-sections.txt:
24871         * docs/gst/tmpl/.cvsignore:
24872         * docs/gst/tmpl/gstenumtypes.sgml:
24873           remove obsolete doc file
24874
24875 2005-09-21  David Schleef  <ds@schleef.org>
24876
24877         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24878         little beer, fix a little leak.
24879
24880 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24881
24882         * docs/gst/gstreamer-docs.sgml:
24883         * docs/gst/gstreamer-sections.txt:
24884         * docs/gst/tmpl/.cvsignore:
24885         * gst/Makefile.am:
24886         * gst/gst.h:
24887         * gst/gstbin.c:
24888         * gst/gstelement.h:
24889         * gst/gstindex.c: (gst_index_class_init):
24890         * gst/gstindex.h:
24891         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24892         (gst_index_factory_class_init), (gst_index_factory_init),
24893         (gst_index_factory_finalize), (gst_index_factory_new),
24894         (gst_index_factory_destroy), (gst_index_factory_find),
24895         (gst_index_factory_create), (gst_index_factory_make):
24896         * gst/gstindexfactory.h:
24897         * gst/gstpluginfeature.c:
24898         * gst/gstpluginfeature.h:
24899         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24900           more docs inlined, splitted gstindex.{c,h}
24901
24902 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24903
24904         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24905           fix a leak
24906
24907 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24908
24909         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24910           Set sync to FALSE by default.
24911
24912 2005-09-20  Wim Taymans  <wim@fluendo.com>
24913
24914         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24915         (gst_base_sink_init):
24916         Make sync property settable from subclass.
24917
24918         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24919         (gst_fake_sink_change_state):
24920         Set sync to FALSE by default.
24921
24922 2005-09-20  Wim Taymans  <wim@fluendo.com>
24923
24924         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24925         * tools/gst-launch.c: (main):
24926         The timeout handler should have lower priority than the source
24927         so we don't timeout before popping a message with 0 timeout.
24928         Dump error messages after failed state change.
24929
24930 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24931
24932         * tools/gst-inspect.c: (print_element_properties_info):
24933           Fix two typos.
24934
24935 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24936
24937         * check/gst/gstevent.c:
24938         * gst/elements/gstfakesink.c:
24939         * gst/elements/gstfakesink.h:
24940           remove the sync property from fakesink.
24941           has the side effect of setting sync TRUE
24942           for fakesink, which is a change.  Anyone who knows how
24943           to fix this nicely in a GObject-y way, feel free.
24944
24945 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24946
24947         * docs/gst/gstreamer-docs.sgml:
24948           remove probe refsection
24949
24950 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24951
24952         * check/Makefile.am:
24953           disable valgrinding the controller test again
24954         * docs/gst/gstreamer-sections.txt:
24955           update for api-changes
24956
24957 2005-09-20  Wim Taymans  <wim@fluendo.com>
24958
24959         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24960         (gst_base_sink_set_property), (gst_base_sink_get_property),
24961         (gst_base_sink_do_sync):
24962         * gst/base/gstbasesink.h:
24963         Added sync property to basesink to disable clock sync.
24964
24965 2005-09-20  Andy Wingo  <wingo@pobox.com>
24966
24967         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24968         eating the caller's refcount.
24969
24970         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24971         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24972         refcount.
24973
24974         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24975         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24976         of GLib 2.8 public, so we can know which refcount to check in
24977         tests.
24978
24979         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24980         (gst_object_init): Only set the gst refcount if we're going ahead
24981         with the refcount hack.
24982
24983 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24984
24985         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24986         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24987           more leaks plumbed, added more debug-logging
24988         * gst/gstmacros.h:
24989           whitespace fix
24990
24991 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24992
24993         * gst/gstmessage.c:
24994           remove include of gstmemchunk.h
24995
24996 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24997
24998         * gst/gstclock.c: (_gst_clock_id_free):
24999           Commit from the Political Party For More Atomic CVS Commits,
25000           so that people don't waste too much of their day fishing
25001           out obvious leaks out of massive commits.
25002           Oh, and fix a pretty damn obvious leak in the memchunk
25003           removal code.
25004
25005 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25006
25007         * check/Makefile.am:
25008         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25009           plug mem-leak, re-add to valgrindable tests
25010
25011 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25012
25013         * gst/gstplugin.h:
25014           unbreak the build for those who have chronic arthritis
25015           and typing "make check" is just too taxing on the hands
25016
25017 2005-09-20  Andy Wingo  <wingo@pobox.com>
25018
25019         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25020         really want it out, you should fix plugins at the same time.
25021
25022 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25023
25024         * configure.ac:
25025         * docs/gst/gstreamer-sections.txt:
25026         * gst/gstobject.c:
25027           added missing symbols to api docs
25028           disable ref-count hack if we have glib >= 2.8
25029
25030 2005-09-19  David Schleef  <ds@schleef.org>
25031
25032         * docs/gst/Makefile.am: Ignore a few more internal headers
25033         * docs/gst/gstreamer-docs.sgml: Remove old sections
25034         * docs/gst/gstreamer-sections.txt: Remove old sections
25035         * docs/gst/tmpl/gstobject.sgml: update
25036         * docs/gst/tmpl/gstplugin.sgml: update
25037         * docs/gst/tmpl/gstpluginfeature.sgml: update
25038         * docs/random/ds/0.9-suggested-changes: update.
25039         * gst/Makefile.am: remove memchunk and trashstack, since they're
25040           not used.
25041         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25042         * gst/gst.h: don't include some headers
25043         * gst/gstchildproxy.c: add gstmarshal.h
25044         * gst/gstclock.c: Don't use memchunks
25045         * gst/gstminiobject.c: Add some docs
25046         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25047         * gst/gstobject.h: same
25048         * gst/gstplugin.c: include gstmacros.h
25049         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25050         * gst/gstquery.c: don't use memchunks
25051         * gst/gstregistry.c: rename gst_registry_deinit()
25052         * gst/gstregistry.h: same
25053
25054 2005-09-19  David Schleef  <ds@schleef.org>
25055
25056         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25057         * docs/libs/gstreamer-libs-sections.txt:
25058         * docs/libs/tmpl/gstgetbits.sgml:
25059         * docs/libs/tmpl/gstputbits.sgml:
25060
25061 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25062
25063         * win32/gstenumtypes.c:
25064         * win32/gstenumtypes.h:
25065           Update.
25066
25067 2005-09-19  Wim Taymans  <wim@fluendo.com>
25068
25069         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25070         Automatically PAUSE and RESUME a pipeline when a flushing seek
25071         is performed.
25072
25073 2005-09-19  Andy Wingo  <wingo@pobox.com>
25074
25075         * gst/gstregistry.h: Spacing fixen.
25076
25077 2005-09-19  Wim Taymans  <wim@fluendo.com>
25078
25079         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25080         Handle state change failure more correctly.
25081
25082 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25083
25084         * check/Makefile.am:
25085         * check/pipelines/cleanup.c: (run_pipeline):
25086         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25087         (GST_START_TEST):
25088           enable cleanup again after fixing the leak
25089         * docs/README:
25090           some more info on docs
25091
25092 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25093
25094         * check/Makefile.am:
25095           re-enable tests now that leaks are plugged
25096         * check/gst/gst.c:
25097         * check/gst/gstbin.c:
25098         * check/gst/gstpipeline.c:
25099           add some more tests while fixing leaks
25100         * common/check.mak:
25101           make sure binaries are uptodate when valgrinding/gdbing
25102         * gst/gst.c:
25103         * gst/gstelementfactory.c:
25104           remove a ref too many, and add a FIXME for when we get
25105           round to disposing of classes
25106         * gst/gstplugin.c:
25107           fix the refcounting when loading a plugin from a file and
25108           the code pretends that the pointer is the same even though
25109           of course it can change
25110         * gst/gstpluginfeature.c:
25111           unref plugins marked cached (a bit confusing as a name)
25112           as the docs state should be done
25113           various doc additions to explain refcounting
25114         * gst/gstregistry.c:
25115         * gst/gstregistryxml.c:
25116           debugging
25117
25118 2005-09-19  Wim Taymans  <wim@fluendo.com>
25119
25120         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25121         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25122         (send_messages), (GST_START_TEST), (gstbus_suite):
25123         * check/gst/gstpipeline.c: (GST_START_TEST):
25124         * check/pipelines/cleanup.c: (run_pipeline):
25125         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25126         (GST_START_TEST):
25127         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25128         (gst_bus_source_check), (gst_bus_source_dispatch),
25129         (gst_bus_create_watch), (gst_bus_add_watch_full),
25130         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25131         * gst/gstbus.h:
25132         * tools/gst-launch.c: (event_loop):
25133         * tools/gst-md5sum.c: (event_loop):
25134         GstBusHandler -> GstBusFunc, return value has the same meaning as
25135         any other GSource (FALSE == remove source).
25136         _add_watch() and _add_watch_full() now take a MessageType mask to
25137         only handle specific types of messages.
25138         _poll() returns the GstMessage instead of the message type to avoid
25139         race conditions.
25140         _have_pending() takes a MessageType mask now too.
25141         Added testsuite for multiple bus watches.
25142         Fix testsuites and applications for new bus API.
25143
25144 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25145
25146         * check/Makefile.am:
25147           mark a bunch of the tests as to fix until we fix them
25148
25149 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25150
25151         * common/check.mak:
25152           use GST_PLUGIN settings for valgrind tests as well, so we're
25153           valgrinding the correct thing
25154         * gst/gst.c: (init_post):
25155           plug another leak
25156
25157 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25158
25159         * gst/gst.c: (init_post), (gst_deinit):
25160         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25161         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25162         * gst/gstindex.c: (gst_index_factory_class_init),
25163         (gst_index_factory_finalize):
25164         * gst/gstobject.c: (gst_object_dispose):
25165         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25166         (gst_plugin_load_file), (gst_plugin_desc_free):
25167         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25168         (gst_plugin_feature_finalize):
25169         * gst/gstregistry.c: (gst_registry_class_init),
25170         (gst_registry_init), (gst_registry_finalize),
25171         (gst_registry_get_default), (gst_registry_deinit):
25172         * gst/gstregistry.h:
25173         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25174           various cleanups and memleak plugging.  make valgrind is happy now.
25175
25176 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25177
25178         * common/check.mak:
25179           add a check-valgrind target
25180
25181 2005-09-18  David Schleef  <ds@schleef.org>
25182
25183         * tools/gst-inspect.c: Revert the GOption code.
25184
25185 2005-09-17  David Schleef  <ds@schleef.org>
25186
25187         * check/Makefile.am: Fix environment variables.
25188         * check/gst/gstplugin.c: Fix for API changes.
25189         * tools/gst-inspect.c: Fix for API changes.
25190         * tools/gst-xmlinspect.c: Fix for API changes.
25191         * gst/gstelementfactory.c:
25192         * gst/gstplugin.c:
25193         * gst/gstplugin.h:
25194         * gst/gstpluginfeature.c:
25195         * gst/gstpluginfeature.h:
25196         * gst/gstregistry.c:
25197         * gst/gstregistry.h:
25198         * gst/gstregistryxml.c:
25199         * gst/gsttypefind.c:
25200         * gst/gsttypefindfactory.c:
25201         * gst/indexers/gstfileindex.c:
25202         * gst/indexers/gstmemindex.c:
25203         * gst/schedulers/Makefile.am:
25204           Change registry to keep track of both plugins and features,
25205           removing the feature tracking from plugins themselves.
25206
25207 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25208
25209         * check/Makefile.am:
25210         * tools/gst-register.1.in:
25211           remove gst-register
25212
25213 2005-09-15  David Schleef  <ds@schleef.org>
25214
25215         * check/gst/gstplugin.c:
25216         * gst/gstelementfactory.c:
25217         * gst/gstplugin.c:
25218         * gst/gstpluginfeature.c:
25219         * gst/gstregistry.c:
25220           Getting tired of debugging.  Disabled all the unreffing of
25221           plugins and features, which fixes the segfaults, but of
25222           course leaks like crazy.  At least playbin works.
25223
25224 2005-09-15  David Schleef  <ds@schleef.org>
25225
25226         * check/gst/gstplugin.c: (register_check_elements),
25227         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25228         More testing
25229         * gst/elements/gsttypefindelement.c: Fix refcounting.
25230         * gst/gsttypefind.c:
25231         * gst/gsttypefindfactory.c:
25232         * gst/gsttypefindfactory.h:
25233
25234 2005-09-15  David Schleef  <ds@schleef.org>
25235
25236         * gst/gstindex.c: get refcounting correct.
25237         * gst/gstregistry.c: Handle the case where a feature/plugin is
25238           not found.
25239
25240 2005-09-15  David Schleef  <ds@schleef.org>
25241
25242         * check/Makefile.am:
25243         * check/gst/gstplugin.c: Add test
25244         * gst/gstplugin.c: Fix problems noticed by testsuite
25245         * gst/gstplugin.h:
25246         * gst/gstregistry.c: 
25247         * gst/gstregistry.h:
25248
25249 2005-09-15  David Schleef  <ds@schleef.org>
25250
25251         * gst/gstplugin.c: Implement semi-decent recounting and locking
25252           in plugins and plugin features.
25253         * gst/gstplugin.h:
25254         * gst/gstpluginfeature.c:
25255         * gst/gstpluginfeature.h:
25256         * gst/gstregistry.c:
25257
25258 2005-09-15  Michael Smith <msmith@fluendo.com>
25259
25260         * gst/gstregistry.c: (gst_registry_get_feature_list):
25261           Implement this. Makes oggdemux work; decodebin still broken.
25262
25263 2005-09-14  David Schleef  <ds@schleef.org>
25264
25265         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25266           #316076)
25267         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25268         * gst/check/Makefile.am:
25269         * libs/gst/controller/Makefile.am:
25270         * libs/gst/dataprotocol/Makefile.am:
25271
25272 2005-09-14  David Schleef  <ds@schleef.org>
25273
25274         * configure.ac: Remove getbits library.  Nothing uses it, and
25275           it should be in something like liboil if someone did want
25276           to use it.
25277         * libs/gst/Makefile.am:
25278         * libs/gst/getbits/Makefile.am:
25279         * libs/gst/getbits/gbtest.c:
25280         * libs/gst/getbits/getbits.c:
25281         * libs/gst/getbits/getbits.h:
25282         * libs/gst/getbits/gstgetbits_generic.c:
25283         * libs/gst/getbits/gstgetbits_i386.s:
25284         * libs/gst/getbits/gstgetbits_inl.h:
25285
25286 2005-09-14  David Schleef  <ds@schleef.org>
25287
25288         * gst/Makefile.am: Dist glib-compat.h
25289
25290 2005-09-14  David Schleef  <ds@schleef.org>
25291
25292         * configure.ac: Remove gst/registries, since it's no longer used.
25293         * gst/registries/Makefile.am:
25294         * gst/registries/gstlibxmlregistry.c:
25295         * gst/registries/gstlibxmlregistry.h:
25296         * gst/registries/gstxmlregistry.c:
25297         * gst/registries/gstxmlregistry.h:
25298         * gst/registries/registrytest.c:
25299
25300 2005-09-14  David Schleef  <ds@schleef.org>
25301
25302         * gst/glib-compat.h:
25303         * gst/gstregistryxml.c:
25304           Convergence is near.  Seriously.
25305
25306 2005-09-14  David Schleef  <ds@schleef.org>
25307
25308         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25309         * gst/glib-compat.h:
25310           Attempt #4 to appease the buildbots.
25311
25312 2005-09-14  David Schleef  <ds@schleef.org>
25313
25314         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25315           Attempt #3.
25316
25317 2005-09-14  David Schleef  <ds@schleef.org>
25318
25319         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25320         Attempt #2.
25321
25322 2005-09-14  David Schleef  <ds@schleef.org>
25323
25324         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25325           the new functions.
25326
25327 2005-09-14  David Schleef  <ds@schleef.org>
25328
25329         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25330         * gst/glib-compat.h: Add some functions that are in newer versions
25331           of glib than we care to require.
25332         * gst/gstregistryxml.c: Use them.
25333
25334 2005-09-14  David Schleef  <ds@schleef.org>
25335
25336         * po/POTFILES.in: remove gst-register.c
25337
25338 2005-09-14  David Schleef  <ds@schleef.org>
25339
25340         * docs/gst/gstreamer-docs.sgml:
25341         * docs/gst/gstreamer-sections.txt:
25342         * docs/gst/gstreamer.types:
25343         * docs/gst/tmpl/gstelement.sgml:
25344         * docs/gst/tmpl/gstplugin.sgml:
25345         * docs/gst/tmpl/gstpluginfeature.sgml:
25346           Documentation updates for registry changes.
25347
25348 2005-09-14  David Schleef  <ds@schleef.org>
25349
25350         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25351           because we don't require glib-2.8.
25352
25353 2005-09-14  David Schleef  <ds@schleef.org>
25354
25355         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25356           registries directory.
25357
25358 2005-09-14  David Schleef  <ds@schleef.org>
25359
25360         * check/Makefile.am:
25361         * check/generic/states.c:
25362         * gst/Makefile.am:
25363         * gst/gst.c:
25364         * gst/gst.h:
25365         * gst/gst_private.h:
25366         * gst/gstelementfactory.c:
25367         * gst/gstindex.c:
25368         * gst/gstinfo.c:
25369         * gst/gstplugin.c:
25370         * gst/gstplugin.h:
25371         * gst/gstpluginfeature.c:
25372         * gst/gstpluginfeature.h:
25373         * gst/gstregistry.c:
25374         * gst/gstregistry.h:
25375         * gst/gstregistrypool.c: remove
25376         * gst/gstregistrypool.h: remove
25377         * gst/gsttypefind.c:
25378         * gst/gsttypefindfactory.c:
25379         * gst/gsturi.c:
25380         * tools/Makefile.am:
25381         * tools/gst-compprep.c:
25382         * tools/gst-inspect.c:
25383         * tools/gst-register.c: remove
25384         * tools/gst-xmlinspect.c:
25385           Registry rewrite.  Changes registry from being a file created
25386           by a tool into a simple cache file created automatically by 
25387           libgstreamer.  Removed gst-register (because it's no longer
25388           needed).  Remove registry pools, because we only have one
25389           registry implementation (XML).  Fix up other subsystems as
25390           necessary.
25391
25392 2005-09-13  Michael Smith <msmith@fluendo.com>
25393
25394         * gst/gstconfig.h.in:
25395           Don't Use windows linking attributes for MinGW. Fixes #316157
25396
25397 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25398
25399         * gst/gstutils.c: (set_state_async_thread_func),
25400         (gst_element_set_state_async):
25401           Apparently people think it's better if this function doesn't
25402           try to set the state to whatever state was asked for on the first
25403           call to this function for any object.  Seriously.
25404
25405 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25406
25407         * check/gst/gstpipeline.c: (GST_START_TEST):
25408         * docs/gst/gstreamer-sections.txt:
25409         * gst/gstutils.c: (set_state_async_thread_func),
25410         (gst_element_set_state_async):
25411         * gst/gstutils.h:
25412           add a "gst_element_set_state_async" method that
25413           sets the state and starts a thread to make sure the state
25414           change completes as best as it can
25415
25416 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25417
25418         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25419           codify design+behaviour in testsuite after discussion
25420
25421 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25422
25423         * docs/gst/tmpl/gstelement.sgml:
25424         * docs/manual/appendix-quotes.xml:
25425           add a quote
25426         * gst/gstelement.c: (gst_element_set_state):
25427           add some debug
25428
25429 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25430
25431         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25432         (gst_base_transform_prepare_output_buf),
25433         (gst_base_transform_handle_buffer):
25434         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25435         (gst_capsfilter_prepare_buf):
25436           Remove the requirement for sub-classes to call the parent
25437           implementation of prepare_output_buffer with a wrapper function.
25438           
25439         * gst/gsttaglist.h:
25440         * gst/gsttagsetter.h:
25441           Fix #define wrapper
25442
25443 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25444
25445         * docs/gst/gstreamer-sections.txt:
25446           more doc cleanups
25447
25448 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25449
25450         * docs/gst/gstreamer-sections.txt:
25451         * docs/gst/tmpl/gstelement.sgml:
25452         * docs/gst/tmpl/gstplugin.sgml:
25453         * gst/gstminiobject.c:
25454         * gst/gstvalue.h:
25455           docs now stop throwing warnings
25456
25457 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25458
25459         * docs/gst/gstreamer-sections.txt:
25460         * docs/gst/gstreamer.types:
25461         * docs/gst/tmpl/gstpad.sgml:
25462         * docs/gst/tmpl/gsttypes.sgml:
25463         * gst/base/gstadapter.h:
25464         * gst/base/gstbasesink.h:
25465         * gst/base/gstbasesrc.h:
25466         * gst/gstbin.h:
25467         * gst/gstbuffer.h:
25468         * gst/gstbus.h:
25469         * gst/gstcaps.h:
25470         * gst/gstclock.h:
25471         * gst/gstelement.h:
25472         * gst/gstevent.h:
25473         * gst/gstmessage.h:
25474         * gst/gstpad.h:
25475         * gst/gststructure.c:
25476         * gst/registries/gstlibxmlregistry.h:
25477           various documentation fixes
25478
25479 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25480
25481         * docs/gst/gstreamer-sections.txt:
25482         * docs/gst/tmpl/gstvalue.sgml:
25483           rearrange gstvalue section
25484         * gst/gstutils.c: (gst_element_state_get_name):
25485           NONE -> VOID
25486         * gst/gstvalue.c: (_gst_value_initialize):
25487         * gst/gstvalue.h:
25488           doc updates
25489
25490 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25491
25492         * check/gst-libs/controller.c:
25493           Header include fix.
25494         * gst/base/gstbasetransform.c:
25495         (gst_base_transform_default_prepare_buf),
25496         (gst_base_transform_handle_buffer):
25497         * gst/base/gstbasetransform.h:
25498           Some more basetransform changes and fixes to enable sub-classes
25499           that modify buffer metadata only.
25500         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25501         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25502         (gst_capsfilter_prepare_buf):
25503           If the output pad has fixed allowed caps and input buffers 
25504           don't have any, set the fixed caps on outgoing buffers.
25505
25506 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25507         * check/elements/identity.c: (GST_START_TEST):
25508           Make the error a little clearer when the test fails because
25509           identity made a copy of the buffer.
25510         * docs/gst/gstreamer-sections.txt:
25511           New symbols in gstbasetransform.h
25512         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25513         (gst_base_transform_init), (gst_base_transform_transform_size),
25514         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25515         (gst_base_transform_default_prepare_buf),
25516         (gst_base_transform_get_unit_size),
25517         (gst_base_transform_buffer_alloc),
25518         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25519         (gst_base_transform_change_state),
25520         (gst_base_transform_set_passthrough),
25521         (gst_base_transform_set_in_place),
25522         (gst_base_transform_is_in_place):
25523         * gst/base/gstbasetransform.h:
25524           Change BaseTransform to separate in_place operate from same_caps
25525           output. in_place implies that the element can perform the transform
25526           on incoming buffers in-place, even if the caps on the output are
25527           different.
25528           Sub-class elements can now implement special buffer allocation
25529           methods for outgoing buffers if they wish to.
25530           Big documentation addition.
25531         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25532         * gst/elements/gstelements.c:
25533           Changes for basetransform modifications.
25534         * gst/elements/Makefile.am:
25535         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25536           Compile fix. Extra debug output.
25537
25538 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25539
25540         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25541         (gst_pad_suite):
25542           add tests for valid pad naming
25543         * gst/check/gstcheck.c: (gst_check_log_message_func),
25544         (gst_check_log_critical_func):
25545           add ASSERT_WARNING
25546           remove printing of code, it is fragile when the code contains
25547           % and the line number is enough info
25548         * gst/check/gstcheck.h:
25549         * gst/gstpad.c: (gst_pad_template_new):
25550           fix memleaks
25551
25552 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25553
25554         * configure.ac:
25555           say what CHECK flags we use
25556         * docs/libs/gstreamer-libs.types:
25557         * libs/gst/controller/Makefile.am:
25558         * libs/gst/controller/gst-controller.c:
25559         * libs/gst/controller/gst-controller.h:
25560         * libs/gst/controller/gst-helper.c:
25561         * libs/gst/controller/gst-interpolation.c:
25562         * libs/gst/controller/gstcontroller.c:
25563         * libs/gst/controller/gsthelper.c:
25564         * libs/gst/controller/gstinterpolation.c:
25565         * tools/gst-inspect.c: (print_plugin_info):
25566           we don't use dashes in header names
25567
25568 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25569
25570         * check/Makefile.am:
25571         * check/gst/.cvsignore:
25572         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25573         (gst_pipeline_suite), (main):
25574           adding a test for pipelines and state changes
25575         * gst/gstutils.c: (get_state_func):
25576           add some debugging
25577         * gstreamer.spec.in:
25578           fix up spec file
25579
25580 2005-09-08  Michael Smith <msmith@fluendo.com>
25581
25582         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25583         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25584         (gst_file_src_is_seekable), (gst_file_src_get_size),
25585         (gst_file_src_start):
25586         * gst/elements/gstfilesrc.h:
25587           Various fixes for unseekable, unmmapable, and non-normal files, so
25588           that fallback to read() rather than mmap() works.
25589         * gst/gstevent.c: (gst_event_new_newsegment):
25590           Allow newsegment events with segment_start == segment_end, as will
25591           correctly happen if you use filesrc on a zero-size file, for
25592           example.
25593
25594 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25595
25596         * gst/gstplugin.c: (gst_plugin_load_file):
25597           Call g_module_close when we don't load the module
25598
25599         * gst/registries/gstlibxmlregistry.c:
25600         (gst_xml_registry_get_property):
25601           Port leak fix from 0.8
25602
25603 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25604
25605         * docs/gst/gstreamer-docs.sgml:
25606         * docs/gst/tmpl/.cvsignore:
25607         * docs/gst/tmpl/gsttrace.sgml:
25608         * docs/gst/tmpl/gsttrashstack.sgml:
25609         * gst/Makefile.am:
25610         * gst/gst.h:
25611         * gst/gstelement.h:
25612         * gst/gstevent.h:
25613         * gst/gstmessage.c:
25614         * gst/gstmessage.h:
25615         * gst/gsttag.c:
25616         * gst/gsttag.h:
25617         * gst/gsttaginterface.c:
25618         * gst/gsttaginterface.h:
25619         * gst/gsttaglist.c:
25620         * gst/gsttaglist.h:
25621         * gst/gsttagsetter.c:
25622         * gst/gsttagsetter.h:
25623         * gst/gsttrace.c:
25624         * gst/gsttrace.h:
25625         * gst/gsttrashstack.c:
25626           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25627           inlined docs for gsttrace, gsttrashstack
25628
25629 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25630
25631         * gst/Makefile.am:
25632         * gst/elements/gstbufferstore.h:
25633         * gst/elements/gsttypefindelement.c:
25634         * gst/elements/gsttypefindelement.h:
25635         * gst/gst.h:
25636         * gst/gsttypefind.c:
25637         * gst/gsttypefind.h:
25638         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25639         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25640         (gst_type_find_factory_dispose),
25641         (gst_type_find_factory_unload_thyself),
25642         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25643         (gst_type_find_factory_get_caps),
25644         (gst_type_find_factory_get_extensions),
25645         (gst_type_find_factory_call_function):
25646         * gst/gsttypefindfactory.h:
25647         * gst/registries/gstlibxmlregistry.c:
25648         * gst/registries/gstxmlregistry.c:
25649           splitted gsttypefind into gsttypefind, gsttypefindfactory
25650
25651 2005-09-07  Andy Wingo  <wingo@pobox.com>
25652
25653         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25654         condition whereby the pad's task function is entered before the
25655         pad_mode variable was set.
25656
25657 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25658
25659         * gst/gstpad.c: (gst_pad_alloc_buffer):
25660           Catch misbehaving pad_alloc functions that don't
25661           set up caps and do it for them.
25662
25663 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25664
25665         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25666           test for pipe!=NULL
25667         * docs/gst/tmpl/.cvsignore:
25668         * docs/gst/tmpl/gstmemchunk.sgml:
25669         * docs/gst/tmpl/gstparse.sgml:
25670         * docs/gst/tmpl/gsttaglist.sgml:
25671         * docs/gst/tmpl/gsttagsetter.sgml:
25672         * docs/gst/tmpl/gsttypefind.sgml:
25673         * docs/gst/tmpl/gsttypefindfactory.sgml:
25674         * gst/gstmemchunk.c:
25675         * gst/gstparse.c:
25676         * gst/gsttag.c:
25677         * gst/gsttaginterface.c:
25678         * gst/gsttypefind.c:
25679         * gst/gsttypefind.h:
25680           inlined more docs
25681
25682 === release 0.9.2 ===
25683
25684 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25685
25686         * NEWS:
25687         * RELEASE:
25688         * configure.ac:
25689           releasing 0.9.2, "South"
25690
25691 2005-09-05  Andy Wingo  <wingo@pobox.com>
25692
25693         * gst/registries/gstxmlregistry.h:
25694         * gst/registries/gstxmlregistry.c: Um... resurrect...
25695         
25696         * gst/registries/gstxmlregistry.h:
25697         * gst/registries/gstxmlregistry.c: and update to newer API.
25698         Incidentally they should be a bit faster now that they don't have
25699         to parse the caps.
25700         
25701 2005-09-05  Andy Wingo  <wingo@pobox.com>
25702
25703         * gst/registries/gstxmlregistry.h:
25704         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25705         replaced by the libxml registry a while back
25706
25707 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25708
25709         * docs/gst/tmpl/gstplugin.sgml:
25710         * gst/elements/gstelements.c:
25711         * gst/gst.c:
25712         * gst/gstplugin.c: (gst_plugin_register_func),
25713         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25714         (gst_plugin_get_source):
25715         * gst/gstplugin.h:
25716         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25717         (gst_xml_registry_save_plugin):
25718         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25719         (gst_xml_registry_save_plugin):
25720         * tools/gst-inspect.c: (print_plugin_info):
25721           add a "source" plugin description field, to represent the source
25722           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25723           will set it to PACKAGE, which is automake's idea of the name of
25724           the source project.
25725
25726 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25727
25728         * Makefile.am:
25729         * autogen.sh:
25730         * configure.ac:
25731         * docs/Makefile.am:
25732         * docs/faq/Makefile.am:
25733         * docs/gst/tmpl/gstelement.sgml:
25734         * docs/gst/tmpl/gsttypes.sgml:
25735         * docs/htmlinstall.mak:
25736         * docs/manual/Makefile.am:
25737         * docs/pwg/Makefile.am:
25738           reorganize doc build a little
25739           split out docbook and gtk-doc stuff
25740           have two separate --enable's and enable them through autogen
25741           but disable by default in configure (to be similar to other
25742           projects)
25743         * gstreamer.spec.in:
25744           clean up docs install
25745         * po/af.po:
25746         * po/az.po:
25747         * po/ca.po:
25748         * po/cs.po:
25749         * po/de.po:
25750         * po/en_GB.po:
25751         * po/fr.po:
25752         * po/it.po:
25753         * po/nb.po:
25754         * po/nl.po:
25755         * po/ru.po:
25756         * po/sq.po:
25757         * po/sr.po:
25758         * po/sv.po:
25759         * po/tr.po:
25760         * po/uk.po:
25761         * po/vi.po:
25762           translation updates
25763
25764 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25765
25766         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25767           Add comment.
25768           
25769         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25770         (gst_fake_sink_change_state):
25771           Make state change function thread-safe.
25772           
25773         * gst/gstpad.c: (gst_pad_alloc_buffer):
25774           Set offset on generic buffer allocated by fallback.
25775
25776 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25777
25778         * docs/gst/gstreamer-sections.txt:
25779         * docs/gst/tmpl/gstelement.sgml:
25780         * gst/gstpad.c:
25781         * libs/gst/controller/gst-controller.c:
25782         (gst_controlled_property_set_interpolation_mode),
25783         (gst_controlled_property_new),
25784         (gst_controller_find_controlled_property):
25785          run the wingo-magic script against the docs
25786
25787 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25788
25789         * docs/gst/gstreamer-docs.sgml:
25790         * docs/gst/gstreamer-sections.txt:
25791         * docs/gst/tmpl/.cvsignore:
25792         * docs/gst/tmpl/gstelementdetails.sgml:
25793         * docs/gst/tmpl/gstelementfactory.sgml:
25794         * gst/gst.c:
25795         * gst/gstbus.c:
25796         * gst/gstelementfactory.c:
25797         * gst/gstelementfactory.h:
25798           merged elementdetails docs into elementfactory docs
25799           inlined both
25800
25801 2005-09-02  Andy Wingo  <wingo@pobox.com>
25802
25803         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25804         consider this enum an enum and not a flags.
25805
25806 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25807
25808         * docs/gst/gstreamer-docs.sgml:
25809         * docs/gst/tmpl/.cvsignore:
25810         * docs/gst/tmpl/gstghostpad.sgml:
25811         * docs/gst/tmpl/gstiterator.sgml:
25812         * docs/gst/tmpl/gstmacros.sgml:
25813         * docs/gst/tmpl/gstrealpad.sgml:
25814         * docs/gst/tmpl/gstregistry.sgml:
25815         * docs/gst/tmpl/gstregistrypool.sgml:
25816         * docs/gst/tmpl/gststructure.sgml:
25817         * docs/gst/tmpl/gstsystemclock.sgml:
25818         * docs/gst/tmpl/gsttrace.sgml:
25819         * gst/gstghostpad.c:
25820         * gst/gstmacros.h:
25821         * gst/gstmemchunk.c:
25822         * gst/gstmemchunk.h:
25823         * gst/gstqueue.c:
25824         * gst/gstregistry.c:
25825         * gst/gstregistrypool.c:
25826         * gst/gststructure.c:
25827         * gst/gstsystemclock.c:
25828           more docs inlined
25829
25830 2005-09-02  Andy Wingo  <wingo@pobox.com>
25831
25832         * gst/gstelement.h (GstState): Renamed from GstElementState,
25833         changed to be a normal enum instead of flags.
25834         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25835         munged to be GST_STATE_CHANGE_*.
25836         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25837         work with the new state representation.
25838         (GstStateChange): New enumeration of possible state transitions.
25839         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25840         (GstElementClass::change_state): Pass the GstStateChange along as
25841         an argument. Helps language bindings, so they don't have to use
25842         tricky lock-needing macros like GST_STATE_CHANGE ().
25843
25844         * scripts/update-states (file): New script. Run it on a file to
25845         update it for state naming and API changes. Updates files in
25846         place.
25847
25848         * All files updated for the new API.
25849
25850 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25851
25852         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25853         * gst/gstutils.c: (gst_util_set_value_from_string),
25854         (gst_util_set_object_arg):
25855           fix a bunch of unchecked return values
25856         * tools/gst-complete.c: (main):
25857         * gstreamer.spec.in:
25858           clean up a little
25859
25860 2005-09-01  Wim Taymans  <wim@fluendo.com>
25861
25862         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25863         (gst_base_sink_event), (gst_base_sink_do_sync),
25864         (gst_base_sink_handle_event):
25865         * gst/base/gstbasesink.h:
25866         Handle newsegments more correctly.
25867
25868         * gst/gstbus.c:
25869         Fix docs.
25870
25871         * gst/gstevent.c: (gst_event_new_newsegment):
25872         A newsegment cannot have a start_time of -1
25873
25874 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25875
25876         * win32/gstenumtypes.c:
25877         * win32/gstenumtypes.h:
25878           Update
25879
25880 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25881
25882         * libs/gst/controller/gst-controller.c:
25883         (gst_controlled_property_set_interpolation_mode),
25884         (gst_controlled_property_new):
25885          fixed boolean again
25886
25887 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25888
25889         * docs/faq/gst-uninstalled:
25890           add -good
25891         * gst/gstevent.c:
25892         * gst/gstevent.h:
25893           remove wrong docs
25894         * gst/gstutils.c: (gst_element_link_filtered):
25895         * gst/gstutils.h:
25896           add gst_element_link_filtered
25897
25898 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25899
25900         * docs/gst/gstreamer-docs.sgml:
25901         * docs/gst/gstreamer-sections.txt:
25902         * docs/gst/tmpl/.cvsignore:
25903         * docs/gst/tmpl/gsterror.sgml:
25904         * docs/gst/tmpl/gstfilter.sgml:
25905         * docs/gst/tmpl/gsturihandler.sgml:
25906         * docs/gst/tmpl/gsturitype.sgml:
25907         * docs/gst/tmpl/gstutils.sgml:
25908         * docs/gst/tmpl/gstxml.sgml:
25909         * gst/gsterror.c:
25910         * gst/gsterror.h:
25911         * gst/gstfilter.c:
25912         * gst/gsturi.c:
25913         * gst/gsturitype.c:
25914         * gst/gstutils.c:
25915         * gst/gstxml.c:
25916           inlined more docs, fixed double id-ref
25917
25918 2005-08-31  Wim Taymans  <wim@fluendo.com>
25919
25920         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25921         (gst_base_transform_handle_buffer):
25922         Passthrough elements don't need the caps as they don't care.
25923
25924 2005-08-31  Wim Taymans  <wim@fluendo.com>
25925
25926         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25927         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25928         Don't leak refcounts on buffers.
25929
25930 2005-08-31  Wim Taymans  <wim@fluendo.com>
25931
25932         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25933         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25934         (gst_base_transform_chain), (gst_base_transform_change_state):
25935         * gst/base/gstbasetransform.h:
25936         Handle the case where we are not negotiated more gracefully.
25937
25938 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25939
25940         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25941         (gst_file_src_map_region):
25942           Set READONLY flag on mmap'ed buffers, otherwise
25943           gst_buffer_make_writable() won't work properly (#314708).
25944
25945 2005-08-31  Wim Taymans  <wim@fluendo.com>
25946
25947         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25948         passthrough elements can even do inplace on non writable
25949         buffers (as they don't touch them).
25950
25951 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25952
25953         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25954         (gst_test_mono_source_set_property),
25955         (gst_test_mono_source_class_init), (GST_START_TEST),
25956         (gst_controller_suite):
25957           more tests (hehe I have the most)
25958         * gst/gstbus.c:
25959           describe popping messages whenusing mulltiple sources
25960         * libs/gst/controller/gst-controller.c:
25961         (gst_controlled_property_set_interpolation_mode),
25962         (gst_controlled_property_new):
25963         * libs/gst/controller/gst-controller.h:
25964         * libs/gst/controller/gst-interpolation.c:
25965           implement boolean properties
25966
25967 2005-08-31  Wim Taymans  <wim@fluendo.com>
25968
25969         * gst/gstminiobject.c: (gst_mini_object_ref):
25970         Cannot assert that the refcount has to be positive
25971         since a disposed object can be resurrected.
25972
25973 2005-08-31  Wim Taymans  <wim@fluendo.com>
25974
25975         * gst/gstpad.c: (gst_pad_init):
25976         Revert change, need to first fix badly behaving 
25977         apps.
25978
25979 2005-08-30  Wim Taymans  <wim@fluendo.com>
25980
25981         * check/elements/fakesrc.c: (setup_fakesrc):
25982         * check/elements/identity.c: (setup_identity):
25983         Activate pads before using them.
25984
25985 2005-08-30  Wim Taymans  <wim@fluendo.com>
25986
25987         * gst/base/gstadapter.c: (gst_adapter_flush):
25988         Flushing out 0 bytes is ok for this function.
25989
25990         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25991         no newsegment gives a warning and sets the start/stop to 
25992         invalid.
25993
25994         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25995         (gst_base_transform_set_passthrough):
25996         Some debug info.
25997
25998         * gst/gstminiobject.c: (gst_mini_object_ref):
25999         Check refcount here too.
26000
26001         * gst/gstpad.c: (gst_pad_init):
26002         Pads are initially flushing and refusing data.
26003
26004         * gst/gstutils.c: (gst_element_link_pads_filtered):
26005         When adding a capsfilter element make sure it has the
26006         same state as the parent bin.
26007
26008 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26009
26010         * docs/gst/tmpl/.cvsignore:
26011         * docs/gst/tmpl/gstformat.sgml:
26012         * docs/gst/tmpl/gstversion.sgml:
26013         * gst/gstbus.h:
26014         * gst/gstformat.c:
26015         * gst/gstformat.h:
26016         * gst/gstversion.h.in:
26017           more docs and two more inlined
26018
26019 2005-08-30  Wim Taymans  <wim@fluendo.com>
26020
26021         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26022         Don't sync to clock.
26023
26024 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26025
26026         * docs/gst/gstreamer-sections.txt:
26027           ultral33t func10ns deserve to appear in the docs actually
26028         * docs/gst/tmpl/.cvsignore:
26029         * docs/gst/tmpl/gstcompat.sgml:
26030         * docs/gst/tmpl/gstconfig.sgml:
26031         * gst/check/gstcheck.c:
26032         * gst/gstcompat.h:
26033         * gst/gstconfig.h.in:
26034           inlined more docs
26035
26036 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26037
26038         * docs/gst/tmpl/.cvsignore:
26039         * docs/gst/tmpl/gstquery.sgml:
26040         * docs/gst/tmpl/gstutils.sgml:
26041         * gst/gstquery.c:
26042         * gst/gstquery.h:
26043           inlined and extended docs
26044
26045 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26046
26047         * check/gst-libs/controller.c: (GST_START_TEST),
26048         (gst_controller_suite):
26049           more tests
26050         * docs/gst/tmpl/gstutils.sgml:
26051         * docs/libs/gstreamer-libs-sections.txt:
26052         * docs/libs/tmpl/gstdataprotocol.sgml:
26053           include path fixes
26054         * examples/controller/audio-example.c: (main):
26055           controller example works now
26056         * gst/gstclock.h:
26057           doc fixes
26058         * tools/gst-inspect.c: (print_element_properties_info):
26059           show param spec flags
26060
26061 2005-08-29  Andy Wingo  <wingo@pobox.com>
26062
26063         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26064
26065 2005-08-28  Andy Wingo  <wingo@pobox.com>
26066
26067         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26068         as having two arguments instead of just one. Allows superclasses
26069         to access information on subclasses -- see the terrible for() loop
26070         in gtype.c:g_type_create_instance for the reason why. All callers
26071         changed.
26072
26073 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26074
26075         * docs/design/part-messages.txt:
26076           update info
26077         * docs/gst/tmpl/.cvsignore:
26078         * docs/gst/tmpl/gstcaps.sgml:
26079         * docs/gst/tmpl/gstclock.sgml:
26080         * gst/gstbus.c:
26081         * gst/gstcaps.c:
26082         * gst/gstcaps.h:
26083         * gst/gstclock.c:
26084         * gst/gstclock.h:
26085         * gst/gstmessage.c:
26086           added descriptions for bus and message
26087           inline caps and clock docs
26088
26089 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26090
26091         * gst/gstmessage.c:
26092         * gst/gstmessage.h:
26093           doc fixes
26094
26095 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26096
26097         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26098           fix div-by-zero
26099
26100 2005-08-26  Andy Wingo  <wingo@pobox.com>
26101
26102         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26103         element_set_state's return val.
26104         (test_2_elements): Add test that's been disabled for months.
26105
26106         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26107         can-activate-pull properties.
26108
26109         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26110         can-activate-pull properties. Implement is_seekable so fakesrc can
26111         operate in pull mode.
26112
26113         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26114         properties.
26115         (gst_base_sink_activate, gst_base_sink_activate_pull)
26116         (gst_base_sink_activate_push): Make activation mode choosing work.
26117         Cleanups.
26118         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26119         is right. Make pull mode work. Post an eos before pausing in pull
26120         mode.
26121         (gst_base_sink_change_state): Pay attention to the core's
26122         change_state() return val.
26123         
26124         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26125         has-getrange properties. Cleanups.
26126         
26127         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26128         has_getrange and replace with can_activate_pull and
26129         can_activate_push.
26130
26131         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26132         locking comments. Remove has_loop, has_chain and replace with
26133         can_activate_pull and can_activate_push.
26134
26135 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26136
26137         * configure.ac:
26138         * examples/Makefile.am:
26139         * examples/metadata/Makefile.am:
26140         * examples/metadata/read-metadata.c: (message_loop),
26141         (have_pad_handler), (make_pipeline), (print_tag), (main):
26142           Add metadata reading example that loops over a list of filenames,
26143           dumping any tags found.
26144
26145         * gst/gstbus.c: (gst_bus_dispose):
26146         * gst/gstelement.c: (gst_element_dispose):
26147           Release a few potentially-held references in dispose.
26148
26149 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26150
26151         * docs/gst/tmpl/gstminiobject.sgml:
26152           do *not* add tmpl/*.sgml files to CVS!
26153
26154 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26155
26156         * libs/gst/bytestream/.cvsignore:
26157         * libs/gst/bytestream/Makefile.am:
26158         * libs/gst/bytestream/adapter.c:
26159         * libs/gst/bytestream/adapter.h:
26160         * libs/gst/bytestream/bytestream.c:
26161         * libs/gst/bytestream/bytestream.h:
26162         * libs/gst/bytestream/filepad.c:
26163         * libs/gst/bytestream/filepad.h:
26164           removing obsolete files
26165
26166 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26167
26168         * docs/gst/gstreamer-docs.sgml:
26169         * docs/libs/gstreamer-libs-docs.sgml:
26170           disabed additional index entries again, as this makes docs-gen just
26171           slow and they aren't useful yet
26172         * docs/libs/gstreamer-libs-sections.txt:
26173           little -section.txt cleanup for libs
26174
26175 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26176
26177         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26178         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26179           fix up some debugging
26180         (gst_base_transform_get_unit_size),
26181         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26182         (gst_base_transform_handle_buffer):
26183         * gst/base/gstbasetransform.h:
26184           handle and store timed NEWSEGMENT events so that subclasses that
26185           calculate time by counting samples have a segment_start time they
26186           need to add to their timestamps - see audioresample
26187
26188 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26189
26190         * gst/gstbin.h:
26191           removed ';' from the end of macro defs
26192         * docs/gst/gstreamer-docs.sgml:
26193         * docs/gst/gstreamer-sections.txt:
26194         * docs/gst/tmpl/.cvsignore:
26195         * gst/gstbus.h:
26196         * gst/gstelement.c: (gst_element_class_init),
26197         (gst_element_set_state), (activate_pads),
26198         (gst_element_save_thyself):
26199         * gst/gstevent.c: (gst_event_new_newsegment):
26200         * gst/gstevent.h:
26201         * gst/gstiterator.c:
26202         * gst/gstiterator.h:
26203         * gst/gstpad.c:
26204         * gst/gstprobe.h:
26205         * gst/gstutils.c: (gst_pad_query_convert):
26206         * gst/gstutils.h:
26207           fixed parameter name mismatches between source, header and docs
26208           added some more docs, resolved the last batch of unused elements in
26209           docs (now someone needs to doc them)
26210
26211 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26212
26213         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26214         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26215           don't walk through the plugins backwards.  Where is all this
26216           reversed logic coming from ?
26217
26218 2005-08-25  Wim Taymans  <wim@fluendo.com>
26219
26220         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26221         (gst_base_transform_transform_size),
26222         (gst_base_transform_configure_caps),
26223         (gst_base_transform_get_unit_size),
26224         (gst_base_transform_buffer_alloc),
26225         (gst_base_transform_change_state):
26226         * gst/base/gstbasetransform.h:
26227         Cache caps unit_size.
26228         Make sure we cannot negotiate up and downstream at the
26229         same time.
26230
26231 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26232
26233         * gst/gst.c: (init_pre), (init_post):
26234           register the installed plugin path after the env var
26235         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26236         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26237           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26238           directories, so the tests can prefer uninstalled over installed
26239
26240 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26241
26242         * gst/base/gstbasetransform.h:
26243           comment
26244         * gst/gstpad.c:
26245           add to docs
26246
26247 2005-08-25  Wim Taymans  <wim@fluendo.com>
26248
26249         * gst/gstbin.c: (bin_bus_handler):
26250         Be a bit more conservative about the posted message.
26251         
26252         * gst/gstbus.c: (gst_bus_post):
26253         Some cleanups, warn wrong return values.
26254
26255 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26256
26257         * check/gst/gstbin.c: (GST_START_TEST):
26258         * gst/gstbin.c: (bin_bus_handler):
26259         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26260         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26261         (gst_message_new_warning), (gst_message_new_tag),
26262         (gst_message_new_state_changed), (gst_message_new_segment_start),
26263         (gst_message_new_segment_done), (gst_message_new_custom):
26264         * gst/gstmessage.h:
26265         * tools/gst-launch.c: (event_loop):
26266         * tools/gst-md5sum.c: (event_loop):
26267           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26268
26269 2005-08-25  Wim Taymans  <wim@fluendo.com>
26270
26271         * check/generic/states.c: (GST_START_TEST):
26272         Cleanup can be done at the end.
26273
26274         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26275         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26276         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26277         Oh boy.. Thanks for finding this, Thomas. 
26278
26279 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26280
26281         * docs/gst/gstreamer.types:
26282           added missing types
26283
26284 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26285
26286         * docs/gst/gstreamer-docs.sgml:
26287         * docs/gst/gstreamer-sections.txt:
26288         * docs/gst/tmpl/.cvsignore:
26289         * gst/gstbin.c:
26290         * gst/gstiterator.c:
26291         * gst/gstutils.c:
26292         * gst/registries/gstxmlregistry.h:
26293           added missing classes and symbols (123 more to go)
26294           removed removed symbols from section file
26295           fixed many doc-comments
26296
26297 2005-08-24  Wim Taymans  <wim@fluendo.com>
26298
26299         * check/generic/states.c: (GST_START_TEST):
26300         Make sure all tasks are stopped.
26301
26302         * check/gst/gstbin.c: (GST_START_TEST):
26303         Unref after usage for proper valgrinding.
26304
26305         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26306         Really wait for the task to stop before destroying the
26307         mutex.
26308
26309         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26310         (gst_queue_src_activate_push):
26311         Small cleanups. Don't stop the task when we did not start
26312         it.
26313
26314         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26315         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26316         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26317         (gst_task_join):
26318         * gst/gsttask.h:
26319         Protect the stream lock with the object lock.
26320         Disallow setting the stream lock when running.
26321         Add cleanup_all to wait for the threadpool to finish.
26322         Remove code to autoallocate a mutex if none was provided.
26323         Add _join() to wait for a task to stop.
26324         Protect the thread pool with a global lock.
26325
26326 2005-08-24  Wim Taymans  <wim@fluendo.com>
26327
26328         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26329         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26330         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26331         * gst/base/gstbasesink.h:
26332         Handle newsegment events correctly.
26333         Drop buffers out of the segment range.
26334
26335 2005-08-22  Andy Wingo  <wingo@pobox.com>
26336
26337         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26338         macro, implements an interface and gstimplementsinterface for a
26339         new type.
26340
26341 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26342
26343         * check/Makefile.am:
26344         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26345           add a test that does a bunch of state changes on elements
26346           needs some fixing for valgrind
26347         * check/states/sinks.c: (gst_object_suite):
26348           whitespace
26349         * gst/gstcaps.h:
26350           add prototype for gst_caps_is_equal_fixed
26351         * gst/gstplugin.c:
26352         * gst/gstregistrypool.c:
26353           doc fixes
26354
26355 2005-08-24  Andy Wingo  <wingo@pobox.com>
26356
26357         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26358         convert a negative value. Doesn't make much sense. Mostly this is
26359         here to force callers to ensure -1 maps to -1.
26360
26361 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26362
26363         * docs/pwg/advanced-types.xml:
26364           Well done to Michael for catching my deliberate introduction
26365           of this spelling mistake. 
26366         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26367         * gst/gstelement.h:
26368           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26369           unlink pads before removing the element from the bin.
26370
26371 2005-08-24  Andy Wingo  <wingo@pobox.com>
26372
26373         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26374         the same thing as GST_DEBUG=*:4.
26375         (parse_debug_level, parse_debug_category): New helper parsers.
26376
26377 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26378
26379         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26380         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26381         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26382         (gst_base_transform_buffer_alloc),
26383         (gst_base_transform_handle_buffer):
26384           use gboolean return values and pointers to size so we can use the
26385           full GST_BUFFER_SIZE range (guint) for buffer sizes
26386           use GstPadDirection for transform_caps
26387         * gst/base/gstbasetransform.h:
26388           rename get_size to get_unit_size since that's what it is
26389         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26390           use GstPadDirection for transform_caps
26391         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26392         * gst/gstutils.h:
26393           cleanup and debugging
26394
26395 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26396
26397         * gst/gstelement.c: (gst_element_class_init),
26398         (gst_element_set_state), (activate_pads),
26399         (gst_element_save_thyself):
26400         * tools/gst-compprep.c: (main):
26401         * tools/gst-inspect.c: (print_element_properties_info):
26402         * tools/gst-xmlinspect.c: (print_element_properties):
26403           Fixed long standing mem-leak
26404
26405 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26406
26407         * check/gst/gstbin.c: (GST_START_TEST):
26408         * gst/gstbin.c: (bin_bus_handler):
26409         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26410         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26411         (gst_message_new_warning), (gst_message_new_tag),
26412         (gst_message_new_state_changed), (gst_message_new_segment_start),
26413         (gst_message_new_segment_done), (gst_message_new_custom):
26414         * gst/gstmessage.h:
26415         * tools/gst-launch.c: (event_loop):
26416         * tools/gst-md5sum.c: (event_loop):
26417           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26418           that applications can sensibly post custom messages with references
26419           to their own objects.
26420
26421 2005-08-24  Andy Wingo  <wingo@pobox.com>
26422
26423         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26424         already.
26425
26426 2005-08-24  Wim Taymans  <wim@fluendo.com>
26427
26428         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26429         (gst_base_transform_transform_caps),
26430         (gst_base_transform_transform_size),
26431         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26432         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26433         (gst_base_transform_handle_buffer):
26434         * gst/base/gstbasetransform.h:
26435         Many fixes and new features added by Thomas. Can now also do
26436         transforms with variable sizes and a custom fixate_caps function.
26437
26438 2005-08-24  Wim Taymans  <wim@fluendo.com>
26439
26440         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26441         Some debugging.
26442
26443         * gst/gstclock.h:
26444         Cast to ClockTime before formatting to time.
26445
26446         * gst/gstutils.h:
26447         Cleanups.
26448
26449 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26450
26451         * check/gst-libs/controller.c: (GST_START_TEST),
26452         (gst_controller_suite):
26453         * docs/gst/tmpl/gstcaps.sgml:
26454         * docs/gst/tmpl/gstghostpad.sgml:
26455         * docs/gst/tmpl/gstquery.sgml:
26456         * docs/gst/tmpl/gstutils.sgml:
26457         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26458         (gst_object_sink_values), (gst_object_get_value_arrays),
26459         (gst_object_get_value_array):
26460           gracefully handle helper method calls to objects that are not beeing
26461           controlled, added test case for that          
26462
26463 2005-08-23  Wim Taymans  <wim@fluendo.com>
26464
26465         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26466         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26467         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26468         (gst_event_parse_qos), (gst_event_new_seek),
26469         (gst_event_parse_seek):
26470         * gst/gstevent.h:
26471         Some more debugging output and doc cleanups.
26472
26473         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26474         Fix possible deadlock.
26475
26476 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26477
26478         * docs/gst/gstreamer-docs.sgml:
26479         * docs/gst/gstreamer-sections.txt:
26480         * docs/gst/gstreamer.types:
26481         * docs/gst/tmpl/.cvsignore:
26482         * gst/gstbin.h:
26483         * gst/gstbus.c:
26484         * gst/gstelement.c:
26485         * gst/gstevent.h:
26486           added 100 symbols from gstreamer-unused.txt to the right sections
26487           fixed more broken comments
26488           added GstBus to docs
26489
26490 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26491
26492         * docs/gst/gstreamer-sections.txt:
26493         * docs/gst/tmpl/.cvsignore:
26494         * docs/gst/tmpl/gstbin.sgml:
26495         * docs/gst/tmpl/gstbuffer.sgml:
26496         * gst/base/gstbasesrc.c:
26497         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26498         * gst/gstbuffer.c:
26499         * gst/gstbuffer.h:
26500         * tools/gst-launch.1.in:
26501           inlined more doc comments, added missing comments and fixed comments
26502           fixed typos
26503
26504 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26505
26506         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26507           some debugging
26508         * gst/gstcaps.h:
26509           whitespace fixes
26510         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26511           more debugging
26512         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26513         * gst/gststructure.h:
26514           add a fixate function for booleans; add a FIXME that these func
26515           names should probably be gst_structure_fixate_*
26516
26517 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26518
26519         * docs/gst/gstreamer-docs.sgml:
26520         * docs/gst/gstreamer-sections.txt:
26521         * gst/Makefile.am:
26522         * gst/gstbin.c: (gst_bin_get_type),
26523         (gst_bin_child_proxy_get_child_by_index),
26524         (gst_bin_child_proxy_get_children_count),
26525         (gst_bin_child_proxy_init):
26526         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26527         (gst_child_proxy_get_child_by_index),
26528         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26529         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26530         (gst_child_proxy_get), (gst_child_proxy_set_property),
26531         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26532         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26533         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26534         * gst/gstchildproxy.h:
26535         * gst/parse/grammar.y:
26536         * tools/gst-inspect.c: (print_interfaces),
26537         (print_element_properties_info), (print_element_info):
26538           ported gstchildproxy over from 0.8
26539           ported gst-inspect fixes and enhancements over from 0.8
26540
26541 2005-08-22  Wim Taymans  <wim@fluendo.com>
26542
26543         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26544         (gst_base_transform_handle_buffer):
26545         Also call the transform function if we have ANY caps.
26546
26547         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26548         Fix debug info.
26549
26550 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26551
26552         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26553           Don't pretend to handle seek events if the source is not seekable
26554
26555 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26556
26557         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26558           Remove extra parameter to debug output
26559
26560         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26561         (gst_base_src_do_seek), (gst_base_src_activate_push):
26562           Fix seek event handling.
26563
26564         * gst/gstpipeline.c: (gst_pipeline_change_state):
26565         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26566         (gst_queue_src_activate_push):
26567           Don't start the src pad task on FLUSH_STOP if the pad
26568           isn't linked.
26569           Debug changes.
26570
26571 2005-08-22  Wim Taymans  <wim@fluendo.com>
26572
26573         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26574         Added check for gst_static_caps_get() refcounting.
26575
26576 2005-08-22  Wim Taymans  <wim@fluendo.com>
26577
26578         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26579         Make _static_caps_get() refcounting sane.
26580         
26581         * gst/gstelement.c: (gst_element_set_state):
26582         Add g_return_val_if_fail() to protect against segfaults.
26583
26584 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26585
26586         * docs/gst/tmpl/gstevent.sgml:
26587         * gst/gstevent.c:
26588         * gst/gstevent.h:
26589           inlined remaining docs, added missing doc comments
26590
26591 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26592
26593         * check/gst/gstbin.c: (GST_START_TEST):
26594           since we don't know when preroll is done, use refcount range
26595           check for the sink
26596         * gst/check/gstcheck.h:
26597           add macro for checking refcount range
26598
26599 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26600
26601         * check/Makefile.am:
26602           clean up environment for when registry gets built versus
26603           when actual tests are run; valgrind seems to not report
26604           leaks if GST_PLUGIN_PATH is set to some specific values
26605         * check/gst/gstbin.c: (GST_START_TEST):
26606           add more refcounting checks; maybe this exposes a
26607           preroll lock bug ?
26608         * common/check.mak:
26609         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26610         * gst/check/gstcheck.h:
26611         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26612         (gst_bin_change_state):
26613         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26614           add/fix debugging/whitespace
26615
26616 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26617
26618         * check/gst/gstevent.c: (event_probe), (test_event),
26619         (GST_START_TEST):
26620          Er, don't call gst_bin_watch_for_state_change you idiot.
26621
26622 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26623
26624         * check/Makefile.am:
26625           Use CHECK_CFLAGS and CHECK_LIBS
26626         * check/gst/gstevent.c: (event_probe), (test_event),
26627         (GST_START_TEST):
26628           Don't leak events.
26629         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26630         (gst_base_src_start), (gst_base_src_stop),
26631         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26632         (gst_base_src_change_state):
26633           Sprinkle gst_base_src_stop liberally around error paths to fix
26634           problems reusing a source after failed state changes.
26635         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26636         (helper_find_suggest), (gst_type_find_helper):
26637           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26638         * gst/gstevent.h:
26639         * docs/gst/tmpl/gstevent.sgml:
26640           Migrate part of the docs from the SGML file. Wait for ensonic to
26641           tell me how I did it wrong ;)
26642         * tools/gst-typefind.c: (main):
26643           Extra robustness to state changes between files.
26644
26645 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26646
26647         * check/Makefile.am:
26648           don't valgrind the controller test - it's leaking - Stefan, HELP
26649         * gst/check/gstcheck.c: (gst_check_message_error),
26650         (gst_check_chain_func), (gst_check_setup_element),
26651         (gst_check_teardown_element), (gst_check_setup_src_pad),
26652         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26653         (gst_check_teardown_sink_pad):
26654         * gst/check/gstcheck.h:
26655           add a bunch of methods to set up elements, and src and sink pads
26656         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26657         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26658         (GST_START_TEST):
26659           use them
26660         * gst/gstmessage.c:
26661         * gst/gsttag.h:
26662           whitespace/doc fixes
26663
26664 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26665
26666         * gst/gstelement.h:
26667           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26668           be handled by the application and not always printed as well
26669
26670 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26671
26672         * check/Makefile.am:
26673           set GST_TOOLS_DIR
26674         * gst/check/gstcheck.c: (gst_check_message_error):
26675         * gst/check/gstcheck.h:
26676           add a fail_unless_equals_int
26677           add fail_unless for error messages
26678
26679 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26680
26681         * check/Makefile.am:
26682         * check/gst.supp:
26683         * common/Makefile.am:
26684         * common/check.mak:
26685         * common/gst.supp:
26686           factor out some of the common stuff so we can use it
26687
26688 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26689
26690         * check/Makefile.am:
26691         * check/gst/gstiterator.c: (GST_START_TEST):
26692         * check/gst/gstsystemclock.c: (GST_START_TEST),
26693         (gst_systemclock_suite):
26694         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26695         * gst/gstclock.c:
26696           valgrind more tests
26697
26698 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26699
26700         * check/elements/.cvsignore:
26701         * check/elements/gstfakesrc.c:
26702           rename to name of element
26703         * check/elements/identity.c: (chain_func), (event_func),
26704         (setup_identity), (cleanup_identity), (GST_START_TEST),
26705         (identity_suite), (main):
26706           add a test for identity
26707         * check/Makefile.am:
26708         * pkgconfig/Makefile.am:
26709         * pkgconfig/gstreamer-check.pc.in:
26710         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26711         * gst/check:
26712         * gst/Makefile.am:
26713         * configure.ac:
26714           move the check stuff to a library that gets installed
26715         * check/gst-libs/controller.c: (GST_START_TEST):
26716         * check/gst-libs/gdp.c:
26717         * check/gst/gst.c: (GST_START_TEST):
26718         * check/gst/gstbin.c:
26719         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26720         * check/gst/gstbus.c:
26721         * check/gst/gstcaps.c: (GST_START_TEST):
26722         * check/gst/gstelement.c:
26723         * check/gst/gstghostpad.c:
26724         * check/gst/gstiterator.c:
26725         * check/gst/gstmessage.c:
26726         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26727         * check/gst/gstobject.c:
26728         * check/gst/gstpad.c: (GST_START_TEST):
26729         * check/gst/gststructure.c: (GST_START_TEST):
26730         * check/gst/gstsystemclock.c: (GST_START_TEST),
26731         (gst_systemclock_suite):
26732         * check/gst/gsttag.c: (gst_tag_suite):
26733         * check/gst/gstvalue.c:
26734         * check/pipelines/cleanup.c:
26735         * check/pipelines/simple_launch_lines.c:
26736         * check/states/sinks.c:
26737           change include statement
26738
26739         * docs/gst/gstreamer-sections.txt:
26740         * docs/gst/tmpl/gstpad.sgml:
26741           document more pad stuff
26742         * gst/gstminiobject.c: (gst_mini_object_ref),
26743         (gst_mini_object_unref):
26744           debug refcounting
26745
26746 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26747
26748         * docs/gst/tmpl/gst.sgml:
26749         * gst/gst.c:
26750           eliminate another tmpl file, fix spelling in the long-description
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           Should fix build on 64-bit arch's
26757
26758 2005-08-18  Andy Wingo  <wingo@pobox.com>
26759
26760         Make sure that when a pipeline goes to PLAYING, that data has
26761         actually hit the sink.
26762
26763         * check/states/sinks.c (test_sink): A sink that doesn't get any
26764         data shouldn't return SUCCESS for going to either PLAYING or
26765         PAUSED. Test also the return values on the way back down.
26766
26767         * gst/gstelement.c (gst_element_set_state): When changing the
26768         state of an element currently changing state asynchronously, go to
26769         lost-state after commiting the pending state. Makes future calls
26770         to get_state continue to return ASYNC.
26771
26772         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26773         ASYNC when going to PLAYING if we still don't have preroll, as can
26774         happen with live sources.
26775
26776 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26777
26778         * docs/pwg/advanced-types.xml:
26779           Hack long paragraph into 2 chunks as a workaround for buggy
26780           jadetex version in sid and breezy that loops infinitely and
26781           eats all RAM.
26782
26783 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26784
26785         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26786         (test_event), (timediff), (gstevents_suite):
26787           Provide more error margin in clock measurements to allow for 
26788           g_get_current_time inaccuracies.
26789
26790 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26791
26792         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26793         (test_event), (timediff), (gstevents_suite):
26794            Fix error message output so I might be able to tell why the
26795            test works here but fails on the build farm.
26796
26797 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26798
26799         * check/Makefile.am:
26800         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26801         (test_event), (timediff), (gstevents_suite), (main):
26802           I wrote a test!
26803
26804         * docs/design/part-seeking.txt:
26805           Spelling correction
26806
26807         * docs/gst/tmpl/gstevent.sgml:
26808         * docs/gst/tmpl/gstfakesrc.sgml:
26809           Docs updates.
26810
26811         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26812           Treat a buffer-without-newsegment the same as a receiving 
26813           a newsegment not in time format, and disable syncing to the clock
26814           with a warning.
26815
26816         * gst/gstbus.c: (gst_bus_set_sync_handler):
26817           Assert if anyone tries to replace the existing sync_handler for bus, 
26818           as only the owner should be setting it.
26819
26820         * gst/gstevent.h:
26821           Have a fixed set of custom event enums with events identified by
26822           their structure name (as in 0.8), rather than a free-for-all
26823           allowing collisions between enum values from different plugins.
26824
26825         * gst/gstpad.c: (gst_pad_class_init):
26826           Docs change.
26827           
26828         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26829           Handle out-of-band downstream events from the sending thread.
26830
26831 2005-08-17  Andy Wingo  <wingo@pobox.com>
26832
26833         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26834         play-timeout==0 to mean no timeout at all. In that case, don't
26835         bother with a get_state or a warning, just return directly, even
26836         if it's ASYNC.
26837
26838         * gst/base/gstbasetransform.c: Debug changes.
26839
26840         * gst/gstutils.h:
26841         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26842         ensure bins post state change messages. A bit of a hack but I can't
26843         think of a way to avoid it.
26844
26845         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26846
26847 2005-08-16  Andy Wingo  <wingo@pobox.com>
26848
26849         * gst/base/gstadapter.h:
26850         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26851         peek() but you own the data. Not terribly efficient atm.
26852
26853 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26854
26855         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26856         (gst_element_found_tags):
26857         * gst/gstutils.h:
26858           Add two utility functions for tag handling.
26859
26860 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26861
26862         * docs/manual/advanced-dataaccess.xml:
26863         * docs/manual/basics-helloworld.xml:
26864           Fix docs to use _bin_add() before _link(), which fixes the examples
26865           with recent core versions (reported by Madhan Raj M
26866           <raj_madan@rediffmail.com>, #313199).
26867
26868 2005-08-16  Wim Taymans  <wim@fluendo.com>
26869
26870         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26871         Added subtract checks.
26872
26873         * docs/design/part-events.txt:
26874         Some more docs about newsegment
26875
26876         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26877         Fix FIXME
26878
26879         * gst/gstcaps.c: (gst_caps_to_string):
26880         Add comments, cleanups.
26881         
26882         * gst/gstelement.c: (gst_element_save_thyself):
26883         cleanups
26884         
26885         * gst/gstvalue.c: (gst_value_collect_int_range),
26886         (gst_string_unwrap), (gst_value_union_int_int_range),
26887         (gst_value_union_int_range_int_range),
26888         (gst_value_intersect_int_int_range),
26889         (gst_value_intersect_int_range_int_range),
26890         (gst_value_intersect_double_double_range),
26891         (gst_value_intersect_double_range_double_range),
26892         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26893         (gst_value_subtract_int_range_int),
26894         (gst_value_subtract_double_range_double),
26895         (gst_value_subtract_double_range_double_range),
26896         (gst_value_subtract_from_list), (gst_value_subtract_list),
26897         (gst_value_can_compare), (gst_value_compare_fraction):
26898         Cleanups, add comments, remove unneeded asserts.
26899
26900 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26901
26902         * tools/gst-launch.c: (event_loop):
26903           don't convert NULL structures to strings
26904
26905 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26906
26907         * docs/gst/gstreamer-sections.txt:
26908           made some defines private
26909         * docs/gst/tmpl/gstconfig.sgml:
26910         * docs/gst/tmpl/gstqueue.sgml:
26911         * docs/gst/tmpl/gsttaglist.sgml:
26912         * docs/gst/tmpl/gsttypes.sgml:
26913         * docs/gst/tmpl/gstutils.sgml:
26914         * docs/pwg/appendix-porting.xml:
26915         * gst/base/gstbasesink.h:
26916         * gst/base/gstbasesrc.c:
26917         * gst/base/gstbasesrc.h:
26918         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26919         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26920         * gst/gstelement.c: (gst_element_class_init):
26921         * gst/gstpad.c: (gst_pad_class_init):
26922         * gst/gstqueue.c: (gst_queue_class_init):
26923         * gst/gstxml.c: (gst_xml_class_init):
26924           documented all undocumented signal inline
26925         * libs/gst/controller/gst-controller.h:
26926           added padding
26927
26928 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26929
26930         * docs/pwg/appendix-porting.xml:
26931           Document _set_link_function -> _set_setcaps_function.
26932
26933 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26934
26935         * check/Makefile.am:
26936           add a .check target for running the check
26937         * check/gst-libs/controller.c: (GST_START_TEST):
26938           cosmetic fixups
26939         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26940           complete checks for gstbuffer; would be nice if I could get the
26941           gcov stuff to work so I can see if I actually completed gstbuffer.c
26942         * check/gstcheck.h:
26943           add ASSERT_BUFFER_REFCOUNT
26944
26945 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26946
26947         * docs/gst/gstreamer-sections.txt:
26948         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26949         * gst/gsttag.h:
26950           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26951           spew out a warning if a tag that is already registered
26952           is re-registered, unless it is re-registered with a 
26953           different type (#308438).
26954
26955 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26956
26957         * docs/pwg/appendix-porting.xml:
26958         * docs/pwg/building-state.xml:
26959           Add some paragraphs about state changes in 0.9 to the PWG
26960           and the porting guide, in particular about the new meaning
26961           of GST_STATE_PAUSED and how to write state change functions
26962           with concurrent access by multiple threads in mind.
26963
26964 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26965
26966         * docs/gst/gstreamer-docs.sgml:
26967         * docs/libs/gstreamer-libs-docs.sgml:
26968           added deprecation and since indexes
26969         * libs/gst/controller/gst-controller.c:
26970         * libs/gst/controller/gst-helper.c:
26971           added since tags
26972
26973
26974 2005-08-11  Wim Taymans  <wim@fluendo.com>
26975
26976         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26977         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26978         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26979         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26980         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26981         (gst_ghost_pad_set_target):
26982         Actually implement (re)setting the target on a ghostpad
26983         as described in the docs.
26984
26985 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26986
26987         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26988           Check whether GST_DEBUG_NO_COLOR environment variable is
26989           set and disable coloured debug output if that is the case.
26990
26991 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26992
26993         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26994         (gst_type_find_helper):
26995           The memory returned by gst_type_find_peek() needs to
26996           stay valid until the end of a typefind function, and
26997           typefind functions may keep results from different 
26998           offsets around, so we can't just unref the buffer from
26999           the previous _peek(), but have to save all buffers 
27000           returned by _peek() until typefinding is done and only
27001           free them then.
27002
27003 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27004
27005         * docs/gst/gstreamer-sections.txt:
27006         * gst/gstutils.h:
27007           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27008
27009 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27010
27011         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27012           Fix a pretty good memleak.
27013
27014 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27015
27016         * gst/gstiterator.h:
27017           Fix wrong include and 'make distcheck'.
27018
27019 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27020
27021         * gst/gstbin.c: (bin_bus_handler):
27022           Use gst_element_post_message() instead.
27023
27024 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27025
27026         * gst/base/gstadapter.h:
27027         * gst/base/gstbasesink.h:
27028         * gst/base/gstbasesrc.h:
27029         * gst/base/gstbasetransform.h:
27030         * gst/base/gstcollectpads.h:
27031         * gst/base/gstpushsrc.h:
27032         * gst/gstiterator.h:
27033           Add padding to our base elements' class and instance structs and
27034           to GstIterator (you will need to rebuild all plugins and apps!)
27035
27036 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27037
27038         * gst/gstbin.c: (bin_bus_handler):
27039           Make default message forwarding from child->bus to bin->bus
27040           threadsafe and make it not emit warnings if the parent has no bus.
27041
27042 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27043
27044         * gst/gstelement.c: (activate_pads):
27045           On paused->ready, set pad->caps to NULL, as is the documented
27046           behaviour in this state change. Fixes playback of series of
27047           media files when visualization is enabled in Totem.
27048
27049 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27050
27051         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27052           Allow NULL as filter-caps (which means "any").
27053
27054 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27055
27056         * docs/libs/gstreamer-libs-sections.txt:
27057         * libs/gst/controller/gst-controller.c:
27058         * libs/gst/controller/gst-controller.h:
27059         * libs/gst/controller/gst-helper.c:
27060           adding more entries to the docs and fix small doc-bugs
27061
27062 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27063
27064         * docs/gst/gstreamer-docs.sgml:
27065         * docs/gst/gstreamer-sections.txt:
27066         * docs/gst/gstreamer.types:
27067         * docs/gst/tmpl/gstbasesink.sgml:
27068         * docs/gst/tmpl/gstbasesrc.sgml:
27069         * docs/gst/tmpl/gstbasetransform.sgml:
27070         * docs/gst/tmpl/gstfakesrc.sgml:
27071         * gst/base/gstcollectpads.c:
27072         * gst/base/gstcollectpads.h:
27073         * libs/gst/controller/gst-controller.c:
27074         * libs/gst/controller/gst-controller.h:
27075         * libs/gst/controller/gst-helper.c:
27076         * libs/gst/controller/gst-interpolation.c:
27077         * libs/gst/controller/lib.c:
27078           added long/short desc for controller docs
27079           added collectpads base class docs
27080           added correct includes to base-class docs
27081
27082 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27083
27084         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27085         (gst_test_mono_source_set_property),
27086         (gst_test_mono_source_class_init), (GST_START_TEST),
27087         (gst_controller_suite):
27088         * docs/gst/gstreamer-docs.sgml:
27089         * docs/gst/gstreamer-sections.txt:
27090         * docs/gst/gstreamer.types:
27091         * docs/libs/gstreamer-libs-docs.sgml:
27092         * docs/libs/gstreamer-libs-sections.txt:
27093         * gst/base/gstadapter.c:
27094         * libs/gst/controller/gst-controller.c:
27095         (gst_controlled_property_new), (gst_controlled_property_free),
27096         (gst_controller_new_valist),
27097         (gst_controller_remove_properties_valist),
27098         (gst_controller_sink_values), (_gst_controller_finalize):
27099         * libs/gst/controller/gst-controller.h:
27100         * libs/gst/controller/gst-helper.c:
27101         (gst_object_control_properties), (gst_object_uncontrol_properties),
27102         (gst_object_get_controller), (gst_object_set_controller),
27103         (gst_object_sink_values), (gst_object_get_value_arrays),
27104         (gst_object_get_value_array):
27105           more tests (and fixes) for the controller
27106           more docs for the controller
27107           integrated companies docs for the adapter 
27108
27109 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27110
27111         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27112         (GST_START_TEST), (fakesrc_suite):
27113           add tests for sizetype
27114
27115 2005-08-04  Andy Wingo  <wingo@pobox.com>
27116
27117         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27118         fixes buffer_alloc proxying among other things.
27119
27120         * gst/base/gstbasetransform.c:
27121         * gst/base/gstbasetransform.h:
27122         Revert patch to gstbasetransform from 7-28 removing
27123         delay_configure.
27124
27125         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27126         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27127         Semantics changed, should return not the size of the output buffer
27128         but the byte size of a buffer with a given caps.
27129
27130         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27131         debug object.
27132         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27133         out) are not the pad caps until setcaps finishes.
27134         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27135         not-in-place case as well. Deal with changing from in-place to
27136         not-in-place within calling pad_alloc_buffer. Still a bit
27137         concerned about the overhead here...
27138
27139 2005-08-03  Andy Wingo  <wingo@pobox.com>
27140
27141         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27142         fixating is an error.
27143
27144 2005-08-04  Edward Hervey  <edward@fluendo.com>
27145
27146         * gst/base/gstadapter.h: 
27147         Added gst_adapter_get_type() to the header
27148
27149 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27150
27151         * check/Makefile.am:
27152         * check/gst-libs/controller.c:
27153         * libs/gst/controller/gst-controller.c:
27154         (gst_controller_new_valist):
27155           added check test suite for the controller
27156         * gst/base/gstpushsrc.c:
27157           fixed a doc typo
27158
27159 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27160
27161         * docs/gst/Makefile.am:
27162         * docs/gst/gstreamer-docs.sgml:
27163         * docs/gst/gstreamer-sections.txt:
27164         * docs/gst/gstreamer.types:
27165         * docs/gst/tmpl/gstfakesrc.sgml:
27166         * gst/base/README:
27167         * gst/base/gstbasesink.c:
27168         * gst/base/gstbasesink.h:
27169         * gst/base/gstbasesrc.c:
27170         * gst/base/gstbasesrc.h:
27171         * gst/base/gstbasetransform.c:
27172         * gst/base/gstpushsrc.c:
27173         * gst/base/gstpushsrc.h:
27174           add short/long description docs to base classes
27175           add pushsrc to the docs
27176           remove consolidated doc fragments
27177
27178 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27179
27180         * configure.ac:
27181         * docs/libs/Makefile.am:
27182         * docs/libs/gstreamer-libs-docs.sgml:
27183         * docs/libs/gstreamer-libs-sections.txt:
27184         * docs/libs/gstreamer-libs.types:
27185         * examples/Makefile.am:
27186         * examples/controller/.cvsignore:
27187         * examples/controller/Makefile.am:
27188         * examples/controller/audio-example.c: (main):
27189         * libs/gst/Makefile.am:
27190         * libs/gst/controller/.cvsignore:
27191         * libs/gst/controller/Makefile.am:
27192         * libs/gst/controller/gst-controller.c:
27193         (on_object_controlled_property_changed), (gst_timed_value_compare),
27194         (gst_timed_value_find),
27195         (gst_controlled_property_set_interpolation_mode),
27196         (gst_controlled_property_new), (gst_controlled_property_free),
27197         (gst_controller_find_controlled_property),
27198         (gst_controller_new_valist), (gst_controller_new),
27199         (gst_controller_remove_properties_valist),
27200         (gst_controller_remove_properties), (gst_controller_set),
27201         (gst_controller_set_from_list), (gst_controller_unset),
27202         (gst_controller_get), (gst_controller_get_all),
27203         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27204         (gst_controller_get_value_array),
27205         (gst_controller_set_interpolation_mode),
27206         (_gst_controller_finalize), (_gst_controller_init),
27207         (_gst_controller_class_init), (gst_controller_get_type):
27208         * libs/gst/controller/gst-controller.h:
27209         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27210         (g_object_uncontrol_properties), (g_object_get_controller),
27211         (g_object_set_controller), (g_object_sink_values),
27212         (g_object_get_value_arrays), (g_object_get_value_array):
27213         * libs/gst/controller/gst-interpolation.c:
27214         (gst_controlled_property_find_timed_value_node),
27215         (interpolate_none_get), (interpolate_trigger_get),
27216         (interpolate_trigger_get_value_array):
27217         * libs/gst/controller/lib.c: (gst_controller_init):
27218         * pkgconfig/Makefile.am:
27219         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27220         * pkgconfig/gstreamer-control.pc.in:
27221         * testsuite/Makefile.am:
27222         * testsuite/controller/.cvsignore:
27223         * testsuite/controller/Makefile.am:
27224         * testsuite/controller/interpolator.c: (main):
27225           added controller code
27226           removed dparam pc files
27227
27228 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27229         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27230         (gst_collectpads_stop):
27231           Broadcast the condition when shutting down, to make sure we wake all
27232           threads up. Shut down pads on finalize, for safety.
27233
27234 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27235         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27236         (gst_base_transform_handle_buffer),
27237         (gst_base_transform_change_state):
27238           Handle PAUSED->READY->PAUSED transition after negotiation
27239           occurred already.
27240         * gst/gstmessage.c: (gst_message_init):
27241           Extra piece of debug for new messages.
27242
27243 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27244
27245         * configure.ac:
27246         * docs/gst/tmpl/gstbasesrc.sgml:
27247         * docs/gst/tmpl/gstelement.sgml:
27248         * docs/gst/tmpl/gstevent.sgml:
27249         * docs/gst/tmpl/gstfakesrc.sgml:
27250         * docs/gst/tmpl/gstformat.sgml:
27251         * docs/gst/tmpl/gstghostpad.sgml:
27252         * docs/gst/tmpl/gstpad.sgml:
27253         * docs/gst/tmpl/gstquery.sgml:
27254         * docs/gst/tmpl/gststructure.sgml:
27255         * docs/gst/tmpl/gsttaglist.sgml:
27256         * docs/gst/tmpl/gstvalue.sgml:
27257         * docs/libs/gstreamer-libs-docs.sgml:
27258         * docs/libs/gstreamer-libs-sections.txt:
27259         * docs/libs/gstreamer-libs.types:
27260         * libs/gst/Makefile.am:
27261         * libs/gst/control/.cvsignore:
27262         * libs/gst/control/Makefile.am:
27263         * libs/gst/control/control.c:
27264         * libs/gst/control/control.h:
27265         * libs/gst/control/dparam.c:
27266         * libs/gst/control/dparam.h:
27267         * libs/gst/control/dparam_smooth.c:
27268         * libs/gst/control/dparam_smooth.h:
27269         * libs/gst/control/dparamcommon.h:
27270         * libs/gst/control/dparammanager.c:
27271         * libs/gst/control/dparammanager.h:
27272         * libs/gst/control/dplinearinterp.c:
27273         * libs/gst/control/dplinearinterp.h:
27274         * libs/gst/control/unitconvert.c:
27275         * libs/gst/control/unitconvert.h:
27276         * testsuite/Makefile.am:
27277         * testsuite/dynparams/.cvsignore:
27278         * testsuite/dynparams/Makefile.am:
27279         * testsuite/dynparams/dparamstest.c:
27280         * tools/Makefile.am:
27281         * tools/gst-inspect.c: (print_element_info), (main):
27282         * tools/gst-xmlinspect.c: (print_element_info), (main):
27283           deactivate and remove dparams (libgstcontrol)
27284
27285 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27286
27287         * gst/elements/gsttypefindelement.c:
27288         (gst_type_find_element_have_type), (gst_type_find_element_init),
27289         (stop_typefinding), (gst_type_find_element_handle_event),
27290         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27291         * gst/elements/gsttypefindelement.h:
27292           Set caps on all outgoing buffers, not just the first one.
27293
27294 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27295
27296         * gst/elements/gsttypefindelement.c:
27297         (gst_type_find_element_have_type),
27298         (gst_type_find_element_check_set_buffer_caps),
27299         (gst_type_find_element_init), (stop_typefinding),
27300         (gst_type_find_element_handle_event),
27301         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27302         * gst/elements/gsttypefindelement.h:
27303           Set caps on first outgoing buffer when we've found the type.
27304
27305 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27306
27307         * docs/gst/gstreamer-docs.sgml:
27308         * docs/gst/gstreamer-sections.txt:
27309         * docs/gst/tmpl/gstscheduler.sgml:
27310         * docs/gst/tmpl/gstschedulerfactory.sgml:
27311           Remove some old cruft from docs.
27312
27313 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27314
27315         * gst/gstpad.h:
27316           Fix inline docs for GstPadLinkReturn.
27317           
27318         * gst/gststructure.c: (gst_structure_has_name):
27319         * gst/gststructure.h:
27320         * docs/gst/gstreamer-sections.txt:
27321           New API: gst_structure_has_name().
27322
27323 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27324
27325         * configure.ac:
27326           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27327           and _LARGEFILE_SOURCE in config.h as required. Do not 
27328           export those flags in our .pc files any longer (#142209).
27329
27330           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27331
27332         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27333         (gst_file_sink_do_seek), (gst_file_sink_event),
27334         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27335           Redo seek/tell calls with large file support in mind; add some
27336           debugging messages; add log message that tells us when large
27337           file support is unavailable or not enabled for some reason.
27338
27339         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27340           Add log message that tells us when large file support 
27341           is unavailable or not enabled for some reason.
27342
27343 2005-07-29  Wim Taymans  <wim@fluendo.com>
27344
27345         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27346         Added test for removing an element with ghostpad from a bin.
27347         Fixed test as current implementation does the right thing.
27348
27349         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27350         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27351         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27352         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27353         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27354         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27355         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27356         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27357         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27358         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27359         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27360         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27361         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27362         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27363         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27364         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27365         * gst/gstghostpad.h:
27366         Clean up ghostpads, remove properties for internal stuff.
27367         Make threadsafe.
27368         Fix refcounting.
27369         Prepare for switching targets, not all use cases work yet.
27370
27371 2005-07-29  Wim Taymans  <wim@fluendo.com>
27372
27373         * docs/design/part-gstghostpad.txt:
27374         Small update.
27375
27376         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27377         (gst_bin_remove_func):
27378         Unlinking pads while holding the bin LOCK is not a good
27379         idea.
27380
27381         * gst/gstpad.c: (gst_pad_class_init),
27382         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27383         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27384         No prob setting template after creating the pad.
27385
27386 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27387
27388         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27389         (gst_bus_peek), (gst_bus_source_dispatch),
27390         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27391         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27392           gst_bus_poll may be called from other threads. Handle
27393           this nicely by not making poll_data disappear off the
27394           stack once gst_bus_poll returns.
27395           gst_bus_peek now increments the refcount on the returned
27396           message.
27397
27398 2005-07-29  Wim Taymans  <wim@fluendo.com>
27399
27400         * docs/design/part-gstghostpad.txt:
27401         Overview of current GhostPad datastructures and use
27402         cases for changing the target.
27403
27404 2005-07-28  Wim Taymans  <wim@fluendo.com>
27405
27406         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27407         Added checks for hierarchy consistency whan adding linked
27408         elements to bins.
27409
27410         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27411         Added check to test element scheduling without bin/pipeline.
27412
27413         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27414         First add elements to bin, then link.
27415         
27416         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27417         (gst_bin_remove_func):
27418         Unlink pads from elements added/removed from bin to maintain
27419         hierarchy consistency.
27420
27421 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27422
27423         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27424         (gst_base_transform_handle_buffer):
27425         * gst/base/gstbasetransform.h:
27426           Remove broken delay_configure (fixes renegotiation of software
27427           scaling pipelines); remove some leftover printf()s.
27428
27429 2005-07-28  Wim Taymans  <wim@fluendo.com>
27430
27431         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27432         Added some more tests for wrong hierarchy
27433
27434         * docs/design/part-overview.txt:
27435         Some updates.
27436
27437         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27438         Cleanups.
27439
27440         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27441         (gst_element_dispose):
27442         Some more cleanups.
27443
27444         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27445         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27446         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27447         (gst_pad_set_caps), (gst_pad_send_event):
27448         Check for correct hierarchy when linking pads. Moving to
27449         strict requirement for ghostpads when linking elements in
27450         different bins.
27451
27452         * gst/gstpad.h:
27453         Clean ups. Added WRONG_HIERARCHY return value.
27454
27455 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27456
27457         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27458           Better debug if no transform is possible.
27459
27460 2005-07-27  Wim Taymans  <wim@fluendo.com>
27461
27462         * docs/random/wtay/network-transp:
27463         Some old doc I had.
27464
27465 2005-07-27  Wim Taymans  <wim@fluendo.com>
27466
27467         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27468         (gst_dp_event_from_packet):
27469         Fix serialization of seek events.
27470
27471 2005-07-27  Wim Taymans  <wim@fluendo.com>
27472
27473         * check/gst-libs/gdp.c: (GST_START_TEST):
27474         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27475         Fix compilation and fix event serialization.
27476
27477 2005-07-27  Wim Taymans  <wim@fluendo.com>
27478
27479         * CHANGES-0.9:
27480         * docs/design/part-TODO.txt:
27481         * docs/design/part-events.txt:
27482         Some docs updates
27483
27484         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27485         (gst_base_sink_event), (gst_base_sink_do_sync),
27486         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27487         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27488         (gst_base_src_do_seek), (gst_base_src_event_handler),
27489         (gst_base_src_loop):
27490         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27491         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27492         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27493         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27494         (gst_base_transform_set_passthrough),
27495         (gst_base_transform_is_passthrough):
27496         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27497         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27498         Event updates.
27499
27500         * gst/gstbuffer.h:
27501         Use faster casts.
27502
27503         * gst/gstelement.c: (gst_element_seek):
27504         * gst/gstelement.h:
27505         Update gst_element_seek.
27506
27507         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27508         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27509         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27510         (gst_event_new_eos), (gst_event_new_newsegment),
27511         (gst_event_parse_newsegment), (gst_event_new_tag),
27512         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27513         (gst_event_parse_qos), (gst_event_new_seek),
27514         (gst_event_parse_seek), (gst_event_new_navigation):
27515         * gst/gstevent.h:
27516         Make GstEvent use GstStructure. Add parsing code, make sure the
27517         API is sufficiently generic.
27518         Mark possible directions of events and serialization.
27519
27520         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27521         (_gst_message_copy), (gst_message_new_segment_start),
27522         (gst_message_new_segment_done), (gst_message_new_custom),
27523         (gst_message_parse_segment_start),
27524         (gst_message_parse_segment_done):
27525         Small cleanups.
27526
27527         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27528         (gst_pad_set_caps), (gst_pad_send_event):
27529         Update for new events. 
27530         Catch events sent in wrong directions.
27531
27532         * gst/gstqueue.c: (gst_queue_link_src),
27533         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27534         (gst_queue_handle_src_query):
27535         Event updates.
27536
27537         * gst/gsttag.c:
27538         * gst/gsttag.h:
27539         Remove event code from this file.
27540
27541         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27542         (gst_dp_event_from_packet):
27543         Event updates.
27544
27545 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27546
27547         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27548         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27549         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27550           Make debugging actually useful.
27551
27552 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27553
27554         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27555         (gst_pad_fixate_caps):
27556           Implement default fixation once again, so that gst_pad_fixate()
27557           actually does anything at all. This probably needs to be some
27558           sort of a last resort, and use profile-based fixation first, but
27559           since that doesn't exist yet, this is the best we have. Fixes
27560           visualization in Totem.
27561
27562 2005-07-22  Wim Taymans  <wim@fluendo.com>
27563
27564         * docs/design/part-events.txt:
27565         Small update.
27566
27567         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27568         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27569         (gst_base_sink_activate_pull):
27570         Some more comments.
27571
27572         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27573         (gst_fake_src_create):
27574         Fix handoff marshall.
27575
27576         * gst/elements/gstidentity.c: (gst_identity_class_init),
27577         (gst_identity_transform_ip):
27578         We're a real inplace element.
27579
27580         * gst/gstbus.c: (gst_bus_post):
27581         Added some comments.
27582
27583         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27584         * tests/muxing/case1.c: (main):
27585         * tests/sched/dynamic-pipeline.c: (main):
27586         * tests/sched/interrupt1.c: (main):
27587         * tests/sched/interrupt2.c: (main):
27588         * tests/sched/interrupt3.c: (main):
27589         * tests/sched/runxml.c: (main):
27590         * tests/sched/sched-stress.c: (main):
27591         * tests/seeking/seeking1.c: (event_received), (main):
27592         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27593         (main):
27594         * tests/threadstate/threadstate3.c: (main):
27595         * tests/threadstate/threadstate4.c: (main):
27596         * tests/threadstate/threadstate5.c: (main):
27597         Fix the tests.
27598
27599 2005-07-21  Wim Taymans  <wim@fluendo.com>
27600
27601         * docs/design/part-seeking.txt:
27602         Some small additions.
27603
27604         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27605         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27606         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27607         * gst/base/gstbasesink.h:
27608         discont values are gint64, handle the math correctly.
27609
27610         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27611         Make the basesrc report error if the source pad is not linked.
27612
27613         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27614         (gst_queue_loop), (gst_queue_handle_src_query),
27615         (gst_queue_src_activate_push):
27616         Make queue collect data even if the srcpad is not linked.
27617         Start pushing out data as soon as it is linked.
27618
27619         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27620         * gst/gstutils.h:
27621         Added gst_flow_get_name() to ease error reporting.
27622
27623 2005-07-20  Wim Taymans  <wim@fluendo.com>
27624
27625         * gst/gstmessage.c: (gst_message_new_segment_start),
27626         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27627         (gst_message_parse_segment_done):
27628         * gst/gstmessage.h:
27629         Added a bunch of messages for advanced seeking.
27630
27631         * gst/parse/grammar.y:
27632         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27633         (gst_dpman_state_changed):
27634         Fix some new-pad -> pad-added signals
27635
27636 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27637
27638         * docs/manual/appendix-porting.xml:
27639         * docs/pwg/appendix-porting.xml:
27640           Document new-pad/state-change signal renames and the FixedList
27641           type rename.
27642
27643 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27644
27645         * docs/manual/advanced-autoplugging.xml:
27646         * docs/manual/basics-helloworld.xml:
27647         * docs/manual/basics-pads.xml:
27648         * docs/random/ds/0.9-suggested-changes:
27649         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27650         * gst/gstelement.h:
27651         * gst/gstevent.h:
27652         * gst/gstformat.h:
27653         * gst/gstquery.h:
27654         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27655         (gst_structure_parse_array), (gst_structure_parse_value):
27656         * gst/gstvalue.c: (gst_type_is_fixed),
27657         (gst_value_list_prepend_value), (gst_value_list_append_value),
27658         (gst_value_list_get_size), (gst_value_list_get_value),
27659         (gst_value_transform_array_string), (gst_value_serialize_array),
27660         (gst_value_deserialize_array), (gst_value_intersect_array),
27661         (gst_value_is_fixed), (_gst_value_initialize):
27662         * gst/gstvalue.h:
27663           GstElement::new-pad -> pad-added, GstElement::state-change ->
27664           state-changed, GstValueFixedList -> GstValueArray, add format and
27665           flags as their own arguments in gst_element_seek() (should improve
27666           "bindeability"), remove function generators since they don't work
27667           under a whole bunch of compilers (they were deprecated already
27668           anyway).
27669
27670 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27671
27672         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27673         (_gst_debug_register_funcptr):
27674         * gst/gstinfo.h:
27675           Fix illegal cast on some platforms (#309253).
27676
27677 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27678
27679         * gst/gstmessage.c: (gst_message_new_custom):
27680         * gst/gstmessage.h:
27681           Add _new_custom, make _new_application a macro to _new_custom.
27682
27683 2005-07-20  Wim Taymans  <wim@fluendo.com>
27684
27685         * gst/base/gstbasesrc.c: (gst_base_src_init),
27686         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27687         * gst/base/gstbasesrc.h:
27688         Add a gboolean to decide when to push out a discont.
27689
27690         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27691         (gst_queue_loop), (gst_queue_handle_src_query),
27692         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27693         (gst_queue_set_property), (gst_queue_get_property):
27694         Some cleanups.
27695
27696         * tests/threadstate/threadstate1.c: (main):
27697         Make a thread test compile and run... very silly..
27698
27699
27700 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27701
27702         * docs/manual/appendix-porting.xml:
27703           Mention removal of libgstgconf-0.9.la and existence of gconf
27704           elements.
27705
27706 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27707
27708         * docs/pwg/advanced-clock.xml:
27709         * docs/pwg/appendix-porting.xml:
27710         * docs/pwg/intro-preface.xml:
27711         * docs/pwg/other-base.xml:
27712         * docs/pwg/other-manager.xml:
27713         * docs/pwg/other-nton.xml:
27714         * docs/pwg/other-ntoone.xml:
27715         * docs/pwg/other-oneton.xml:
27716         * docs/pwg/pwg.xml:
27717           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27718           demuxer), remove n-to-n (was never written), fix some code examples
27719           and links and update the porting section to include all this.
27720
27721 2005-07-19  Wim Taymans  <wim@fluendo.com>
27722
27723         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27724         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27725         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27726         (gst_queue_src_activate_push), (gst_queue_change_state),
27727         (gst_queue_get_property):
27728         * gst/gstqueue.h:
27729         Propagate GstFlowReturn more intelligently upstream and output
27730         an ERROR/EOS when streaming stopped due to fatal error.
27731
27732 2005-07-19  Wim Taymans  <wim@fluendo.com>
27733
27734         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27735         Don't block forever for the state change to complete, the
27736         pipeline already did with a sensible timeout.
27737
27738 2005-07-19  Wim Taymans  <wim@fluendo.com>
27739
27740         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27741         Make sure we never call the create function is we
27742         got deactivated.
27743
27744 2005-07-19  Andy Wingo  <wingo@pobox.com>
27745
27746         * gst/parse/parse.l: Attempt to solve bug #172815.
27747
27748 2005-07-19  Wim Taymans  <wim@fluendo.com>
27749
27750         * docs/design/part-clocks.txt:
27751         * docs/design/part-events.txt:
27752         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27753         Small docs updates.
27754         Only update the seeking values when we are not
27755         busy streaming.
27756
27757 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27758
27759         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27760           Oops, ignore the result of gst_pad_push_event here.
27761
27762 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27763
27764         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27765         (gst_base_src_activate_push):
27766           Send discont event from the loop function, as pads
27767           aren't activated yet in the activate_push handler.
27768
27769         * gst/gstbin.c: (bin_bus_handler):
27770           Don't leak element name.
27771
27772 2005-07-18  Andy Wingo  <wingo@pobox.com>
27773
27774         * configure.ac: Use AS_LIBTOOL_TAGS.
27775
27776 2005-07-18  Wim Taymans  <wim@fluendo.com>
27777
27778         * docs/gst/gstreamer.types:
27779         Remove deleted types.
27780
27781 2005-07-18  Wim Taymans  <wim@fluendo.com>
27782
27783         * check/elements/gstfakesrc.c: (GST_START_TEST):
27784         * configure.ac:
27785         * gst/Makefile.am:
27786         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27787         (init_popt_callback):
27788         * gst/gst.h:
27789         * gst/gst_private.h:
27790         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27791         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27792         * gst/gstbin.h:
27793         * gst/gstbus.h:
27794         * gst/gstconfig.h.in:
27795         * gst/gstelement.c: (gst_element_class_init),
27796         (gst_element_set_base_time), (gst_element_get_base_time),
27797         (iterator_fold_with_resync), (gst_element_change_state),
27798         (gst_element_dispose), (gst_element_get_bus):
27799         * gst/gstelement.h:
27800         * gst/gstelementfactory.h:
27801         * gst/gsterror.c: (_gst_core_errors_init):
27802         * gst/gsterror.h:
27803         * gst/gstevent.h:
27804         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27805         * gst/gstindex.c:
27806         * gst/gstinfo.c: (_gst_debug_init):
27807         * gst/gstmessage.c: (_gst_message_copy):
27808         * gst/gstmessage.h:
27809         * gst/gstminiobject.h:
27810         * gst/gstobject.c:
27811         * gst/gstobject.h:
27812         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27813         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27814         * gst/gstpad.h:
27815         * gst/gstparse.h:
27816         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27817         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27818         (gst_pipeline_get_last_stream_time):
27819         * gst/gstpipeline.h:
27820         * gst/gstpluginfeature.h:
27821         * gst/gstquery.h:
27822         * gst/gstscheduler.c:
27823         * gst/gstscheduler.h:
27824         * gst/gststructure.h:
27825         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27826         (gst_task_finalize), (gst_task_func), (gst_task_create),
27827         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27828         (gst_task_stop), (gst_task_pause):
27829         * gst/gsttask.h:
27830         * gst/gsttypefind.h:
27831         * gst/gsttypes.h:
27832         * gst/registries/gstlibxmlregistry.c: (load_feature),
27833         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27834         * gst/registries/gstxmlregistry.c:
27835         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27836         * gst/schedulers/threadscheduler.c:
27837         * libs/gst/control/dparammanager.h:
27838         * tools/gst-inspect.c: (print_element_list),
27839         (print_plugin_features), (print_element_features):
27840         * tools/gst-xmlinspect.c: (print_element_list),
27841         (print_plugin_info), (main):
27842         Removed plugable schedulers.
27843         Removed Scheduler/Manager from elements.
27844         Removed gsttypes.h, rearranged includes.
27845         Removed dependency pad<->element, element<>pipeline, and
27846         various others,  fix includes.
27847         implement gst_pad_get_parent() with gst_object_get_parent()
27848         Make GstTask sefcontained.
27849         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27850         timeout.
27851         Fix endless loop in iterator_fold_with_resync.
27852
27853
27854 2005-07-18  Wim Taymans  <wim@fluendo.com>
27855
27856         * gst/Makefile.am:
27857         * gst/gstarch.h:
27858         Remove old file.
27859
27860 2005-07-18  Wim Taymans  <wim@fluendo.com>
27861
27862         * gst/Makefile.am:
27863         No more cothreads.h
27864
27865 2005-07-18  Wim Taymans  <wim@fluendo.com>
27866
27867         * gst/cothreads.c:
27868         * gst/cothreads.h:
27869         Let's remove these.
27870
27871 2005-07-18  Wim Taymans  <wim@fluendo.com>
27872
27873         * docs/design/part-dynamic.txt:
27874         * docs/design/part-events.txt:
27875         * docs/design/part-seeking.txt:
27876         Some more docs in the works.
27877
27878         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27879         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27880         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27881         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27882         (gst_base_transform_handle_buffer),
27883         (gst_base_transform_sink_activate_push),
27884         (gst_base_transform_src_activate_pull),
27885         (gst_base_transform_set_passthrough),
27886         (gst_base_transform_is_passthrough):
27887         Refcounting fixes.
27888
27889         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27890         Cleanups.
27891
27892         * gst/gstevent.c: (gst_event_finalize):
27893         Set SRC to NULL.
27894
27895         * gst/gstutils.c: (gst_element_unlink),
27896         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27897         (gst_pad_proxy_setcaps):
27898         * gst/gstutils.h:
27899         Add _get_parent_element() to get a pads parent as an element.
27900
27901 2005-07-18  Wim Taymans  <wim@fluendo.com>
27902
27903         * check/gst/gstbin.c: (GST_START_TEST):
27904         Remove bogus test.
27905
27906 2005-07-18  Wim Taymans  <wim@fluendo.com>
27907
27908         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27909         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27910         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27911         (gst_base_sink_event), (gst_base_sink_do_sync),
27912         (gst_base_sink_chain), (gst_base_sink_loop),
27913         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27914         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27915         Refcounting fixes.
27916         Fix logic for returning ASYNC when not prerolled.
27917
27918 2005-07-18  Wim Taymans  <wim@fluendo.com>
27919
27920         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27921         Fix nasty refcount bug.
27922
27923 2005-07-16 Philippe Khalaf <burger@speedy.org>
27924
27925         * gst/elements/gstfdsrc.c:
27926         * gst/elements/gstfdsrc.h:
27927         * gst/elements/gstelements.c:
27928         * gst/elements/Makefile.am:
27929         Ported fdsrc to 0.9.
27930
27931 2005-07-16  Wim Taymans  <wim@fluendo.com>
27932
27933         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27934         (gst_base_sink_do_sync):
27935         Fix compile error.
27936
27937 2005-07-16  Wim Taymans  <wim@fluendo.com>
27938
27939         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27940         (gst_base_sink_event), (gst_base_sink_get_times),
27941         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27942         * gst/base/gstbasesink.h:
27943         Store and use discont values when syncing buffers as described
27944         in design docs.
27945         
27946         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27947         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27948         (gst_base_src_activate_push):
27949         Push discont event when starting.
27950
27951         * gst/elements/gstidentity.c: (gst_identity_transform):
27952         Small cleanups.
27953
27954         * gst/gstbin.c: (gst_bin_change_state):
27955         Small cleanups in base_time  distribution.
27956
27957         * gst/gstelement.c: (gst_element_set_base_time),
27958         (gst_element_get_base_time), (gst_element_change_state):
27959         * gst/gstelement.h:
27960         Added methods for the base_time of the element.
27961         Some MT fixes.
27962
27963         * gst/gstpipeline.c: (gst_pipeline_send_event),
27964         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27965         (gst_pipeline_get_last_stream_time):
27966         * gst/gstpipeline.h:
27967         MT fixes.
27968         Handle seeking as described in design doc, remove stream_time
27969         hack.
27970         Cleanups clock and stream_time selection code. Added accessors
27971         for the stream_time.
27972         
27973
27974 2005-07-16  Andy Wingo  <wingo@pobox.com>
27975
27976         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27977         (#305291).
27978
27979 2005-07-16  Wim Taymans  <wim@fluendo.com>
27980
27981         * check/gst/gstbin.c: (GST_START_TEST):
27982         Make elements silent as the deep_notify refs the
27983         parent, which might make the test fail.
27984
27985         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27986         Don't hold the lock for too long.
27987
27988 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27989
27990         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27991           Don't unref the caps we passed to gst_caps_make_writable() after
27992           passing them. gst_caps_make_writable() will do that for us.
27993
27994 2005-07-15  Andy Wingo  <wingo@pobox.com>
27995
27996         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27997         (#157311).
27998
27999         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28000         own marshalling function for the handoff signal. Properly type the
28001         buffer as a buffer. Fixes some warnings. Should do a more general
28002         solution.
28003         (gst_identity_class_init): Plug into the right marshaller.
28004
28005 2005-07-15  Wim Taymans  <wim@fluendo.com>
28006
28007         * docs/design/part-TODO.txt:
28008         * docs/design/part-clocks.txt:
28009         * docs/design/part-element-sink.txt:
28010         * docs/design/part-events.txt:
28011         * docs/design/part-gstpipeline.txt:
28012         Updated docs, mostly DISCONT related.
28013
28014 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28015
28016         * docs/pwg/building-pads.xml:
28017           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28018
28019 2005-07-15  Andy Wingo  <wingo@pobox.com>
28020
28021         * tools/gst-typefind.c: Update, add copyright block.
28022
28023         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28024         Normalize and truncate caps before fixation.
28025
28026         * gst/gstcaps.h:
28027         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28028         discards all but the first structure from its argument.
28029
28030 2005-07-15  Wim Taymans  <wim@fluendo.com>
28031
28032         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28033         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28034         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28035         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28036         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28037         (gst_base_transform_chain), (gst_base_transform_change_state),
28038         (gst_base_transform_set_passthrough),
28039         (gst_base_transform_is_passthrough):
28040         * gst/base/gstbasetransform.h:
28041         Make passthrough work using the bufferpools.
28042         Changed API a bit, subclasses have to write into a buffer
28043         provided by the base class.
28044         More debug info in nego functions.
28045         
28046         * gst/elements/gstidentity.c: (gst_identity_init),
28047         (gst_identity_transform):
28048         Port to new base class.
28049
28050 2005-07-15  Wim Taymans  <wim@fluendo.com>
28051
28052         * gst/gstmessage.c: (gst_message_new_state_changed):
28053         * tools/gst-launch.c: (event_loop), (main):
28054         Totally dump messages in -launch with the -m option.
28055         Fix message name for State messages,
28056
28057 2005-07-14  Wim Taymans  <wim@fluendo.com>
28058
28059         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28060         Post error messages on errors.
28061
28062 2005-07-14  Wim Taymans  <wim@fluendo.com>
28063
28064         * gst/gstcaps.c: (gst_caps_do_simplify):
28065         Remove debug info.
28066
28067         * gst/gsterror.h:
28068         Define error for stream stopped.
28069
28070         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28071         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28072         Do proper return values.
28073
28074         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28075         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28076         (gst_pad_get_range):
28077         Better return values.
28078
28079         * gst/gstpad.h:
28080         Reorganise return values, add macro to check for fatal errors.
28081
28082         * gst/gstqueue.c: (gst_queue_chain):
28083         Return proper GstFlowReturn values,
28084
28085 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28086
28087         * docs/gst/gstreamer-sections.txt:
28088         * docs/gst/gstreamer.types:
28089         * docs/gst/tmpl/gst.sgml:
28090         * docs/gst/tmpl/gstbasesink.sgml:
28091         * docs/gst/tmpl/gstbasesrc.sgml:
28092         * docs/gst/tmpl/gstbasetransform.sgml:
28093         * docs/gst/tmpl/gstbin.sgml:
28094         * docs/gst/tmpl/gstbuffer.sgml:
28095         * docs/gst/tmpl/gstcaps.sgml:
28096         * docs/gst/tmpl/gstclock.sgml:
28097         * docs/gst/tmpl/gstcompat.sgml:
28098         * docs/gst/tmpl/gstconfig.sgml:
28099         * docs/gst/tmpl/gstelement.sgml:
28100         * docs/gst/tmpl/gstelementdetails.sgml:
28101         * docs/gst/tmpl/gstelementfactory.sgml:
28102         * docs/gst/tmpl/gstenumtypes.sgml:
28103         * docs/gst/tmpl/gsterror.sgml:
28104         * docs/gst/tmpl/gstevent.sgml:
28105         * docs/gst/tmpl/gstfakesink.sgml:
28106         * docs/gst/tmpl/gstfakesrc.sgml:
28107         * docs/gst/tmpl/gstfilesink.sgml:
28108         * docs/gst/tmpl/gstfilesrc.sgml:
28109         * docs/gst/tmpl/gstfilter.sgml:
28110         * docs/gst/tmpl/gstformat.sgml:
28111         * docs/gst/tmpl/gstghostpad.sgml:
28112         * docs/gst/tmpl/gstimplementsinterface.sgml:
28113         * docs/gst/tmpl/gstindex.sgml:
28114         * docs/gst/tmpl/gstindexfactory.sgml:
28115         * docs/gst/tmpl/gstinfo.sgml:
28116         * docs/gst/tmpl/gstiterator.sgml:
28117         * docs/gst/tmpl/gstmacros.sgml:
28118         * docs/gst/tmpl/gstmemchunk.sgml:
28119         * docs/gst/tmpl/gstminiobject.sgml:
28120         * docs/gst/tmpl/gstobject.sgml:
28121         * docs/gst/tmpl/gstpad.sgml:
28122         * docs/gst/tmpl/gstpadtemplate.sgml:
28123         * docs/gst/tmpl/gstparse.sgml:
28124         * docs/gst/tmpl/gstpipeline.sgml:
28125         * docs/gst/tmpl/gstplugin.sgml:
28126         * docs/gst/tmpl/gstpluginfeature.sgml:
28127         * docs/gst/tmpl/gstquery.sgml:
28128         * docs/gst/tmpl/gstqueue.sgml:
28129         * docs/gst/tmpl/gstregistry.sgml:
28130         * docs/gst/tmpl/gstregistrypool.sgml:
28131         * docs/gst/tmpl/gstscheduler.sgml:
28132         * docs/gst/tmpl/gstschedulerfactory.sgml:
28133         * docs/gst/tmpl/gststructure.sgml:
28134         * docs/gst/tmpl/gstsystemclock.sgml:
28135         * docs/gst/tmpl/gsttaglist.sgml:
28136         * docs/gst/tmpl/gsttagsetter.sgml:
28137         * docs/gst/tmpl/gsttrace.sgml:
28138         * docs/gst/tmpl/gsttrashstack.sgml:
28139         * docs/gst/tmpl/gsttypefind.sgml:
28140         * docs/gst/tmpl/gsttypefindfactory.sgml:
28141         * docs/gst/tmpl/gsttypes.sgml:
28142         * docs/gst/tmpl/gsturihandler.sgml:
28143         * docs/gst/tmpl/gsturitype.sgml:
28144         * docs/gst/tmpl/gstutils.sgml:
28145         * docs/gst/tmpl/gstvalue.sgml:
28146         * docs/gst/tmpl/gstversion.sgml:
28147         * docs/gst/tmpl/gstxml.sgml:
28148         * docs/libs/tmpl/gstcontrol.sgml:
28149         * docs/libs/tmpl/gstdataprotocol.sgml:
28150         * docs/libs/tmpl/gstdparam.sgml:
28151         * docs/libs/tmpl/gstdplinint.sgml:
28152         * docs/libs/tmpl/gstdpman.sgml:
28153         * docs/libs/tmpl/gstdpsmooth.sgml:
28154         * docs/libs/tmpl/gstgetbits.sgml:
28155         * docs/libs/tmpl/gstunitconvert.sgml:
28156         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28157         (gst_push_src_base_init), (gst_push_src_class_init),
28158         (gst_push_src_init), (gst_push_src_create):
28159         * gst/base/gstpushsrc.h:
28160         * gst/elements/gstelements.c:
28161         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28162         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28163         (gst_fake_sink_init), (gst_fake_sink_set_property),
28164         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28165         (gst_fake_sink_event), (gst_fake_sink_preroll),
28166         (gst_fake_sink_render), (gst_fake_sink_change_state):
28167         * gst/elements/gstfakesink.h:
28168         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28169         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28170         (gst_fake_src_base_init), (gst_fake_src_class_init),
28171         (gst_fake_src_init), (gst_fake_src_event_handler),
28172         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28173         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28174         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28175         (gst_fake_src_create_buffer), (gst_fake_src_create),
28176         (gst_fake_src_start), (gst_fake_src_stop):
28177         * gst/elements/gstfakesrc.h:
28178         * gst/elements/gstfilesink.c: (_do_init),
28179         (gst_file_sink_base_init), (gst_file_sink_class_init),
28180         (gst_file_sink_init), (gst_file_sink_dispose),
28181         (gst_file_sink_set_location), (gst_file_sink_set_property),
28182         (gst_file_sink_get_property), (gst_file_sink_open_file),
28183         (gst_file_sink_close_file), (gst_file_sink_query),
28184         (gst_file_sink_event), (gst_file_sink_render),
28185         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28186         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28187         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28188         * gst/elements/gstfilesink.h:
28189         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28190         (gst_file_src_class_init), (gst_file_src_init),
28191         (gst_file_src_finalize), (gst_file_src_set_location),
28192         (gst_file_src_set_property), (gst_file_src_get_property),
28193         (gst_file_src_map_region), (gst_file_src_map_small_region),
28194         (gst_file_src_create_mmap), (gst_file_src_create_read),
28195         (gst_file_src_create), (gst_file_src_is_seekable),
28196         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28197         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28198         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28199         (gst_file_src_uri_handler_init):
28200         * gst/elements/gstfilesrc.h:
28201           more autistic cleanliness in functions/names/defines
28202
28203 2005-07-13  Andy Wingo  <wingo@pobox.com>
28204
28205         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28206         source couldn't negotiate.
28207
28208         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28209         connections again.
28210
28211         * gst/gstutils.h:
28212         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28213         function. I am channeling Hades. Put your boots on suckers!!!
28214
28215 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28216
28217         * testsuite/caps/Makefile.am:
28218         * testsuite/caps/value_compare.c:
28219         * testsuite/caps/value_intersect.c:
28220         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28221           move two testsuite apps over to the check dir
28222
28223 2005-07-12  Wim Taymans  <wim@fluendo.com>
28224
28225         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28226         Added more debug info in the negotiate process.
28227
28228         * gst/gstmessage.h:
28229         Prepare for segment playback.
28230
28231         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28232         Better debugging.
28233
28234         * gst/gstutils.c:
28235         Some more docs.
28236
28237         * tools/gst-launch.c: (main):
28238         NULL pipeline on errors.
28239
28240 2005-07-12  Andy Wingo  <wingo@pobox.com>
28241
28242         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28243         not it comes from a malloc region. Make sure our copy gets freed.
28244
28245 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28246
28247         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28248         * check/gst/gstmessage.c: (GST_START_TEST):
28249         * check/gst/gststructure.c: (GST_START_TEST),
28250         (gst_structure_suite), (main):
28251           more testing
28252         * gst/gstelement.c: (gst_element_message_full):
28253           clean up GError and debug string now that they get copied
28254         * gst/gstmessage.c: (gst_message_new_error),
28255         (gst_message_new_warning), (gst_message_parse_error),
28256         (gst_message_parse_warning):
28257           use GST_TYPE_G_ERROR for structure_new, and take copies of
28258           arguments, so that we don't mess up refcounting
28259
28260 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28261
28262         * check/Makefile.am:
28263           add per-test valgrind targets
28264         * check/gst-libs/gdp.c: (GST_START_TEST),
28265         (gst_data_protocol_suite), (main):
28266           clean up
28267
28268 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28269
28270         * check/Makefile.am:
28271           instate more valgrindable tests
28272         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28273         (GST_START_TEST), (fakesrc_suite):
28274         * check/gst/gstpad.c: (GST_START_TEST):
28275         * check/gst/gststructure.c: (GST_START_TEST):
28276           fix test leaks
28277         * docs/gst/tmpl/gstminiobject.sgml:
28278         * gst/gstpad.c: (gst_pad_finalize):
28279           fix the static mutex leak
28280
28281 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28282
28283         * check/Makefile.am:
28284           add two more tests for valgrinding
28285         * check/gst/gstvalue.c: (GST_START_TEST):
28286           test refcount of deserialized buffer, found a leak
28287         * docs/gst/gstreamer-docs.sgml:
28288         * docs/gst/gstreamer-sections.txt:
28289         * docs/gst/gstreamer.types:
28290         * docs/gst/tmpl/gstminiobject.sgml:
28291           add miniobject to docs
28292         * gst/gstminiobject.c:
28293           add some docs
28294         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28295         (gst_string_unwrap):
28296           fix a hard-to-find invalid write for one of the tests
28297           fix a leak for deserialized buffers
28298
28299 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28300
28301         * docs/pwg/advanced-events.xml:
28302         * docs/pwg/advanced-request.xml:
28303         * docs/pwg/advanced-scheduling.xml:
28304         * docs/pwg/appendix-porting.xml:
28305         * docs/pwg/building-boiler.xml:
28306         * docs/pwg/intro-preface.xml:
28307         * docs/pwg/other-ntoone.xml:
28308           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28309           of example code and explanation for pad activation, loop() and
28310           getrange() functions and a bit more. Remove old comments pointing
28311           to loop-functions.
28312         * examples/pwg/Makefile.am:
28313           Add loop/getrange examples.
28314
28315 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28316
28317         * configure.ac:
28318           check for valgrind binary + some fixes
28319         * check/gst.supp:
28320           valgrind suppressions for the tests
28321         * check/Makefile.am:
28322           add a valgrind: target that valgrinds the unit tests
28323         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28324         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28325         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28326         * check/gst/gstghostpad.c:
28327           added some cleanup
28328         * check/gst/gstdata.c:
28329           removed
28330         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28331         (thread_unref), (gst_mini_object_suite), (main):
28332           added
28333         * gst/gst.c: (gst_deinit):
28334         * gst/gst.h:
28335           add a method to clean up.
28336         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28337         (gst_system_clock_obtain):
28338           allow for disposing the system clock.
28339         * tools/gst-launch.c: (main):
28340           deinit
28341
28342 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28343
28344         * docs/gst/tmpl/gstbasesrc.sgml:
28345         * docs/gst/tmpl/gstfakesrc.sgml:
28346         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28347         (gst_base_src_init), (gst_base_src_set_property),
28348         (gst_base_src_get_property), (gst_base_src_get_range),
28349         (gst_base_src_start):
28350         * gst/base/gstbasesrc.h:
28351           add num-buffers property
28352         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28353         (gst_fakesrc_init), (gst_fakesrc_set_property),
28354         (gst_fakesrc_get_property), (gst_fakesrc_create),
28355         (gst_fakesrc_start):
28356           remove num-buffers property
28357
28358 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28359
28360         * docs/gst/gstreamer-sections.txt:
28361         * docs/gst/tmpl/gstbasesink.sgml:
28362         * docs/gst/tmpl/gstbasesrc.sgml:
28363         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28364         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28365         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28366         (gst_base_sink_set_property), (gst_base_sink_get_property),
28367         (gst_base_sink_handle_object), (gst_base_sink_event),
28368         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28369         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28370         (gst_base_sink_loop), (gst_base_sink_deactivate),
28371         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28372         (gst_base_sink_change_state):
28373         * gst/base/gstbasesink.h:
28374         * gst/base/gstbasesrc.h:
28375         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28376         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28377         (gst_filesink_init):
28378           more macro splitting
28379
28380 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28381
28382         * gst/gstelement.c: (gst_element_get_bus):
28383           add debug
28384         * tools/gst-launch.c: (check_intr), (event_loop):
28385           fix bus leaks
28386
28387 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28388
28389         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28390           fix a caps leak
28391
28392 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28393
28394         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28395         (gst_base_src_finalize):
28396           add finalize method and clean up properly
28397         * gst/gstpipeline.c: (gst_pipeline_dispose):
28398           add debug
28399
28400 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28401
28402         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28403         (gst_bin_suite):
28404           add more things to check
28405         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28406         * gst/gstelement.c:
28407           more debug
28408
28409 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28410
28411         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28412         (GST_START_TEST), (fakesrc_suite):
28413         * check/gst-libs/gdp.c: (GST_START_TEST):
28414         * check/gst/gst.c: (GST_START_TEST):
28415         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28416         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28417         * check/gst/gstbus.c: (GST_START_TEST):
28418         * check/gst/gstcaps.c: (GST_START_TEST):
28419         * check/gst/gstdata.c: (GST_START_TEST):
28420         * check/gst/gstelement.c: (GST_START_TEST):
28421         * check/gst/gstghostpad.c: (GST_START_TEST):
28422         * check/gst/gstiterator.c: (GST_START_TEST):
28423         * check/gst/gstmessage.c: (GST_START_TEST):
28424         * check/gst/gstobject.c: (GST_START_TEST):
28425         * check/gst/gstpad.c: (GST_START_TEST):
28426         * check/gst/gststructure.c: (GST_START_TEST):
28427         * check/gst/gstsystemclock.c: (GST_START_TEST),
28428         (gst_systemclock_suite):
28429         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28430         * check/gst/gstvalue.c: (GST_START_TEST):
28431         * check/pipelines/cleanup.c: (GST_START_TEST):
28432         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28433         * check/states/sinks.c: (GST_START_TEST):
28434         * check/gstcheck.c: (gst_check_init):
28435         * check/gstcheck.h:
28436           add debugging category
28437           use GST_START_TEST now, so we add a debug line
28438
28439 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28440
28441         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28442           add test for state change message on a bin
28443         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28444           add another test
28445         * gst/gstbin.c: (gst_bin_init):
28446         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28447         * gst/gstelement.c: (gst_element_post_message),
28448         (gst_element_set_state):
28449         * gst/gstelementfactory.c: (gst_element_factory_create):
28450         * gst/gstmessage.c: (gst_message_new):
28451         * gst/gstscheduler.c:
28452           various debugging additions and cleanups
28453
28454 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28455
28456         * check/Makefile.am:
28457         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28458         (main):
28459           adding tests for elements
28460         * gst/gstelement.c: (gst_element_dispose):
28461
28462 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28463
28464         * gst/registries/gstlibxmlregistry.c: (load_feature):
28465           plug more leaks.  A simple gst_init() now is leakfree, yay.
28466
28467 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28468
28469         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28470         (gst_xml_registry_load):
28471           plug another memleak
28472
28473 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28474
28475         * configure.ac:
28476           use GST_SET_ERROR_CFLAGS
28477         * docs/faq/cvs.xml:
28478           change to ERROR_CFLAGS
28479
28480 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28481
28482         * configure.ac:
28483           make GST_ERROR_CFLAGS overridable and re-enable Werror
28484         * docs/faq/cvs.xml:
28485           add a note about error CFLAGS
28486         * docs/gst/tmpl/gstfakesrc.sgml:
28487         * gst/elements/gstfakesrc.c:
28488           comment out some unused code
28489         * gst/gst.c: (split_and_iterate):
28490         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28491         (load_feature):
28492           plug some memleaks
28493
28494 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28495
28496         * common/Makefile.am:
28497         * common/gtk-doc.mak:
28498         * docs/gst/Makefile.am:
28499           factor out gtk-doc.mak
28500
28501 2005-07-07  Wim Taymans  <wim@fluendo.com>
28502
28503         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28504         (gst_thread_scheduler_dispose):
28505         Unlock the STREAM_LOCK completely.
28506
28507 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28508
28509         * check/Makefile.am:
28510         * check/elements/.cvsignore:
28511         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28512         (START_TEST), (fakesrc_suite), (main):
28513         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28514         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28515         (gst_fakesrc_create), (gst_fakesrc_start):
28516         * gst/elements/gstfakesrc.h:
28517           adding a first element test
28518
28519 2005-07-07  Andy Wingo  <wingo@pobox.com>
28520
28521         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28522         debug message.
28523
28524 2005-07-07  Wim Taymans  <wim@fluendo.com>
28525
28526         * gst/gstquery.c:
28527         * gst/gstquery.h:
28528         Remove old types
28529
28530 2005-07-07  Wim Taymans  <wim@fluendo.com>
28531
28532         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28533         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28534         Allow subclasses to implement their own negotiation.
28535
28536 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28537
28538         * docs/design/part-gstbin.txt:
28539         * docs/design/part-gstpipeline.txt:
28540           Update design notes to reflect the movement of
28541           responsibility for bus handling from GstPipeline to
28542           GstBin
28543
28544 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28545
28546         * configure.ac:
28547           Remove unnecessary queue2/3/4 examples.
28548
28549 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28550
28551         * examples/Makefile.am:
28552         * examples/helloworld/helloworld.c: (event_loop), (main):
28553         * examples/queue/queue.c: (event_loop), (main):
28554         * examples/queue2/queue2.c: (main):
28555           Update a couple of the examples to work again.
28556
28557         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28558         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28559          Spelling corrections and extra debug.
28560         
28561         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28562         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28563         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28564         * gst/gstbin.h:
28565         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28566         (gst_pipeline_change_state):
28567         * gst/gstpipeline.h:
28568           Move the bus handler for children to the GstBin, and create a
28569           separate bus for receiving messages from children to the one the
28570           bus sends 'upwards' on.
28571
28572 2005-07-06  Wim Taymans  <wim@fluendo.com>
28573
28574         * gst/base/README:
28575         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28576         (gst_base_sink_handle_object), (gst_base_sink_loop),
28577         (gst_base_sink_change_state):
28578         * gst/base/gstbasesink.h:
28579         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28580         (gst_base_src_init), (gst_base_src_setcaps),
28581         (gst_base_src_getcaps), (gst_base_src_loop),
28582         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28583         (gst_base_src_start), (gst_base_src_change_state):
28584         * gst/base/gstbasesrc.h:
28585         Make basesrc negotiate.
28586         Handle the case where preroll fails in basesink.
28587         Update README.
28588
28589 2005-07-06  Wim Taymans  <wim@fluendo.com>
28590
28591         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28592         Implement the fixate function.
28593         Clean up acceptcaps.
28594
28595 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28596
28597         * docs/pwg/building-filterfactory.xml:
28598         * docs/pwg/pwg.xml:
28599           Remove never-written filter-factory chapter; I'll add the various
28600           base classes to part 4 ("other element types") later on.
28601
28602 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28603
28604         * docs/pwg/advanced-negotiation.xml:
28605         * docs/pwg/building-boiler.xml:
28606         * docs/pwg/building-pads.xml:
28607         * docs/pwg/pwg.xml:
28608         * examples/pwg/Makefile.am:
28609           Add a chapter on caps negotiation, simplify the original code
28610           samples a bit w.r.t. caps negotiation, add link to the advanced
28611           section. Add a bunch of examples showing different use cases of
28612           different types of caps negotiation. Upstream renegotiation isn't
28613           fully documented yet since nobody knows how that works.
28614
28615 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28616
28617         * check/gst/gstpad.c:
28618         * check/gstcheck.c:
28619         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28620           if pad has no parent, return NULL as list of internal links
28621
28622 2005-07-05  Andy Wingo  <wingo@pobox.com>
28623
28624         * gst/elements/gstfilesrc.c:
28625         * gst/elements/gstfakesrc.c: 
28626         * gst/base/gstpushsrc.c:
28627         * gst/base/gstbasesrc.h: 
28628         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28629         
28630 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28631
28632         * Makefile.am:
28633           better report generation target (lcov needs a patch)
28634
28635 2005-07-05  Andy Wingo  <wingo@pobox.com>
28636
28637         * gst/elements, testsuite: Null if we got it...
28638
28639 2005-07-05  Wim Taymans  <wim@fluendo.com>
28640
28641         * configure.ac:
28642         * libs/gst/dataprotocol/Makefile.am:
28643         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28644         * libs/gst/dataprotocol/dataprotocol.h:
28645         * pkgconfig/Makefile.am:
28646         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28647         * pkgconfig/gstreamer-dataprotocol.pc.in:
28648         Ported dataprotol to 0.9. 
28649         Added pkgconfig files.
28650
28651 2005-07-05  Andy Wingo  <wingo@pobox.com>
28652
28653         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28654         Default to returning TRUE for the case when tranform_caps returns
28655         a fixed caps, like for identity or volume.
28656
28657         * check/gst/gstbus.c (pound_bus_with_messages): 
28658         * check/gst/gstmessage.c (START_TEST): 
28659         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28660         message API change.
28661
28662         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28663         logic weaks here: always run transform_caps, trying passthrough
28664         operation only if the original caps intersects with the transform.
28665
28666         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28667         source and sink caps.
28668
28669         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28670         Intersect the peer caps with the pad template before going into
28671         transform_caps.
28672         (gst_base_transform_transform_caps): More debugging.
28673
28674         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28675         src argument.
28676
28677 2005-07-04  Edward Hervey  <edward@fluendo.com>
28678
28679         * gst/gstutils.c:
28680         * gst/gstutils.h:
28681         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28682         in bindings.
28683
28684 2005-07-04  Andy Wingo  <wingo@pobox.com>
28685
28686         * check/gst/gstpad.c: Only set explicit caps on pads.
28687
28688 2005-07-01  Andy Wingo  <wingo@pobox.com>
28689
28690         * tests/network-clock.scm: Commentary update.
28691
28692         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28693         Didn't really make sense, not implementable with basetransform,
28694         etc.
28695         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28696         attempt at implementing the sync property, needs an unlock method.
28697
28698         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28699         New func, by default returns the same caps (the identity
28700         transformation).
28701         (gst_base_transform_getcaps): Uses transform_caps to return
28702         something sensible.
28703         (gst_base_transform_setcaps): Complicated logic to get caps on
28704         both pads, even if they are different, and to call set_caps once
28705         for every time both pads get their caps set.
28706         (gst_base_transform_handle_buffer): Give the ref to the transform
28707         function. Allows in-place modification of the buffer.
28708
28709         * gst/base/gstbasetransform.h (transform_caps): New class method.
28710         Given caps on one side, what can I do on the other.
28711         (set_caps): Take two caps, one for each side of the element.
28712
28713         * gst/gstpad.h:
28714         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28715         caps in place. This is safe because we can check the mutability of
28716         the caps, and a good idea because fixate functions are just called
28717         as a matter of last resort. (Not actually implemented.)
28718         (gst_pad_set_caps): If the caps we're setting is actually the same
28719         as the existing pad caps, just update the pointer without calling
28720         setcaps. Assert that caps is either NULL or fixed, as per the
28721         docs.
28722
28723         * gst/gstghostpad.c: Update for fixate changes.
28724
28725 2005-07-02  Andy Wingo  <wingo@pobox.com>
28726
28727         * gst/gstcaps.c:
28728         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28729         two refcounts makes it immutable, which is enough. Doc more.
28730
28731 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28732
28733         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28734           Put the mini_object into GValue as a mini_object,
28735           not a gpointer, since that's how we declared
28736           the signal.
28737
28738 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28739
28740         * examples/pwg/Makefile.am:
28741           Fix buildbot again.
28742
28743 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28744
28745         * docs/pwg/building-testapp.xml:
28746           Add extra check.
28747         * examples/pwg/Makefile.am:
28748           Fix buildbot.
28749
28750 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28751
28752         * configure.ac:
28753         * examples/Makefile.am:
28754         * examples/pwg/Makefile.am:
28755         * examples/pwg/extract.pl:
28756           Enable building the PWG examples.
28757         * docs/pwg/advanced-interfaces.xml:
28758           Add URI interface stub.
28759         * docs/pwg/advanced-types.xml:
28760         * docs/pwg/other-autoplugger.xml:
28761         * docs/pwg/appendix-porting.xml:
28762         * docs/pwg/pwg.xml:
28763           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28764         * docs/pwg/building-boiler.xml:
28765         * docs/pwg/building-chainfn.xml:
28766         * docs/pwg/building-pads.xml:
28767         * docs/pwg/building-props.xml:
28768         * docs/pwg/building-state.xml:
28769         * docs/pwg/building-testapp.xml:
28770           Update the building-*.xml parts for 0.9 changes. All examples
28771           code blocks compile in examples/pwg/*.
28772
28773 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28774
28775         * docs/manual/advanced-autoplugging.xml:
28776         * docs/manual/appendix-checklist.xml:
28777         * docs/manual/appendix-integration.xml:
28778         * docs/manual/highlevel-components.xml:
28779           Fix playbin/decodebin examples, update docs a bit, mention bus
28780           instead of signals in various places, mention kmplayer and
28781           kaffeine since they have a working GStreamer backend in the KDE
28782           section.
28783
28784 2005-06-30  Wim Taymans  <wim@fluendo.com>
28785
28786         * CHANGES-0.9:
28787         * docs/design/draft-ghostpads.txt:
28788         * docs/design/draft-push-pull.txt:
28789         * docs/design/draft-query.txt:
28790         * docs/design/part-TODO.txt:
28791         * docs/design/part-query.txt:
28792         Added CHANGES-0.9 doc, updated status of other docs.
28793         
28794         * gst/gstquery.h:
28795         Remove "hmm" macro
28796
28797 2005-06-30  Wim Taymans  <wim@fluendo.com>
28798
28799         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28800         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28801         (gst_base_sink_change_state):
28802         * gst/base/gstbasesink.h:
28803         Some tweaks, only EOS and a buffer complete a preroll.
28804
28805 2005-06-30  Andy Wingo  <wingo@pobox.com>
28806
28807         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28808         activate_push down to the internal pad as well.
28809
28810 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28811
28812         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28813
28814         * gst/gsttaginterface.c:
28815           Some documentation fixes (#307394 and #307397).
28816
28817 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28818
28819         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28820
28821         * gst/gstvalue.c: (gst_value_intersect_list):
28822           Fix memleak (#309125).
28823
28824 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28825
28826         * docs/manual/advanced-dataaccess.xml:
28827           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28828         * docs/manual/basics-pads.xml:
28829           Add reference for filtered caps to above chapter.
28830
28831 2005-06-30  Wim Taymans  <wim@fluendo.com>
28832
28833         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28834         (gst_bin_change_state):
28835         Probes are gone.
28836         Lame attempt at making the state change function a bit
28837         more readable.
28838
28839 2005-06-30  Wim Taymans  <wim@fluendo.com>
28840
28841         * docs/design/part-clocks.txt:
28842         * docs/design/part-element-sink.txt:
28843         * docs/design/part-events.txt:
28844         * docs/design/part-preroll.txt:
28845         * docs/design/part-states.txt:
28846         Some more tweeks and additions to the docs.
28847
28848 2005-06-30  Wim Taymans  <wim@fluendo.com>
28849
28850         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28851         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28852         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28853         (gst_pad_check_pull_range), (gst_pad_get_range),
28854         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28855         * gst/gstpad.h:
28856         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28857         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28858         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28859         (gst_pad_remove_buffer_probe):
28860         Removed atomic operations, use existing LOCK.
28861         Move exception handling out of main code path.
28862
28863 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28864
28865         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28866         (silly_return_true_function), (gst_pad_class_init),
28867         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28868         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28869         (gst_pad_send_event):
28870           Fix accumulator, add default value by using _emitv() instead
28871           of _emit() for signal emission.
28872
28873 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28874
28875         * docs/manual/advanced-dataaccess.xml:
28876         * examples/manual/Makefile.am:
28877           Add probe example.
28878         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28879           Make work (??).
28880
28881 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28882
28883         * gst/elements/gstfilesink.c: (gst_filesink_render):
28884           Simplify code so that we don't have to handle short
28885           writes and return GST_FLOW_ERROR if an error occured.
28886
28887 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28888
28889         * docs/gst/gstreamer-docs.sgml:
28890           Remove probes more.
28891
28892 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28893
28894         * docs/gst/gstreamer-sections.txt:
28895         * docs/gst/tmpl/gstpad.sgml:
28896         * docs/gst/tmpl/gstprobe.sgml:
28897         * gst/Makefile.am:
28898         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28899         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28900         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28901         (gst_pad_push_event), (gst_pad_send_event):
28902         * gst/gstpad.h:
28903         * gst/gstutils.c: (gst_pad_add_data_probe),
28904         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28905         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28906         (gst_pad_remove_buffer_probe):
28907         * gst/gstutils.h:
28908           Remove old probes, add new g-signal-based probes and some utility
28909           functions.
28910
28911 2005-06-29  Edward Hervey  <edward@fluendo.com>
28912
28913         * gst/gstelementfactory.c:
28914         * gst/gstutils.h:
28915         * gst/gstutils.c:
28916         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28917         the definition to the header file.
28918
28919 2005-06-29  Andy Wingo  <wingo@pobox.com>
28920
28921         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28922         plugins from the source directory.
28923
28924 2005-06-29  Wim Taymans  <wim@fluendo.com>
28925
28926         * docs/gst/tmpl/gstbuffer.sgml:
28927         * docs/gst/tmpl/gstclock.sgml:
28928         Some fixings for blantently wrong text.
28929
28930 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28931
28932         * check/Makefile.am:
28933         * gst/gst.c: (add_path_func), (init_pre):
28934         * gst/gstregistry.c: (gst_registry_add_path):
28935           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28936           only scan the GST_PLUGIN_PATH locations, and not add
28937           system locations
28938
28939 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28940
28941         * docs/gst/gstreamer-sections.txt:
28942         * docs/gst/tmpl/gstbasesrc.sgml:
28943         * gst/gstelement.c:
28944         * gst/gstelement.h:
28945         * gst/gstevent.c:
28946         * gst/gstutils.c:
28947           doc fixes
28948
28949 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28950
28951         * docs/manual/advanced-autoplugging.xml:
28952           Fix autoplugging example.
28953
28954 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28955
28956         * docs/manual/advanced-autoplugging.xml:
28957         * docs/manual/mime-world.fig:
28958           Try to get autoplugging working, fix type detection. Fix text
28959           in hello-world image.
28960
28961 2005-06-29  Wim Taymans  <wim@fluendo.com>
28962
28963         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28964         (gst_base_sink_change_state):
28965         Small debug line.
28966
28967         * gst/gstclock.h:
28968         map SIGNAL and BROADCAST to the right function.
28969
28970         * gst/gstobject.h:
28971         Remove redundant braces.
28972
28973         * gst/gstpad.c: (gst_pad_set_caps):
28974         Don't call setcaps function when reseting caps to NULL.
28975
28976         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28977         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28978         (gst_system_clock_id_unschedule):
28979         Use BROADCAST as this is what we do.
28980
28981 2005-06-29  Wim Taymans  <wim@fluendo.com>
28982
28983         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28984         We are actually prerolling before commiting the state
28985         change. 
28986
28987 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28988
28989         * docs/manual/advanced-clocks.xml:
28990         * docs/manual/advanced-interfaces.xml:
28991         * docs/manual/advanced-metadata.xml:
28992         * docs/manual/advanced-position.xml:
28993         * docs/manual/advanced-schedulers.xml:
28994         * docs/manual/advanced-threads.xml:
28995         * docs/manual/appendix-porting.xml:
28996         * docs/manual/basics-bins.xml:
28997         * docs/manual/basics-bus.xml:
28998         * docs/manual/basics-elements.xml:
28999         * docs/manual/basics-helloworld.xml:
29000         * docs/manual/basics-pads.xml:
29001         * docs/manual/highlevel-components.xml:
29002         * docs/manual/manual.xml:
29003         * docs/manual/thread.fig:
29004           Update (until threads/scheduling) Application Development Manual;
29005           remove GstThread, add GstBus, add simple porting checklist, add
29006           documentation for tag writing, clocks, make all examples until this
29007           part compile and run.
29008         * examples/manual/Makefile.am:
29009           Update from changes to Application Development Manual; add bus
29010           example, remove thread example.
29011
29012 2005-06-28  Wim Taymans  <wim@fluendo.com>
29013
29014         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29015         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29016         (gst_bus_source_dispatch):
29017         Add debugging messages.
29018         Make internal methods static.
29019         Handle the case where the bus is flushed in the handler.
29020         
29021         * gst/gstelement.c: (gst_element_get_bus):
29022         Fix refcount in _get_bus();
29023
29024         * gst/gstpipeline.c: (gst_pipeline_change_state),
29025         (gst_pipeline_get_clock_func):
29026         Clock refcounting fixes.
29027         Handle the case where preroll timed out more gracefully.
29028         
29029         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29030         Clean up the internal thread in dispose. This is needed
29031         for subclasses that actually get disposed.
29032         
29033         * gst/schedulers/threadscheduler.c:
29034         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29035         (gst_thread_scheduler_dispose):
29036         Free thread pool in dispose.
29037
29038 2005-06-28  Andy Wingo  <wingo@pobox.com>
29039
29040         * tests/network-clock-utils.scm (debug, print-event): New utils.
29041
29042         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29043         (*packet-loss*): Unified loss probability.
29044         (network-time): Report out-of-band events.
29045
29046         * tests/plot-data: Add support for out-of-band events. Hack it
29047         into this script instead of passing it down the pipe; should fix
29048         this later.
29049
29050 2005-06-28  Wim Taymans  <wim@fluendo.com>
29051
29052         * docs/gst/gstreamer.types:
29053         * docs/gst/tmpl/gstbasesrc.sgml:
29054         * docs/gst/tmpl/gstpad.sgml:
29055         Docs fixes.
29056
29057 2005-06-28  Wim Taymans  <wim@fluendo.com>
29058
29059         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29060         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29061         (gst_proxy_pad_do_fixatecaps):
29062         Correctly proxy the check_pull_range function.
29063
29064 2005-06-28  Andy Wingo  <wingo@pobox.com>
29065
29066         * tests/network-clock.scm: Removed need for slib.
29067         
29068 2005-06-28  Wim Taymans  <wim@fluendo.com>
29069
29070         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29071         (gst_basesink_preroll_queue_flush):
29072         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29073         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29074         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29075         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29076         (gst_proxy_pad_set_property):
29077         * gst/gstpad.c:
29078         * gst/gstpad.h:
29079         * gst/gstqueue.c: (gst_queue_init):
29080         The deprecated pad loop function is removed now.
29081
29082 2005-06-28  Andy Wingo  <wingo@pobox.com>
29083
29084         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29085         New parameters, simulate network packet loss.
29086
29087         * tests/network-clock-utils.scm: Initialize the RNG.
29088
29089 2005-06-28  Wim Taymans  <wim@fluendo.com>
29090
29091         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29092         (gst_basesink_event), (gst_basesink_deactivate):
29093         Flushing the preroll queue always needs to unlock the waiters.
29094
29095 2005-06-28  Edward Hervey  <edward@fluendo.com>
29096
29097         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29098         Wheen a seek was successful on a pipeline, set the stream_time to the
29099         seek offset in order to have a synchronized stream_time.
29100
29101 2005-06-28  Wim Taymans  <wim@fluendo.com>
29102
29103         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29104         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29105         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29106         (gst_proxy_pad_do_fixatecaps):
29107         Call wrapper function instead of just calling the function
29108         pointers. This takes care of any locking and whatmore.
29109
29110 2005-06-28  Wim Taymans  <wim@fluendo.com>
29111
29112         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29113         (gst_pad_pull_range):
29114         * gst/gstpad.h:
29115         CONNECTED -> LINKED.
29116
29117 2005-06-28  Andy Wingo  <wingo@pobox.com>
29118
29119         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29120         source-munging commit!!!
29121
29122         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29123         (gst_object_sink): Take gpointer arguments, not GstObject --
29124         avoids casts. Like GLib.
29125
29126         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29127         activate.
29128
29129 2005-06-27  Andy Wingo  <wingo@pobox.com>
29130
29131         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29132         remaining buffer.
29133
29134         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29135         returns a sorted copy of the trace list.
29136         (gst_alloc_trace_print_live): New API, only prints traces with
29137         live objects. Sort the list.
29138         (gst_alloc_trace_print_all): Sort the list.
29139         (gst_alloc_trace_print): Align columns.
29140
29141         * gst/elements/gstttypefindelement.c:
29142         * gst/elements/gsttee.c:
29143         * gst/base/gstbasesrc.c:
29144         * gst/base/gstbasesink.c:
29145         * gst/base/gstbasetransform.c:
29146         * gst/gstqueue.c: Adapt for pad activation changes.
29147
29148         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29149         sched.
29150         (gst_pipeline_dispose): Drop ref on sched.
29151
29152         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29153         (gst_pad_activate_default): Push mode by default.
29154         (pre_activate_switch, post_activate_switch): New stubs, things to
29155         do before and after switching activation modes on pads.
29156         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29157         the pad's activate function to choose which mode to activate.
29158         Shortcut on deactivation and call the right function directly.
29159         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29160         mode.
29161         (gst_pad_activate_push): New API, same for push mode.
29162         (gst_pad_set_activate_function) 
29163         (gst_pad_set_activatepull_function) 
29164         (gst_pad_set_activatepush_function): Setters for new API.
29165
29166         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29167         Trace all miniobjects.
29168         (gst_mini_object_make_writable): Unref the arg if we copy, like
29169         gst_caps_make_writable.
29170
29171         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29172
29173         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29174         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29175         Adapt for new pad API.
29176
29177         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29178
29179         * gst/gstelement.h:
29180         * gst/gstelement.c (gst_element_iterate_src_pads) 
29181         (gst_element_iterate_sink_pads): New API functions.
29182         
29183         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29184         should fold into gstiterator.c in some form.
29185         (gst_element_pads_activate): Simplified via use of fold and
29186         delegation of decisions to gstpad->activate.
29187
29188         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29189         help in debugging.
29190
29191         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29192         class once in init, like gstmessage. Didn't run into this issue
29193         but it seems correct. Don't initialize a trace, gstminiobject does
29194         that.
29195
29196         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29197         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29198         to the bus.
29199         (assert_live_count): New util function, uses alloc traces to check
29200         cleanup.
29201
29202         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29203         To be modified when unlink drops the internal pad.
29204
29205 2005-06-27  Wim Taymans  <wim@fluendo.com>
29206
29207         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29208         (gst_bin_change_state):
29209         Cleanup the get_state() function a little, make sure it
29210         iterates the same set of elements.
29211         Added stub iterate_state_order().
29212
29213 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29214
29215         * docs/gst/gstreamer-docs.sgml:
29216         * docs/gst/gstreamer-sections.txt:
29217         * docs/gst/gstreamer.types:
29218         * docs/gst/tmpl/gstbasesink.sgml:
29219         * docs/gst/tmpl/gstbasesrc.sgml:
29220         * docs/gst/tmpl/gstbasetransform.sgml:
29221         * docs/gst/tmpl/gstelement.sgml:
29222         * docs/gst/tmpl/gstiterator.sgml:
29223         * gst/base/gstbasesrc.c:
29224         * gst/base/gstbasesrc.h:
29225         * gst/base/gstbasetransform.h:
29226         * gst/gstelement.c:
29227         * gst/gstiterator.h:
29228           adding basetransform and iterator docs
29229
29230 2005-06-27  Andy Wingo  <wingo@pobox.com>
29231
29232         * docs/design/part-activation.txt: Notes on how activation should
29233         work -- not quite implemented yet.
29234
29235 2005-06-25  Wim Taymans  <wim@fluendo.com>
29236
29237         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29238         At least get the chain function correct, needs more
29239         fixing.
29240
29241 2005-06-25  Wim Taymans  <wim@fluendo.com>
29242
29243         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29244         (gst_basesink_handle_object), (gst_basesink_event),
29245         (gst_basesink_do_sync), (gst_basesink_handle_event),
29246         (gst_basesink_change_state):
29247         * gst/gsttask.h:
29248         Right, two problems here: ghostpads don't take locks and
29249         glib _rec_mutex_lock_full() with depth==0 still locks.
29250         Catch illegal locking and g_warn them.
29251
29252 2005-06-25  Wim Taymans  <wim@fluendo.com>
29253
29254         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29255         Have to check for completion now...
29256
29257 2005-06-25  Wim Taymans  <wim@fluendo.com>
29258
29259         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29260         (gst_basesink_handle_object), (gst_basesink_event),
29261         (gst_basesink_do_sync), (gst_basesink_handle_event),
29262         (gst_basesink_change_state):
29263         * gst/gstpad.h:
29264         Unlock STREAM_LOCK whatever the recursion was.
29265
29266 2005-06-25  Wim Taymans  <wim@fluendo.com>
29267
29268         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29269         (gst_basesink_preroll_queue_empty),
29270         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29271         (gst_basesink_event), (gst_basesink_do_sync),
29272         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29273         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29274         (gst_basesink_change_state):
29275         Reworked the base sink, handle event and buffer serialisation
29276         correctly and removed possible deadlock.
29277         Handle EOS correctly.
29278
29279 2005-06-25  Wim Taymans  <wim@fluendo.com>
29280
29281         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29282         (gst_pipeline_change_state):
29283         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29284         Allow elements to post EOS in the state change function.
29285         Fix up -launch, make it exit the poll loop when the
29286         pipeline actually changed state.
29287         Fix up warning parsing in -launch.
29288
29289 2005-06-25  Wim Taymans  <wim@fluendo.com>
29290
29291         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29292         (gst_tee_sink_activate):
29293         Core takes STREAM_LOCK for us now.
29294
29295 2005-06-25  Wim Taymans  <wim@fluendo.com>
29296
29297         * gst/gstelement.c: (gst_element_get_state_func),
29298         (gst_element_set_state):
29299         * gst/gstelement.h:
29300         * gst/gstmessage.c: (gst_message_parse_error),
29301         (gst_message_parse_warning):
29302         Keep track of current target state while performing a state
29303         change so that subclasses can do something interesting.
29304         Fix parsing of warning/error messages when GError is NULL.
29305
29306 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29307
29308         * docs/gst/Makefile.am:
29309         * docs/gst/gstreamer-docs.sgml:
29310         * docs/gst/gstreamer-sections.txt:
29311         * docs/gst/gstreamer.types:
29312         * docs/gst/tmpl/gstbasesink.sgml:
29313         * docs/gst/tmpl/gstbasesrc.sgml:
29314         * docs/gst/tmpl/gstbin.sgml:
29315         * docs/gst/tmpl/gstcompat.sgml:
29316         * docs/gst/tmpl/gstfakesink.sgml:
29317         * docs/gst/tmpl/gstfakesrc.sgml:
29318         * docs/gst/tmpl/gstfilesink.sgml:
29319         * docs/gst/tmpl/gstfilesrc.sgml:
29320         * docs/gst/tmpl/gstindex.sgml:
29321         * docs/manual/appendix-quotes.xml:
29322         * gst/base/gstbasesrc.h:
29323         * gst/elements/gstfakesrc.h:
29324         * gst/gstmessage.h:
29325           start pulling in base classes and elements in our docs
29326
29327 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29328
29329         * docs/gst/Makefile.am:
29330         * docs/libs/Makefile.am:
29331           fixed make distcheck with gtk-doc 1.3
29332
29333 2005-06-23  Wim Taymans  <wim@fluendo.com>
29334
29335         * gst/gstelement.c: (gst_element_get_state_func),
29336         (gst_element_set_state), (gst_element_change_state):
29337         When the state did not change, also report NO_PREROLL
29338         when it matters.
29339
29340 2005-06-23  Wim Taymans  <wim@fluendo.com>
29341
29342         * gst/gstpad.c: (gst_pad_event_default):
29343         * gst/gstqueue.c: (gst_queue_loop):
29344         No unsafe task pausing please.
29345
29346 2005-06-23  Wim Taymans  <wim@fluendo.com>
29347
29348         * gst/schedulers/threadscheduler.c:
29349         (gst_thread_scheduler_task_start),
29350         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29351         Ref the task before pushing it on the threadpool. This
29352         makes sure that we have a ref when the threadfunction is
29353         actually called.
29354
29355 2005-06-23  Andy Wingo  <wingo@pobox.com>
29356
29357         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29358         offset is greater than the file's size.
29359
29360         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29361         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29362         * gst/gstobject.c (gst_object_class_init): Make the class lock
29363         recursive. Wim won't let me drop deep_notify. Decodebin works
29364         again, whoopdy doo.
29365
29366         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29367         internal pad, and hacks accordingly. Doesn't do it on the target
29368         pad because we change its caps. Probably catches all cases of
29369         interest tho.
29370         (gst_ghost_pad_set_property): Connect to notify::caps as
29371         appropritate.
29372
29373         * tests/network-clock.scm (plot-simulation): Pipe data to the
29374         elite python skript.
29375
29376         * tests/network-clock-utils.scm (define-parameter): New macro,
29377         defines a parameter that can be set via the command line.
29378         (set-parameter!, parse-parameter-arguments): Command line args
29379         parser.
29380
29381         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29382         stdin.
29383
29384 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29385
29386         * gst/elements/gsttypefindelement.c:
29387         (gst_type_find_element_handle_event):
29388           Don't restart typefinding on a discont.
29389         * gst/gstelement.c: (gst_element_set_state):
29390           Debug spelling fix.
29391         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29392           Allow changing mode of an active pad.
29393           Debug output fixes.
29394         * gst/registries/gstlibxmlregistry.c: (load_feature):
29395           Don't cast a static pad template to a normal pad template.
29396
29397 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29398
29399         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29400         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29401           remove gst_strtoll completely, since it didn't actually do
29402           anything more than what g_ascii_strtoull already does.
29403           check for range errors when deserializing
29404           do a cast for the unsigned cases; but further fixing needs
29405           a decision on what the interpretation of "(int)" and
29406           deserialization should be for values that fall outside the
29407           type's boundaries (ie, refuse, or interpret as casting)
29408
29409 2005-06-23  Wim Taymans  <wim@fluendo.com>
29410
29411         * check/Makefile.am:
29412         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29413         * docs/design/part-live-source.txt:
29414         * docs/design/part-states.txt:
29415         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29416         (gst_basesrc_set_live), (gst_basesrc_is_live),
29417         (gst_basesrc_get_range), (gst_basesrc_activate),
29418         (gst_basesrc_change_state):
29419         * gst/base/gstbasesrc.h:
29420         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29421         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29422         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29423         * gst/gstelement.c: (gst_element_get_state_func),
29424         (gst_element_set_state):
29425         * gst/gstelement.h:
29426         * gst/gsttypes.h:
29427         * tools/gst-launch.c: (event_loop), (main):
29428         Added support for live sources and other elements that
29429         cannot do preroll.
29430         Updated design docs, added live-source design doc.
29431         Implemented live source functionality in basesrc
29432         Fix error condition in _bin_get_state()
29433         Implement live source handling in -launch.
29434         Added check for live sources.
29435         Fixed case in GstBin where elements were changed state
29436         multiple times.
29437
29438
29439 2005-06-23  Andy Wingo  <wingo@pobox.com>
29440
29441         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29442         borken refcounting.
29443
29444         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29445         gst_caps_replace takes care of this for us.
29446
29447         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29448         gst_pad_set_caps on the target, not just its setcaps() function.
29449
29450         * tests/network-clock.scm: 
29451         * tests/network-clock-utils.scm: A network clock simulator.
29452         Something of an algorithmic testbed before doing something in C.
29453
29454 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29455
29456         * check/Makefile.am:
29457         * check/gst/capslist.h:
29458           copy over from 0.8, and add two with bitmasks specified with
29459           (int) 0xFF...
29460         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29461           add test to parse everything from capslist.h
29462         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29463         (main):
29464           add test for structure deserialization
29465         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29466           add tests for deserialization of strings to int types
29467         * gst/gststructure.c: (gst_structure_nth_field_name):
29468         * gst/gststructure.h:
29469           add a way to get the name of a field referenced by index
29470         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29471           instead of checking if the resulting long long lies between
29472           min and max, we check if the long long would fit into
29473           a number of bytes for the final type.
29474           This fixes cases where a string represents 2^32 - 1, which
29475           when cast to int would be the (valid) -1, but is bigger than
29476           G_MAXINT
29477
29478 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29479
29480         * gst/parse/grammar.y:
29481           add a log line for type deserialization
29482
29483 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29484
29485         * check/gst/gstvalue.c: (START_TEST):
29486         * gst/gstvalue.c: (gst_value_deserialize):
29487           return long long, not int, so gint64 deserialization actually
29488           works.  Is there any flag that makes the compiler check this ?
29489           Fixes #308559
29490
29491 2005-06-22  Wim Taymans  <wim@fluendo.com>
29492
29493         * gst/gstbuffer.h:
29494         Added convenience macros for setting buffers in GValue.
29495
29496 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29497
29498         * check/gst/.cvsignore:
29499         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29500           add a test deserializing int64, and comment part out because
29501           it fails, yay !
29502
29503 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29504
29505         * check/Makefile.am:
29506         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29507         * testsuite/Makefile.am:
29508         * testsuite/caps/Makefile.am:
29509         * testsuite/caps/value_serialize.c:
29510         * testsuite/test_gst_init.c:
29511           move a value_serialize test over
29512
29513 2005-06-20  Wim Taymans  <wim@fluendo.com>
29514
29515         * gst/gstpad.c:
29516         Small doc updates.
29517         
29518         * gst/gstvalue.c: (gst_value_compare_buffer),
29519         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29520         (gst_value_compare_flags), (gst_value_serialize_flags),
29521         (gst_value_deserialize_flags), (_gst_value_initialize):
29522         Fix serialisation of buffers, they are not boxed types anymore
29523
29524 2005-06-20  Wim Taymans  <wim@fluendo.com>
29525
29526         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29527         Testcase to show error in buffer-on-caps serialisation.
29528
29529 2005-06-20  Andy Wingo  <wingo@pobox.com>
29530
29531         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29532         will be adding to later.
29533
29534         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29535         if its socks fill with rocks.
29536         (gst_system_clock_obtain): Set the name on object construction.
29537         Avoid double-checked locking.
29538
29539 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29540
29541         * gst/gsturi.c: (gst_element_make_from_uri):
29542           Fix potential endless loop.
29543
29544 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29545
29546         * check/Makefile.am:
29547           add gsttag
29548         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29549         (main):
29550           move over from testsuite dir and clean up
29551         * configure.ac:
29552         * gst/gsttag.c:
29553         * testsuite/Makefile.am:
29554         * testsuite/tags/.cvsignore:
29555         * testsuite/tags/Makefile.am:
29556         * testsuite/tags/merge.c:
29557           remove testsuite/tags
29558
29559 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29560
29561         * docs/gst/gstreamer-sections.txt:
29562         * docs/gst/tmpl/gstenumtypes.sgml:
29563         * win32/gstenumtypes.c:
29564           clean up documentation build a little
29565
29566 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29567
29568         * check/gstcheck.h:
29569           add macros for checking refcounts on objects and caps
29570         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29571           add some more unit tests
29572         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29573         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29574           fix leaked refcounts (I hope :)) so unittest works
29575         * gst/gstpad.h:
29576           whitespace removal
29577
29578 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29579
29580         * configure.ac: back to HEAD
29581
29582 === release 0.9.1 ===
29583
29584 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29585
29586         * NEWS:
29587         * RELEASE:
29588           updated
29589
29590 2005-06-17  Andy Wingo  <wingo@pobox.com>
29591
29592         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29593         assert; it's always possible that the pad gets deactivated in
29594         between the checks in gstpad.c and the implementation. Rely on
29595         finish_preroll() to return a FLUSHING or similar instead of on the
29596         assert.
29597         
29598         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29599         clock and post an EOS message if we come out of finish_preroll in
29600         the playing state.
29601
29602 2005-06-16  David Schleef  <ds@schleef.org>
29603
29604         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29605         (gst_capsfilter_set_property): Allow NULL as possible value
29606         for filter_caps property, indicating GST_CAPS_ANY.
29607
29608 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29609
29610         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29611           fix debug output
29612         * gst/schedulers/Makefile.am:
29613           use libgst prefix
29614         * gstreamer.spec.in:
29615           fix spec for it
29616
29617 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29618
29619         * gstreamer.spec.in:
29620           clean up
29621
29622 2005-06-08  Andy Wingo  <wingo@pobox.com>
29623
29624         * gst/gstutils.c: RPAD fixes all around.
29625         (gst_element_link_pads): Refcounting fixes.
29626
29627         * tools/gst-inspect.c:
29628         * tools/gst-xmlinspect.c:
29629         * parse/grammar.y:
29630         * gst/base/gsttypefindhelper.c:
29631         * gst/base/gstbasesink.c:
29632         * gst/gstqueue.c: RPAD fixes.
29633
29634         * gst/gstghostpad.h:
29635         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29636         pads. The tricky thing is they provide both source and sink
29637         interfaces, since they proxy the internal pad for the external
29638         pad, and vice versa. Implement with lower-level ProxyPad objects,
29639         with the interior proxy pad as a child of the exterior ghost pad.
29640         Should write a doc on this.
29641         
29642         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29643         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29644         gst_object API.
29645         
29646         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29647         pads are real pads. No ghost pads in this file. Not documenting
29648         the myriad s/RPAD/PAD/ and REALIZE fixes.
29649         (gst_pad_class_init): Add properties for "direction" and
29650         "template". Both are construct-only, so they can't change during
29651         the life of the pad. Fixes properly deriving from GstPad.
29652         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29653         derived objects, just set properties when creating the objects via
29654         g_object_new.
29655         (gst_pad_get_parent): Implement as a function, return NULL if the
29656         parent is not an element.
29657         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29658         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29659         
29660         * gst/gstobject.c (gst_object_class_init): Make name a construct
29661         property. Don't set it in the object init.
29662
29663         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29664         with UNKNOWN direction.
29665         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29666         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29667         (gst_element_remove_pad): Remove ghost-pad special cases.
29668         (gst_element_pads_activate): Remove rpad cruft.
29669
29670         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29671         catch the pad's-parent-not-an-element case.
29672
29673         * gst/gst.h: Include gstghostpad.h.
29674
29675         * gst/gst.c (init_post): No more real, ghost pads.
29676
29677         * gst/Makefile.am: Add gstghostpad.[ch].
29678
29679         * check/Makefile.am:
29680         * check/gst/gstbin.c:
29681         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29682         into a bin creates ghost pads, and that the refcounts are right.
29683         Partly moved from gstbin.c.
29684
29685 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29686
29687         * check/gst-libs/.cvsignore:
29688         * check/gst/.cvsignore:
29689         * check/pipelines/.cvsignore:
29690           ignore more
29691         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29692         (START_TEST), (cleanup_suite), (main):
29693           add some tests related to cleanup after running pipelines
29694
29695 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29696
29697         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29698           add a testsuite for GstBuffer
29699
29700 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29701
29702         * gst/gstminiobject.h:
29703           add defines for accessing the refcount
29704
29705 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29706
29707         * Makefile.am: added support for html unit test coverage reports
29708
29709 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29710
29711         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29712           Free existing caps if the capsfilter changes. Add a FIXME about
29713           setting those caps on the pads.
29714
29715         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29716           Before adding a ghost pad to a parent bin, check that there isn't
29717           already one for the element on the bin. Prevents infinite recursion
29718           when using decodebin in parse pipelines. Andy says he'll rewrite the
29719           way this works anyway, so ignore the hack.
29720
29721 2005-06-02  Andy Wingo  <wingo@pobox.com>
29722
29723         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29724         file size, pass it on to the type find helper.
29725
29726         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29727         segment_start and segment_end properly according to the seek
29728         method. Segment_end is still a bit flaky because offset can be
29729         negative for CUR and END cases, but it takes -1 as an "unset"
29730         value.
29731
29732 2005-06-02  Wim Taymans  <wim@fluendo.com>
29733
29734         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29735         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29736         (gst_basesink_activate):
29737         * gst/base/gstbasesink.h:
29738         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29739         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29740         (gst_pad_query), (gst_pad_start_task):
29741         * gst/gstpad.h:
29742         * gst/gstqueue.c: (gst_queue_bufferalloc),
29743         (gst_queue_handle_sink_event), (gst_queue_chain):
29744         Bufferalloc: return GstFlowReturn to more accuratly report
29745         why allocation failed.
29746
29747 2005-06-02  Wim Taymans  <wim@fluendo.com>
29748
29749         * gst/gstpipeline.c: (gst_pipeline_send_event):
29750         Take snapshot of state without blocking.
29751
29752 2005-06-02  Wim Taymans  <wim@fluendo.com>
29753
29754         * docs/design/part-TODO.txt:
29755         * docs/design/part-caps.txt:
29756         * docs/design/part-clocks.txt:
29757         * docs/design/part-negotiation.txt:
29758         * docs/design/part-preroll.txt:
29759         Small doc updates 
29760
29761 2005-05-30  Wim Taymans  <wim@fluendo.com>
29762
29763         * gst/elements/gstidentity.c: (gst_identity_event),
29764         (gst_identity_transform), (gst_identity_get_property):
29765         Protect last_message property as it is accessed from
29766         multiple threads.
29767
29768 2005-05-30  Wim Taymans  <wim@fluendo.com>
29769
29770         * gst/gstelement.c: (gst_element_init),
29771         (gst_element_pads_activate), (gst_element_change_state):
29772         Slicker pad activation code.
29773
29774 2005-05-30  Wim Taymans  <wim@fluendo.com>
29775
29776         * gst/Makefile.am:
29777         * gst/gstelement.h:
29778         * gst/gstelementfactory.h:
29779         * gst/gsttypes.h:
29780         Move elementfactory methods to separate .h file.
29781
29782 2005-05-30  Wim Taymans  <wim@fluendo.com>
29783
29784         * docs/design/part-overview.txt:
29785         * gst/gstsystemclock.h:
29786         Small typo fixes, doc updates.
29787
29788 2005-05-30  Wim Taymans  <wim@fluendo.com>
29789
29790         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29791         (init_popt_callback):
29792         Remove cpu-opt flag.
29793
29794 2005-05-30  Wim Taymans  <wim@fluendo.com>
29795
29796         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29797         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29798         * gst/gstbuffer.h:
29799         Avoid typechecking in places where not needed.
29800         Added accessor for malloc_data.
29801
29802 2005-05-30  Wim Taymans  <wim@fluendo.com>
29803
29804         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29805         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29806         (gst_pad_configure_sink), (gst_pad_configure_src),
29807         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29808         (gst_pad_start_task):
29809         Propagate errors from _set_caps() in configure_src/sink
29810         functions instead of returning TRUE.
29811         FLUSH events can travel up and downstream
29812
29813
29814 2005-05-30  Wim Taymans  <wim@fluendo.com>
29815
29816         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29817         (gst_basesink_activate):
29818         Handle EOS in preroll.
29819
29820 2005-05-30  Wim Taymans  <wim@fluendo.com>
29821
29822         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29823         (gst_queue_loop), (gst_queue_handle_src_event):
29824         Remove old pieces of code
29825         Flushing the queue in an upstream event is a very bad idea.
29826
29827 2005-05-26  Andy Wingo  <wingo@pobox.com>
29828
29829         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29830         gst_value_set_mini_object so as to add a ref on the object (which
29831         will be removed when the value is unset).
29832
29833         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29834         arg type in ::handoff.
29835
29836         * gst/gstelement.c (gst_element_change_state): Also deactivate
29837         pads in READY->NULL, just in case the element didn't make it to
29838         PAUSED. Wingo tested, Wim approved.
29839
29840 2005-05-26  Wim Taymans  <wim@fluendo.com>
29841
29842         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29843         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29844         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29845         A flushing pad cannot be used to alloc_buffer from.
29846
29847 2005-05-26  Wim Taymans  <wim@fluendo.com>
29848
29849         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29850         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29851         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29852         (gst_bus_create_watch), (gst_bus_add_watch_full):
29853         * gst/gstbus.h:
29854         Implement a real GSource and use g_main_context_wakeup() to
29855         signal new messages instead of the socketpair.
29856
29857 2005-05-25  Wim Taymans  <wim@fluendo.com>
29858
29859         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29860         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29861         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29862         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29863         (gst_pad_send_event), (gst_pad_start_task):
29864         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29865         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29866         (gst_queue_sink_activate), (gst_queue_src_activate),
29867         (gst_queue_change_state):
29868         * gst/gstqueue.h:
29869         Fix state changes for non sinks. We now change sinks, then elements
29870         with unconnected srcpads, then the rest.
29871         More efficient queue unlocking in flush and state changes.
29872         Set the pad activate mode even if it does not have an activate
29873         function.
29874
29875 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29876
29877         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29878           Don't go in pull mode for non-seekable sources.
29879         * gst/elements/gsttypefindelement.h:
29880         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29881         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29882         (free_entry), (stop_typefinding),
29883         (gst_type_find_element_handle_event), (find_peek),
29884         (gst_type_find_element_chain), (do_pull_typefind),
29885         (gst_type_find_element_change_state):
29886           Allow typefinding (w/o seeking) in push-mode, simplified version
29887           of what was in 0.8.
29888         * gst/gstutils.c: (gst_buffer_join):
29889         * gst/gstutils.h:
29890           gst_buffer_join() from 0.8.
29891
29892 2005-05-25  Wim Taymans  <wim@fluendo.com>
29893
29894         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29895         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29896         (gst_pad_send_event), (gst_pad_start_task):
29897         Disable attempt at mode switching until it is figured out.
29898
29899 2005-05-25  Wim Taymans  <wim@fluendo.com>
29900
29901         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29902         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29903         (gst_basesink_finish_preroll), (gst_basesink_chain),
29904         (gst_basesink_loop), (gst_basesink_activate),
29905         (gst_basesink_change_state):
29906         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29907         (gst_basesrc_get_range), (gst_basesrc_loop),
29908         (gst_basesrc_activate):
29909         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29910         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29911         (gst_real_pad_init), (gst_real_pad_set_property),
29912         (gst_real_pad_get_property), (gst_pad_set_active),
29913         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29914         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29915         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29916         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29917         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29918         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29919         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29920         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29921         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29922         (gst_pad_stop_task):
29923         * gst/gstpad.h:
29924         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29925         (gst_queue_loop), (gst_queue_src_activate):
29926         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29927         (gst_task_get_state):
29928         * gst/gsttask.h:
29929         * gst/schedulers/threadscheduler.c:
29930         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29931         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29932         in task function.
29933         Remove ACTIVE pad flag, use FLUSHING everywhere
29934         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29935         functions.
29936         Add locks around IS_FLUSHING when reading.
29937         Take STREAM lock in chain(), get_range() functions so plugins
29938         don't need to take it anymore.
29939         
29940
29941
29942 2005-05-25  Wim Taymans  <wim@fluendo.com>
29943
29944         * tools/gst-launch.c: (event_loop):
29945         Unref message after using its contents instead of
29946         before.
29947
29948 2005-05-24  Wim Taymans  <wim@fluendo.com>
29949
29950         * docs/design/draft-ghostpads.txt:
29951         * docs/design/draft-push-pull.txt:
29952         * docs/design/draft-query.txt:
29953         * docs/design/part-overview.txt:
29954         Docs updates, added general overview doc.
29955
29956 2005-05-21  David Schleef  <ds@schleef.org>
29957
29958         * docs/gst/tmpl/old/GstBin.sgml:
29959         * docs/gst/tmpl/old/GstBuffer.sgml:
29960         * docs/gst/tmpl/old/GstCaps.sgml:
29961         * docs/gst/tmpl/old/GstClock.sgml:
29962         * docs/gst/tmpl/old/GstCompat.sgml:
29963         * docs/gst/tmpl/old/GstData.sgml:
29964         * docs/gst/tmpl/old/GstElement.sgml:
29965         * docs/gst/tmpl/old/GstEvent.sgml:
29966         * docs/gst/tmpl/old/GstIndex.sgml:
29967         * docs/gst/tmpl/old/GstStructure.sgml:
29968         * docs/gst/tmpl/old/GstTag.sgml:
29969         * docs/gst/tmpl/old/cothreads.sgml:
29970         * docs/gst/tmpl/old/cothreads_compat.sgml:
29971         * docs/gst/tmpl/old/gettext.sgml:
29972         * docs/gst/tmpl/old/gobject2gtk.sgml:
29973         * docs/gst/tmpl/old/grammar.tab.sgml:
29974         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29975         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29976         * docs/gst/tmpl/old/gst_private.sgml:
29977         * docs/gst/tmpl/old/gstaggregator.sgml:
29978         * docs/gst/tmpl/old/gstarch.sgml:
29979         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29980         * docs/gst/tmpl/old/gstbufferstore.sgml:
29981         * docs/gst/tmpl/old/gstdata_private.sgml:
29982         * docs/gst/tmpl/old/gstdisksink.sgml:
29983         * docs/gst/tmpl/old/gstdisksrc.sgml:
29984         * docs/gst/tmpl/old/gstelementfactory.sgml:
29985         * docs/gst/tmpl/old/gstextratypes.sgml:
29986         * docs/gst/tmpl/old/gstfakesink.sgml:
29987         * docs/gst/tmpl/old/gstfakesrc.sgml:
29988         * docs/gst/tmpl/old/gstfdsink.sgml:
29989         * docs/gst/tmpl/old/gstfdsrc.sgml:
29990         * docs/gst/tmpl/old/gstfilesink.sgml:
29991         * docs/gst/tmpl/old/gstfilesrc.sgml:
29992         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29993         * docs/gst/tmpl/old/gstidentity.sgml:
29994         * docs/gst/tmpl/old/gstindexfactory.sgml:
29995         * docs/gst/tmpl/old/gstmarshal.sgml:
29996         * docs/gst/tmpl/old/gstmd5sink.sgml:
29997         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29998         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29999         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30000         * docs/gst/tmpl/old/gstpipefilter.sgml:
30001         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30002         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30003         * docs/gst/tmpl/old/gstshaper.sgml:
30004         * docs/gst/tmpl/old/gstspider.sgml:
30005         * docs/gst/tmpl/old/gstspideridentity.sgml:
30006         * docs/gst/tmpl/old/gststatistics.sgml:
30007         * docs/gst/tmpl/old/gsttee.sgml:
30008         * docs/gst/tmpl/old/gsttimecache.sgml:
30009         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30010         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30011         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30012         * docs/gst/tmpl/old/types.sgml:
30013           I didn't intend to add these or check them in.
30014
30015 2005-05-19  David Schleef  <ds@schleef.org>
30016
30017         * configure.ac: Use -no-common everywhere.  In a sane world, it
30018           would be the default in libtool, because without it, you can't
30019           build DLLs on Windows.
30020         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30021         * docs/gst/gstreamer-sections.txt:
30022         * docs/gst/tmpl/gstcpu.sgml:
30023         * docs/gst/tmpl/gstdata.sgml:
30024         * docs/gst/tmpl/gstthread.sgml:
30025
30026 2005-05-19  David Schleef  <ds@schleef.org>
30027
30028         * gst/gstminiobject.c: (gst_value_set_mini_object),
30029         (gst_value_take_mini_object), (gst_value_get_mini_object):
30030         * gst/gstminiobject.h: Add GValue set/get functions.
30031
30032 2005-05-19  Wim Taymans  <wim@fluendo.com>
30033
30034         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30035         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30036         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30037         * gst/gstbuffer.h:
30038         * gst/gstbus.c: (gst_bus_post):
30039         * gst/gstelement.c: (gst_element_get_random_pad):
30040         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30041         Make subbufer unref the parent in finalize.
30042         some more debugging info.
30043
30044
30045 2005-05-19  Wim Taymans  <wim@fluendo.com>
30046
30047         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30048         (gst_basesink_init), (gst_basesink_finalize),
30049         (gst_basesink_activate), (gst_basesink_change_state):
30050         Don't free preroll queue too early.
30051
30052 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30053
30054         * gst/Makefile.am:
30055         * gst/ROADMAP:
30056           Hi, I'm outdated. Please shoot me.
30057
30058 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30059
30060         * gst/gstpipeline.c: (gst_pipeline_send_event):
30061           Do not access variables after they have been deleted.
30062
30063 2005-05-19  Wim Taymans  <wim@fluendo.com>
30064
30065         * tools/gst-inspect.c: (print_plugin_features):
30066         A plugin feature does unfortunatly not use the
30067         object name yet...
30068
30069 2005-05-18  Wim Taymans  <wim@fluendo.com>
30070
30071         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30072         Port _span() functions to new subbuffers.
30073
30074 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30075
30076         * gst/gstbin.c: (gst_bin_add_func):
30077           Fix clock settery in bins when adding kids after the clock has
30078           been selected.
30079
30080 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30081
30082         * gst/elements/gstidentity.c: (gst_identity_class_init):
30083           Workaround until signals support GstMiniObject.
30084
30085 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30086
30087         * gst/gstbuffer.c:
30088         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30089
30090 2005-05-18  Wim Taymans  <wim@fluendo.com>
30091
30092         * gst/base/Makefile.am:
30093         * gst/base/gstadapter.c: (gst_adapter_base_init),
30094         (gst_adapter_class_init), (gst_adapter_init),
30095         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30096         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30097         (gst_adapter_flush), (gst_adapter_available),
30098         (gst_adapter_available_fast):
30099         * gst/base/gstadapter.h:
30100         Ported and added adapter to the base classes.
30101
30102 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30103
30104         * gst/gst.c:
30105         * gst/gstmessage.c:
30106           Make sure the class is reffed/unreffed once before threads can be
30107           used.  Fixes #304551.
30108
30109 2005-05-17  Wim Taymans  <wim@fluendo.com>
30110
30111         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30112         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30113         * gst/gstminiobject.c: (gst_mini_object_get_type),
30114         (gst_mini_object_free):
30115         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30116         (gst_pad_push), (gst_pad_push_event):
30117         * gst/gstqueue.c: (gst_queue_change_state):
30118         Don't queue buffers in basesink when we are flushing.
30119         Unref buffer when flushing in basesink.
30120         Flush queue when going to READY
30121         Unref buffer when _push() returns an error.
30122         Don't free MiniObject instance when refcount is incremented
30123         in _finalize() so that we can recover objects.
30124
30125 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30126
30127         * docs/manual/advanced-schedulers.xml:
30128         * docs/manual/appendix-checklist.xml:
30129         * docs/pwg/advanced-clock.xml:
30130         * docs/pwg/advanced-interfaces.xml:
30131         * docs/pwg/advanced-request.xml:
30132         * docs/pwg/advanced-types.xml:
30133         * docs/pwg/intro-preface.xml:
30134         * examples/plugins/example.c: (gst_example_get_type),
30135         (gst_example_class_init), (gst_example_chain),
30136         (gst_example_set_property), (gst_example_get_property),
30137         (gst_example_change_state), (plugin_init):
30138         * examples/plugins/example.h:
30139           small doc fixes
30140
30141 2005-05-17  Wim Taymans  <wim@fluendo.com>
30142
30143         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30144         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30145         * gst/gstqueue.c: (gst_queue_change_state):
30146         Clear queue when going to READY.
30147         Remove IN_SETCAPS flag too.
30148
30149 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30150
30151         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30152           Remove implicit cast from gboolean to GstElementStateReturn;
30153           make sure we still return failure in paused => ready case if
30154           the parent class fails to change state and our own stop 
30155           vfunc succeeds.
30156
30157 2005-05-17  Wim Taymans  <wim@fluendo.com>
30158
30159         * tools/gst-launch.c: (event_loop):
30160         Message was unreffed too soon.
30161
30162 2005-05-16  Andy Wingo  <wingo@pobox.com>
30163
30164         * gst/gstbin.c (sink_iterator_filter): Err... um...
30165
30166         * check/gst/gstbin.c (test_ghost_pads): New test for the
30167         ghosting-if-elements-not-in-same-bin behavior.
30168
30169 2005-05-16  David Schleef  <ds@schleef.org>
30170
30171         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30172         accessing refcount directly.
30173
30174 2005-05-15  David Schleef  <ds@schleef.org>
30175
30176         * check/Makefile.am: remove GstData checks
30177         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30178         * gst/Makefile.am: add miniobject, remove data
30179         * gst/gst.h: add miniobject, remove data
30180         * gst/gstdata.c: remove
30181         * gst/gstdata.h: remove
30182         * gst/gstdata_private.h: remove
30183         * gst/gsttypes.h: remove GstEvent and GstMessage
30184         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30185         * gst/gstmarshal.list: change BOXED -> OBJECT
30186
30187         Implement GstMiniObject.
30188         * gst/gstminiobject.c:
30189         * gst/gstminiobject.h:
30190
30191         Modify to be subclasses of GstMiniObject.
30192         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30193         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30194         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30195         (gst_subbuffer_get_type), (gst_subbuffer_init),
30196         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30197         (gst_buffer_span):
30198         * gst/gstbuffer.h:
30199         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30200         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30201         (_gst_event_copy), (gst_event_new):
30202         * gst/gstevent.h:
30203         * gst/gstmessage.c: (_gst_message_initialize),
30204         (gst_message_get_type), (gst_message_class_init),
30205         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30206         (gst_message_new), (gst_message_new_error),
30207         (gst_message_new_warning), (gst_message_new_tag),
30208         (gst_message_new_state_changed), (gst_message_new_application):
30209         * gst/gstmessage.h:
30210         * gst/gstprobe.c: (gst_probe_perform),
30211         (gst_probe_dispatcher_dispatch):
30212         * gst/gstprobe.h:
30213         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30214         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30215         (_gst_query_copy), (gst_query_new):
30216
30217         Update elements for GstData -> GstMiniObject changes
30218         * gst/gstquery.h:
30219         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30220         (gst_queue_chain), (gst_queue_loop):
30221         * gst/elements/gstbufferstore.c:
30222         (gst_buffer_store_add_buffer_func),
30223         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30224         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30225         (gst_fakesink_render):
30226         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30227         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30228         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30229         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30230         (gst_filesrc_create_read):
30231         * gst/elements/gstidentity.c: (gst_identity_class_init):
30232         * gst/elements/gsttypefindelement.c:
30233         (gst_type_find_element_src_event), (free_entry_buffers),
30234         (gst_type_find_element_handle_event):
30235         * libs/gst/dataprotocol/dataprotocol.c:
30236         (gst_dp_header_from_buffer):
30237         * libs/gst/dataprotocol/dataprotocol.h:
30238         * libs/gst/dataprotocol/dp-private.h:
30239
30240 2005-05-15  David Schleef  <ds@schleef.org>
30241
30242         * gst/elements/gstelements.c: Don't include headers that were
30243         just removed.
30244
30245 2005-05-15  David Schleef  <ds@schleef.org>
30246
30247         * gst/elements/Makefile.am: Remove some elements that don't
30248         need to be in the core (or even exist at all).
30249         * gst/elements/gstaggregator.c:
30250         * gst/elements/gstaggregator.h:
30251         * gst/elements/gstmd5sink.c:
30252         * gst/elements/gstmd5sink.h:
30253         * gst/elements/gstmultifilesrc.c:
30254         * gst/elements/gstmultifilesrc.h:
30255         * gst/elements/gstpipefilter.c:
30256         * gst/elements/gstpipefilter.h:
30257         * gst/elements/gstshaper.c:
30258         * gst/elements/gstshaper.h:
30259         * gst/elements/gststatistics.c:
30260         * gst/elements/gststatistics.h:
30261         * po/POTFILES.in: Remove above files.
30262
30263 2005-05-14  Andy Wingo  <wingo@pobox.com>
30264
30265         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30266         so as to get the refs right.
30267         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30268         unreffing objects that don't pass the filter.
30269
30270         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30271         gst_element_set_bus.
30272         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30273         normal cases, this will destroy the bus.
30274
30275         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30276         object.
30277
30278         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30279         has no sinks.
30280
30281 2005-05-13  Andy Wingo  <wingo@pobox.com>
30282
30283         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30284         gst_pad_link, call pad_link_maybe_ghosting,
30285         (pad_link_maybe_ghosting): Links pads, making sure that the
30286         elements being linked are in the same bin.
30287         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30288         Helpers for pad_link_maybe_ghosting.
30289
30290 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30291
30292         * configure.ac:
30293           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30294
30295 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30296
30297         * docs/design/part-element-source.txt:
30298           Mention GstPushSrc
30299
30300 2005-05-12  Wim Taymans  <wim@fluendo.com>
30301
30302         * gst/base/gstbasesink.c: (gst_basesink_init),
30303         (gst_basesink_activate):
30304         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30305         (gst_basesrc_is_seekable):
30306         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30307         (bin_element_is_sink), (gst_bin_change_state):
30308         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30309         * gst/gstelement.h:
30310         Identify sinks by their flag to avoid overly complicated
30311         checks (fow now).
30312         Do state changes even for elements not reachable from the
30313         sinks.
30314         BaseSink is a sink now :)
30315         Some more debugging info in the basesrc.
30316
30317
30318 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30319
30320         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30321           Implement _query on a bin, similar to _send_event.
30322
30323 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30324
30325         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30326           Discont event offset format should be GST_FORMAT_BYTES,
30327           not GST_FORMAT_TIME.
30328
30329 2005-05-12  Wim Taymans  <wim@fluendo.com>
30330
30331         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30332         Same fix as Ronald's but without the signal. 
30333
30334 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30335
30336         * gst/gstutils.c: (gst_element_query_position):
30337           No, an element is not a pad.
30338
30339 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30340
30341         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30342         (gst_bin_get_state):
30343           If a child is removed from a bin while we remove the child from
30344           the bin and while we're retrieving its state, signal this to the
30345           get_state function so we abort the wait (instead of waiting for
30346           a timeout) and can immediately re-iterate over all other elements.
30347
30348 2005-05-12  Wim Taymans  <wim@fluendo.com>
30349
30350         * gst/base/Makefile.am:
30351         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30352         (gst_basesrc_start):
30353         * gst/base/gstbasesrc.h:
30354         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30355         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30356         (gst_pushsrc_init), (gst_pushsrc_create):
30357         * gst/base/gstpushsrc.h:
30358         Added is_seekable to BaseSrc
30359         Added simple PushSrc.
30360
30361 2005-05-11  Wim Taymans  <wim@fluendo.com>
30362
30363         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30364         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30365         (gst_element_link_pads), (gst_element_query_position),
30366         (gst_element_query_convert), (intersect_caps_func),
30367         (gst_pad_query_position), (gst_pad_query_convert):
30368         Fix refcounting in utils function.
30369         No point in trying to activate a pad when it's added, it could
30370         be added from the state change function and then we deadlock, the
30371         element has to decide what to do.
30372
30373 2005-05-10  Andy Wingo  <wingo@pobox.com>
30374
30375         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30376         *all* the arguments.
30377
30378         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30379         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30380         lock (according to the docs -- if this is wrong change the docs).
30381
30382         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30383         flush messages in the NULL state.
30384
30385         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30386         message immediately and return.
30387         (gst_bus_set_flushing): New function. If a bus is flushing, it
30388         flushes out any queued messages and immediately unrefs new
30389         messages. This is so when an element goes to NULL, all of the
30390         unhandled messages coming from it can be freed, and their
30391         references to the element dropped. In other words: message source
30392         ref considered harmful :P
30393
30394         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30395         we're finished with it.
30396
30397         * gst/gstmessage.c (gst_message_new_state_changed): 
30398
30399 2005-05-10  Wim Taymans  <wim@fluendo.com>
30400
30401         * gst/gstvalue.c: (gst_value_compare_flags),
30402         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30403         (_gst_value_initialize):
30404         Added flags serialize/deserialize/compare code.
30405
30406 2005-05-09  Andy Wingo  <wingo@pobox.com>
30407
30408         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30409         Intersect the peer's caps with our caps.
30410
30411 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30412
30413         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30414         * gst/elements/gsttypefindelement.c: (find_peek):
30415           Handle negative offsets better. Fixes decodebin.
30416
30417 2005-05-09  Wim Taymans  <wim@fluendo.com>
30418
30419         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30420         (gst_base_transform_event):
30421         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30422         Implement accept_caps.
30423         Fix silly lock/unlock mismatch in base class.
30424
30425 2005-05-09  Wim Taymans  <wim@fluendo.com>
30426
30427         * docs/design/draft-push-pull.txt:
30428         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30429         * gst/elements/gstfilesink.c: (gst_filesink_init),
30430         (gst_filesink_query):
30431         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30432         (gst_type_find_handle_src_query), (find_element_get_length):
30433         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30434         * gst/gstelement.h:
30435         * gst/gstmessage.c:
30436         * gst/gstmessage.h:
30437         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30438         (gst_real_pad_get_caps_unlocked),
30439         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30440         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30441         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30442         (gst_real_pad_dispose), (gst_real_pad_finalize),
30443         (gst_pad_load_and_link), (gst_pad_save_thyself),
30444         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30445         (gst_pad_check_pull_range), (gst_pad_pull_range),
30446         (gst_pad_template_get_type), (gst_pad_template_class_init),
30447         (gst_pad_template_init), (gst_pad_template_dispose),
30448         (name_is_valid), (gst_static_pad_template_get),
30449         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30450         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30451         (gst_pad_get_element_private), (gst_pad_start_task),
30452         (gst_pad_pause_task), (gst_pad_stop_task),
30453         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30454         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30455         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30456         (gst_ghost_pad_new):
30457         * gst/gstpad.h:
30458         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30459         (gst_query_new_position), (gst_query_set_position),
30460         (gst_query_parse_position), (gst_query_new_convert),
30461         (gst_query_set_convert), (gst_query_parse_convert):
30462         * gst/gstquery.h:
30463         * gst/gstqueryutils.c:
30464         * gst/gstqueryutils.h:
30465         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30466         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30467         (gst_queue_handle_src_query):
30468         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30469         (gst_element_query_position), (gst_element_query_convert),
30470         (intersect_caps_func), (gst_pad_query_position),
30471         (gst_pad_query_convert):
30472         * gst/gstutils.h:
30473         * tools/gst-inspect.c: (print_pad_info):
30474         * tools/gst-xmlinspect.c: (print_element_info):
30475         Remove old query functions. Ported old code.
30476         Added position/convert helper functions to gstutils.
30477         Reordered gstpad.c code, grouping relevant things.
30478         Remove gst_message_new(), always need to speficy a specific
30479         message.
30480
30481
30482 2005-05-09  Andy Wingo  <wingo@pobox.com>
30483
30484         * gst/gstiterator.h: Add some includes.
30485
30486         * gst/gstqueryutils.h: Include more headers.
30487
30488         * gst/gstpad.h:
30489         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30490         some uses of gst_pad_query.
30491
30492         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30493         NULL out parameters.
30494         (gst_query_new_position): New proc, allocates a new position
30495         query.
30496
30497         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30498         gstqueryutils.c to the build.
30499
30500         * gst/gststructure.c (gst_structure_set_valist): Implement with
30501         the generic G_VALUE_COLLECT.
30502         
30503 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30504
30505         * gst/Makefile.am: (gst_headers):
30506         Added gstqueryutils.h to the list of headers to install, that was
30507         a 'nachty' move wingo :)
30508
30509 2005-05-06  Andy Wingo  <wingo@pobox.com>
30510
30511         * gst/gstquery.h
30512         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30513         GstData, init a memchunk.
30514         (standard_definitions): Add a few query types, deprecate a few.
30515         (gst_query_get_type): New proc.
30516         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30517         implementation.
30518         (gst_query_new_application, gst_query_get_structure): New public
30519         procs.
30520
30521         * docs/design/draft-query.txt: Removed LINKS from the query types,
30522         because all the rest can be dispatched to other pads -- seemed
30523         ugly to have a query that couldn't be dispatched. internal_links
30524         is fine as a pad method.
30525
30526         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30527         in gstpad.c, but maintain binary compatibility for the moment.
30528         Will fix before 0.9 is out.
30529
30530         * gst/gstqueryutils.c: 
30531         * gst/gstqueryutils.h: New files, implement 3 methods for each
30532         query type: parse_query, parse_response, and set. Probably need an
30533         allocator as well.
30534
30535         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30536
30537         * gst/elements/gstfilesink.c (gst_filesink_query2):
30538         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30539         query_types, and formats methods.
30540
30541         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30542         (gst_pad_set_query2_function): New functions.
30543         (gst_real_pad_init): Set query2_default as the default query2
30544         function. Basically just dispatches to internally linked pads.
30545
30546         Needs review!
30547         
30548         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30549         without using the atomic operations. Only one thread can possibly
30550         be accessing the data at this point. Changed so as to avoid
30551         gst_atomic operations.
30552
30553 2005-05-06  Wim Taymans  <wim@fluendo.com>
30554
30555         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30556         Also set caps if we use the fallback buffer alloc.
30557
30558 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30559
30560         * docs/gst/Makefile.am:
30561         * docs/gst/gstreamer-docs.sgml:
30562         * docs/gst/gstreamer-sections.txt:
30563         * docs/gst/tmpl/gstatomic.sgml:
30564         * docs/gst/tmpl/gstmemchunk.sgml:
30565         * testsuite/elements/struct_i386.h:
30566         * win32/GStreamer.vcproj:
30567         * win32/Makefile:
30568           Purge GstAtomic stuff from docs and win32 makefiles as well
30569
30570 2005-05-06  Wim Taymans  <wim@fluendo.com>
30571
30572         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30573         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30574         * gst/gstpad.c: (gst_pad_peer_get_caps):
30575         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30576         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30577         (gst_queue_src_activate), (gst_queue_change_state):
30578         * gst/gstqueue.h:
30579         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30580         (intersect_caps_func):
30581         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30582         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30583         Some fixes for the peer_get_caps() change.
30584
30585 2005-05-06  Wim Taymans  <wim@fluendo.com>
30586
30587         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30588         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30589         (gst_basesink_activate):
30590         Actually do something with error codes returned from the push
30591         functions.
30592
30593 2005-05-06  Wim Taymans  <wim@fluendo.com>
30594
30595         * docs/design/part-element-sink.txt:
30596         * docs/design/part-element-source.txt:
30597         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30598         (gst_basesink_event), (gst_basesink_activate):
30599         * gst/base/gstbasesink.h:
30600         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30601         (gst_basesrc_activate):
30602         * gst/base/gstbasesrc.h:
30603         * gst/gstelement.c: (gst_element_pads_activate):
30604         Some more documentation.
30605         Fixed scheduling decision in _pads_activate().
30606
30607 2005-05-05  Andy Wingo  <wingo@pobox.com>
30608
30609         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30610         the test suite.
30611
30612 2005-05-05  Wim Taymans  <wim@fluendo.com>
30613
30614         * gst/base/Makefile.am:
30615         * gst/base/gstbasesink.h:
30616         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30617         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30618         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30619         (gst_collectpads_class_init), (gst_collectpads_init),
30620         (gst_collectpads_finalize), (gst_collectpads_new),
30621         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30622         (find_pad), (gst_collectpads_remove_pad),
30623         (gst_collectpads_is_active), (gst_collectpads_collect),
30624         (gst_collectpads_collect_range), (gst_collectpads_start),
30625         (gst_collectpads_stop), (gst_collectpads_peek),
30626         (gst_collectpads_pop), (gst_collectpads_available),
30627         (gst_collectpads_read), (gst_collectpads_flush),
30628         (gst_collectpads_chain):
30629         * gst/base/gstcollectpads.h:
30630         * gst/elements/Makefile.am:
30631         * gst/elements/gstelements.c:
30632         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30633         (gst_fakesink_get_times), (gst_fakesink_event),
30634         (gst_fakesink_preroll), (gst_fakesink_render):
30635         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30636         (gst_filesink_init), (gst_filesink_set_location),
30637         (gst_filesink_open_file), (gst_filesink_close_file),
30638         (gst_filesink_pad_query), (gst_filesink_event),
30639         (gst_filesink_render), (gst_filesink_change_state):
30640         * gst/elements/gstfilesink.h:
30641         Added object to help in making collect pad based elements.
30642         Ported filesink.
30643         Make event function in sink baseclass return gboolean.
30644
30645 2005-05-05  Wim Taymans  <wim@fluendo.com>
30646
30647         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30648         (gst_bin_get_by_name):
30649         * gst/gstbuffer.h:
30650         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30651         (gst_clock_finalize):
30652         * gst/gstdata.c: (gst_data_replace):
30653         * gst/gstdata.h:
30654         * gst/gstelement.c: (gst_element_request_pad),
30655         (gst_element_pads_activate):
30656         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30657         (gst_object_unref):
30658         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30659         (gst_pad_set_checkgetrange_function),
30660         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30661         (gst_pad_check_pull_range), (gst_pad_pull_range),
30662         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30663         (gst_pad_pause_task), (gst_pad_stop_task):
30664         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30665         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30666         Fix name lookup in GstBin.
30667         Added _data_replace() function and _buffer_replace()
30668         Use finalize method to clean up clock.
30669         Fix refcounting on request pads.
30670         Fix pad schedule mode error.
30671         Some more object refcounting debug info,
30672
30673
30674 2005-05-04  Andy Wingo <wingo@pobox.com>
30675
30676         * check/Makefile.am:
30677         * docs/gst/tmpl/gstatomic.sgml:
30678         * docs/gst/tmpl/gstplugin.sgml:
30679         * gst/base/gstbasesink.c: (gst_basesink_activate):
30680         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30681         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30682         (gst_basesrc_query), (gst_basesrc_set_property),
30683         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30684         (gst_basesrc_activate):
30685         * gst/base/gstbasesrc.h:
30686         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30687         (gst_base_transform_src_activate):
30688         * gst/elements/gstelements.c:
30689         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30690         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30691         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30692         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30693         (gst_type_find_element_checkgetrange),
30694         (gst_type_find_element_activate):
30695         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30696         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30697         (gst_caps_load_thyself):
30698         * gst/gstelement.c: (gst_element_pads_activate),
30699         (gst_element_save_thyself), (gst_element_restore_thyself):
30700         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30701         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30702         * gst/gstpad.h:
30703         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30704         (gst_xml_parse_file), (gst_xml_parse_memory),
30705         (gst_xml_get_element), (gst_xml_make_element):
30706         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30707         (_file_index_id_save_xml), (gst_file_index_commit):
30708         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30709         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30710         (load_paths):
30711         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30712         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30713         * tools/gst-complete.c: (main):
30714         * tools/gst-compprep.c: (main):
30715         * tools/gst-inspect.c: (print_element_properties_info):
30716         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30717         * tools/gst-xmlinspect.c: (print_element_properties):
30718         GCC 4 fixen.
30719         
30720 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30721
30722         * gst/gstplugin.c: (gst_plugin_check_module),
30723         (gst_plugin_check_file), (gst_plugin_load_file):
30724             apply patch from #172526 to make register work on MacOSX
30725
30726 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30727
30728         * docs/gst/tmpl/gstconfig.sgml:
30729         * gst/gstconfig.h.in:
30730           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30731         * testsuite/debug/printf_extension.c: (main):
30732           Do not use GST_PTR_FORMAT on pointers to types with
30733           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30734         * testsuite/elements/property.h:
30735           use correct printf format
30736
30737 2005-05-02  Wim Taymans  <wim@fluendo.com>
30738
30739         * docs/design/draft-push-pull.txt:
30740         * docs/design/draft-query.txt:
30741         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30742         (gst_basesrc_start):
30743         Added draft for new query API.
30744         Added draft for better selecting scheduling methods.
30745         Make basesrc ignore length if the subclass does not support
30746         it.
30747
30748 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30749
30750         * gst/Makefile.am:
30751           possible fixes for automake-1.5 - _LIBADD is reserved
30752
30753 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30754
30755         * docs/faq/Makefile.am:
30756         * docs/manual/Makefile.am:
30757         * docs/manuals.mak:
30758         * docs/pwg/Makefile.am:
30759         * gst/Makefile.am:
30760           possible fixes for automake-1.5
30761
30762 2005-04-28  Wim Taymans  <wim@fluendo.com>
30763
30764         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30765         (gst_basesink_pad_getcaps), (gst_basesink_init),
30766         (gst_basesink_do_sync):
30767         * gst/gstclock.c: (gst_clock_entry_new):
30768         * gst/gstevent.c: (gst_event_discont_get_value):
30769         * gst/gstpipeline.c: (pipeline_bus_handler),
30770         (gst_pipeline_change_state):
30771         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30772         Better debugging of clocking info.
30773         Allow NULL values when getting discont values.
30774
30775 2005-04-27  Wim Taymans  <wim@fluendo.com>
30776
30777         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30778         * check/gst/gstpad.c: (gst_pad_suite):
30779         Increase timeout for checks.
30780
30781 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30782
30783         * check/Makefile.am:
30784           fix the broken rule for cleanup.  Apparently this rule is
30785           only needed on FC2, so maybe this warrants further autotool
30786           inspection.
30787
30788 2005-04-26  Wim Taymans  <wim@fluendo.com>
30789
30790         * gst/gsttrashstack.h:
30791         Ooohh. a nasty one! After having a failed pop() from the stack,
30792         it's possible that the stack is empty. In that case, don't
30793         follow the NULL pointer.
30794
30795 2005-04-25  Wim Taymans  <wim@fluendo.com>
30796
30797         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30798         (gst_pad_set_checkgetrange_function),
30799         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30800         (gst_pad_check_pull_range), (gst_pad_pull_range),
30801         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30802         (gst_pad_pause_task), (gst_pad_stop_task):
30803         * gst/gstplugin.c: (gst_plugin_load):
30804         * gst/gstplugin.h:
30805         Remove gst_library_load as it does more harm than good with
30806         the new g_module flags.
30807         Revert bogus caps template check in pad linking, pad caps
30808         are important when linking not the template, which is more
30809         general than the current caps.
30810
30811 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30812
30813         * gst/autoplug/.cvsignore:
30814         * gst/autoplug/Makefile.am:
30815         * gst/autoplug/gstsearchfuncs.c:
30816         * gst/autoplug/gstsearchfuncs.h:
30817         * gst/autoplug/gstspider.c:
30818         * gst/autoplug/gstspider.h:
30819         * gst/autoplug/gstspideridentity.c:
30820         * gst/autoplug/gstspideridentity.h:
30821         * gst/autoplug/spidertest.c:
30822           Die, spider, die.
30823
30824 2005-04-25  Wim Taymans  <wim@fluendo.com>
30825
30826         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30827         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30828         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30829         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30830         * gst/gstpad.h:
30831         Added stubs for unimplemented functions. 
30832
30833 2005-04-24  David Schleef  <ds@schleef.org>
30834
30835         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30836         please fix.
30837
30838 2005-04-24  David Schleef  <ds@schleef.org>
30839
30840         Convert everything from GstAtomicInt to g_atomic_int_*, and
30841         remove gstatomic.
30842         * gst/Makefile.am:
30843         * gst/gstatomic.c:
30844         * gst/gstatomic.h:
30845         * gst/gstatomic_impl.h:
30846         * gst/gstbuffer.c:
30847         * gst/gstcaps.c:
30848         * gst/gstcaps.h:
30849         * gst/gstclock.c:
30850         * gst/gstclock.h:
30851         * gst/gstdata.c:
30852         * gst/gstdata.h:
30853         * gst/gstdata_private.h:
30854         * gst/gstevent.c:
30855         * gst/gstinfo.c:
30856         * gst/gstinfo.h:
30857         * gst/gstmessage.c:
30858         * gst/gstobject.c:
30859         * gst/gstobject.h:
30860         * gst/gststructure.c:
30861         * gst/gststructure.h:
30862         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30863         * gst/gstutils.h:
30864
30865 2005-04-24  David Schleef  <ds@schleef.org>
30866
30867         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30868         make the regressions tests work.  Remove some code that is no
30869         longer true.
30870         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30871         Disable warning for pads without templates.
30872
30873 2005-04-24  David Schleef  <ds@schleef.org>
30874
30875         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30876         functions that handle filtered links.
30877         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30878         removed functions.
30879         * gst/gstutils.c: Fix/remove utility functions that handle
30880         filtered caps.
30881         * gst/gstutils.h:
30882         * gst/gstvalue.c: Add serialization/deserialization of caps
30883         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30884         requires fixing so that the filter caps notation creates
30885         a capsfilter element and sets the filter_caps property.  I
30886         think everyone probably wants to keep the shorthand notation.
30887         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30888         * docs/gst/tmpl/gstpad.sgml:
30889
30890         * gst/elements/gstelements.c: Register capsfilter element.
30891         * gst/Makefile.am: fix spacing
30892         * docs/random/ds/0.9-suggested-changes: random
30893
30894 2005-04-23  David Schleef  <ds@schleef.org>
30895
30896         * gst/elements/Makefile.am:
30897         * gst/elements/gstcapsfilter.c: New element that acts like an
30898         identity, but filters caps.  Will eventually replace filtered
30899         caps in pad linking.
30900         * gst/gstutils.c: (gst_element_create_all_pads): New function
30901         to create all the ALWAYS pads that are registered with an
30902         element class.  This functionality should eventually be
30903         merged in with GstElement initialization.
30904         * gst/gstutils.h:
30905         * testsuite/trigger/README: part of trigger test code that should
30906         have been checked in a long time ago.
30907
30908 2005-04-23  David Schleef  <ds@schleef.org>
30909
30910         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30911         needed with new versions of libtool (nobody will confirm this),
30912         and hard to carry around.
30913         * gst/autoplug/Makefile.am:
30914         * gst/base/Makefile.am:
30915         * gst/elements/Makefile.am:
30916         * gst/indexers/Makefile.am:
30917         * gst/schedulers/Makefile.am:
30918         * libs/gst/bytestream/Makefile.am:
30919         * libs/gst/control/Makefile.am:
30920         * libs/gst/dataprotocol/Makefile.am:
30921         * libs/gst/getbits/Makefile.am:
30922
30923 2005-04-21  Wim Taymans  <wim@fluendo.com>
30924
30925         * docs/design/draft-push-pull.txt:
30926         * docs/design/part-MT-refcounting.txt:
30927         * docs/design/part-TODO.txt:
30928         * docs/design/part-caps.txt:
30929         * docs/design/part-events.txt:
30930         * docs/design/part-gstbus.txt:
30931         * docs/design/part-gstpipeline.txt:
30932         * docs/design/part-messages.txt:
30933         * docs/design/part-push-pull.txt:
30934         * docs/design/part-query.txt:
30935         Some more docs.
30936
30937 2005-04-21  Wim Taymans  <wim@fluendo.com>
30938
30939         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30940         (gst_message_new), (gst_message_new_error),
30941         (gst_message_new_warning), (gst_message_new_tag),
30942         (gst_message_new_state_changed), (gst_message_new_application),
30943         (gst_message_get_structure):
30944         * gst/gstmessage.h:
30945         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30946         (gst_structure_copy_conditional):
30947         Use parent refcount in GstMessage to ensure GstStructure
30948         consistency.
30949         Cleaned up headers a bit.
30950         
30951
30952 2005-04-20  Wim Taymans  <wim@fluendo.com>
30953
30954         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30955         (gst_basesink_pad_getcaps), (gst_basesink_init),
30956         (gst_basesink_chain_unlocked):
30957         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30958         (gst_type_find_helper):
30959         * gst/elements/gsttypefindelement.c:
30960         (gst_type_find_element_have_type), (gst_type_find_element_init),
30961         (stop_typefinding), (gst_type_find_element_handle_event),
30962         (find_suggest), (gst_type_find_element_chain),
30963         (gst_type_find_element_checkgetrange),
30964         (gst_type_find_element_getrange), (do_typefind),
30965         (gst_type_find_element_activate):
30966         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30967         (gst_buffer_default_free), (gst_buffer_default_copy),
30968         (gst_buffer_set_caps):
30969         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30970         (gst_caps_replace):
30971         * gst/gstmessage.c: (gst_message_new),
30972         (gst_message_new_state_changed):
30973         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30974         (gst_pad_set_checkgetrange_function),
30975         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30976         (gst_pad_set_caps), (gst_pad_check_pull_range),
30977         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30978         * gst/gstpad.h:
30979         * gst/gsttypefind.c: (gst_type_find_register):
30980         Make gst_caps_replace() work like other _replace() functions.
30981         Use _caps_replace() where possible.
30982         Make sure _message_new() initialises its field.
30983         Add gst_static_pad_template_get_caps()
30984
30985
30986 2005-04-18  Andy Wingo  <wingo@pobox.com>
30987
30988         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30989         on the peer, not the pad. I think that was a typo. Pass an extra
30990         arg to see if random access is possible. Activate the pads as
30991         PULL_RANGE if possible.
30992
30993         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30994
30995         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30996         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30997         to PROP_....
30998
30999 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31000
31001         * docs/faq/using.xml:
31002           Add note on gstreamer-properties (#154996).
31003
31004 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31005
31006         * docs/random/bbb/optional-properties:
31007           Some analysis on optional properties.
31008
31009 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31010
31011         * docs/gst/tmpl/gstelementfactory.sgml:
31012         * gst/gstelement.h:
31013         * gst/gstelementfactory.c: (gst_element_factory_init),
31014         (gst_element_factory_cleanup), (gst_element_register),
31015         (__gst_element_factory_add_static_pad_template),
31016         (gst_element_factory_get_static_pad_templates),
31017         (gst_element_factory_can_src_caps),
31018         (gst_element_factory_can_sink_caps):
31019         * gst/registries/Makefile.am:
31020         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31021         (gst_xml_registry_class_init), (gst_xml_registry_init),
31022         (gst_xml_registry_new), (gst_xml_registry_set_property),
31023         (gst_xml_registry_get_property), (get_time), (make_dir),
31024         (gst_xml_registry_get_perms_func),
31025         (plugin_times_older_than_recurse), (plugin_times_older_than),
31026         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31027         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31028         (add_to_char_array), (read_string), (read_uint), (read_enum),
31029         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31030         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31031         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31032         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31033         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31034         (gst_xml_registry_rebuild):
31035         * gst/registries/gstlibxmlregistry.h:
31036         * tools/gst-compprep.c: (main):
31037         * tools/gst-inspect.c: (print_pad_templates_info):
31038         * tools/gst-xmlinspect.c: (print_element_info):
31039           Use libxml2 for registry parsing, use staticpadtemplates in
31040           elementfactories. Makes gst_init() +/- 10x faster.
31041
31042 2005-04-12  Wim Taymans  <wim@fluendo.com>
31043
31044         * gst/base/Makefile.am:
31045         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31046         (gst_basesink_pad_getcaps), (gst_basesink_init),
31047         (gst_basesink_event), (gst_basesink_change_state):
31048         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31049         (gst_basesrc_init), (gst_basesrc_query),
31050         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31051         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31052         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31053         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31054         (gst_basesrc_stop), (gst_basesrc_activate),
31055         (gst_basesrc_change_state):
31056         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31057         (helper_find_suggest), (gst_type_find_helper):
31058         * gst/base/gsttypefindhelper.h:
31059         * gst/elements/Makefile.am:
31060         * gst/elements/gstelements.c:
31061         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31062         (gst_fakesink_get_times), (gst_fakesink_event),
31063         (gst_fakesink_preroll), (gst_fakesink_render):
31064         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31065         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31066         (gst_fakesrc_get_property), (gst_fakesrc_create),
31067         (gst_fakesrc_start), (gst_fakesrc_stop):
31068         * gst/elements/gstfakesrc.h:
31069         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31070         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31071         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31072         (gst_filesrc_create_read), (gst_filesrc_create),
31073         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31074         (gst_filesrc_start):
31075         * gst/elements/gsttypefindelement.c:
31076         (gst_type_find_element_have_type), (gst_type_find_element_init),
31077         (start_typefinding), (stop_typefinding), (push_buffer_store),
31078         (gst_type_find_element_handle_event),
31079         (gst_type_find_element_chain),
31080         (gst_type_find_element_checkgetrange),
31081         (gst_type_find_element_getrange), (do_typefind),
31082         (gst_type_find_element_activate),
31083         (gst_type_find_element_change_state):
31084         * gst/elements/gsttypefindelement.h:
31085         * gst/gstpipeline.c: (pipeline_bus_handler):
31086         Added typefind helper.
31087         Small preroll fix in the base sink.
31088         Disable typefind code in basesrc.
31089         Crude port of typefindelement.
31090         Fakesrc cleanups.
31091
31092
31093 2005-04-11  Wim Taymans  <wim@fluendo.com>
31094
31095         * check/gst/gstbus.c: (gstbus_suite):
31096         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31097         * check/gstcheck.h:
31098           Fix up the timeout so that the test does not fail.
31099
31100 2005-04-06  Wim Taymans  <wim@fluendo.com>
31101
31102         * gst/base/README:
31103         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31104         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31105         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31106         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31107         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31108         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31109         (gst_basesrc_stop), (gst_basesrc_activate),
31110         (gst_basesrc_change_state), (basesrc_find_peek),
31111         (basesrc_find_suggest), (gst_basesrc_type_find):
31112         * gst/base/gstbasesrc.h:
31113         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31114         (gst_filesrc_class_init), (gst_filesrc_init),
31115         (gst_filesrc_finalize), (gst_filesrc_set_location),
31116         (gst_filesrc_set_property), (gst_filesrc_get_property),
31117         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31118         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31119         (gst_filesrc_create_read), (gst_filesrc_create),
31120         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31121         * gst/elements/gstfilesrc.h:
31122         * gst/gstelement.c: (gst_element_get_state_func),
31123         (gst_element_lost_state), (gst_element_pads_activate):
31124         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31125         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31126         (gst_pad_pull_range):
31127         * gst/gstpad.h:
31128         More work on the generic source base class, implement seeking,
31129         query.
31130         Make filesrc extend the base source class.
31131         Added gst_pad_set_checkgetrange_function to GstPad.
31132
31133 2005-04-06  Andy Wingo  <wingo@pobox.com>
31134
31135         * pkgconfig/gstreamer-base.pc.in:
31136         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31137
31138         * pkgconfig/Makefile.am:
31139         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31140
31141 2005-04-04  Wim Taymans  <wim@fluendo.com>
31142
31143         * gst/base/Makefile.am:
31144         * gst/base/README:
31145         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31146         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31147         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31148         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31149         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31150         (gst_basesrc_base_init), (gst_basesrc_class_init),
31151         (gst_basesrc_init), (gst_basesrc_get_formats),
31152         (gst_basesrc_get_query_types), (gst_basesrc_query),
31153         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31154         (gst_basesrc_set_property), (gst_basesrc_get_property),
31155         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31156         (gst_basesrc_loop), (gst_basesrc_activate),
31157         (gst_basesrc_change_state):
31158         * gst/base/gstbasesrc.h:
31159         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31160         (gst_fakesrc_class_init), (gst_fakesrc_init),
31161         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31162         (gst_fakesrc_get_property), (gst_fakesrc_create):
31163         * gst/elements/gstfakesrc.h:
31164         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31165         (gst_filesrc_open_file), (gst_filesrc_loop),
31166         (gst_filesrc_activate), (filesrc_find_peek),
31167         (gst_filesrc_type_find):
31168         Made base source class, make fakesrc extend it.
31169         Add comments to basesink class.
31170         Some filesrc cleanup.
31171
31172 2005-03-31  David Schleef  <ds@schleef.org>
31173
31174         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31175         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31176         expected to link against libgstreamer.
31177         * gst/base/Makefile.am: link against libgstreamer
31178         * gst/elements/Makefile.am: same
31179
31180 2005-03-31  Andy Wingo  <wingo@pobox.com>
31181
31182         * tests/instantiate/Makefile.am:
31183         * tests/instantiate/caps.c: Add test to test speed of caps copy
31184         and free.
31185
31186         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31187         GMemChunk to be fair.
31188
31189         * gst/gsttrashstack.h: Remove warning about using the fallback
31190         trash stack implementation, it's still faster than malloc.
31191
31192 2005-03-30  Andy Wingo  <wingo@pobox.com>
31193
31194         * tests/complexity.c: Add a copyright.
31195
31196 2005-03-31  Wim Taymans  <wim@fluendo.com>
31197
31198         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31199         (gst_base_transform_class_init), (gst_base_transform_init),
31200         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31201         (gst_base_transform_get_property),
31202         (gst_base_transform_sink_activate),
31203         (gst_base_transform_src_activate),
31204         (gst_base_transform_change_state):
31205         * gst/base/gstbasetransform.h:
31206         * gst/elements/gstidentity.c: (gst_identity_class_init),
31207         (gst_identity_event), (gst_identity_check_perfect),
31208         (gst_identity_transform), (gst_identity_start),
31209         (gst_identity_stop):
31210         Added start/stop methods to transform base class so subclasses 
31211         don't need to deal with state changes even.
31212
31213 2005-03-31  Wim Taymans  <wim@fluendo.com>
31214
31215         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31216         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31217         * gst/gstevent.h:
31218         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31219         (gst_pad_pull_range):
31220         Added rate to the discont event to prepare for variable speed
31221         and reverse playback.
31222
31223 2005-03-29  David Schleef  <ds@schleef.org>
31224
31225         * configure.ac:
31226         * testsuite/trigger/Makefile.am:
31227         * testsuite/trigger/trigger.c: A little example program to show
31228         how trigger-based elements can work.
31229
31230 2005-03-29  Wim Taymans  <wim@fluendo.com>
31231
31232         * gst/base/Makefile.am:
31233         * gst/base/README:
31234         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31235         (gst_basesink_base_init), (gst_basesink_class_init),
31236         (gst_basesink_pad_getcaps), (gst_basesink_init),
31237         (gst_basesink_activate), (gst_basesink_change_state):
31238         * gst/base/gstbasesink.h:
31239         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31240         (gst_base_transform_base_init), (gst_base_transform_finalize),
31241         (gst_base_transform_class_init), (gst_base_transform_init),
31242         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31243         (gst_base_transform_event), (gst_base_transform_getrange),
31244         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31245         (gst_base_transform_set_property),
31246         (gst_base_transform_get_property),
31247         (gst_base_transform_sink_activate),
31248         (gst_base_transform_src_activate),
31249         (gst_base_transform_change_state):
31250         * gst/base/gstbasetransform.h:
31251         * gst/elements/gstidentity.c: (gst_identity_finalize),
31252         (gst_identity_class_init), (gst_identity_init),
31253         (gst_identity_event), (gst_identity_check_perfect),
31254         (gst_identity_transform), (gst_identity_set_property),
31255         (gst_identity_get_property), (gst_identity_change_state):
31256         * gst/elements/gstidentity.h:
31257         * gst/gstelement.c: (gst_element_get_state_func),
31258         (gst_element_lost_state), (gst_element_pads_activate):
31259         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31260         (gst_pad_check_pull_range), (gst_pad_pull_range):
31261         * gst/gstpad.h:
31262         Simplify pad activation.
31263         Added function to check if pull_range can be performed.
31264         Error out when pulling inactive or flushing pads.
31265         Removed const from refcounted types as it does not make sense.
31266         Simplify pad templates in basesink
31267         Added base class for simple 1-to-1 transforms.
31268         Make identity subclass the base transform.
31269
31270 2005-03-29  Andy Wingo  <wingo@pobox.com>
31271
31272         * docs/libs/gstreamer-libs-overrides.txt: 
31273         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31274         really don't understand what's going on, but like whatever. I want
31275         green buildbot!
31276
31277         * docs/gst/Makefile.am:
31278         * docs/libs/Makefile.am: Dist the overrides files.
31279
31280         * check/Makefile.am (clean-local): Remove .libs directories.
31281
31282         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31283         elements to EXTRA_DIST, so po/ files are happy.
31284
31285         * po/POTFILES.in: Er, remove it here.
31286
31287         * po/POTFILES: Remove gstspider.c.
31288
31289         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31290
31291         * docs/libs/gstreamer-libs-docs.sgml: 
31292         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31293         bytestream.
31294
31295         * tests/complexity.c (main): Set the length of the preroll queue
31296         on the sinks to prevent a lockup.
31297
31298         * libs/gst/dataprotocol/Makefile.am: 
31299         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31300         the same as the one in check/gst-libs/gdp.c.
31301
31302         * po/, docs/gst/: Commit automatic changes to docs and po files.
31303
31304         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31305         the versioned libgstbase.
31306
31307         * check/Makefile.am: Depend on an unversioned gst-register, seems
31308         to make autoconf happier.
31309
31310         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31311
31312 2005-03-28  Wim Taymans  <wim@fluendo.com>
31313
31314         * configure.ac:
31315         * docs/design/part-gstelement.txt:
31316         * docs/design/part-negotiation.txt:
31317         * docs/design/part-preroll.txt:
31318         * docs/design/part-scheduling.txt:
31319         * docs/design/part-states.txt:
31320         * gst/Makefile.am:
31321         * gst/base/Makefile.am:
31322         * gst/base/README:
31323         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31324         (gst_basesink_base_init), (gst_basesink_class_init),
31325         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31326         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31327         (gst_basesink_set_pad_functions),
31328         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31329         (gst_basesink_set_property), (gst_basesink_get_property),
31330         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31331         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31332         (gst_basesink_preroll_queue_push),
31333         (gst_basesink_preroll_queue_empty),
31334         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31335         (gst_basesink_event), (gst_basesink_get_times),
31336         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31337         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31338         (gst_basesink_loop), (gst_basesink_activate),
31339         (gst_basesink_change_state):
31340         * gst/base/gstbasesink.h:
31341         * gst/elements/Makefile.am:
31342         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31343         (gst_fakesink_class_init), (gst_fakesink_init),
31344         (gst_fakesink_set_property), (gst_fakesink_get_property),
31345         (gst_fakesink_get_times), (gst_fakesink_event),
31346         (gst_fakesink_preroll), (gst_fakesink_render),
31347         (gst_fakesink_change_state):
31348         * gst/elements/gstfakesink.h:
31349         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31350         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31351         * gst/gstelement.c: (gst_element_add_pad),
31352         (gst_element_get_state_func), (gst_element_abort_state),
31353         (gst_element_commit_state), (gst_element_lost_state),
31354         (gst_element_set_state), (gst_element_pads_activate):
31355         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31356         * gst/gstpipeline.c: (gst_pipeline_send_event),
31357         (gst_pipeline_change_state):
31358         Added state change code.
31359         Added/updated docs.
31360         Added sink base class, make fakesink extend the base class.
31361         Small cleanups in GstPipeline.
31362
31363 2005-03-26  David Schleef  <ds@schleef.org>
31364
31365         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31366         is broken and should be implemented in a different library.
31367         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31368         * gst/gst.h: remove gstcpu.h
31369         * gst/gstcpu.c: remove
31370         * gst/gstcpu.h: remove
31371         * gst/Makefile.am.future: Remove this file.  It's ancient.
31372
31373 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31374
31375         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31376         (gst_bin_send_event):
31377           Add default event/set_manager handlers. The set_manager handler
31378           takes care that the manager is distributed over kids that were
31379           already in the bin before the manager was set. The event handler
31380           is a utility virtual function that sends the event over all sinks,
31381           so that gst_element_send_event (bin, event); has the expected
31382           behaviour.
31383         * gst/gstpad.c: (gst_pad_event_default):
31384           Re-install default event handling for discontinuities, so that
31385           seeking works without requiring hacks in applications or extra
31386           code in sinks.
31387         * gst/gstpipeline.c: (gst_pipeline_class_init),
31388         (gst_pipeline_send_event):
31389           Half hack, half utility: set a pipeline to PAUSED for seek events,
31390           since that is the only way we can guarantee a/v sync. Means that
31391           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31392           and it "just works".
31393
31394 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31395
31396         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31397           Lock/unlock mismatch.
31398
31399 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31400
31401         * docs/faq/gst-uninstalled:
31402           add gst-plugins-base
31403         * docs/gst/Makefile.am:
31404           don't error out until docs are fixed
31405         * docs/gst/gstreamer.types:
31406           remove thread
31407
31408 2005-03-22  Wim Taymans  <wim@fluendo.com>
31409
31410         * check/Makefile.am:
31411         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31412         * gst/gststructure.c: (gst_structure_set_valist),
31413         (gst_structure_copy_conditional):
31414         Activated more tests.
31415         Added message test.
31416         Added G_TYPE_POINTER to GstStructure.
31417         
31418
31419 2005-03-22  Wim Taymans  <wim@fluendo.com>
31420
31421         * docs/design/part-TODO.txt:
31422         * docs/design/part-events.txt:
31423         * docs/design/part-gstbin.txt:
31424         * docs/design/part-gstbus.txt:
31425         * docs/design/part-gstpipeline.txt:
31426         * docs/design/part-messages.txt:
31427         * gst/gstbus.c:
31428         * gst/gstmessage.c:
31429         Docs updates
31430
31431 2005-03-21  Wim Taymans  <wim@fluendo.com>
31432
31433         * gst/gstbus.c: (gst_bus_post):
31434         Fix copy-and-paste error.
31435
31436 2005-03-21  Wim Taymans  <wim@fluendo.com>
31437
31438         * check/Makefile.am:
31439         * gst/Makefile.am:
31440         * gst/elements/Makefile.am:
31441         * gst/elements/gstelements.c:
31442         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31443         (gst_fakesink_event), (gst_fakesink_chain):
31444         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31445         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31446         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31447         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31448         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31449         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31450         (gst_fakesrc_loop), (gst_fakesrc_activate),
31451         (gst_fakesrc_change_state):
31452         * gst/elements/gstfakesrc.h:
31453         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31454         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31455         (gst_filesrc_open_file), (gst_filesrc_loop),
31456         (gst_filesrc_activate), (gst_filesrc_change_state),
31457         (filesrc_find_peek), (filesrc_find_suggest),
31458         (gst_filesrc_type_find):
31459         * gst/elements/gstidentity.c: (gst_identity_finalize),
31460         (gst_identity_class_init), (gst_identity_init),
31461         (gst_identity_proxy_getcaps), (identity_queue_push),
31462         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31463         (gst_identity_getrange), (gst_identity_chain),
31464         (gst_identity_sink_loop), (gst_identity_src_loop),
31465         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31466         (gst_identity_set_property), (gst_identity_get_property),
31467         (gst_identity_change_state):
31468         * gst/elements/gstidentity.h:
31469         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31470         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31471         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31472         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31473         (gst_tee_sink_activate):
31474         * gst/elements/gsttee.h:
31475         * gst/gst.c: (gst_register_core_elements), (init_post):
31476         * gst/gst.h:
31477         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31478         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31479         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31480         (gst_bin_change_state):
31481         * gst/gstbin.h:
31482         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31483         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31484         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31485         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31486         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31487         (bus_watch_callback), (bus_watch_destroy),
31488         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31489         (poll_timeout), (gst_bus_poll):
31490         * gst/gstbus.h:
31491         * gst/gstcaps.h:
31492         * gst/gstdata.h:
31493         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31494         (gst_element_post_message), (gst_element_message_full),
31495         (gst_element_get_state_func), (gst_element_get_state),
31496         (gst_element_abort_state), (gst_element_commit_state),
31497         (gst_element_lost_state), (gst_element_set_state),
31498         (gst_element_pads_activate), (gst_element_change_state),
31499         (gst_element_dispose), (gst_element_set_manager_func),
31500         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31501         (gst_element_set_manager), (gst_element_get_manager),
31502         (gst_element_set_bus), (gst_element_get_bus),
31503         (gst_element_set_scheduler), (gst_element_get_scheduler):
31504         * gst/gstelement.h:
31505         * gst/gstevent.c: (gst_event_new_segment_seek),
31506         (gst_event_new_flush):
31507         * gst/gstevent.h:
31508         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31509         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31510         (gst_message_new_eos), (gst_message_new_error),
31511         (gst_message_new_warning), (gst_message_new_tag),
31512         (gst_message_new_state_changed), (gst_message_new_application),
31513         (gst_message_get_structure), (gst_message_parse_tag),
31514         (gst_message_parse_state_changed), (gst_message_parse_error),
31515         (gst_message_parse_warning):
31516         * gst/gstmessage.h:
31517         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31518         (gst_real_pad_set_property), (gst_pad_set_active),
31519         (gst_pad_is_active), (gst_pad_set_blocked_async),
31520         (gst_pad_set_blocked), (gst_pad_is_blocked),
31521         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31522         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31523         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31524         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31525         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31526         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31527         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31528         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31529         (gst_pad_set_caps), (gst_pad_configure_sink),
31530         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31531         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31532         (gst_real_pad_dispose), (gst_real_pad_finalize),
31533         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31534         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31535         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31536         * gst/gstpad.h:
31537         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31538         (pipeline_bus_handler), (gst_pipeline_change_state),
31539         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31540         * gst/gstpipeline.h:
31541         * gst/gstprobe.h:
31542         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31543         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31544         (gst_queue_link_src), (gst_queue_bufferalloc),
31545         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31546         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31547         (gst_queue_loop), (gst_queue_handle_src_event),
31548         (gst_queue_handle_src_query), (gst_queue_src_activate),
31549         (gst_queue_change_state):
31550         * gst/gstqueue.h:
31551         * gst/gstscheduler.c: (gst_scheduler_init),
31552         (gst_scheduler_dispose), (gst_scheduler_create_task),
31553         (gst_scheduler_factory_create):
31554         * gst/gstscheduler.h:
31555         * gst/gststructure.c: (gst_structure_get_type),
31556         (gst_structure_copy_conditional):
31557         * gst/gststructure.h:
31558         * gst/gsttaginterface.h:
31559         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31560         (gst_task_init), (gst_task_dispose), (gst_task_create),
31561         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31562         (gst_task_pause):
31563         * gst/gsttask.h:
31564         * gst/gstthread.c:
31565         * gst/gstthread.h:
31566         * gst/gsttypes.h:
31567         * gst/schedulers/Makefile.am:
31568         * gst/schedulers/cothreads_compat.h:
31569         * gst/schedulers/entryscheduler.c:
31570         * gst/schedulers/faircothreads.c:
31571         * gst/schedulers/faircothreads.h:
31572         * gst/schedulers/fairscheduler.c:
31573         * gst/schedulers/gstbasicscheduler.c:
31574         * gst/schedulers/gstoptimalscheduler.c:
31575         * gst/schedulers/gthread-cothreads.h:
31576         * gst/schedulers/threadscheduler.c:
31577         (gst_thread_scheduler_task_get_type),
31578         (gst_thread_scheduler_task_class_init),
31579         (gst_thread_scheduler_task_init),
31580         (gst_thread_scheduler_task_start),
31581         (gst_thread_scheduler_task_stop),
31582         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31583         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31584         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31585         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31586         (plugin_init):
31587         * libs/gst/Makefile.am:
31588         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31589         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31590         (gst_file_pad_parent_set):
31591         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31592         (gst_dp_event_from_packet):
31593         * tests/complexity.c: (main):
31594         * tests/mass_elements.c: (main):
31595         * testsuite/states/locked.c: (message_received), (main):
31596         * testsuite/states/parent.c: (main):
31597         * tools/gst-inspect.c: (print_element_flag_info),
31598         (print_implementation_info), (print_pad_info):
31599         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31600         (main):
31601         * tools/gst-md5sum.c: (event_loop), (main):
31602         * tools/gst-typefind.c: (main):
31603         * tools/gst-xmlinspect.c: (print_element_info):
31604         Next big merge.
31605         Added GstBus for mainloop integration.
31606         Added GstMessage for sending notifications on the bus.
31607         Added GstTask as an abstraction for pipeline entry points.
31608         Removed GstThread.
31609         Removed Schedulers.
31610         Simplified GstQueue for multithreaded core.
31611         Made _link threadsafe, removed old capsnego.
31612         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31613         Added pad blocking functions.
31614         Reworked scheduling functions in GstPad to prepare for
31615         scheduling updates soon.
31616         Moved events out of data stream.
31617         Simplified GstEvent types.
31618         Added return values to push/pull.
31619         Removed clocking from GstElement.
31620         Added prototypes for state change function for next merge.
31621         Removed iterate from bins and state change management.
31622         Fixed some elements, disabled others for now.
31623         Fixed -inspect and -launch.
31624         Added check for GstBus.
31625
31626 2005-03-10  Wim Taymans  <wim@fluendo.com>
31627
31628         * docs/design/part-MT-refcounting.txt:
31629         * docs/design/part-clocks.txt:
31630         * docs/design/part-gstelement.txt:
31631         * docs/design/part-gstobject.txt:
31632         * docs/design/part-standards.txt:
31633         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31634         (gst_bin_remove_func), (gst_bin_remove):
31635         * gst/gstbin.h:
31636         * gst/gstbuffer.c:
31637         * gst/gstcaps.h:
31638         * testsuite/clock/clock1.c: (main):
31639         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31640         (main):
31641         * testsuite/dlopen/loadgst.c: (do_test):
31642         * testsuite/refcounting/bin.c: (add_remove_test1),
31643         (add_remove_test2), (main):
31644         * testsuite/refcounting/element.c: (main):
31645         * testsuite/refcounting/element_pad.c: (main):
31646         * testsuite/refcounting/pad.c: (main):
31647         * tools/gst-launch.c: (sigint_handler_sighandler):
31648         * tools/gst-typefind.c: (main):
31649         Doc updates.
31650         Added doc about clock.
31651         removed gst_bin_iterate_recurse_up(), marked methods
31652         for removal.
31653         Fix more testsuites.
31654
31655 2005-03-09  Wim Taymans  <wim@fluendo.com>
31656
31657         * gst/gstpad.c: (gst_pad_get_direction),
31658         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31659         (gst_pad_collect_valist):
31660         * testsuite/bins/interface.c: (main):
31661         * testsuite/caps/audioscale.c: (test_caps):
31662         * testsuite/caps/caps.c: (test1), (test2), (test3):
31663         * testsuite/caps/deserialize.c: (main):
31664         * testsuite/caps/enumcaps.c: (main):
31665         * testsuite/caps/filtercaps.c: (main):
31666         * testsuite/caps/intersect2.c: (main):
31667         * testsuite/caps/random.c: (main):
31668         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31669         * testsuite/caps/sets.c: (check_caps):
31670         * testsuite/caps/simplify.c: (check_caps), (main):
31671         * testsuite/caps/subtract.c: (check_caps):
31672         Fix _pad_get_direction wrt ghostpads.
31673         Fix caps testsuite.
31674
31675 2005-03-09  Wim Taymans  <wim@fluendo.com>
31676
31677         * check/Makefile.am:
31678         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31679         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31680         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31681         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31682         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31683         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31684         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31685         (bin_element_is_sink), (gst_bin_iterate_sinks),
31686         (gst_bin_iterate_all_by_interface):
31687         * gst/gstbin.h:
31688         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31689         (gst_element_change_state), (gst_element_dispose),
31690         (gst_element_finalize), (gst_element_set_loop_function):
31691         * gst/gstelement.h:
31692         * gst/gstiterator.c: (find_custom_fold_func):
31693         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31694         (gst_pad_collectv), (gst_pad_collect_valist),
31695         (gst_pad_template_new):
31696         * gst/gstpipeline.c: (gst_pipeline_class_init),
31697         (gst_pipeline_dispose), (gst_pipeline_set_property),
31698         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31699         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31700         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31701         * gst/gstutils.h:
31702         * gst/schedulers/entryscheduler.c:
31703         * gst/schedulers/gstbasicscheduler.c:
31704         (gst_basic_scheduler_cothreaded_chain),
31705         (gst_basic_scheduler_chain_add_element):
31706         * testsuite/bins/interface.c: (main):
31707         Added GstBin test.
31708         Added GstSystemClock test.
31709         Implemented clock distribution code in GstBin.
31710         Implemented iterate sinks method for future use.
31711         Rearranged gstelement.h
31712         Fix GstIterator comparison bug.
31713         Moved some code to GstPipeline, mostly clocking related.
31714
31715 2005-03-09  Wim Taymans  <wim@fluendo.com>
31716
31717         * configure.ac:
31718         * gst/gst_private.h:
31719         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31720         (gst_bin_remove_func), (gst_bin_remove),
31721         (gst_bin_get_by_name_recurse_up):
31722         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31723         (gst_clock_id_compare_func), (gst_clock_id_wait),
31724         (gst_clock_id_wait_async), (gst_clock_init),
31725         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31726         * gst/gstelement.h:
31727         * gst/gstinfo.c: (_gst_debug_init):
31728         * gst/gstobject.h:
31729         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31730         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31731         * gst/gstpad.h:
31732         Bump version number, we're now 0.9.0
31733         Add future debugging category.
31734         Fix NULL _unref() in _get_by_name_recurse_up
31735         Rearrange gstpad.h.
31736         Update some docs.
31737
31738 2005-03-08  Wim Taymans  <wim@fluendo.com>
31739
31740         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31741         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31742         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31743         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31744         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31745         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31746         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31747         * gst/elements/gstidentity.c: (gst_identity_class_init):
31748         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31749         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31750         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31751         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31752         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31753         (gst_tee_link):
31754         * gst/gstelement.c: (gst_element_class_init),
31755         (gst_element_base_class_init), (gst_element_init),
31756         (gst_element_get_random_pad), (gst_element_wait_state_change),
31757         (gst_element_change_state), (gst_element_dispose),
31758         (gst_element_finalize), (gst_element_set_loop_function):
31759         * gst/gstelement.h:
31760         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31761         * gst/gstthread.c: (gst_thread_class_init),
31762         (gst_thread_release_children_locks), (gst_thread_change_state):
31763         * gst/schedulers/gstbasicscheduler.c:
31764         (gst_basic_scheduler_loopfunc_wrapper),
31765         (gst_basic_scheduler_chain_wrapper),
31766         (gst_basic_scheduler_src_wrapper),
31767         (gst_basic_scheduler_remove_element):
31768         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31769         Remove threadsafe properties. Fix elements because GObject
31770         complains when installing a property before declaring a
31771         set/get_property handler.
31772         Rearrange gstelement.h file, use STATE macros for state locks.
31773         Free mutexes in the finalize method instead of dispose.
31774
31775 2005-03-08  Wim Taymans  <wim@fluendo.com>
31776
31777         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31778         * gst/gstthread.c: (gst_thread_release_children_locks):
31779         Added parentage check.
31780         Fix build og GstThread again.
31781
31782 2005-03-08  Wim Taymans  <wim@fluendo.com>
31783
31784         * docs/design/part-MT-refcounting.txt:
31785         * docs/design/part-conventions.txt:
31786         * docs/design/part-gstobject.txt:
31787         * docs/design/part-relations.txt:
31788         * docs/design/part-standards.txt:
31789         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31790         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31791         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31792         (gst_bin_iterate_all_by_interface):
31793         * gst/gstbuffer.h:
31794         * gst/gstclock.h:
31795         * gst/gstelement.c: (gst_element_class_init),
31796         (gst_element_change_state), (gst_element_set_loop_function):
31797         * gst/gstelement.h:
31798         * gst/gstiterator.c:
31799         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31800         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31801         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31802         (gst_object_set_parent), (gst_object_unparent),
31803         (gst_object_check_uniqueness):
31804         * gst/gstobject.h:
31805         Docs updates, clean up some headers.
31806
31807 2005-03-07  Wim Taymans  <wim@fluendo.com>
31808
31809         * check/.cvsignore:
31810         * check/Makefile.am:
31811         * check/gst-libs/.cvsignore:
31812         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31813         * check/gst/.cvsignore:
31814         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31815         (START_TEST), (gstbus_suite), (main):
31816         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31817         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31818         (gst_data_suite), (main):
31819         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31820         (add_fold_func), (gstiterator_suite), (main):
31821         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31822         (thread_name_object), (thread_name_object_default),
31823         (gst_object_name_compare), (gst_object_suite), (main):
31824         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31825         (gst_pad_suite), (main):
31826         * check/gstcheck.c: (gst_check_log_message_func),
31827         (gst_check_log_critical_func), (gst_check_init):
31828         * check/gstcheck.h:
31829         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31830         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31831         Added checks.
31832
31833 2005-03-07  Wim Taymans  <wim@fluendo.com>
31834
31835         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31836         (gst_list_iterator_next), (gst_list_iterator_resync),
31837         (gst_list_iterator_free), (gst_iterator_new_list),
31838         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31839         (gst_iterator_free), (gst_iterator_push), (filter_next),
31840         (filter_resync), (filter_uninit), (filter_free),
31841         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31842         (gst_iterator_foreach), (find_custom_fold_func),
31843         (gst_iterator_find_custom):
31844         * gst/gstiterator.h:
31845         Added missing files.
31846
31847 2005-03-07  Wim Taymans  <wim@fluendo.com>
31848
31849         * Makefile.am:
31850         * configure.ac:
31851         * docs/design/part-MT-refcounting.txt:
31852         * docs/design/part-conventions.txt:
31853         * docs/design/part-gstobject.txt:
31854         * docs/design/part-relations.txt:
31855         * examples/mixer/mixer.c: (main):
31856         * examples/thread/thread.c: (eos), (main):
31857         * gst/Makefile.am:
31858         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31859         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31860         (gst_spider_plug_from_srcpad):
31861         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31862         (gst_spider_identity_change_state),
31863         (gst_spider_identity_sink_loop_type_finding):
31864         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31865         * gst/elements/gstidentity.c: (gst_identity_init):
31866         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31867         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31868         * gst/elements/gsttypefindelement.c: (free_entry):
31869         * gst/gst.c:
31870         * gst/gst.h:
31871         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31872         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31873         (gst_bin_set_index), (gst_bin_set_element_sched),
31874         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31875         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31876         (gst_bin_iterate_elements), (iterate_child_recurse),
31877         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31878         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31879         (compare_interface), (gst_bin_get_by_interface),
31880         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31881         * gst/gstbin.h:
31882         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31883         (gst_buffer_default_free), (gst_buffer_default_copy),
31884         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31885         (gst_buffer_create_sub):
31886         * gst/gstbuffer.h:
31887         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31888         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31889         (gst_caps_unref), (gst_static_caps_get),
31890         (gst_caps_remove_and_get_structure), (gst_caps_append),
31891         (gst_caps_append_structure), (gst_caps_remove_structure),
31892         (gst_caps_copy_nth), (gst_caps_set_simple),
31893         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31894         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31895         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31896         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31897         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31898         (gst_caps_structure_figure_out_union),
31899         (gst_caps_switch_structures), (gst_caps_do_simplify),
31900         (gst_caps_replace), (gst_caps_from_string),
31901         (gst_caps_copy_conditional):
31902         * gst/gstcaps.h:
31903         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31904         (_gst_clock_id_free), (gst_clock_id_unref),
31905         (gst_clock_id_compare_func), (gst_clock_id_wait),
31906         (gst_clock_id_wait_async), (gst_clock_class_init),
31907         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31908         (gst_clock_get_time), (gst_clock_set_time_adjust),
31909         (gst_clock_set_property), (gst_clock_get_property):
31910         * gst/gstclock.h:
31911         * gst/gstcompat.h:
31912         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31913         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31914         * gst/gstdata.h:
31915         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31916         (gst_element_requires_clock), (gst_element_provides_clock),
31917         (gst_element_set_clock), (gst_element_clock_wait),
31918         (gst_element_wait), (gst_element_set_time_delay),
31919         (gst_element_is_indexable), (gst_element_add_pad),
31920         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31921         (pad_compare_name), (gst_element_get_static_pad),
31922         (gst_element_request_pad), (gst_element_get_request_pad),
31923         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31924         (gst_element_class_get_pad_template_list),
31925         (gst_element_class_get_pad_template), (gst_element_error_func),
31926         (gst_element_get_random_pad), (gst_element_get_event_masks),
31927         (gst_element_send_event), (gst_element_seek),
31928         (gst_element_get_query_types), (gst_element_query),
31929         (gst_element_get_formats), (gst_element_convert),
31930         (gst_element_is_locked_state), (gst_element_set_locked_state),
31931         (gst_element_sync_state_with_parent), (gst_element_change_state),
31932         (gst_element_finalize), (gst_element_yield),
31933         (gst_element_interrupt), (gst_element_set_scheduler),
31934         (gst_element_get_scheduler), (gst_element_set_loop_function):
31935         * gst/gstelement.h:
31936         * gst/gstevent.h:
31937         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31938         (gst_format_get_by_nick), (gst_format_get_details),
31939         (gst_format_iterate_definitions):
31940         * gst/gstformat.h:
31941         * gst/gstindex.c: (gst_index_gtype_resolver):
31942         * gst/gstinfo.c:
31943         * gst/gstinfo.h:
31944         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31945         (gst_mem_chunk_free):
31946         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31947         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31948         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31949         (gst_object_dispatch_properties_changed),
31950         (gst_object_set_name_default), (gst_object_set_name),
31951         (gst_object_get_name), (gst_object_set_name_prefix),
31952         (gst_object_get_name_prefix), (gst_object_set_parent),
31953         (gst_object_get_parent), (gst_object_unparent),
31954         (gst_object_check_uniqueness), (gst_object_save_thyself),
31955         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31956         (gst_object_set_property), (gst_object_get_property),
31957         (gst_object_get_path_string):
31958         * gst/gstobject.h:
31959         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31960         (gst_real_pad_init), (gst_real_pad_get_property),
31961         (gst_pad_custom_new), (gst_pad_get_direction),
31962         (gst_pad_set_active), (gst_pad_is_active),
31963         (gst_pad_set_event_function), (gst_pad_is_linked),
31964         (gst_pad_link_free), (gst_pad_link_intersect),
31965         (gst_pad_link_fixate), (gst_pad_set_caps),
31966         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31967         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31968         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31969         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31970         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31971         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31972         (gst_pad_realize), (gst_pad_get_allowed_caps),
31973         (gst_real_pad_dispose), (gst_real_pad_finalize),
31974         (gst_pad_collectv), (gst_pad_collect_valist),
31975         (gst_pad_template_dispose), (gst_pad_template_new),
31976         (gst_pad_get_internal_links):
31977         * gst/gstpad.h:
31978         * gst/gstpipeline.c: (gst_pipeline_dispose),
31979         (gst_pipeline_change_state):
31980         * gst/gstpipeline.h:
31981         * gst/gstplugin.c:
31982         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31983         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31984         * gst/gstpluginfeature.h:
31985         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31986         * gst/gstquery.c: (_gst_query_type_initialize),
31987         (gst_query_type_register), (gst_query_type_get_by_nick),
31988         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31989         * gst/gstquery.h:
31990         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31991         * gst/gstscheduler.c: (gst_scheduler_add_element),
31992         (gst_scheduler_factory_create):
31993         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31994         (gst_structure_free), (gst_structure_set_name),
31995         (gst_structure_id_set_value), (gst_structure_set_value),
31996         (gst_structure_set_valist), (gst_structure_remove_field),
31997         (gst_structure_remove_fields),
31998         (gst_structure_remove_fields_valist),
31999         (gst_structure_remove_all_fields), (gst_structure_foreach),
32000         (gst_structure_map_in_place),
32001         (gst_caps_structure_fixate_field_nearest_int),
32002         (gst_caps_structure_fixate_field_nearest_double):
32003         * gst/gststructure.h:
32004         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32005         (gst_system_clock_init), (gst_system_clock_dispose),
32006         (gst_system_clock_async_thread),
32007         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32008         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32009         * gst/gstsystemclock.h:
32010         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32011         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32012         * gst/gsttaginterface.c:
32013         * gst/gstthread.c: (gst_thread_dispose),
32014         (gst_thread_release_children_locks), (gst_thread_change_state),
32015         (gst_thread_main_loop):
32016         * gst/gsttrashstack.h:
32017         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32018         * gst/gsttypes.h:
32019         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32020         (gst_element_request_pad), (gst_element_get_pad_from_template),
32021         (gst_element_request_compatible_pad),
32022         (gst_element_get_compatible_pad_filtered),
32023         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32024         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32025         (gst_element_link_many), (gst_element_link),
32026         (gst_element_link_pads), (gst_element_unlink_pads),
32027         (gst_element_unlink_many), (gst_element_unlink),
32028         (gst_pad_can_link_filtered), (gst_pad_can_link),
32029         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32030         (gst_object_default_error), (gst_bin_add_many),
32031         (gst_bin_remove_many), (gst_element_populate_std_props),
32032         (gst_element_class_install_std_props), (gst_buffer_merge),
32033         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32034         (link_fold_func), (gst_pad_proxy_setcaps):
32035         * gst/gstutils.h:
32036         * gst/gstvalue.c: (gst_value_deserialize_string):
32037         * gst/parse/grammar.y:
32038         * gst/schedulers/gstbasicscheduler.c:
32039         (gst_basic_scheduler_cothreaded_chain),
32040         (gst_basic_scheduler_chain_recursive_add),
32041         (gst_basic_scheduler_pad_link):
32042         * gst/schedulers/gstoptimalscheduler.c:
32043         (get_group_schedule_function),
32044         (gst_opt_scheduler_state_transition),
32045         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32046         * libs/gst/bytestream/bytestream.c:
32047         * libs/gst/dataprotocol/dataprotocol.c:
32048         (gst_dp_header_from_buffer):
32049         * po/nb.po:
32050         * po/ru.po:
32051         * tests/threadstate/threadstate2.c: (eos):
32052         * tools/gst-compprep.c: (main):
32053         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32054         (print_pad_info), (print_children_info):
32055         * tools/gst-launch.c: (idle_func), (main):
32056         * tools/gst-md5sum.c: (idle_func), (main):
32057         * tools/gst-xmlinspect.c: (print_element_info):
32058         First THREADED backport attempt, focusing on adding locks and
32059         making sure the API is threadsafe. Needs more work. More docs
32060         follow this week.
32061
32062 2005-02-24  Andy Wingo  <wingo@pobox.com>
32063
32064         * tests/bench-complexity.scm:
32065         * tests/complexity.gnuplot: New files, good for running complexity
32066         benchmarks.
32067
32068         * tests/Makefile.am:
32069         * tests/complexity.c: New test, sets up N elements, at each level
32070         teeing into M streams per element. Eeeenteresting.
32071
32072         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32073         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32074         running bench-mass_elements.scm.
32075
32076         * tests/bench-mass_elements.scm: New script, runs mass_elements
32077         for various numbers of identities, outputting the results to a
32078         file. Requires guile 1.6. Just for testing.
32079
32080 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32081
32082         * gst/schedulers/fairscheduler.c:
32083           compile with debug disabled
32084
32085 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32086
32087         * configure.ac:
32088           hunting season on 0.9 is now OPEN