gst/gsttaglist.c: Avoid copy of empty taglist.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
2
3         * gst/gsttaglist.c:
4           Avoid copy of empty taglist.
5
6 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
7
8         * gst/gsttaglist.c:
9         * tests/check/gst/gsttag.c:
10           More complete unit tests. Fix handling of empty taglists (they were
11           not merged before).
12
13 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
14
15         * gst/gsttaglist.h:
16         * gst/gsttagsetter.c:
17           Update GstTagSetter and GstTagMergeMode documentation. Mention
18           that tags can come from events and from application. Fix example.
19
20 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
21
22         * docs/design/part-TODO.txt:
23         Remove the seqnum entry that we implemented in 0.10 already.
24         Add entry about removing the format return value for queries.
25
26 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
27
28         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
29         (gst_base_sink_init), (gst_base_sink_set_property),
30         (gst_base_sink_get_property):
31         Expose the render-delay as a property so things like appsink can use it
32         to tweak the synchronisation.
33
34 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
35
36         * libs/gst/check/gstcheck.h: Allow check tests to use
37         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
38         CK_FORK=no to be used with multiple check test that use threads.
39
40 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
41
42         * gst/gstutils.c: (gst_element_get_compatible_pad):
43         Fix a caps memory leak introduced by the last change.
44
45 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
46
47         * gst/gstutils.c: (gst_element_get_compatible_pad):
48         Check if the caps of the pads are compatible before returning
49         a pad and claiming it is compatible. This, among other things,
50         fixes a bug with gst-launch where an incompatible pad is chosen
51         and linking fails. Fixes bug #544003.
52
53 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
54
55         * libs/gst/check/gstcheck.c: (gst_check_init):
56         Revert accidentially commited patch for bug #404631 which
57         tries to print a backtrace if a testcase is terminated by
58         a signal. This code was never activated as the corresponding
59         configure.ac change wasn't committed.
60
61 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
62
63         * tests/check/libs/controller.c: (GST_START_TEST):
64         This test should return TRUE now as syncing an uncontrolled
65         object will succeed now (there's nothing to sync).
66
67 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
68
69         * libs/gst/controller/gstcontroller.c:
70           Aggregate return value for gst_controller_sync_values(). More info in
71           logging. Always set values on first sync-call.
72
73         * libs/gst/controller/gstcontrolsource.c:
74           Microoptimizations.
75
76         * libs/gst/controller/gsthelper.c:
77           Fix return code and comment.
78
79 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
80
81         * tools/gst-launch.1.in:
82           Fix description of how to specify a type in caps. Fixes #553873.
83           Also ranges and list contain values and not property-assignments.
84
85 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
86
87         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
88         Check for changed pads-list before checking the last returned
89         GstFlowReturn because the pad could have been removed and we
90         need to ignore the value in that case.
91
92 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
93
94         * libs/gst/base/gstbasetransform.c:
95         (gst_base_transform_prepare_output_buffer),
96         (gst_base_transform_getrange), (gst_base_transform_chain):
97         * libs/gst/base/gstbasetransform.h:
98         Add vmethod that is called before we start the transform and which can
99         be used to configure the transform, such as dynamic properties.
100
101 2008-12-05  David Schleef  <ds@schleef.org>
102
103         * gst/gst.c:
104         Search for plugins on win32 based on the location of the
105         gstreamer DLL.  Fixes #548786
106
107 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
108
109         * configure.ac:
110         Apparently AC_CONFIG_MACRO_DIR breaks when using more
111         than one macro directory, reverting last change.
112
113 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
114
115         * configure.ac:
116         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
117         our M4 macros.
118
119 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
120
121         Patch by: Cygwin Ports maintainer
122                   <yselkowitz at users dot sourceforge dot net>
123
124         * autogen.sh:
125         * configure.ac:
126         Require gettext 0.17 because older versions don't mix with libtool
127         2.2. At build time an older gettext version will still work.
128         Fixes bug #556091.
129
130 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
131
132         Patch by: 이문형 <iwings at gmail dot com>
133
134         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
135         Adds support for FD_CONNECT event (win32). See #562258.
136
137 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
138
139         * libs/gst/base/gstbasesink.c:
140           Turn comment into gtk-doc comment.
141
142 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
143
144         * libs/gst/base/gstbasetransform.c:
145         (gst_base_transform_acceptcaps):
146         Revert quick accepcaps attempt, it's not fully equivalent to the old
147         behaviour and thus causes regressions.
148
149 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
150
151         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
152         Fix memory leak.
153
154 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
155
156         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
157
158         * gst/gstregistry.c: (gst_registry_scan_path_level):
159         Reduce the number of stat() calls for every file from three times
160         to one time. Fixes bug #560360.
161
162 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
163
164         * libs/gst/base/gstbasetransform.c:
165         (gst_base_transform_acceptcaps):
166         Rename a variable to make the code clearer.
167
168 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
169
170         * plugins/elements/gstidentity.c:
171         Don't warning on offset==-1. Taken from _check_imperfect_offset().
172
173 2008-11-21  Michael Smith <msmith@songbirdnest.com>
174
175         * plugins/elements/gstfilesrc.c:
176           Check for localhost in URI was backwards, fix it. Fixes unit test.
177
178 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
179
180         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
181         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
182         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
183         Add beginnings of a more optimized acceptcaps function than the default
184         core one.
185
186 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
187
188         * gst/gstpad.c: (gst_pad_accept_caps):
189         Avoid getting the acceptcaps function too early.
190
191 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
192
193         * tools/gst-launch.c: (event_loop):
194         Make gst-launch handle LATENCY messages and make it recalculate the
195         latency.
196
197 2008-11-20  Michael Smith <msmith@songbirdnest.com>
198
199         * plugins/elements/gstfilesrc.c:
200           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
201           out own slightly incorrect version. Fixes use of some paths on
202           win32.
203
204 2008-11-20  Michael Smith <msmith@songbirdnest.com>
205
206         * gst/gstregistrybinary.c:
207           In win32 codepath, if we fail to write the registry, create the
208           directory for it and try again, matching the behaviour in non-win32
209           codepaths.
210
211 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
212
213         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
214         Changing the render delay changes the latency and so we must post a
215         latency message.
216
217 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
218
219         * gst/gstquery.c:
220         * gst/gstquery.h:
221         Add GstQueryType for custom queries instead of having to use the
222         not-so-very-convenient registration infrastructure to register new
223         types.
224
225 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
226
227         Patch by: Andrew Feren <acferen at yahoo dot com>
228
229         * gst/gstobject.c: (gst_object_default_deep_notify):
230         Unref the GEnumClass after usage again. Fixes bug #561501.
231
232 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
233
234         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
235         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
236         (gst_bin_change_state_func):
237         * gst/gstbin.h:
238         Add do-latency signal with the old default fallback implementation. This
239         allows for custom latency calculations for when the default is not
240         sufficient.
241         API: GstBin::do-latency signal.
242
243 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
244
245         * win32/common/libgstreamer.def:
246         Add new symbols to .def file.
247
248 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
249
250         * docs/gst/gstreamer-sections.txt:
251         * gst/gstbin.c: (gst_bin_recalculate_latency),
252         (gst_bin_change_state_func):
253         * gst/gstbin.h:
254         Add method to recalculate and redistribute the latency on a bin.
255         API: gst_bin_recalculate_latency().
256
257 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
258
259         * gst/gstbuffer.h:
260         Document the free_func.
261
262 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
263
264         * libs/gst/controller/gstinterpolation.c:
265         * libs/gst/controller/gstlfocontrolsource.c:
266         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
267         as it is mapped to a cast on non-win32 platforms.
268
269 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
270
271         * libs/gst/controller/gstcontroller.c:
272         * libs/gst/controller/gstcontrollerprivate.h:
273           Keep last-value and only call set_property if value has changed. This
274           supresses all the g_object_notifies we would trigger otherwise. It
275           also allows the user to chage the value while there is no controller
276           change.
277
278 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
279
280         * gst/gstvalue.c:
281           Don't crash if either of the string GValues is empty.
282
283 2008-11-17  Andy Wingo  <wingo@pobox.com>
284
285         * tools/gst-inspect.c (print_all_uri_handlers): New function,
286         prints a summary of what URI schemes are supported by what
287         elements.
288         (main): Plumb in support for --uri-handlers or -u, and fix the
289         argc check for -a and -u.
290
291 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
292
293         * gst/gstutils.h:
294         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
295         conversion functions.
296
297 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
298
299         * gst/gstbuffer.c: (gst_buffer_finalize):
300         Avoid costly typechecking for trivially correct pointers.
301
302         * gst/gstpoll.c: (gst_poll_wait):
303         Add some G_LIKELY here and there.
304
305         * libs/gst/base/gstadapter.c: (gst_adapter_push):
306         Add some debug info.
307
308 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
309
310         * docs/random/wtay/poll-timeout:
311         Small tweaks.
312
313 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
314
315         * tests/old/testsuite/caps/intersection.c: (main):
316         * tests/old/testsuite/plugin/loading.c: (main):
317         Remove references to deprecated API g_mem_chunk*.
318         Fixes #560442.
319
320 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
321
322         * tools/gst-inspect.c: (main):
323         Add --plugin option. Fixes #560301.
324
325 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
326
327         * docs/random/wtay/poll-timeout:
328         Quick braindump for a possible (not totally verified) atomic case.
329
330 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
331
332         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
333         (gst_registry_binary_initialize_magic),
334         (gst_registry_binary_write_cache),
335         (gst_registry_binary_check_magic):
336         * gst/gstregistrybinary.h:
337         Don't write and check a CRC for the binary registry file. It's
338         guaranteed that the registry is completely written (it's first written
339         to a temporary file and then moved) and if the registry was corrupted
340         by some hardware failure we would have bigger problems.
341
342         Bump binary registry version to 0.10.21.1 for this as it's an
343         incompatible change and to ensure that the registry gets rebuild
344         after the update.
345
346         This saves some milliseconds for reading/writing the registry.
347         Fixes bug #560399.
348
349 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
350
351         * docs/random/wtay/poll-timeout:
352         Some pseudo code for how we could implement clock timeouts with GstPoll.
353
354 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
355
356         * plugins/elements/gstfilesink.c:
357           Update Author string to match others.
358
359 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
360
361         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
362         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
363         being fixed and inline the trivial check.
364
365 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
366
367         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
368         (gst_caps_merge_structure), (gst_caps_get_structure),
369         (gst_caps_copy_nth), (gst_caps_set_simple),
370         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
371         (gst_caps_is_equal_fixed), (gst_caps_intersect),
372         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
373         (gst_caps_to_string):
374         Callgrind micro optimisations.
375         Avoid array bounds checks and force inline of trivial function.
376
377         * gst/gstobject.c: (gst_object_set_name_default):
378         -1 is equivalent to letting glib to the strlen but then there is more
379         room for optimisations and it's not our fault.
380
381         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
382         no need to clear the array, we're cool.
383
384         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
385         The most common _is_fixed() check is done on fundamental glib base
386         types so we check this first instead of doing a huge amount of
387         useless GST_TYPE_ARRAY calls.
388
389 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
390
391         * gst/gstevent.h:
392         Add a SKIP seek flag for use with advanced trickmodes.
393         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
394
395 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
396
397         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
398         No need to memset, we can clear the value ourselves.
399
400         * gst/gstvalue.c: (gst_type_is_fixed),
401         (gst_value_get_compare_func):
402         Some optimisations from a few callgrind sessions:
403         When checking if a type is fixed, check for trivial fundamental types
404         first before checking types for which we need to get the type followed
405         by the heavy duty type checks, this reduces the amount of
406         g_type_fundamental() calls a lot.
407         When getting the compare function, first check for our registered types.
408         If that fails, do the heavy duty g_type_is_a() checks, reduces the
409         amount of g_type_is_a() considerably.
410
411 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
412
413         * docs/design/part-TODO.txt:
414         Mumble something about removing GstXML.
415
416 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
417
418         * gst/gstbin.c: (gst_bin_handle_message_func):
419         Get the seqnum before we dispose the message.
420
421 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
422
423         * docs/design/part-TODO.txt:
424         Refer to the framestepping document.
425
426 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
427
428         * gst/gstbin.c: (bin_handle_async_start),
429         (gst_bin_handle_message_func), (gst_bin_query):
430         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
431         (gst_base_sink_event), (gst_base_sink_change_state):
432         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
433         (gst_base_src_loop), (gst_base_src_change_state):
434         Copy seqnums from events to messages so that they can all be related
435         back to eachother.
436
437 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
438
439         * tools/gst-launch.c: (event_loop):
440         Print the message seqnums.
441
442 2008-11-04  Andy Wingo  <wingo@pobox.com>
443
444         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
445
446 2008-11-04  Andy Wingo  <wingo@pobox.com>
447
448         Add sequence numbers to events and messages. See #559250.
449
450         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
451         API: New functions.
452
453         * gst/gstevent.h:
454         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
455         events with a new sequence number, and copy it when copying.
456         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
457         an event's sequence number.
458
459         * gst/gstmessage.h:
460         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
461         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
462         so with messages.
463
464         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
465
466 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
467
468         * docs/manual/advanced-position.xml:
469         * docs/manual/basics-bins.xml:
470         * docs/manual/basics-bus.xml:
471         * docs/manual/basics-pads.xml:
472         * docs/manual/intro-gstreamer.xml:
473         * docs/manual/intro-preface.xml:
474         Some Application Development Manual fixes thanks to
475         Andrew Feren. Fixes #558459.
476
477 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
478
479         * gst/gstregistrybinary.c:
480           Don't bother with the GTimer if we don't output the results.
481
482 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
483
484         Patch by: David Schleef  <ds@schleef.org>
485
486         * libs/gst/net/Makefile.am:
487         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
488
489 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
490
491         * gst/gstregistrybinary.c:
492           Oh my, studip, stupid me. Remove double stat() call.
493
494 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
495
496         * gst/gstpreset.c:
497           Use g_unlink instead of unlink.
498
499         * gst/gststructure.c:
500           Use glib type.
501
502         * gst/gstutils.c:
503           Add a FIXME:.
504
505         * gst/gsttaglist.c:
506         * gst/gsttypefind.c:
507         * gst/gstvalue.c:
508           Formatting & whitespaces.
509
510 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
511
512         * plugins/elements/gstidentity.c:
513           Doc typo. Use return value of parent_class->event.
514   
515         * plugins/elements/gsttypefindelement.c:
516           Chain up at the end for consistency.
517   
518 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
519
520         * docs/Makefile.am:
521         * docs/gst/gstreamer-docs.sgml:
522         * docs/gst/gstreamer-sections.txt:
523         * docs/gst/running.xml:
524         * docs/libs/gstreamer-libs-docs.sgml:
525           Change to xinclude based build - its faster and easier to maintain.
526
527 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
528
529         * gst/gstregistrybinary.c:
530         * gst/gstregistryxml.c:
531           Use g_unlink() as none of these are directories.
532
533 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
534
535         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
536         Some more comments.
537
538 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
539
540         * libs/gst/base/gstbasetransform.c:
541         (gst_base_transform_find_transform), (gst_base_transform_getrange):
542         If we have a fixate function, call it even if we already have fixed caps
543         because the subclass might add some caps. Makes audioconvert add a
544         default channel layout.
545
546 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
547
548         * libs/gst/base/gstbasetransform.c:
549         (gst_base_transform_prepare_output_buffer),
550         (gst_base_transform_getrange):
551         Clear the output buffer variable.
552         Cleanups to the error path in the getrange function.
553         Fixes #557649.
554
555 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
556
557         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
558         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
559         Use gst_buffer_try_new_and_alloc() and handle errors instead of
560         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
561         be allocated.
562
563 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
564
565         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
566         Set the last_stop to a more meaningful position when configuring the
567         segment. ie. the start/stop of the segment or clipped against the
568         updated segment boundaries.
569
570         * tests/check/gst/gstsegment.c: (GST_START_TEST):
571         Add some unit tests for the last_stop.
572
573 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
574
575         * libs/gst/base/gstbytereader.c:
576         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
577         copies of them.
578
579 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
580
581         * docs/gst/gstreamer-sections.txt:
582         * gst/gstutils.h:
583         API: Move float endianness conversion macros from libgstfloatcast
584         to core as it's useful in general, even in core. Fixes bug #555196.
585         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
586         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
587         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
588
589         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
590         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
591         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
592         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
593
594 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
595
596         * docs/libs/gstreamer-libs-sections.txt:
597         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
598         (gst_byte_reader_peek_data):
599         * libs/gst/base/gstbytereader.h:
600         * win32/common/libgstbase.def:
601         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
602         to get a pointer to the data at the current position and have
603         a guaranteed size.
604
605 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
606
607         * configure.ac:
608         Fix a bug in the output of the configure script summary
609         when --gst-disable-registry is supplied
610
611 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
612
613         * libs/gst/base/gstbitreader.c:
614         * libs/gst/base/gstbytereader.c:
615         Fix the names of 2 functions in the docs strings.
616
617 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
618
619         * libs/gst/base/gstbasetransform.c:
620         (gst_base_transform_prepare_output_buffer),
621         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
622         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
623         refcount problems as seen in banshee and maybe also in farsight2.
624         Remove atomic int now that we need to take the lock anyways.
625
626 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
627
628         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
629         (gst_base_sink_default_prepare_seek_segment),
630         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
631         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
632         (gst_base_sink_query):
633         Implement more seeking in pull mode.
634         Use pad convert functions to convert position to the requested format.
635         Fix position/duration reporting in pull mode.
636         Implement position and duration reporting in other formats than time.
637
638         * libs/gst/base/gstbasesink.h:
639         Add member to keep track of when the segment is playing.
640
641 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
642
643         * gst/gstpad.c: (gst_pad_configure_src):
644         When we use gst_pad_alloc_buffer() without wanting to set the caps we
645         also don't need to check if the caps are compatible because the caller
646         presumably is going to perform its own custom checks. Fixes some cases
647         where basetransform elements would error out when it was not needed.
648
649 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
650
651         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
652         Update comment.
653
654         * libs/gst/base/gstbasetransform.c:
655         (gst_base_transform_handle_buffer),
656         (gst_base_transform_reconfigure):
657         Add some debug info.
658
659         * win32/common/libgstbase.def:
660         Add new method.
661
662 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
663
664         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
665           Remove duplicated assignment and log a message in failure case.
666
667 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
668
669         Patch by: Dig Ge <dig.ge.cn at gmail com>
670
671         * tests/examples/helloworld/helloworld.c: (main):
672           Fix copy'n'paste bug in hello world example (#556900).
673
674 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
675
676         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
677         (gst_base_sink_query):
678         Query the total number of bytes when activating the pad in pull mode.
679         Implement duration query in pull mode by using the installed pad convert
680         function to convert from bytes to the requested format.
681
682 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
683
684         * docs/libs/gstreamer-libs-sections.txt:
685         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
686         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
687         (gst_base_sink_event), (gst_base_sink_perform_seek),
688         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
689         (gst_base_sink_send_event), (gst_base_sink_change_state):
690         * libs/gst/base/gstbasesink.h:
691         Add method to commit the state in subclasses.
692         Refactor the flush_start and flush_stop code because we need it for
693         flushing while seeking too.
694         Implement the beginnings of seeking in pull mode.
695         Use the segment last_stop field for the pulling offset.
696         Fix the pause method in pull mode.
697         Configure the segment to BYTES for pull mode.
698         API: GstBaseSink::gst_base_sink_do_preroll()
699
700 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
701
702         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
703         Update some docs.
704
705 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
706
707         * gst/gstquark.c: (_priv_gst_quarks_initialize):
708           Fix printf format warning.
709
710 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
711
712         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
713         Fix flow aggregation of tee. Error out immediately for all flow returns
714         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
715         and return OK if at least one pad is linked.
716
717         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
718         and otherwise returned the flow return of the last pad, which is wrong.
719         
720         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
721         (GST_START_TEST), (tee_suite):
722         Add unit tests for the flow aggregation.
723
724 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
725
726         * docs/design/part-TODO.txt:
727         Remove item from the todo list because it was fixed with the latency
728         state change rewrites.
729
730         * docs/design/part-seeking.txt:
731         * docs/design/part-segments.txt:
732         Update some docs.
733
734         * gst/gstevent.c: (gst_event_new_new_segment_full),
735         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
736         (gst_event_parse_buffer_size), (gst_event_new_qos),
737         (gst_event_parse_qos), (gst_event_new_seek),
738         (gst_event_parse_seek), (gst_event_new_latency),
739         (gst_event_parse_latency):
740         Use quarks to construct and parse events.
741
742         * gst/gstquark.c: (_priv_gst_quarks_initialize):
743         * gst/gstquark.h:
744         Add some more quarks to the table.
745         Emit a warning when the quark tables are not in sync.
746
747         * tests/check/gst/gstbus.c: (GST_START_TEST):
748         Add an assert.
749
750 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
751
752         * plugins/elements/Makefile.am:
753         * plugins/indexers/Makefile.am:
754           Don't install static libs for plugins. Fixes #550851 for core.
755
756 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
757
758         * gst/gstbus.c: (gst_bus_source_finalize),
759         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
760         (gst_bus_enable_sync_message_emission),
761         (gst_bus_disable_sync_message_emission),
762         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
763         Fix deadlock, g_source_get_id() cannot be called in finalize.
764         Keep track of the watch source by keeping a pointer to the source object
765         instead.
766         Use the bus lock to protect access to the pointer to the current
767         watch source.
768
769 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
770
771         Base on Patch by: Olivier Crete <tester at tester dot ca>
772
773         * gst/gstbus.c: (gst_bus_source_finalize),
774         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
775         Only allow one bus watch to be set at a time. This is necessary
776         because the dispatcher pops the message from the bus and the second
777         watcher will then get NULL or the next message (and the first won't
778         get this next message then, etc). If more than one "watcher" is
779         required signal watches should be used. Fixes bug #526044.
780
781 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
782
783         * tools/gst-launch.c:
784         Change the printing of the 'buffering...' output to avoid putting
785         a \r in a translateable string (flagged by the TP).
786
787 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
788
789         * gst/gstxml.c:
790         Clarify that the save_thyself() and restore_thyself() virtual
791         functions of GstObject need to be overriden, not
792         gst_object_(save|restore)_thyself() which is impossible.
793         Fixes bug #555700.
794
795 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
796
797         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
798         Revert a patch from 21 months ago that broke caps negotiation in pull
799         mode. Basically, having a buffer pass over a pad will trigger the
800         setcaps function when caps change, just like in push mode.
801
802 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
803
804         * docs/design/part-negotiation.txt:
805         Update the docs some more.
806
807         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
808         If we pull a buffer with non-trivial caps, suggest those caps with the
809         max probability.
810
811 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
812
813         * docs/design/part-TODO.txt:
814         Add another limitation of pad-blocking with segment seeks not pushing
815         EOS events.
816
817 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
818
819         * win32/common/libgstbase.def:
820         * win32/common/libgstreamer.def:
821         Add new symbols to the win32 defs files
822
823 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
824
825         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
826         (gst_bin_handle_message_func):
827         The message src can be NULL, don't try to print the object names in that
828         case.
829
830         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
831         Add some more debug info.
832
833         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
834         (GST_START_TEST):
835         Add some debug.
836         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
837         scheduling modes.
838
839 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
840
841         * docs/design/part-negotiation.txt:
842         Small doc update.
843
844         * docs/libs/gstreamer-libs-sections.txt:
845         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
846         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
847         (gst_base_sink_init), (gst_base_sink_set_blocksize),
848         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
849         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
850         (gst_base_sink_loop), (gst_base_sink_pad_activate),
851         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
852         (gst_base_sink_change_state):
853         * libs/gst/base/gstbasesink.h:
854         Add blocksize property and methods to control the amount of data
855         to pull.
856         Negotiate first before activating upstream in pull mode so that they can
857         negotiate themselves.
858         When we operate in pull mode, we only accept the caps that we
859         negotiated.
860         Make the sink go ASYNC to PAUSED, like all other sinks.
861         API: GstBaseSink::gst_base_sink_set_blocksize()
862         API: GstBaseSink::gst_base_sink_get_blocksize()
863         API: GstBaseSink::blocksize
864
865         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
866         (gst_base_src_set_live), (gst_base_src_is_live),
867         (gst_base_src_set_format), (gst_base_src_query_latency),
868         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
869         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
870         (gst_base_src_set_property), (gst_base_src_get_property):
871         * libs/gst/base/gstbasesrc.h:
872         Add typechecking in public API functions.
873         Add methods to control the blocksize in subclasses.
874         API: GstBaseSrc::gst_base_src_set_blocksize()
875         API: GstBaseSrc::gst_base_src_get_blocksize()
876
877 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
878
879         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
880         (buffer_probe), (event_probe), (GST_START_TEST):
881         We now see 3 events go through our pad, since basesink now sends
882         upstream latency events.
883
884 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
885
886         * gst/gstpipeline.c: (gst_pipeline_change_state):
887         Release the object lock before trying to flush the bus.
888
889 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
890
891         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
892         Forward LATENCY events upstreams so that elements know about the total
893         pipeline latency. Fixes #555307.
894
895 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
896
897         * plugins/elements/gstqueue.c:
898         Allow through queries when we don't know how
899         to adjust them (not TIME or BYTES), as otherwise it's
900         not possible to query the current position in order
901         to seek in other formats at all.
902
903 2008-10-08  Andy Wingo  <wingo@pobox.com>
904
905         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
906
907 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
908
909         * gst/gstghostpad.c:
910         * gst/gstghostpad.h:
911         Unbreak -good build, private is a reserved c++ keyword.
912
913 2008-10-08  Andy Wingo  <wingo@pobox.com>
914
915         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
916         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
917         removal: re-add GST_GHOST_PAD_CAST to the header.
918
919         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
920         (GstGhostPadClass): Publically expose these structures so as to
921         allow easy subclassing from C. Hide the member data behind a
922         private opaque data pointer.
923
924         * gst/gstghostpad.c: Adapt to store instance data in the type
925         instance's private data region, not in the public struct.
926
927 2008-10-08  Andy Wingo  <wingo@pobox.com>
928
929         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
930         template via g_object_get(), be sure to unref it.
931
932         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
933
934 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
935
936         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
937         If we can't get a cache file don't try to save something to it.
938         Dereferencing NULL pointers usually isn't a good idea.
939
940 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
941
942         * tests/check/Makefile.am:
943         * tests/check/gst/gstabi.c:
944         * tests/check/gst/struct_sparc.h:
945         * tests/check/libs/libsabi.c:
946         * tests/check/libs/struct_sparc.h:
947         Add Sparc ABI checks
948
949         * tests/check/gst/gstvalue.c: (GST_START_TEST):
950         Cast signed integer to unsigned to avoid a compiler warning.
951
952 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
953
954         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
955         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
956         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
957         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
958         (gst_byte_reader_peek_int24_be):
959         Use new GST_READ_UINT24_(LE|BE) macros.
960
961 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
962
963         * docs/gst/gstreamer-sections.txt:
964         * gst/gstutils.h:
965         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
966         as it's too easy to break the ISO C strict aliasing rules with simple
967         casts to the corresponding type and this would introduce hard to debug
968         bugs. Fixes bug #545714.
969
970         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
971
972 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
973
974         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
975         * gst/gstghostpad.c: (gst_ghost_pad_construct):
976           Add 'Since' bits to gtk-doc chunks for new API.
977
978 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
979
980         * docs/gst/gstreamer-sections.txt:
981         Fix documentation
982
983 2008-10-06  Andy Wingo  <wingo@pobox.com>
984
985         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
986         that will be called on the malloc_data to free it. Basically a way
987         to avoid subclassing when all you need is a different free
988         function, i.e. free() instead of g_free().
989
990         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
991         calling the free function.
992         (gst_buffer_init): Initialize the free function to g_free.
993
994 2008-10-06  Andy Wingo  <wingo@pobox.com>
995
996         * gst/gstghostpad.h:
997         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
998         finishes the initialization of ghost pad. Useful for language
999         bindings and subclassers of GstGhostPad. Fixes #539108.
1000         (gst_ghost_pad_new_full): Use the new constructor.
1001
1002 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1003
1004         Base on Patch by: Olivier Crete <tester at tester dot ca>
1005
1006         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1007         (gst_bin_remove_func), (update_degree),
1008         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1009         Keep track of pads that are being linked/unlinked and resync the state
1010         changes.
1011
1012         * gst/gstpad.c: (gst_pad_get_direction),
1013         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1014         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1015         (gst_pad_link_prepare), (gst_pad_link),
1016         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1017         (gst_pad_check_pull_range), (gst_pad_get_range),
1018         (gst_pad_pull_range):
1019         Some code cleanups, use macros to check pad direction.
1020         Don't need to take the lock on the pad direction.
1021         Post structure change when pads are linked/unlinked.
1022         Change some checks into _return_if_fail().
1023
1024         * tests/check/gst/gstbin.c:
1025         (test_link_structure_change_state_changed_sync_cb),
1026         (GST_START_TEST), (gst_bin_suite):
1027         Add testcase for pad link/unlinke resync during a state change.
1028         Fixes #510354.
1029
1030 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1031
1032         * docs/gst/gstreamer-sections.txt:
1033         * gst/gstmessage.c: (gst_message_new_structure_change),
1034         (gst_message_parse_structure_change):
1035         * gst/gstmessage.h:
1036         Implement STRUCTURE_CHANGED messages. These messages will be used to
1037         signal the parent bin of link/unlink operations that could require a
1038         resync when doing a state change. See ##510354.
1039         API: gst_message_new_structure_change()
1040         API: gst_message_parse_structure_change()
1041
1042 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1043
1044         * gst/gstquark.c:
1045         * gst/gstquark.h:
1046         Add some more quarks for new message. See #510354.
1047
1048 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1049
1050         * docs/libs/gstreamer-libs-docs.sgml:
1051         * docs/libs/gstreamer-libs-sections.txt:
1052         * libs/gst/base/Makefile.am:
1053         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1054         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1055         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1056         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1057         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1058         (gst_bit_reader_skip_to_byte):
1059         * libs/gst/base/gstbitreader.h:
1060         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1061         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1062         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1063         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1064         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1065         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1066         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1067         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1068         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1069         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1070         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1071         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1072         * libs/gst/base/gstbytereader.h:
1073         * tests/check/Makefile.am:
1074         * tests/check/libs/bitreader.c: (GST_START_TEST),
1075         (gst_bit_reader_suite):
1076         * tests/check/libs/bytereader.c: (GST_START_TEST),
1077         (gst_byte_reader_suite):
1078         API: Add bit reader and byte reader classes, including documentation
1079         and an extensive unit test suite. Fixes bug #553554.
1080
1081 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1082
1083         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1084         (gst_base_sink_query):
1085         Improve position reporting while flushing and other intermediate state
1086         changes. Fixes #553874.
1087
1088 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1089
1090         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1091
1092         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1093         Original patch by : Simon Descaries
1094         Fix small refount leak in caps compatibility check.
1095         Fixes #551676.
1096
1097 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1098
1099         * docs/pwg/advanced-request.xml:
1100           Fix 0.8 api usage in example. Fixes #554561
1101
1102         * docs/pwg/appendix-porting.xml:
1103           Change 0.9 to 0.10 here.
1104
1105 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1106
1107         * docs/manual/basics-data.xml:
1108           Change "event-event interaction" to "element-element interaction".
1109           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1110           updates.
1111
1112 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1113
1114         * configure.ac:
1115         Back to development -> 0.10.21.1
1116
1117 === release 0.10.21 ===
1118
1119 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1120
1121         * configure.ac:
1122           releasing 0.10.21, "Take These Things From Me"
1123
1124 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1125
1126         * configure.ac:
1127         0.10.20.4 pre-release
1128
1129 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1130
1131         * libs/gst/base/gstbasetransform.c:
1132         * plugins/elements/gstcapsfilter.c:
1133         * tests/check/Makefile.am:
1134         * tests/check/elements/.cvsignore:
1135         * tests/check/elements/capsfilter.c:
1136         Fix assertion in basetransform when the subclass chooses not to
1137         allocate a buffer in prepare_buffer(), and make capsfilter error out
1138         cleanly if requested to apply caps that don't completely specify the
1139         buffer. Fixes #551509
1140
1141 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1142
1143         * libs/gst/base/gstbasetransform.c:
1144         (gst_base_transform_prepare_output_buffer):
1145         Take new caps ref because our old one might have been gone when the
1146         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1147
1148 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1149
1150         * configure.ac:
1151           Do not probe availability of check unit test library when cross
1152           compiling, as test would not work anyway. Also cleanup verbose output
1153           of the check test. Fixes #551952.
1154
1155 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1156
1157         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1158
1159         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1160         Avoid leaking the parent ref when we fail changing the state of the
1161         element using gst_element_sync_state_with_parent(). Fixes #551978.
1162
1163 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1164
1165         * docs/manual/intro-motivation.xml::
1166           Remove some bits that no longer apply, update others (#551642).
1167
1168 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1169
1170         * configure.ac:
1171         0.10.20.2 pre-release
1172
1173         * po/LINGUAS:
1174         * po/id.po:
1175         * po/pt_BR.po:
1176
1177         New translations.
1178
1179 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1180
1181         * win32/common/config.h.in:
1182           Add GST_DATADIR, hard-code cpu to x86.
1183
1184         * win32/common/libgstreamer.def:
1185           Spaces to tabs.
1186
1187 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1188
1189         * gst/gsttaglist.h:
1190           Fix Since: markers for new geo tags.
1191
1192 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1193
1194         * gst/gsttaglist.h:
1195           Fix actual tag name define after renaming from altitude to elevation.
1196
1197 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1198
1199         * gst/gstpad.c: (add_unref_pad_to_list),
1200         (gst_pad_get_internal_links_default):
1201         Add fallback when calling the deprecated function on an element that
1202         implements the new internal_link handler.
1203
1204 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1205
1206         * docs/gst/gstreamer-sections.txt:
1207         * gst/gsttaglist.c:
1208         * gst/gsttaglist.h:
1209           Add new tags for geo location and clarify purpose of existing location
1210           tag. Fixes #481169
1211
1212 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1213
1214         Patch by: Olivier Crete <tester at tester dot ca>
1215
1216         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1217         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1218         Use thread-safe internal links iterator. Fixes #549504.
1219
1220 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1221
1222         Based on patch by: Olivier Crete <tester at tester dot ca>
1223
1224         * docs/gst/gstreamer-sections.txt:
1225         * win32/common/libgstreamer.def:
1226         * gst/gstpad.c: (gst_pad_init),
1227         (gst_pad_set_iterate_internal_links_function),
1228         (int_link_iter_data_free), (iterate_pad),
1229         (gst_pad_iterate_internal_links_default),
1230         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1231         * gst/gstpad.h:
1232         Add threadsafe replacement functions for getting internal links of an
1233         element. Deprecate the old internal links functions.
1234         API:GstPad::gst_pad_set_iterate_internal_links_function()
1235         API:GstPad::GstPadIterIntLinkFunction
1236         API:GstPad::gst_pad_iterate_internal_links()
1237         API:GstPad::gst_pad_iterate_internal_links_default()
1238
1239         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1240         (gst_proxy_pad_init):
1241         Implement threadsafe internal links.
1242
1243         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1244         Unit test for internal links on tee. See #549504.
1245
1246 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1247
1248         * tests/check/Makefile.am:
1249         libs/transform1 test requires libs/test_transform.c
1250
1251 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1252
1253         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1254         Die evil deadlock, die !
1255
1256 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1257
1258         * gst/gstutils.c: (gst_element_get_compatible_pad):
1259         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1260         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1261         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1262         not steal the refcount of the given caps as stated.
1263
1264         REVERT THIS COMMIT ONCE FIXED !
1265         REVERT THIS COMMIT ONCE FIXED !
1266         REVERT THIS COMMIT ONCE FIXED !
1267         REVERT THIS COMMIT ONCE FIXED !
1268         REVERT THIS COMMIT ONCE FIXED !
1269         REVERT THIS COMMIT ONCE FIXED !
1270
1271 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1272
1273         * gst/gstiterator.c:
1274         * gst/gstiterator.h:
1275         After 3 years it's about time to revise the documentation of the
1276         iterator objects.
1277
1278 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1279
1280         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1281         Make the internal links function less thread-unsafe and add some
1282         comments, dunno why.
1283
1284 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1285
1286         * gst/gst_private.h:
1287           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1288           build with --disable-gst-debug.
1289
1290 2008-08-28  David Schleef  <ds@schleef.org>
1291
1292         * gst/gstpadtemplate.c: Revert last change, since it breaks
1293           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1294           but shouldn't be enabled until we've released fixed versions
1295           of -good and -ffmpeg.
1296
1297 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1298
1299         * gst/gstobject.c:
1300           Put the gst_object_get_name() back in.
1301
1302 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1303
1304         * gst/gstpadtemplate.c:
1305           The old behaviour was that gst_pad_template_new() takes ownership of
1306           the caps. As we now call g_object_new() which calls g_object_set() and
1307           which copies the caps, we have to unref them to not leak them. Fixes
1308           make valgrid for me.
1309
1310 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1311
1312         * gst/gsturi.c:
1313           Don't segfault on input like "tel:+1-123-555-1234".
1314
1315 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1316
1317         * gst/gstobject.c:
1318           Due to popular request also include ObjectType in
1319           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1320
1321 2008-08-26  David Schleef  <ds@schleef.org>
1322
1323         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1324           src_val must be positive, because that's not a requirement.
1325           This causes problems with converting negative granulepos
1326           values for Dirac.
1327         * gst/gstquery.c: Same, gst_query_new_convert().
1328
1329 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1330
1331         * gst/gstclock.c: (gst_clock_add_observation):
1332         Add some more debugging to the clock slaving code.
1333
1334         * win32/common/libgstbase.def:
1335         Add new basetransform method.
1336
1337 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1338
1339         * gst/gstbin.c: (gst_bin_element_set_state):
1340         Take the (recursive) state lock between getting the locked state of an
1341         element and changing the element state. This allows the application to
1342         lock an element's state and then change its state without races.
1343
1344 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1345
1346         * gst/gstbin.c: (gst_bin_element_set_state):
1347         When an element is in the locked state we still want to update the
1348         base_time of the element.
1349
1350 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1351
1352         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1353         Use the result from gst_pad_set_caps() instead of assuming the element
1354         always accepted the caps computed by the default negotiate function.
1355
1356 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1357
1358         * docs/libs/gstreamer-libs-sections.txt:
1359         * libs/gst/base/gstbasetransform.c:
1360         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1361         (gst_base_transform_chain), (gst_base_transform_suggest),
1362         (gst_base_transform_reconfigure):
1363         * libs/gst/base/gstbasetransform.h:
1364         Implement method for reconfiguring basetransform.
1365         API: GstBaseTransform::gst_base_transform_reconfigure()
1366
1367 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1368
1369         patch by: Murray Cumming <murrayc@murrayc.com>
1370
1371         * gst/gstutils.c:
1372           Mention that this is just like gst_buffer_merge() but with extra
1373           unreffing for C coders. Advise language bindings not to wrap it.
1374           Fixes Bug #533856.
1375           
1376           Also fix file comment.
1377
1378 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1379
1380         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1381
1382         * plugins/elements/gstfakesink.c:
1383         * plugins/elements/gstfakesrc.c:
1384           Call super::event() when not handling it. Fixes #544855.
1385
1386 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1387
1388         Patch by: Alessandro Decina <alessandro@nnva.org>
1389         * plugins/elements/gstfilesrc.c:
1390           Use 64 bit variants of stat functions on win32, to enable support
1391           of large files there.
1392           Fixes #547277.
1393
1394 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1395
1396         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1397         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1398         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1399         (gst_base_sink_get_position), (gst_base_sink_change_state):
1400         Improve position reporting in the flushing state.
1401         Also report the position when we are not yet prerolled but we
1402         have a newsegment event. Fixes #543444.
1403         Improve the pull-based negotiation code.
1404
1405         * tests/check/elements/fakesink.c: (GST_START_TEST),
1406         (fakesink_suite):
1407         Add testcase for position reporting while flushing in PAUSED and
1408         PLAYING.
1409
1410         * tests/check/generic/sinks.c: (GST_START_TEST):
1411         Update unit-test, we can now query the position as soon as we receive a
1412         NEWSEGMENT event.
1413
1414 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1415
1416         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1417
1418         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1419         When the subclass event handler releases the PREROLL_LOCK, we could be
1420         in the flushing state and we have to ignore the event. Fixes #548394.
1421
1422 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1423
1424         * tools/gst-launch.1.in:
1425           Document GST_REGISTRY_UPDATE environment variable.
1426
1427 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1428
1429         * libs/gst/base/gstbasetransform.c:
1430         (gst_base_transform_prepare_output_buffer):
1431         If the element is configured in passthrough mode but the
1432         prepare_output_buffer gave us a new output buffer, discard that buffer
1433         and reuse the input buffer.
1434
1435 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1436
1437         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1438
1439         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1440         (gst_tee_request_new_pad), (gst_tee_release_pad),
1441         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1442         * plugins/elements/gsttee.h:
1443         Protect pad_alloc with a new lock so that we can be sure that nothing is
1444         performing a pad_alloc when removing the pad. Fixes #547835.
1445
1446         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1447         (buffer_alloc_harness_teardown), (app_thread_func),
1448         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1449         Added testcase for shutdown race.
1450
1451 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1452
1453         * gst/gstpad.h:
1454         Add doc
1455
1456 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1457
1458         * libs/gst/base/gstbasetransform.c:
1459         (gst_base_transform_prepare_output_buffer),
1460         (gst_base_transform_buffer_alloc):
1461         Go over the buffer_alloc function again and make sure we always end up
1462         allocating a buffer.
1463         Add some more docs.
1464         Avoid doing pad alloc when we have a pending suggestion because we
1465         cannot yet deal with changing caps in that case. Fixes #547728
1466
1467 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1468
1469         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1470
1471         * docs/manual/advanced-clocks.xml:
1472         * docs/manual/clocks.png:
1473         * docs/manual/diagrams-clocks.svg:
1474           Add one more image showing different times together with a describing
1475           paragraph. Fixes #547729.
1476
1477 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1478
1479         * win32/common/libgstbase.def:
1480         Add new method.
1481
1482 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1483
1484         * libs/gst/base/gstbasetransform.c:
1485         (gst_base_transform_transform_caps),
1486         (gst_base_transform_prepare_output_buffer),
1487         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1488         Don't overwrite the outsize when calculating the expected size of a new
1489         buffer because we still need it in case we cannot process the new
1490         buffer.
1491         When converting the size of the new buffer to an upstream size, actually
1492         use the expected size of the buffer, not some other random value.
1493         Use an atomic int to signal that a new upstream caps suggestion is
1494         available.
1495         When we can convert the current buffer to a new format, check if the
1496         buffer size is of the expected size and allocate a new buffer of the
1497         expected size when this is not the case. Fixes #546883.
1498
1499         * tests/check/libs/transform1.c: (GST_START_TEST):
1500         remove ifdeffed code from the unit test.
1501
1502 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1503
1504         * pkgconfig/gstreamer-uninstalled.pc.in:
1505         * pkgconfig/gstreamer.pc.in:
1506           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1507           called gstcontroller-0.10.
1508
1509 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1510
1511         * gst/gstchildproxy.h:
1512         * gst/gstpreset.h:
1513           Remove double interface from doc-string.        
1514
1515 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1516
1517         * libs/gst/base/gstbasesrc.c:
1518         * libs/gst/base/gstbasetransform.c:
1519           Fix headings in docs and gtk-doc warnings.
1520
1521 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1522
1523         * gst/gstregistrybinary.c:
1524           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1525           libc.
1526           Fixes #544776.
1527
1528 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1529
1530         * libs/gst/base/gstbasetransform.c:
1531         (gst_base_transform_buffer_alloc):
1532         Fix a "may be used unitialized" warning.
1533
1534 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1535
1536         * docs/gst/gstreamer-sections.txt:
1537         * gst/gstpreset.h:
1538           Document preset-iface vmethods.
1539
1540 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1541
1542         * docs/manual/advanced-interfaces.xml:
1543           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1544           only used to discover devices.
1545
1546 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1547
1548         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1549
1550         * gst/gst.c: (init_pre):
1551         Make sure gettext returns translations in UTF-8 encoding rather
1552         than in the current locale encoding (#546822).
1553
1554 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1555
1556         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1557         Fix subset test.
1558
1559         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1560         Improve unit test subset tests and add a testcase for the subset failure
1561         cases.
1562
1563         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1564         Improve subtraction unit test.
1565
1566 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1567
1568         * plugins/elements/gsttee.c:
1569           Unlock, instead of locking again.
1570
1571 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1572
1573         * gst/gstpad.h:
1574         Clarify the docs a bit more.
1575
1576 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1577
1578         * tests/examples/metadata/read-metadata.c:
1579           Don't leak old taglist.
1580
1581 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1582
1583         Patch by: Olivier Crete <tester at tester dot ca>
1584
1585         * gst/gststructure.c:
1586         (gst_structure_fixate_field_nearest_fraction):
1587         Avoid overflows in fixation code when dealing with MAXINT values, which
1588         v4l2src seems to do.
1589         Fixes #546328.
1590
1591         * tests/check/gst/gststructure.c: (GST_START_TEST):
1592         Make a unit test to check the fix. 
1593
1594 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1595
1596         * plugins/elements/gstcapsfilter.c: (copy_func),
1597         (gst_capsfilter_set_property):
1598         Use new caps suggestion feature of basetransform to request a caps
1599         negotiation upstream.
1600
1601 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1602
1603         * docs/libs/gstreamer-libs-sections.txt:
1604         Add new function:
1605         API: GstBaseTransform::gst_base_transform_suggest()
1606
1607         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1608         (gst_base_transform_init), (gst_base_transform_transform_caps),
1609         (gst_base_transform_transform_size),
1610         (gst_base_transform_configure_caps),
1611         (gst_base_transform_can_transform),
1612         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1613         (gst_base_transform_prepare_output_buffer),
1614         (gst_base_transform_buffer_alloc),
1615         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1616         (gst_base_transform_chain), (gst_base_transform_activate),
1617         (gst_base_transform_set_passthrough),
1618         (gst_base_transform_is_passthrough),
1619         (gst_base_transform_set_in_place),
1620         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1621         (gst_base_transform_set_qos_enabled),
1622         (gst_base_transform_is_qos_enabled),
1623         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1624         (gst_base_transform_reconfigure):
1625         * libs/gst/base/gstbasetransform.h:
1626         Rewrite of basetransform to perform negotiation outside of the
1627         buffer_alloc functions.  Fixes #545853.
1628
1629         * tests/check/libs/transform1.c: (GST_START_TEST),
1630         (buffer_alloc_ct2):
1631         Update unit test.
1632
1633 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1634
1635         * tests/check/gst/gstpreset.c:
1636           Only run preset tests when $HOME is writable. Preliminary fix for
1637           #545433.
1638
1639 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1640
1641         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1642         (gst_bin_change_state_func), (bin_handle_async_done),
1643         (gst_bin_handle_message_func):
1644         Fix race for bins that simulate ASYNC state changes by inserting
1645         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1646         pending ASYNC messages even when the bin does not have ASYNC children.
1647         We note detect this behaviour because we will receive an ASYNC message
1648         that is originating from the bin itself. 
1649         Fixes races with decodebin2 state changes.
1650
1651         * tests/check/gst/gstbin.c: (GST_START_TEST):
1652         Add some more debug.
1653
1654 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1655
1656         * gst/gsttaglist.c: (_gst_tag_initialize):
1657           Fix typo.
1658
1659 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1660
1661         * gst/gsttaglist.c:
1662           Argh. actually save the text before committing. Now adds
1663           gst_tag_merge_strings_with_comma() to gst_tag_register().
1664
1665 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1666
1667         * gst/gsttaglist.c:
1668         * gst/gsttaglist.h:
1669           Do as tim pointed out and actually register the new tag. Also improve
1670           te docs and use gst_tag_merge_strings_with_comma() method to allow
1671           retriving all keywords merged in one list.
1672
1673 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1674
1675         * configure.ac:
1676         * docs/gst/gstreamer.types:
1677           Revert 'accidential' change of the configure option removal. We still
1678           need to generate the types file in configure --disable-load-save.
1679
1680 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1681
1682         * docs/gst/gstreamer-sections.txt:
1683         * gst/gsttaglist.h:
1684           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1685
1686 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1687
1688         * gst/gstpadtemplate.c:
1689           (gst_pad_template_class_init), (gst_static_pad_template_get),
1690           (gst_pad_template_new), (gst_pad_template_pad_created),
1691           (gst_pad_template_set_property), (gst_pad_template_get_property):
1692           Add "name-template", "direction", "presence" and "caps" properties,
1693           so that gst_pad_template_new() is just a thin wrapper around
1694           g_object_new(), which is better for bindings. (Fixes: #539772)
1695
1696 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1697
1698         * gst/gsturi.c:
1699           Be more liberal in what URIs we accept.
1700           Do not unescape bits of the URI for no apparent reason before passing to
1701           the element. Fixes #545352.
1702
1703 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1704
1705         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1706
1707         * gst/gst.c:
1708         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1709
1710 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1711
1712         * configure.ac:
1713         * docs/gst/gstreamer-sections.txt:
1714         * docs/gst/gstreamer.types:
1715         * docs/gst/gstreamer.types.in:
1716         * gst/Makefile.am:
1717         * gst/gst.c:
1718         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1719         * gst/gstconfig.h.in:
1720         * gst/gstelement.c: (gst_element_get_index):
1721         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1722         (gst_registry_binary_load_feature),
1723         (gst_registry_binary_read_cache):
1724         * gst/gstregistryxml.c: (load_feature),
1725         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1726         * plugins/Makefile.am:
1727         * tools/gst-indent:
1728         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1729         (print_plugin_features), (print_element_features):
1730         * tools/gst-xmlinspect.c: (print_event_masks),
1731         (print_element_info):
1732         * win32/common/gstconfig.h:
1733         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1734
1735         Disabling the indexers and URI handler code will only reduce the
1736         required amount of memory by a very small amount but on the other hand
1737         requires much more maintaince work. Apart from that many places of
1738         code are broken when disabling them.
1739
1740         Disabling the enum types doesn't reduce the required amount of memory
1741         by more than a few bytes and makes it hard to fix bugs like #539772,
1742         i.e. use the enums as GObject properties.
1743
1744 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1745
1746         * docs/design/part-TODO.txt:
1747         Add some thoughts and problems with upstream renegotiation.
1748
1749 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1750
1751         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1752         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1753         Remove silly redundant debug.
1754         Add some more debug info.
1755         Clarify the docs regarding new caps received from pad_alloc.
1756
1757 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1758
1759         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1760         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1761         Make setting the caps more threadsafe.
1762
1763 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1764
1765         * docs/design/part-element-transform.txt:
1766         Update docs.
1767
1768 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1769
1770         * plugins/elements/gstqueue.c: (gst_queue_init),
1771         (gst_queue_acceptcaps):
1772         Add and use a custom acceptcaps function instead of falling back to the
1773         potentially less optimized default implementation.
1774
1775 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1776
1777         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1778           Only sanity-check the buffer size if requested_caps == buffer_caps
1779           (ie. don't take pad caps into account, they're not relevant here)
1780
1781 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1782
1783         * plugins/elements/gsttee.c:
1784         * plugins/elements/gsttee.h:
1785           Reverting as not everything is clear yet. Needs some general design
1786           work.
1787
1788 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1789
1790         * ChangeLog:
1791           ChangeLog surgery for tee commit.
1792
1793 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1794
1795         * docs/gst/gstreamer-sections.txt:
1796           Cleanup section-file.
1797
1798 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1799
1800         * plugins/elements/gsttee.c:
1801         * plugins/elements/gsttee.h:
1802           Relay tag events in tee. Fixes parts of #474016.
1803           Downgrades 3 reoccurring debugs to log.
1804
1805 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1806
1807         * configure.ac:
1808         * libs/gst/Makefile.am:
1809           Build the net library if we have winsock2.
1810
1811 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1812
1813         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1814
1815         * docs/manual/advanced-threads.xml:
1816         * docs/manual/diagrams-pipelines.svg:
1817         * docs/manual/hello-world.png:
1818         * docs/manual/linked-elements.png:
1819         * docs/manual/mime-world.png:
1820         * docs/manual/queue.png:
1821         * docs/manual/thread-buffering.png:
1822         * docs/manual/thread-synchronizing.png:
1823           Replace one diagram with two separate ones and updates others.
1824           Fixes #542401.
1825
1826 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1827
1828         * gst/gstelement.h:
1829         Fix link in documentation.
1830
1831 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1832
1833         * gst/gstmessage.c:
1834         Fix confusing documentation.
1835
1836 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1837
1838         * libs/gst/base/gstbasesrc.h:
1839         revert the changes to the header file for the ABI.
1840
1841 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1842
1843         * libs/gst/base/gstbasesrc.c:
1844         * libs/gst/base/gstbasesrc.h:
1845         Don't cache the seekable status.
1846         Fixes bug #544174
1847
1848 2008-07-24  Rene Stadler  <mail@renestadler.de>
1849
1850         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1851         code to close the pipeline graph.  This prevents the program from
1852         printing internal data flow errors.
1853
1854 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1855
1856         * docs/manual/basics-bus.xml:
1857         Correct typo. Fixes bug #544320.
1858
1859 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1860
1861         * configure.ac:
1862           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1863           Add check (taken from -base) for winsock, adds WIN32_LIBS
1864         * gst/Makefile.am:
1865           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1866           winsock.
1867           Define GST_EXPORTS when building libgstreamer (only used on win32)
1868         * gst/gst_private.h:
1869         * gst/gstinfo.h:
1870           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1871           for symbols that we need to export in both these files.
1872         * gst/gstpoll.c:
1873           Include gst_private.h higher up to avoid some compile problems on win32.
1874
1875 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1876
1877         * gst/gstvalue.c:
1878         Fix typos.
1879
1880 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1881
1882         * gst/gstcaps.c:
1883         Previous commit was wrong NULL caps does not exist
1884         and indicate an error, so also add a FIXME to
1885         gst_caps_is_equal where NULL caps are accepted.
1886
1887 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1888
1889         * gst/gstcaps.c:
1890         Allow passing of NULL to gst_caps_union
1891
1892 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1893
1894         * gst/gstghostpad.c:
1895         Add in doc that gst_ghost_pad_set_target can accept
1896         NULL to clear target
1897
1898 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1899
1900         * gst/gstplugin.c:
1901         * gst/gstregistry.c:
1902           GstRegistryPool doesn't exist; don't refer to it in docs.
1903           Don't refer to functions that don't exist in docs, it's
1904           unhelpful.
1905
1906 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1907
1908         * gst/gst.c:
1909         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1910
1911 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1912
1913         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1914
1915         * docs/pwg/building-testapp.xml:
1916         Don't use an undeclared variable in the example program.
1917         Fixes bug #542573.
1918
1919 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1920
1921         * gst/gstdebugutils.c:
1922           Squeeze ghost-pad links and remove <> from classname labels to save
1923           more horizontal space.
1924
1925 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1926
1927         * gst/gstdebugutils.c:
1928           Give request and sometimes pads a different shpe style. Condense the
1929           graphs a little more.
1930
1931 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1932
1933         * configure.ac:
1934           Don't require flex and bison if the parser is disabled.
1935
1936 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1937
1938         * libs/gst/controller/gstinterpolationcontrolsource.c:
1939         (_list_find_sorted_custom):
1940         Don't use declarations after statements.
1941
1942 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1943
1944         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1945         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1946         of the the child-added / -removed signals as GstChildProxy
1947         only supports GstObjects.
1948
1949 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1950
1951         * gst/gstdebugutils.c:
1952         Fix memleak
1953
1954 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1955
1956         Patch by: Alessandro Decina <alessandro at nnva dot org>
1957
1958         * gst/gstpoll.c:
1959         Fix "ignored return value" compiler warning with newer glibc.
1960
1961 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1962
1963         * gst/gstchildproxy.c:
1964         Fix copy&paste error in gst_child_proxy_removed() documentation.
1965
1966 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1967
1968         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1969           Print error debug message if plugin description fields that should
1970           be set are NULL.
1971
1972         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1973           Don't crash if the string to serialise is NULL (it really should
1974           not be, but apparently this used to work with the xml registry ...).
1975
1976 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1977
1978         * tools/gst-plot-timeline.py:
1979         Fix parsing of log messages
1980
1981 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1982
1983         * win32/common/libgstbase.def::
1984           Sort alphabetically so make check-exports doesn't barf.
1985
1986 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1987
1988         * gst/gstevent.c:
1989           Use gst_format_get_name() to improve debug output.
1990
1991         * gst/gstpreset.c:
1992           Remove #ifdef'ed code. Add TODO comment.
1993
1994         * gst/gstsegment.c:
1995           Add debug output to ease spotting format != segment.format assertions.
1996
1997 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1998
1999         * tests/check/libs/gdp.c: (gst_dp_suite):
2000         Also enable the GDP unit test again on PPC now that the bug
2001         is fixed.
2002
2003 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2004
2005         * libs/gst/dataprotocol/dataprotocol.c:
2006         Don't write to the same region of memory as a uint64 and uint16
2007         as this breaks strict aliasing rules and apparantly breaks on PPC
2008         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2009
2010 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2011
2012         * libs/gst/controller/gstinterpolationcontrolsource.c:
2013           Optimize list handling. Use own find function. Exploit that fact that
2014           the list is sorted. Also pass back the node before, so that we can
2015           insert quickly. Have a fast path for append.
2016
2017 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2018
2019         * docs/design/draft-framestep.txt:
2020         * docs/design/part-negotiation.txt:
2021           Fix two typos.
2022
2023 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2024
2025         * configure.ac:
2026           Show configuration sumary after configure run. Based on patch by
2027           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2028
2029 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2030
2031         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2032
2033         * docs/manual/advanced-autoplugging.xml:
2034         * docs/manual/advanced-threads.xml:
2035         * docs/manual/basics-bins.xml:
2036         * docs/manual/basics-elements.xml:
2037         * docs/manual/basics-helloworld.xml:
2038         * docs/manual/basics-pads.xml:
2039           Add scale factor for pdf output.
2040
2041         * docs/manual/intro-basics.xml:
2042           Switched sections "pads" and "bins" and added a pipeline diagram.
2043
2044         * docs/manual/intro-gstreamer.xml:
2045           Added more info on gstreamer.
2046
2047         * docs/manual/intro-motivation.xml:
2048           Commented out the whole section "current problem", which sounds
2049           historical and somehow osolete; it could be turned in a positive
2050           way and reused to improve the design principles.
2051
2052         * docs/manual/intro-preface.xml:
2053           - Update URLs to library.gnome.org. 
2054           - Do not mention GTK+ in preliminary reading (irrelevant). 
2055           - Mention Plugin Writer's Manual and further reading only in the
2056             previous section.
2057           - Added a list of most relevant GObject/glib topics.
2058
2059         * docs/manual/Makefile.am:
2060         * docs/manual/bin-element-ghost.fig:
2061         * docs/manual/bin-element-ghost.png:
2062         * docs/manual/bin-element-noghost.fig:
2063         * docs/manual/bin-element-noghost.png:
2064         * docs/manual/bin-element.fig:
2065         * docs/manual/bin-element.png:
2066         * docs/manual/filter-element-multi.fig:
2067         * docs/manual/filter-element-multi.png:
2068         * docs/manual/filter-element.fig:
2069         * docs/manual/filter-element.png:
2070         * docs/manual/gstreamer-overview.png:
2071         * docs/manual/hello-world.fig:
2072         * docs/manual/hello-world.png:
2073         * docs/manual/linked-elements.fig:
2074         * docs/manual/linked-elements.png:
2075         * docs/manual/mime-world.fig:
2076         * docs/manual/mime-world.png:
2077         * docs/manual/queue.fig:
2078         * docs/manual/queue.png:
2079         * docs/manual/simple-player.png:
2080         * docs/manual/sink-element.fig:
2081         * docs/manual/sink-element.png:
2082         * docs/manual/src-element.fig:
2083         * docs/manual/src-element.png:
2084         * docs/manual/diagrams-general.svg:
2085         * docs/manual/diagrams-pipelines.svg:
2086           Removed .fig, added .png counterpart.
2087           
2088           Fixes: #539137
2089
2090 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2091
2092         * plugins/elements/gstmultiqueue.c:
2093         * plugins/elements/gstmultiqueue.h:
2094         revert extra-size-buffers stuff, caused some race conditions
2095         and extra-size-buffers is not used anymore. Docs needs some updates
2096
2097 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2098
2099         * win32/common/config.h:
2100         * win32/common/gstenumtypes.c:
2101         * win32/common/gstenumtypes.h:
2102         * win32/common/gstversion.h:
2103           Update win32 files.
2104
2105 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2106
2107         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2108           (GST_DEBUG_BIN_TO_DOT_FILE):
2109           Add missing Since' markers to gtk-doc blurbs.
2110
2111 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2112
2113         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2114         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2115         (set_caps_1), (set_caps_ct1), (transform_ct1),
2116         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2117         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2118         (transform_size_ct2), (buffer_alloc_ct2):
2119         Add some more tests with switching caps in buffer_alloc.
2120
2121 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2122
2123         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2124         (gst_test_trans_class_init), (result_sink_chain),
2125         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2126         (gst_test_trans_push), (gst_test_trans_pop):
2127         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2128         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2129         (set_caps_1), (set_caps_ct1), (transform_ct1),
2130         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2131         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2132         (transform_size_ct2), (buffer_alloc_ct2),
2133         (gst_basetransform_suite):
2134         More tests, prepare for tests with switching caps in buffer_alloc.
2135
2136 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2137
2138         * plugins/elements/gstmultiqueue.c:
2139         * plugins/elements/gstmultiqueue.h:
2140         Fix dead-lock in underrun_cb
2141
2142 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2143
2144         * docs/design/part-states.txt:
2145         Fix device open/close docs.
2146
2147 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2148
2149         * ChangeLog:
2150           Mention bugnumber for last commit.
2151
2152 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2153
2154         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2155
2156         * docs/manual/manual.xml:
2157         - Reorganised the previous "introduction" bundle into Foreword,
2158         Introduction, and About GStreamer. The two first are <preface>
2159         docbook elements. The later is the first part of the book.
2160         - added intro-gstreamer.xml (content partially from
2161         intro-preface.xml)
2162         - moved appendix-win32.xml into appendix-integration.xml
2163
2164         * docs/manual/intro-preface.xml: gstreamer section moved...
2165         * docs/manual/intro-gstreamer.xml: ...here. new file.
2166
2167         * docs/manual/appendix-win32.xml: removed file. Content moved...
2168         * docs/manual/appendix-integration.xml: ...here.
2169         
2170         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2171         * docs/manual/appendix-checklist.xml: ...here.
2172         
2173         Fixes: 538764
2174
2175 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2176
2177         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2178
2179         * docs/manual/basics-helloworld.xml:
2180         * docs/manual/hello-world.fig:
2181           - Explicitely include glib.h.
2182           - Do not use global variables.
2183           - Use g_printerr() instead of g_print().
2184           - Minor formating/renaming to increase readibility.
2185           - Renamed new_pad() to on_pad_added()
2186           - Improved explenatory comments.
2187           - renamed ogg parser to ogg demuxer
2188           - Use "autoaudiosink" instead of "alsasink".
2189           Fixes: #538619
2190
2191 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2192
2193         * ChangeLog:
2194           Remove cvs conflict marker.
2195
2196 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2197
2198         * docs/README:
2199           Document that for plgin-docs we extraxt he short-desc from the element
2200           details.
2201
2202         * docs/design/part-states.txt:
2203           Tell that devices should be closed in PAUSED -> READY.
2204
2205         * docs/manual/README:
2206           Document how tests in the manual are handled.
2207
2208         * docs/manuals.mak:
2209           Typo in comment.
2210
2211 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2212
2213         * gst/gstbin.c: (bin_query_latency_fold):
2214         Only care about latency min and max when the sink is actually a live
2215         sink.
2216
2217 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2218
2219         * docs/design/part-block.txt:
2220         Fix typo.
2221
2222         * docs/design/part-element-transform.txt:
2223         Add notes about why transform needs to know input/output sizes.
2224         Add some issues that need to be solved.
2225         Add some more use cases.
2226
2227         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2228         (gst_test_trans_class_init), (result_sink_chain),
2229         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2230         (gst_test_trans_push), (gst_test_trans_pop):
2231         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2232         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2233         (set_caps_1), (set_caps_ct1), (transform_ct1),
2234         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2235         (gst_basetransform_suite):
2236         Add suport for different pad templates and buffer-alloc.
2237         Add more checks for caps and buffer-alloc.
2238         Add checks for proxy buffer alloc.
2239         Add unit test for copy transform.
2240
2241 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2242
2243         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2244
2245         * docs/manual/appendix-integration.xml:
2246         * docs/manual/appendix-licensing.xml:
2247         * docs/manual/basics-elements.xml:
2248         * docs/manual/basics-helloworld.xml:
2249         * docs/manual/basics-pads.xml:
2250         * docs/manual/highlevel-components.xml:
2251         * docs/manual/highlevel-xml.xml:
2252         * docs/manual/intro-basics.xml:
2253         * docs/manual/intro-preface.xml:
2254           Typo and formatting fixes (#538594).
2255
2256 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2257
2258         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2259         Fix some memory leaks and uses of object instances that we don't
2260         actually own.
2261
2262 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2263
2264         * plugins/elements/gstmultiqueue.c:
2265         Add functionality to extra-size-buffers property.
2266
2267 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2268
2269         * plugins/elements/gstmultiqueue.c:
2270         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2271         activate the pads if they are added in STATE_NULL.
2272
2273 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2274
2275         * docs/libs/gstreamer-libs-sections.txt:
2276         Add new API to doc
2277         * libs/gst/check/gstcheck.c:
2278         * libs/gst/check/gstcheck.h:
2279         API: gst_check_teardown_pad_by_name
2280
2281 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2282
2283         * libs/gst/check/gstcheck.c:
2284         * libs/gst/check/gstcheck.h:
2285         Also setup request pads and allow setup pads by name (#537812)
2286         API: gst_check_setup_src_pad_by_name
2287         API: gst_check_setup_sink_pad_by_name
2288
2289 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2290
2291         * tests/check/gst/gstbuffer.c:
2292         * tests/check/pipelines/parse-launch.c:
2293           Use HAVE_VALGRIND_H some more.
2294
2295 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2296
2297         * scripts/cvs-update.sh:
2298           Pass arguments to make.
2299           Run autoregen.sh if Makefile is not there.
2300
2301 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2302
2303         * configure.ac:
2304         * gst/gstinfo.c:
2305           Don't assume that <valgrind/valgrind.h> exists just because
2306           the binary is there.
2307
2308 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2309
2310         * tests/check/Makefile.am:
2311         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2312         (gst_test_trans_class_init), (gst_test_trans_init),
2313         (gst_test_trans_set_data), (result_sink_chain),
2314         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2315         (gst_test_trans_pop):
2316         * tests/check/libs/transform1.c: (GST_START_TEST),
2317         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2318         Add some test basetransform element and the beginnings of various
2319         unit tests for it.
2320
2321 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2322
2323         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2324         Increase code readability.
2325         Don't try to compare buffer offsets when ther are invalid.
2326
2327 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2328
2329         * docs/design/Makefile.am:
2330           Dist some more design docs.
2331
2332         * docs/random/moving-plugins:
2333           Small addition: good plugins mustn't have functional code
2334           within assertion macros.
2335
2336 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2337
2338         * docs/design/draft-framestep.txt:
2339         Some ideas about a framestep API
2340
2341         * docs/design/part-element-transform.txt:
2342         Start design and use cases for basetransform in order to get it
2343         fixed soon.
2344
2345 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2346
2347         * gst/gsttaglist.h:
2348           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2349           be in UTF-8 encoding.
2350
2351 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2352
2353         * gst/gstbus.c:
2354           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2355
2356 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2357
2358         * plugins/elements/gstcapsfilter.c:
2359         * plugins/elements/gstfakesink.c:
2360         * plugins/elements/gstfakesrc.c:
2361         * plugins/elements/gstfdsink.c:
2362         * plugins/elements/gstfdsrc.c:
2363         * plugins/elements/gstfilesink.c:
2364         * plugins/elements/gstfilesrc.c:
2365         * plugins/elements/gstidentity.c:
2366         * plugins/elements/gstmultiqueue.c:
2367         * plugins/elements/gstqueue.c:
2368         * plugins/elements/gsttee.c:
2369         * plugins/elements/gsttypefindelement.c:
2370           Remove short_description. Add basic docs for gsttypefindelement.
2371           Simplify markup for fakesrc/fdsrc.
2372
2373 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2374
2375         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2376         Added Since doc.
2377
2378 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2379
2380         Patch by: Joel Larsson <tilljoel at gmail dot com>
2381
2382         * docs/plugins/gstreamer-plugins.args:
2383         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2384         (gst_fd_src_init), (gst_fd_src_update_fd),
2385         (gst_fd_src_set_property), (gst_fd_src_get_property),
2386         (gst_fd_src_create):
2387         * plugins/elements/gstfdsrc.h:
2388         Add timeout property like udpsrc. Fixes #538628.
2389         Add some more docs and example pipelines.
2390
2391 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2392
2393         * docs/libs/gstreamer-libs-sections.txt:
2394         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2395         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2396         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2397         (gst_base_sink_do_sync):
2398         * libs/gst/base/gstbasesink.h:
2399         * win32/common/libgstbase.def:
2400         Add method to allow sinks to specify additional delay between the sync
2401         times and the actual rendering of the data.
2402         API: gst_base_sink_set_render_delay()
2403         API: gst_base_sink_get_render_delay()
2404
2405 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2406
2407         * configure.ac:
2408         Bump version number back to dev -> 0.10.20.1
2409
2410 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2411
2412         * docs/gst/gstreamer-sections.txt:
2413         * gst/gsttaglist.c: (_gst_tag_initialize):
2414         * gst/gsttaglist.h:
2415         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2416         Fixes bug #538568.
2417
2418 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2419
2420         * libs/gst/controller/gstcontroller.c:
2421           Revert one change, that make ret value possible uninitialized.
2422
2423 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2424
2425         * libs/gst/controller/gstcontroller.c:
2426           Use freeze/thaw notify to sync notify emission a bit (its also more
2427           efficient). Move debug output to LOG (is called a lot in a loop).
2428           Always unset g_values if the have been initialized.
2429
2430 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2431
2432         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2433         (gst_base_sink_wait_eos), (gst_base_sink_event):
2434         If we have not seen a buffer before EOS, use the segment values to
2435         report the current position instead of invalid positions.
2436
2437 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2438
2439         * docs/plugins/tmpl/.cvsignore:
2440         * tests/check/gst/.cvsignore:
2441           Ignore more.
2442
2443 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2444
2445         * libs/gst/controller/gstinterpolation.c:
2446         * libs/gst/controller/gstinterpolationcontrolsource.c:
2447         * tests/check/libs/controller.c:
2448           Rewrite handling of default values. Fix overflow with unsigned types
2449           in linear interpolation. Remove now obsolete _first_value() function.
2450           Add more tests. Fixes #538201.
2451
2452 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2453
2454         * libs/gst/base/gstbasetransform.c:
2455         (gst_base_transform_class_init), (gst_base_transform_init),
2456         (gst_base_transform_transform_caps),
2457         (gst_base_transform_prepare_output_buffer):
2458         Add debug info.
2459         When a buffer is writable, its metadata is also writable so we don't
2460         need to subbuffer (which then makes the buffer not-writable anymore).
2461
2462 === release 0.10.20 ===
2463
2464 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2465
2466         * configure.ac:
2467           releasing 0.10.20, "You Crazy Diamond"
2468
2469 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2470
2471         * configure.ac:
2472         0.10.19.3 pre-release
2473
2474 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2475
2476         * configure.ac:
2477         * gst/gstpreset.c:
2478         Rename DATADIR to GST_DATADIR to avoid build problems
2479         on win32. Patch By: David Schleef <ds@schleef.org>
2480         Fixes: #536857
2481
2482 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2483
2484         * configure.ac:
2485         Explicitely link with -ldl if dladdr() is found there. Before it was
2486         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2487         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2488
2489 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2490
2491         * gst/gsterror.c: (_gst_stream_errors_init):
2492           Fix typo (spotted by Fabricio Godoy, #536723).
2493
2494 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2495
2496         * configure.ac:
2497         0.10.19.2 pre-release
2498
2499 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2500
2501         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2502         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2503         Add some debug.
2504         Make sure we don't generate invalid QoS messages.
2505
2506 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2507
2508         * gst/gstevent.c: (gst_event_new_qos):
2509         Add some assert and docs for invalid input to the qos function.
2510
2511 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2512
2513         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2514         (gst_base_sink_get_position):
2515         The reported position must always be smaller than the last seen
2516         timestamps (or timestamp + duration for reverse).
2517
2518 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2519
2520         Patch by: Rob Bradford <rob at robster dot org dot uk>
2521
2522         * gst/gstregistry.c: (gst_registry_scan_path_level):
2523         Don't recurse into .debug directories as some distros install
2524         the debugging symbols next to the plugins in .debug directories
2525         and dlopen() crashes on them sometimes. Fixes bug #508070.
2526
2527         Add FIXME for 0.11 to not recurse into directories at all because
2528         it's very inconsistent to the behaviour of other PATH environment
2529         variables.
2530
2531 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2532
2533         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2534         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2535         Fix position query range checks in reverse playback.
2536
2537 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2538
2539         * gst/gstelement.c:
2540         * gst/gstelement.h:
2541         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2542         clear of the reference to the resulting pad must be released later
2543         or not, resulting in possible leaks. Fixes bug #533865.
2544
2545 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2546
2547         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2548
2549         * gst/gstelementfactory.c:
2550         Small doc fix. Fixes #535285.
2551
2552 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2553
2554         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2555
2556         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2557         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2558         (gst_base_src_loop), (gst_base_src_set_flushing),
2559         (gst_base_src_change_state):
2560         Make sending an EOS event to the basesrc non-blocking even if the
2561         implementation does blocking waits in the create function. This is done
2562         by unlocking the create function when EOS is sent.
2563         Fixes #535218.
2564
2565 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2566
2567         * tools/gst-inspect.c: (print_element_properties_info):
2568         If possible print the element type of GValueArray properties.
2569
2570 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2571
2572         * gst/gstiterator.c:
2573         Remove an unused field from the private GstListIterator struct.
2574
2575 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2576
2577         * libs/gst/controller/gstcontroller.c:
2578           Add parameter guards.
2579
2580 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2581
2582         * tests/check/gst/gstpipeline.c:
2583           Revert test change and add comment why it should not work.
2584
2585 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2586
2587         * tests/check/gst/gstpipeline.c:
2588           Extending the test a little to verify that we also get the NULL state-
2589           change message.
2590
2591 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2592
2593         * gst/gstpreset.c: (gst_preset_default_get_meta),
2594           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2595           (gst_preset_load_preset), (gst_preset_save_preset),
2596           (gst_preset_rename_preset), (gst_preset_delete_preset),
2597           (gst_preset_set_meta):
2598           Add Since: markers to docs blurbs.
2599
2600         * win32/common/libgstreamer.def:
2601           Add recently-added API.
2602
2603 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2604
2605         Patch by: Stefan Kost  <ensonic@users.sf.net>
2606
2607         * configure.ac:
2608         Add DATADIR for storing presets.
2609
2610         * docs/gst/gstreamer-docs.sgml:
2611         * docs/gst/gstreamer-sections.txt:
2612         * docs/gst/gstreamer.types.in:
2613         Add GstPreset to docs.
2614
2615         * gst/Makefile.am:
2616         * gst/gst.h:
2617         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2618         (preset_open_and_parse_header), (preset_parse_version),
2619         (preset_merge), (preset_get_keyfile),
2620         (gst_preset_default_get_preset_names),
2621         (gst_preset_default_get_property_names),
2622         (gst_preset_default_load_preset),
2623         (gst_preset_default_save_presets_file),
2624         (gst_preset_default_save_preset),
2625         (gst_preset_default_rename_preset),
2626         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2627         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2628         (gst_preset_default_reset), (gst_preset_get_preset_names),
2629         (gst_preset_get_property_names), (gst_preset_load_preset),
2630         (gst_preset_save_preset), (gst_preset_rename_preset),
2631         (gst_preset_delete_preset), (gst_preset_set_meta),
2632         (gst_preset_get_meta), (gst_preset_class_init),
2633         (gst_preset_base_init), (gst_preset_get_type):
2634         * gst/gstpreset.h:
2635         Add GstPreset to core. Fixes #396779
2636
2637         * tests/check/Makefile.am:
2638         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2639         (gst_preset_test_set_property), (gst_preset_test_class_init),
2640         (gst_preset_test_base_init), (gst_preset_test_get_type),
2641         (gst_preset_test_plugin_init), (GST_START_TEST),
2642         (remove_preset_file), (test_setup), (test_teardown),
2643         (gst_preset_suite):
2644         Add GstPreset unit tests.
2645
2646 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2647
2648         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2649         The default event function on a sinkpad should return TRUE when
2650         there are no internal links but should collect the return values from
2651         the internal links otherwise.
2652
2653 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2654
2655         * plugins/elements/gsttypefindelement.c:
2656         (gst_type_find_element_src_event),
2657         (gst_type_find_element_handle_event):
2658         Use faster and safer _pad_push_event().
2659
2660 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2661
2662         * docs/gst/gstreamer-sections.txt:
2663         * gst/gstutils.c: (element_find_unlinked_pad),
2664           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2665         * gst/gstutils.h:
2666           API: add gst_bin_find_unlinked_pad()
2667           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2668
2669 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2670
2671         * gst/gstclock.c:
2672         * gst/gstclock.h:
2673         * gst/gsttask.c:
2674         * gst/gsttask.h:
2675         Fixed a bunch of typos.
2676
2677 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2678
2679         * gst/gstpad.h:
2680         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2681           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2682           (gst_parse_bin_from_description_full):
2683         * gst/gstutils.h:
2684           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2685
2686 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2687
2688         * docs/pwg/advanced-tagging.xml:
2689           Small docs update, can't be bothered to rewrite the nonsensical
2690           examples right now.
2691
2692 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2693
2694         * gst/gstevent.h:
2695           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2696
2697 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2698
2699         * gst/parse/grammar.y:
2700           Remove unneeded casts.
2701
2702 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2703
2704         * gst/parse/grammar.y:
2705         * tests/check/pipelines/parse-launch.c:
2706           Get all missing elements from a parse launch string if possible
2707           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2708
2709 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2710
2711         * tests/check/Makefile.am:
2712         * tests/check/pipelines/parse-launch.c:
2713           Add some unit tests for the new gst_parse_launch*_full() API.
2714           (Exposes a previously-existing memory leak in the error code
2715           path, so adding to VALGRIND_TO_FIX for now).
2716
2717 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2718
2719         * docs/gst/gstreamer-sections.txt:
2720         * gst/gst.c: (init_post):
2721         * gst/gst_private.h: (_GstParseContext):
2722         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2723           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2724           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2725           (gst_parse_launch_full):
2726         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2727           (GstParseFlags), (GstParseContext):
2728         * gst/gstutils.c: (gst_parse_bin_from_description),
2729           (gst_parse_bin_from_description_full):
2730         * gst/gstutils.h:
2731         * gst/parse/grammar.y:
2732         * gst/parse/types.h:
2733         * win32/common/libgstreamer.def:
2734           Add new gst_parse_*_full API (#528178):
2735           API: gst_parse_launch_full()
2736           API: gst_parse_launchv_full()
2737           API: gst_parse_bin_from_description_full()
2738           API: gst_parse_context_new()
2739           API: gst_parse_context_free()
2740           API: gst_parse_context_get_missing_elements()
2741
2742 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2743
2744         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2745
2746         * docs/faq/gst-uninstalled:
2747           Also support ffmpeg in gst-uninstalled.
2748
2749 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2750
2751         * configure.ac:
2752         After discussion on IRC use the binary registry as default
2753         but allow to disable it with --disable-binary-registry.
2754
2755         * win32/common/libgstreamer.def:
2756         Add the two new symbols for the binary registry.
2757
2758 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2759
2760         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2761         * gst/gstutils.c: (gst_parse_bin_from_description):
2762         * gst/parse/grammar.y: (graph):
2763           More guards against bad input; typo fix; some minor clean-ups.
2764
2765 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2766
2767         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2768
2769         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2770         If nothing else can be used, use the last buffer's start time as
2771         the segment's last stop. Fixes bug #534258.
2772
2773 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2774
2775         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2776           Move size sanity check to the right place: downstream may return
2777           a buffer with a smaller size if the buffer caps are different than
2778           the requested ones, as may happen when doing reverse negotiation.
2779
2780 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2781
2782         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2783         (gst_file_sink_render):
2784         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2785         (gst_file_src_start):
2786         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2787         use it yet.
2788
2789 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2790
2791         * gst/gstpad.c: (gst_pad_load_and_link):
2792         * gst/gstutils.c: (gst_element_link_pads),
2793         (gst_element_unlink_pads):
2794         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2795         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2796         (gst_check_teardown_sink_pad),
2797         (gst_check_element_push_buffer_list):
2798         * tests/check/elements/fakesink.c: (GST_START_TEST):
2799         * tests/check/elements/filesink.c:
2800         * tests/check/elements/filesrc.c: (GST_START_TEST):
2801         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2802         (mq_sinkpad_to_srcpad):
2803         * tests/check/elements/tee.c: (GST_START_TEST):
2804         * tests/check/generic/sinks.c: (GST_START_TEST):
2805         * tests/check/gst/gstbin.c: (GST_START_TEST):
2806         * tests/check/gst/gstevent.c: (GST_START_TEST):
2807         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2808         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2809         * tests/check/gst/gstquery.c: (GST_START_TEST):
2810         * tests/check/gst/gstutils.c: (GST_START_TEST):
2811         * tests/check/libs/basesrc.c: (GST_START_TEST):
2812         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2813         (gst_parse_test_element_change_state):
2814         Don't use gst_element_get_pad().
2815
2816 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2817
2818         * docs/Makefile.am:
2819         Fix installing plugin documentation when gtk-doc is disabled.
2820
2821 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2822
2823         * docs/manual/advanced-autoplugging.xml:
2824         * docs/manual/basics-helloworld.xml:
2825         * docs/manual/basics-pads.xml:
2826         * docs/manual/highlevel-components.xml:
2827         Avoid using a bad function in the example code.
2828
2829 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2830
2831         * gst/gstclock.c: (gst_clock_set_calibration):
2832         Fix debug of the new clock rate.
2833
2834 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2835
2836         * win32/common/libgstbase.def:
2837         Add gst_base_sink_wait_clock() to the exported symbols.
2838
2839 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2840
2841         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2842
2843         * libs/gst/base/gstbasetransform.c:
2844         (gst_base_transform_sink_event):
2845         Unref events that the GstBaseTransform::event vfunc didn't want to
2846         have forwarded by the base class. Closes a leak in identity.
2847         Fixes bug #446763.
2848
2849 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2850
2851         * docs/libs/gstreamer-libs-sections.txt:
2852         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2853         * libs/gst/base/gstbasesink.h:
2854         Expose a method that was previously used internally to synchronize
2855         against the clock because it can be useful for subclasses too.
2856         API: GstBaseSink::gst_base_sink_wait_clock()
2857
2858 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2859
2860         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2861           Add sanity check to make sure we don't get smaller buffers
2862           than requested (and fallback to normal buffer alloc if we do).
2863
2864 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2865
2866         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2867         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2868         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2869         Refactor adjusting the running_time with latency and offset into a
2870         separate method.
2871         When doing clipping, we still want to use the subclass get_times method,
2872         just in case the DURATION or TIMESTAMP are not set.
2873
2874 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2875
2876         * docs/gst/gstreamer-sections.txt:
2877         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2878         * gst/gsttypefind.h:
2879         * win32/common/libgstreamer.def:
2880           API: add gst_type_find_suggest_simple(), #533740.
2881
2882 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2883
2884         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2885           Use right error code when typefinding fails, so we can use
2886           the default (translated) error messages.
2887
2888 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2889
2890         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2891         (gst_base_src_start):
2892         When the subclass did not set caps on outgoing buffers, configure the
2893         caps we negotiated on the source pad.
2894         When the typefind helper does not find caps, error out properly instead
2895         of doing things with NULL caps.
2896
2897 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2898
2899         * gst/gsttypefind.h:
2900           Tabs to spaces, oh yes!
2901
2902 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2903
2904         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2905           Add David's and Benjamin's tests for array intersection to the
2906           unit test suite (#147931).
2907
2908 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2909
2910         * gst/gstevent.c:
2911           Document that gst_event_new_tag() and gst_event_new_navigation()
2912           take ownership of the taglist/structure passed to them. (#533635).
2913
2914 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2915
2916         * docs/Makefile.am:
2917         Don't descend into the plugins dir if plugin docs building
2918         is disabled.
2919
2920         * docs/README:
2921         Add a note about the new type:GTypeName syntax for the plugin
2922         documentation .types file.
2923
2924 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2925
2926         * gst/gstmessage.c: (gst_message_new_error),
2927         (gst_message_new_warning), (gst_message_new_info):
2928         * gst/gstmessage.h:
2929         Mark the debug string parameters as const. Fixes bug #533490.
2930
2931 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2932
2933         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2934         Sort buffer cache list by end offsets. This makes sure that we don't
2935         stop to search for a cached buffer that contains the requested data
2936         too early.
2937         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2938         more efficient. Fixes bug #459862.
2939
2940 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2941
2942         * gst/gstinfo.c:
2943           Explain why we copy the list.
2944
2945         * gst/gstpipeline.c:
2946           Improve docs.
2947
2948         * gst/gstutils.c:
2949           Add one debug-log statement to help tracing probelms with linking pads.
2950
2951 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2952
2953         * tests/check/gst/gstinfo.c:
2954         Add a test for removing the default log handler. Seems to fail under
2955         windows.
2956
2957 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2958
2959         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2960         Release pad lock before calling out to avoid a possible deadlock.
2961
2962 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2963
2964         * gst/parse/grammar.y:
2965         Remove unneeded value unset.
2966
2967         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2968         Add unit test for de/serialization of caps.
2969
2970 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2971
2972         * plugins/elements/gstfakesink.c:
2973         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2974         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2975         (gst_fake_src_class_init):
2976         Use custom marshalers that take GstMiniObject as first parameter.
2977         Using OBJECT as parameter while a GstMiniObject is given will lead
2978         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2979
2980 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2981
2982         * plugins/elements/gsttypefindelement.c:
2983         (gst_type_find_element_handle_event),
2984         (gst_type_find_element_send_cached_events),
2985         (gst_type_find_element_change_state):
2986         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2987         immediately.
2988
2989 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2990
2991         * plugins/elements/gsttypefindelement.c:
2992         (gst_type_find_handle_src_query), (stop_typefinding),
2993         (gst_type_find_element_handle_event),
2994         (gst_type_find_element_send_cached_events),
2995         (gst_type_find_element_change_state):
2996         Forward FLUSH_START events immediately and clean up instead of
2997         caching them.
2998
2999 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3000
3001         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3002
3003         * libs/gst/base/gstbasetransform.c:
3004         (gst_base_transform_buffer_alloc):
3005         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3006         fall back to default negotiation in the chain function if the caps
3007         are different from what was requested. Fixes bug #526768.
3008
3009 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3010
3011         * gst/gstsegment.c:
3012         * tests/check/gst/gstsegment.c:
3013           No, let's not use g_slice_{dup|copy} here, since they only exist
3014           since GLib 2.14 and we still depend only on >= 2.12. Also add
3015           unit test for gst_segment_copy().
3016
3017 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3018
3019         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3020           Try to fix 'dereferencing type-punned pointer will break strict
3021           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3022           changed the default GType typedef from gulong to gsize at some point,
3023           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3024           g_once_* functions all take a gsize * though, so work around the type
3025           mismatch for C++ by doing everything in gsize and casting to GType
3026           later.
3027
3028 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3029
3030         * plugins/elements/gstmultiqueue.c:
3031         Add documentation for the signals to push our core plugin docs
3032         coverage back up to 100%.
3033
3034 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3035
3036         * gst/gstinfo.h (GST_FUNCTION):
3037           Reverted GST_FUNCTION to the old version as we don't want the
3038           full signature in C++ code. Also added support for MSVC.
3039
3040 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3041
3042         * gst/gstutils.h:
3043         Intern the type name string, similar to what G_DEFINE_TYPE does.
3044
3045 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3046
3047         * gst/gstutils.h:
3048         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3049
3050 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3051
3052         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3053
3054         * libs/gst/base/gstbasetransform.c:
3055         (gst_base_transform_buffer_alloc):
3056         Don't passthrough buffer allocation too easily if the caps change.
3057         This breaks when working in passthrough mode and upstream changes
3058         it's caps. Fixes bug #526768.
3059
3060 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3061
3062         * gst/gstinfo.c (gst_debug_log_valist):
3063           Improved the __FILE__ part of debug output for MSVC.
3064
3065 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3066
3067         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3068           Declaration after statement fix for compilers like MSVC.
3069
3070 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3071
3072         * win32/common/config.h.in:
3073           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3074           use the real thing than having "???" unconditionally.
3075
3076 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3077
3078         * gst/gstinfo.h (GST_FUNCTION):
3079           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3080
3081 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3082
3083         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3084         Small code cleanup.
3085
3086         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3087         (gst_base_sink_set_flushing):
3088         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3089         Fix some comments.
3090
3091 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3092
3093         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3094         (gst_fake_src_init), (gst_fake_src_set_property),
3095         (gst_fake_src_get_property), (gst_fake_src_start):
3096         * plugins/elements/gstfakesrc.h:
3097         Added format property to control the format of the newsegment events.
3098         API: GstFakeSrc:format
3099
3100 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3101
3102         * win32/common/libgstreamer.def:
3103         Add gst_pad_has_name() to the exported symbols.
3104
3105 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3106
3107         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3108         * libs/gst/base/gstbasetransform.c:
3109         (gst_base_transform_prepare_output_buffer):
3110         Don't allow negative sizes when allocating new buffers.
3111         Fixes bug #461253.
3112
3113 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3114
3115         Patch by: Sjoerd Simons <sjoerd at luon net>
3116
3117         * gst/gstbus.c: (gst_bus_source_dispatch):
3118           Don't print a warning if the queue is empty when we try to pop
3119           here. That could happen if another thread or callback set the
3120           bus to flushing between the source's check/prepare and the
3121           dispatch being called (#531538).
3122
3123 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3124
3125         * plugins/elements/gstmultiqueue.c:
3126           Small docs fix.
3127         
3128 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3129
3130         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3131         Add unit test for deserializing uint64s and check some really large
3132         numbers in the int64 test.
3133
3134 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3135
3136         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3137         (print_interfaces), (print_element_properties_info),
3138         (print_signal_info):
3139         Use "%s" as format string instead of printing strings directly.
3140
3141 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3142
3143         * gst/gstclock.c: (gst_clock_set_calibration):
3144         Make some checks actually useful.
3145
3146         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3147         Remove some unused code. Unsigned integers tend to be >= 0.
3148
3149 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3150
3151         * gst/gstminiobject.c: (gst_value_get_mini_object):
3152           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3153           function was not in the unscheduled 0.10.19 release.
3154
3155 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3156
3157         * gst/gstregistry.c: (gst_registry_scan_path_level):
3158           Only print one log message per non-plugin file.
3159
3160 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3161
3162         * gst/gstinfo.c: (gst_debug_log_default):
3163           Fix alignment of debug log columns on 64-bit.
3164
3165 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3166
3167         * docs/libs/Makefile.am:
3168         * docs/libs/gstreamer-libs-sections.txt:
3169           Ignore private controller headers for docs.
3170
3171 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3172
3173         * libs/gst/controller/gstcontrollerprivate.h:
3174         * libs/gst/controller/gsthelper.c:
3175         * libs/gst/controller/gstinterpolation.c:
3176         * libs/gst/controller/gstinterpolationcontrolsource.c:
3177         (gst_interpolation_control_source_set_interpolation_mode):
3178         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3179         * libs/gst/controller/lib.c:
3180         Move some private declarations into private headers.
3181
3182 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3183
3184         * gst/gstdebugutils.c: (debug_dump_element_pad):
3185         Remove some code that is unused after Stefan's refactoring and uses
3186         uninitialized variables now, resulting in a compiler warning.
3187
3188 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3189
3190         * gst/gstregistry.c: (gst_registry_scan_path_level):
3191           Run g_str_has_suffix() only on the file name, not the
3192           entire file path.
3193
3194 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3195
3196         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3197           Since we're not called only from the chain function any longer,
3198           we can't assume that there's always data in the queue, so move
3199           the is_full check to the beginning of the loop (otherwise we'd
3200           hit the assert when changing the limit properties while the
3201           queue is empty or not running yet).
3202           Also, only set a discont if items were actually removed from
3203           the queue.
3204
3205         * tests/check/elements/queue.c: (test_leaky_downstream):
3206           Test case for the above.
3207
3208 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3209
3210         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3211
3212         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3213         (gst_queue_chain), (queue_capacity_change),
3214         (gst_queue_set_property):
3215         When changing thr max capacity of a leaky queue, immediatly drop buffers
3216         instead of waiting for a push on the sinkpad. Fixes #530637.
3217
3218 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3219
3220         * gst/gstdebugutils.c:
3221           Refactor code and fix handling of ghostpads and their proxypads.
3222
3223 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3224
3225         * docs/gst/gstreamer-sections.txt:
3226         * gst/gstevent.c: (gst_event_has_name):
3227         * gst/gstevent.h:
3228         * tests/check/gst/gstevent.c: (GST_START_TEST):
3229         Add method to conveniently check the name of a custom event with
3230         gst_event_has_name().
3231         Reformat the event docs so that related methods are put together instead
3232         of the default alphabetical sort.
3233         Update unit test with new method.
3234         API: GstEvent::gst_event_has_name()
3235
3236 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3237
3238         * libs/gst/check/Makefile.am:
3239           Don't add an explicit link to libgstreamer-0.10.la; it's already
3240           included in GST_OBJ_LIBS.
3241
3242 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3243
3244         * gst/gst.c:
3245         Register GstClock type from a type-safe context. Fixes bug #530317.
3246
3247 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3248
3249         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3250         * tools/gst-run.c:
3251           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3252
3253 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3254
3255         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3256         (gst_bin_dispose):
3257         Use the GLib stuff to create a private structure.
3258         Add some locking around some dispose methods to make them a little
3259         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3260
3261 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3262
3263         * libs/gst/base/gstbasesink.h:
3264         * libs/gst/base/gstbasesrc.h:
3265         * libs/gst/base/gstbasetransform.h:
3266         * libs/gst/base/gstcollectpads.h:
3267           Fix doc typos and unify caps a bit.
3268
3269 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3270
3271         * tools/gst-launch.1.in:
3272           Forgot to also add the envvar docs here.
3273
3274 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3275
3276         * gst/gst.c: (init_post), (gst_deinit):
3277         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3278           (test_concurrent_create), (gst_pipeline_suite):
3279           Ref some more classes in gst_init() to work around thread-safety
3280           issues in pre-2.16 GLibs, and add basic unit test.
3281
3282 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3283
3284         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3285         (gst_base_sink_send_event):
3286         Rearrange the latency query code. We always want to do the upstream
3287         query, even if we are not live so that the upstream elements can get the
3288         latency results too. If we fail doing the query and we are live, we
3289         return TRUE afterwards.
3290
3291 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3292
3293         patch by: Jason Zhao <e3423c@motorola.com>
3294
3295         * docs/gst/running.xml:
3296         * gst/gst.c:
3297           Enable/disable scan_and_update_registry() based on commandline switch
3298           or environment variable. Fixes #520468.
3299           
3300         * ChangeLog:
3301           Fix typo in my previous commit.
3302
3303 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3304
3305         * gst/gstregistrybinary.c:
3306           Add a warning if we hit unhandled factories when saving.
3307           More debug logging detail, but move to LOG category.
3308
3309 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3310
3311         * gst/gstregistry.c:
3312           Tell the *truth* when improving the documentation.
3313
3314 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3315
3316         * gst/gstelementfactory.c: (gst_element_factory_make):
3317         Unref the factory after it was used the last time, not before.
3318
3319         * gst/gstindexfactory.c: (gst_index_factory_make):
3320         Improve debugging a bit and don't leak a ref to the index factory with
3321         each call.
3322
3323 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3324
3325         * gst/gstregistry.c:
3326           Improve the documentation.
3327
3328 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3329
3330         * gst/gstsegment.c:
3331           The glib macro seems to be borked. Use g_slice_copy directly and cast
3332           in the hope that this fixes the warning on 64bit.
3333
3334 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3335
3336         * gst/gstsegment.c:
3337           Document the new function. Use g_slice_dup() (no need for
3338           gst_segment_init()).    
3339
3340 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3341
3342         * docs/gst/gstreamer-sections.txt:
3343           Move GParamSepc macros to standart section.
3344   
3345         * gst/gstbin.c:
3346           Dn't document _get_type - its in private section in docs anyway and
3347           this doc-blob was incomplete.
3348
3349         * gst/gstclock.h:
3350           Fix wrong symbol names in docs.
3351
3352         * gst/gstmacros.h:
3353           Add once doc sentence.
3354
3355         * tests/check/gst/.cvsignore:
3356           Ignore more.
3357
3358 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3359
3360         * docs/gst/Makefile.am:
3361           And remove those libs here.
3362
3363 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3364
3365         * docs/libs/Makefile.am:
3366           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3367
3368 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3369
3370         Patch by: Olivier Crete <tester at tester dot ca>
3371
3372         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3373         Add the min-threshold to the min latency if possible. Fixes #529148.
3374
3375 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3376
3377         * docs/gst/gstreamer.types.in:
3378           Stupid editor, I removed that line as it should go in yet.
3379
3380 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3381
3382         * docs/gst/gstreamer.types.in:
3383         * docs/libs/gstreamer-libs.types:
3384           Remove library types fro core docs and have them in libs docs.
3385           Reformat and cleanup. Add comment for miniobject types.
3386
3387 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3388
3389         * gst/gsturi.c: (gst_uri_get_protocol):
3390           Fix leak: g_strdown operates on the string in place, while
3391           g_ascii_strdown() returns a newly-allocated string.
3392
3393 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3394
3395         * tools/gst-inspect.c: (print_uri_handler_info),
3396         (print_element_info):
3397         Print the URI protocols and the URI type supported by the element.
3398
3399 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3400
3401         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3402         Use g_value_take_string() instead of the deprecated
3403         g_value_set_string_take_ownership().
3404
3405 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3406
3407         * gst/gstregistrybinary.c: (_gst_crc32):
3408         Return the old CRC instead of 0 if we give a NULL buffer
3409         or a buffer with a length of 0.
3410
3411 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3412
3413         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3414         (gst_uri_get_protocol), (gst_uri_has_protocol),
3415         (gst_uri_construct), (gst_uri_handler_set_uri):
3416         A valid URI scheme can also include '+', '-' and '.' additional
3417         to alphanumeric characters as per RFC 3986 Section 3.1.
3418
3419         Handle URI schemes case insensitive in all places and convert
3420         to lower-case when constructing an URI or setting an URI with
3421         the GstURIHandler interface. Fixes bug #528868.
3422         All elements can still assume (as before) that they will
3423         get passed URIs with a lower-case URI scheme by the GstURIHandler
3424         interface.
3425
3426 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3427
3428         * gst/gstcaps.c: (gst_static_caps_get):
3429         * gst/gstclock.c: (gst_clock_entry_new):
3430           Don't use g_atomic_set_int where it's not needed.
3431
3432 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3433
3434         * gst/gstvalue.c: (gst_value_deserialize_caps):
3435         * gst/parse/grammar.y:
3436         Fix 2 caps leaks.
3437
3438 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3439
3440         * gst/gstutils.c: (gst_atomic_int_set):
3441         Use g_atomic_int_set() here too instead of assignment +
3442         g_atomic_int_get().
3443
3444 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3445         
3446         * gst/gstutils.c:
3447         * gst/gstutils.h:
3448         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3449         now that we depend on new enough GLib.
3450
3451         * gst/gstcaps.c: (gst_static_caps_get):
3452         * gst/gstclock.c: (gst_clock_entry_new):
3453         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3454         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3455         (gst_debug_category_set_threshold):
3456         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3457         (gst_base_sink_set_qos_enabled):
3458         * libs/gst/net/gstnettimeprovider.c:
3459         (gst_net_time_provider_set_property):
3460         Use g_atomic_int_set() instead of gst_atomic_int_set().
3461
3462 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3463
3464         * gst/gstquery.c:
3465           Also use G_GINT64_CONSTANT for the queries.
3466
3467 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3468
3469         * gst/gstmessage.c:
3470           Use G_GINT64_CONSTANT in varargs function.
3471
3472 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3473
3474         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3475         Initialize the registry magic with zeroes.
3476
3477 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3478
3479         * gst/gstregistrybinary.c: (_gst_crc32),
3480         (gst_registry_binary_write),
3481         (gst_registry_binary_initialize_magic),
3482         (gst_registry_binary_write_cache),
3483         (gst_registry_binary_check_magic),
3484         (gst_registry_binary_read_cache):
3485         * gst/gstregistrybinary.h:
3486         Add crc32 checksum to the binary registry file and check this before
3487         accepting a registry file.
3488
3489         Also free the data list when writing to the registry file fails.
3490
3491 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3492
3493         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3494         (gst_registry_binary_load_feature),
3495         (gst_registry_binary_load_plugin):
3496         If an element supports the Uri interface, returns a valid pointer
3497         to the supported URI protocols but this pointer contains nothing
3498         don't try to save that as it will corrupt the registry.
3499
3500         Don't unref the plugin if we added it to the registry already but
3501         fail to load a feature as gst_registry_add_plugin() takes ownership
3502         of the plugin.
3503
3504         Improve debugging a bit.
3505
3506 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3507
3508         * gst/gsttaglist.h:
3509           Clarify some tag item docs after discussion on irc.
3510
3511 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3512
3513         * docs/gst/gstreamer-docs.sgml:
3514           Remove commented out plugins (they have their own docs). Update
3515           comments.
3516
3517 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3518
3519         * docs/gst/gstreamer-docs.sgml:
3520         * docs/gst/gstreamer-sections.txt:
3521         * gst/gstparamspecs.c:
3522         * gst/gstparamspecs.h:
3523           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3524           docs to own section.
3525
3526         * gst/gstvalue.c:
3527           This now only documents GValue.
3528           
3529         * docs/libs/gstreamer-libs-sections.txt:
3530         * libs/gst/controller/gstcontroller.h:
3531           Remove GST_PARAM_CONTROLLABLE.
3532
3533 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3534
3535         * docs/README:
3536           Correct file path. Tell about how to use -overrides.txt.
3537         * docs/design/draft-tagreading.txt:
3538           Small design update.
3539
3540 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3541
3542         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3543         (gst_registry_binary_load_plugin):
3544         Fix a typo in a debug message and revert change from yesterday as
3545         gst_registry_add_plugin() will only fail if something is really wrong
3546         already and we can't survive it anyway.
3547
3548 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3549
3550         * gst/gst.c: (init_post), (gst_deinit):
3551           Pre-register GstGError GType from a thread-safe context
3552           (fixes #527967); unref enum type classes in deinit.
3553
3554 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3555
3556         Patch by: Rene Stadler <mail at renestadler de>
3557
3558         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3559           Merging an empty list with another list in KEEP_ALL mode should
3560           yield an empty list as result and not the second list (#512578).
3561
3562         * tests/check/gst/gsttagsetter.c:
3563           Add unit test for tag merge modes and the aforementioned bug.
3564
3565 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3566
3567         Patch by: Rene Stadler <mail at renestadler de>
3568
3569         * gst/gsttaglist.h:
3570           Fix description to match the order in the table (#512577).
3571   
3572 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3573
3574         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3575
3576         * libs/gst/net/gstnettimepacket.h:
3577         * docs/libs/gstreamer-libs-sections.txt:
3578           Define socklen_t as int if it's not defined yet. Fixes compilation
3579           with MSVC6 and other versions where socklen_t is not defined in
3580           the windows headers (#518022).
3581
3582 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3583
3584         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3585         If gst_registry_add_plugin() fails our reference to the plugin is
3586         invalid so don't try to use it anymore and instead error out.
3587
3588 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3589
3590         * tools/gst-xmlinspect.c: (print_element_info), (main):
3591           De-cruft a bit. If no argument is specified, print all elements in
3592           XML syntax rather than a freestyle list of elements like gst-inspect.
3593           Also, don't print XML header chunk unless we actually have something
3594           to print (ie. don't print it before an error message); print error
3595           message to stderr not stdout. Remove support for printing plugin
3596           info (it would just output something freestyle along the lines of
3597           gst-inspect so far), which fixes #514507. Also add license header.
3598
3599 2008-04-11  Julien Moutte  <julien@fluendo.com>
3600
3601         Mac OS X love...
3602         * configure.ac: Merge platform specific defines, introduce a new
3603         define on OS X to remember that forking when updating registry is
3604         unsafe.
3605         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3606         module.
3607         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3608         is defined.
3609         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3610         condition that leads to absolutely no plugins being registered on
3611         OS X.
3612
3613 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3614
3615         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3616
3617         * gst/gstutils.c: (gst_pad_add_data_probe),
3618           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3619           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3620           (gst_pad_add_buffer_probe_full):
3621         * gst/gstutils.h:
3622         * docs/gst/gstreamer-sections.txt:
3623         * win32/common/libgstreamer.def:
3624           Add gst_pad_add_*_probe_full() functions with a notify callback that
3625           lets the caller free the data it passes to the probe functions. This
3626           is useful for bindings such as gst-python or gstreamermm (#526814).
3627           API: gst_pad_add_data_probe_full
3628           API: gst_pad_add_buffer_probe_full
3629           API: gst_pad_add_event_probe_full
3630
3631         * tests/check/gst/gstutils.c:
3632           Add minimal unit test to make sure freeing the data actually works
3633           as expected.
3634
3635         * tests/benchmarks/.cvsignore:
3636           Random cvsignore addendum.
3637
3638 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3639
3640         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3641           (GST_DEBUG_BIN_TO_DOT_FILE):
3642           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3643           to it in the docs (since these are macros the types of the arguments
3644           won't be shown in the docs otherwise).
3645
3646 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3647
3648         * gst/gstpad.c:
3649           Do not abort on out of memory for pad_alloc_buffer.
3650
3651 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3652
3653         * libs/gst/check/gstcheck.c:
3654           Remove blank line between symbol name ad parameters to fix gtkdoc
3655           warning.
3656
3657 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3658
3659         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3660
3661         * docs/gst/gstreamer-sections.txt:
3662         * gst/gstsegment.c:
3663         * gst/gstsegment.h:
3664         * win32/common/libgstreamer.def:
3665           Expose gst_segment_copy() to make things easier for the c++ bindings.
3666           Fixes #518932.
3667           API: gst_segment_copy()
3668
3669 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3670
3671         * gst/gst.c: (gst_init_get_option_group), (init_post):
3672           Fix const position; ref GType classes for enum types to work
3673           around thread-safety issues in GLib versions < 2.16.
3674
3675 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3676
3677         * docs/design/part-buffering.txt:
3678         Fix some typos and set the estimated total for push mode to -1.
3679
3680         * gst/gstquery.c: (gst_query_new_buffering):
3681         Set buffering-left to 0 as we're not buffering by default.
3682
3683         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3684         Implement BUFFERING query.
3685
3686 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3687
3688         Based on patch by: Milosz Derezynski <internalerror gmail com>
3689
3690         * gst/gsterror.c: (_gst_stream_errors_init):
3691         * gst/gsterror.h:
3692           Add two new error codes for encrypted content. Fixes #524659.
3693           API: GST_STREAM_ERROR_DECRYPT
3694           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3695
3696 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3697
3698         * gst/gstquery.h:
3699           Fix typo.
3700
3701         * win32/common/libgstreamer.def:
3702           Add new functions.
3703
3704 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3705
3706         * plugins/elements/gstidentity.c: (gst_identity_event),
3707         (gst_identity_start):
3708         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3709         event after processing some data. Fixes bug #526042.
3710
3711 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3712
3713         * docs/gst/gstreamer-sections.txt:
3714         * gst/gstquery.c: (gst_query_parse_latency),
3715         (gst_query_set_buffering_percent),
3716         (gst_query_parse_buffering_percent),
3717         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3718         * gst/gstquery.h:
3719         Rename _avail -> _range
3720         API: gst_query_set_buffering_range
3721         API: gst_query_parse_buffering_range
3722
3723 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3724
3725         * docs/design/part-buffering.txt:
3726         * gst/gstquark.c:
3727         * gst/gstquark.h:
3728         * gst/gstquery.c: (gst_query_parse_latency),
3729         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3730         (gst_query_parse_buffering_percent):
3731         * gst/gstquery.h:
3732         Add busy field and quark for the buffering query so that the app can
3733         only use the query to see if buffering is in progress.
3734
3735 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3736
3737         * docs/gst/gstreamer-sections.txt:
3738         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3739         (gst_message_parse_buffering_stats):
3740         * gst/gstmessage.h:
3741         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3742         (gst_query_parse_latency), (gst_query_new_buffering),
3743         (gst_query_set_buffering_percent),
3744         (gst_query_parse_buffering_percent),
3745         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3746         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3747         * gst/gstquery.h:
3748         Reorder the message docs and headers for clarity.
3749         Add aditional buffering stats API for messages.
3750         Add buffering query.
3751         Convert some leftover queries to use GstQuark.
3752         API: gst_message_set_buffering_stats
3753         API: gst_message_parse_buffering_stats
3754         API: GST_QUERY_BUFFERING
3755         API: GstBufferingMode
3756         API: gst_query_new_buffering
3757         API: gst_query_set_buffering_percent
3758         API: gst_query_parse_buffering_percent
3759         API: gst_query_set_buffering_stats
3760         API: gst_query_parse_buffering_stats
3761
3762 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3763
3764         * gst/gstmessage.c: (gst_message_new_error),
3765         (gst_message_new_warning), (gst_message_new_info),
3766         (gst_message_new_buffering), (gst_message_new_state_changed),
3767         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3768         (gst_message_new_new_clock), (gst_message_new_segment_start),
3769         (gst_message_new_segment_done), (gst_message_new_duration),
3770         (gst_message_new_async_start), (gst_message_parse_buffering),
3771         (gst_message_parse_state_changed),
3772         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3773         (gst_message_parse_new_clock), (gst_message_parse_error),
3774         (gst_message_parse_warning), (gst_message_parse_info),
3775         (gst_message_parse_segment_start),
3776         (gst_message_parse_segment_done), (gst_message_parse_duration),
3777         (gst_message_parse_async_start):
3778         Use GstQuark for messages.
3779
3780 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3781
3782         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3783         * gst/gstquark.h:
3784         Add some more quarks needed for messages and queries.
3785
3786 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3787
3788         * docs/design/part-buffering.txt:
3789         Remove the "none" buffering mode, STREAM is a good default.
3790         Move estimated-time to the avail query, that's when it will be needed.
3791         Other small typo fixes and updates.
3792
3793 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3794
3795         * gst/gstindex.c: (gst_index_resolver_get_type):
3796           Don't put descriptions into the nick field of a GEnumValue: it's not
3797           meant for that and some language bindings rely on the nick field to
3798           construct constants and the like. Fixes #526705.
3799
3800 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3801
3802         * NEWS:
3803         * RELEASE:
3804         * gstreamer.doap:
3805           Merge other changes from 0.10.19 release branch.
3806
3807 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3808
3809         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3810
3811         * configure.ac:
3812         Actually build dlls when cross-compiling with mingw32.
3813         Fixes bug #526247.
3814
3815 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3816
3817         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3818
3819         * gst/gstpoll.c:
3820         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3821
3822 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3823
3824         * docs/design/draft-latency.txt:
3825         Fix typo.
3826
3827         * docs/design/part-buffering.txt:
3828         Update design docs with more buffering ideas.
3829
3830 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3831
3832         * configure.ac:
3833           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3834
3835 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3836
3837         * configure.ac:
3838           Revert part that belongs to the preset patch.
3839
3840 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3841
3842         * configure.ac:
3843           Add qoutes to the define. Fixes # 525961.
3844
3845 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3846
3847         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3848         (gst_file_index_load), (gst_file_index_add_id),
3849         (gst_file_index_get_assoc_entry):
3850         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3851         (gst_mem_index_free_id), (gst_mem_index_add_id),
3852         (gst_mem_index_index_format):
3853         Use GSlice when possible.
3854
3855 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3856
3857         * libs/gst/controller/gstinterpolationcontrolsource.c:
3858         (gst_control_point_free),
3859         (gst_interpolation_control_source_set_internal):
3860         Use GSlice for allocating the control points.
3861
3862 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3863
3864         * plugins/elements/gsttypefindelement.c:
3865         (gst_type_find_element_class_init),
3866         (gst_type_find_element_set_property),
3867         (gst_type_find_element_get_property),
3868         (gst_type_find_element_activate):
3869         * plugins/elements/gsttypefindelement.h:
3870         Cleanup properties.
3871         Fix pad leak when peer query fails.
3872         We can still typefind when the peer returns -1.
3873         Add property to force caps and bypass typefinding. This will be used in
3874         uridecodebin.
3875         API::force-caps
3876
3877 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3878
3879         * configure.ac:
3880         Require GLib 2.12.
3881
3882         * gst/glib-compat-private.h:
3883         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3884         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3885         Unconditionally use GSlice for allocation.
3886
3887         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3888         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3889         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3890         (gst_structure_free):
3891         Use GSlice for allocation.
3892
3893 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3894
3895         * gst/parse/Makefile.am:
3896         * gst/parse/grammar.tab.pre.c:
3897         * gst/parse/grammar.tab.pre.h:
3898         * gst/parse/lex._gst_parse_yy.pre.c:
3899         Require a new enough flex and bison and remove the parser hacks to use
3900         a pre-regenerated version.
3901
3902 2008-04-01  Julien Moutte  <julien@fluendo.com>
3903
3904         patch by: Jason Zhao <E3423C@motorola.com>
3905
3906         * configure.ac: Add a configure switch to disable option parsing
3907         in gst_init.
3908         Fixes #522882.
3909
3910 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3911
3912         * configure.ac:
3913         * gst/gstregistry.c:
3914           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3915           and handle this case.
3916
3917         * gst/gst.c:
3918           Add a comment here describing, why we stat each plugin and not try to
3919           be smart.
3920
3921 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3922
3923         * libs/gst/base/gstbasetransform.c:
3924         (gst_base_transform_prepare_output_buffer):
3925         Also unset the GAP flag on buffers if we're working inplace but
3926         the element is not GAP-aware.
3927
3928         Mark a comment as FIXME 0.11.
3929
3930 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3931
3932         * gst/gst.c:
3933           Fix type in log message and add one to ease seeing how long registry
3934           cache verification takes.
3935
3936         * gst/gstregistry.c:
3937           Only test plugin filenames against G_MODULE_SUFFIX.
3938
3939 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3940
3941         * gst/gstdebugutils.c:
3942           Improve handling ghost/proxy pads.
3943
3944 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3945
3946         * docs/gst/gstreamer-sections.txt:
3947         * gst/gstpad.c:
3948         * gst/gstpad.h:
3949           Expose macro to docs and fix link to it.
3950
3951 2008-03-27  Michael Smith <msmith@fluendo.com>
3952
3953         * libs/gst/dataprotocol/dataprotocol.c:
3954         (gst_dp_packet_from_event_1_0):
3955           When calculating GDP body CRC, use the correct pointer. 
3956           Fixes part of #522401.
3957
3958 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3959
3960         Patch by: Mark Nauwelaerts <manauw at skynet be>
3961
3962         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3963         (gst_identity_init), (gst_identity_prepare_output_buffer):
3964         Identity is not always a passthrough element, it can modify the buffer
3965         timestamps when it has a datarate and operates in single-segment mode.
3966         We therefore make it an in_place filter with a custom buffer prepare
3967         function that conditionally makes the input buffer metadata writable
3968         when needed.  Fixes #523985.
3969
3970 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3971
3972         Patch by: Mark Nauwelaerts <manauw at skynet be>
3973
3974         * gst/gstclock.h:
3975         * libs/gst/base/gstbasesrc.h:
3976         * libs/gst/base/gstbasetransform.c:
3977         * libs/gst/check/gstcheck.c:
3978         Small documentation fixes. Fixes #523978.
3979
3980 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3981
3982         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3983         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3984         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3985
3986 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3987
3988         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3989         (single_queue_underrun_cb):
3990         When trying to make room in the queue, bump the max allowed buffers
3991         bigger than the current amount of buffers in the queue. this fixes some
3992         nasty deadlocks in multiqueue when dynamically changing the limits of
3993         the queue.
3994
3995 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3996
3997         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3998
3999         * gst/gstcaps.c: (gst_caps_set_simple),
4000         (gst_caps_set_simple_valist), (gst_caps_intersect):
4001         * gst/gstcaps.h:
4002         Constify the field gchar * params in set_simple and friends.
4003         Fixes #522326.
4004
4005 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4006
4007         * gst/gstvalue.c: (gst_value_transform_object_string):
4008         Transform a GstObject to a more meaningfull string that includes the
4009         object type in addition to its name.
4010
4011 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4012
4013         * ChangeLog:
4014           ChangeLog surgery to add bugnumber to commit.
4015
4016 2008-03-23  Rene Stadler  <mail@renestadler.de>
4017
4018         * libs/gst/base/gstbasetransform.c:
4019         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4020
4021 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4022
4023         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4024         Rename constant everywhere and don't forget one occurence.
4025
4026 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4027
4028         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4029         Align memory to the pointer size even if the architecture allows
4030         unaligned memory access. Unaligned memory access usually comes with
4031         performance penality.
4032
4033 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4034
4035         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4036         (gst_registry_binary_check_magic),
4037         (gst_registry_binary_load_pad_template),
4038         (gst_registry_binary_load_feature),
4039         (gst_registry_binary_load_plugin):
4040         Align memory to the pointer size instead of always 32 bit. Fixes
4041         unaligned memory accesses on ia64 and friends.
4042
4043         * gst/gstregistrybinary.h:
4044         Bump binary registry format version for this as it changes the
4045         format on those architectures that don't have unaligned access
4046         and 64 bit pointers.
4047
4048 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4049
4050         * docs/pwg/advanced-dparams.xml:
4051         * docs/pwg/building-props.xml:
4052         * docs/pwg/other-source.xml:
4053         * gst/glib-compat.h:
4054         * gst/gstbin.c: (gst_bin_class_init):
4055         * gst/gstclock.c: (gst_clock_class_init):
4056         * gst/gstindex.c: (gst_index_class_init):
4057         * gst/gstobject.c: (gst_object_class_init):
4058         * gst/gstpad.c: (gst_pad_class_init):
4059         * gst/gstpipeline.c: (gst_pipeline_class_init):
4060         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4061         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4062         * libs/gst/base/gstbasetransform.c:
4063         (gst_base_transform_class_init):
4064         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4065         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4066         (_gst_check_fault_handler_sighandler),
4067         (_gst_check_fault_handler_setup), (gst_check_init):
4068         * libs/gst/controller/gstcontroller.c:
4069         (_gst_controller_class_init):
4070         * libs/gst/controller/gstlfocontrolsource.c:
4071         (gst_lfo_control_source_class_init):
4072         * libs/gst/net/gstnetclientclock.c:
4073         (gst_net_client_clock_class_init):
4074         * libs/gst/net/gstnettimeprovider.c:
4075         (gst_net_time_provider_class_init):
4076         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4077         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4078         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4079         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4080         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4081         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4082         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4083         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4084         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4085         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4086         * plugins/elements/gsttee.c: (gst_tee_class_init):
4087         * plugins/elements/gsttypefindelement.c:
4088         (gst_type_find_element_class_init):
4089         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4090         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4091         use it everywhere for GParamSpecs that use static strings (i.e. all).
4092         This gives us less memory usage, fewer allocations and thus less
4093         memory defragmentation. Fixes bug #523806.
4094
4095 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4096
4097         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4098         (gst_param_spec_mini_object):
4099         * gst/gstminiobject.h:
4100         * win32/common/libgstreamer.def:
4101         * docs/gst/gstreamer-sections.txt:
4102         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4103         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4104         GstParamSpecMiniObject into a public header for this.
4105
4106         This make GstMiniObject a bit more consistent with GObject and makes
4107         it possible to extend the param specs.
4108
4109         gst_value_dup_mini_object is mainly useful for set_property methods.
4110
4111         Fixes bug #523798.
4112
4113         * tools/gst-inspect.c: (print_element_properties_info):
4114         Print something useful for GstMiniObject properties and not just
4115         "unknown type".
4116
4117 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4118
4119         * docs/gst/gstreamer-sections.txt:
4120         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4121         (gst_registry_binary_check_magic):
4122         * gst/gstregistrybinary.h:
4123         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4124         and add it to the (private part) of the docs to fix the build.
4125
4126 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4127
4128         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4129         (gst_registry_binary_check_magic),
4130         (gst_registry_binary_read_cache):
4131         * gst/gstregistrybinary.h:
4132         Don't use GST_MAJORMINOR for the binary registry version. Instead
4133         hardcode a value that must be changed whenever the format changes
4134         in an incompatible way.
4135         Also don't GST_ERROR when there is a version mismatch, just
4136         regenerate the registry silently.
4137
4138 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4139
4140         * configure.ac:
4141         Back to development - 0.10.18.1
4142
4143 === release 0.10.18 ===
4144
4145 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4146
4147         * configure.ac:
4148           releasing 0.10.18, "So far away"
4149
4150 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4151
4152         * configure.ac:
4153         * win32/common/config.h:
4154         0.10.17.4 pre-release
4155
4156 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4157
4158         Patch by: Ole André Vadla Ravnås
4159             <ole dot andre dot ravnas at tandberg dot com>
4160
4161         * docs/gst/gstreamer-sections.txt:
4162         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4163         (gst_poll_update_winsock_event_mask),
4164         (gst_poll_prepare_winsock_active_sets),
4165         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4166         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4167         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4168         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4169         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4170         * gst/gstpoll.h:
4171         * win32/common/libgstreamer.def:
4172         Add new function gst_poll_fd_ignored() for improved Windows
4173         compatibility.
4174         Various minor fixes and cleanups. See #520808.
4175
4176 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4177
4178         * gst/gstindex.c: (gst_index_entry_free):
4179         * gst/gstindex.h:
4180           Don't free key strings which we don't own. Fixes crash in
4181           gst_index_entry_free() (#522741).
4182
4183         * tests/check/Makefile.am:
4184         * tests/check/gst/.cvsignore:
4185         * tests/check/gst/gstindex.c: (test_index_entries),
4186           (gst_index_suite), (gst_index):
4187           Add unit test for the above.
4188
4189 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4190
4191         * win32/common/libgstreamer.def:
4192         Remove symbols that were removed recently. Fixes bug #521740.
4193
4194 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4195
4196         * configure.ac:
4197         * win32/common/config.h:
4198         0.10.17.3 pre-release
4199
4200 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4201
4202         Patch by: Ole André Vadla Ravnås
4203             <ole dot andre dot ravnas at tandberg dot com>
4204
4205         * docs/gst/gstreamer-sections.txt:
4206         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4207         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4208         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4209         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4210         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4211         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4212         (gst_poll_fd_can_write), (gst_poll_wait),
4213         (gst_poll_set_controllable), (gst_poll_restart),
4214         (gst_poll_set_flushing):
4215         * gst/gstpoll.h:
4216         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4217         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4218         (gst_net_time_provider_new):
4219         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4220         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4221         * tests/benchmarks/gstpollstress.c: (main):
4222         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4223         Remove GstPollMode from the API, it does not make sense to let the
4224         application control this.
4225         Add support for Win32.
4226         Fix the testsuite. Fixes #520671.
4227
4228 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4229
4230         Patch by: Ole André Vadla Ravnås
4231             <ole dot andre dot ravnas at tandberg dot com>
4232
4233         * gst/gstregistrybinary.c:
4234         Include io.h for write() and close() when building with MSVC. Fixes
4235         bug #520877.
4236
4237 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4238
4239         * configure.ac:
4240         * gst/gst_private.h:
4241         * gst/gstconfig.h.in:
4242         * gst/gstregistry.h:
4243         * gst/gstregistrybinary.c:
4244         * win32/common/gstconfig.h:
4245           Move registry backend API to private headers where we can. Add
4246           fixme-0.11 comments for the others. Add stubs for the xml backend when
4247           using the binary to ensure they functions exists (they should not be
4248           used though). Fixes #520756.
4249
4250 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4251
4252         * configure.ac:
4253         * win32/common/config.h:
4254         0.10.17.2 prelease
4255
4256 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4257
4258         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4259         (gst_registry_binary_read_cache):
4260         * gst/gstregistryxml.c: (gst_registry_save):
4261         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4262         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4263         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4264         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4265         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4266         Fixes #520152
4267
4268 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4269
4270         * gst/gstminiobject.c:
4271         Import gst_private.h before any other header that might include other
4272         glib headers. This fixes the build on windows using native compilers.
4273
4274 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4275
4276         * win32/common/gstconfig.h:
4277           Add here too, just for completeness.
4278
4279 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4280
4281         * configure.ac:
4282         * gst/gstconfig.h.in:
4283         * gst/gstregistry.h:
4284           Fix broken use of config.h-defined preprocessor directive in a public
4285           header file. Add a corresponding define to gstconfig.h, since we can't
4286           really remove those function declarations from the header file now
4287           (or can we? and why are they there in the first place?).
4288
4289 2008-03-03  Andy Wingo  <wingo@pobox.com>
4290
4291         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4292         the new warning.
4293
4294         * gst/gststructure.c (gst_structure_from_string): Warn if
4295         structure_from_string didn't consume the whole string, but the
4296         caller did not provide an end pointer.
4297
4298 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4299
4300         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4301
4302         * gst/gstregistryxml.c: (read_string), (load_feature):
4303           Strings allocated by libxml2 should be freed with xmlFree(), not
4304           with g_free(). Fixes issues on windows in certain contexts (#519698).
4305
4306 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4307
4308         * gst/gstinterface.c: (gst_element_implements_interface):
4309           Don't crash if the element supports the interface queried, but does
4310           not implement GstImplementsInterface. Fixes #519584.
4311
4312         * tests/check/Makefile.am:
4313         * tests/check/gst/.cvsignore:
4314         * tests/check/gst/gstinterface.c:
4315           Add unit test for the above.
4316
4317 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4318
4319         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4320         Small doc update.
4321
4322 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4323
4324         * gst/gstsegment.c: (gst_segment_set_seek),
4325         (gst_segment_to_stream_time):
4326         Improve some comment.
4327         Update variables where it makes more sense.
4328
4329 2008-02-29  Rene Stadler  <mail@renestadler.de>
4330
4331         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4332         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4333         URIHandlers implemented using language bindings.
4334
4335 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4336
4337         * gst/gstelementfactory.h:
4338         * tests/check/elements/fakesink.c:
4339         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4340         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4341         * tests/check/elements/filesink.c: (setup_filesink):
4342         * tests/check/elements/filesrc.c: (setup_filesrc):
4343         * tests/check/elements/identity.c: (setup_identity):
4344         * tests/check/elements/tee.c:
4345         * tests/check/generic/sinks.c:
4346         * tests/check/generic/states.c: (setup), (teardown):
4347         * tests/check/gst/gst.c:
4348         * tests/check/gst/gstabi.c:
4349         * tests/check/gst/gstbin.c:
4350         * tests/check/gst/gstbus.c: (pull_messages):
4351         * tests/check/gst/gstcaps.c:
4352         * tests/check/gst/gstelement.c:
4353         * tests/check/gst/gstevent.c:
4354         * tests/check/gst/gstghostpad.c:
4355         * tests/check/gst/gstiterator.c:
4356         * tests/check/gst/gstmessage.c:
4357         * tests/check/gst/gstminiobject.c: (my_foo_init):
4358         * tests/check/gst/gstobject.c: (thread_name_object),
4359         (gst_object_suite):
4360         * tests/check/gst/gstpad.c:
4361         * tests/check/gst/gstplugin.c:
4362         * tests/check/gst/gstpoll.c:
4363         * tests/check/gst/gstquery.c:
4364         * tests/check/gst/gstsegment.c:
4365         * tests/check/gst/gststructure.c:
4366         * tests/check/gst/gstsystemclock.c:
4367         * tests/check/gst/gsttask.c:
4368         * tests/check/gst/gstutils.c:
4369         * tests/check/gst/gstvalue.c:
4370         * tests/check/gst/struct_hppa.h:
4371         * tests/check/gst/struct_i386.h:
4372         * tests/check/gst/struct_ppc32.h:
4373         * tests/check/gst/struct_ppc64.h:
4374         * tests/check/gst/struct_x86_64.h:
4375         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4376         * tests/check/libs/basesrc.c:
4377         * tests/check/libs/controller.c: (GST_START_TEST):
4378         * tests/check/libs/gdp.c:
4379         * tests/check/libs/gstnetclientclock.c:
4380         * tests/check/libs/gstnettimeprovider.c:
4381         * tests/check/libs/libsabi.c:
4382         * tests/check/libs/struct_hppa.h:
4383         * tests/check/libs/struct_i386.h:
4384         * tests/check/libs/struct_ppc32.h:
4385         * tests/check/libs/struct_ppc64.h:
4386         * tests/check/libs/struct_x86_64.h:
4387         * tests/check/pipelines/cleanup.c:
4388         * tests/check/pipelines/simple-launch-lines.c:
4389         * tests/check/pipelines/stress.c:
4390         And correct even more valid sparse warnings.
4391
4392         * win32/common/libgstreamer.def:
4393         Add gst_poll_fd_init to the list of symbols.
4394
4395 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4396
4397         * gst/gstconfig.h.in:
4398         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4399         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4400         (gst_check_log_critical_func), (gst_check_drop_buffers),
4401         (gst_check_element_push_buffer_list):
4402         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4403         (gst_controller_get_type):
4404         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4405         (gst_object_get_controller), (gst_object_get_control_source):
4406         * libs/gst/controller/gstinterpolationcontrolsource.c:
4407         (gst_interpolation_control_source_new):
4408         * libs/gst/controller/gstlfocontrolsource.c:
4409         (gst_lfo_control_source_new):
4410         * libs/gst/dataprotocol/dataprotocol.c:
4411         (gst_dp_event_from_packet_0_2):
4412         * plugins/elements/gstfdsrc.c:
4413         * plugins/elements/gstmultiqueue.c:
4414         * plugins/elements/gsttee.c:
4415         * plugins/elements/gsttypefindelement.c:
4416         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4417         (gst_file_index_add_association):
4418         * plugins/indexers/gstmemindex.c:
4419         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4420         * tests/check/elements/queue.c: (setup_queue):
4421         * tests/check/gst/gstpipeline.c:
4422         * tests/check/libs/collectpads.c: (setup), (teardown),
4423         (gst_collect_pads_suite):
4424         * tests/examples/adapter/adapter_test.c:
4425         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4426         * tests/examples/xml/createxml.c:
4427         * tests/examples/xml/runxml.c:
4428         * tools/gst-inspect.c:
4429         * tools/gst-run.c:
4430         Correct all relevant warnings found by the sparse semantic code
4431         analyzer. This include marking several symbols static, using
4432         NULL instead of 0 for pointers, not using variable sized arrays
4433         on the stack, moving variable declarations to the beginning of
4434         a block and using "foo (void)" instead of "foo ()" for declarations.
4435
4436 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4437
4438         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4439         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4440         Don't reset GstPollFDs, this is not necessary at all.
4441
4442         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4443         (delayed_restart), (delayed_control):
4444         Use GST_POLL_FD_INIT.
4445
4446 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4447
4448         * gst/gstpoll.c: (gst_poll_fd_init):
4449         * gst/gstpoll.h:
4450         Added Since tags.
4451
4452         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4453         Use some more init macros.
4454
4455 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4456
4457         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4458         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4459         Use init macros and functions.
4460
4461 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4462
4463         * docs/gst/gstreamer-sections.txt:
4464         * gst/gstpoll.c: (gst_poll_fd_init):
4465         * gst/gstpoll.h:
4466         Add INIT macro and _init method for initializing the GstPollFD.
4467
4468 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4469
4470         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4471         (gst_fd_sink_update_fd):
4472         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4473         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4474         (delayed_restart), (delayed_control):
4475         Initialize some uninitialized variables as spotted by valgrind.
4476
4477 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4478
4479         * tests/benchmarks/Makefile.am:
4480         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4481         (main):
4482         Add poll stress test.
4483
4484 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4485
4486         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4487
4488         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4489         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4490         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4491         * plugins/elements/gstfdsink.h:
4492         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4493         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4494         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4495         (gst_fd_src_uri_set_uri):
4496         * plugins/elements/gstfdsrc.h:
4497         Port to GstPoll. See #505417.
4498
4499 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4500
4501         * win32/common/libgstreamer.def:
4502         Add new gst_poll_ symbols to win32 defs.
4503
4504 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4505
4506         * docs/libs/gstreamer-libs-sections.txt:
4507         * libs/gst/net/gstnetclientclock.c:
4508         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4509         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4510         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4511         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4512         * libs/gst/net/gstnetclientclock.h:
4513         * libs/gst/net/gstnettimeprovider.c:
4514         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4515         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4516         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4517         (gst_net_time_provider_new):
4518         * libs/gst/net/gstnettimeprovider.h:
4519         Use a private stuct to not break ABI.
4520
4521 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4522
4523         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4524
4525         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4526         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4527         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4528         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4529         * libs/gst/net/gstnetclientclock.h:
4530         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4531         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4532         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4533         (gst_net_time_provider_new):
4534         * libs/gst/net/gstnettimeprovider.h:
4535         Massive code removal and cleanups because of GstPoll.
4536         Fixes #505417.
4537
4538 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4539
4540         * configure.ac:
4541         Add checks for poll, ppoll and pselect.
4542
4543         * docs/gst/gstreamer-docs.sgml:
4544         * docs/gst/gstreamer-sections.txt:
4545         Add docs for GstPoll.
4546
4547         * gst/Makefile.am:
4548         * gst/gst.h:
4549         * gst/gstpoll.c: (find_index), (selectable_fds),
4550         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4551         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4552         (gst_poll_set_mode), (gst_poll_get_mode),
4553         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4554         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4555         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4556         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4557         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4558         (gst_poll_fd_can_write), (gst_poll_wait),
4559         (gst_poll_set_controllable), (gst_poll_restart),
4560         (gst_poll_set_flushing):
4561         * gst/gstpoll.h:
4562         Add generic poll abstraction. We ideally don't want to have this in core
4563         here but in glib intead...
4564         This code will be used in various network elements and ultimately for
4565         the nanosecond precision monotonic clock (that's why it's here in core).
4566         It'll allow us to implement cancelable socket operations for windows too.
4567
4568         * tests/check/Makefile.am:
4569         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4570         (delayed_stop), (delayed_restart), (delayed_flush),
4571         (delayed_control), (gst_poll_suite):
4572         Add GstPoll unit test.
4573
4574 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4575
4576         * gst/gstfilter.c:
4577           Improve documentation of gst_filter_run(). Fixes #518627.
4578
4579 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4580
4581         * docs/README:
4582           Add a few lines about the new 'check-inspected-versions' target.
4583
4584 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4585
4586         * tests/check/gst/gstevent.c:
4587           Add qos to the event test. Rename tcase/tsuite; is not only about
4588           custom events.
4589
4590 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4591
4592         * plugins/elements/gstqueue.c:
4593           Ensure that buffer metadata is writeable, before modifying. Spotted by
4594           Mike.
4595
4596 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4597
4598         * plugins/elements/gstqueue.c:
4599         * plugins/elements/gstqueue.h:
4600           When dropping buffers in leaky modes, mark next buffers we sent as
4601           DISCONT.
4602
4603 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4604
4605         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4606           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4607
4608 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4609
4610         * plugins/elements/Makefile.am:
4611         * plugins/elements/gstbufferstore.c:
4612         * plugins/elements/gstbufferstore.h:
4613         * plugins/elements/gsttypefindelement.h:
4614           Remove GstBufferStore, no idea why we were still building it.
4615           It's not used anywhere and superseded by GstAdapter.
4616
4617         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4618           (gst_file_src_create_mmap):
4619         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4620           Printf format fixes for 64-bit integers.
4621
4622 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4623
4624         * configure.ac:
4625         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4626         We're not in 0.8 times anymore.
4627
4628 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4629
4630         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4631         (gst_check_element_push_buffer_list):
4632         * libs/gst/check/gstcheck.h:
4633         Make the declaration in the header for
4634         gst_check_element_push_buffer_list match the implementation.
4635
4636         Fix up spelling, grammar and wording of the documentation in a few
4637         places, and add the Since keyword to new API functions.
4638         Use g_list_delete_link instead of g_list_remove in
4639         gst_check_drop_buffers, since it's immeasurably more efficient.
4640
4641         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4642         Use new gst_check_drop_buffers function where appropriate.
4643
4644         * win32/common/libgstbase.def:
4645         * win32/common/libgstreamer.def:
4646         Add new symbols gst_collect_pads_take_buffer, 
4647         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4648         exports
4649
4650         Changelog surgery to add API keyword to new gst_check API.
4651
4652 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4653
4654         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4655         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4656         Update pre-generated flex files with flex 2.3.34.
4657
4658 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4659
4660         * gst/gstminiobject.c:
4661           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4662           friendly to subclasses and not require them to know all internals
4663           of their parent class.
4664
4665 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4666
4667         * docs/libs/gstreamer-libs-sections.txt:
4668         * libs/gst/base/gstcollectpads.c:
4669         * libs/gst/base/gstcollectpads.h:
4670           Add sub-buffer functions to collectpads. Fixes #516187.
4671           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4672
4673 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4674
4675         * gst/gstbuffer.c:
4676           Copy selected buffer-flags when creating subbuffers.
4677           Fixes #516395.
4678
4679 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4680
4681         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4682         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4683         * gst/gstmessage.c: (gst_message_class_init),
4684         (gst_message_finalize):
4685         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4686         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4687         (gst_mmap_buffer_finalize):
4688         Properly chain up finalize functions to the parent class.
4689
4690 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4691
4692         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4693
4694         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4695         (gst_index_set_resolver_full):
4696         * gst/gstindex.h:
4697         Add new function with option to dispose of user_data in resolver.
4698         Actually call the dispose function when finalizing the object and not
4699         just when changing the resolver/filter.
4700         API: GstIndex::gst_index_set_resolver_full()
4701
4702         * docs/gst/gstreamer-sections.txt:
4703         Add new function to docs. Fixes #515469.
4704
4705 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4706
4707         * gst/gstindex.c: (gst_index_finalize):
4708         Chain up finalize to the parent class. Fixes leaking the GstObject
4709         name and other things.
4710
4711 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4712
4713         * configure.ac:
4714         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4715         pre-releases or releases.
4716
4717         * docs/faq/gst-uninstalled:
4718         Add gst-plugins-gl
4719
4720         * docs/random/release:
4721         Change one of the steps - we only upload core & base to Gnome FTP
4722
4723 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4724
4725         * gst/gstconfig.h.in:
4726           Add 'id' for example.
4727
4728         * gst/gstpad.c:
4729         * gst/gstutils.c:
4730         * plugins/elements/gstfdsink.c:
4731           Link to signals. Doc and comment fixes.
4732
4733 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4734
4735         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4736         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4737           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4738           unused and unimplemented; finally, it is plugin features, not
4739           plugins, that have ranks.
4740           
4741 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4742
4743         * gst/gstpluginfeature.h:
4744           Clarify GstRank range docs.
4745
4746 2008-02-05  David Schleef  <ds@schleef.org>
4747
4748         * gst/gst.c: Add a separate gst_deinitialized that prevents
4749           gst_init() from being called after gst_deinit().  Fixes #509559
4750
4751 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4752
4753         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4754         (gst_bin_class_init):
4755         * gst/gstelement.c: (gst_element_base_class_init),
4756         (gst_element_class_add_pad_template):
4757         * gst/gstpadtemplate.c: (gst_pad_template_init):
4758         * gst/gstpipeline.c: (gst_pipeline_get_type),
4759         (gst_pipeline_base_init), (gst_pipeline_class_init):
4760         * libs/gst/base/gstbasesink.c:
4761         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4762         (gst_base_src_base_init), (gst_base_src_class_init):
4763         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4764         (gst_capsfilter_class_init):
4765         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4766         (gst_fake_sink_class_init):
4767         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4768         (gst_fake_src_class_init):
4769         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4770         (gst_fd_sink_class_init):
4771         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4772         (gst_fd_src_class_init):
4773         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4774         (gst_file_sink_class_init):
4775         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4776         (gst_file_src_class_init):
4777         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4778         (gst_identity_class_init):
4779         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4780         (gst_multi_queue_class_init):
4781         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4782         (gst_queue_class_init):
4783         * plugins/elements/gsttee.c: (gst_tee_base_init),
4784         (gst_tee_class_init):
4785         * plugins/elements/gsttypefindelement.c:
4786         (gst_type_find_element_base_init),
4787         (gst_type_find_element_class_init):
4788         * tests/check/gst/gstelement.c: (gst_element_suite):
4789         Revert previous changes to the behaviour of GstPadTemplates, etc
4790         and the possiblity to call them in class_init as it breaks too
4791         many elements. Reopens bug #491501.
4792
4793         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4794         several places.
4795
4796 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4797
4798         * tools/gst-launch.c:
4799         Dump one graph per pipeline state-change and state change name
4800         (if GST_DEBUG_DUMP_DOT_DIR is set).
4801
4802 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4803
4804         * gst/gstpad.c:
4805         * tests/check/gst/gstpad.c:
4806         Be sure that we have a new copy of the caps and not
4807         reffed caps from a template
4808
4809 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4810
4811         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4812         * gst/gstpipeline.c: (gst_pipeline_get_type),
4813         (gst_pipeline_class_init):
4814         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4815         (gst_base_sink_class_init):
4816         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4817         (gst_base_src_class_init):
4818         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4819         (gst_base_transform_class_init):
4820         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4821         (gst_collect_pads_class_init):
4822         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4823         * libs/gst/net/gstnettimeprovider.c:
4824         (gst_net_time_provider_base_init),
4825         (gst_net_time_provider_class_init):
4826         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4827         (gst_capsfilter_class_init):
4828         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4829         (gst_fake_sink_class_init):
4830         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4831         (gst_fake_src_class_init):
4832         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4833         (gst_fd_sink_class_init):
4834         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4835         (gst_fd_src_class_init):
4836         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4837         (gst_file_sink_class_init):
4838         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4839         (gst_file_src_class_init):
4840         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4841         (gst_identity_class_init):
4842         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4843         (gst_multi_queue_class_init):
4844         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4845         (gst_queue_class_init):
4846         * plugins/elements/gsttee.c: (gst_tee_base_init),
4847         (gst_tee_class_init):
4848         * plugins/elements/gsttypefindelement.c:
4849         (gst_type_find_element_base_init),
4850         (gst_type_find_element_class_init):
4851         Don't use base_init where not absolutely necessary. For example it's
4852         not necessary anymore for adding pad templates or setting element
4853         details.
4854
4855         Leave empty base_init functions in several places as GST_BOILERPLATE
4856         still defines and uses them.
4857
4858 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4859
4860         * gst/gstelement.c: (gst_element_base_class_init),
4861         (gst_element_class_add_pad_template):
4862         * gst/gstpadtemplate.c:
4863         Make it possible (and recommended) to set element details and add
4864         pad templates in the class_init functions by copying the details/pad
4865         templates in GstElement's base_init.
4866
4867         Also make it possible to replace existing pad templates by adding
4868         a new one with the same name. This was done in a hackish fashion
4869         in same elements before already.
4870
4871         Don't reference pad templates that are added a second time. A
4872         new pad template has a refcount of one and is not floating anymore
4873         and to be owned by the element's class. Make this more explicit by
4874         mentioning it in the docs of gst_element_class_add_pad_template().
4875
4876         These changes are backwards compatible. Fixes bug #491501.
4877
4878         * tests/check/gst/gstelement.c:
4879         Add unit test for setting element details, adding pad templates and
4880         replacing them in a subclass.
4881
4882 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4883
4884         * tools/gst-inspect.c: (print_interfaces),
4885         (print_element_properties_info), (print_pad_info),
4886         (print_signal_info), (print_element_info):
4887         Fix a few memory leaks.
4888
4889 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4890
4891         * docs/libs/gstreamer-libs-sections.txt:
4892         * libs/gst/check/gstcheck.c:
4893         * libs/gst/check/gstcheck.h:
4894         Add more functions for unit testing: gst_check_drop_buffers,
4895         gst_check_caps_equal, gst_check_element_push_buffer_list,
4896         gst_check_element_push_buffer
4897         API: gst_check_drop_buffers
4898         API: gst_check_caps_equal
4899         API: gst_check_element_push_buffer_list
4900         API: gst_check_element_push_buffer
4901
4902 2008-02-01  Julien Moutte  <julien@fluendo.com>
4903
4904         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4905         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4906         (gst_index_finalize), (gst_index_entry_free),
4907         (gst_index_add_association): Fix memory leaks.
4908         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4909         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4910         (gst_mem_index_free_format), (gst_mem_index_free_id),
4911         (gst_mem_index_finalize): Fix memory leaks.
4912         * win32/common/config.h: Updated to CVS HEAD.
4913
4914 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4915
4916         * docs/README:
4917           Some more details about how the plugin docs works.
4918
4919         * docs/plugins/gstreamer-plugins-sections.txt:
4920           Whitespace cleanup.
4921
4922 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4923
4924         * gst/parse/grammar.tab.pre.c:
4925         * gst/parse/grammar.tab.pre.h:
4926         * gst/parse/grammar.y:
4927         * gst/parse/lex._gst_parse_yy.pre.c:
4928           Add delayed set-property. This allows to set properties on dynamicaly
4929           created objects (pads in videomxer). Fixes #509391.
4930
4931 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4932
4933         * gst/gstutils.c:
4934         Check if caps are not NULL (fix bug #510194)
4935
4936 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4937
4938         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4939         (gst_base_sink_get_position_paused):
4940         Add fixme regarding EOS in pull mode.
4941         Fix position reporting in PAUSED for negative rates.
4942
4943 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4944
4945         * gst/gstminiobject.c: (gst_mini_object_replace):
4946         When replacing a miniobject, do a quick equality check first so that we
4947         can avoid a ref/unref pair.
4948
4949 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4950
4951         * docs/design/part-synchronisation.txt:
4952         Update some docs.
4953
4954         * docs/plugins/Makefile.am:
4955         * docs/plugins/gstreamer-plugins-docs.sgml:
4956         * docs/plugins/gstreamer-plugins-sections.txt:
4957         * plugins/elements/gstmultiqueue.c:
4958         Add multiqueue to the docs.
4959
4960 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4961
4962         * configure.ac:
4963           Back to CVS
4964
4965 === release 0.10.17 ===
4966
4967 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4968
4969         * configure.ac:
4970           releasing 0.10.17, "Due Negligence"
4971
4972 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4973
4974         * gst/gstutils.c:
4975         Revert caps != NULL check temporarily for 0.10.17 release.
4976
4977 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4978
4979         * gst/gstutils.c:
4980         Check if caps are not NULL (fix bug #510194)
4981
4982 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4983
4984         * gst/gstutils.c:
4985         Fix compilation on systems that have posix timers but no
4986         monotonic clock.
4987         Fixes: #512715
4988         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4989         dot net>
4990
4991 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4992
4993         * tools/gst-inspect.c:
4994         Revert previous commit in preparation for an impromptu 0.10.17 release
4995
4996 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4997
4998         * tools/gst-inspect.c: (print_interfaces),
4999         (print_element_properties_info), (print_pad_info),
5000         (print_signal_info), (print_element_info):
5001         Fix a few memory leaks.
5002
5003 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5004
5005         * configure.ac:
5006         Back to CVS
5007
5008 === release 0.10.16 ===
5009
5010 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5011
5012         * configure.ac:
5013           releasing 0.10.16, "Special Dispensation"
5014
5015 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5016
5017         * configure.ac:
5018           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5019           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5020           not fail when trying to crosscompile on OpenEmbedded (#511750).
5021
5022 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5023
5024         * docs/manuals.mak:
5025         Use $(MAKE) instead of make to fix the build if GNU make is
5026         called different. Fixes bug #510747.
5027
5028 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5029
5030         * gst/gstplugin.c: (_gst_plugin_initialize):
5031           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5032           again, which I broke two commits ago when changing the API
5033           of gst_plugin_register_static(): the g_list_foreach() in
5034           _gst_plugin_register_static still assumed the old function
5035           signature and would therefore fail (re-fixes #510187).
5036
5037         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5038           (_gst_plugin_register_static), (gst_plugin_register_static):
5039           Revert the (technically correct) change to call g_thread_init() from
5040           the pre-main() constructor. This will break programs which call
5041           g_thread_init() without an if (!g_thread_supported()) guard in their
5042           main function. We could just blame it on GLib or the application, but
5043           it's probably best to just avoid this altogether and simply not use
5044           any GLib functions here and use plain old malloc() with a simple
5045           array to store the plugins to register later when gst_init() is
5046           finally called (re-fixes #510187).
5047
5048         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5049           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5050           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5051           (GST_START_TEST), (gst_plugin_suite):
5052           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5053           works.
5054
5055 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5056
5057         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5058           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5059           This makes gtk-doc complain, but results in slightly better
5060           compiler errors. The old _gst_plugin_register_static() is
5061           still guarded, so there'll be a compiler warning about that
5062           instead. Fixes #510187 too.
5063
5064 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5065
5066         * gst/gst.c: (init_post):
5067         * gst/gstplugin.c: (_gst_plugin_register_static),
5068           (gst_plugin_register_static), (_gst_plugin_initialize):
5069         * gst/gstplugin.h: (GstPluginFilter):
5070           Change API of gst_plugin_register_static() to not take
5071           a GstPluginDesc, but rather just take all the arguments
5072           in a GstPluginDesc directly. This is more intuitive and
5073           avoids certain mistakes when porting code from
5074           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5075           Fixes #510187.
5076
5077         * tests/check/gst/gstplugin.c:
5078           Fix up for changed API.
5079
5080 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5081
5082         * docs/faq/legal.xml:
5083           Update FAQ, Totem actually has an exception these days.
5084
5085 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5086
5087         * win32/common/libgstreamer.def:
5088         Add new API declarations
5089
5090 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5091
5092         * gst/gstminiobject.c:
5093           Spelling fixes for the API docs.
5094
5095 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5096
5097         * libs/gst/base/gstbasetransform.c:
5098           Fix long property description for QoS.
5099
5100 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5101
5102         * gst/gst.c:
5103         _gst_trace_on is already provided by gsttrace.h, no need to declare
5104         it ourselves.
5105
5106         * docs/libs/gstreamer-libs-sections.txt:
5107         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5108         and remove strange tcase_add_test which is outputting a warning.
5109
5110         * libs/gst/check/gstcheck.c:
5111         * libs/gst/check/gstcheck.h:
5112         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5113         and define them in gstcheck.c instead of having every .c file whcih
5114         includes gstcheck.h be defining its own copy and relying on symbol
5115         interposing to marry them all, which doesn't work on Solaris.
5116
5117         * tests/check/elements/identity.c: (GST_START_TEST):
5118         Don't define 'buffers' locally, it comes from libgstcheck.
5119
5120         * tests/check/generic/sinks.c: (send_buffer):
5121         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5122
5123         * tests/check/gst/gststructure.c: (GST_START_TEST):
5124         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5125         * tests/check/gst/gstutils.c: (GST_START_TEST):
5126         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5127         Add a bunch of casts to make various constants fit the types
5128         they're being assigned to.
5129
5130 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5131
5132         * gst/gstchildproxy.c:
5133           Improve docs and add some ideas for making this more general-purpose.
5134
5135 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5136
5137         * gst/gst_private.h: (GST_CAT_TYPES):
5138           Add GST_CAT_TYPES, for consistency, and so that the other
5139           debug categories don't make fun of it. Spotted by Saur on IRC.
5140
5141 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5142
5143         * gst/parse/Makefile.am:
5144           Move types.h from EXTRA_DIST to noinst_HEADERS.
5145
5146 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5147
5148         * autogen.sh:
5149           Add -Wno-portability to the automake parameters to stop warnings
5150           about GNU make extensions being used. We require GNU make in almost
5151           every Makefile anyway.
5152
5153         * configure.ac:
5154           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5155           at the same time is required for per target flags.
5156
5157 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5158
5159         * gst/gstmacros.h:
5160           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5161           __GNUC__ is defined before using it.
5162
5163 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5164
5165         * docs/gst/gstreamer-sections.txt:
5166         * gst/gst.c: (init_post):
5167         * gst/gstplugin.c: (_gst_plugin_register_static),
5168           (gst_plugin_register_static), (_gst_plugin_initialize),
5169           (gst_plugin_register_func):
5170         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5171           API: add gst_plugin_register_static() and deprecate
5172           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5173           (#498924).
5174           Also, in _gst_plugin_register_static(), make sure to call
5175           g_thread_init() before calling GLib functions such as
5176           g_list_append() if we're not initialised yet, since that
5177           may lead to random crashes with older GSlice/GLib versions.
5178
5179         * tests/check/gst/gstplugin.c:
5180           Adapt unit test to above changes.
5181
5182 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5183
5184         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5185         * gst/gstcaps.c: (gst_caps_to_string):
5186         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5187           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5188           Yet another gratuitous GString micro-optimisation: add a (private)
5189           function that serialises a structure appending to an existing
5190           GString, so that when we serialise caps we don't need to alloc+free
5191           a throwaway GString for each structure (each of which also entailing
5192           multiple reallocs on the way); also use g_string_sized_new() in
5193           various places with an approximate string length to avoid reallocs
5194           within GString. See #500143.
5195
5196 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5197
5198         * gst/gststructure.c: (gst_structure_id_set_value):
5199           Always check UTF-8 conformance of structure strings and not only
5200           if the debugging system is enabled; reasoning: the behaviour of
5201           the actual code shouldn't really change depending on whether the
5202           debugging system is enabled or not (#508291).
5203
5204 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5205
5206         * Makefile.am:
5207           Remove old coverage target in favour of "make lcov".
5208
5209 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5210
5211         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5212         (gst_base_src_loop):
5213         The start segment for reverse playback goes from start to last_stop.
5214
5215 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5216
5217         Patch by: Peter Kjellerstedt <pkj axis com>
5218
5219         * gst/gstclock.h:
5220         Cast the results from the timeval/spec_to_time macros to what the
5221         docs say it casts to, a GstClockTime. fixes #508175.
5222
5223 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5224
5225         * gst/gstbuffer.c:
5226         Update some comments.
5227
5228         * tools/gst-inspect.c: (print_element_properties_info):
5229         Improve printing of flags.
5230
5231 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5232
5233         * libs/gst/base/gstbasetransform.c:
5234           (gst_base_transform_transform_size):
5235           Print element name with g_warning() if there's a problem
5236           with the unit size.
5237
5238 2008-01-07  David Schleef  <ds@schleef.org>
5239
5240         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5241
5242         * libs/gst/controller/gstcontroller.h:
5243         * libs/gst/controller/gstcontrolsource.h:
5244         * libs/gst/controller/gstinterpolationcontrolsource.h:
5245         * libs/gst/controller/gstlfocontrolsource.h:
5246         * libs/gst/dataprotocol/dataprotocol.h:
5247           Fix empty prototypes.  Fixes bug #507957.
5248
5249 2008-01-07  David Schleef  <ds@schleef.org>
5250
5251         * docs/faq/dependencies.xml: Fix typo.
5252
5253 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5254
5255         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5256         (gst_base_src_loop):
5257         Don't update the last_stop position in do_seek, that's the position we
5258         did a seek to.
5259         Read backwards when we have a negative rate.
5260
5261         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5262         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5263         (filesrc_suite):
5264         Add check for reverse reading.
5265
5266 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5267
5268         Patch by: Alexis Ballier <aballier at gentoo org>
5269
5270         * tests/check/gst/gstabi.c:
5271         * tests/check/gst/struct_ppc64.h:
5272         * tests/check/libs/libsabi.c:
5273         * tests/check/libs/struct_ppc64.h:
5274           Decide which header to include based on the userland ABI target
5275           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5276           for 64-bit userland (#503590).  Might need something similar for
5277           x86 too.
5278
5279 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5280
5281         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5282           Log the reason why fopen fails in addition to the fact that it failed.
5283           
5284 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5285
5286         * gst/parse/parse.l:
5287         Use "%option never-interactive" to prevent useless calls to isatty()
5288         on every input when parsing. Also use "%option noinput" to not define
5289         the static input/yyinput functions which we don't use anyway. This
5290         removes a compiler warning with gcc 4.3 and saves some bytes in the
5291         library.
5292         
5293         * gst/parse/lex._gst_parse_yy.pre.c:
5294         Regenerated for the above change.
5295
5296 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5297
5298         * gst/gstpad.c: (fixate_value):
5299         Don't crash when trying to fixate and empty list.
5300         Fixes #506643.
5301
5302 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5303
5304         * docs/faq/gst-uninstalled:
5305         Clarify the comments to make the usage of this script and what it
5306         does easier to understand.
5307
5308 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5309
5310         * tools/gst-plot-timeline.py:
5311         Add more options to gst-plot-timeline
5312
5313 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5314
5315         * docs/design/part-synchronisation.txt:
5316         Some more info on how the stream_time in GstBaseSink is done.
5317
5318 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5319
5320         * tests/check/generic/sinks.c: (gst_sinks_suite):
5321           Put back the tcase_set_timeout(), apparently it's needed after
5322           all; fix it up in a way that makes things work with valgrind too.
5323
5324 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5325
5326         * gst/gstdebugutils.c:
5327           Add warning when failed to open file for writing.
5328
5329 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5330
5331         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5332
5333         * gst/gstvalue.c: (gst_value_is_fixed):
5334           Optimisation: bail out of the loop as early as possible (#500143).
5335
5336 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5337
5338         * gst/gstcaps.c: (gst_caps_to_string):
5339         * gst/gstinfo.c: (gst_debug_construct_term_color):
5340         * gst/gstparse.c: (gst_parse_launchv):
5341         * gst/gstutils.c: (gst_util_dump_mem):
5342         * gst/gstvalue.c: (gst_value_serialize_any_list),
5343           (gst_value_transform_any_list_string):
5344           Bunch of gratuitous nano-optimisations.
5345
5346 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5347
5348         * tests/check/generic/sinks.c: (async_done_func),
5349           (async_done_eos_func):
5350           Fix leak in unit test (bus sync handler must unref the message
5351           if it returns GST_BUS_DROP). Don't fiddle with the default test
5352           timeout, this is smaller than the current preconfigured value
5353           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5354           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5355
5356 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5357
5358         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5359
5360         * configure.ac:
5361         Check for stdio_ext.h for the filesink changes.
5362
5363         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5364         (gst_file_sink_class_init), (gst_file_sink_init),
5365         (gst_file_sink_dispose), (gst_file_sink_set_property),
5366         (gst_file_sink_get_property), (gst_file_sink_open_file),
5367         (gst_file_sink_close_file):
5368         * plugins/elements/gstfilesink.h:
5369         Add two properties to control the buffering mode and size.
5370         API: GstFileSink::buffer-mode
5371         API: GstFileSink::buffer-size
5372         Fixes #500150.
5373
5374 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5375
5376         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5377         Add some more docs to explain why a FIXME was wrongly added. 
5378
5379 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5380
5381         * gst/gstobject.c:
5382           Fix typo in the gst_object_{ref,unref} documentation.
5383
5384 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5385
5386         * tests/check/libs/controller.c:
5387         * tests/check/libs/typefindhelper.c:
5388         * tests/check/pipelines/parse-launch.c:
5389           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5390           going to be deprecated (see #498924).
5391
5392 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5393
5394         * gst/gsttypefind.c: (gst_type_find_register):
5395           Make gst_type_find_register work for static typefind functions,
5396           ie. allow passing plugin == NULL (prerequisite for #498924).
5397
5398         * gst/gstelementfactory.c: (gst_element_register):
5399           Small docs addition.
5400
5401 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5402
5403         * gst/gstpad.c: (gst_pad_dispose):
5404         Really unlink the peer pad instead of setting the peer pointer to NULL
5405         when we dispose the pad.
5406         This correctly calls the unlink functions and makes sure that the peer
5407         does not have a handle to invalid memory. See #504671.
5408
5409         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5410         Add testsuite for above case.
5411
5412 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5413
5414         Patch by: Peter Kjellerstedt <pkj axis com>
5415
5416         * libs/gst/check/gstcheck.h:
5417           Fix detection of the check version we're compiling against (would
5418           otherwise break if check goes v0.10.0); correctly report the
5419           name of the failed test again in case of failure, instead of
5420           just 'tf' (fixes #504499).
5421
5422 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5423
5424         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5425         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5426         (gst_base_src_loop), (gst_base_src_set_flushing),
5427         (gst_base_src_change_state):
5428         Allow sending EOS to the source to make it send out an EOS event from
5429         the streaming thread.
5430         Update docs and deprecate the old NULL/READY shutdown method.
5431
5432         * tests/check/libs/basesrc.c: (GST_START_TEST),
5433         (gst_basesrc_suite):
5434         Add unit test for controlled shutdown.
5435
5436 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5437
5438         * docs/design/part-synchronisation.txt:
5439         Small updates.
5440
5441         * gst/gstsegment.c: (gst_segment_set_seek),
5442         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5443         (gst_segment_to_running_time):
5444         The seek format can be different from the segment format when the start
5445         and stop values are not to be updated, when we only do a rate change for
5446         example.
5447
5448         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5449         (gst_segment_suite):
5450         Add a testcase for the rate-only seeks, checking that the format is
5451         correctly ignored when start and stop are not updated.
5452
5453 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5454
5455         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5456
5457         * win32/vs8/grammar.vcproj:
5458         * win32/vs8/libgstcontroller.vcproj:
5459         * win32/vs8/libgstreamer.vcproj:
5460         Fix compilation with VS8 and include some missing files.
5461
5462 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5463
5464         * gst/gsttaglist.c:
5465           Small docs addition: mention that the strings returned by
5466           gst_tag_list_get_string*() are in UTF-8 encoding.
5467
5468 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5469
5470         * Makefile.am:
5471           The check-exports stuff moved to common/win32.mak, so include that.
5472
5473 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5474
5475         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5476         (gst_base_src_perform_seek), (gst_base_src_get_range),
5477         (gst_base_src_set_playing), (gst_base_src_change_state):
5478         Make _wait_playing() not check any variables so that we can call this
5479         function from subclasses. Move the checks elsewhere similar to
5480         _wait_preroll() in basesink.
5481         Add some debugging.
5482         Only signal the LIVE cond when we are going back to PLAYING.
5483
5484 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5485
5486         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5487           Use g_remove() and g_rename(). Check result of g_rename(), and
5488           don't leak the open file descriptor if we error out when writing.
5489
5490         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5491           Must check the return value of close() after writing out the new
5492           registry file.  Sometimes write problems such as out-of-diskspace
5493           are only reported when the file is closed and not already during
5494           the write.  This may have caused partial/broken registry files in
5495           some rare circumstances. Should fix #503675.
5496
5497 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5498
5499         * docs/gst/.cvsignore:
5500         * docs/libs/.cvsignore:
5501         * docs/plugins/.cvsignore:
5502         Ignore files generated by new common/* modifications
5503
5504 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5505
5506         * win32/common/libgstbase.def:
5507           Yes, you can also have a <TAB> if you want.
5508
5509 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5510
5511         * win32/common/libgstbase.def:
5512           Add new basetransform API to win export file.
5513
5514 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5515
5516         * tests/check/gst/gstbin.c:
5517           Adjust the test to the refcount change two days ago.
5518
5519 2007-12-14  David Schleef  <ds@schleef.org>
5520
5521         * docs/faq/getting.xml: Fix typo.
5522
5523 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5524
5525         * docs/libs/gstreamer-libs-sections.txt:
5526         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5527           (gst_base_transform_prepare_output_buffer),
5528           (gst_base_transform_set_gap_aware):
5529         * libs/gst/base/gstbasetransform.h:
5530           API: Add gst_base_transform_set_gap_aware() to control whether
5531           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5532           get buffers with this flag at all. Fixes #503231.
5533
5534 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5535
5536         * libs/gst/base/gstbasesink.c:
5537         * libs/gst/base/gstbasesrc.c:
5538         * libs/gst/base/gstbasetransform.c:
5539           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5540           thread. Correct log message in gstbasesrc.c.
5541
5542 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5543
5544         * gst/gstutils.c: (element_find_unconnected_pad):
5545           Fix possible compiler warning (#503417).
5546
5547 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5548
5549         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5550           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5551
5552 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5553
5554         * tools/gst-inspect.c: (print_element_properties_info):
5555           Add support for GstFraction properties.
5556
5557 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5558
5559         * Makefile.am:
5560           Add check-exports target and run it as part of 'make check'
5561           (see #499140 and #493983).
5562
5563         * gst/gst_private.h:
5564         * gst/gstelementfactory.h:
5565         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5566         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5567           (_priv_gst_in_valgrind):
5568         * gst/gstinfo.h: (GstLogFunction):
5569         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5570           (gst_type_find_register):
5571         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5572           (gst_type_find_factory_get_type):
5573         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5574           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5575           (gst_controller_new_valist), (gst_controller_new_list),
5576           (_gst_controller_dispose), (_gst_controller_class_init):
5577         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5578         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5579           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5580           (gst_object_get_controller), (gst_object_set_controller),
5581           (gst_object_suggest_next_sync), (gst_object_sync_values),
5582           (gst_object_set_control_source), (gst_object_get_control_source),
5583           (gst_object_get_value_arrays), (gst_object_get_value_array),
5584           (gst_object_get_control_rate), (gst_object_set_control_rate):
5585         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5586         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5587           Make some functions that should be static static; rename some
5588           private symbols so that they don't get exported; add some FIXME
5589           comments so we can move accidentally exported functions into
5590           our private section in 0.11.
5591
5592         * win32/common/libgstreamer.def:
5593           Add gst_utils_get_timestamp().
5594
5595 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5596
5597         * gst/gstvalue.c:
5598         * gst/gstvalue.h:
5599           Add more missing "Since:" tags to docs.
5600
5601 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5602
5603         * gst/gstutils.c:
5604           Add mising "Since:" to docs.
5605
5606 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5607
5608         * gst/gstplugin.c:
5609           Include "glib-compat-private.h" to fix the build on system with
5610           glib < 2.10. Fixes #503131.
5611
5612 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5613
5614         * gst/gstutils.c:
5615         * gst/gstutils.h:
5616           Actually its not PURE as it gets the time from elsewhere.
5617
5618 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5619
5620         * docs/gst/gstreamer-sections.txt:
5621         * gst/gstclock.h:
5622         * gst/gstdebugutils.c:
5623         * gst/gstinfo.c:
5624         * gst/gstutils.c:
5625         * gst/gstutils.h:
5626         * libs/gst/base/gstbasesink.c:
5627         * tools/gst-launch.c:
5628           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5629           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5630           Thanks Tim for spotting.
5631           API: gst_util_get_timestamp
5632
5633 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5634
5635         * configure.ac:
5636           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5637
5638 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5639
5640         * gst/gststructure.c: (gst_structure_validate_name),
5641           (gst_structure_new_valist), (gst_structure_parse_value),
5642           (gst_structure_from_string):
5643           Don't crash in _from_string() if the structure name is not valid
5644           (fixes #501560).  Allow structure names to start with a number
5645           again (this apparently broke the ubuntu codec installer).
5646
5647         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5648           (GST_START_TEST):
5649           Add unit test for the crash; update unit tests for new behaviour.
5650
5651 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5652
5653         * gst/gstutils.c:
5654         Clarify gst_element_get_compatible_pad() documentation.
5655         Fixes #500919.
5656
5657 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5658
5659         * tests/check/Makefile.am:
5660           Don't forget to dist {gst,libs}/struct_hppa.h.
5661
5662 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5663
5664         * libs/gst/base/gstbasesink.c:
5665           Use new API to get elapsed time.
5666
5667 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5668
5669         * gst/gstdebugutils.c:
5670         * gst/gstinfo.c:
5671           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5672
5673         * tools/gst-launch.c:
5674           Use new API to get elapsed time.
5675
5676 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5677
5678         * docs/gst/gstreamer-sections.txt:
5679         * gst/gstclock.h:
5680         * gst/gstdebugutils.c:
5681         * gst/gstinfo.c:
5682           Rename new API + ChangeLog surgery to remove old name from last entry..
5683
5684 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5685
5686         * docs/gst/gstreamer-sections.txt:
5687         * gst/gstclock.h:
5688         * gst/gstdebugutils.c:
5689         * gst/gstinfo.c:
5690           Now hide the different clock stuff behind a macro.
5691
5692 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5693
5694         * configure.ac:
5695         * gst/gstdebugutils.c:
5696         * gst/gstinfo.c:
5697           Apply the posix-timer check from #361155. Conditionally use the posix
5698           timer for logging. This gives better timestamp precission, less
5699           overhead and no ntp jitter.
5700
5701 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5702
5703         * gst/gstminiobject.c: (gst_mini_object_get_type),
5704         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5705         (gst_mini_object_finalize), (gst_mini_object_copy),
5706         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5707         (gst_mini_object_replace), (param_mini_object_validate),
5708         (gst_param_spec_mini_object_get_type):
5709         Some cleanup and checking against invalid function parameters.
5710
5711 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5712
5713         * docs/gst/gstreamer-sections.txt:
5714         * gst/gstclock.h:
5715         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5716         (gst_systemclock_suite):
5717         Start merging in the easy bits of #361155, the monotonic clock patch.
5718         This one adds a few handy macros with docs and a testsuite.
5719
5720 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5721
5722         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5723         Be a bit smarter when seeking, like, don't try to do a seek when it's
5724         not needed. This avoids errors when the file is not seekable.
5725         Fixes #499771.
5726
5727 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5728
5729         * docs/gst/gstreamer-docs.sgml:
5730         * docs/gst/gstreamer-sections.txt:
5731         * docs/gst/gstreamer.types.in:
5732         * gst/Makefile.am:
5733         * gst/gst.h:
5734         * gst/gstpreset.c:
5735         * gst/gstpreset.h:
5736         * plugins/elements/gstqueue.c:
5737           Due to popular request remove preset interface again. :-(.
5738
5739 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5740
5741         * tools/gst-inspect.c:
5742           Print 'default value' for enums and flags too.
5743
5744 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5745
5746         * docs/random/ensonic/profiling.txt:
5747           More ideas.
5748
5749         * gst/gstbin.c:
5750           Fix typo and give better log output.
5751
5752         * gst/gstdebugutils.c:
5753         * gst/gstdebugutils.h:
5754           More ideas, make graphs a bit smaller and fix param name in macro.
5755
5756 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5757
5758         * gst/gstpreset.c:
5759           Try harder to use the return value from fgets().
5760
5761 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5762
5763         * gst/gstpreset.c:
5764           For theses two fgets we handle the error below.
5765
5766 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5767
5768         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5769         Only send upstream events upstream. Fixes #498746.
5770
5771 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5772
5773         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5774
5775         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5776         (gst_identity_init), (gst_identity_transform_ip),
5777         (gst_identity_set_property), (gst_identity_get_property):
5778         * plugins/elements/gstidentity.h:
5779         Add property to disable handoff signal emission. Fixes #498694.
5780         API: GstIdentity::signal-handoffs
5781
5782 2007-11-21  Julien Moutte  <julien@fluendo.com>
5783
5784         * docs/faq/gst-uninstalled: Yet another missing library for the
5785         uninstalled script (fft)
5786
5787 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5788
5789         * docs/faq/developing.xml:
5790         Add a question about how to submit new translations.
5791
5792         * docs/random/release:
5793         Update the contact email address for the Translation Project
5794
5795         * plugins/elements/gstfdsrc.c:
5796         The parent_class for fdsrc is pushsrc, not GstElement.
5797
5798 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5799
5800         * gst/gstpreset.c:
5801           Plug a leak and fix saving.
5802
5803 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5804
5805         * docs/gst/gstreamer-sections.txt:
5806         Add new gst_preset__get_property_names() function to the docs
5807         to fix the build.
5808
5809 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5810
5811         * gst/gstpreset.c:
5812         * gst/gstpreset.h:
5813           Change _get_preset_names API to return a strv with copies. Add
5814           _get_property_names to allow implementations to filter and provide
5815           good default implementation.
5816
5817 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5818
5819         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5820         script (sdp).
5821
5822 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5823
5824         * gst/gstpreset.c:
5825           More cleanups, docs, and TODOs from comments that now slowly come in.
5826
5827 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5828
5829         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5830         search path.
5831
5832 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5833
5834         * gst/gstpreset.c:
5835           Fix bogus warning and make the property type specific code more
5836           similar.
5837
5838 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5839
5840         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5841         it build on OS X.
5842
5843 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5844
5845         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5846         (gst_bin_add_func), (gst_bin_remove_func),
5847         (gst_bin_change_state_func), (gst_bin_continue_func):
5848         Change email, cleanups add some more debug and comments.
5849         Also set bus and clock on new elements when the pipeline was in error.
5850
5851 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5852
5853         * gst/gstbin.c:
5854         * gst/gstdebugutils.c:
5855           Fix build with --disable-gst-debug. Fixes #497859.
5856           Spotted by Sameer Naik.
5857
5858 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5859
5860         * gst/gstevent.c:
5861           Little documentation improvment.
5862
5863         * gst/gstpreset.c:
5864           More TODO cleanups. Remove c++ comments.
5865
5866         * libs/gst/controller/gstcontroller.c:
5867           Add TODO and use quark from static string.
5868
5869         * tests/check/gst/gstmessage.c:
5870         * tests/check/gst/gststructure.c:
5871           Use quark from static string.
5872
5873 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5874
5875         * gst/gstpreset.c:
5876           Add some comments and TODOs.
5877
5878         * gst/gstpreset.h:
5879           Add padding for future changes.
5880
5881         * plugins/elements/gstqueue.c:
5882           Implement the iface.    
5883
5884 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5885
5886         * docs/gst/gstreamer-docs.sgml:
5887         * docs/gst/gstreamer-sections.txt:
5888         * docs/gst/gstreamer.types.in:
5889         * gst/Makefile.am:
5890         * gst/gst.h:
5891         * gst/gstpreset.c:
5892         * gst/gstpreset.h:
5893           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5894
5895 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5896
5897         * configure.ac:
5898
5899         Back to CVS
5900
5901 === release 0.10.15 ===
5902
5903 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5904
5905         * configure.ac:
5906           releasing 0.10.15, "October"
5907
5908 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5909
5910         * win32/vs6/libgstreamer.dsp:
5911         Convert line endings back to DOS.
5912
5913 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5914
5915         * docs/design/draft-tagreading.txt:
5916         * docs/random/ensonic/profiling.txt:
5917         Update fast tagreading draft and performance profiling ideas.
5918
5919 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5920
5921         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5922         Don't hold the object lock when unreffing a buffer because it could
5923         cause a deadlock when the finalize function wants to grab the object
5924         lock too. Fixes #495133.
5925
5926 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5927
5928         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5929         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5930         Also accumulate time correctly when doing reverse playback. Fixes
5931         #488201,
5932         When converting to running and stream time, use default values for
5933         start/stop/time/accum when comparing different formats. Fixes #494245.
5934
5935         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5936         Do running/stream time in TIME format.
5937
5938         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5939         (gst_segment_suite):
5940         2 new unit tests for segment accumulation.
5941
5942 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5943
5944         * gst/gst.c: (init_pre):
5945         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5946           (_gst_debug_bin_to_dot_file):
5947           Move getenv() back into gst_init, so everyone can live happily
5948           ever after. Make sure the symbol isn't exported though.
5949
5950 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5951
5952         Patch by: Sebastien Moutte  <sebastien moutte net>
5953
5954         * win32/common/gstenumtypes.c:
5955         * win32/common/gstenumtypes.h:
5956           Update enum types.
5957
5958         * win32/vs6/libgstreamer.dsp:
5959           Update vs6 project files (#494343).
5960
5961 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5962
5963         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5964         (gst_base_src_perform_seek), (gst_base_src_default_event),
5965         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5966         (gst_base_src_activate_pull):
5967         Unify flushing code, remove some old unlock code that is no longer used.
5968         Take the streaming lock when seeking to avoid races. Fixes #492729.
5969         Added some more comments.
5970
5971 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5972
5973         * gst/gst.c: (_gst_disable_segtrap):
5974           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5975           we can use gst_segtrap_is_enabled() there now that we have that API.
5976           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5977           to do the getenv here (and export the variable).
5978
5979         * gst/gstdebugutils.c: (debug_dump_element),
5980           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5981           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5982
5983         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5984           (gst_debug_log_default):
5985           Rename _gst_info_start_time to priv_gst_info_start_time so it
5986           doesn't get exported (was never in any header).
5987
5988         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5989           (gst_plugin_loading_mutex):
5990           Make static mutex gst_plugin_loading_mutex really static (was never
5991           in any header), and use gst_segtrap_is_enabled() instead of
5992           _gst_disable_segtrap.
5993
5994         * gst/gsttrace.c: (_gst_trace_default):
5995           Make local _gst_trace_default static (was never in any header).
5996
5997 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5998
5999         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6000
6001         * win32/common/libgstbase.def:
6002         * win32/common/libgstcontroller.def:
6003         * win32/common/libgstdataprotocol.def:
6004         * win32/common/libgstnet.def:
6005         * win32/common/libgstreamer.def:
6006           Add more missing symbols, remove some duplicates, and sort
6007           as the 'sort' command sorts it (partially fixes #493983).
6008
6009 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6010
6011         * gst/gstelement.c: (gst_element_set_state_func):
6012         Only change the state cookie if a different state was set on the
6013         element. See #492729.
6014
6015 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6016
6017         * gst/gstvalue.c:
6018           Remove unused and uninitialised type variables that were still
6019           exported for some reason (they were never in any header files
6020           though).
6021
6022 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6023
6024         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6025         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6026         (gst_base_sink_event), (gst_base_sink_get_position_last),
6027         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6028         (gst_base_sink_change_state):
6029         Don't try to report a 0 position when we don't know, return -1 and FALSE
6030         instead. This mostly happens when we are prerolling.
6031         Make sure we can report the right position before we post the ASYNC_DONE
6032         message so that a message handler can query position without races.
6033
6034         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6035         (async_done_handoff), (async_done_func), (send_buffer),
6036         (async_done_eos_func), (gst_sinks_suite):
6037         Add two tests for the above.
6038
6039 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6040
6041         * MAINTAINERS:
6042         Update with new email address.
6043
6044         * docs/design/part-TODO.txt:
6045         Add some more info about future pad-block and negotiation changes.
6046
6047         * docs/design/part-buffering.txt:
6048         Add some ideas about buffering reporting.
6049
6050 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6051
6052         * tests/check/gst/gstobject.c:
6053         Disable silly racy test that always fails on this combination of CPU
6054         and kernel.
6055
6056 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6057
6058         Patch by: Murray Cumming  <murrayc@murrayc.com>
6059
6060         * gst/gstobject.c:
6061           Corrected the registration of the parent-set and parent-unset
6062           signals: The parameter is a GstObject, not a GObject (#493134).
6063
6064 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6065
6066         * gst/gst_private.h:
6067         * gst/gstbuffer.h:
6068         * gst/gstevent.h:
6069         * gst/gstformat.h:
6070         * gst/gstmessage.h:
6071         * gst/gstplugin.h:
6072         * gst/gstquery.h:
6073         * gst/gsttaglist.h:
6074         * gst/gstvalue.h:
6075           Move declaration of private _gst_foo_initialize() functions into
6076           our private header file where they should have been all along.
6077
6078 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6079
6080         * docs/plugins/gstreamer-plugins-sections.txt:
6081         * gst/gstdebugutils.h:
6082         * gst/gstxml.h:
6083         * plugins/elements/gstqueue.c:
6084           gtk-doc fixes; trailing-comma-in-enum fix.
6085
6086 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6087
6088         * gst/gst.c: (gst_deinit):
6089           Clean up on deinit (not the external ones though, doesn't seem to be
6090           needed for some reason).
6091
6092 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6093
6094         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6095           Remove __declspec(dllimport) for MSVC that was copied over into core
6096           from a plugin, obviously without ever having been tested (note the
6097           single underscore in _declspec in the initial commit), and that doesn't
6098           really make sense.  See #492077.
6099
6100 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6101
6102         * gst/gst.c: (init_post):
6103         * gst/gstevent.c: (_gst_event_initialize):
6104         * gst/gstquery.c: (_gst_query_initialize):
6105         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6106           g_type_class_ref() other types as well, see #349410 and #64764.
6107
6108         * gst/gstbuffer.c: (_gst_buffer_initialize):
6109         * gst/gstmessage.c: (_gst_message_initialize):
6110           Simplify existing g_type_class_ref().
6111
6112 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6113
6114         * gst/gstformat.c: (_gst_format_initialize):
6115           g_type_class_ref() our GstFormat type to make sure we avoid the
6116           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6117           bug #64764. Should fix intermittent tee unit test failures (#474823).
6118
6119 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6120
6121         * tests/check/elements/tee.c: (test_num_buffers):
6122           Simplify, simplify, simplify - or not.  Rewrite unit test
6123           not to use gst_parse_launch(); allow N sub-streams. Increasing
6124           the number of sub-streams seems to reproduce #474823 more easily.
6125
6126 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6127
6128         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6129
6130         * gst/gsttrace.c:
6131         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6132         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6133         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6134           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6135           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6136           so use _pipe() directly (#492077).
6137
6138         * win32/common/dirent.c: (_treaddir):
6139           Add a couple of casts to make it build without warnings with MSVC.
6140
6141         * win32/common/libgstreamer.def:
6142           Add some more symbols that need to be exported.
6143
6144 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6145
6146         * tests/examples/metadata/read-metadata.c: (message_loop):
6147           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6148           arriving in a second or third tag message are added to
6149           the tag list as well.
6150
6151 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6152
6153         * libs/gst/base/gstbasesrc.c:
6154           Its "Since:" and not "@Since:". And remove an superflous cast.
6155
6156 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6157
6158         * docs/libs/gstreamer-libs-sections.txt:
6159         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6160         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6161         (gst_base_sink_get_property), (gst_base_sink_render_object),
6162         (gst_base_sink_preroll_object),
6163         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6164         (gst_base_sink_change_state):
6165         * libs/gst/base/gstbasesink.h:
6166         Add a new last-buffer property that contains the last buffer used in
6167         basesink for preroll or rendering. useful for making snapshots.
6168         API: gst_base_sink_get_last_buffer()
6169         API: GstBaseSink::last-buffer
6170
6171 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6172
6173         * docs/gst/running.xml:
6174         * gst/gst.c:
6175         * gst/gstdebugutils.c:
6176         * gst/gstdebugutils.h:
6177         * tools/gst-launch.c:
6178           Improve bin graph dumping, by using the envvar to specify a path.
6179           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6180
6181 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6182
6183         * plugins/elements/gsttypefindelement.c:
6184           (gst_type_find_element_handle_event),
6185           (gst_type_find_element_activate):
6186           Post special error message if we can't determine the type of a stream
6187           because it's empty.
6188
6189 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6190
6191         * docs/gst/running.xml:
6192         * gst/gstdebugutils.c:
6193           Document new env-var. Add one log-line after dumpng a graph.
6194
6195 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6196
6197         * configure.ac:
6198           Ugly hack to put the (recently removed and non-portable, apparently)
6199           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6200           GNU ld, because without that 'make check' fails miserably on my debian
6201           stable box.  Someone with more knowledge of linker intricacies and
6202           portability issues than me fix this properly please.
6203
6204 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6205
6206         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6207         Reset last seen position after flushing so that we don't report the old
6208         position anymore.
6209
6210 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6211
6212         * gst/gstelementfactory.c: (gst_element_register):
6213         * gst/gsturi.h:
6214         Patch from Alessandro Decina adding get_type_full and
6215         get_protocols_full private vfuncs to the URIHandler interface
6216         to allow bindings to support creating URI handlers. 
6217         Partially fixes: #339279
6218         API: GstURIHandlerInterface::get_type_full
6219         API: GstURIHandlerInterface::get_protocols_full
6220
6221 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6222
6223         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6224         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6225         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6226         Make it so that pads are considered linked until a buffer is pushed
6227         and discovered otherwise. This avoids problems with decodebin2 hanging
6228         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6229         case.
6230
6231         Make sure we lock the multiqueue when updating the max-size properties.
6232         
6233         Fix a crash on Solaris in a debug statement in get_request_pad that
6234         passes a NULL string to GST_DEBUG. 
6235
6236         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6237         (run_output_order_test):
6238         Fix the test to allow the first buffer on not-linked pads to come out
6239         of sequence while multiqueue discovers that they are not-linked.
6240
6241 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6242
6243         * configure.ac:
6244         * libs/gst/check/Makefile.am:
6245         Use a custom export symbol regex for libgstcheck, as it needs
6246         to export symbols that don't match the standard GStreamer gst_*
6247         pattern, and  --export-dynamic is not portable (only works on 
6248         GNU ld)
6249
6250         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6251         (gst_check_setup_sink_pad):
6252         Make sure to pass a message parameter to the fail_* macros.
6253
6254         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6255         Fix some compiler warnings.
6256
6257 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6258
6259         * tests/check/gst/gststructure.c: (test_to_string):
6260           Disable test that checks that white spaces are not allowed
6261           in structure names or field names, since we need to
6262           support that for now for backwards compatibility reasons.
6263
6264 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6265
6266         * docs/gst/gstreamer-sections.txt:
6267         * gst/gsttaglist.c:
6268         * gst/gsttaglist.h:
6269           API: add GST_TAG_ARTIST_SORTNAME
6270           API: add GST_TAG_ALBUM_SORTNAME
6271           API: add GST_TAG_TITLE_SORTNAME
6272           Add tag variants for sorting (#414539).
6273
6274 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6275
6276         * gst/gststructure.c:
6277           Also allow white space for names so we don't break
6278           backwards compatibility.
6279
6280 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6281
6282         * docs/design/part-TODO.txt:
6283         * docs/design/part-segments.txt:
6284         * docs/design/part-streams.txt:
6285         Small updates.
6286
6287 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6288
6289         * docs/gst/gstreamer-sections.txt:
6290          Fixed documentation from my previous commit (added new API add
6291          gst_value_set_structure(), add gst_value_get_structure() and
6292          GST_VALUE_HOLDS_STRUCTURE).
6293
6294 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6295
6296         * gst/gstdebugutils.c:
6297           Reflow code to fix uninitialized variable warning.
6298
6299 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6300
6301         * gst/gstcaps.c: (gst_caps_to_string),
6302         (gst_caps_from_string_inplace):
6303         * gst/gststructure.c: (gst_structure_get_abbrs),
6304         (gst_structure_to_string), (gst_structure_from_string):
6305         * gst/gstvalue.c: (gst_value_set_structure),
6306         (gst_value_get_structure), (gst_value_serialize_structure),
6307         (gst_value_deserialize_structure), (_gst_value_initialize):
6308         * gst/gstvalue.h:
6309         * tests/check/gst/gststructure.c: (GST_START_TEST),
6310         (gst_structure_suite):
6311         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6312          Added GstStructure to gst_value_table and its related functions.
6313          Changed gst_structure_to_string to print ';' in the end.
6314          Changed gst_caps_to_string to not print ';' beteween its
6315          fields (structures) anymore and remove the lastes ';' from latest
6316          structure. Now it is possible to have nested structures.
6317          In addition, backward compatibilty is assured by accepting '\0' as
6318          end delimiter. Fixes: #487969.
6319          API: add gst_value_set_structure()
6320          API: add gst_value_get_structure()
6321          API: add GST_VALUE_HOLDS_STRUCTURE
6322
6323 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6324
6325         * gst/gstbus.c:
6326           When no GSource callback has been set up, tell developer
6327           to use a function that actually exists.
6328
6329 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6330
6331         * docs/gst/gstreamer-sections.txt:
6332         * gst/Makefile.am:
6333         * gst/gst.c:
6334         * gst/gst.h:
6335         * gst/gstdebugutils.c:
6336         * gst/gstdebugutils.h:
6337         * gst/gstinfo.c:
6338         * gst/gstinfo.h:
6339         * tools/gst-launch.c:
6340           Allow dumping pipelines as dot graphs. Fixes #456573.
6341
6342 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6343
6344         * gst/gststructure.c:
6345           Allow '+' as well, it can be part of media or mime types
6346           such as image/svg+xml.
6347
6348 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6349
6350         * docs/gst/gstreamer-sections.txt:
6351         * gst/gstbus.c:
6352         * gst/gstbus.h:
6353           API: add gst_bus_pop_filtered
6354           API: add gst_bus_timed_pop_filtered
6355           Two new functions for waiting for specific message types on the
6356           bus for a specified amount of time without iterating any main
6357           loops or main contexts.
6358
6359         * tests/check/gst/gstbus.c:
6360           Some tests for the new functions.
6361
6362 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6363
6364         * docs/libs/gstreamer-libs-sections.txt:
6365           Make gtk-doc ignore stuff it should ignore.
6366
6367 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6368
6369         * libs/gst/check/gstcheck.c:
6370         * libs/gst/check/gstcheck.h:
6371           Allow runtime selection of unit tests to run via the GST_CHECKS
6372           environment variable (test case function names, comma-separated).
6373
6374 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6375
6376         * gst/gststructure.c:
6377         * tests/check/gst/gststructure.c:
6378           Revert serialisation change and constrain structure-names after
6379           consensus on irc. Update api documentation to reflect the change.
6380
6381 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6382
6383         * gst/gststructure.c:
6384           Improve serialization and fix tests.
6385
6386         * tests/check/gst/gststructure.c:
6387           Add another test that covers why I actually did the previous structure
6388           change.
6389
6390 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6391
6392         * tools/gst-inspect.c: (print_element_info):
6393         Don't crash when inspecting an element.
6394
6395 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6396
6397         * tests/check/gst/gststructure.c:
6398           Add unit test for escaping of structure name when serialising
6399           and deserialising to/from strings.
6400
6401 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6402
6403         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6404         (gst_single_queue_new):
6405         * plugins/elements/gstqueue.c: (gst_queue_init),
6406         (gst_queue_push_one):
6407         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6408         upstream is tricked into thinking it can suggest a format downstream
6409         while downstream does not support that format. The real problem is that
6410         core calls acceptcaps when pushing a buffer with new caps, for which we
6411         do a little workaround by setting the caps on the srcpad ourselves
6412         before pushing the buffer (until this is figured out). Fixes #486758.
6413
6414 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6415
6416         * gst/gststructure.c:
6417         * gst/gstvalue.c:
6418           Add some more comments and debug output. Quote structure name to fix
6419           deserialisation of some strings.
6420
6421 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6422
6423         * gst/gstbuffer.h:
6424           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6425           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6426
6427 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6428
6429         * tools/gst-inspect.c:
6430           Save approx. 400 1 byte allocs when printing. Use API to acces element
6431           details.
6432
6433         * tools/gst-run.c:
6434           Avoid a strdup.
6435
6436         * tools/gst-xmlinspect.c:
6437           Use API to acces element details.
6438
6439 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6440
6441         * gst/gstinfo.c:
6442           Fix some spelling errors.
6443
6444 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6445
6446         * gst/gstbin.c: (bin_handle_async_done):
6447         Correctly set the next state if all of our async children commited their
6448         state. This makes sure we can actually cancel the state change in
6449         progress. Fixes a regression in Rhythmbox when seeking.
6450
6451 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6452
6453         * gst/gstbin.c:
6454           Don't shadow local variable.
6455
6456         * gst/gstinfo.c:
6457           Don't shadow global function name.
6458
6459 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6460
6461         * gst/gstelementfactory.c:
6462         * gst/gstpluginfeature.c:
6463         * gst/gstpluginfeature.h:
6464         * gst/gstregistrybinary.c:
6465         * gst/gstregistryxml.c:
6466         * gst/gsttypefind.c:
6467           Use already-interned string for the private GstPluginFeature
6468           plugin_name field.
6469
6470 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6471
6472         * docs/libs/gstreamer-libs-sections.txt:
6473           Add new API to docs; fixes the build.
6474
6475 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6476         
6477         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6478
6479         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6480         (gst_base_sink_event):
6481         * libs/gst/base/gstbasesink.h:
6482         Add function to wait for EOS, subclasses can use this to correctly wait
6483         for devices to drain before performing the EOS logic. Fixes #485343.
6484         API: gst_base_sink_wait_eos()
6485
6486 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6487
6488         * gst/gstplugin.h:
6489           Cast description string constants in GST_PLUGIN_DEFINE macros
6490           to a (gchar*) to make C++ code using these macros compile
6491           without warning with g++-4.2 (see #462737).  Even if slightly
6492           ugly, this seems preferable to putting the description strings
6493           into the GLib quark table or making the structure member a
6494           const gchar * and doing casts in core code that allocs and
6495           frees these strings, or requiring a cast in the C++ code.
6496
6497 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6498
6499         * gst/gstinfo.h:
6500           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6501           to print the entire class/function signature into the log
6502           file for C++ code.  This only affects C++ code, for C code
6503           everything remains the same.
6504
6505 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6506
6507         * gst/gstbin.c: (remove_from_queue):
6508         Work around a problem with pipelines containing (semi)loops until a
6509         proper, more complicated solution is ready. See #475455.
6510
6511 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6512
6513         * gst/gstplugin.c:
6514         * gst/gstplugin.h:
6515         * gst/gstregistrybinary.c:
6516         * gst/gstregistryxml.c:
6517           Put more strings into the GLib quark table. No need to keep
6518           a hundred-something copies of identical version strings,
6519           license strings, package name strings and package origin
6520           strings around. 
6521
6522 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6523
6524         * docs/manual/advanced-dataaccess.xml:
6525           Don't imply that it's okay to unconditionally change
6526           buffer data or buffer metadata in a pad probe callback,
6527           and a bunch of other comments. Fixes #430031.
6528
6529 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6530
6531         * win32/common/gstenumtypes.c:
6532         * win32/common/gstenumtypes.h:
6533         * win32/common/gstversion.h:
6534           Update generated files.
6535
6536 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6537
6538         * docs/manual/advanced-autoplugging.xml:
6539           Prefix section with broken code with a warning (see #342432).
6540
6541 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6542
6543         * docs/manual/appendix-integration.xml:
6544         * docs/manual/basics-init.xml:
6545           Call g_thread_init() before g_option_context_new() to
6546           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6547
6548 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6549
6550         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6551         (gst_base_sink_queue_object_unlocked),
6552         (gst_base_sink_queue_object), (gst_base_sink_event),
6553         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6554         When we received EOS and are waiting for when to post the EOS message,
6555         our state is prerolled and we should not return ASYNC.
6556         Reorganize some code paths to implement this behavior.
6557
6558         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6559         (gst_sinks_suite):
6560         Add unit test to verify above EOS fix.
6561
6562 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6563
6564         * plugins/elements/gsttypefindelement.c:
6565         (gst_type_find_element_have_type), (gst_type_find_element_init),
6566         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6567         Move detecting the input caps of the sinkpad to the setcaps function.
6568         This allows us to update the output caps when we receive new input caps
6569         instead of always using the first detected caps.
6570
6571 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6572
6573         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6574         (gst_base_sink_get_position):
6575         Don't try to preroll non-async elements after a flush.
6576         Subtract latency form clock times when reporting position.
6577
6578 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6579
6580         * gst/gstpad.c: (gst_pad_pause_task):
6581         * gst/gstutils.c:
6582         Small comment and documentation update.
6583
6584 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6585
6586         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6587         (gst_base_src_set_live), (gst_base_src_is_live),
6588         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6589         (gst_base_src_default_event), (gst_base_src_wait),
6590         (gst_base_src_do_sync), (gst_base_src_get_range),
6591         (gst_base_src_pad_get_range), (gst_base_src_loop),
6592         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6593         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6594         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6595         (gst_base_src_change_state):
6596         Rework the locking of basesrc in a similar fashion to basesink. We
6597         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6598         us to handle live sources and semi live ones much better.
6599         Simplify flushing.
6600         Fix unlocking when seeking, shutting down and pausing in live sources.
6601
6602 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6603
6604         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6605         Fix compilation again.
6606
6607 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6608
6609         * gst/gstelement.c:
6610           Use meaningful categories for the logs to clean the default one.
6611
6612 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6613
6614         * tests/check/pipelines/cleanup.c:
6615           Print message name and not just number.
6616
6617 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6618
6619         * docs/design/draft-tagreading.txt:
6620           Add some more thoughts.
6621
6622 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6623
6624         * tests/check/pipelines/simple-launch-lines.c:
6625           Print message name and not just number.
6626
6627 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6628
6629         * libs/gst/base/gsttypefindhelper.c:
6630           Speedup typefinding. This is work in progress (see #459862).
6631
6632 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6633
6634         * gst/gstplugin.c:
6635           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6636           Spotted by Josep Torra Valles <josep@fluendo.com>.
6637
6638 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6639
6640         * gst/gstclock.h:
6641           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6642           field has moved to GstObject.
6643
6644 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6645
6646         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6647         (gst_base_src_get_range), (gst_base_src_change_state):
6648         Call unlock for live sources so that they can't get stuck in _create and
6649         produce a buffer before they are set back to PLAYING.
6650
6651 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6652
6653         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6654         (gst_queue_locked_dequeue):
6655         Comment the segment-related code... in the PROPER function.
6656         See #482147 and my commit from yesterday.
6657
6658 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6659
6660         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6661         Also initialize the counter that calculates the first timestamp on a
6662         buffer correctly for non-live sources.
6663
6664 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6665
6666         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6667         Disable code that's breaking the current-time-level reporting.
6668         See #482147
6669
6670 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6671
6672         * docs/gst/gstreamer-sections.txt:
6673         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6674         as they shouldn't show up. Fixes the docs build.
6675
6676 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6677         
6678         * gst/gstinfo.h:
6679         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6680         Define M_PI which is used in files which are including gstinfo.h. 
6681         VS6 includes doesn't define it.
6682         * win32/common/libgstbase.def:
6683         * win32/common/libgstcontroller.def:
6684         * win32/common/libgstreamer.def:
6685         Add new exported functions and variables.
6686         * win32/vs6/libgstcontroller.dsp:
6687         * win32/vs6/libgstreamer.dsp:
6688         Update the list of files to build.
6689         
6690 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6691
6692         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6693
6694         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6695         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6696         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6697         Improve debugging. Fixes #480858.
6698
6699 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6700
6701         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6702
6703         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6704         First patch of code cleanups, use the macros and right arguments in the
6705         macros to signal and lock the queue. See #480858.
6706
6707 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6708
6709         * gst/gstbus.c: (poll_func):
6710         Improve debugging when dealing with _poll().
6711
6712 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6713
6714         * gst/gstregistryxml.c:
6715           Fix memory leak I introduced a few days ago.
6716
6717 2007-09-26  Michael Smith <msmith@fluendo.com>
6718
6719         * gst/gstbuffer.c: (gst_buffer_finalize):
6720           Make it once again possible to free GstBuffers in the default
6721           build.
6722           The poisoning scribbles on parts of the miniobject we need in
6723           order to free it.
6724           Fixes #480341
6725
6726 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6727
6728         * docs/gst/gstreamer-sections.txt:
6729         * gst/gsttaglist.c:
6730         * gst/gsttaglist.h:
6731         API: add GST_TAG_COMPOSER, fixes #459809.
6732
6733 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6734
6735         * gst/gstplugin.c:
6736         * gst/gstplugin.h:
6737         Add the 3-clause BSD license and the MIT/X11 license to the license
6738         list. Fixes #479784.
6739
6740 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6741
6742         * docs/faq/getting.xml:
6743           Add Q+A about different GStreamer versions (#364056).
6744
6745 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6746
6747         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6748         (gst_base_sink_event), (gst_base_sink_change_state):
6749         Return correct gboolean from query function.
6750
6751 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6752
6753         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6754         (gst_base_sink_event), (gst_base_sink_query),
6755         (gst_base_sink_change_state):
6756         Simplify latency query.
6757         When not synchronizing, we can report latency without querying the peer
6758         element.
6759
6760 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6761
6762         * gst/gstobject.h:
6763         * gst/gstvalue.c:
6764         Fix small typos in the docs.
6765
6766 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6767
6768         * docs/design/draft-latency.txt:
6769         * docs/design/draft-push-pull.txt:
6770         * docs/design/draft-tagreading.txt:
6771         * docs/design/part-MT-refcounting.txt:
6772         * docs/design/part-activation.txt:
6773         * docs/design/part-block.txt:
6774         * docs/design/part-element-source.txt:
6775         * docs/design/part-events.txt:
6776         * docs/design/part-gstbin.txt:
6777         * docs/design/part-gstelement.txt:
6778         * docs/design/part-gstobject.txt:
6779         * docs/design/part-gstpipeline.txt:
6780         * docs/design/part-messages.txt:
6781         * docs/design/part-preroll.txt:
6782         * docs/design/part-push-pull.txt:
6783         * docs/design/part-qos.txt:
6784         * docs/design/part-query.txt:
6785         * docs/design/part-scheduling.txt:
6786         * docs/design/part-seeking.txt:
6787         * docs/design/part-segments.txt:
6788         * docs/design/part-states.txt:
6789         Documentation updates and typo fixes.
6790
6791 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6792
6793         * plugins/elements/gstfakesink.c:
6794           Add some debug text to error message to indicate that
6795           we errored out on request.
6796
6797         * tools/gst-launch.c:
6798           When the state change to PLAYING fails, check for an
6799           error message on the bus and print it.
6800
6801 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6802
6803         translated by: Jorge González González <aloriel@gmail.com>
6804
6805         * po/LINGUAS:
6806         * po/es.po:
6807           Added Spanish translation.
6808
6809 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6810
6811         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6812         Fix printf arguments.
6813
6814 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6815
6816         * tests/check/generic/states.c:
6817           Improved state change unit test.
6818
6819 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6820
6821         * gst/gstbin.h:
6822           Move priv to the right place.
6823
6824         * gst/gstsystemclock.c:
6825           Add FIXME: and improve log.
6826
6827         * tests/check/Makefile.am:
6828         * tests/examples/manual/Makefile.am:
6829           Work with all types of registries.
6830
6831 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6832
6833         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6834         Don't unref the event after pushing it. Fixes #478401.
6835
6836 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6837
6838         * .cvsignore:
6839         * tests/examples/manual/.cvsignore:
6840           Ignore registries in any format.
6841
6842 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6843
6844         * gst/glib-compat-private.h:
6845           Add compatibility macro for g_intern_string() for
6846           GLib-2.8 (any reason we can't just bump the
6847           requirement to at least 2.10?)
6848
6849         * gst/gstpadtemplate.h:
6850         * gst/gstelementfactory.c:
6851         * gst/gstregistryxml.c:
6852         * gst/gstregistrybinary.c:
6853           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6854           up the internal code accordingly.  This shouldn't be a problem, since
6855           there is no reason external code could ever assume the string in such
6856           a structure is dynamically allocated unless it did that itself;  the
6857           use of g_strdup() is private to element factories.  The new code also
6858           saves some memory by putting pad template name strings into the GLib
6859           quark table instead of allocating them dynamically.
6860           Declaring this field constant fixes warnings with g++-4.2 when using
6861           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6862
6863 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6864
6865         * gst/gstelementfactory.c:
6866           Release static caps. Fixes #475723.
6867
6868 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6869
6870         * gst/gstinfo.c:
6871         * gst/gstinfo.h:
6872           Make some internal API take const gchar * instead of just
6873           gchar * to avoid compiler warnings with g++-4.2.2 when
6874           passing string constants (partially fixes #478092).
6875
6876 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6877
6878         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6879         A latency query fails when one of the sinks fail.
6880
6881         * gst/gstelement.c: (gst_element_set_base_time):
6882         Improve debugging.
6883
6884 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6885
6886         * gst/gstbin.c: (gst_bin_continue_func):
6887         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6888         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6889         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6890
6891         Fix minor compilation warnings shown with Forte.
6892
6893 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6894
6895         * plugins/elements/gstqueue.c: (apply_buffer),
6896         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6897         Measure queue level based on the diff between head and tail timestamps
6898         even when pushing the first buffer.
6899
6900 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6901
6902         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6903         (gst_base_sink_event), (gst_base_sink_change_state):
6904         Sinks that don't preroll can always be queried for the latency.
6905         Don't post ASYNC start when we are not async.
6906
6907 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6908
6909         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6910         (gst_queue_handle_sink_event), (gst_queue_chain),
6911         (gst_queue_push_one), (gst_queue_handle_src_query),
6912         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6913         * plugins/elements/gstqueue.h:
6914         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6915         push more buffers but allow pushing of EOS and NEWSEGMENT.
6916         Add some more debug info here and there. Fixes #476514.
6917
6918 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6919
6920         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6921         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6922         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6923         (gst_base_sink_set_flushing), (gst_base_sink_query),
6924         (gst_base_sink_change_state):
6925         Latency query is allowed after we are prerolled. Introduce a new flag
6926         for this and stop abusing other variables.
6927
6928 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6929
6930         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6931         Push OOB events downstream when we get them in send_event. This allows
6932         the application to insert events in the pipeline.
6933         Add some more comments.
6934
6935 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6936
6937         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6938         (do_bin_latency), (gst_bin_change_state_func):
6939         * gst/gstpipeline.c: (gst_pipeline_change_state):
6940         Move latency query from GstPipeline to GstBin so that we can also
6941         use it when async-handling is enabled on bins.
6942
6943 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6944
6945         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6946         (gst_base_src_do_sync), (gst_base_src_change_state):
6947         Update docs.
6948         Clean up the timestamping and syncing code for pseudo live sources.
6949
6950 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6951
6952         Patch by: Steve Fink  <sphink gmail com>
6953
6954         * docs/manual/appendix-checklist.xml:
6955           Mention less -R switch in the section about debug output (#474055).
6956
6957 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6958
6959         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6960         Queue can latency to the pipeline up to the configured max size in time.
6961         Report this fact in the latency query.
6962
6963 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6964
6965         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6966
6967         * libs/gst/controller/gstinterpolation.c:
6968         * libs/gst/controller/gstlfocontrolsource.c:
6969         Use gst_guint64_to_gdouble() when converting from a uint64 or
6970         GstClockTime to double to fix the build on win32. Fixes #474371.
6971
6972 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6973
6974         * gst/gstbuffer.c: (gst_buffer_finalize):
6975         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6976         When finalizing a buffer the complete struct is filled with 0xff,
6977         thus making a use of the buffer after the final unref impossible.
6978
6979 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6980
6981         * tests/check/libs/controller.c: (GST_START_TEST):
6982         Use fail_unless_equals_int(a, b) instead of
6983         fail_unless_equals (a == b) to get better output on failures.
6984
6985 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6986
6987         * tests/check/gst/gsturi.c:
6988           Also check for the other file URI variant on win32.
6989
6990 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6991
6992         * gst/gsturi.c: (gst_uri_get_location):
6993           If there's no hostname, we want to return 'c:/foo/bar.txt'
6994           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6995
6996         * tests/check/gst/gsturi.c:
6997           Unit test for the above and a few more things.
6998
6999 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7000
7001         * docs/design/part-live-source.txt:
7002         Add docs on how live sources should timestamp.
7003
7004         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7005         Add some more debug info.
7006         For subclasses that are live and like to sync, add aditional startup
7007         latency to sync time and timestamps so that we timstamp according to the
7008         design doc.
7009
7010 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7011
7012         * gst/gstbuffer.c:
7013           Also do a g_type_class_ref() for the subbuffer type in
7014           the init function.
7015
7016 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7017
7018         * docs/gst/gstreamer-sections.txt:
7019         * gst/gstpad.c: (gst_pad_peer_query):
7020         * gst/gstpad.h:
7021         Add function to perform a query on the peer of a pad.
7022         API: gst_pad_peer_query()
7023
7024 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7025
7026         * tests/check/gst/gstsystemclock.c:
7027           Cleanup the test a little (use gst-logging and not g_message). Improve
7028           test to check if a wait reached the target.
7029
7030 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7031
7032         * docs/libs/gstreamer-libs-sections.txt:
7033           Add new API to docs and fix the build.
7034
7035 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7036
7037         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7038         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7039         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7040         (gst_base_src_get_property), (gst_base_src_do_sync):
7041         * libs/gst/base/gstbasesrc.h:
7042         Add property to make the basesrc timestamp buffers based on the current
7043         running time.
7044         API: GstBaseSrc::do-timestamp
7045         API: gst_base_src_set_do_timestamp()
7046         API: gst_base_src_get_do_timestamp()
7047
7048 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7049
7050         * docs/random/release:
7051           Really make sure translations are up-to-date before
7052           a release (#465010).
7053
7054 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7055
7056         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7057         Always destroy the timer, also in error cases.
7058
7059 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7060
7061         * docs/manual/highlevel-xml.xml:
7062         Fix XML example code. Fixes #472714.
7063
7064 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7065
7066         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7067         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7068         (gst_base_sink_query):
7069         Protect eos and have_preroll with the OBJECT lock so we don't need to
7070         take the PREROLL lock when querying the latency. Fixes #473846.
7071
7072 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7073
7074         * gst/gstelement.c:
7075           Give some log-messages a category.
7076
7077 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7078
7079         * gst/gststructure.c:
7080         (gst_structure_fixate_field_nearest_fraction):
7081         Fix fraction list fixation code. Take the fraction with the smallest
7082         difference with the target instead of the first one in the list.
7083
7084         * tests/check/gst/gststructure.c: (GST_START_TEST),
7085         (gst_structure_suite):
7086         Added test to verify correct fraction list fixation behaviour.
7087
7088 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7089
7090         * win32/common/libgstreamer.def:
7091           Export gst_bus_add_signal_watch too.
7092
7093 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7094
7095         * docs/libs/gstreamer-libs-sections.txt:
7096         Add new methods to docs.
7097
7098         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7099         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7100         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7101         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7102         * libs/gst/base/gstbasesink.h:
7103         Add ts-offset property to fine-tune the synchronisation.
7104         API: GstBaseSink::ts-offset property
7105         API: gst_base_sink_set_ts_offset()
7106         API: gst_base_sink_get_ts_offset()
7107
7108 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7109
7110         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7111         (gst_base_sink_init), (gst_base_sink_set_sync),
7112         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7113         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7114         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7115         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7116         (gst_base_sink_get_property), (gst_base_sink_change_state):
7117         * libs/gst/base/gstbasesink.h:
7118         Add async property to instruct the sink never to inform the parent about
7119         ASYNC state changes, update docs.
7120         Check argument with g_return_* for the public functions.
7121         API: GstBaseSink::async property
7122         API: gst_base_sink_set_async_enabled()
7123         API: gst_base_sink_is_async_enabled()
7124
7125 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7126
7127         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7128         Improve debugging.
7129
7130         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7131         (gst_base_src_default_query), (gst_base_src_wait),
7132         (gst_base_src_do_sync), (gst_base_src_change_state):
7133         Rearrange some code so that we can add support for measuring the 
7134         startup latency.
7135
7136 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7137
7138         * docs/random/ensonic/dynlink.txt:
7139           More thoughs on this.
7140
7141         * plugins/elements/gstcapsfilter.c:
7142           Add bugzilla ticket number to FIXME comment.
7143
7144 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7145
7146         * docs/design/part-TODO.txt:
7147         * docs/design/part-block.txt:
7148         Update some docs.
7149
7150 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7151
7152         * gst/Makefile.am:
7153           Revert patch which uses $(gst_headers) instead of $^ because it
7154           breaks make dist.
7155
7156 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7157
7158         * tests/check/gst/gstbin.c: (GST_START_TEST):
7159           Fix leaks in the new unit test.
7160
7161 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7162
7163         * gst/gst.c:
7164           Don't use GST_INFO before the debug system is actually initialised
7165           (shouldn't do any harm, but won't print anything either, so we can
7166           just as well remove it).
7167
7168         * gst/gstinfo.h:
7169           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7170           compilers that don't support variadic macros (such as MSVC), should
7171           check for debug_level <= __gst_debug_min as well, since that's the
7172           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7173           inline helper functions. Should improve performance a bit, but also
7174           makes sure uses of GST_INFO et.al are ignored if the debugging
7175           system isn't initialised yet (instead of printing an assertion
7176           failure).
7177
7178 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7179
7180         patch by: David Nečas <yeti@physics.muni.cz>
7181
7182         * gst/Makefile.am:
7183           Replace some non portable makefile constructs.
7184
7185 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7186
7187         * common/gtk-doc-plugins.mak:
7188           Grrrrr. Don't remove the types file on make clean.
7189
7190 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7191
7192         * tools/gst-launch.1.in:
7193         Add colorspace to example pipeline. Fixes #458274.
7194
7195 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7196
7197         * docs/random/release:
7198           The release manager should run 'make download-po' before making a
7199           release to make sure translations are up-to-date.
7200
7201         * po/LINGUAS:
7202         * po/be.po:
7203         * po/pl.po:
7204         * po/rw.po:
7205           Add some new translations.
7206
7207 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7208
7209         * tools/gst-launch.c: (event_loop), (main):
7210         Don´t try to do any state management when a live pipeline posts
7211         buffering messages.
7212         Also make the buffering string translatable.
7213
7214 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7215
7216         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7217         (bin_handle_async_start), (gst_bin_handle_message_func):
7218         Improve debugging.
7219         When adding elements, insert messages into the bus of the newly added
7220         element and make sure the element is the source of the message. This
7221         allows the parent bin to intercept the message and do the
7222         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7223         messages to the app (which is not allowed).
7224         Update some docs.
7225
7226         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7227         Fix testsuite so that is does not work around messages that should not
7228         have been posted in the first place.
7229
7230 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7231
7232         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7233         (update_degree), (gst_bin_sort_iterator_next):
7234         Fix annoying bug in the sorted iterator where a sink that is not really
7235         a sink (when it has downstream links) screwed up the iterator.
7236
7237         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7238         Unit test to verify the fix.
7239
7240 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7241
7242         * gst/gstmessage.h:
7243         Add some more docs for the messages.
7244
7245         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7246         (gst_base_sink_query):
7247         Add some more debugging.
7248
7249         * tools/gst-launch.c: (event_loop):
7250         When interrupting, don't try to set pipeline to PAUSED twice.
7251
7252 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7253
7254         
7255         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7256         (bin_handle_async_start), (gst_bin_handle_message_func):
7257         Move ASYNC_START message posting to where it belongs, similar to
7258         async_done. 
7259         Don't post ASYNC_START when we are in error. 
7260         Post ASYNC_START when we added an async element to a bin.
7261
7262 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7263
7264         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7265         generation from vargs. Fixes #466595.
7266
7267 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7268
7269         * gst/gstbin.c: (gst_bin_element_set_state):
7270         Always change the state of a NO_PREROLL element even if it has ASYNC
7271         elements inside (in case of a bin).
7272
7273         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7274         Unit test for this case.
7275
7276 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7277
7278         * libs/gst/check/gstbufferstraw.c:
7279         * libs/gst/check/gstcheck.h:
7280         * libs/gst/controller/gstcontroller.c:
7281         * libs/gst/controller/gstcontrolsource.h:
7282         * libs/gst/controller/gstlfocontrolsource.h:
7283         * plugins/elements/gstcapsfilter.h:
7284         * plugins/elements/gstfdsink.h:
7285         * plugins/elements/gstfdsrc.h:
7286           Add more missing docs.
7287
7288 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7289
7290         * gst/gststructure.c:
7291         Add Since tag to docs.
7292
7293 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7294
7295         * docs/gst/gstreamer-sections.txt:
7296         * gst/gststructure.c: (gst_structure_get_uint):
7297         * gst/gststructure.h:
7298         Add function to get uint from a structure.
7299         API: gst_structure_get_uint()
7300
7301 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7302
7303         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7304         (gst_caps_intersect):
7305         Fix proper check for simple caps.
7306
7307 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7308
7309         * docs/gst/Makefile.am:
7310         * docs/libs/Makefile.am:
7311           Remove cruft and do some cleanups.
7312
7313         * docs/gst/gstreamer-docs.sgml:
7314         * docs/libs/gstreamer-libs-docs.sgml:
7315           Prepare for comming gtkdoc features (rebase against online docs).
7316
7317 2007-08-10  Michael Smith <msmith@fluendo.com>
7318
7319         * docs/gst/gstreamer-sections.txt:
7320           Add gst_registry_add_path to docs.
7321
7322 2007-08-10  Michael Smith <msmith@fluendo.com>
7323
7324         * gst/gstregistry.h:
7325           Add gst_registry_add_path, which was missing from this header.
7326
7327 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7328
7329         * libs/gst/controller/gstlfocontrolsource.c:
7330           Printf format fix.
7331
7332 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7333
7334         * libs/gst/base/gstbasesink.c:
7335           Don't send an async_start message during downwards state change if 
7336           target state is less than READY
7337
7338 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7339
7340         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7341
7342         * po/LINGUAS:
7343         * po/hu.po:
7344           Added Hungarian translation.
7345
7346 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7347
7348         * po/fi.po:
7349         * po/it.po:
7350         * po/nl.po:
7351         * po/sv.po:
7352         * po/uk.po:
7353           Updated translations.
7354
7355 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7356
7357         * libs/gst/controller/Makefile.am:
7358         Dist gstlfocontrolsourceprivate.h
7359
7360 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7361
7362         * docs/libs/gstreamer-libs.types:
7363         Don't register the enum type gst_lfo_waveform_get_type() in the
7364         .types file - only GObject derived types belong.
7365
7366 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7367
7368         Patch by: <arenevier at fdn dot fr>
7369
7370         * gst/gstbuffer.h:
7371         Remove comma from last element in enum to avoid compile errors when
7372         using -pendantic. Fixes #464366.
7373
7374 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7375
7376         * docs/design/part-TODO.txt:
7377         Add some more TODO items
7378
7379         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7380         Improve debugging.
7381
7382         * gst/gstcaps.c: (gst_caps_intersect):
7383         Optimize trivial intersection case between identical caps pointers.
7384
7385         * gst/gstelement.c: (gst_element_continue_state),
7386         (gst_element_set_state_func):
7387         * gst/gstpad.c:
7388         Fix spelling and grammar mistakes.
7389
7390 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7391
7392         * po/POTFILES.in:
7393         * po/POTFILES.skip:
7394           Update POTFILES. Fixes #461599.
7395
7396 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7397
7398         * gst/gst.c:
7399         Fix confusing typo in debug output.
7400
7401 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7402
7403         reviewed by: Stefan Kost <ensonic@users.sf.net>
7404
7405         * libs/gst/controller/Makefile.am:
7406         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7407         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7408         (gst_lfo_control_source_new),
7409         (gst_lfo_control_source_set_waveform),
7410         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7411         (gst_lfo_control_source_finalize),
7412         (gst_lfo_control_source_dispose),
7413         (gst_lfo_control_source_set_property),
7414         (gst_lfo_control_source_get_property),
7415         (gst_lfo_control_source_class_init):
7416         * libs/gst/controller/gstlfocontrolsource.h:
7417         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7418         API: Add GstLFOControlSource, a control source that gives values
7419         for specific timestamps based on several periodic waveforms.
7420         Fixes #459717.
7421
7422         * tests/check/libs/controller.c: (GST_START_TEST),
7423         (gst_controller_suite):
7424         * docs/libs/gstreamer-libs-docs.sgml:
7425         * docs/libs/gstreamer-libs-sections.txt:
7426         * docs/libs/gstreamer-libs.types:
7427         Add documentation and unit tests for GstLFOControlSource.
7428
7429 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7430
7431         * configure.ac:
7432         Back to CVS
7433
7434 === release 0.10.14 ===
7435
7436 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7437
7438         * configure.ac:
7439           releasing 0.10.14, "Breathing Vacuum"
7440
7441 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7442
7443         * gst/gstelement.c: (gst_element_class_set_details_simple):
7444         * gst/gstelement.h:
7445           Make strings passed to gst_element_class_set_details_simple()
7446           constant, as they should be (#462752).
7447
7448 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7449
7450         * gst/gstbin.c: (gst_bin_change_state_func),
7451         (bin_handle_async_done), (gst_bin_handle_message_func):
7452         Don't forget about the fact that some element went ASYNC even after a
7453         resync. This makes us post the ASYNC_DONE message correctly.
7454         Fixes #462558.
7455
7456 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7457
7458         * gst/gstregistry.c: (gst_registry_add_feature):
7459         When replacing an existing feature in the registry, make sure to
7460         continue holding a reference until we've replaced the name string
7461         within our feature hash table. Make sure to use g_hash_table_replace
7462         instead of g_hash_table_insert to ensure the new name string is used
7463         as a key instead of the old one that we're about to free.
7464         Fixes: #462085
7465
7466 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7467
7468         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7469         (gst_plugin_feature_set_name):
7470         Revert patch from #459466 until after the release and we can work
7471         out exactly what the problem is (if any).
7472
7473 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7474
7475         * docs/gst/gstreamer-sections.txt:
7476         * gst/gsttaglist.c:
7477         * gst/gsttaglist.h:
7478           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7479
7480 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7481
7482         * docs/libs/Makefile.am:
7483         Include our build-prefix libs and includes before the generic ones to
7484         avoid linking against the installed libs when we want the build-tree
7485         ones.
7486
7487 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7488
7489         Patch by: Steve Fink  <sphink gmail com>
7490
7491         * docs/pwg/building-testapp.xml:
7492           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7493           if people try to build or install the example from the plugin
7494           template against a GStreamer from package using the configure
7495           defaults.
7496
7497 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7498
7499         Patch by: Steve Fink  <sphink gmail com>
7500
7501         * tools/gst-inspect.1.in:
7502           Document --print-all and --print-plugin-auto-install-info command
7503           line options in man page.
7504
7505 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7506
7507         * docs/gst/gstreamer-sections.txt:
7508         Add docs for new api function.
7509
7510 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7511
7512         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7513         * gst/gstelementfactory.h:
7514         API: gst_element_factory_has_interface()
7515         Added method to check if an element factory implements a named
7516         interface.
7517
7518 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7519
7520         * configure.ac:
7521         * docs/gst/gstreamer.types.in:
7522           Another conditional doc check.
7523
7524         * gst/gstmessage.c:
7525         * gst/gstparamspecs.h:
7526         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7527         * gst/gstvalue.c:
7528         * gst/gstxml.h:
7529           API-doc fixes.
7530
7531 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7532
7533         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7534         (gst_registry_binary_load_feature),
7535         (gst_registry_binary_load_plugin),
7536         (gst_registry_binary_read_cache):
7537           Print error just once and with additional info.
7538
7539 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7540
7541         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7542         (helper_find_suggest), (helper_find_get_length),
7543         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7544         (gst_type_find_helper_for_buffer):
7545           Cleanup the typefindhelper code and add private doc comments.
7546
7547 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7548
7549         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7550         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7551         Fix capsfilter for cases where the caps set on capsfilter will provide
7552         additional information.
7553         Fixes #449197
7554
7555 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7556
7557         * gst/gsttypefindfactory.c:
7558           Fix docs that recommened wrong function to use.
7559
7560 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7561
7562         * tools/gst-inspect.c: (print_plugin_features):
7563           Also give media-type for typefinders in element output.
7564
7565 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7566
7567         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7568         (gst_registry_remove_features_for_plugin_unlocked),
7569         (gst_registry_add_feature), (gst_registry_remove_feature),
7570         (gst_registry_lookup_feature_locked):
7571         * gst/gstregistry.h:
7572           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7573           Fixes #459501.
7574
7575 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7576
7577         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7578         (gst_plugin_feature_set_name):
7579           Avoid double memory usage for pluginfeature names. Fixes #459466.
7580
7581 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7582
7583         * gst/gstpad.h:
7584           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7585           driving the pipeline may need to explicitly check for NOT_LINKED as
7586           well, since IS_FATAL doesn't cover that.
7587
7588 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7589
7590         * docs/pwg/advanced-types.xml:
7591           Fix typo and duplicate entry in video formats list.
7592
7593 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7594
7595         * libs/gst/controller/gstinterpolation.c:
7596         Also round to the nearest int when using cubic interpolation.
7597
7598 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7599
7600         * libs/gst/controller/gstinterpolation.c:
7601         When linearly interpolating integer types, round to the nearest int
7602         by adding 0.5. Don't do it for float/double types.
7603         Fixes the failing controller test on my machine, which is somehow
7604         rounding differently than on the buildbots.
7605
7606 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7607
7608         * tools/gst-plot-timeline.py:
7609           Better log parsing (categories can have -). Adjust text vs. lines, so
7610           that they span the same y-range.        
7611
7612 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7613
7614         * docs/random/ensonic/audiobaseclasses.txt:
7615         * docs/random/ensonic/dynlink.txt:
7616         * docs/random/ensonic/profiling.txt:
7617           Save my thoughts.
7618
7619         * docs/random/moving-plugins:
7620           Add note to use g_assert type macros.
7621
7622 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7623
7624         * configure.ac:
7625         * libs/gst/check/Makefile.am:
7626           Add libm check as we use in for plugins.
7627
7628 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7629
7630         * gst/gstbin.c: (gst_bin_continue_func):
7631         Check that the state_cookie hasn't changed since the continue_func
7632         was scheduled. Avoids problems where the state changes back to
7633         something it shouldn't be because it was changed in the meantime.
7634
7635 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7636
7637         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7638         (gst_registry_binary_save_string),
7639         (gst_registry_binary_save_pad_template),
7640         (gst_registry_binary_save_feature),
7641         (gst_registry_binary_save_plugin),
7642         (gst_registry_binary_load_feature),
7643         (gst_registry_binary_load_plugin),
7644         (gst_registry_binary_read_cache):
7645           Fix memory leak. Be less verbose in the log.
7646
7647 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7648
7649         * tests/check/elements/.cvsignore:
7650         Add file to cvsignore as commanded.
7651
7652 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7653
7654         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7655         (mq_dummypad_event), (run_output_order_test):
7656         Use a GStaticMutex to protect all cases where libcheck
7657         fail_if/fail_unless macros might be called from multiple threads
7658         simultaneously to avoid errors like:
7659           "check_pack.c:107: :-1081725400:Bad message type arg"
7660
7661 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7662
7663         * tests/check/pipelines/stress.c: (GST_START_TEST):
7664         Make sure we set the pipeline back to the NULL state before
7665         dropping our final reference.
7666
7667 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7668
7669         * tests/check/elements/tee.c: (GST_START_TEST):
7670         Make the tee stress-test a little less stressful so it doesn't just
7671         time out on slow-machines, and remove a small race when it's starting 
7672         up by adding a get_state() call.
7673
7674 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7675
7676         * gst/gst.c:
7677           Avoid reading registry twice on startup. Fixes #457322.
7678
7679 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7680
7681         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7682         * pkgconfig/gstreamer-check.pc.in:
7683         Substitute the CFLAGS for libcheck into our .pc file too so that
7684         dependent modules will pick it up properly if libcheck is installed
7685         into some other prefix.
7686
7687 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7688
7689         * configure.ac:
7690         Revert the pkg-config check for libcheck, since it pulls in the
7691         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7692         a proper solution, either from the check project, or something else.
7693
7694 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7695
7696         * configure.ac:
7697           Use pkg-config to locate check.
7698
7699 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7700
7701         * gst/gsttaglist.c:
7702           Fix doc syntax.
7703
7704         * gst/gstutils.c:
7705         * gst/gstutils.h:
7706           Add deprecation guards.
7707
7708         * libs/gst/base/gstcollectpads.h:
7709           Don't document object (this is implicitly private).
7710
7711 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7712
7713         * gst/gststructure.c: (gst_structure_parse_value):
7714           When deserialising foo=bar without a type cast, check if it's a
7715           boolean before falling back to a string type, otherwise things like
7716           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7717           because the filtercaps end up having a signed=(string)true field,
7718           which causes problems later when intersection caps.
7719
7720         * tests/check/gst/gststructure.c: (GST_START_TEST):
7721           Add a unit test for this.
7722
7723 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7724
7725         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7726
7727         * libs/gst/controller/Makefile.am:
7728         * libs/gst/controller/gstcontroller.c:
7729         (gst_controlled_property_add_interpolation_control_source),
7730         (gst_controlled_property_new), (gst_controlled_property_free),
7731         (gst_controller_find_controlled_property),
7732         (gst_controller_new_valist), (gst_controller_new_list),
7733         (gst_controller_new), (gst_controller_remove_properties_valist),
7734         (gst_controller_remove_properties_list),
7735         (gst_controller_remove_properties),
7736         (gst_controller_set_property_disabled),
7737         (gst_controller_set_disabled), (gst_controller_set_control_source),
7738         (gst_controller_get_control_source), (gst_controller_get),
7739         (gst_controller_sync_values), (gst_controller_get_value_array),
7740         (_gst_controller_dispose), (gst_controller_get_type),
7741         (gst_controlled_property_set_interpolation_mode),
7742         (gst_controller_set), (gst_controller_set_from_list),
7743         (gst_controller_unset), (gst_controller_unset_all),
7744         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7745         * libs/gst/controller/gstcontroller.h:
7746         * libs/gst/controller/gstcontrollerprivate.h:
7747         * libs/gst/controller/gstcontrolsource.c:
7748         (gst_control_source_class_init), (gst_control_source_init),
7749         (gst_control_source_get_value),
7750         (gst_control_source_get_value_array), (gst_control_source_bind):
7751         * libs/gst/controller/gstcontrolsource.h:
7752         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7753         (gst_object_get_control_source):
7754         * libs/gst/controller/gstinterpolation.c:
7755         (gst_interpolation_control_source_find_control_point_node),
7756         (gst_interpolation_control_source_get_first_value),
7757         (_interpolate_none_get), (interpolate_none_get),
7758         (interpolate_none_get_boolean_value_array),
7759         (interpolate_none_get_enum_value_array),
7760         (interpolate_none_get_string_value_array),
7761         (_interpolate_trigger_get), (interpolate_trigger_get),
7762         (interpolate_trigger_get_boolean_value_array),
7763         (interpolate_trigger_get_enum_value_array),
7764         (interpolate_trigger_get_string_value_array):
7765         * libs/gst/controller/gstinterpolationcontrolsource.c:
7766         (gst_control_point_free), (gst_interpolation_control_source_reset),
7767         (gst_interpolation_control_source_new),
7768         (gst_interpolation_control_source_set_interpolation_mode),
7769         (gst_interpolation_control_source_bind),
7770         (gst_control_point_compare), (gst_control_point_find),
7771         (gst_interpolation_control_source_set_internal),
7772         (gst_interpolation_control_source_set),
7773         (gst_interpolation_control_source_set_from_list),
7774         (gst_interpolation_control_source_unset),
7775         (gst_interpolation_control_source_unset_all),
7776         (gst_interpolation_control_source_get_all),
7777         (gst_interpolation_control_source_get_count),
7778         (gst_interpolation_control_source_init),
7779         (gst_interpolation_control_source_finalize),
7780         (gst_interpolation_control_source_dispose),
7781         (gst_interpolation_control_source_class_init):
7782         * libs/gst/controller/gstinterpolationcontrolsource.h:
7783         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7784         API: Refactor GstController into the core controller which can take
7785         a GstControlSource for providing actual values for timestamps.
7786         Implement a interpolation control source and use this for backward
7787         compatibility, deprecate a bunch of functions that are now handled
7788         by GstControlSource or GstInterpolationControlSource.
7789         Make it possible to disable the controller completely or only for
7790         specific properties. Fixes #450711.
7791         * docs/libs/gstreamer-libs-docs.sgml:
7792         * docs/libs/gstreamer-libs-sections.txt:
7793         * docs/libs/gstreamer-libs.types:
7794         Add new functions and classes to the docs.
7795         * tests/check/libs/controller.c: (GST_START_TEST),
7796         (gst_controller_suite):
7797         * tests/examples/controller/audio-example.c: (main):
7798         Port unit test and example to the new API and add some new
7799         unit tests.
7800
7801 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7802
7803         Patch by: Mark Nauwelaerts <manauw at skynet be>
7804
7805         * plugins/elements/gstmultiqueue.c:
7806         (gst_multi_queue_get_internal_links), (apply_buffer),
7807         (single_queue_overrun_cb), (gst_single_queue_new):
7808         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7809         the pipeline layout can be tracked correctly. Fixes #453732.
7810
7811 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7812
7813         * docs/gst/Makefile.am:
7814         * docs/libs/Makefile.am:
7815         * docs/plugins/Makefile.am:
7816           Simplify --extra-dir as gtkdoc scans recursively.
7817
7818 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7819
7820         * tools/gst-launch.c: (main):
7821         When we got an error, there is no point in waiting for preroll when
7822         shutting down.
7823
7824 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7825
7826         * plugins/elements/gsttee.c: (gst_tee_base_init),
7827         (gst_tee_request_new_pad), (gst_tee_release_pad),
7828         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7829         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7830         (gst_tee_chain):
7831         Be a lot smarter when deciding what srcpad to use for proxying
7832         the buffer_alloc. Also handle pad added/removed when doing so.
7833         Fixes #357959.
7834         Keep track of what pads we already pushed on in case we have pads
7835         added/removed while pushing. Fixes #374639 
7836
7837         * tests/check/Makefile.am:
7838         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7839         (tee_suite):
7840         Added unit test for pad resync.
7841
7842 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7843
7844         * po/nl.po:
7845         * po/sv.po:
7846           Updated translations.
7847
7848 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7849
7850         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7851
7852         * po/LINGUAS:
7853         * po/fi.po:
7854           Added new Finnish translation.
7855
7856 2007-06-28  Wim Taymans  <wim@fluendo.com>
7857
7858         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7859         (single_queue_overrun_cb):
7860         When figuring out when a queue is filled, use our internal time estimate
7861         based on segments, just like check_full does.
7862
7863 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7864
7865         * gst/gstminiobject.c: (gst_mini_object_get_type):
7866           Remove 3 do-nothing methods.
7867
7868 2007-06-27  Wim Taymans  <wim@fluendo.com>
7869
7870         Patch by: Tim Angus <tim at ngus dot net>
7871
7872         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7873         (gst_capsfilter_set_property):
7874         Take a reference instead of a copy when setting "caps".
7875         Fix documentation to clarify this behaviour. Fixes #449414.
7876
7877 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7878
7879         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7880         * gst/gstplugin.c: (gst_plugin_init):
7881         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7882         * gst/gstquery.c: (gst_query_get_type):
7883         * gst/gstregistry.c: (gst_registry_init):
7884         * gst/gsturi.c: (gst_uri_handler_base_init):
7885           Remove empty instance_init() functions to save relocs and lessen the
7886           noise. Remove some of the function prototypes that are doubled by
7887           G_DEFINE_TYPE.
7888           
7889 2007-06-27  Wim Taymans  <wim@fluendo.com>
7890
7891         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7892
7893         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7894         Add peer and direction in the XML serialisation of ghostpads.
7895         Fixes #449226.
7896
7897 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7898
7899         * configure.ac:
7900           Preserve useful information, thanks Tim.
7901
7902 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7903
7904         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7905         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7906         (gst_single_queue_push_one), (gst_multi_queue_loop),
7907         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7908         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7909         (compute_high_id), (gst_single_queue_new):
7910         * plugins/elements/gstmultiqueue.h:
7911         Take the multiqueue lock when updating the fill level so we don't get
7912         confused. 
7913
7914         After applying a buffer or event on the src pad segment, make sure to
7915         call gst_data_queue_limits_changed() to get the data queue to unblock
7916         and check the filled state again.
7917         
7918         Rework the not-linked pad handling so the logic is that not-linked 
7919         pads can push as fast as they like, but only so they never get 
7920         ahead of any linked pads.
7921
7922         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7923         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7924         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7925
7926         Add a test to check that not-linked pads always stay behind
7927         linked pads.
7928
7929         Fixes: #430682
7930
7931 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7932
7933         * docs/random/release:
7934           Some updates to the release procedure.
7935
7936 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7937
7938         * gst/gstelementfactory.c: (__gst_element_details_clear):
7939           Microoptimization that saves stunning 80 bytes.
7940
7941 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7942
7943         * docs/plugins/gstreamer-plugins.args:
7944         * docs/plugins/inspect/plugin-coreelements.xml:
7945         * docs/plugins/inspect/plugin-coreindexers.xml:
7946           Update docs with caps info.
7947
7948 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7949
7950         * po/it.po:
7951           Updated Italian translation.
7952
7953 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7954
7955         * ChangeLog:
7956         * po/vi.po:
7957           Update Vietnamese translations.
7958
7959 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7960
7961         * libs/gst/base/gstbasesink.c:
7962           Remove unused signal enum.
7963
7964 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7965
7966         * docs/gst/gstreamer-sections.txt:
7967         * gst/gstelement.c:
7968         * gst/gstutils.c: (gst_type_register_static_full):
7969         Beef up and include the docs for gst_type_register_static_full and
7970         gst_element_class_set_details_simple and add the API keyword
7971         in the ChangeLog.
7972
7973 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7974
7975         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7976         (update_time_level), (gst_single_queue_push_one),
7977         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7978         (single_queue_overrun_cb), (single_queue_underrun_cb),
7979         (single_queue_check_full):
7980         Fix setting max-* properties after adding queues.
7981         Use IS_FILLED for checking visible items.
7982         Signal overrun if multiple queues overrun.
7983         Add extra debug output.
7984         Patch by: Wim Taymans <wim@fluendo.com>
7985
7986 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7987
7988         * gst/gstelement.c: (gst_element_class_set_details_simple):
7989         * gst/gstelement.h:
7990         * gst/gstutils.c: (gst_type_register_static_full):
7991         * gst/gstutils.h:
7992         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7993         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7994         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7995         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7996         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7997         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7998         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7999         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8000         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8001         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8002         (apply_buffer), (gst_queue_chain):
8003         * plugins/elements/gsttee.c: (gst_tee_base_init):
8004         * plugins/elements/gsttypefindelement.c:
8005         (gst_type_find_element_base_init),
8006         (gst_type_find_element_class_init):
8007           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8008           API: add gst_type_register_static_full
8009           API: add gst_element_class_set_details_simple
8010
8011 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8012
8013         * docs/pwg/advanced-types.xml:
8014           Fix typo in iana.org URI.
8015
8016 2007-06-19  Andy Wingo  <wingo@pobox.com>
8017
8018         * tests/check/pipelines/simple-launch-lines.c
8019         (test_state_change_returns): Enable pull-mode tests now that
8020         basesink has been fixed.
8021
8022         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8023         Changed from gst_base_sink_is_prerolled, reversing the sense of
8024         the return value. Returns FALSE also if the sink is in pull mode,
8025         in which case it needs no preroll.
8026         (gst_base_sink_query, gst_base_sink_change_state): Update for
8027         needs_preroll change.
8028         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8029         chaining up, in which we return SUCCESS directly if we activated
8030         in pull mode instead of ASYNC. Involves countering an async_start
8031         message sent before chaining up; not sure if this is correct, in
8032         an ideal world we only send async-start when activating in push
8033         mode.
8034
8035         * tests/check/pipelines/simple-launch-lines.c
8036         (test_state_change_returns): New test, partially disabled until
8037         basesink is fixed.
8038
8039 2007-06-19  Wim Taymans  <wim@fluendo.com>
8040
8041         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8042         (gst_multi_queue_sink_event):
8043         Fix event leak.
8044
8045 2007-06-19  Wim Taymans  <wim@fluendo.com>
8046
8047         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8048         (gst_bin_change_state_func), (bin_push_state_continue),
8049         (bin_handle_async_start), (bin_handle_async_done),
8050         (gst_bin_handle_message_func):
8051         Move the common code for posting state-change messages into
8052         one function.
8053         Broadcast the state signal after we posted the messages.
8054         Mark the bin as busy when it's doing a state-change.
8055         Make sure async-start/done messages don't interfere with the bin's
8056         state when it's busy.
8057         After the state change, let the bin check which elements completed the
8058         state change while it was busy so that it can update its state.
8059
8060 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8061
8062         * docs/random/release:
8063         Add a note about updating the doap file to the release checklist
8064
8065 2007-06-18  Wim Taymans  <wim@fluendo.com>
8066
8067         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8068         (gst_single_queue_push_one), (gst_multi_queue_chain),
8069         (gst_multi_queue_sink_event):
8070         Make sure we don't reference the buffer/event after we have given away
8071         ownership in the queue.
8072
8073 2007-06-18  Wim Taymans  <wim@fluendo.com>
8074
8075         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8076         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8077         Update queue state _after_ adding the item in the queue because else we
8078         could end up being full without the element added yet.
8079
8080 2007-06-18  Wim Taymans  <wim@fluendo.com>
8081
8082         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8083         (gst_bin_remove_func), (gst_bin_get_state_func),
8084         (gst_bin_element_set_state), (gst_bin_continue_func),
8085         (bin_push_state_continue), (bin_handle_async_start),
8086         (bin_handle_async_done), (gst_bin_handle_message_func):
8087         * gst/gstbin.h:
8088         Immediatly commit the toplevel bin state when receiving an async-done
8089         message. This enables us to avoid spawning a thread to commit the state
8090         in some common cases and it also avoids some races.
8091         Avoid spawning a state thread when adding/removing async elements to a
8092         toplevel bin. Instead we immediatly update the bin state.
8093         Get rid of iterating all the children when getting the state in the bin
8094         because it is now always up-to-date.
8095         Fix bug where locked elements would always return _SUCCESS even it they
8096         returned NO_PREROLL before being locked.
8097         Fix the order of the state_change, async-start/done messages that was
8098         sometimes incorrect.
8099         Mark the state_dirty field as deprecated, we don't need it anymore as we
8100         are always up-to-date.
8101
8102         * gst/gstelement.c: (gst_element_get_state_func),
8103         (gst_element_continue_state):
8104         Small debug inprovements.
8105         Return the previous element state return when nothing is pending instead
8106         of blindly returning SUCCESS.
8107
8108         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8109         (gst_sinks_suite):
8110         Add a whole bunch of new testcases.
8111
8112 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8113
8114         * po/uk.po:
8115         * po/vi.po:
8116           Update translations.
8117
8118 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8119
8120         * gst/gstpad.c:
8121         Fix typo in the docs.
8122
8123 2007-06-15  Wim Taymans  <wim@fluendo.com>
8124
8125         * docs/libs/gstreamer-libs-sections.txt:
8126         Add docs for new methods.
8127
8128 2007-06-15  Wim Taymans  <wim@fluendo.com>
8129
8130         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8131         (gst_multi_queue_item_new):
8132         Don't use GSlice because we don't depend on >= 2.10 yet.
8133
8134 2007-06-15  Wim Taymans  <wim@fluendo.com>
8135
8136         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8137         (update_time_level), (apply_segment), (apply_buffer),
8138         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8139         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8140         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8141         (single_queue_underrun_cb), (single_queue_check_full):
8142         Remove debug printf.
8143
8144 2007-06-15  Wim Taymans  <wim@fluendo.com>
8145
8146         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8147         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8148         (gst_data_queue_set_flushing), (gst_data_queue_push),
8149         (gst_data_queue_pop), (gst_data_queue_drop_head),
8150         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8151         * libs/gst/base/gstdataqueue.h:
8152         Various cleanups.
8153         Added methods to get the current levels and to inform the queue that the
8154         'full' limits changed.
8155
8156         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8157         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8158         (gst_single_queue_flush), (update_time_level), (apply_segment),
8159         (apply_buffer), (gst_single_queue_push_one),
8160         (gst_multi_queue_item_steal_object),
8161         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8162         (gst_multi_queue_loop), (gst_multi_queue_chain),
8163         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8164         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8165         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8166         (single_queue_underrun_cb), (single_queue_check_full),
8167         (gst_single_queue_new):
8168         Keep track of time in the queue by measuring the difference between
8169         running_time on input and output. This gives more accurate results and
8170         can compensate for segments correctly.
8171         Make a queue by default only 5 buffers deep. We will now increase the
8172         buffer size depending on the filledness of the other queues.
8173         Factor out commong flush code.
8174         Make sure we don't add additional refcounts to buffers when we can avoid
8175         it.
8176         Propagate GstFlowReturn differently.
8177         Use GSlice for intermediate GstMultiQueueItems.
8178         Keep track of EOS.
8179         Resize queues on over and underruns based on filled level of other
8180         queues.
8181         When checking if the queue is filled, prefer to measure in time if we
8182         can and fall back to bytes when no time is known.
8183
8184         * plugins/elements/gstqueue.c:
8185         Fix return value.
8186
8187 2007-06-15  Wim Taymans  <wim@fluendo.com>
8188
8189         * libs/gst/base/gstbasetransform.c:
8190         (gst_base_transform_sink_event):
8191         Work around the brokenness of the event vmethod in basetransform. Prefer
8192         to return TRUE when the subclass returned FALSE (meaning don't forward
8193         the event). 
8194
8195         * libs/gst/base/gstbasetransform.h:
8196         Clarify the docs.
8197
8198 2007-06-15  Wim Taymans  <wim@fluendo.com>
8199
8200         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8201         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8202         (gst_base_src_default_query), (gst_base_src_get_range),
8203         (gst_base_src_start):
8204         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8205         Improve debugging.
8206
8207 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8208
8209         * docs/pwg/advanced-types.xml:
8210           Added more formats to caps table.
8211
8212 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8213
8214         * tools/gst-launch.c: (main):
8215           Remove crufy code. GOption does not need this workaround.
8216
8217 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8218
8219         * libs/gst/controller/gstcontroller.c:
8220         (gst_controlled_property_set_interpolation_mode):
8221           Fix wrong getter for enums in controller.
8222
8223 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8224
8225         * libs/gst/check/gstcheck.c: (gst_check_init):
8226           Intercept criticals and warnings in the Gst-Phonon log domain, so
8227           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8228           well.
8229         
8230 2007-06-14  Edward Hervey  <edward@fluendo.com>
8231
8232         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8233         Since this file doesn't include "gst.h" it will not go through the
8234         macros that disable GST_LOG if debugging was disabled.
8235
8236 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8237
8238         * libs/gst/check/Makefile.am:
8239         * libs/gst/check/gstcheck.h:
8240         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8241         * pkgconfig/gstreamer-check.pc.in:
8242           Ugly 'fix' for the controller unit test on the p5 bot: in
8243           fail_unless_equals_float() check whether the values are 'almost
8244           equal' by allowing a small absolute error, which should be good
8245           enough for our use cases (normal numbers and values close to 0).
8246           Proper fixage left to floating point arithmetic aficionados.
8247
8248 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8249
8250         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8251         (gst_base_sink_render_object), (gst_base_sink_get_position):
8252           Add two breaks thats where missing.
8253
8254 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8255
8256         * docs/libs/gstreamer-libs-sections.txt:
8257         * libs/gst/check/gstcheck.h:
8258           API: add fail_unless_equals_float() and assert_equals_float().
8259           Add documentation for some of the macros.
8260
8261         * tests/check/libs/controller.c: (GST_START_TEST):
8262           Use newly-added asserts.
8263
8264 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8265
8266         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8267           Show the caps change in the log to help spotting the case of not
8268           exactly matching caps.
8269
8270 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8271
8272         * docs/pwg/building-boiler.xml:
8273           Fix typos, spotted by Thijs Vermeir (#447190).
8274
8275 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8276
8277         * docs/plugins/tmpl/.cvsignore:
8278         Ignore file to keep the buildbots happy
8279
8280 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8281
8282         * docs/plugins/Makefile.am:
8283         * docs/plugins/gstreamer-plugins-docs.sgml:
8284         * docs/plugins/gstreamer-plugins-sections.txt:
8285         Pull fdsink into the docs too.
8286
8287 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8288
8289         * libs/gst/controller/gstinterpolation.c:
8290         Actually use the new functions with min/max checks for the trigger and
8291         none interpolation modes for get() and get_value_array() instead of
8292         just the latter.
8293
8294 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8295
8296         * libs/gst/controller/gstcontroller.c:
8297         (gst_controlled_property_free):
8298         Unset the minimum and maximum GValues when freeing the corresponding
8299         GstControllerProperty struct.
8300
8301 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8302
8303         * libs/gst/controller/gstcontroller.c:
8304         (gst_controlled_property_new):
8305         * libs/gst/controller/gstcontrollerprivate.h:
8306         * libs/gst/controller/gstinterpolation.c:
8307         (gst_controlled_property_find_control_point_node),
8308         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8309         (interpolate_none_get_string_value_array),
8310         (interpolate_trigger_get),
8311         (interpolate_trigger_get_enum_value_array),
8312         (interpolate_trigger_get_string_value_array):
8313         Protect against values larger or smaller than the minimum or maximum
8314         allowed value for the property when using values that can be compared.
8315
8316         Optimize trigger interpolator a bit by taking the last requested value
8317         into account instead of always looping through the complete list.
8318
8319         Fix coding style a bit, everywhere else we use "return foo" instead
8320         of "return (foo)".
8321         
8322         * tests/check/libs/controller.c: (GST_START_TEST),
8323         (gst_controller_suite):
8324         Add unit test for the protection against too large or too small
8325         values.
8326
8327 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8328
8329         * docs/random/slomo/controller.txt:
8330         Add some thoughts about the future of the controller.
8331
8332 2007-06-08  Wim Taymans  <wim@fluendo.com>
8333
8334         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8335         Don't overflow in retimestamping code.
8336
8337 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8338
8339         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8340         Use gst_util_guint64_to_gdouble for conversions.
8341         * win32/common/libgstreamer.def:
8342         Add new exported functions.
8343
8344 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8345
8346         * gst/gstutils.c:
8347           Small docs addition.
8348
8349 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8350
8351         * README:
8352           Remove that test line again.
8353
8354 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8355
8356         * README:
8357           Test commit mail sending.
8358
8359 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8360
8361         * configure.ac:
8362           Fix typo and test commit mail sending.
8363
8364 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8365
8366         * tests/examples/controller/audio-example.c:
8367           Improve comment and test commit mail sending.
8368
8369 2007-06-07  Wim Taymans  <wim@fluendo.com>
8370
8371         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8372         (gst_bin_remove_func), (gst_bin_element_set_state),
8373         (bin_handle_async_start), (bin_handle_async_done),
8374         (gst_bin_handle_message_func):
8375         Add helper function to find messages.
8376         Generate the async-done messages together with the state change
8377         messages.
8378         Small cleanups in handling toplevel bins.
8379
8380 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8381
8382         * libs/gst/base/gstdataqueue.c:
8383         * libs/gst/base/gstdataqueue.h:
8384         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8385         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8386         (gst_multi_queue_sink_event):
8387         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8388           Fix multiqueue leaking buffers and events when downstream or the
8389           queue are flushing. Make refcounting assumptions explicit and
8390           document them (shouldn't break existing code that uses it other than
8391           maybe leak miniobjects, but that already happens anyway). Add unit
8392           test for the most common flushing case. Fixes #423700.
8393           
8394 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8395
8396         * libs/gst/controller/gstcontroller.c:
8397         Clarify docs: The get_all, get_value_array(s) functions
8398         don't modify the GObject properties.
8399
8400 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8401
8402         * libs/gst/controller/gstcontroller.c:
8403         (gst_controlled_property_set_interpolation_mode),
8404         (gst_controlled_property_prepend_default),
8405         (gst_controlled_property_new), (gst_controller_set_unlocked),
8406         (gst_controller_set), (gst_controller_set_from_list),
8407         (gst_controller_unset), (gst_controller_unset_all):
8408         * libs/gst/controller/gstcontrollerprivate.h:
8409         * libs/gst/controller/gstinterpolation.c:
8410         Factor out the 'set' logic into gst_controller_set_unlocked for the
8411         gst_controller_set and gst_controller_set_from_list functions.
8412
8413         To make life of the interpolators easier always add a control point
8414         at timestamp zero with the default value.
8415
8416         In the linear interpolator make things more obvious by better variable
8417         naming (slope).
8418
8419         Implement cubic interpolation mode (by using a natural cubic spline)
8420         and map the quadratic interpolation mode to this too (as quadratic
8421         doesn't make much sense, see discussion on the list).
8422
8423         * tests/check/libs/controller.c: (GST_START_TEST),
8424         (gst_controller_suite):
8425         Add unit test for the cubic interpolation mode and check everywhere
8426         if the interpolation mode could be set as expected.
8427
8428 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8429
8430         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8431           Don't use GLib-2.10 functions, we still depend on
8432           GLib-how-old-is-it-again-2.8.
8433
8434 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8435
8436         * docs/gst/gstreamer-sections.txt:
8437         * gst/Makefile.am:
8438         * gst/gst.c:
8439         * gst/gst.h:
8440         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8441         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8442         (_gst_param_fraction_values_cmp),
8443         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8444         * gst/gstparamspecs.h:
8445         * gst/gstvalue.c:
8446         * tests/check/Makefile.am:
8447         * tests/check/gst/.cvsignore:
8448         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8449         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8450         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8451         (GST_START_TEST), (gst_param_spec_suite):
8452           API: add GstParamSpecFraction, so elements can have fraction
8453           properties without lots of painful string parsing (#444648).
8454
8455 2007-06-05  Wim Taymans  <wim@fluendo.com>
8456
8457         * gst/gstobject.c: (gst_object_class_init):
8458         Fix signal signature.
8459
8460         * gst/gstsegment.c:
8461         Add small clarification in the api docs.
8462
8463         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8464         States are protected with object lock.
8465
8466 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8467
8468         * AUTHORS:
8469         I should probably be listed as an author by now.
8470
8471         * docs/random/release:
8472         Update the release doc
8473
8474 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8475
8476         * gst/gstvalue.c:
8477           Make docs for gst_value_compare() mention return enums that
8478           actually exist.
8479
8480 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8481
8482         * configure.ac:
8483           Back to CVS
8484
8485 === release 0.10.13 ===
8486
8487 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8488
8489         * configure.ac:
8490           releasing 0.10.13, "With or without you"
8491
8492 2007-05-25  Wim Taymans  <wim@fluendo.com>
8493
8494         * gst/gstbin.c: (bin_handle_async_done):
8495         Make sure that the child bin stops after completing the async state
8496         change so that the parent can continue the state change to PLAYING.
8497         Fixes #441159.
8498
8499 2007-05-25  Wim Taymans  <wim@fluendo.com>
8500
8501         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8502         (unref_data), (gst_collect_pads_remove_pad),
8503         (gst_collect_pads_check_pads):
8504         Use additional refcounting to avoid crashes when dynamically adding and
8505         removing pads. Fixes #420206.
8506
8507 2007-05-24  Wim Taymans  <wim@fluendo.com>
8508
8509         * tools/gst-launch.c: (event_loop):
8510         When buffering goes from a two digit to a single digit number, make sure
8511         to remove the old second digit by writing a blank over it.
8512
8513 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8514
8515         * libs/gst/base/gstdataqueue.c:
8516           Eliminate tabs and trailing comma in enum list; fix some typos.
8517
8518 2007-05-24  Wim Taymans  <wim@fluendo.com>
8519
8520         * tests/check/gst/gstbin.c: (GST_START_TEST):
8521         Allow refcount of 3 and 4 because some state thread might still be busy
8522         with it.
8523
8524 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8525
8526         * plugins/elements/Makefile.am:
8527         * plugins/elements/gstmultiqueue.h:
8528         * plugins/elements/gstqueue.h:
8529           These are not installed headers, no need for padding.
8530
8531 2007-05-24  Wim Taymans  <wim@fluendo.com>
8532
8533         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8534         (gst_bin_continue_func):
8535         Enable latency for next release.
8536         Restore STATE_LOCK around recalc_state that was left out during the
8537         rewrite and could result in racy behaviour when _get_state and
8538         recalc_state are run concurrently. See #440463.
8539
8540 2007-05-23  Wim Taymans  <wim@fluendo.com>
8541
8542         * tests/check/gst/gstsystemclock.c: (store_callback),
8543         (GST_START_TEST):
8544         Improve test_async_order to also work when both timers are already
8545         expired when we get scheduled to check it.
8546
8547 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8548
8549         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8550         (gst_bin_set_property), (gst_bin_get_property),
8551         (gst_bin_remove_func), (gst_bin_handle_message_func):
8552         * gst/gstbin.h:
8553           'private' is a c++ keyword, let's not use that in header files,
8554           otherwise c++ compilers will throw a tantrum.
8555
8556 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8557
8558         * plugins/elements/gstelements.c:
8559         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8560         (gst_file_sink_get_current_offset):
8561         * plugins/indexers/gstindexers.c: (plugin_init):
8562           Use #ifdef for HAVE_XYZ for consistency.
8563
8564         * tests/check/Makefile.am:
8565         * tests/check/elements/.cvsignore:
8566         * tests/check/elements/filesink.c: (setup_filesink),
8567         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8568           Add some unit tests for filesink.
8569
8570 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8571
8572         Patch by: Mark Nauwelaerts <manauw at skynet be>
8573
8574         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8575         (gst_file_sink_query), (gst_file_sink_do_seek),
8576         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8577         * plugins/elements/gstfilesink.h:
8578           Fix position reporting; rename data_written member to current_pos to
8579           reflect its real meaning (fixes #412648).
8580
8581 2007-05-22  Edward Hervey  <edward@fluendo.com>
8582
8583         * docs/gst/gstreamer-sections.txt:
8584         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8585         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8586         (gst_bin_remove_func), (gst_bin_handle_message_func):
8587         * gst/gstbin.h:
8588         Add a property for bins that handle the state change of their childs.
8589         Fixes #435880
8590
8591 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8592
8593         * libs/gst/controller/gstinterpolation.c:
8594         Use an array of the correct type when using _get_value_array with
8595         linear interpolation.
8596
8597 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8598
8599         * gst/gstelement.c (gst_element_requires_clock,
8600           gst_element_provides_clock, gst_element_request_pad,
8601           gst_element_class_set_details, gst_element_class_set_details_simple,
8602           gst_element_default_send_event, gst_element_abort_state,
8603           gst_element_continue_state, gst_element_set_state,
8604           gst_element_set_state_func, iterator_activate_fold_with_resync):
8605         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8606           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8607           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8608           gst_pad_get_range, gst_pad_pull_range):
8609         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8610           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8611           GstPadActivateModeFunction, GstPadChainFunction,
8612           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8613           GstPadFixateCapsFunction, GstPadTemplate):
8614         * gst/gstpipeline.c (gst_pipeline_change_state,
8615           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8616           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8617           gst_pipeline_get_delay):
8618           Whitespace and docs fixes.
8619
8620 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8621
8622         * libs/gst/controller/gstinterpolation.c:
8623         (interpolate_trigger_get_enum_value_array),
8624         (interpolate_trigger_get_string_value_array):
8625         Add support for retrieving value arrays when using the trigger
8626         interpolation mode. 
8627
8628 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8629
8630         * libs/gst/controller/gstcontroller.c:
8631         (gst_controller_get_value_array):
8632         * libs/gst/controller/gstcontroller.h:
8633         Clarify the docs of gst_controller_get_value_array(): The array where
8634         the values should be written to must be allocated as there seems to be
8635         no way to get the size of a random GType. This doesn't change any
8636         behaviour. Also fix some typos all over the place and remove an unused,
8637         commented function that is not necessary as g_object_set() could be
8638         used instead.
8639         * tests/check/libs/controller.c: (GST_START_TEST),
8640         (gst_controller_suite):
8641         Add unit test for gst_controller_get_value_array().
8642
8643 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8644
8645         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8646
8647         Disable part of the gst_buffer_try_new_and_alloc test, because
8648         it can happily succeed on 64-bit systems where there's more address
8649         space available.
8650
8651 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8652
8653         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8654         Add unit test for the improved caps checking from bug #421543.
8655
8656 2007-05-21  Wim Taymans  <wim@fluendo.com>
8657
8658         * docs/design/part-synchronisation.txt:
8659         Small addition.
8660
8661         * gst/gstbin.c: (gst_bin_query):
8662         * plugins/elements/gstqueue.c: (apply_segment):
8663         Improve debugging.
8664
8665         * gst/gstmessage.h:
8666         Improve docs.
8667
8668 2007-05-21  Wim Taymans  <wim@fluendo.com>
8669
8670         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8671         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8672         (gst_pad_configure_src):
8673         Added simple version of improved caps checking. It was previously
8674         assumed that a setcaps function would check the validity of the caps but
8675         people prefer us to check caps against the template automatically. 
8676         Fixes #421543.
8677
8678 2007-05-21  Wim Taymans  <wim@fluendo.com>
8679
8680         * libs/gst/base/gstbasetransform.h:
8681         Fix macro for locking/unlocking the transform lock.
8682
8683 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8684
8685         * docs/plugins/tmpl/.cvsignore:
8686           Ignore more.
8687
8688 2007-05-18  Edward Hervey  <edward@fluendo.com>
8689
8690         * plugins/elements/gstqueue.c: (gst_queue_loop):
8691         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8692         for the subtle art of warning a potentially blocking thread that it
8693         should check the source pad return value, and relay the information
8694         upstream.
8695
8696 2007-05-18  Edward Hervey  <edward@fluendo.com>
8697
8698         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8699         Release the queue lock !
8700
8701 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8702
8703         * docs/libs/gstreamer-libs-sections.txt:
8704         Add the two new controller functions to the appropiate places.
8705
8706 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8707
8708         reviewed by: Stefan Kost <ensonic@users.sf.net>
8709
8710         * libs/gst/controller/gstcontroller.c:
8711         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8712         (_gst_controller_get_property), (_gst_controller_set_property),
8713         (_gst_controller_init), (_gst_controller_class_init):
8714         * libs/gst/controller/gstcontroller.h:
8715         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8716         (gst_object_get_control_rate), (gst_object_set_control_rate):
8717         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8718         Add API that provides sync suggestion timestamps for elements that
8719         call gst_object_sync_values() from which those elements can subdivide
8720         their processing loop to get the best results for the controlled
8721         properties. For now it just suggests last_sync + control_rate as
8722         new timestamp but this will be improved in the future.
8723
8724         While doing that change the control-rate property to a GstClockTime
8725         from guint and change it's meaning from samples to nanoseconds as
8726         the GstController doesn't know anything about sampling rate. Strictly
8727         speaking this breaks ABI but as the control-rate property didn't do
8728         anything in the past and as such couldn't be used this should be no
8729         problem.        
8730
8731 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8732
8733         reviewed by: Stefan Kost <ensonic@users.sf.net>
8734
8735         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8736         (gst_controller_unset_all):
8737         * libs/gst/controller/gstcontrollerprivate.h:
8738         * libs/gst/controller/gstinterpolation.c:
8739         (gst_controlled_property_find_control_point_node):
8740         Save last synced value from the list to continue searching from there
8741         in future syncs. This speeds everything up a bit.
8742         
8743 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8744
8745         reviewed by: Stefan Kost <ensonic@users.sf.net>
8746
8747         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8748         (gst_control_point_find), (gst_controlled_property_new),
8749         (gst_control_point_free), (gst_controlled_property_free),
8750         (gst_controller_set), (gst_controller_set_from_list),
8751         (gst_controller_unset), (gst_controller_unset_all),
8752         (gst_controller_sync_values):
8753         * libs/gst/controller/gstcontroller.h:
8754         * libs/gst/controller/gstcontrollerprivate.h:
8755         * libs/gst/controller/gstinterpolation.c:
8756         (gst_controlled_property_find_control_point_node),
8757         (interpolate_none_get), (interpolate_trigger_get):
8758         Add a new private GstControlPoint struct which "inherits" from
8759         GstTimedValue to allow different interpolators to store internal
8760         values next to each control point. From the outside everything is
8761         still a GstControlPoint so we don't loose binary compatibility.
8762         Also fixup all the GValue handling to not leak GValues or list nodes.
8763         * tests/check/libs/controller.c: (GST_START_TEST):
8764         Free the list nodes and GValues in the controller_misc test.
8765
8766 2007-05-17  Edward Hervey  <edward@fluendo.com>
8767
8768         * gst/gstsegment.c:
8769         Small doc fix.
8770
8771 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8772
8773         * gst/gstplugin.c: (gst_plugin_load_file):
8774           If we fail to load a plugin because of unresolved symbols or missing
8775           libraries and spew a warning to stderr, we may just as well mention
8776           which plugin it was that failed to load.
8777
8778 2007-05-13  David Schleef  <ds@schleef.org>
8779
8780         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8781           handles the case when ENABLE_GTK_DOC is false, and installs
8782           the prebuilt documentation.  So gtk-doc subdirs are 
8783           unconditionally enabled.  Fixes: #349099.
8784
8785 2007-05-13  David Schleef  <ds@schleef.org>
8786
8787         * gst/gstutils.h: Reword some documentation.
8788
8789 2007-05-12  David Schleef  <ds@schleef.org>
8790
8791         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8792           do anything with the passed "module" parameter, so remove it.
8793           Allows removal of additional vestigal code.
8794
8795 2007-05-12  David Schleef  <ds@schleef.org>
8796
8797         * gst/gstplugin.c:
8798           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8799           Switch to using g_stat() because it's more portable.
8800
8801 2007-05-12  David Schleef  <ds@schleef.org>
8802
8803         * gst/gst.c:
8804           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8805           parsing for embedded systems.
8806         * gst/gstelementfactory.c:
8807           Allow gst_element_register() to be called with plugin==NULL.
8808           Did nobody notice that static elements were broken?
8809
8810 2007-05-12  Wim Taymans  <wim@fluendo.com>
8811
8812         * tools/gst-launch.c: (event_loop):
8813         Give more interesting info when buffering starts and stops.
8814         Fix case where buffering starts but we fail to update the buffering flag
8815         because the target state is not PLAYING.
8816
8817 2007-05-12  Wim Taymans  <wim@fluendo.com>
8818
8819         * plugins/elements/gstqueue.c: (gst_queue_init),
8820         (gst_queue_finalize), (update_time_level), (apply_segment),
8821         (apply_buffer), (gst_queue_locked_flush),
8822         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8823         (gst_queue_handle_sink_event), (gst_queue_chain),
8824         (gst_queue_push_one), (gst_queue_loop):
8825         * plugins/elements/gstqueue.h:
8826         Refactor an cleanup queue a bit.
8827         Do better time level calculations that also work when the srcpad is not
8828         yet running.
8829         Remove some unneeded debug lines.
8830
8831         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8832         Added testcase for time level measurement.
8833         Try to make some stuff more racefree.
8834
8835 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8836
8837         * gst/gsturi.c: (gst_element_make_from_uri):
8838           Don't leak plugin feature.
8839
8840         * tests/check/Makefile.am:
8841         * tests/check/gst/.cvsignore:
8842         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8843           Add brain-dead unit test.
8844
8845 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8846
8847         Patch by: Jeroen Wouters <woutersj at gmail com>
8848
8849         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8850           Treat protocol strings in a case-insensitive way (#437563).
8851
8852 2007-05-11  Michael Smith <msmith@fluendo.com>
8853
8854         * gst/gstplugin.c: (gst_plugin_load_file):
8855         * gst/gstregistry.c: (gst_registry_scan_path_level):
8856           Don't print a g_warning for any failure to load a shared object.
8857           Instead, push this down into gstplugin.c, and warn _only_ if we
8858           failed to open the module (i.e. failure to link).
8859           Avoids warnings on normal, working, non-plugin .so files.
8860
8861 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8862
8863         * gst/gstplugin.c (gst_plugin_load_file):
8864         * gst/gstregistry.c (GST_CAT_DEFAULT,
8865           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8866           Print a g_warning if there was an error when loading a plugins during
8867           registry scan. The shuld help beginners starting with gst-plugin
8868           template.
8869
8870 2007-05-10  Wim Taymans  <wim@fluendo.com>
8871
8872         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8873         (update_time_level), (gst_queue_locked_flush),
8874         (gst_queue_handle_sink_event), (gst_queue_chain),
8875         (gst_queue_push_one), (gst_queue_loop):
8876         * plugins/elements/gstqueue.h:
8877         Be smarter when calculating the current amount of data in the queue by
8878         measuring the difference between start and end timestamps (in running
8879         time) inside the queue. Fixes #432876.
8880         API: GstQueue::pushing to notify elements that we are pushing data again
8881         since the running signal is rather broken for this purpose.
8882
8883 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8884
8885         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8886           gst_queue_base_init, gst_queue_init):
8887           use GST_BOILERPLATE
8888
8889 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8890
8891         * win32/common/libgstreamer.def:
8892         Add new exported functions.
8893         * win32/vs6/grammar.dsp:
8894         Use grammar pre-generated files.
8895
8896 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8897
8898         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8899
8900         * gst/Makefile.am:
8901         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8902         * gst/gstparse.h:
8903         * gst/gstutils.c: (gst_parse_bin_from_description):
8904         * gst/gstutils.h:
8905           Maintain API and ABI when --disable-parse is used. Now that
8906           we have an appropriate error code, we can just return NULL and the
8907           appropriate error when gst_parse_launch() is used despite it having
8908           been disabled (#342564).
8909
8910         * tests/check/Makefile.am:
8911         * tests/check/pipelines/.cvsignore:
8912         * tests/check/pipelines/parse-disabled.c:
8913           Make sure these functions exist and return NULL plus a GError when
8914           --disable-parse is used.
8915
8916 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8917
8918         * tests/benchmarks/complexity.c: (main):
8919         * tests/benchmarks/mass-elements.c: (main):
8920           Set a good example and don't leak messages.
8921
8922 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8923
8924         * docs/gst/Makefile.am:
8925         * docs/libs/Makefile.am:
8926           Correct fixxrefs options.
8927
8928         * docs/plugins/Makefile.am:
8929         * docs/plugins/gstreamer-plugins-docs.sgml:
8930         * docs/plugins/gstreamer-plugins-sections.txt:
8931         * plugins/elements/Makefile.am:
8932         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8933         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8934           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8935           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8936           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8937           _GstCapsFilterClass, trans_class):
8938         * plugins/elements/gstelements.c (name, rank, type, _elements):
8939         * plugins/elements/gstidentity.c
8940           (gst_identity_check_imperfect_timestamp,
8941           gst_identity_check_imperfect_offset):
8942           Document capsfilter and add doc-blurb to identity.
8943
8944 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8945
8946         * libs/gst/controller/gstcontroller.c:
8947         (gst_controlled_property_set_interpolation_mode):
8948         * libs/gst/controller/gstinterpolation.c:
8949           Don't crash if someone tries to set an interpolation mode that
8950           is invalid or that isn't supported yet. Fixes #422295.
8951
8952         * tests/check/libs/controller.c: (GST_START_TEST),
8953         (gst_controller_suite):
8954           Add a test case for the above.
8955
8956 2007-05-03  Edward Hervey  <edward@fluendo.com>
8957
8958         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8959         Properly set the last_stop position on GstSegment. This will only happen
8960         if there is a buffer to push out.
8961
8962 2007-05-03  Wim Taymans  <wim@fluendo.com>
8963
8964         * libs/gst/base/gstbasetransform.c:
8965         (gst_base_transform_buffer_alloc):
8966         always_in_place does not mean that the sink and source caps are the
8967         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8968
8969 2007-05-03  Wim Taymans  <wim@fluendo.com>
8970
8971         * docs/libs/gstreamer-libs-sections.txt:
8972         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8973         (gst_base_src_default_query), (gst_base_src_get_range):
8974         * libs/gst/base/gstbasesrc.h:
8975         API: gst_base_src_query_latency(). Added method so that subclasses can
8976         easily get the latency values of the base source class.
8977
8978 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8979
8980         * tools/gst-inspect.c (print_implementation_info):
8981         Remove 0.8 cruft.
8982
8983 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8984
8985         * tools/Makefile.am:
8986         * tools/gst-launch.1.in:
8987           Don't create a customised man page based on the host architecture,
8988           describe the default registry path generically. That way the man
8989           page is the same for all architectures and packagers have one
8990           multilib issue less to deal with. Fixes #434926.
8991
8992 2007-05-02  Wim Taymans  <wim@fluendo.com>
8993
8994         * gst/gstpad.c:
8995         Fix documentation as spotted by rg on IRC. 
8996
8997 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8998
8999         * gst/gstutils.c:
9000           Improve docs for gst_element_{link,unlink}.
9001
9002 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9003
9004         * docs/design/part-events.txt:
9005         * docs/design/part-overview.txt:
9006         * gst/gstevent.c:
9007         * gst/gsturi.c:
9008         * gst/gsturi.h:
9009         * libs/gst/base/gstbasesink.c:
9010           Typo fixes; minor docs addition.
9011
9012 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9013
9014         * docs/gst/gstreamer-sections.txt:
9015         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9016         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9017         * gst/gsturi.h:
9018         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9019         or src that supports a given URI protocol exists.
9020
9021 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9022
9023         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9024         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9025         Set the location to NULL if "file://" is set as URI. Otherwise
9026         some random previous URI would still be set if "file://" is
9027         set on an already used filesink/filesrc.
9028
9029 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9030
9031         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9032         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9033         Special case the "file://" URI as as this is used by some
9034         applications to test with gst_element_make_from_uri if there's
9035         an element that supports the URI protocol.
9036         Also move the g_path_is_absolute() check for the location part
9037         of the URI to also check this for "file://localhost/bla" URIs.
9038
9039 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9040
9041         * docs/gst/gstreamer-sections.txt:
9042         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9043         * gst/gstbuffer.h:
9044         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9045         (gst_buffer_suite):
9046           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9047
9048 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9049
9050         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9051         (gst_registry_binary_load_pad_template),
9052         (gst_registry_binary_load_plugin),
9053         (gst_registry_binary_read_cache):
9054         * gst/gstregistrybinary.h:
9055           Implement no-mmap alternative for registry reading. Do code cleanups.
9056           Add more comments about avoiding strdups for all text data. Comments
9057           welcome.
9058
9059 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9060
9061         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9062           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9063           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9064           Comment structs and reformat to fix the build (that stuff should go
9065           into a priv. header).
9066
9067 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9068
9069         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9070         (gst_registry_binary_load_feature):
9071         * gst/gstregistrybinary.h:
9072           Refactor so that we can implement multiple features. Add support for
9073           TypeFindFactory features.
9074
9075 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9076
9077         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9078
9079         * configure.ac:
9080           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9081
9082 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9083
9084         * gst/gstbin.c: (gst_bin_element_set_state),
9085         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9086         (bin_handle_async_done), (gst_bin_handle_message_func):
9087           Fix build with --gst-disable-gst-debug
9088
9089 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9090
9091         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9092           Make sure streaming has finished before calling the ::stop() vfunc,
9093           since that vfunc might clear state which is being used in the
9094           streaming thread. This fixes a race that caused crashes in
9095           audioresample when shutting down a pipeline (#420106).
9096
9097 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9098
9099         * docs/gst/gstreamer-sections.txt:
9100           That was one byte missing.
9101
9102 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9103
9104         * configure.ac:
9105         * docs/gst/gstreamer-sections.txt:
9106         * gst/Makefile.am:
9107         * gst/gstconfig.h.in:
9108         * gst/gstobject.c: (gst_object_class_init),
9109         (gst_signal_object_class_init):
9110         * gst/gstobject.h:
9111           2nd attempt to have a xml-less build as a joined effort of #413123
9112           and #421480.
9113
9114 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9115
9116         * docs/design/draft-tagreading.txt:
9117           Added open issues/thoughts to draft.
9118
9119 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9120
9121         * gst/parse/grammar.tab.pre.c:
9122         * gst/parse/grammar.tab.pre.h:
9123         * gst/parse/lex._gst_parse_yy.pre.c:
9124         Update the prebuild parser sources.
9125
9126 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9127
9128         * gst/parse/Makefile.am:
9129         And now fix the building of the flex sources. Now everything should
9130         work as expected.
9131
9132 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9133
9134         * gst/parse/Makefile.am:
9135         Now hopefully fix the build failures by setting proper rule
9136         dependencies and moving instead of copying.
9137
9138 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9139
9140         * tests/benchmarks/complexity.gnuplot:
9141         * tests/benchmarks/complexity.scm:
9142         * tests/benchmarks/mass-elements.gnuplot:
9143         * tests/benchmarks/mass-elements.scm:
9144           Total licensification.
9145
9146 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9147
9148         * gst/parse/Makefile.am:
9149           Fix the build by correcting the rule that gave wrong files to flex.
9150
9151 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9152
9153         * tests/benchmarks/complexity.c:
9154         * tests/benchmarks/mass-elements.c:
9155           Change licence to LGPL as granted by Benjamin and Andy.
9156
9157 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9158
9159         * gst/parse/Makefile.am:
9160         Add correct grammar.tab.h dependency if compiling without new enough
9161         flex. Fixes #431150.
9162
9163 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9164
9165         * gst/parse/Makefile.am:
9166         Fix typo and use outdated sources if the flex/bison sources are newer
9167         than the pregenerated ones but flex is too old. Print a warning in
9168         that case. This should fix the build on the build bot.
9169
9170 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9171
9172         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9173         * gst/parse/Makefile.am:
9174         * gst/parse/grammar.y:
9175         * gst/parse/parse.l:
9176         Make the parser reentrant and recursively callable. This requires flex
9177         >= 2.5.31, for older versions pregenerated sources are used as we
9178         can't bump the build dependency. Finally fixes #349180.
9179
9180         * gst/gstparse.c: (gst_parse_launch):
9181         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9182         now anyway.
9183
9184         * docs/gst/Makefile.am:
9185         * docs/gst/Makefile.am:
9186         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9187         (__gst_parse_strfree), (__gst_parse_link_new),
9188         (__gst_parse_link_free), (__gst_parse_chain_new),
9189         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9190         (gst_parse_element_set), (gst_parse_free_link),
9191         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9192         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9193         (_gst_parse_launch):
9194         * gst/parse/grammar.tab.pre.h:
9195         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9196         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9197         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9198         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9199         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9200         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9201         (_gst_parse_yypop_buffer_state),
9202         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9203         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9204         (yy_fatal_error), (_gst_parse_yyget_extra),
9205         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9206         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9207         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9208         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9209         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9210         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9211         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9212         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9213         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9214         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9215         (_gst_parse_yyfree):
9216         If the installed flex version is too old use pre-generated parser
9217         sources. These pre-generated parser sources are always updated when
9218         the actual flex/bison sources change but require everybody who wants
9219         to change something in the parser to have flex >= 2.5.31 installed.
9220
9221 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9222
9223         * common/m4/gst-gettext.m4:
9224         * gst/gst-i18n-lib.h:
9225           Make --disable-nls to work
9226
9227 2007-04-17  Wim Taymans  <wim@fluendo.com>
9228
9229         * gst/gstconfig.h.in:
9230         Revert previous change that broke the build.
9231
9232 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9233
9234         * configure.ac:
9235         * gst/Makefile.am:
9236         * gst/gstconfig.h.in:
9237           Drop libxml2 dependency when building with 
9238           --enable-binary-registry --disable-loadsave
9239
9240 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9241
9242         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9243         (gst_registry_binary_read_cache):
9244         * gst/gstregistrybinary.h:
9245           Remove unnecessary <sys/mman.h> include which broke the win32 build
9246           with MingW; move includes from header file to .c file, even if the
9247           header file isn't installed; use g_strerror() where UTF-8 strings
9248           are expected, such as in GST_DEBUG messages.
9249
9250 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9251
9252         * docs/libs/gstreamer-libs-sections.txt:
9253         Remove bogus addition for API I didn't end up keeping.
9254
9255         * libs/gst/base/gstbasesrc.h:
9256         Mention Since: 0.10.13 in the documentation.
9257
9258         Add the API keyword to the previous ChangeLog entry.
9259
9260 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9261
9262         * docs/libs/gstreamer-libs-sections.txt:
9263         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9264         (gst_base_src_default_prepare_seek_segment),
9265         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9266         * libs/gst/base/gstbasesrc.h:
9267         Allow basesrc derived classes to execute seeks in other formats
9268         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9269         to prepare the GstSegment in any format that their perform_seek method
9270         will be able to understand. The default implementation provides the
9271         old behaviour of attempting to convert the seek offsets to the 
9272         configured native format.
9273
9274         API: basesrc::prepare_seek_segment vmethod.
9275
9276 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9277
9278         * gst/gstelement.c: (gst_element_get_state_func):
9279         Don't output the same debug statement twice.
9280
9281         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9282         (gst_adapter_peek), (gst_adapter_take_buffer):
9283         Optimise the case where we have buffers at the head of the queue that
9284         can be joined quickly (because they're contiguous sub-buffers) by
9285         merging them together rather than copying data out into new memory.
9286
9287         * gst/parse/grammar.y:
9288         * tests/check/pipelines/parse-launch.c:
9289         Fix a leak in an error path for parse_launch, and add a check 
9290         for it to the testsuite.
9291
9292 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9293
9294         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9295           Don't deadlock when releasing a pad - gst_pad_set_active may try
9296           and take the multiqueue lock too.
9297
9298 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9299
9300         * gst/gsterror.c: (_gst_core_errors_init):
9301         * gst/gsterror.h:
9302           API: add GST_CORE_ERROR_DISABLED (#392804).
9303
9304 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9305
9306         * docs/faq/gst-uninstalled:
9307           don't get empty paths on the PATH variables
9308         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9309           Don't format for the uncommon terminal width of 84 characters.
9310
9311 2007-04-06  Wim Taymans  <wim@fluendo.com>
9312
9313         * gst/gstpipeline.c: (reset_stream_time),
9314         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9315         Only try to select a different pipeline clock when we went back to
9316         PAUSED and not when we merely got flushed.
9317
9318 2007-04-05  Michael Smith  <msmith@fluendo.com>
9319
9320         * tools/gst-launch.1.in:
9321           fractions are better supported in gstreamer than ractions, so
9322           suggest using those.
9323
9324 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9325
9326         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9327
9328         * po/LINGUAS:
9329         * po/da.po:
9330           Added Danish translation.
9331
9332 2007-04-05  Wim Taymans  <wim@fluendo.com>
9333
9334         * libs/gst/base/gstbasesink.c:
9335         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9336         Fix leak caused when refusing newsegment after EOS.
9337
9338         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9339         (gst_fake_sink_init), (gst_fake_sink_set_property),
9340         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9341         (gst_fake_sink_render), (gst_fake_sink_change_state):
9342         * plugins/elements/gstfakesink.h:
9343         Add num-buffers property to make the element generate EOS after a
9344         configurable amount of buffers.
9345         API: fakesink::num-buffers property.
9346
9347         * tests/check/elements/fakesink.c: (GST_START_TEST),
9348         (fakesink_suite):
9349         Fix GstBus leak in test.
9350         Test for fakesink num-buffers.
9351
9352 2007-04-05  Wim Taymans  <wim@fluendo.com>
9353
9354         * libs/gst/base/gstbasesink.c:
9355         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9356         (gst_base_sink_change_state):
9357         Don't accept anything after an EOS, return UNEXPECTED instead.
9358
9359         * tests/check/elements/fakesink.c: (GST_START_TEST),
9360         (fakesink_suite):
9361         Unit test for new EOS behaviour.
9362
9363 2007-04-05  Wim Taymans  <wim@fluendo.com>
9364
9365         * gst/gstelement.c: (gst_element_get_request_pad):
9366         Make padtemplates also work when they don't contain %s or %d.
9367
9368 2007-04-05  Wim Taymans  <wim@fluendo.com>
9369
9370         * docs/gst/gstreamer-sections.txt:
9371         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9372         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9373         * gst/gstclock.h:
9374         Improve _adjust_unlocked() so that it overflows less.
9375         Add gst_clock_unadjust_unlocked to convert from external time to
9376         internal time based on calibration.
9377         Add some more debug.
9378         API: GstClock::gst_clock_unadjust_unlocked()
9379
9380 2007-04-03  Wim Taymans  <wim@fluendo.com>
9381
9382         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9383
9384         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9385         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9386         when releasing sink pad. Fixes #425400.
9387
9388 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9389
9390         * docs/random/ensonic/dynlink.txt:
9391           More work on proposal for new core api.
9392
9393         * docs/libs/gstreamer-libs-sections.txt:
9394         * libs/gst/base/gstbasetransform.h:
9395           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9396           
9397         * libs/gst/controller/gstcontroller.c:
9398         (on_object_controlled_property_changed),
9399         (gst_controller_sync_values),
9400         (gst_controller_set_interpolation_mode):
9401         * libs/gst/controller/gstcontroller.h:
9402           Less verbose logging add docs for unimplemented parts and correctly
9403           return when using unavailable parts.
9404
9405 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9406
9407         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9408         Move all the debug to the CLOCK category, and associate it with
9409         the clock object.
9410
9411 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9412
9413         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9414         Make take_buffer a bit quicker by removing redundant checks
9415         caused by calling gst_adapter_take.
9416
9417 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9418
9419         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9420           Don't leak GCond.
9421
9422         * tests/check/Makefile.am:
9423         * tests/check/elements/.cvsignore:
9424         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9425         (GST_START_TEST), (multiqueue_suite):
9426           Add some dead simple unit tests for the 'multiqueue' element
9427           (some bits don't work yet and are disabled for now).
9428
9429 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9430
9431         * gst/gstelement.c: (gst_element_get_request_pad),
9432         (gst_element_class_get_request_pad_template):
9433           Make gst_element_get_request_pad() create request pads only for
9434           request pad templates and not for, say, sometimes pad templates.
9435
9436 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9437
9438         * docs/design/draft-klass.txt:
9439           Add example that needs more thinking.
9440         
9441         * docs/design/draft-missing-plugins.txt:
9442           More thoughts about wrapper plugins.
9443         
9444         * docs/random/ensonic/embedded.txt:
9445         * docs/random/ensonic/profiling.txt:
9446           More design work.
9447
9448 2007-03-25  Wim Taymans  <wim@fluendo.com>
9449
9450         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9451         (gst_base_src_loop):
9452         Only push the segment events in the PLAYING state for live sources.
9453
9454 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9455
9456         * gst/gstpipeline.c: (gst_pipeline_change_state):
9457         Modify the clock distribution path in PAUSED->PLAYING so that we 
9458         never attempt to choose a new clock unless we're actually leaving
9459         the PAUSED state for the first time. This prevents choosing a
9460         different clock when the state_change gets called for a 2nd time due
9461         to some element doing an async state change.
9462
9463 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9464
9465         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9466         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9467         (gst_pad_chain_unchecked), (gst_pad_push):
9468         Revert last commit. This needs some more thoughts.
9469
9470 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9471
9472         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9473         (gst_pad_chain_unchecked), (gst_pad_push):
9474         Check in set_caps if the caps are compatible with the pad and remove
9475         two functions that are redundant now. Fixes #421543.
9476
9477 2007-03-22  Wim Taymans  <wim@fluendo.com>
9478
9479         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9480         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9481         Unref some more to make valgrind happy.
9482
9483 2007-03-22  Wim Taymans  <wim@fluendo.com>
9484
9485         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9486         (gst_system_clock_id_wait_jitter),
9487         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9488         Fix anoying regression that survived a few releases. When adding an
9489         async entry while blocking on a sync entry, the sync entry will unblock
9490         but still be busy, so it should continue to wait instead of returning
9491         _BUSY to the app.
9492         Add some comments here and there.
9493
9494         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9495         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9496         Add testcase for this.
9497
9498 2007-03-22  Wim Taymans  <wim@fluendo.com>
9499
9500         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9501         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9502         WRONG_STATE and can silently pause the task. All other cases should
9503         error out.
9504
9505 2007-03-22  Wim Taymans  <wim@fluendo.com>
9506
9507         Patch by: Ville Syrjala <syrjala at sci dot fi>
9508
9509         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9510         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9511         Improve debugging.
9512
9513 2007-03-21  Michael Smith  <msmith@fluendo.com>
9514
9515         * docs/pwg/advanced-types.xml:
9516           Fix some errors in the typefinding docs pointed out on irc.
9517
9518 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9519
9520         * libs/gst/base/gstbasesrc.c:
9521         Clarify FIXME comment in the face of having added unlock_stop()
9522
9523 2007-03-21  Wim Taymans  <wim@fluendo.com>
9524
9525         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9526         Prepare for release where we warn against possible app breakage in the
9527         case of live pipelines along with an env var to enable/disable live
9528         preroll mode (GST_COMPAT=[no-]live-preroll).
9529
9530 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9531
9532         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9533         So we should use correct constants for checking for None offset.
9534
9535 2007-03-20  Wim Taymans  <wim@fluendo.com>
9536
9537         * docs/design/part-block.txt:
9538         Mention the fact that the newly switched element should be set to at
9539         least PAUSED.
9540
9541 2007-03-20  Wim Taymans  <wim@fluendo.com>
9542
9543         * gst/gst.c:
9544         Fix compilation with registry disabled as spotted by Saur.
9545
9546 2007-03-20  Wim Taymans  <wim@fluendo.com>
9547
9548         Patch by: Olivier Crete <tester at tester dot ca>
9549
9550         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9551         Look at the pending state too when syncing the element state to the
9552         parent. Fixes #420133.
9553
9554 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9555
9556         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9557         (gst_base_sink_change_state):
9558         * libs/gst/base/gstbasesink.h:
9559         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9560         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9561         (gst_base_src_deactivate):
9562         * libs/gst/base/gstbasesrc.h:
9563         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9564         for sub-classes to correctly clear any state they set trying to
9565         unlock, such as clearing out unlock commands from a command fd.
9566         API: basesrc::unlock_stop
9567         API: basesink::unlock_stop
9568
9569         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9570         (gst_fd_sink_render), (gst_fd_sink_unlock),
9571         (gst_fd_sink_unlock_stop):
9572         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9573         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9574         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9575
9576         Implement unlock_stop in fdsrc and fdsink.
9577         Implement seeking in fdsrc when a seekable fd is passed, as in
9578         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9579
9580 2007-03-19  Wim Taymans  <wim@fluendo.com>
9581
9582         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9583
9584         * gst/gstelement.c: (gst_element_class_init):
9585         Fix pad-added and pad-removed signal signatures so that the pad type is
9586         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9587
9588 2007-03-19  Wim Taymans  <wim@fluendo.com>
9589
9590         * docs/gst/gstreamer-sections.txt:
9591         Add new element field and method.
9592
9593         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9594         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9595         (gst_bin_recalc_state), (gst_bin_get_state_func),
9596         (gst_bin_element_set_state), (gst_bin_change_state_func),
9597         (gst_bin_continue_func), (bin_bus_handler),
9598         (bin_push_state_continue), (bin_handle_async_start),
9599         (bin_handle_async_done), (gst_bin_handle_message_func):
9600         Make async state changes a bit smarter by using new ASYNC_START and
9601         ASYNC_DONE messages. This reduces the number of times we run the state
9602         recalculation thread.
9603         Don't change state of element with a pending ASYNC_START message.
9604         Deprecate STATE_DIRTY messages.
9605         
9606         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9607         (gst_element_get_state_func), (gst_element_continue_state),
9608         (gst_element_lost_state), (gst_element_set_state_func),
9609         (gst_element_change_state):
9610         * gst/gstelement.h:
9611         Keep the state that was last set by the app in a new element field.
9612         Don't allow state changes when handling an element event.
9613         Post ASYNC_START and ASYNC_DONE messages.
9614         Change lost_state so that we go to PAUSED and wait for the parent to set
9615         us to PLAYING again (so latency calculation can be performed)
9616         Export gst_element_change_state() method so that subclasses can use it.
9617         API: gst_element_change_state()
9618         API: GST_STATE_TARGET
9619
9620         * gst/gstpipeline.c: (gst_pipeline_class_init),
9621         (reset_stream_time), (gst_pipeline_change_state),
9622         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9623         Using the new ASYNC_START message we can reset the base_time when
9624         needed. This can then be used to implement base_time redistribution in
9625         flushing seeks so that we can remove the explicit seek handling.
9626         Perform latency query and configuration when going to PLAYING.
9627
9628         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9629         (gst_base_sink_query), (gst_base_sink_change_state):
9630         Post new ASYNC_START/ASYNC_DONE messages.
9631
9632         * tests/check/generic/sinks.c: (GST_START_TEST):
9633         Fix test because the bin will not set the async element to PLAYING right
9634         away.
9635
9636         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9637         Make the message check a little stronger.
9638         Handle ASYNC messages.
9639
9640         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9641         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9642         Expect ASYNC_DONE messages.
9643
9644 2007-03-19  Wim Taymans  <wim@fluendo.com>
9645
9646         * docs/gst/gstreamer-sections.txt:
9647         * gst/gstmessage.c: (gst_message_new_async_start),
9648         (gst_message_new_async_done), (gst_message_parse_info),
9649         (gst_message_parse_async_start):
9650         * gst/gstmessage.h:
9651         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9652         support.
9653
9654 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9655
9656         * tools/gst-inspect.c:
9657         (print_plugin_automatic_install_info_codecs):
9658           Now that we don't check for the 'Codec' keyword any longer in the
9659           klass, we shouldn't spew a warning if the klass isn't a decoder or
9660           encoder (since it might be a Source/Network, for example).
9661
9662 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9663
9664         * tools/gst-inspect.c:
9665         (print_plugin_automatic_install_info_codecs):
9666           Don't require decoder/demuxer/depayloader elements or
9667           encoder/muxer/paylader elements to have 'Codec' as part of their
9668           factory class string when introspecting a plugin's capabilities.
9669           draft-klass.txt mentions that it might be removed in future, and
9670           flump3dec doesn't have it as part of its class string, so chances
9671           are others might also not have it.
9672
9673 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9674
9675         * po/af.po:
9676         * po/az.po:
9677         * po/bg.po:
9678         * po/ca.po:
9679         * po/cs.po:
9680         * po/de.po:
9681         * po/en_GB.po:
9682         * po/fr.po:
9683         * po/it.po:
9684         * po/nb.po:
9685         * po/nl.po:
9686         * po/ru.po:
9687         * po/sq.po:
9688         * po/sr.po:
9689         * po/sv.po:
9690         * po/tr.po:
9691         * po/uk.po:
9692         * po/vi.po:
9693         * po/zh_CN.po:
9694         * po/zh_TW.po:
9695           Update translations from translation project
9696
9697 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9698
9699         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9700         (gst_child_proxy_set_property):
9701           Invert precondition check to be alike the ones in the mimiced gobject
9702           api.
9703
9704 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9705
9706         * docs/design/draft-tagreading.txt:
9707         * docs/random/ensonic/audiobaseclasses.txt:
9708           Do some Architect work.
9709
9710         * gst/gstobject.c: (gst_object_set_name):
9711           Add a WARNING.
9712
9713         * gst/gstpad.c:
9714           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9715
9716 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9717
9718         * gst/gstsystemclock.c: (gst_system_clock_init),
9719         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9720         Defer starting the async system clock thread until the first async
9721         wait is scheduled. Fixes #414986.
9722
9723 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9724
9725         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9726         (gst_single_queue_free):
9727           Fix small leak (free GstSingleQueue structure too, not only contents).
9728
9729 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9730
9731         * gst/gstbin.c:(gst_bin_add):
9732         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9733         * win32/common/libgstbase.def:
9734         * win32/common/libgstreamer.def:
9735         Add new exported functions.
9736
9737 2007-03-09  Wim Taymans  <wim@fluendo.com>
9738
9739         * docs/plugins/gstreamer-plugins-sections.txt:
9740         Fix GstTee docs.
9741
9742 2007-03-09  Wim Taymans  <wim@fluendo.com>
9743
9744         * docs/gst/gstreamer-sections.txt:
9745         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9746         * gst/gstbuffer.h:
9747         Add metadata copy functions. Fixes #393099.
9748         API: gst_buffer_copy_metadata()
9749
9750         * gst/gstutils.c: (gst_buffer_stamp):
9751         * libs/gst/base/gstbasetransform.c:
9752         (gst_base_transform_prepare_output_buffer):
9753         Use new metadata copy functions.
9754
9755 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9756
9757         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9758         (gst_identity_init), (gst_identity_check_perfect),
9759         (gst_identity_check_imperfect_timestamp),
9760         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9761         (gst_identity_set_property), (gst_identity_get_property):
9762         * plugins/elements/gstidentity.h:
9763         Separate out check-imperfect-timestamp and check-imperfect-offset.
9764         Put back check-perfect as it was to keep compatibility.
9765
9766 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9767
9768         * gst/gstelement.c: (gst_element_dispose):
9769         There's no need to warn if VOID_PENDING is not NONE here, as
9770         long as the state is NULL it's ok, and that's checked immediately
9771         above.
9772
9773 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9774
9775         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9776         Fix check for perfect stream to ignore buffers with -1 
9777         offsets/offset ends when checking data contiguity.
9778
9779 2007-03-08  Wim Taymans  <wim@fluendo.com>
9780
9781         * tools/gst-launch.c: (event_loop):
9782         Print INFO messages.
9783
9784 2007-03-08  Wim Taymans  <wim@fluendo.com>
9785
9786         * libs/gst/base/gstbasetransform.c:
9787         (gst_base_transform_sink_eventfunc),
9788         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9789         (gst_base_transform_activate):
9790         * libs/gst/base/gstbasetransform.h:
9791         Add support for dropping buffers with custom GstFlowReturn.
9792         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9793         buffers or dropped buffers.
9794
9795         * docs/libs/gstreamer-libs-sections.txt:
9796         docs for new custom return code.
9797
9798         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9799         Use drop support in base class to implement drop-probability.
9800
9801 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9802
9803         * gst/gst.c: (load_plugin_func):
9804         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9805         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9806         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9807           Remove newlines at end of debug log strings.
9808
9809 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9810
9811         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9812         Only post bus message at max, once per buffer received.
9813
9814 2007-03-07  Wim Taymans  <wim@fluendo.com>
9815
9816         * docs/design/Makefile.am:
9817         * docs/design/part-synchronisation.txt:
9818         Add doc about synchronisation
9819
9820         * docs/design/draft-latency.txt:
9821         * docs/design/part-TODO.txt:
9822         * docs/design/part-clocks.txt:
9823         * docs/design/part-events.txt:
9824         * docs/design/part-gstbus.txt:
9825         * docs/design/part-gstpipeline.txt:
9826         * docs/design/part-live-source.txt:
9827         * docs/design/part-messages.txt:
9828         * docs/design/part-overview.txt:
9829         * docs/design/part-streams.txt:
9830         * docs/design/part-trickmodes.txt:
9831         Documentation updates.
9832
9833 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9834
9835         * gstreamer.doap:
9836         Update the doap file.
9837
9838 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9839
9840         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9841         Rename non-perfect to imperfect for Mike and for the sanctity of the
9842         language.
9843         Also make sure bus message gets emitted for data-incontiguities.
9844
9845 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9846
9847         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9848         (gst_identity_start):
9849         * plugins/elements/gstidentity.h:
9850         Emit bus message if check-perfect is true and we encounter a
9851         non-perfect stream between 2 consecutive buffers.
9852         Fixes #415394.
9853
9854 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9855
9856         * configure.ac:
9857         Back to CVS
9858
9859 === release 0.10.12 ===
9860
9861 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9862
9863         * configure.ac:
9864           releasing 0.10.12, "Inevitable Demise"
9865
9866 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9867
9868         * configure.ac:
9869          Version 0.10.11.2 (0.10.12 pre-release)
9870          Bump libtool versioning.
9871
9872 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9873
9874         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9875           Log flow-names and not numbers.
9876
9877 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9878
9879         * configure.ac:
9880           Convert to new AG_GST style.
9881
9882 2007-02-28  Wim Taymans  <wim@fluendo.com>
9883
9884         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9885         Don't unref query twice.
9886
9887 2007-02-28  Wim Taymans  <wim@fluendo.com>
9888
9889         * gst/gstvalue.c: (gst_value_transform_object_string),
9890         (_gst_value_initialize):
9891         Implement GstObject -> string transform so we print object names
9892         when serializing GValues containing GstObjects.
9893
9894 2007-02-28  Wim Taymans  <wim@fluendo.com>
9895
9896         * docs/gst/gstreamer-sections.txt:
9897         Add new stuff to docs.
9898
9899 2007-02-28  Wim Taymans  <wim@fluendo.com>
9900
9901         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9902         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9903         (gst_base_sink_change_state):
9904         Improve latency query code.
9905         Don't leak latency events.
9906
9907         * tests/check/gst/gstbin.c: (GST_START_TEST):
9908         Improve debugging.
9909
9910 2007-02-28  Wim Taymans  <wim@fluendo.com>
9911
9912         * gst/gstelement.c: (gst_element_message_full),
9913         (gst_element_get_state_func):
9914         * gst/gstelement.h:
9915         Improve docs a little. Added Since: for new macro.
9916
9917         * gst/gstobject.c: (gst_object_sink):
9918         * gst/gstpipeline.c: (gst_pipeline_change_state),
9919         (gst_pipeline_set_new_stream_time):
9920         * gst/gstpipeline.h:
9921         Improve debugging and docs.
9922
9923         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9924         Improve debugging.
9925
9926 2007-02-28  Wim Taymans  <wim@fluendo.com>
9927
9928         * gst/gstelement.c: (gst_element_message_full),
9929         (gst_element_set_locked_state), (gst_element_get_state_func),
9930         (gst_element_change_state):
9931         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9932         Documentation updates.
9933         Small code cleanups.
9934
9935         * gst/gstmessage.c: (gst_message_new_info),
9936         (gst_message_parse_info):
9937         * gst/gstmessage.h:
9938         API: gst_message_new_info()
9939         API: gst_message_parse_info()
9940         Add INFO message create and parse code.
9941
9942 2007-02-28  Wim Taymans  <wim@fluendo.com>
9943
9944         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9945         (bin_query_latency_done):
9946         Also report the live parameter of a latency query.
9947
9948 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9949
9950         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9951           Copy the current generic/states example from -base and adapt so
9952           we can use the exact same code everywhere.
9953           Check a STATES_IGNORE_ELEMENTS env var which can be used
9954           to ignore certain element factories for this test, which is
9955           what is being done in -base
9956         * tests/check/Makefile.am:
9957           Mention this environment variable.
9958
9959 2007-02-27  Wim Taymans  <wim@fluendo.com>
9960
9961         * docs/gst/gstreamer-sections.txt:
9962         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9963         (gst_bus_timed_pop), (gst_bus_pop):
9964         * gst/gstbus.h:
9965         API: gst_bus_timed_pop()
9966         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9967         message to arrive on the bus.
9968
9969         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9970         (gst_bus_suite):
9971         Two unit tests for new _timed_pop() function.
9972
9973 2007-02-23  Wim Taymans  <wim@fluendo.com>
9974
9975         * gst/gstpipeline.c: (gst_pipeline_change_state),
9976         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9977         Don't ref a NULL clock in _provide_clock_func().
9978         Don't allow an INVALID delay.
9979         Don't try to calculate base_time with an invalid start_time.
9980         Also distribute and notify a NULL clock when it was selected.
9981
9982         * tools/gst-launch.c: (event_loop):
9983         Don't crash when a NULL clock was selected in the pipeline.
9984
9985 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9986
9987         * docs/design/Makefile.am:
9988         * docs/design/draft-missing-plugins.txt:
9989         * docs/random/draft-missing-plugins.txt:
9990           Some small updates: update plugin system identifier prefix
9991           ('gstreamer.net' to 'gstreamer'), mention our new install
9992           API in libgstbaseutils rather than libgimme-codec, add
9993           reference to the online docs.
9994
9995 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9996
9997         * win32/common/config.h:
9998           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9999           use moap cl ci to only check in what is mentioned in the ChangeLog.
10000
10001 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10002
10003         * docs/gst/gstreamer-sections.txt:
10004         * gst/gstelement.h:
10005           Fix up documentation to link to the correct GstGError section.
10006           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10007
10008 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10009
10010         * tools/gst-launch.c: (event_loop):
10011           Make sure that we actually show the important message part of a
10012           warning message.
10013           No need to check if the gerror is not NULL to free; first of all
10014           g_free accepts NULL; and second the default error handler would
10015           segfault if gerror was NULL.
10016
10017 2007-02-21  Wim Taymans  <wim@fluendo.com>
10018
10019         * docs/gst/gstreamer-sections.txt:
10020         Removed docs as well.
10021
10022 2007-02-21  Wim Taymans  <wim@fluendo.com>
10023
10024         * gst/gstmessage.c: (gst_message_parse_duration):
10025         * gst/gstmessage.h:
10026         Remove new messages for release.
10027
10028 2007-02-20  Wim Taymans  <wim@fluendo.com>
10029
10030         * docs/design/part-gstghostpad.txt:
10031         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10032         (gst_ghost_pad_new_full):
10033         Make the ghostpad a parent of the internal pad again for better backward
10034         compatibility. Don't write code that relies on this however.
10035
10036         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10037         (gst_pad_link_check_hierarchy):
10038         Require that parents should be GstElements in the hierarchy check.
10039
10040 2007-02-20  Wim Taymans  <wim@fluendo.com>
10041
10042         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10043         (gst_bin_change_state_func), (bin_query_min_max_init),
10044         (bin_query_latency_fold), (bin_query_latency_done),
10045         (gst_bin_query):
10046         Improve debug info.
10047         Implement latency query.
10048
10049 2007-02-20  Wim Taymans  <wim@fluendo.com>
10050
10051         * docs/design/part-gstghostpad.txt:
10052         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10053         (gst_ghost_pad_internal_do_activate_push),
10054         (gst_ghost_pad_internal_do_activate_pull),
10055         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10056         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10057         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10058         Do not set the internal pad as a parent anymore so we can avoid
10059         hierarchy linking errors when the ghostpad has no parent yet. This also
10060         fixes failed activation because of unlinked internal pads, which in
10061         turn fixes the impossible case where you have to activate a pad before
10062         you can add it to a running element.
10063         Also fix the docs.
10064
10065         * gst/gstpad.c: (pre_activate), (post_activate),
10066         (gst_pad_set_active), (gst_pad_activate_pull),
10067         (gst_pad_activate_push), (gst_pad_check_pull_range):
10068         Add some more debug info.
10069         Mark activation mode in pre_activate so that we don't try to activate in
10070         endless loops. Fixes #385084.
10071
10072 2007-02-19  Wim Taymans  <wim@fluendo.com>
10073
10074         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10075         (gst_base_transform_check_get_range):
10076         Implement a checkgetrange function instead of relying on the default
10077         core behaviour that assumes we can operate in pull mode if we have a
10078         getrange function. First step at fixing #385084.
10079
10080 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10081
10082         * gst/gstchildproxy.h:
10083         * libs/gst/base/gstbasesink.h:
10084         * libs/gst/base/gstbasesrc.h:
10085         * libs/gst/base/gstbasetransform.h:
10086         More docs coverage and some ChangeLog surgery (add missing names)
10087
10088 2007-02-15  Wim Taymans  <wim@fluendo.com>
10089
10090         * docs/design/part-TODO.txt:
10091         * docs/design/part-activation.txt:
10092         * docs/design/part-block.txt:
10093         * docs/design/part-buffering.txt:
10094         * docs/design/part-clocks.txt:
10095         * docs/design/part-element-source.txt:
10096         * docs/design/part-events.txt:
10097         * docs/design/part-gstbin.txt:
10098         * docs/design/part-gstbus.txt:
10099         * docs/design/part-gstpipeline.txt:
10100         * docs/design/part-live-source.txt:
10101         * docs/design/part-messages.txt:
10102         * docs/design/part-overview.txt:
10103         * docs/design/part-qos.txt:
10104         * docs/design/part-query.txt:
10105         * docs/design/part-states.txt:
10106         * docs/design/part-trickmodes.txt:
10107         Some doc updates. Start renaming from stream_time to running_time where
10108         it was used wrongly.
10109
10110 2007-02-15  Wim Taymans  <wim@fluendo.com>
10111
10112         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10113         Answer LATENCY query.
10114
10115 2007-02-15  Wim Taymans  <wim@fluendo.com>
10116
10117         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10118         (GST_START_TEST):
10119         Improve debugging.
10120
10121 2007-02-15  Wim Taymans  <wim@fluendo.com>
10122
10123         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10124         (gst_pad_dispatcher):
10125         Improve debugging of default pad dispatcher and query functions.
10126
10127 2007-02-15  Wim Taymans  <wim@fluendo.com>
10128
10129         * docs/gst/gstreamer-sections.txt:
10130         Remove old unused method.
10131
10132 2007-02-13  Wim Taymans  <wim@fluendo.com>
10133
10134         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10135         Fix check
10136
10137 2007-02-13  Wim Taymans  <wim@fluendo.com>
10138
10139         * docs/design/part-seeking.txt:
10140         Some small update.
10141
10142         * gst/gstsegment.c: (gst_segment_set_seek):
10143         Revert old bogus change that should make seeking work again.
10144
10145 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10146
10147         * docs/random/ensonic/dynlink.txt:
10148         * docs/random/ensonic/interfaces.txt:
10149         * docs/random/ensonic/receipies.txt:
10150           Possible dynamic reconnection api, plus some type fixes the other two
10151           docs.
10152
10153 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10154
10155         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10156         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10157         Also check for an absolute path following file:// in the filesrc
10158         element. Remove redundant check and call g_path_is_absolute() on the
10159         unescaped location.
10160
10161 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10162
10163         * docs/design/draft-klass.txt:
10164           Add existing category analysis.
10165           
10166         * gst/gstcaps.c:
10167           Fix doc example, framerate is a fraction.
10168
10169 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10170
10171         * configure.ac:
10172         * docs/gst/Makefile.am:
10173         * docs/gst/gstreamer-sections.txt:
10174         * docs/libs/Makefile.am:
10175           Erm, forgot a bunch of --extra-dir.
10176
10177 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10178
10179         * configure.ac:
10180         * docs/gst/Makefile.am:
10181         * docs/libs/Makefile.am:
10182         * docs/plugins/Makefile.am:
10183           Add crossreferences to glib/gobject docs.
10184
10185 2007-02-12  Wim Taymans  <wim@fluendo.com>
10186
10187         * docs/design/draft-latency.txt:
10188         Small update.
10189
10190         * docs/libs/gstreamer-libs-sections.txt:
10191         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10192         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10193         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10194         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10195         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10196         (gst_base_sink_get_position), (gst_base_sink_query),
10197         (gst_base_sink_change_state):
10198         * libs/gst/base/gstbasesink.h:
10199         API: gst_base_sink_query_latency() to let subclasses query the upstream
10200         latency.
10201         API: gst_base_sink_get_latency() to let subclasses query the configured
10202         latency in the sink.
10203         Implement query and set latency.
10204         Update some docs.
10205         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10206         don't continue preroll when we are flushing. Fixes #405284.
10207
10208         * tests/check/pipelines/stress.c: (change_state_timeout),
10209         (quit_timeout), (GST_START_TEST), (stress_suite):
10210         Test for #405284.
10211
10212 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10213
10214         Patch by: René Stadler <mail at renestadler de>
10215
10216         * docs/gst/gstreamer-sections.txt:
10217         * gst/gsttaglist.c: (_gst_tag_initialize):
10218         * gst/gsttaglist.h:
10219           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10220
10221 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10222
10223         * docs/libs/Makefile.am:
10224           Fix path to core docs.
10225
10226         * gst/gstbin.c: (gst_bin_get_by_interface),
10227         (gst_bin_iterate_all_by_interface):
10228           Refix docs by also renaming 'interface' to 'iface' in implementation.
10229
10230         * docs/gst/gstreamer-sections.txt:
10231         * gst/gstcaps.c:
10232         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10233         * gst/gstchildproxy.h:
10234         * gst/gstelementfactory.c:
10235         * gst/gstpadtemplate.h:
10236         * libs/gst/controller/gstcontroller.c:
10237         (gst_controlled_property_new):
10238           Document more.
10239
10240 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10241
10242         * gst/gstbin.h:(gst_bin_get_by_interface),
10243         (gst_bin_iterate_all_by_interface):
10244         Replace interface parameter name by iface as interface is 
10245         a reserved keyword in Visual Studio for C++ projects so it removes
10246         a build error for application developpers using VS.
10247         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10248         Fix a bug on Windows in uri format check. Now the prefix checked
10249         is file:// and next we check if the path after file:// is absolute.
10250         * win32/common/libgstbase.def:
10251         * win32/common/libgstdataprotocol.def:
10252         * win32/common/libgstgstreamer.def:
10253         Add new exported functions.
10254
10255 2007-02-09  Andy Wingo  <wingo@pobox.com>
10256
10257         * tests/check/pipelines/simple-launch-lines.c
10258         (simple_launch_lines_suite, test_tee): Disable tee test until I
10259         have time to fix it :-(
10260
10261         * tests/check/Makefile.am (noinst_HEADERS): 
10262         * tests/check/libs/libsabi.c: 
10263         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10264         * tests/check/gst/gstabi.c: 
10265         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10266
10267         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10268         tests for push and pull tee behavior.
10269
10270         * plugins/elements/gsttee.h: 
10271         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10272         mark as deprecated as well as unimplemented. It was a crack idea.
10273         Add support for tee operating in pull mode, off by default.
10274
10275         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10276         normal-case logs down to LOG, raise errors to WARNING.
10277         (gst_registry_xml_read_cache): Don't log before calling a function
10278         that logs.
10279
10280         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10281         exit (registry finalize).
10282         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10283         DEBUG log when we emit signals that people don't even have the
10284         chance to connect to.
10285         (gst_registry_scan_path_level): Less logging in the normal case.
10286
10287 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10288
10289         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10290
10291         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10292         Correctly generate EOS for non-seekable files. We don't have a total
10293         length for them and would get an unexpected end of file if we only
10294         special-cased for regular files. (Fixes: #404569)
10295
10296 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10297
10298         * tests/check/elements/filesrc.c: (GST_START_TEST),
10299         (filesrc_suite):
10300         Add unit test for the GstURIHandler interface in filesrc. This also
10301         tests the newly added file://localhost/foo/bar support.
10302
10303 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10304
10305         * gst/gstelementfactory.h:
10306           The klass string is not a hierarchy. Add reference to the design doc
10307           for more information and common types.
10308
10309 2007-02-02  Wim Taymans  <wim@fluendo.com>
10310
10311         * gst/gstquery.c: (gst_query_new_latency):
10312         Remove old structure field.
10313
10314 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10315
10316         * tools/gst-launch.1.in:
10317           Give example for network streaming (#351998)
10318
10319 2007-02-02  Wim Taymans  <wim@fluendo.com>
10320
10321         * docs/gst/gstreamer-sections.txt:
10322         Add docs for new methods.
10323
10324         * gst/gstevent.c: (gst_event_new_latency),
10325         (gst_event_parse_latency):
10326         * gst/gstevent.h:
10327         Add new LATENCY event to configure latency in a pipeline.
10328         API: gst_event_new_latency
10329         API: gst_event_parse_latency
10330
10331         * gst/gstmessage.c: (gst_message_new_buffering),
10332         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10333         (gst_message_new_latency), (gst_message_parse_buffering),
10334         (gst_message_parse_lost_preroll):
10335         * gst/gstmessage.h:
10336         Added messages used in draft-latency.
10337         API: gst_message_new_lost_preroll
10338         API: gst_message_parse_lost_preroll
10339         API: gst_message_new_prerolled
10340         API: gst_message_new_latency
10341
10342         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10343         (gst_query_parse_latency):
10344         * gst/gstquery.h:
10345         Implemented new latency query as in design doc.
10346         API: gst_query_new_latency
10347         API: gst_query_set_latency
10348         API: gst_query_parse_latency
10349
10350 2007-02-02  Wim Taymans  <wim@fluendo.com>
10351
10352         * docs/design/draft-latency.txt:
10353         Slight redesign to allow for dynamic latency adjustments.
10354
10355         * docs/design/part-negotiation.txt:
10356         Fix some typos.
10357
10358 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10359
10360         reviewed by: Wim Taymans <wim@fluendo.com>
10361
10362         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10363         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10364         Allow file://localhost/foo/bar URLs and correctly fail for every other
10365         hostname that one sets. This was gnomevfssrc is linked for those if
10366         installed as it can handle it (#403172)
10367
10368 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10369
10370         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10371
10372         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10373         (unref_data), (gst_collect_pads_add_pad_full):
10374         * libs/gst/base/gstcollectpads.h:
10375         Don't put the previously added destroy notify in the GstCollectData
10376         struct as all it's padding is already used and we don't want to break
10377         ABI. Instead put in the pad's GObject data for now. This should be
10378         cleaned up for 0.11 (#402393).
10379
10380 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10381
10382         reviewed by: Wim Taymans <wim@fluendo.com>
10383
10384         * docs/libs/gstreamer-libs-sections.txt:
10385         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10386         (unref_data), (gst_collect_pads_add_pad),
10387         (gst_collect_pads_add_pad_full):
10388         * libs/gst/base/gstcollectpads.h:
10389         API: Add function to specify a destroy notification for custom
10390         GstCollectData when adding new pads in GstCollectPads (#402393).
10391
10392 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10393
10394         * po/sv.po:
10395           Update Swedish translation (#378255).
10396
10397 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10398
10399         * docs/design/draft-klass.txt:
10400           Fix the previous change, this is a list of categories and not a hierarchy.
10401
10402 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10403
10404         * docs/design/draft-klass.txt:
10405           Add info about how to get a list of used classes.
10406
10407 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10408
10409         * plugins/elements/gsttypefindelement.c:
10410         (gst_type_find_element_chain_do_typefinding),
10411         (gst_type_find_element_change_state):
10412           Don't leak found caps in chain function (no idea why that never
10413           showed up as a leak anywhere).
10414
10415 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10416
10417         * gst/gstplugin.h:
10418           Fix and expand GstPluginDesc API docs.
10419
10420 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10421
10422         * gst/gstcaps.c:
10423         * gst/gstelementfactory.c:
10424         * gst/gstpadtemplate.h:
10425           api doc fixes
10426
10427         * libs/gst/controller/gstcontroller.c:
10428         (gst_controlled_property_new):
10429         * tests/examples/controller/audio-example.c:
10430           comment fixes
10431
10432 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10433
10434         * configure.ac:
10435           comment about refining the xml deps
10436
10437         * docs/manuals.mak:
10438           comments about moving away from jade for docs
10439         
10440         * gst/gst.c:
10441           recommit the ifdefs to use the binary registry
10442         
10443         * gst/gstbin.c: (gst_bin_change_state_func):
10444           this break is obsolete
10445
10446         * gst/gstelementfactory.h:
10447           better GST_ELEMENT_DETAILS docs, add comment about translation
10448
10449         * gst/gstinfo.h:
10450           remove eol slash
10451
10452         * gst/gstobject.c: (gst_signal_object_get_type):
10453           add G_UNLIKELY as usual
10454
10455         * gst/gstpad.c: (gst_pad_event_default):
10456           add fall trhu comment
10457
10458         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10459         (gst_registry_binary_initialize_magic),
10460         (gst_registry_binary_save_string),
10461         (gst_registry_binary_save_pad_template),
10462         (gst_registry_binary_save_feature),
10463         (gst_registry_binary_save_plugin),
10464         (gst_registry_binary_write_cache),
10465         (gst_registry_binary_check_magic),
10466         (gst_registry_binary_load_pad_template),
10467         (gst_registry_binary_load_feature),
10468         (gst_registry_binary_load_plugin),
10469         (gst_registry_binary_read_cache):
10470           comment typo and formatting
10471
10472         * gst/gstutils.c: (gst_element_state_get_name),
10473         (gst_element_state_change_return_get_name):
10474           remove obsolete breaks
10475
10476         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10477           add FIXME 0.11 and remove cpp comment
10478
10479 2007-01-29  Edward Hervey  <edward@fluendo.com>
10480
10481         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10482         Fix print statement in an even more portable way.
10483
10484 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10485
10486         * docs/gst/gstreamer-sections.txt:
10487         * gst/gstutils.h:
10488           API: add GST_ROUND_DOWN_* macros (#401781).
10489
10490 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10491
10492         * docs/gst/gstreamer.types.in:
10493         * gst/gstregistry.c: (gst_registry_class_init):
10494           Document registry signals and make gtk-doc pick them up (#401381).
10495
10496 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10497
10498         * docs/pwg/building-testapp.xml:
10499           Add some audioconverts and audioresample to the pipeline, and some
10500           more comments and error handling.
10501
10502 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10503
10504         * docs/manual/manual.xml:
10505         * docs/pwg/pwg.xml:
10506           Fix typo (#400987).
10507
10508 2007-01-26  Wim Taymans  <wim@fluendo.com>
10509
10510         * gst/gstcaps.c: (gst_static_caps_get):
10511         Init caps flags too.
10512
10513 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10514
10515         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10516
10517         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10518         If not using mmap'ed files try to seek to the end instead of the
10519         start to determine whether we can seek at all. This fixes the case
10520         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10521         seeks for everything afterwards fail. Fixes #400656
10522
10523 2007-01-25  Wim Taymans  <wim@fluendo.com>
10524
10525         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10526         Add some refcount debugging.
10527         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10528         in multiple streaming threads.
10529
10530 2007-01-25  Wim Taymans  <wim@fluendo.com>
10531
10532         Patch by: David Schleef <ds at schleef dot org>
10533
10534         * docs/libs/gstreamer-libs-sections.txt:
10535         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10536         * libs/gst/base/gstadapter.h:
10537         API: gst_adapter_copy() that can reduce the amount of memcpy when
10538         getting data from the adapter. Fixes #388201.
10539
10540 2007-01-25  Edward Hervey  <edward@fluendo.com>
10541
10542         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10543         In print statements, "%x" is for guint. Fixes build on macosx.
10544
10545 2007-01-24  Edward Hervey  <edward@fluendo.com>
10546
10547         * plugins/elements/gstmultiqueue.c:
10548         (gst_multi_queue_loop):
10549         Small fix.
10550         (single_queue_overrun_cb), (single_queue_underrun_cb),
10551         (single_queue_check_full), (gst_single_queue_new):
10552         Implement single queue growth system.
10553         This uses the extra-size properties, and will grow single queues by
10554         that much if one goes full whereas there are others empty. This is
10555         called extra-mode in the code.
10556         When a single queue's levels go back below the initial max-size
10557         limits, it is no longer in extra-mode. This is to ensure we don't
10558         consume too much memory.
10559         Fixes #399875
10560
10561 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10562
10563         * gst/gst.c: (gst_init_get_option_group):
10564           Make warning about late g_thread_init() calls a bit more explicit,
10565           so that it's more obvious to application developers what they need
10566           to do if a user files a bug against their application.
10567
10568 2007-01-22  Edward Hervey  <edward@fluendo.com>
10569
10570         * plugins/elements/gstmultiqueue.c:
10571         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10572         Remove previous hack of unsetting the flushing flag for the source pad
10573         instead of activating it. Instead, fix the source pad activate function
10574         so that it no longer depends on having a parent set or not.
10575
10576 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10577
10578         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10579
10580         * docs/manual/basics-bus.xml:
10581           Fix example code, gst_element_unref() doesn't exist any longer.
10582
10583 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10584
10585         Patch by: Mark Nauwelaerts <manauw at skynet be>
10586
10587         * gst/gstpad.c:
10588           Fix two docs typoes (#399094).
10589
10590 2007-01-19  Edward Hervey  <edward@fluendo.com>
10591
10592         * docs/faq/gst-uninstalled:
10593         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10594         depending on libgstbaseutils can work in uninstalled environment.
10595
10596 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10597
10598         * gst/gsttaglist.h:
10599         * gst/gsttagsetter.c:
10600         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10601         statement for new tag.
10602
10603 2007-01-17  Edward Hervey  <edward@fluendo.com>
10604
10605         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10606         When dynamically creating single queues, activate sinkpad before adding
10607         it.
10608         We should be doing the same thing for the source pad, but we can't
10609         since it would call a method which needs the parent to be set in order
10610         to work propertly. Instead of activating the source pad, we just unset
10611         the flushing flag, which is the minimal requirement for adding a pad
10612         to an element in a state greater than READY.
10613
10614 2007-01-17  Edward Hervey  <edward@fluendo.com>
10615
10616         * docs/faq/gst-uninstalled:
10617         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10618         Mac OS X.
10619
10620 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10621
10622         * tests/check/gst/gstabi.c:
10623         * tests/check/gst/struct_hppa.h:
10624         * tests/check/libs/libsabi.c:
10625         * tests/check/libs/struct_hppa.h:
10626           Add ABI structs for HPPA (see #393796).
10627
10628 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10629
10630         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10631           Actually write ABI structs to the file specified in the GST_ABI
10632           environment variable, as the message we print claims we would.
10633
10634 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10635
10636         * tests/check/gst/gsttask.c:
10637           Fix header comment.
10638
10639 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10640
10641         * gst/gsttaglist.c: (_gst_tag_initialize):
10642           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10643           previous two entries.
10644
10645 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10646
10647         * docs/gst/gstreamer-sections.txt:
10648         * gst/gsttaglist.c: (_gst_tag_initialize):
10649         * gst/gsttaglist.h:
10650           Add tag support for beat-per-minute.
10651
10652 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10653
10654         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10655         (gst_registry_binary_initialize_magic),
10656         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10657         (gst_registry_binary_save_pad_template),
10658         (gst_registry_binary_save_feature),
10659         (gst_registry_binary_save_plugin),
10660         (gst_registry_binary_write_cache),
10661         (gst_registry_binary_check_magic),
10662         (gst_registry_binary_load_pad_template),
10663         (gst_registry_binary_load_feature),
10664         (gst_registry_binary_load_plugin),
10665         (gst_registry_binary_read_cache):
10666         * gst/gstregistrybinary.h:
10667           Use glib types, cleanup comments, impement interfaces and uri-types.
10668
10669 2007-01-13  Andy Wingo  <wingo@pobox.com>
10670
10671         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10672         getrange() to return buffers with other caps, while we fix
10673         demuxers and typefind, or otherwise change part-negotiation.txt.
10674
10675 2007-01-12  Andy Wingo  <wingo@pobox.com>
10676
10677         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10678         Factor start/stop into this private function instead of partially
10679         in activate functions and partially in the change_state function.
10680         Fixes setup before the element has changed from READY->PAUSED, as
10681         is the case in pull-mode pipelines.
10682         (gst_base_transform_sink_activate_push)
10683         (gst_base_transform_src_activate_pull): Refactor to use
10684         gst_base_transform_activate().
10685         (gst_base_transform_change_state): Removed, not needed any more.
10686
10687         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10688         Truncate before fixating.
10689         
10690         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10691         Don't set_caps() if the result of fixating is ANY, as it's not
10692         supported, and not necessary in the case of a link with no
10693         template caps on either side. Fixes tests/check/libs/basesrc in
10694         some pull-mode tests.
10695
10696         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10697         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10698         (gst_base_transform_src_activate_pull): 
10699         Track the activation mode.
10700         (gst_base_transform_setcaps): In pull mode, when activating the
10701         src pad, after activating the sink pad, activate the sink pad's
10702         peer, as discussed in part-negotiation.txt.
10703
10704         * libs/gst/base/gstbasesrc.h: 
10705         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10706         vmethod, as in basesink.
10707
10708         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10709
10710         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10711         mode, first proxy the setcaps to the peer pad.
10712         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10713         new fixate vmethod.
10714         (gst_base_sink_default_activate_pull): Rename from
10715         gst_base_sink_activate_pull.
10716         (gst_base_sink_negotiate_pull): New function, performs negotiation
10717         in pull mode before calling ::activate_pull().
10718         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10719         vmethod instead of the default implementation. I have no idea how
10720         this worked before. Negotiate before calling activate_pull.
10721
10722         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10723         sink pads in pull mode. In addition to being correct, fixes
10724         filesrc ! decodebin ! identity ! fakesink.
10725         (gst_pad_get_range, gst_pad_pull_range): Don't call
10726         gst_pad_set_caps() if the caps changes; instead error out with
10727         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10728
10729 2007-01-12  Andy Wingo  <wingo@pobox.com>
10730
10731         * docs/design/part-negotiation.txt: Update with more policy.
10732
10733 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10734
10735         * libs/gst/check/gstbufferstraw.h:
10736         * libs/gst/check/gstcheck.h:
10737           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10738           belongs.
10739
10740 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10741
10742         * tests/check/Makefile.am:
10743         * tests/check/gst/.cvsignore:
10744         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10745         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10746         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10747         (GST_START_TEST), (gst_tag_setter_suite):
10748           Add minimal unit test for beforementioned GstTagSetter bug.
10749
10750 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10751
10752         Patch by: René Stadler <mail at renestadler dot de>
10753
10754         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10755           gst_tag_list_merge() returns a new list, so it's not the best idea
10756           to ingore its return value. Effectively meant that tags could only
10757           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10758           Also add function guard to require a non-NULL taglist as input (has
10759           always been so due to gst_tag_list_copy(), just making it explicit).
10760
10761 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10762
10763         * docs/random/draft-missing-plugins.txt:
10764           Some additions: mention new API that is supposed to be used at the
10765           various stages; short blob about new gst-inspect introspection
10766           option; mention potential future problem with plugins that have
10767           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10768
10769 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10770
10771         * tools/gst-inspect.c:
10772         (print_plugin_automatic_install_info_codecs),
10773         (print_plugin_automatic_install_info_protocols),
10774         (print_plugin_automatic_install_info), (main):
10775         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10776         introspect plugin files and get machine-parsable output that corresponds
10777         to the last bit of the missing-plugin installer string (small gotcha:
10778         doesn't take into account ranks).
10779
10780 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10781
10782         * configure.ac:
10783         * docs/gst/gstreamer-sections.txt:
10784         * gst/Makefile.am:
10785         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10786         (gst_registry_lookup_locked):
10787         * gst/gstregistry.h:
10788         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10789         (gst_registry_binary_initialize_magic),
10790         (gst_registry_binary_save_string),
10791         (gst_registry_binary_save_pad_template),
10792         (gst_registry_binary_save_feature),
10793         (gst_registry_binary_save_plugin),
10794         (gst_registry_binary_write_cache),
10795         (gst_registry_binary_check_magic),
10796         (gst_registry_binary_load_pad_template),
10797         (gst_registry_binary_load_feature),
10798         (gst_registry_binary_load_plugin),
10799         (gst_registry_binary_read_cache):
10800         * gst/gstregistrybinary.h:
10801         * gst/gstregistryxml.c: (load_feature),
10802         (gst_registry_xml_read_cache):
10803           commit binary registry (disabled by default, see #359653)
10804
10805 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10806
10807         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10808           Fix 'make check' too.
10809
10810 2007-01-10  Andy Wingo  <wingo@pobox.com>
10811
10812         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10813         notes.
10814         
10815         * docs/design/part-negotiation.txt: Update with, um, one way that
10816         pull-mode negotiation might work?
10817
10818         * gst/gstpad.h: 
10819         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10820         that the pad must be a src pad; makes sense to call it the other
10821         way in pull mode, and the logic is symmetric anyway.
10822
10823 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10824
10825         * plugins/elements/gstfilesink.c:
10826           Include <stdio.h> for fseeko().
10827
10828 2007-01-10  Wim Taymans  <wim@fluendo.com>
10829
10830         * gst/gstevent.c:
10831         * gst/gstevent.h:
10832         Reserve LATENCY event.
10833
10834 2007-01-09  Wim Taymans  <wim@fluendo.com>
10835
10836         * docs/design/draft-latency.txt:
10837         Updates.
10838
10839 2007-01-09  Wim Taymans  <wim@fluendo.com>
10840
10841         * docs/design/draft-latency.txt:
10842         Updates.
10843
10844         * gst/gstelement.h:
10845         * gst/gststructure.c:
10846         * gst/gsttrace.c:
10847         Small typo fixes.
10848
10849 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10850
10851         * tests/check/.cvsignore:
10852           Ignore test-registry.xml as well.
10853
10854 2007-01-09  Wim Taymans  <wim@fluendo.com>
10855
10856         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10857         unref data at the end when we are done with the pad.
10858
10859 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10860
10861         * docs/gst/gstreamer-sections.txt:
10862         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10863         (init_post), (gst_deinit), (gst_update_registry):
10864         * gst/gst.h:
10865           API: add gst_update_registry() (#391296).
10866
10867         * tests/check/Makefile.am:
10868         * tests/check/gst/gstregistry.c:
10869         * tests/check/gst/.cvsignore:
10870           Simple unit test for the above.
10871
10872 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10873
10874         * gst/gstregistry.c: (gst_registry_scan_path_level):
10875           Plugin extension on HP-UX is .sl, add that to the list of approved
10876           plugin extensions (see #393796).
10877
10878         * tests/check/gst/gstpad.c: (GST_START_TEST):
10879           ulong => gulong. Fixes compilation with HP-UX compiler.
10880
10881         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10882           Fix compilation if valgrind headers are not available.
10883
10884 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10885
10886         * win32/common/libgstreamer.def: 
10887           Add new exported function.
10888         * win32/vs6/libgstbase.dsp: 
10889           Add gstdataqueue.c to the build.
10890         * win32/vs6/libgstcoreelements.dsp:
10891           Add gstmultiqueue.c to the build.
10892         
10893 2007-01-06  Andy Wingo  <wingo@pobox.com>
10894
10895         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10896         activate_pull(), providing for a way to specialize the process of
10897         spawning a thread to pull on the sink pad. There is a default
10898         implementation.
10899
10900         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10901         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10902         (gst_base_sink_init): Renamed pad activation functions (inserting
10903         "_pad" in their names). Refactor to use the new activate_pull
10904         vmethod, as appropriate.
10905         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10906         default activate_pull function to start a task pulling from the
10907         sink pad, as before.
10908
10909         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10910         on the pads if necessary, as in push()/chain(). Update docs.
10911         Shouldn't affect existing pull() usage as it is currently only
10912         being used on buffers without caps.
10913
10914 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10915
10916         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10917         (init_pre):
10918           Call g_thread_init() first thing in gst_init() / gst_check_init().
10919           When initialisation is done via gst_init_get_option_group() and
10920           GOption parsing, issue a warning if the GLib thread system has not
10921           been initialised yet by the time gst_init_get_option_group() is
10922           called, as it's quite likely other GLib functions such as
10923           g_option_context_new() have been called already then, and
10924           g_thread_init() must be called before any other GLib function. The
10925           application in question must be fixed in that case, since memory
10926           corruption might happen otherwise.
10927           We issue the warning because even if the GLib folks decide to work
10928           around the problem on their end in future, this is still an issue
10929           with all GLib versions >= 2.10.0, so we should warn until we depend
10930           on a GLib version we know to be safe.
10931           Update documentation as well.
10932           Closes bug #391278.
10933
10934 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10935
10936         * tools/gst-inspect.c: (main):
10937         * tools/gst-launch.c: (main):
10938         * tools/gst-typefind.c: (main):
10939         * tools/gst-xmlinspect.c: (main):
10940           Call g_thread_init() really really early, before any other GLib
10941           function (see #342564 and recent discussion on gtk-devel-list).
10942
10943 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10944
10945         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10946
10947         * gst/gst_private.h:
10948         * gst/gstconfig.h.in:
10949         * gst/gstinfo.h:
10950           On win32, all the __declspec stuff for symbol exporting is
10951           apparently only needed with MSVC, but doesn't work with MingW.
10952           Fixes compilation with MingW and #391909.
10953
10954 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10955
10956         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10957           Change some GST_ERROR_OBJECT that aren't really errors to
10958           GST_WARNING_OBJECT in order to reduce terminal spam.
10959
10960 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10961
10962         * tests/check/Makefile.am:
10963           disable test again, as there seem to be still race problems
10964
10965 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10966
10967         * tests/check/Makefile.am:
10968         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10969         (GST_START_TEST), (queue_suite):
10970           enable queue test again, add tests for the leaky behaviour
10971
10972 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10973
10974         * configure.ac:
10975         * tests/examples/Makefile.am:
10976           Compile adapter test/example only if the required headers are
10977           available (fixes #391915).
10978
10979 2007-01-01  David Schleef  <ds@schleef.org>
10980
10981         * gst/gstplugin.c:
10982           Restore the previous signal handler for SIGSEGV instead of
10983           setting to default, since we may have stolen it away from
10984           someone.  (i.e., Mono)
10985
10986 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10987
10988         * docs/random/draft-missing-plugins.txt:
10989           Some small additions and clarifications.
10990
10991 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10992
10993         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10994           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10995           since that can lead to random memory corruptions and crashes
10996           (may or may not be related to #383244, #386711, and #386711).
10997
10998 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10999
11000         * tests/check/.cvsignore:
11001         * tests/check/Makefile.am:
11002           sync .cvsignome and CLEANFILES
11003
11004 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11005
11006         * tests/check/Makefile.am:
11007           fix distcheck
11008
11009 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11010
11011         * docs/design/part-states.txt:
11012           two tiny additional comments
11013         
11014         * gst/gststructure.c:
11015           doc fixing
11016
11017         * tests/check/Makefile.am:
11018         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11019         (GST_START_TEST):
11020           disable test for now, unless it gets fixed
11021
11022 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11023
11024         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11025         (GST_START_TEST):
11026           fix race in underrun test
11027
11028 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11029
11030         * tests/check/elements/.cvsignore:
11031           ignore more
11032
11033         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11034         (GST_START_TEST):
11035           try to narrow test failure
11036
11037 2006-12-21  David Schleef  <ds@schleef.org>
11038
11039         * plugins/elements/gstfakesrc.c:
11040           Use g_random_int_range(), since it produces better random
11041           numbers in a range than almost-correct floating point code.
11042
11043 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11044
11045         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11046         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11047         (gst_check_teardown_sink_pad):
11048           do not automatically (de)activate pads
11049
11050         * tests/check/Makefile.am:
11051         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11052         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11053           add new, yet simple tests for queue
11054
11055         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11056         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11057         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11058         (GST_START_TEST):
11059         * tests/check/elements/identity.c: (cleanup_identity):
11060           consistent pad (de)activation
11061
11062 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11063
11064         Patch by: Sebastian Dröge  <slomo ubuntu com>
11065
11066         * libs/gst/base/gstcollectpads.c:
11067           Fix two doc typos (#387866).
11068
11069 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11070
11071         * docs/manual/advanced-dparams.xml:
11072           Fix typo (g_object_control_properties() doesn't exist).
11073
11074 2006-12-19  Edward Hervey  <edward@fluendo.com>
11075
11076         * gst/gstsegment.c: (gst_segment_set_seek):
11077         Fine tune the cases where the segment start/stop values are really
11078         updated.
11079         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11080         Add tests for the return values of gst_segment_set_seek().
11081
11082 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11083
11084         * gst/gst.c:
11085           Docs typo fix.
11086
11087         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11088         (gst_queue_init):
11089           Fix incorrect documentation and flesh it out a bit more.
11090           Set default values for the max properties on the GParamSpec as well,
11091           so it shows up correctly in gst-inspect.
11092
11093 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11094
11095         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11096           Correct docs of queue, add more detail and crosslink it more.
11097
11098 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11099
11100         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11101           Print additional debug info when the stream isn't perfectly
11102           timestamped; don't try to use invalid durations.
11103
11104 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11105
11106         * docs/design/Makefile.am:
11107           Dist new design docs.
11108
11109 2006-12-16  Wim Taymans  <wim@fluendo.com>
11110
11111         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11112
11113         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11114         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11115         (gst_collect_pads_stop), (gst_collect_pads_event),
11116         (gst_collect_pads_chain):
11117         * libs/gst/base/gstcollectpads.h:
11118         Add refcounting to the collectpads data so we can track when it's safe
11119         to free the data. Fixes #383382.
11120
11121 2006-12-15  Wim Taymans  <wim@fluendo.com>
11122
11123         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11124         (gst_collect_pads_remove_pad):
11125         Automatically activate/deactivate pads when they are added to a
11126         started/stoped collectpads.
11127
11128 2006-12-15  Wim Taymans  <wim@fluendo.com>
11129
11130         * gst/gstelement.c: (gst_element_add_pad):
11131         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11132         * gst/gstpad.c: (gst_pad_init):
11133         Set pads to FLUSHING when they are created. Check, warn and fix when a
11134         demuxer adds an inactive pad to itself when running. Fixes #339326.
11135
11136 2006-12-15  Wim Taymans  <wim@fluendo.com>
11137
11138         * gst/gstelement.c: (gst_element_class_init),
11139         (gst_element_default_send_event), (gst_element_send_event),
11140         (gst_element_default_query), (gst_element_query):
11141         Expose default element send_event and query handling as vmethods that
11142         subclasses can chain up to.
11143
11144 2006-12-15  Wim Taymans  <wim@fluendo.com>
11145
11146         * gst/gstelement.c: (gst_element_set_state_func):
11147         Small documentation fixes.
11148
11149 2006-12-15  Wim Taymans  <wim@fluendo.com>
11150
11151         * docs/design/draft-latency.txt:
11152         Checked in draft for handling latency in pipelines.
11153
11154 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11155
11156         * Makefile.am:
11157         * gstreamer.doap:
11158         * gstreamer.spec.in:
11159           adding .doap file
11160
11161 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11162
11163         * gst/gst.c: (init_pre), (init_post):
11164           init_pre() and init_post() might be called via our GOptionGroup or
11165           from gst_init(), and we should skip both of them if we've already
11166           been initialised, otherwise we will init some things twice or add
11167           two default log functions.
11168
11169 2006-12-13  Edward Hervey  <edward@fluendo.com>
11170
11171         * docs/manual/basics-bus.xml:
11172         No, gst_main_loop does not exist. Its g_main_loop.
11173         Discovered by somebody who abused the copy-paste technique of coding :)
11174
11175 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11176
11177         * gst/gstghostpad.c:
11178           Log ghostpad debug stuff to the GST_PADS category as well rather
11179           than just to the default category.
11180
11181 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11182
11183         * configure.ac:
11184         * gst/gst.c: (init_pre):
11185           Add some basic system details such as OS and architecture
11186           to the debug output if possible, courtesy of uname().
11187
11188 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11189
11190         * docs/gst/running.xml:
11191           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11192           environment variables.
11193
11194 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11195
11196         * tests/check/gst/gstbin.c: (GST_START_TEST):
11197         It is acceptable to have a refcount of 2 or 3 at this point in the
11198         test, because the pipeline might be just posting its state_change
11199         message. The next line then waits for that message to appear using
11200         bus_poll, so that should be fine too.
11201
11202 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11203
11204         * gst/gst.c: (ensure_current_registry_forking):
11205         Ignore EINTR when reading from the child registry pipe.
11206         Explicitly ignore the return value from close, since it makes no
11207         difference.
11208
11209         * gst/gstminiobject.c: (gst_mini_object_ref),
11210         (gst_mini_object_unref):
11211         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11212
11213         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11214         When removing cached plugins, remove their features too, so they're
11215         not visible after they've disappeared.
11216
11217         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11218         In the unlikely case that we are linking pads with no parents, don't
11219         crash trying to get the non-existent parent bin.
11220
11221         * gst/parse/grammar.y:
11222         Output debug in the PIPELINE category
11223
11224 2005-03-08  Wim Taymans  <wim@fluendo.com>
11225
11226         Patch by: René Stadler <mail at renestadler dot de>
11227
11228         * gst/gstclock.c: (gst_clock_new_periodic_id):
11229         Reject invalid clock times for interval of periodic ids.
11230         Fixes ##383506.
11231
11232 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11233
11234         * gst/gstelementfactory.c: (gst_element_factory_create):
11235         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11236         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11237         * tools/gst-inspect.c: (print_element_info):
11238         Fix refcounting of gst_plugin_feature_load to match the docs. 
11239         Fixes: #380129
11240
11241 2006-12-07  Wim Taymans  <wim@fluendo.com>
11242
11243         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11244         (gst_base_sink_get_position):
11245         Improve debugging of events.
11246
11247 2006-12-07  Wim Taymans  <wim@fluendo.com>
11248
11249         Patch by: René Stadler <mail at renestadler dot de>
11250
11251         * gst/gstclock.c: (gst_clock_id_wait):
11252         Make period ids add the interval to the origial requested time instead
11253         of the possibly updated time which can be wrong when there are multiple
11254         waiters for the same id. Fixes #382592.
11255
11256         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11257         (gst_system_clock_id_wait_jitter_unlocked),
11258         (gst_system_clock_id_wait_jitter):
11259         Fix restart in the async notify thread when an async entry is added to
11260         the front of the list. Fixes #381492. 
11261
11262         * tests/check/gst/gstsystemclock.c: (store_callback),
11263         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11264         Added test for multiple async waits.
11265         Added test for async wait order.
11266
11267 2006-12-07  Wim Taymans  <wim@fluendo.com>
11268
11269         * gst/gstbin.c: (gst_bin_query):
11270         Add some more docs about the POSITION query.
11271
11272 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11273
11274         * configure.ac:
11275         Bump version nano - back to CVS.
11276
11277 === release 0.10.11 ===
11278
11279 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11280
11281         * configure.ac:
11282           releasing 0.10.11, "Love never runs on time"
11283
11284 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11285
11286         * win32/common/libgstbase.def:
11287         * win32/common/libgstreamer.def:
11288         * win32/vs8/libgstbase.vcproj:
11289         * win32/vs8/libgstcoreelements.vcproj:
11290         * win32/vs8/libgstreamer.vcproj:
11291         Fix compilation on win32 under VS8
11292         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11293         Partially fixes #381175
11294
11295 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11296
11297         * gst/gstvalue.c: (gst_value_compare_fraction):
11298         If someone is foolish enough to compare 2 fractions with denominator =
11299         0, return UNORDERED rather than aborting.
11300
11301 2006-11-28  Edward Hervey  <edward@fluendo.com>
11302
11303         * libs/gst/base/Makefile.am:
11304         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11305         (gst_data_queue_base_init), (gst_data_queue_class_init),
11306         (gst_data_queue_init), (gst_data_queue_new),
11307         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11308         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11309         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11310         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11311         (gst_data_queue_set_flushing), (gst_data_queue_push),
11312         (gst_data_queue_pop), (gst_data_queue_drop_head),
11313         (gst_data_queue_set_property), (gst_data_queue_get_property):
11314         * libs/gst/base/gstdataqueue.h:
11315         New GstDataQueue object for threadsafe queueing. Most useful for
11316         elements that need some queueing functionnality.
11317         * docs/libs/gstreamer-libs-docs.sgml:
11318         * docs/libs/gstreamer-libs-sections.txt:
11319         Insert documentation for GstDataQueue
11320         * plugins/elements/Makefile.am:
11321         * plugins/elements/gstelements.c:
11322         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11323         (gst_multi_queue_class_init), (gst_multi_queue_init),
11324         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11325         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11326         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11327         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11328         (gst_multi_queue_loop), (gst_multi_queue_chain),
11329         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11330         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11331         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11332         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11333         (wake_up_next_non_linked), (compute_next_non_linked),
11334         (single_queue_overrun_cb), (single_queue_underrun_cb),
11335         (single_queue_check_full), (gst_single_queue_new):
11336         * plugins/elements/gstmultiqueue.h:
11337         New multiqueue element, using GstDataQueue. Used for queuing multiple
11338         streams.
11339         Closes #344639 and #347785
11340
11341 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11342
11343         * docs/pwg/advanced-types.xml:
11344           add more missing type details
11345
11346         * tools/gst-run.c: (main):
11347           remove unused variable
11348
11349 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11350
11351         * docs/libs/Makefile.am:
11352         * docs/libs/gstreamer-libs.types:
11353           add types of base classes to enable gobject specific stuff in the docs
11354
11355         * docs/random/ensonic/embedded.txt:
11356           more ideas about isolating platform specific things
11357
11358 2006-11-20  Wim Taymans  <wim@fluendo.com>
11359
11360         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11361
11362         * libs/gst/check/gstcheck.h:
11363         Fix compilation and running against 0.9.4. Fixes #377332.
11364
11365 2006-11-20  Wim Taymans  <wim@fluendo.com>
11366
11367         * gst/gstsegment.c: (gst_segment_set_seek),
11368         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11369         (gst_segment_to_running_time):
11370         Fix boundary checking in to_running_time() and to_stream_time().
11371         Fixes #377183.
11372
11373         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11374         stream and running time can now be calculated for the complete
11375         clipped segment.
11376
11377 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11378
11379         * gst/gstpad.c: (gst_pad_push_event):
11380           Can't access event structure after giving away ownership of
11381           the event.
11382
11383 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11384
11385         * docs/random/ensonic/embedded.txt:
11386         * docs/random/ensonic/profiling.txt:
11387         * docs/random/ensonic/receipies.txt:
11388           more thinking
11389
11390 2006-11-13  Wim Taymans  <wim@fluendo.com>
11391
11392         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11393
11394         * gst/gstpad.c:
11395         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11396
11397 2006-11-13  Wim Taymans  <wim@fluendo.com>
11398
11399         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11400
11401         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11402         Store new length in segment duration so we don't keep on calling the
11403         potentially expensize get_size() call. Fixes #370865.
11404
11405 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11406
11407         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11408
11409         * win32/common/libgstreamer.def:
11410           Add two missing symbols (#366492).
11411
11412 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11413
11414         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11415         (gst_adapter_take_buffer):
11416         Fix format string to use all its arguments.
11417         Remove useless >= check on a guint
11418
11419 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11420
11421         * tests/examples/adapter/.cvsignore:
11422         Ignore build file as commanded by the build-bot
11423
11424 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11425
11426         * tests/examples/adapter/Makefile.am:
11427         * tests/examples/adapter/adapter_test.c: (run_test_take),
11428         (run_test_take_buffer), (run_tests), (main):
11429
11430         Add new files from the previous commit
11431
11432 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11433
11434         * Makefile.am:
11435         * configure.ac:
11436         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11437         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11438         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11439         * libs/gst/base/gstadapter.h:
11440         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11441         (GST_START_TEST), (gst_adapter_suite):
11442         * tests/examples/Makefile.am:
11443         Do some optimisation work in GstAdapter to avoid copies in more cases.
11444         It could still do slightly better by merging buffers when
11445         gst_buffer_is_span_fast is true, but is already faster. 
11446
11447         Also, avoid traversing a single-linked list to append each incoming 
11448         buffer inside the adapter.
11449
11450         Add simple test app that times the adapter behaviour in different
11451         situations, and extend the unit test to check that bytes enter and
11452         exit the adapter in their original order.
11453
11454 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11455
11456         * docs/random/draft-missing-plugins.txt:
11457           Update: use element message instead of adding a new message
11458           type to the core; don't provide GStreamer API to initiate the
11459           plugin download, just provide API to compose the strings needed
11460           and let an external libgimmestuff handle the rest.
11461
11462 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11463
11464         * tools/gst-inspect.c: (print_element_properties_info):
11465         Print a string instead of 'unknown type' for GValueArray properties
11466
11467 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11468
11469         * docs/random/draft-missing-plugins.txt:
11470         More small fixes.
11471
11472 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11473
11474         * tests/examples/typefind/typefind.c: (type_found), (main):
11475           Make typefind element example work again (#371894); add a
11476           license header.
11477
11478 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11479
11480         * docs/random/draft-missing-plugins.txt:
11481           Commit initial draft about how to deal with missing plugins,
11482           needs work (API too).
11483
11484 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11485
11486         * docs/pwg/advanced-types.xml:
11487           documents the new caps elements (see #363118)
11488
11489 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11490
11491         * gst/gstplugin.c: (gst_plugin_load_file):
11492         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11493         (gst_file_src_map_region), (gst_file_src_start):
11494         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11495         (gst_file_index_commit):
11496           Use g_strerror() instead of strerror() - we want UTF-8.
11497
11498 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11499
11500         Patch by: Peter Kjellerstedt <pkj at axis com>
11501
11502         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11503           Another printf fix (#371493).
11504
11505 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11506
11507         * tests/check/gst/gsttag.c:
11508           relicence (okay with author=company)
11509
11510 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11511
11512         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11513         (gst_pad_push_event):
11514           Enhance debug and improve docs
11515         
11516         * gst/gsturi.c:
11517           Fix docs
11518
11519 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11520
11521         * docs/random/ensonic/distributed.txt:
11522         * docs/random/ensonic/profiling.txt:
11523           more ideas
11524
11525 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11526
11527         * docs/gst/gstreamer-sections.txt:
11528           add new API and fix the build
11529           
11530         * gst/gstbin.c: (gst_bin_recalc_state):
11531         * gst/gstelement.c: (gst_element_message_full),
11532         (gst_element_get_state_func), (gst_element_set_state_func):
11533           use new API and improve logging
11534         
11535         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11536         * gst/gstutils.h:
11537           API: add function to get StateChangereturn names to improve logs 
11538
11539 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11540
11541         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11542           I'm considering shooting the next person to put strerror stuff
11543           in the translateable part of the message.
11544
11545 2006-11-03  Wim Taymans  <wim@fluendo.com>
11546
11547         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11548         Get the type and printf conversion specifiers right.
11549
11550 2006-11-03  Wim Taymans  <wim@fluendo.com>
11551
11552         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11553
11554         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11555         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11556         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11557         Some small cleanups. Improve debugging.
11558         * gst/gstpad.h:
11559         Signal all waiting threads with a broadcast instead of just one.
11560         Fixes #369942.
11561
11562 2006-11-03  Wim Taymans  <wim@fluendo.com>
11563
11564         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11565         (gst_fd_src_create):
11566         Add some debugging. 
11567         Only update fd when it's different from the old.
11568
11569 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11570
11571         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11572           Printf fixes for PPC/OSX, take two (#369366).
11573
11574 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11575
11576         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11577
11578         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11579         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11580         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11581           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11582           don't cast to long long for portability reasons, but use
11583           GLib's types instead.
11584
11585 2006-10-30  Michael Smith  <msmith@fluendo.com>
11586
11587         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11588           Get the arguments to lseek() the right way around.
11589           Fixes 367677.
11590
11591 2006-10-30  Wim Taymans  <wim@fluendo.com>
11592
11593         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11594
11595         * gst/gstinfo.h:
11596         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11597
11598 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11599
11600         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11601
11602         * docs/design/part-MT-refcounting.txt:
11603         * docs/random/wtay/capsnego2-docs:
11604         * gst/gstclock.c:
11605         * gst/gstxml.c:
11606           Typo fixes (#366212).
11607
11608 2006-10-28  Wim Taymans  <wim@fluendo.com>
11609
11610         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11611
11612         * gst/gst.c:
11613         * win32/common/libgstbase.def:
11614         * win32/common/libgstreamer.def:
11615         * win32/vs8/libgstbase.vcproj:
11616         * win32/vs8/libgstcontroller.vcproj:
11617         Add needed entries in .def files.
11618         Use HAVE_UNISTD_H.
11619         Rearrange def files in vs8 solutions. Fixes #366286.
11620
11621 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11622
11623         * win32/common/gstconfig.h:
11624           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11625           hand-made win32 gstconfig.h. Fixes #366321.
11626
11627 2006-10-27  Wim Taymans  <wim@fluendo.com>
11628
11629         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11630         (gst_ghost_pad_new_full):
11631         Make acceptcaps return TRUE when we don't have a target, just like
11632         setcaps does.
11633
11634 2006-10-27  Wim Taymans  <wim@fluendo.com>
11635
11636         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11637         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11638
11639 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11640
11641         * gst/gststructure.c: (gst_structure_id_set_value):
11642           If someone tries to set a non-UTF8 string field on a structure,
11643           don't just print a warning, but also ignore the request and do
11644           not change/add that field to the structure.
11645
11646         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11647           Test for the above.
11648
11649 2006-10-25  David Schleef  <ds@schleef.org>
11650
11651         * gst/gstinfo.c:
11652           g_hash_table_insert() needs a cast to a non-const pointer duh.
11653
11654 2006-10-25  David Schleef  <ds@schleef.org>
11655
11656         * gst/gstinfo.c:
11657         * gst/gstinfo.h:
11658           Change name parameter of _gst_debug_register_funcptr to const
11659           to reflect the constness of its use in the function as well
11660           as to quiet a gcc warning.
11661
11662 2006-10-25  Edward Hervey  <edward@fluendo.com>
11663
11664         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11665         Don't push the buffer if it's empty.
11666         Closes #363095
11667
11668 2006-10-24  Wim Taymans  <wim@fluendo.com>
11669
11670         * gst/gstevent.h:
11671         Add small comment.
11672
11673         * libs/gst/base/gstbasetransform.c:
11674         (gst_base_transform_sink_eventfunc):
11675         Debug segment values *after* updating them as this is more
11676         interesting.
11677
11678 2006-10-23  Wim Taymans  <wim@fluendo.com>
11679
11680         * docs/design/part-events.txt:
11681         Update some docs.
11682
11683         * docs/design/part-block.txt:
11684         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11685         (gst_pad_push_event):
11686         Revert BLOCKING patch, it tries to be smart without really having a
11687         clear idea what or how. So, now we discard all FLUSHING events again on
11688         a blocking pad. Should fix gnonlin again.
11689
11690 2006-10-23  Wim Taymans  <wim@fluendo.com>
11691
11692         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11693
11694         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11695         (gst_base_src_start), (gst_base_src_activate_push):
11696         Make sure size is always initialized. Fixes #364388.
11697
11698 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11699
11700         * docs/random/ensonic/distributed.txt:
11701           add some ideas about doing distributed processing
11702
11703         * docs/random/ensonic/profiling.txt:
11704           get_rusage look promising
11705
11706 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11707
11708         * docs/manual/basics-helloworld.xml:
11709           Add a cast in example to fix compile warning
11710
11711 2006-10-18  Wim Taymans  <wim@fluendo.com>
11712
11713         * gst/gstsegment.c: (gst_segment_set_last_stop),
11714         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11715         Relax arg checking again, -1 is allowed.
11716
11717 2006-10-18  Wim Taymans  <wim@fluendo.com>
11718
11719         * gst/gstsegment.c: (gst_segment_set_last_stop),
11720         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11721         _set_last_stop() must be with a value != -1
11722         A _TYPE_SET to -1 means seek to 0.
11723         Calc last_stop correctly for negative rates.
11724         Make sure we work with positive durations when updating a segment.
11725
11726 2006-10-18  Wim Taymans  <wim@fluendo.com>
11727
11728         * docs/design/part-live-source.txt:
11729         * gst/gstclock.h:
11730         Small docs fixes.
11731
11732 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11733
11734         * gst/gstbuffer.h:
11735           Add an explicit cast to GstBuffer** to keep old code that added an
11736           explicit cast to GstMiniObject** for gst_mini_object_replace()
11737           compiling without warning.
11738
11739 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11740
11741         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11742           check for validity of dates
11743
11744 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11745
11746         * docs/gst/gstreamer-sections.txt:
11747           Forgot this one, makes gtk-doc shut up.
11748
11749 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11750
11751         Patch by: Peter Kjellerstedt <pkj at axis com>
11752
11753         * gst/gstobject.h:
11754           Don't define xmlNodePtr to gpointer if the core was built with
11755           --disable-loadsave and --disable-registry, this will break
11756           applications that want to use libxml2 but are buildling against a
11757           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11758           instead so we don't have to mess with the libxml2 namespace
11759           (#361675).
11760
11761 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11762
11763         * gst/gstbuffer.h:
11764           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11765           type-punned pointer warnings.
11766
11767 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11768
11769         * gst/gstelement.h:
11770           Add casts to the correct return type to state <=> state transition
11771           macros.
11772
11773 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11774
11775         * docs/design/part-live-source.txt:
11776           describe howto handle latency
11777         
11778         * docs/random/ensonic/profiling.txt:
11779           more ideas
11780
11781         * tools/gst-plot-timeline.py:
11782           fix log parsing for solaris, remove unused function
11783
11784 2006-10-16  Wim Taymans  <wim@fluendo.com>
11785
11786         * docs/design/part-trickmodes.txt:
11787         * gst/gstevent.c:
11788         Update some docs regarding reverse playback.
11789
11790 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11791
11792         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11793
11794         * win32/vs8/grammar.vcproj:
11795           Error out with a warning if glib-genmarshal.exe is not in path,
11796           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11797
11798 2006-10-13  Wim Taymans  <wim@fluendo.com>
11799
11800         * gst/gstsegment.c: (gst_segment_set_seek):
11801         When seeking to stop -1, set last_stop (current position) to the
11802         duration of the segment.
11803
11804 2006-10-13  Wim Taymans  <wim@fluendo.com>
11805
11806         * gst/gstelement.h:
11807         Clarify _NO_PREROLL a bit more.
11808
11809         * gst/gstevent.c:
11810         Fix docs.
11811
11812         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11813         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11814         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11815         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11816         due to wrong locking order. Fixes #361769.
11817         Remove some redundant/misplaced checks in pad_block.
11818
11819         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11820         For negative rates, count backwards from the duration.
11821
11822 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11823
11824         * gst/gsterror.c: (_gst_library_errors_init):
11825           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11826           up with something better).
11827
11828 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11829
11830         * win32/vs6/libgstreamer.dsp:
11831         * win32/vs7/libgstreamer.vcproj:
11832         * win32/vs8/libgstreamer.vcproj:
11833           Don't reference glib-compat.c which is currently not used and not
11834           disted; add gstquark.c which was recently added. Fixes #361730.
11835
11836 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11837
11838         * win32/common/libgstbase.def:
11839         * win32/common/libgstcontroller.def:
11840         * win32/common/libgstreamer.def:
11841           Add gst_caps_merge() and a bunch of other recently-added functions.
11842           Fixes #361732.
11843
11844 2006-10-11  Wim Taymans  <wim@fluendo.com>
11845
11846         * docs/plugins/gstreamer-plugins.args:
11847         * docs/plugins/inspect/plugin-coreelements.xml:
11848         * docs/plugins/inspect/plugin-coreindexers.xml:
11849         Update element args.
11850
11851         * gst/gstsystemclock.c:
11852         Small comment update.
11853
11854         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11855         (gst_tee_request_new_pad), (gst_tee_release_pad),
11856         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11857         (gst_tee_sink_activate_pull):
11858         * plugins/elements/gsttee.h:
11859         Some tee loving:
11860         Add default property defines.
11861         Implement release pad function.
11862         Give properties better blubs etc.
11863         Activate pads before adding them to a running tee.
11864         Do simple buffer_alloc on the first requested pad.
11865         Post error when activation fails.
11866
11867 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11868
11869         * gst/gst.c: (ensure_current_registry_forking):
11870           Check return value of write() to make compiler happy.
11871
11872 2006-10-11  Wim Taymans  <wim@fluendo.com>
11873
11874         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11875
11876         * plugins/elements/gstqueue.c: (gst_queue_chain):
11877         Recheck queue filledness after signalling the overrun when we're about
11878         to leak downstream because we released the lock when emitting the signal
11879         and the queue could be empty again. Fixes #352345.
11880
11881 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11882
11883         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11884           Fix refcounting here too, just like we did for _new_valist() a few
11885           days ago (#357180) (thanks to René Stadler). Also remove all those
11886           'Since: 0.9' from the gtk-doc blobs.
11887
11888         * tests/check/libs/controller.c: (controller_refcount_new_list),
11889         (gst_controller_suite):
11890           Unit test for the above.
11891
11892 2006-10-10  Wim Taymans  <wim@fluendo.com>
11893
11894         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11895
11896         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11897         (gst_pad_save_thyself):
11898         Update some docs.
11899         Write pad direction in XML output. Fixes #345496.
11900
11901 2006-10-10  Wim Taymans  <wim@fluendo.com>
11902
11903         Patch by: René Stadler <mail at renestadler dot de>
11904
11905         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11906         (gst_controller_new_list), (_gst_controller_dispose),
11907         (_gst_controller_finalize), (_gst_controller_class_init):
11908         Take ref to controlled object so that it cannot disappear. 
11909         Fixes #357432.
11910
11911 2006-10-10  Wim Taymans  <wim@fluendo.com>
11912
11913         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11914         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11915         (gst_check_teardown_sink_pad):
11916         Activate/deactivate pads in setup/teardown respectively.
11917
11918 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11919
11920         Patch by: Josep Torra Valles <josep@fluendo.com>
11921
11922         * gst/Makefile.am:
11923         Cast values when making gstenumtypes.h.  This pacifies Forte
11924         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11925         in the enumeration.
11926
11927 2006-10-09  Wim Taymans  <wim@fluendo.com>
11928
11929         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11930         Rename some more @cur to @start to fix docs. 
11931
11932         * gst/gstsegment.c: (gst_segment_set_seek):
11933         Fix typo.
11934         time and start must always stay in sync as defined in design doc.
11935
11936         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11937         Rename param to fix docs.
11938
11939         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11940         Check that start and time are in sync.
11941
11942         * tests/check/pipelines/parse-launch.c:
11943         (gst_parse_test_element_change_state):
11944         Activate pad before adding to the element.
11945
11946 2006-10-09  Wim Taymans  <wim@fluendo.com>
11947
11948         * docs/design/part-qos.txt:
11949         Fix typo.
11950
11951         * gst/gstevent.c:
11952         * gst/gstevent.h:
11953         Update seek event docs regarding negative rates.
11954         Rename @cur to @start. 
11955
11956         * gst/gstsegment.c: (gst_segment_set_seek):
11957         * gst/gstsegment.h:
11958         Update set_seek docs regarding negative rates.
11959         Correctly update last_stop to @stop when dealing with negative
11960         rates.
11961         Rename @cur to @start. 
11962
11963         * tests/check/gst/gstpad.c: (GST_START_TEST):
11964         Activate pads before trying to use them.
11965
11966         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11967         (gst_segment_suite):
11968         Add simple check for segments and negative rates.
11969
11970 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11971
11972         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11973         * gst/gsttaglist.h:
11974         * docs/gst/gstreamer-sections.txt:
11975           API: add gst_tag_list_is_empty() (#360467).
11976
11977         * tests/check/gst/gsttag.c: (GST_START_TEST):
11978           And a test case.
11979
11980 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11981
11982         * gst/gstmessage.h:
11983         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11984         a value that doesn't fit on enumeration.
11985
11986 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11987
11988         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11989         Remove local debugging system and use Gstreamer's instead.
11990
11991 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11992
11993         Patch by: Josep Torra Valles <josep@fluendo.com>
11994
11995         * common/m4/gst-error.m4:
11996         Disable warning of statement not reached on Forte.
11997         * gst/gstmessage.h:
11998         Fix warning on Forte (value doesn't fit on enumeration).
11999         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12000         Fix warning on Forte (value doesn't fit on enumeration).
12001         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12002         DEBUG macro says it takes minimum of 2 args and so Forte
12003         complains about the use with just 1 arg.
12004         * plugins/elements/gstfdsink.c:
12005         * plugins/elements/gstfdsrc.c:
12006         * plugins/elements/gstfilesink.c:
12007         * plugins/elements/gstfilesrc.c:
12008         Use correct return type for the uri handler implementations.
12009
12010         All these fix warnings in Forte.  Fixes bug #360860.
12011
12012 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12013
12014         * gst/gstelement.h:
12015           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12016           format string, so don't use G_GNUC_PRINTF for those versions.
12017
12018 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12019
12020         * gst/gsttaglist.c: (gst_is_tag_list):
12021         * gst/gsttaglist.h:
12022           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12023
12024         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12025           Small test for the above.
12026
12027 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12028
12029         * gst/gsttaglist.h:
12030           Less tabs, more spaces.
12031
12032 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12033
12034         * gst/gstinfo.h:
12035           Those two function declarations do actually belong there, revert
12036           commit from yesterday that turned them intro macros.
12037
12038 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12039
12040         Patch by: Josep Torra Valles <josep@fluendo.com>
12041
12042         * gst/gst.c: (gst_init_get_option_group):
12043         Fix empty declaration and type mismatch.
12044         * gst/gstbin.c: (gst_bin_change_state_func):
12045         Fix type mismatch.
12046         * gst/gstelement.c: (gst_element_continue_state),
12047         (gst_element_set_state_func), (gst_element_change_state),
12048         (gst_element_change_state_func):
12049         Fix type mismatches.
12050         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12051         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12052         Cast as appropriate.
12053         * gst/gstobject.c: (gst_class_signal_connect):
12054         Cast as appropriate.  The function pointer parameter really
12055         has the wrong type but would break API if we change it.
12056         * gst/gstquery.c:
12057         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12058         order of including string.h.
12059         * gst/gstutils.c: (gst_element_state_get_name):
12060         Remove unreachable line.
12061         * gst/gstxml.c: (gst_xml_parse_doc):
12062         Fix type mismatch.
12063         All these caught by Forte.
12064
12065 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12066
12067         Patch by: Josep Torra Valles <josep@fluendo.com>
12068
12069         * common/m4/gst-error.m4:
12070         Fixed bug #360151.
12071         We need to disable warnings on Forte for empty declarations
12072         due to gst-indent adding ;s to lines that just use macros
12073         where the macro actually doesn't need a ; at end to end
12074         statement.
12075
12076 2006-10-06  Wim Taymans  <wim@fluendo.com>
12077
12078         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12079         (gst_file_sink_close_file), (gst_file_sink_event),
12080         (gst_file_sink_render):
12081         Add some FIXME for the NEWSEGMENT handling.
12082
12083 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12084
12085         * gst/parse/grammar.y:
12086         Remove static function gst_parse_element_lock as all it does
12087         is return.  Looks like cruft from 0.8.
12088
12089 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12090
12091         Patch by: Josep Torra Valles <josep@fluendo.com>
12092
12093         * common/m4/gst-error.m4:
12094         * configure.ac:
12095         * libs/gst/net/Makefile.am:
12096         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12097         libresolv.
12098
12099 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12100
12101         * gst/gstpad.c: (pre_activate):
12102         * gst/gstregistry.c: (gst_registry_scan_path_level):
12103         * gst/gstregistryxml.c: (load_plugin):
12104         * libs/gst/controller/gstcontroller.c:
12105         (gst_controlled_property_set_interpolation_mode):
12106         * libs/gst/dataprotocol/dataprotocol.c:
12107         (gst_dp_packet_from_event_1_0):
12108         * libs/gst/net/gstnetclientclock.c:
12109         (gst_net_client_clock_observe_times):
12110         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12111           Printf fixes.
12112
12113 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12114
12115         * configure.ac:
12116         * docs/gst/gstreamer-sections.txt:
12117         * gst/gstconfig.h.in:
12118         * gst/gstelement.h:
12119         * gst/gstinfo.h:
12120           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12121           whether we can use G_GNUC_PRINTF in other header files and at
12122           least check the printf format/arguments of debug messages and
12123           GST_ELEMENT_ERROR messages when the printf extension is not
12124           being used.
12125           Replace more tabs with spaces in gstinfo.h and remove two spurious
12126           function declarations in GST_DISABLE_DEBUG part with macros.
12127
12128 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12129
12130         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12131           More docs for the sync-message signal (mention that it is not
12132           emitted by default); log message structures of messages posted on
12133           the bus as well.
12134
12135 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12136
12137         * gst/gst.c: (ensure_current_registry_forking):
12138         Use a pipe pair to receive status results from the forked child, and
12139         ignore the result from waitpid. Fixes #355499
12140
12141 2006-10-02  Wim Taymans  <wim@fluendo.com>
12142
12143         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12144         (gst_ghost_pad_suite):
12145         Fix leak in check.
12146
12147 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12148
12149         * gst/gstpad.c:
12150           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12151
12152 2006-10-02  Edward Hervey  <edward@fluendo.com>
12153
12154         * docs/design/part-block.txt:
12155         Further explain the use of flushing on blocked pads.
12156         * docs/gst/gstreamer-sections.txt:
12157         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12158         (gst_pad_push_event):
12159         * gst/gstpad.h:
12160         Added new GstPadFlag : GST_PAD_BLOCKING.
12161         Adds the notion of pads really blocking, which enables to properly
12162         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12163         Fixes #358999
12164         API: gst_pad_is_blocking()
12165         API: GST_PAD_IS_BLOCKING() macro
12166         API: GST_PAD_BLOCKING GstPadFlag
12167         
12168 2006-10-02  Wim Taymans  <wim@fluendo.com>
12169
12170         Patch by: mrcgran <mrc.gran at gmail dot com>
12171
12172         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12173         Filter the proxied caps against the padtemplate if we have one.
12174
12175         * gst/gstquery.c: (gst_query_new_segment):
12176         Add include for gstinfo.h so that compilation with
12177         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12178
12179 2006-10-02  Wim Taymans  <wim@fluendo.com>
12180
12181         Patch by: Alessandro Decina  <alessandro at nnva org>
12182
12183         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12184         (gst_file_sink_set_location), (gst_file_sink_open_file),
12185         (gst_file_sink_close_file), (gst_file_sink_event),
12186         (gst_file_sink_render):
12187         Set file to NULL when closing filesink so that we can set a new filename
12188         in READY. Fixes #358613.
12189
12190 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12191
12192         Patch by: Alessandro Decina  <alessandro at nnva org>
12193
12194         * gst/gstevent.c: (_gst_event_copy):
12195           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12196           with event structures by setting the parent refcount address of the
12197           copied structure to the address of the refcount member of the newly
12198           copied event rather than the address of the refcount member of the
12199           original event. Fixes #358737.
12200
12201         * tests/check/gst/gstevent.c: (GST_START_TEST):
12202           Unit test for the above.
12203
12204 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12205
12206         * docs/design/Makefile.am:
12207           Dist some more files.
12208
12209 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12210
12211         * tests/check/libs/controller.c: (GST_START_TEST),
12212         (gst_controller_suite):
12213           Add test for the previous fix; add some more tests
12214           for correct refcounting behaviour; fix a few leaks
12215           in test cases; call gst_controller_init() at start
12216           of all tests.
12217
12218 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12219
12220         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12221         (gst_controller_set_from_list):
12222           Don't g_return_val_if_fail() on timed values with invalid timestamps
12223           inside a critical section without unlocking the mutex. Spotted by
12224           René Stadler. (#357617)
12225           Also, fix up refcounting properly: when returning an existing
12226           controller, we should increase the reference only once and not
12227           once per property and when trying to control a property again
12228           we should also increase the refcount.
12229
12230 2006-09-29  Wim Taymans  <wim@fluendo.com>
12231
12232         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12233         * libs/gst/net/gstnettimeprovider.c:
12234         (gst_net_time_provider_thread):
12235         Stop reading commands when EOF as well.
12236
12237         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12238         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12239         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12240         Unify description of the dump property.
12241
12242 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12243
12244         * tests/examples/manual/.cvsignore:
12245         OK, so it's actually cvsignore that needs changing. Stop laughing.
12246
12247 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12248
12249         * tests/examples/manual/Makefile.am:
12250         Gah, declare vars *before* using them
12251
12252 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12253
12254         * gst/gst.c: (init_pre), (scan_and_update_registry),
12255         (ensure_current_registry_nonforking),
12256         (ensure_current_registry_forking), (ensure_current_registry),
12257         (init_post), (gst_debug_help), (gst_deinit):
12258         * gst/gst_private.h:
12259         * gst/gstregistry.c: (gst_registry_finalize),
12260         (gst_registry_remove_features_for_plugin_unlocked),
12261         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12262         (gst_registry_scan_path),
12263         (_priv_gst_registry_remove_cache_plugins),
12264         (_priv_gst_registry_cleanup):
12265         * gst/gstregistry.h:
12266         Re-commit the registry changes, along with an extra fix:
12267           When a cached plugin is encountered at a different file path,
12268           update the stored path in the registry cache so that the parent
12269           process knows where it actually is now when it re-reads the registry
12270           cache. Fixes the thing that broke distcheck with the previous commit.
12271
12272         * tests/check/Makefile.am:
12273         Clean up files named 'core' too when running make clean.
12274
12275         * tests/examples/manual/Makefile.am:
12276         Set up a registry path for running these tests, and clean it properly
12277         for distcheck.
12278
12279 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12280
12281         * configure.ac:
12282         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12283         want gmodule-no-export-2.0.pc instead so that we don't drag in
12284         --export-dynamic on every project that links to GStreamer.
12285
12286         Also, make our export regex only match the start of symbols, rather 
12287         than any symbol that contains '_gst' somewhere.
12288
12289         * libs/gst/check/Makefile.am:
12290         The libgstcheck we build does however need export-dynamic, as it
12291         produces some symbols that don't match our _gst... style regex.
12292         Fixes: #318031
12293
12294 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12295
12296         * gst/gst.c: (init_pre), (scan_and_update_registry),
12297         (ensure_current_registry_nonforking),
12298         (ensure_current_registry_forking), (ensure_current_registry),
12299         (init_post), (gst_debug_help), (gst_deinit):
12300         * gst/gst_private.h:
12301         * gst/gstregistry.c: (gst_registry_finalize),
12302         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12303         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12304         (_gst_registry_cleanup):
12305         * gst/gstregistry.h:
12306           Revert previous change until I figure out why it breaks distcheck.
12307
12308 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12309
12310         * gst/gst.c: (init_pre), (scan_and_update_registry),
12311         (ensure_current_registry_nonforking),
12312         (ensure_current_registry_forking), (ensure_current_registry),
12313         (init_post), (gst_debug_help), (gst_deinit):
12314
12315           Make init_pre and init_post take the full complement of GOptionFunc
12316           args so they can return useful GErrors. Make the registry updating
12317           functions do so.
12318
12319           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12320           ensure that the registry we're about to write out doesn't contain
12321           stale information about old-deleted plugin files.
12322
12323           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12324           that deletion of plugin files is considered a registry change.
12325
12326         * gst/gst_private.h:
12327         * gst/gstregistry.c: (gst_registry_finalize),
12328         (gst_registry_remove_features_for_plugin_unlocked),
12329         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12330         (gst_registry_scan_path),
12331         (_priv_gst_registry_remove_cache_plugins),
12332         (_priv_gst_registry_cleanup):
12333         * gst/gstregistry.h:
12334         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12335         by adding _priv prefix, so that they won't appear in the global
12336         symbol table. They still do atm though because of #318031. Move the
12337         prototypes to gst_private.h
12338
12339         When removing a plugin, remove all features for that plugin too. 
12340         Fixes #340878.
12341
12342 2006-09-27  Wim Taymans  <wim@fluendo.com>
12343
12344         * docs/random/moving-plugins:
12345         Make it clear that the "compiled-in descriptions" really mean
12346         the element details.
12347
12348         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12349         (gst_base_sink_wait_preroll):
12350         Update docs.
12351
12352         * docs/libs/gstreamer-libs-sections.txt:
12353         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12354         (gst_base_src_get_range), (gst_base_src_activate_push):
12355         * libs/gst/base/gstbasesrc.h:
12356         Added function to block while waiting for PLAYING, this function
12357         is used by live sources that block on the clock.
12358         API: gst_base_src_wait_playing()
12359
12360 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12361
12362         Patch by: Peter Kjellerstedt <pkj at axis com>
12363
12364         * Makefile.am:
12365           gst-element-check.m4 is generated and should therefore be
12366           copied from the build dir rather than the source dir (#357593).
12367           'make distcheck' hasn't noticed this because we were disting
12368           the file as well, so stop doing that.
12369
12370 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12371
12372         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12373           Add some tests for gst_caps_intersect().
12374
12375         * tools/gst-launch.c: (event_loop):
12376           Print all buffering percentages we get, even the 100% one.
12377
12378 2006-09-26  Wim Taymans  <wim@fluendo.com>
12379
12380         * tools/gst-inspect.c: (print_element_properties_info),
12381         (print_signal_info):
12382         Fix printing of flags to match the look of enums.
12383
12384 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12385
12386         * gst/gstelementfactory.c:
12387           Fix typo in docs blurb.
12388
12389 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12390
12391         * gst/gsturi.c: (search_by_entry):
12392           Don't assert/crash here if a uri handler doesn't return any
12393           supported protocols. The list of protocols could be generated
12394           dynamically at runtime or at plugin registration, and an error
12395           in the underlying library shouldn't be fatal (#353301).
12396
12397 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12398
12399         * gst/gstinfo.c:
12400           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12401           (spotted by Peter Kjellerstedt).
12402
12403 2006-09-23  Wim Taymans  <wim@fluendo.com>
12404
12405         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12406
12407         * libs/gst/base/gstbasesrc.c:
12408         (gst_base_src_default_check_get_range), (gst_base_src_start),
12409         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12410         (gst_base_src_change_state):
12411         Match _start/_stop calls in the activate functions. Remove redundant
12412         _stop call from the state change function. Fixes #356910.
12413         Turn failure DEBUG into ERROR. 
12414
12415 2006-09-22  Wim Taymans  <wim@fluendo.com>
12416
12417         * docs/design/part-buffering.txt:
12418         * gst/gstmessage.c: (gst_message_new_buffering),
12419         (gst_message_parse_buffering):
12420         Update docs about buffering.
12421
12422         * docs/design/part-trickmodes.txt:
12423         Fix typo.
12424
12425 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12426
12427         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12428         (gst_controller_new_list):
12429           Ref instances when returning them again (fixes #357180)
12430
12431 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12432
12433         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12434           Don't forget to release proxy lock when there's an error.
12435
12436 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12437
12438         * gst/gstcaps.h:
12439           Add extra initialisers for Caps things, to fix some plugin warnings
12440           when using -Wextra
12441
12442 2006-09-18  Wim Taymans  <wim@fluendo.com>
12443
12444         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12445           Also set template on the internal pad so that a getcaps from the 
12446           target pad returns the template caps.
12447
12448 2006-09-18  Wim Taymans  <wim@fluendo.com>
12449
12450         * gst/gstelement.c: (gst_element_post_message),
12451         (gst_element_dispose):
12452         Use _DEBUG_OBJECT some more.
12453
12454         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12455         Avoid typechecks.
12456
12457         * tools/gst-launch.c: (main):
12458         If the toplevel element is not a GstPipeline, it must be put in a
12459         pipeline so that a bus and clock is selected.
12460
12461 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12462
12463         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12464           JITTER, RATE, and LATENCY query should be handled by the
12465           default case and not by the CONVERT query code.
12466
12467 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12468
12469         * gst/gstformat.c: (gst_format_register):
12470           Fix locking order (must take lock before using n_values).
12471
12472         * gst/gstvalue.c: (gst_value_serialize_enum),
12473         (gst_value_deserialize_enum_iter_cmp),
12474         (gst_value_deserialize_enum):
12475           Fix serialisation/deserialisation of custom registered GstFormats.
12476
12477         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12478           Unit test for custom format serialisation/deserialisation.
12479
12480 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12481
12482         * docs/pwg/building-boiler.xml:
12483         * plugins/elements/gstcapsfilter.c:
12484         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12485         section.
12486
12487 2006-09-16  Edward Hervey  <edward@fluendo.com>
12488
12489         * libs/gst/base/gstbasetransform.c:
12490         (gst_base_transform_buffer_alloc):
12491         Check if requested caps are the same as the sinks caps IF
12492         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12493         is FALSE.
12494         This fixes the renegotiation issues stated in #352827.
12495
12496 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12497
12498         * configure.ac:
12499         * docs/manual/advanced-autoplugging.xml:
12500         * tests/examples/Makefile.am:
12501         * tests/examples/manual/.cvsignore:
12502         * tests/examples/manual/Makefile.am:
12503         * tests/examples/manual/extract.pl:
12504           Extract the manual examples again like we used to do.
12505           Fix one of them.
12506
12507 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12508
12509         * win32/common/config.h:
12510           update for version
12511
12512 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12513
12514         * gst/gsterror.c:
12515           Documents how to receive errors.
12516
12517 2006-09-15  Wim Taymans  <wim@fluendo.com>
12518
12519         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12520         (event_loop), (main):
12521         Added some comments here and there.
12522         Post an application message when an interrupt is caught instead of doing
12523         an uncontrolled state change.
12524         Clean up the event loop.
12525         Handle buffering messages, pause/resume the pipeline.
12526         Make shutdown because of an interrupt more reliable.
12527
12528 2006-09-15  Wim Taymans  <wim@fluendo.com>
12529
12530         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12531         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12532         (gst_base_sink_preroll_object):
12533         Make sure that our internal state is correct when we commit our state
12534         asynchronously. This solves a race where a state change to PLAYING
12535         could cause the sink to remain blocked in preroll in some situations.
12536
12537 2006-09-15  Wim Taymans  <wim@fluendo.com>
12538
12539         * tools/gst-inspect.c: (print_element_properties_info),
12540         (print_signal_info):
12541         List flags as hex so it's easier to deal with.
12542
12543 2006-09-15  Wim Taymans  <wim@fluendo.com>
12544
12545         * docs/libs/gstreamer-libs-sections.txt:
12546         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12547         (gst_base_sink_do_sync):
12548         * libs/gst/base/gstbasesink.h:
12549         Expose logic to wait for preroll so that subclasses such as audiosink
12550         can also use this method.
12551         API: gst_base_sink_wait_preroll()
12552
12553 2006-09-15  Wim Taymans  <wim@fluendo.com>
12554
12555         * gst/gstobject.c: (gst_object_set_parent):
12556         * gst/gstpipeline.c: (do_pipeline_seek):
12557         Small cleanups in docs and code.
12558
12559         * gst/gstsegment.c: (gst_segment_clip):
12560         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12561         if stop == start and start is in the segment, no clipping should be
12562         done. Also add a test for this.
12563
12564 2006-09-15  Wim Taymans  <wim@fluendo.com>
12565
12566         * docs/design/part-buffering.txt:
12567         * docs/gst/gstreamer-sections.txt:
12568         * gst/gstmessage.c: (gst_message_new_buffering),
12569         (gst_message_parse_buffering):
12570         * gst/gstmessage.h:
12571         Added methods to create and parse BUFFERING messages.
12572         Added preliminary docs about buffering.
12573         API: gst_message_new_buffering
12574         API: gst_message_parse_buffering
12575
12576 2006-09-06  Wim Taymans  <wim@fluendo.com>
12577
12578         * gst/gstbin.c:
12579         Update documentation.
12580
12581         * gst/gstelement.c: (gst_element_class_init),
12582         (gst_element_release_request_pad), (gst_element_set_clock),
12583         (gst_element_get_index), (gst_element_add_pad),
12584         (gst_element_remove_pad), (gst_element_get_random_pad),
12585         (gst_element_send_event), (gst_element_get_query_types),
12586         (gst_element_query), (gst_element_post_message),
12587         (gst_element_message_full), (gst_element_continue_state),
12588         (gst_element_lost_state), (gst_element_save_thyself),
12589         (gst_element_restore_thyself):
12590         Documentation updates.
12591         Rename last bit of the new-pad -> pad-added signal rename.
12592         Fix the case where an element query would only work if the source
12593         pad was linked.
12594         Avoid some useless type checking in message handling.
12595
12596         * gst/gstevent.c:
12597         * gst/gstevent.h:
12598         * gst/gstutils.c:
12599         Documentation updates.
12600
12601 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12602
12603         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12604           add an INFO line for when we actually update the fd
12605
12606 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12607
12608         * configure.ac:
12609           back to TRUNK
12610
12611 === release 0.10.10 ===
12612
12613 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12614
12615         * configure.ac:
12616           releasing 0.10.10, "Pais"
12617
12618 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12619
12620         * docs/manual/advanced-position.xml:
12621           Fix typo in sample code.
12622
12623 2006-09-05  Wim Taymans  <wim@fluendo.com>
12624
12625         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12626         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12627         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12628         * libs/gst/net/gstnetclientclock.h:
12629         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12630         * libs/gst/net/gstnettimepacket.h:
12631         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12632         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12633         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12634         * libs/gst/net/gstnettimeprovider.h:
12635         Make stuff compile on windows. Fixes #345295.
12636
12637 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12638
12639         * gst/gst.c: (ensure_current_registry_forking):
12640           Print better details when child was terminated by signal.
12641
12642 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12643
12644         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12645           Print a warning rather than g_assert() if a plugin feature
12646           is a URI handler but returns no protocols (#353976).
12647
12648 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12649
12650         * docs/random/moving-plugins:
12651         Fix two typos.         
12652
12653 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12654
12655         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12656           Fix locking order, handle NULL function values properly.
12657
12658         * gst/gstinfo.h:
12659           Fix docs.
12660
12661         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12662           Initialise variable before using it and fix debug statement to
12663           print the address of the function rather than the address of the
12664           variable on the stack holding the address of the function.
12665
12666 2006-09-01  Wim Taymans  <wim@fluendo.com>
12667
12668         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12669         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12670         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12671         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12672         (gst_ghost_pad_parent_unset),
12673         (gst_ghost_pad_internal_do_activate_push),
12674         (gst_ghost_pad_internal_do_activate_pull),
12675         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12676         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12677         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12678         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12679         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12680         (gst_ghost_pad_new_no_target_from_template),
12681         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12682         More cleanups.
12683         Avoid needless typechecking in macros.
12684         Since the internal pad is always present and never changes, there is
12685         no need to locking or ref when retrieving it.
12686         Improve debugging a bit.
12687         Handle link errors when setting the target. Fixes #341029.
12688
12689 2006-09-01  Wim Taymans  <wim@fluendo.com>
12690
12691         * docs/libs/gstreamer-libs-sections.txt:
12692         * docs/plugins/gstreamer-plugins-sections.txt:
12693         Fix docs some more.
12694
12695         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12696         (gst_collect_pads_event):
12697         * libs/gst/base/gstcollectpads.h:
12698         Documentation updates.
12699         Free queued buffer when removing a pad.
12700
12701 2006-08-31  Michael Smith  <msmith@fluendo.com>
12702
12703         * gst/gstutils.c: (gst_element_link_pads),
12704         (gst_element_link_pads_filtered):
12705           Ensure that we set a capsfilter to NULL if we failed to link it
12706           when doing filtered linking, to avoid criticals.
12707
12708           No need to check for unreffing srcpad, which is explicly NULLed
12709           above (a trivial code cleanup).
12710
12711 2006-08-31  Wim Taymans  <wim@fluendo.com>
12712
12713         * docs/design/part-gstghostpad.txt:
12714         Update ascii art in documentation.
12715
12716         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12717         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12718         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12719         (gst_ghost_pad_internal_do_activate_push),
12720         (gst_ghost_pad_internal_do_activate_pull),
12721         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12722         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12723         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12724         (gst_ghost_pad_set_target):
12725         Small cleanups and leak fixes.
12726         Remove some checks now that the internal pad is never NULL.
12727         Fix the case where linking pads without a target would create nasty
12728         criticals. Fixes #341029.
12729         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12730         value of _set_target().
12731
12732         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12733         (gst_ghost_pad_suite):
12734         Some more tests for creating and linking untargeted ghostpads.
12735
12736 2006-08-31  Edward Hervey  <edward@fluendo.com>
12737
12738         * docs/gst/gstreamer-sections.txt:
12739         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12740         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12741         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12742         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12743         (gst_ghost_pad_new_from_template),
12744         (gst_ghost_pad_new_no_target_from_template):
12745         * gst/gstghostpad.h:
12746         Refactored *_new() functions.
12747         Templates are now used as a g_object_new() parameter.
12748         Use template in _do_getcaps() if we don't have a target.
12749         Small documentation cleanups.
12750         Added two new constructors:
12751         gst_ghost_pad_new_from_template()
12752         gst_ghost_pad_new_no_target_from_template()
12753         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12754         (gst_ghost_pad_suite):
12755         Added tests for new ghostpad instanciation functions.
12756
12757         API additions: gst_ghost_pad_new_from_template,
12758         gst_ghost_pad_new_no_target_from_template
12759
12760 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12761
12762         * docs/random/ensonic/profiling.txt:
12763           Ideas about qos profiling.
12764
12765 2006-08-29  Wim Taymans  <wim@fluendo.com>
12766
12767         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12768         Code cleanups.
12769         Fix memleak.
12770
12771 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12772
12773         * gst/gstxml.c:
12774           Improve and detypofy docs.
12775
12776         * tests/check/Makefile.am:
12777         * tests/check/gst/.cvsignore:
12778         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12779           Add a basic test suite for GstXML.
12780
12781 2006-08-29  Wim Taymans  <wim@fluendo.com>
12782
12783         * gst/gstelement.c: (activate_pads), (clear_caps),
12784         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12785         Clear the pad caps when the element shut down all of the pads and
12786         is not streaming data that could modify the caps. 
12787         Fixes #352958.
12788
12789 2006-08-28  Michael Smith  <msmith@fluendo.com>
12790
12791         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12792           Revert previous change; I misunderstood single-segment mode.
12793
12794 2006-08-28  Michael Smith  <msmith@fluendo.com>
12795
12796         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12797           Unset DISCONT on buffers when using single-segment mode.
12798
12799 2006-08-28  Wim Taymans  <wim@fluendo.com>
12800
12801         * gst/gstcaps.c: (gst_caps_merge_structure):
12802         * gst/gstcaps.h:
12803         Fix docs and indentation again.
12804
12805         * tests/check/gst/gstquery.c: (GST_START_TEST):
12806         Fix leak in tests and add some more tests.
12807
12808 2006-08-28  Edward Hervey  <edward@fluendo.com>
12809
12810         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12811         Inform GstSegment of the last stop position in order for the current
12812         segment to have a proper duration if it doesn't have a specific stop
12813         position from which a duration could be calculated.
12814         This bug was noticeable when a non-flushing, non-update new segment was
12815         followed by another segment (all buffers from the new segment were being
12816         dropped).
12817
12818 2006-08-28  Wim Taymans  <wim@fluendo.com>
12819
12820         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12821         Small comment update.
12822
12823         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12824         (gst_identity_transform_ip):
12825         Drop-probability is broken, mention this in the code with a 
12826         FIXME and also in the property description.
12827         Make silent also be silent about the drop messages.
12828
12829 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12830
12831         * docs/manual/appendix-win32.xml:
12832           Remove mention of popt, we don't depend on that any
12833           longer (#353136). Add some comments pointing out that
12834           this section is slightly outdated.
12835
12836 2006-08-28  Wim Taymans  <wim@fluendo.com>
12837
12838         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12839
12840         * gst/gstquery.c: (gst_query_new_segment):
12841         * tests/check/gst/gstquery.c: (GST_START_TEST):
12842         Initialize variables when creating a new segment query.
12843         Fixes #353121.
12844
12845 2006-08-28  Wim Taymans  <wim@fluendo.com>
12846
12847         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12848
12849         * gst/gstelement.c: (gst_element_get_bus):
12850         * tests/check/gst/gstelement.c: (GST_START_TEST):
12851         Check for NULL before _reffing the bus. Fixes #353122.
12852
12853 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12854
12855         * docs/manual/basics-bus.xml:
12856           Docs update: fix wrong callback return value explanation; add
12857           some lines about the implicit relationship between main loop
12858           and main context; remove duplicate main loop variable declaration.
12859
12860 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12861
12862         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12863           Don't leak caps in unit test; add a few more simple
12864           checks. 
12865
12866 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12867
12868         * docs/gst/gstreamer-sections.txt:
12869         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12870         (gst_caps_structure_is_subset), (gst_caps_merge),
12871         (gst_caps_merge_structure):
12872         * gst/gstcaps.h:
12873         * libs/gst/base/gstbasetransform.c:
12874         (gst_base_transform_transform_caps):
12875         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12876           implement caps merging (fixes #352580)
12877
12878 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12879
12880         * tools/Makefile.am:
12881         * tools/gst-plot-timeline.py:
12882           add debug-log plotting developer tool (#340674)
12883
12884 2006-08-23  Wim Taymans  <wim@fluendo.com>
12885
12886         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12887         (gst_pad_stop_task):
12888         Improve debugging for task functions.
12889
12890         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12891         (gst_task_start), (gst_task_pause), (gst_task_join):
12892         Make sure that the task function started and finished after a 
12893         join(). 
12894         Don't try to push the task function on the threadpool multiple
12895         times.
12896         Improve the g_warning message with some useful suggestions
12897         about how to fix the problem. 
12898
12899 2006-08-23  Wim Taymans  <wim@fluendo.com>
12900
12901         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12902         Handle RESYNC correctly in _proxy_getcaps.
12903
12904 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12905
12906         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12907         (gst_xml_parse_memory), (gst_xml_get_element):
12908           Chain up to parent class in dispose function and also
12909           unref the elements in the toplevel_elements GList.
12910           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12911           Always return a reference in gst_xml_get_element() rather
12912           than only sometimes.
12913
12914         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12915           Don't leak GstXml object.
12916
12917 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12918
12919         * docs/gst/gstreamer-sections.txt:
12920         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12921         (gst_caps_merge):
12922         * gst/gstcaps.h:
12923         * libs/gst/base/gstbasetransform.c:
12924         (gst_base_transform_transform_caps):
12925           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12926           in a better way
12927
12928 2006-08-21  Edward Hervey  <edward@fluendo.com>
12929
12930         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12931         Implement GObject::dispose virtual method in GstXML so we can free the
12932         top_elements GList.
12933
12934 2006-08-21  Wim Taymans  <wim@fluendo.com>
12935
12936         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12937         (gst_buffer_create_sub):
12938         Copy duration/offset_end/caps when creating a subbuffer of the
12939         complete parent.
12940         Make the subbuffer read-only when we make the metadata writable for
12941         now. Fixes #351768.
12942
12943         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12944         Added check for metadata copy when creating subbuffers.
12945
12946 2006-08-21  Edward Hervey  <edward@fluendo.com>
12947
12948         * libs/gst/base/gstbasetransform.c:
12949         (gst_base_transform_buffer_alloc):
12950         Only call downstream buffer_alloc if transform element is passthrough
12951         or always_in_place. Closes #350449.
12952
12953 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12954
12955         * ChangeLog:
12956           ChangeLog surgery to add comments to previous changes
12957
12958 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12959
12960         * gst/gst.c:
12961           Add comments
12962
12963         * gst/gstpad.c: (gst_pad_set_active):
12964           Be more verbose in the log
12965
12966         * libs/gst/base/gstbasetransform.c:
12967         (gst_base_transform_transform_caps):
12968           Simplify caps to get rid of duplicates, fixes #345444
12969
12970 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12971
12972         * gst/gstvalue.c:
12973         * gst/gstvalue.h:
12974           Use these optimizations only internally.
12975
12976 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12977
12978         * gst/gstvalue.c: (gst_value_compare_list),
12979         (gst_value_compare_fraction_range),
12980         (gst_value_intersect_fraction_fraction_range),
12981         (gst_value_intersect_fraction_range_fraction_range),
12982         (gst_value_subtract_fraction_fraction_range),
12983         (gst_value_subtract_fraction_range_fraction_range),
12984         (gst_value_get_compare_func), (gst_value_compare),
12985         (gst_value_compare_with_func):
12986         * gst/gstvalue.h:
12987           Saves the expensive lookup of the compare function in many cases
12988          (#345444)
12989
12990 2006-08-18  Edward Hervey  <edward@fluendo.com>
12991
12992         * tests/check/gst/gstinfo.c: (gst_info_suite):
12993         Disable test that require gstdebug if it wasn't built in core.
12994
12995 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12996
12997         * docs/random/ensonic/logging.txt:
12998           update ideas
12999           
13000         * gst/gstinfo.c: (gst_debug_log_default):
13001           reorder fields, save some columns, add optional color codes for log
13002           levels
13003
13004 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13005
13006         * docs/random/ensonic/logging.txt:
13007           add ideas about making the logs a bit more useful
13008
13009 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13010
13011         * docs/pwg/advanced-events.xml:
13012         * docs/pwg/titlepage.xml:
13013           Update for 0.10 API (#340627). Add myself
13014           to authors list.
13015
13016 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13017
13018         * docs/libs/gstreamer-libs-docs.sgml:
13019         * docs/libs/gstreamer-libs-sections.txt:
13020         * libs/gst/check/gstbufferstraw.c:
13021           Make gstcheck stuff show up in docs (still needs to
13022           be documented properly though).
13023
13024 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13025
13026         * docs/gst/gstreamer-sections.txt:
13027         * gst/Makefile.am:
13028         * gst/gst.c: (init_post):
13029         * gst/gst_private.h:
13030         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13031         * gst/gstquark.h:
13032         * gst/gstquery.c: (gst_query_new_position),
13033         (gst_query_set_position), (gst_query_parse_position),
13034         (gst_query_new_duration), (gst_query_set_duration),
13035         (gst_query_parse_duration), (gst_query_new_convert),
13036         (gst_query_set_convert), (gst_query_parse_convert),
13037         (gst_query_new_segment), (gst_query_set_segment),
13038         (gst_query_parse_segment), (gst_query_new_seeking),
13039         (gst_query_set_seeking), (gst_query_parse_seeking):
13040         Add internal helpers for pre-registering quarks from static strings
13041         and using the quark values directly instead of looking them up when
13042         creating and parsing queries. Can be used for event construction too.
13043         Closes #350432.
13044
13045 2006-08-16  Wim Taymans  <wim@fluendo.com>
13046
13047         * gst/gstbin.c:
13048         Fix bogus docs.
13049
13050 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13051
13052         * gst/gstutils.c: (gst_util_set_value_from_string):
13053           Fix memleak (#351502).
13054
13055         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13056           Add unit test for most of gst_util_set_value_from_string()
13057           (not that one would want to encourage use of this function).
13058
13059 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13060
13061         * libs/gst/check/gstcheck.h:
13062           Use const gchar * variables in fail_unless_equals_string
13063           macro to avoid compiler warnings (and don't use tabs for
13064           indenting).
13065
13066 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13067
13068         * tools/gst-launch.c: (print_tag):
13069           More space on the left for the tag names, to cater
13070           for the 'extended comment' tag (not touching the
13071           string for the first line since it's translated).
13072
13073 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13074
13075         * libs/gst/check/gstcheck.h:
13076           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13077           print something when they fail.
13078
13079 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13080
13081         * docs/gst/gstreamer-sections.txt:
13082         * gst/gsttaglist.c: (_gst_tag_initialize):
13083         * gst/gsttaglist.h:
13084           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13085           Also change merge function for GST_TAG_COMMENT to
13086           use_first.
13087
13088 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13089
13090         * gst/gstinfo.c: (gst_debug_print_object):
13091           Make GST_PTR_FORMAT print messages as well.
13092
13093         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13094         (GST_START_TEST), (gst_info_suite):
13095           More tests.
13096
13097 2006-08-14  Edward Hervey  <edward@fluendo.com>
13098
13099         * gst/gstelementfactory.c: (gst_element_register):
13100         If the GstElementClass doesn't have a GstElementDetails with all fields
13101         filled up correctly (longname, description AND author), then error out
13102         nicely instead of crashing.
13103
13104 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13105
13106         * gst/gststructure.c:
13107           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13108
13109         * gst/gstvalue.h:
13110           Expand on the difference between arrays and lists as we use them.
13111           
13112 2006-08-14  Wim Taymans  <wim@fluendo.com>
13113
13114         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13115         If the parent state change function failed, don't assume we can safely
13116         stop the source, this will be done when the pads are deactivated.
13117
13118 2006-08-14  Wim Taymans  <wim@fluendo.com>
13119
13120         * gst/gstbuffer.c:
13121         * gst/gsttask.c: (gst_task_join):
13122         Small doc updates.
13123
13124         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13125         (gst_pad_stop_task):
13126         When pad (de)activation failed for some reason, restore the old
13127         activation mode and set the pad to flushing instead of assuming the
13128         pad is deactivated.
13129         If the _task_join() failed, reinstall the task on the pad so that it can
13130         be stopped later and return an error.
13131
13132 2006-08-11  Andy Wingo  <wingo@pobox.com>
13133
13134         * configure.ac:
13135         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13136         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13137         is only for users of API that don't want to see deprecated
13138         functions in the headers; people that want to compile out
13139         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13140         CFLAGS. Fixes the build of multifdsink, or will soon..
13141
13142 2006-08-11  Wim Taymans  <wim@fluendo.com>
13143
13144         * docs/gst/gstreamer-sections.txt:
13145         Add GstClockClass vmethod docs.
13146
13147         * gst/gstcaps.h:
13148         Mark #endif with comment for associated #if
13149
13150         * gst/gstclock.c: (gst_clock_id_wait):
13151         * gst/gstclock.h:
13152         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13153         most clock implementations.
13154         Document vmethods.
13155         Flesh out docs about resolution methods.
13156         API: GstClockClass::wait_jitter
13157
13158         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13159         (gst_system_clock_async_thread),
13160         (gst_system_clock_id_wait_jitter_unlocked),
13161         (gst_system_clock_id_wait_jitter):
13162         Use base class wait_jitter variant for improved performance
13163         due to less clock polling.
13164
13165 2006-08-11  Edward Hervey  <edward@fluendo.com>
13166
13167         * gst/gst.c: (gst_init_check), (init_post):
13168         Set gst as being initialized before scanning/updating the registry,
13169         since there might be my python plugin loader that calls gst_init() and
13170         we don't want to loop back in.
13171         Closes #350879
13172
13173 2006-08-11  Wim Taymans  <wim@fluendo.com>
13174
13175         * docs/design/part-qos.txt:
13176         Bring docs in line with the code. Mostly the sign of the jitter was
13177         wrong in the docs. Fixes #349943.
13178
13179         * gst/gstclock.c:
13180         Fix the docs for the jitter.
13181
13182         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13183         (gst_event_parse_tag), (gst_event_new_buffer_size),
13184         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13185         (gst_event_new_seek), (gst_event_parse_seek),
13186         (gst_event_new_navigation):
13187         Make sure the GstStructure has no parent when creating custom
13188         events.
13189         Add some more argument checking so that we avoid 0.0 rates.
13190         Flesh out the docs for the QoS event some more.
13191
13192 2006-08-11  Wim Taymans  <wim@fluendo.com>
13193
13194         * docs/gst/gstreamer-sections.txt:
13195         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13196         (ensure_current_registry_forking), (ensure_current_registry),
13197         (parse_one_option), (parse_goption_arg), (gst_deinit),
13198         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13199         * gst/gst.h:
13200         Doc updates.
13201         Added API and command line option to disable registry forking in
13202         addition to the environment variable.
13203         Constify some static arrays.
13204         Added some more debug.
13205         Don't deinit twice.
13206         API: gst_registry_fork_is_enabled()
13207         API: gst_registry_fork_set_enabled()
13208         API: --gst-disable-registry-fork command line option
13209         Fixes #348918.
13210
13211 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13212
13213         * gst/gst.c: (gst_init):
13214           Fix typo in error message.
13215
13216 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13217
13218         * libs/gst/controller/gstcontroller.h:
13219           fix ABI size-correction
13220
13221         * tests/check/libs/gdp.c: (gst_dp_suite):
13222           make tests that use deprecated API conditional
13223
13224 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13225
13226         * docs/libs/gstreamer-libs-sections.txt:
13227         * libs/gst/controller/gstcontroller.c:
13228         (_gst_controller_get_property), (_gst_controller_set_property),
13229         (_gst_controller_init), (_gst_controller_class_init):
13230         * libs/gst/controller/gstcontroller.h:
13231         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13232         (gst_object_set_control_rate):
13233           API: add gst_object_{s,g}et_control_rate(), add private data section,
13234           fix docs
13235
13236         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13237         * libs/gst/dataprotocol/dataprotocol.h:
13238           add deprecation guards to make gtk-doc happy and allow disabling cruft
13239
13240 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13241
13242         * tests/check/Makefile.am:
13243         * tests/check/gst/.cvsignore:
13244           Let's enable the new unit test as well.
13245
13246 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13247
13248         * configure.ac:
13249         * docs/gst/gstreamer-sections.txt:
13250         * gst/gstconfig.h.in:
13251         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13252         (_gst_info_printf_extension_ptr),
13253         (_gst_info_printf_extension_segment):
13254           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13255           register that lets us easily dump GstSegments into debug
13256           logs (#350419).
13257
13258         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13259         (info_segment_format_printf_extension), (gst_info_suite):
13260           Add simple unit test that logs a bunch of different segments (not
13261           valgrinded at the moment because of leaks in
13262           gst_debug_add_log_function).
13263
13264 2006-08-09  Edward Hervey  <edward@fluendo.com>
13265
13266         * libs/gst/base/gstbasetransform.c:
13267         (gst_base_transform_buffer_alloc):
13268         Even if we can't figure out the proper format to request downstream,
13269         call buffer_alloc() downstream with the input parameters without setting
13270         the caps on the srcpad. This will force negotiation in the chain
13271         function.
13272         Closes #350449
13273
13274 2006-08-08  Edward Hervey  <edward@fluendo.com>
13275
13276         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13277         Unlinking from a pad without a target is now a perfectly valid case
13278         which should NOT raise an assertion.
13279         This case would happen if a linked ghostpad its target set to NULL after
13280         it was previously linked.
13281
13282 2006-08-08  Edward Hervey  <edward@fluendo.com>
13283
13284         * tests/check/libs/gdp.c:
13285         Also comment out the test (see below).
13286
13287 2006-08-08  Edward Hervey  <edward@fluendo.com>
13288
13289         * tests/check/libs/gdp.c: (gst_dp_suite):
13290         Use the architecture information from config.h and not gcc macros
13291         in order to properly disable a test that fails on PPC64.
13292
13293 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13294
13295         * gst/gstelement.c: (gst_element_remove_pad):
13296           Don't crash printing the warning if the pad has no parent.
13297
13298 2006-08-02  Wim Taymans  <wim@fluendo.com>
13299
13300         * libs/gst/dataprotocol/dataprotocol.c:
13301         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13302         (gst_dp_crc), (gst_dp_header_payload_length),
13303         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13304         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13305         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13306         (gst_dp_event_from_packet), (gst_dp_validate_header),
13307         (gst_dp_validate_payload):
13308         Make debug category static
13309         Constify the crc table.
13310         Do some more arg checking in public functions.
13311         Fix some docs and do some small cleanups.
13312
13313         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13314         Add some more checks to see if GDP deals with bogus input.
13315
13316 2006-07-31  Wim Taymans  <wim@fluendo.com>
13317
13318         * gst/gstvalue.c: (gst_value_compare_list):
13319         Fix GstValueList comparison code. Fixes #347293.
13320
13321         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13322         Check to test GstValueList comparison.
13323
13324 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13325
13326         * gst/gstelementfactory.c: (gst_element_factory_create):
13327         Remove unnecessary ref/unref pair
13328
13329         * gst/parse/grammar.y:
13330         Make sure to free the parse buffer on all code paths.
13331         Move a g_free up to the error handler where it's easier to see.
13332
13333         * tests/check/gst/gstevent.c: (test_event):
13334         Extending timeout for downstream travelling events to 10 seconds to
13335         hopefully avoid intermittent failure on the buildbots.
13336
13337         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13338         Don't manually set the state of the src element - it will happen as a
13339         natural consequence of the pipeline changing state, and that way it
13340         will do it in the right order too.
13341
13342 2006-07-31  Wim Taymans  <wim@fluendo.com>
13343
13344         * libs/gst/base/gstbasetransform.c:
13345         (gst_base_transform_buffer_alloc):
13346         Use OBJECT_LOCK and refcounting to get the pad caps in the
13347         buffer_alloc function because the caps could change while we are
13348         busy with them. Fixes #349105
13349
13350 2006-07-31  Wim Taymans  <wim@fluendo.com>
13351
13352         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13353         Protect _PAD_CAPS with OBJECT_LOCK.
13354
13355 2006-07-31  Wim Taymans  <wim@fluendo.com>
13356
13357         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13358         (gst_pad_get_property), (gst_pad_activate_pull),
13359         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13360         (gst_pad_set_activate_function),
13361         (gst_pad_set_activatepull_function),
13362         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13363         (gst_pad_set_getrange_function),
13364         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13365         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13366         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13367         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13368         (gst_pad_set_acceptcaps_function),
13369         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13370         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13371         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13372         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13373         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13374         (gst_pad_configure_sink), (gst_pad_configure_src),
13375         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13376         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13377         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13378         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13379         (gst_pad_send_event):
13380         Use _DEBUG_OBJECT when it makes sense.
13381         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13382         Small cleanups and code reflows.
13383         Avoid caps refcounting in _accept_caps.
13384         Refactor alloc_buffer so that the code performed on the peer is in a
13385         separate function. Also if the pad does not implement a buffer alloc
13386         function, we should still check if the pad is flushing before falling
13387         back to the default allocator.
13388
13389 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13390
13391         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13392         Make all uses of identity and fakesink have silent=true to avoid
13393         serialising every passing data structure, which is breaking tests
13394         on FC4 for some unknown reason.
13395
13396 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13397
13398         * gst/parse/Makefile.am:
13399         * gst/parse/grammar.y:
13400         * gst/parse/parse.l:
13401           Reverted previous patch as it required to bump the flex dependency to
13402           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13403
13404 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13405
13406         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13407
13408         * gst/parse/Makefile.am:
13409         * gst/parse/grammar.y:
13410         * gst/parse/parse.l:
13411           push & pop the state of the lexer for reentrant use case
13412           Fixes #349180
13413
13414 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13415
13416         * libs/gst/base/gstbasesrc.h:
13417           Note in the docs that the ::newsegment vfunc is not actually used by
13418           GstBaseSrc.
13419
13420 2006-07-28  Wim Taymans  <wim@fluendo.com>
13421
13422         * libs/gst/base/gstcollectpads.c:
13423         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13424         (gst_collect_pads_clear), (gst_collect_pads_flush),
13425         (gst_collect_pads_event), (gst_collect_pads_chain):
13426         When flushing a pad, also clear the queued buffer so that we don't
13427         accidentally use it when we shouldn't.
13428         Fix leaks by inreffing incomming buffer.
13429         Flush out queued buffers in case of errors.
13430         Fixes #347452.
13431
13432 2006-07-28  Wim Taymans  <wim@fluendo.com>
13433
13434         * docs/random/phonon-gst:
13435         Random notes about a Phonon backend.
13436
13437 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13438
13439         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13440         Extra debug output
13441         * tests/check/libs/gdp.c: (gst_dp_suite):
13442         Take a whack at fixing the ppc compile using a different define to
13443         disable the broken test.
13444
13445         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13446         Remove excess g_print()
13447
13448 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13449
13450         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13451         Oops, meant to uncomment this line too to dampen the noise a bit.
13452
13453 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13454
13455         * gst/parse/grammar.y:
13456         * gst/parse/parse.l:
13457         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13458         (GST_START_TEST), (parse_suite):
13459         Fix some of the leaks exposed by extending the parse-launch testsuite,
13460         and move the 3 I can't figure out into a separate test that won't run
13461         the pipelines unless the appropriate line is uncommented.
13462
13463 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13464
13465         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13466           Requesting 0 bytes before the end of the file should result in
13467           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13468           unit test.
13469
13470 2006-07-27  Wim Taymans  <wim@fluendo.com>
13471
13472         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13473         Fix useless assert, a uint is always positive.
13474
13475         * gst/gststructure.c: (gst_structure_nth_field_name),
13476         (gst_structure_foreach), (gst_structure_map_in_place):
13477         Check input arguments for public functions to avoid obvious crashes.
13478
13479         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13480         * plugins/elements/gstfakesink.h:
13481         Do less useless typechecking.
13482
13483 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13484
13485         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13486           Do not use mmap() by default since there are a number of error
13487           conditions that we would like to handle in a non-fatal way that
13488           will result in a SIGBUS if we use mmap(). Examples: external
13489           devices (USB harddrive, portable music player) being unplugged
13490           while in use; file on mounted CD/DVD that can't be read because
13491           the medium is partly damaged. Fixes #348455 and #348475.
13492
13493 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13494
13495         * gst/gstquery.h:
13496         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13497         rates are a gdouble
13498
13499 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13500
13501         * gst/gstregistry.c:
13502           Move big documentation comment into class section header, so that it
13503           appears in the API docs.
13504
13505 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13506
13507         * docs/gst/gstreamer-sections.txt:
13508         Oops. Commit the docs additions too for new API.
13509         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13510
13511 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13512
13513         * gst/gststructure.c: (gst_structure_id_set),
13514         (gst_structure_id_set_valist):
13515         * gst/gststructure.h:
13516         Add API for setting values into structures without performing
13517         a quark lookup, if the appropriate quark is already known.
13518
13519         API: gst_structure_id_set
13520         API: gst_structure_id_set_valist
13521
13522         * gst/parse/grammar.y:
13523         * gst/parse/parse.l:
13524         Remove some dead code shown by the coverage information.
13525         Don't throw a critical g_warning when encountering a syntax error,
13526         just warn and let the normal error path handle it.
13527
13528         * plugins/elements/gstelements.c:
13529         Bump the rank of filesink up to PRIMARY so that it is preferred over
13530         gnomevfssink for file:// sink uri's
13531
13532         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13533         (GST_START_TEST), (run_delayed_test),
13534         (gst_parse_test_element_base_init),
13535         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13536         (gst_parse_test_element_change_state),
13537         (gst_register_parse_element), (parse_suite):
13538         Beef up the tests for parse syntax to check that more error cases
13539         fail as they are supposed to. Increases the test coverage a bit.
13540
13541 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13542
13543         * docs/manual/basics-elements.xml:
13544           Fix gst_element_link() example.
13545
13546         * gst/gstutils.c:
13547           Mention in API docs that one should usually gst_bin_add()
13548           elements to a bin or pipeline before doing the linking.
13549           
13550 2006-07-26  Wim Taymans  <wim@fluendo.com>
13551
13552         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13553         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13554         Avoid function call for known types by keeping the buffer and
13555         subbuffer GType global.
13556
13557         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13558         Random silly optimisations in read() path.
13559
13560 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13561
13562         * tools/gst-launch.c: (main):
13563           If the top-level of the parse is a normal bin, it doesn't do the
13564           right logic to run as a top-level element, so place it inside a
13565           pipeline.
13566
13567 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13568
13569         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13570           Remove superfluous g_object_notify() calls, GObject does
13571           that for us automatically.
13572
13573 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13574
13575         * gst/gstinfo.h:
13576           on Win32, use dllspec to export the debug category symbols
13577
13578 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13579
13580         * gst/gsttaglist.c: (_gst_tag_initialize):
13581           Allow more than one GST_TAG_IMAGE per taglist.
13582
13583 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13584
13585         * gst/gstminiobject.c:
13586           update docs
13587         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13588         (gst_fd_src_create):
13589           log recurring events at LOG level
13590           add more debug for when the fd gets set
13591
13592 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13593
13594         * gst/gstparse.c: (gst_parse_launch):
13595           Also remove reentrance checks if flex is MT safe (#348179)
13596          Fix my empty ChangeLog entry below
13597
13598 2006-07-21  Andy Wingo  <wingo@pobox.com>
13599
13600         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13601
13602         * libs/gst/check/Makefile.am
13603         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13604         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13605         * libs/gst/check/gstbufferstraw.h:
13606         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13607         functions, thus proving I am still a GStreamer haxor. OK I wrote
13608         them a long time ago, but anyways.
13609
13610 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13611
13612         * configure.ac:
13613         * gst/gstparse.c: (gst_parse_launch):
13614           Check for flex version and omit mutex if we have a MT save flex
13615           (fixes #348179)
13616
13617 2006-07-21  Wim Taymans  <wim@fluendo.com>
13618
13619         * gst/gstparse.c: (gst_parse_launch):
13620         Protect recursive calls to _parse with a recursive mutex
13621         and busy flag.
13622
13623 2006-07-21  Wim Taymans  <wim@fluendo.com>
13624
13625         * tests/check/gst/gstpad.c: (GST_START_TEST):
13626         Fix leak in test.
13627
13628 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13629
13630         * gst/gstparse.c: (gst_parse_launch):
13631           Do not hang on recursive usage of gst_parse_launch()
13632
13633 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13634
13635         * gst/gsttaglist.c:
13636           Add some more docs, comments and FIXME 0.11s here and there
13637           and also fix some typos.
13638
13639 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13640
13641         * gst/gstsegment.h:
13642           Convert tabs to spaces for better readability. 
13643
13644 2006-07-20  Edward Hervey  <edward@fluendo.com>
13645
13646         * tests/check/libs/gdp.c: (gst_dp_suite):
13647         the test_buffer test fails at line 140 on ppc64 at the following
13648         check:
13649         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13650                 GST_BUFFER_FLAG_IN_CAPS),
13651                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13652         See bug #348114 for more details.
13653
13654 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13655
13656         * docs/pwg/advanced-scheduling.xml:
13657         * gst/gstpad.c:
13658           Fix typos (#348000).
13659
13660 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13661
13662         * docs/pwg/intro-basics.xml:
13663           Fix wrong links (#347927).
13664
13665 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13666
13667         * gst/gstregistry.h:
13668         * gst/gstregistryxml.c: (load_feature),
13669         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13670         * win32/common/config.h:
13671           make --disable-index work (#342564)
13672
13673 2006-07-18  Wim Taymans  <wim@fluendo.com>
13674
13675         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13676
13677         * gst/Makefile.am:
13678         * gst/gsttrace.h:
13679         The attached patch adds two missing defines to gsttrace.h when tracing
13680         is disabled.  It also corrects one existing define.
13681         Fixes #347756.
13682
13683 2006-07-17  Wim Taymans  <wim@fluendo.com>
13684
13685         * docs/gst/gstreamer-sections.txt:
13686         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13687         * gst/gst.h:
13688         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13689         Add two functions to check and change the SIGSEGV behaviour
13690         when loading plugins.
13691         Don't mess with the SIGSEGV handler when we were told not to.
13692         Fixes #347794.
13693         API: gst_segtrap_is_enabled
13694         API: gst_segtrap_set_enabled
13695
13696 2006-07-14  Wim Taymans  <wim@fluendo.com>
13697
13698         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13699         * tests/check/elements/filesrc.c: (GST_START_TEST):
13700         Revert fix for regression in #347408 after release.
13701
13702 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13703
13704         Patch by: Antoine Tremblay <hexa00 at gmail com>
13705
13706         * gst/gstutils.c: (gst_element_unlink):
13707           Free iterator when done (#347311).
13708
13709         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13710           And add a test case for this.
13711
13712 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13713
13714         * configure.ac:
13715         Bump nano back to CVS
13716
13717 === release 0.10.9 ===
13718
13719 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13720
13721         * configure.ac:
13722           releasing 0.10.9, "On the road again"
13723
13724 2006-07-13  Wim Taymans  <wim@fluendo.com>
13725
13726         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13727         * tests/check/elements/filesrc.c: (GST_START_TEST):
13728         Revert pull-0 fix for release. Disable check. Fixes #347408.
13729
13730 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13731
13732         * libs/gst/dataprotocol/dataprotocol.c:
13733         (gst_dp_event_from_packet_1_0):
13734           Fixes #347337: failure to deserialize event packets with
13735           empty payload (only event type)
13736
13737 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13738
13739         * gst/Makefile.am:
13740           do not install a .c file in the header directory
13741
13742 2006-07-13  Edward Hervey  <edward@fluendo.com>
13743
13744         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13745         GhostPad no longer implicitely use the padtemplates of the targets.
13746         Fixes #347384
13747
13748 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13749
13750         * gst/gstvalue.c: (gst_value_compare_list),
13751         (gst_value_compare_array), (_gst_value_initialize):
13752         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13753         Make GstValueArray comparison be order dependent as designed.
13754         Add checks for value lists and value array comparisons.
13755         Fixes #347221
13756
13757 2006-07-11  Edward Hervey  <edward@fluendo.com>
13758
13759         * gst/gstbin.c: (activate_pads),
13760         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13761         (gst_bin_change_state_func):
13762         (de)activate src pads before calling state_change on the childs.
13763         This is to avoid the case where a src ghostpad is blocked (holding the
13764         stream lock), which would block the deactivation of the ghostpad's
13765         target pad.
13766         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13767         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13768         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13769         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13770         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13771         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13772         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13773         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13774         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13775         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13776         (gst_ghost_pad_class_init),
13777         (gst_ghost_pad_internal_do_activate_push),
13778         (gst_ghost_pad_internal_do_activate_pull),
13779         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13780         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13781         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13782         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13783         GhostPads now create their internal GstProxyPad at creation (and not
13784         when they're linked, as it was being done previously).
13785         The internal and target pads are linked straight away.
13786         The data will also travel through the other pad in order to make
13787         pad blocking and probes non-hackish (the probe/block now really happens
13788         on the GhostPad and not on the target).
13789         * gst/gstpad.c: (gst_pad_set_blocked_async),
13790         (gst_pad_link_prepare), (gst_pad_push_event):
13791         Remove previous ghostpad cruft.
13792         * gst/gstutils.c: (gst_pad_add_data_probe),
13793         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13794         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13795         (gst_pad_remove_buffer_probe):
13796         Remove previous ghost pad cruft.
13797         Added more detailed debug statements.
13798         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13799         Fix the testsuite for refcounting changes.
13800         The comments about who has references were correct, but the refcount
13801         being checked wasn't the same (!?!).
13802
13803         Fixes #341029
13804
13805 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13806
13807         * docs/gst/gstreamer-sections.txt:
13808         * gst/gstconfig.h.in:
13809         More docs for configuration options, add docs to gtk-doc.
13810
13811 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13812
13813         * gst/Makefile.am:
13814         * gst/gstconfig.h.in:
13815         * win32/common/config.h:
13816         Fix build when disabling tracing (fixes #344016). Also start to document
13817         the defines that disable the sub-systems.
13818
13819 2006-07-10  Edward Hervey  <edward@fluendo.com>
13820
13821         * gst/gst.c: (ensure_current_registry_forking):
13822         let's make valgrind happy...
13823
13824 2006-07-09  Wim Taymans  <wim@fluendo.com>
13825
13826         * gst/gstelement.c: (activate_pads),
13827         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13828         Better pad activation code: Reset the collect value too on resync.
13829         Add some comments.
13830
13831 2006-07-09  Wim Taymans  <wim@fluendo.com>
13832
13833         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13834         (gst_pad_activate_push):
13835         Use some more macros where it makes sense.
13836         Allow pad mode switching instead of asserting. When a pad
13837         is activated in one mode and we activate it in another, 
13838         deactivate it first before activating it in a different mode.
13839         Fixes #329198.
13840
13841 2006-07-08  Andy Wingo  <wingo@pobox.com>
13842
13843         * tools/gst-launch.c (main): Handle err == NULL.
13844
13845         * gst/gst.c (init_post, ensure_current_registry)
13846         (ensure_current_registry_forking)
13847         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13848         factoring out the registry scanning into separate functions. Don't
13849         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13850         Better environment var name/interface suggestions accepted.
13851
13852 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13853
13854         * gst/gstobject.c: (gst_object_set_name_default),
13855         (gst_object_set_name):
13856           Random micro-optimisation: don't use a hash table
13857           with strings as keys and the usual strdup/strcmp
13858           involved, but rather just use the GQuark of the
13859           type name as key, since it needs to be looked up
13860           anyway to get the type name string.
13861
13862         * tests/check/gst/gstobject.c: (GST_START_TEST):
13863           Fix various leaks.
13864
13865 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13866
13867         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13868         (gst_bin_iterate_all_by_interface):
13869           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13870           GTypes are gulongs and thus the top 4 bytes might be cut
13871           off on some platforms when doing GPOINTER_TO_INT, leading
13872           to invalid GTypes and bad things happening (see RH bug #179654).
13873           Also add a check to make sure the type passed in is really
13874           an interface type.
13875
13876 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13877
13878         * .cvsignore:
13879           Ignore more.
13880
13881 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13882
13883         * Makefile.am:
13884         * configure.ac:
13885         * gst-element-check.m4:
13886         * gst-element-check.m4.in:
13887           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13888           instead of the unversioned gst-inspect (#324176, #168659).
13889
13890 2006-07-06  Wim Taymans  <wim@fluendo.com>
13891
13892         * gst/gstmessage.h:
13893         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13894         warnings.
13895
13896 2006-07-06  Wim Taymans  <wim@fluendo.com>
13897
13898         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13899         (gst_base_src_wait), (gst_base_src_update_length),
13900         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13901         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13902         (gst_base_src_loop), (gst_base_src_start),
13903         (gst_base_src_activate_pull):
13904         Update docs.
13905         blocksize == 0 now means the default blocksize when working in push
13906         based mode.
13907         Remove some pointless asserts in _wait function.
13908         Fix offset/length calculations and EOS handling. We can now pull 0
13909         bytes as well, which is allowed.
13910         use _check_get_range() to decide if we can operate in _pull based
13911         mode.
13912         Fix refcounting leak when check_get_range function was not 
13913         implemented.
13914         API GstBaseSrc::blocksize range can be 0 too now (default)
13915
13916         * tests/check/elements/filesrc.c: (GST_START_TEST),
13917         (filesrc_suite):
13918         Added check to test _get_range() behaviour.
13919
13920 2006-07-06  Wim Taymans  <wim@fluendo.com>
13921
13922         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13923         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13924         (gst_pad_pull_range):
13925         * gst/gstpad.h:
13926         Lots of comments and docs added to the pad functions.
13927         Flesh out the expected behaviour of the get_range() functions.
13928
13929 2006-07-06  Wim Taymans  <wim@fluendo.com>
13930
13931         * gst/gstbus.h:
13932         * gst/gstclock.h:
13933         * gst/gstevent.h:
13934         * gst/gstiterator.h:
13935         * gst/gstpad.h:
13936         * gst/gstplugin.h:
13937         * gst/gsttask.h:
13938         Remove comma at end of enumerator list. 
13939
13940 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13941
13942         * win32/common/libgstbase.def:
13943         * win32/common/libgstdataprotocol.def:
13944         * win32/common/libsgtreamer.def:
13945         Add new exported functions.
13946
13947 2006-07-05  Wim Taymans  <wim@fluendo.com>
13948
13949         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13950         Add some more docs here and there.
13951
13952 2006-07-05  Wim Taymans  <wim@fluendo.com>
13953
13954         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13955         (gst_base_sink_loop), (gst_base_sink_get_position):
13956         When operating in pull mode update the offset so that we
13957         read sequentially.
13958
13959 2006-07-05  Wim Taymans  <wim@fluendo.com>
13960
13961         * gst/gstregistryxml.c: (read_string):
13962         Avoid strdup. (will happen in libxml, but hey!)
13963
13964         * gst/gsturi.c:
13965         Add some more docs.
13966
13967 2006-07-05  Wim Taymans  <wim@fluendo.com>
13968
13969         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13970         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13971         (gst_buffer_suite):
13972         No point in checking if the size of the subbuffer > 0, the
13973         code handles it correclty as demonstrated by unit test.
13974         Also add a unit test for the zero sized _new_and_alloc and
13975         _copy. Fixes #346663.
13976
13977 2006-07-05  Wim Taymans  <wim@fluendo.com>
13978
13979         * libs/gst/base/gstbasetransform.c:
13980         (gst_base_transform_prepare_output_buffer),
13981         (gst_base_transform_buffer_alloc),
13982         (gst_base_transform_handle_buffer):
13983         Make sure the buffer we pass to transform_ip has a refcount of
13984         1 and thus is writable. Fixes #343196
13985
13986 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13987
13988         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13989         (gst_file_src_init), (gst_file_src_set_property),
13990         (gst_file_src_get_property), (gst_file_src_map_region):
13991         * plugins/elements/gstfilesrc.h:
13992         Add "sequential" property, off by default, to use madvise and hint
13993         to the kernel that sequential access is desired.
13994         Touch all retrieved pages by default to ensure they are pulled
13995         into memory. (Closes #345720)
13996
13997 2006-07-03  Wim Taymans  <wim@fluendo.com>
13998
13999         * docs/design/part-block.txt:
14000         * docs/design/part-dynamic.txt:
14001         Small docs updates.
14002
14003 2006-07-03  Wim Taymans  <wim@fluendo.com>
14004
14005         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14006         (gst_caps_unref), (gst_static_caps_get),
14007         (gst_caps_append_structure):
14008         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14009         Use GSlice when the glib we build against is >= 2.10
14010
14011 2006-07-03  Wim Taymans  <wim@fluendo.com>
14012
14013         * gst/gstelement.c: (gst_element_pads_activate):
14014         Small cleanup in pad activation code.
14015
14016 2006-07-03  Wim Taymans  <wim@fluendo.com>
14017
14018         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14019
14020         * gst/gst-i18n-app.h:
14021         * gst/gst-i18n-lib.h:
14022         * tools/gst-inspect.c: (print_signal_info):
14023         The attached patch will make the inclusion of gettext.h unconditional in
14024         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14025         libintl.h in tools/gst-inspect.c.
14026         This allows use of --disable-nls again and fixes #344642.
14027
14028 2006-07-03  Edward Hervey  <edward@fluendo.com>
14029
14030         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14031         Implement pad blocking on events according to part-block.txt.
14032         More comments on behaviour.
14033         * tests/check/gst/gstevent.c: (test_event):
14034         Send event to peer pad of blocked pad (else it will block).
14035
14036 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14037
14038         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14039         (gst_check_run_suite):
14040           if we get the wrong message, give us the types as string
14041         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14042           Fix a translatable
14043         * tests/check/elements/filesrc.c: (GST_START_TEST):
14044           add a test for trying to open a non-existing file
14045
14046 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14047
14048         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14049           add a test for adding self
14050
14051 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14052
14053         * libs/gst/check/gstcheck.h:
14054           add some assert_ as alias for fail_unless_*
14055         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14056           increase test coverage
14057
14058 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14059
14060         * Makefile.am:
14061           include lcov.mak for lcov coverage generation
14062         * tools/Makefile.am:
14063           add to CLEANFILES
14064
14065 2006-07-02  Edward Hervey  <edward@fluendo.com>
14066
14067         * tests/check/elements/.cvsignore:
14068         moaping
14069
14070 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14071
14072         * configure.ac:
14073           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14074         * tests/check/Makefile.am:
14075           clean up gcov files
14076
14077 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14078
14079         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14080           remove gst_caps_simplify; it was not declared and not used
14081           and deprecated in 0.8
14082
14083 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14084
14085         * docs/faq/gst-uninstalled:
14086           don't put empty paths on PYTHONPATH
14087         * docs/gst/gstreamer-sections.txt:
14088           remove some symbols that are not there
14089
14090 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14091
14092         * gst/gstcaps.c: (gst_caps_compare_structures):
14093           whitespace fixes
14094         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14095         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14096           add more tests
14097
14098 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14099
14100         * libs/gst/dataprotocol/Makefile.am:
14101           build dataprotocol test by linking to the lib, instead of
14102           compiling the source, so we get coverage
14103         * tests/check/Makefile.am:
14104         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14105         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14106           add a test for filesrc
14107
14108 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14109
14110         * tests/check/gst/gststructure.c: (GST_START_TEST),
14111         (gst_structure_suite):
14112           Push coverage from 59.04% to 70.00%
14113
14114 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14115
14116         * tests/check/Makefile.am:
14117           gst-inspect every element; this makes sure that we also get
14118           coverage on element's get/set functions
14119
14120 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14121
14122         * configure.ac:
14123           set CFLAGS and friends to -O0 if gcov is being used
14124           add GCOV LIBS
14125         * gst/Makefile.am:
14126         * libs/gst/base/Makefile.am:
14127         * libs/gst/check/Makefile.am:
14128         * libs/gst/controller/Makefile.am:
14129         * libs/gst/dataprotocol/Makefile.am:
14130         * libs/gst/net/Makefile.am:
14131         * plugins/elements/Makefile.am:
14132         * plugins/indexers/Makefile.am:
14133           add makefile rules to generate gcov data and clean up
14134         * tests/check/Makefile.am:
14135           add a coverage target that generates an html overview
14136           of coverage data
14137
14138 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14139
14140         * tests/check/elements/fakesink.c:
14141         * tests/check/elements/fakesrc.c:
14142         * tests/check/elements/fdsrc.c:
14143         * tests/check/elements/identity.c:
14144         * tests/check/generic/sinks.c: (gst_sinks_suite):
14145         * tests/check/generic/states.c:
14146         * tests/check/gst/gst.c:
14147         * tests/check/gst/gstabi.c:
14148         * tests/check/gst/gstbin.c:
14149         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14150         * tests/check/gst/gstbus.c: (gst_bus_suite):
14151         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14152         * tests/check/gst/gstelement.c:
14153         * tests/check/gst/gstevent.c: (gst_event_suite):
14154         * tests/check/gst/gstghostpad.c:
14155         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14156         * tests/check/gst/gstmessage.c: (gst_message_suite):
14157         * tests/check/gst/gstminiobject.c:
14158         * tests/check/gst/gstobject.c:
14159         * tests/check/gst/gstpad.c:
14160         * tests/check/gst/gstpipeline.c:
14161         * tests/check/gst/gstplugin.c:
14162         * tests/check/gst/gstquery.c: (gst_query_suite):
14163         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14164         * tests/check/gst/gststructure.c:
14165         * tests/check/gst/gstsystemclock.c:
14166         * tests/check/gst/gsttag.c:
14167         * tests/check/gst/gsttask.c: (gst_task_suite):
14168         * tests/check/gst/gstutils.c:
14169         * tests/check/gst/gstvalue.c:
14170         * tests/check/libs/adapter.c:
14171         * tests/check/libs/basesrc.c:
14172         * tests/check/libs/collectpads.c:
14173         * tests/check/libs/controller.c:
14174         * tests/check/libs/gdp.c: (gst_dp_suite):
14175         * tests/check/libs/gstnetclientclock.c:
14176         * tests/check/libs/gstnettimeprovider.c:
14177         * tests/check/libs/libsabi.c: (libsabi_suite):
14178         * tests/check/libs/typefindhelper.c:
14179         * tests/check/pipelines/cleanup.c:
14180         * tests/check/pipelines/parse-launch.c:
14181         * tests/check/pipelines/simple-launch-lines.c:
14182         * tests/check/pipelines/stress.c: (stress_suite):
14183           use the new macro
14184
14185 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14186
14187         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14188         * libs/gst/check/gstcheck.h:
14189           create a macro and function so that the simple unit test
14190           case can be just one macro to create main()
14191
14192 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14193
14194         * gst/gstbin.c: (gst_bin_restore_thyself):
14195         * gst/gstxml.c: (gst_xml_make_element):
14196           Fix deserialisation from XML. Set parent manually
14197           instead of using gst_bin_add(), since gst_bin_add()
14198           will unlink all pads of the element being added.
14199           Fixes #341667.
14200
14201 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14202
14203         Patch by: Peter Kjellerstedt <pkj at axis com>
14204
14205         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14206           Fix missing g_strdup() and double free when using the
14207           --gst-plugin-load command line option (#346097).
14208
14209 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14210
14211         * gst/gstinfo.c:
14212           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14213
14214         * libs/gst/net/gstnetclientclock.c:
14215         * libs/gst/net/gstnettimeprovider.c:
14216           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14217
14218 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14219
14220         * docs/manual/advanced-dataaccess.xml:
14221           Fix buffer probe example compilation in
14222           ADM (#345708).
14223         
14224 2006-06-22  Edward Hervey  <edward@fluendo.com>
14225
14226         * gst/gstelement.c: (gst_element_pads_activate):
14227         We need to deactivate src pads first and then sink pads.
14228         The reason is the src pads might be blocking while holding the streaming
14229         lock, so we need to deactivate them first so that deactivating the sink
14230         pads doesn't block (since it will require the streaming lock).
14231
14232 2006-06-22  Wim Taymans  <wim@fluendo.com>
14233
14234         * libs/gst/base/gstbasetransform.c:
14235         (gst_base_transform_buffer_alloc):
14236         Forgot to remove two unneeded unrefs.
14237         Simplify a check _is_equal allready checks the obvious case.
14238
14239 2006-06-22  Wim Taymans  <wim@fluendo.com>
14240
14241         * docs/design/part-block.txt:
14242         Some docs about what pad_block should do.
14243
14244 2006-06-22  Wim Taymans  <wim@fluendo.com>
14245
14246         * gst/gstcaps.c: (gst_caps_replace):
14247         Fix crasher when passed NULL. Doc clarification.
14248         Optimize for the trivial case.
14249
14250         * gst/gstpipeline.c: (gst_pipeline_change_state):
14251         Small cleanups.
14252
14253         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14254         Small documentation cleanup.
14255
14256         * libs/gst/base/gstbasetransform.c:
14257         (gst_base_transform_buffer_alloc):
14258         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14259         is what we need and it avoids a whole lot of redundant 
14260         refcount operations.
14261
14262 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14263
14264         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14265
14266         * docs/manual/advanced-dataaccess.xml:
14267           Fix 'Embedding static elements' section to use
14268           GST_PLUGIN_DEFINE_STATIC (#345607).
14269
14270 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14271
14272         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14273           Attempt to 'fix' spuriously failing test case: it seems like the
14274           timeout of half a second is simply too small when the system is under
14275           load otherwise, and the timeout doesn't really seem to serve any
14276           particular purpose here. Give the pipeline a few seconds to preroll
14277           first, and then give it another half a second to go from PAUSED to
14278           PLAYING and marshal the message into the main thread.
14279
14280 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14281
14282         * tools/gst-feedback-m.m:
14283           Don't only use unversioned tools, try versioned tools as well
14284           (#345086).
14285
14286 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14287
14288         * gst/gstbus.c: (gst_bus_class_init):
14289           Fix some typos, make docs more explicit.
14290
14291 2006-06-20  Wim Taymans  <wim@fluendo.com>
14292
14293         * tests/check/gst/gstghostpad.c: (block_callback),
14294         (GST_START_TEST), (gst_ghost_pad_suite):
14295         Added some more ghostpad tests, mainly blocking
14296         and probes.
14297
14298 2006-06-16  Wim Taymans  <wim@fluendo.com>
14299
14300         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14301         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14302         (gst_file_sink_event), (gst_file_sink_render):
14303         * plugins/elements/gstfilesink.h:
14304         Check if we can seek in the file instead of assuming
14305         we always can. Post an error when we are asked to seek in a
14306         non-seekable file (like a fifo). Fixes #343312.
14307         Some cleanups.
14308
14309 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14310
14311         * tools/gst-launch.1.in:
14312           Un-garble (fourcc) bit in filtered caps section.
14313
14314 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14315
14316         * docs/manual/advanced-autoplugging.xml:
14317         * docs/manual/basics-helloworld.xml:
14318         * docs/manual/highlevel-components.xml:
14319           Don't leak bus reference in sample code.
14320
14321 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14322
14323         * autogen.sh:
14324           Add default for new --enable-plugin-docs switch.
14325
14326         * configure.ac:
14327           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14328           Fixes #344039.
14329
14330         * docs/Makefile.am:
14331           Use new ENABLE_PLUGIN_DOCS conditional.
14332
14333 2006-06-14  Wim Taymans  <wim@fluendo.com>
14334
14335         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14336         Make it clear with a FIXME and a real define what the #if 0
14337         previously disabled.
14338
14339 2006-06-14  Wim Taymans  <wim@fluendo.com>
14340
14341         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14342         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14343         * libs/gst/base/gstbasetransform.c:
14344         (gst_base_transform_sink_eventfunc):
14345         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14346         Don't randomly and silently reset a segment when the format 
14347         changes as this is a bug somewhere upstream. Fixes #330379.
14348
14349 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14350
14351         Patch by: Wouter Paesen  <wouter at kangaroot net>
14352
14353         * libs/gst/controller/gstcontroller.c:
14354         (gst_controlled_property_new):
14355           Fix controlling of float properties (#344849).
14356
14357         * tests/check/libs/controller.c:
14358         (gst_test_mono_source_get_property),
14359         (gst_test_mono_source_set_property),
14360         (gst_test_mono_source_class_init), (GST_START_TEST):
14361           While we're at it, add some float stuff to unit test.
14362
14363 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14364
14365         * docs/README:
14366         * docs/images/gdp-header.svg:
14367           add a gdp image
14368         * docs/libs/Makefile.am:
14369         * docs/libs/gdp-header.png:
14370         * libs/gst/dataprotocol/dataprotocol.c:
14371           add it to the API docs
14372         * docs/manual/intro-motivation.xml:
14373           fix typo
14374
14375 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14376
14377         * gst/gst.c: (scan_and_update_registry), (init_post):
14378           If the fork()'ed child process can't write the updated registry cache
14379           file to disk for some reason, make it exit with a failure exit code,
14380           so that the parent can then re-scan the plugins itself and update the
14381           registry structures in memory and work with that (rather than failing
14382           when creating elements because seemingly no plugins are available).
14383           Refactor registry scanning code into separate function for this and
14384           also separate fork() and non-fork() code paths. Fixes #344748.
14385
14386 2006-06-13  Wim Taymans  <wim@fluendo.com>
14387
14388         * docs/manual/advanced-dataaccess.xml:
14389         Fix wrong PluginDesc. Fixes #344755.
14390
14391 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14392
14393         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14394           Fix silly bug that prevented us from creating
14395           ~/.gstreamer-0.10 and writing the registry in one
14396           go (the first call to g_mkstemp() would overwrite the
14397           placeholder in the template string, so the second call
14398           to g_mkstemp() after creating the missing directory
14399           would then error out with 'invalid argument').
14400
14401 2006-06-13  Edward Hervey  <edward@fluendo.com>
14402
14403         * gst/gst.c: (init_post):
14404         Free string.
14405
14406 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14407
14408         * gst/glib-compat-private.h:
14409         * gst/glib-compat.c:
14410         * gst/glib-compat.h:
14411         * gst/gstvalue.c: (gst_value_serialize_flags):
14412           remove GLib 2.6 compatibility code
14413
14414 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14415
14416         * gst/parse/Makefile.am:
14417           Fix build with 'make -j N' even more (#340016).
14418
14419 2006-06-12  Wim Taymans  <wim@fluendo.com>
14420
14421         * docs/gst/gstreamer-sections.txt:
14422         Fix docs.
14423
14424 2006-06-12  Wim Taymans  <wim@fluendo.com>
14425
14426         * gst/gstsegment.c: (gst_segment_set_duration),
14427         (gst_segment_set_last_stop), (gst_segment_set_seek),
14428         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14429         (gst_segment_to_running_time), (gst_segment_clip):
14430         Use G_UNLIKELY to help the compiler a bit.
14431
14432 2006-06-12  Wim Taymans  <wim@fluendo.com>
14433
14434         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14435
14436         * gst/gstevent.c: (gst_event_get_type):
14437         * gst/gstmessage.c:
14438         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14439         (gst_pad_push):
14440         constify quark registration strings. Fixes #344115
14441         Avoid unneeded type checking is _pad_push() by internally
14442         calling gst_pad_chain_unchecked().
14443
14444 2006-06-12  Wim Taymans  <wim@fluendo.com>
14445
14446         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14447         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14448         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14449         (gst_buffer_is_span_fast), (gst_buffer_span):
14450         Init _type for consistency.
14451         Use _FLAGS macro to avoid type check.
14452         Avoid unneeded type checks in subbufer code.
14453
14454 2006-06-12  Wim Taymans  <wim@fluendo.com>
14455
14456         * gst/gst.c: (gst_debug_help):
14457         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14458         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14459         (gst_plugin_feature_list_free):
14460         * gst/gstregistry.c: (gst_registry_add_plugin),
14461         (gst_registry_add_feature), (gst_registry_plugin_filter),
14462         (gst_registry_feature_filter), (gst_registry_find_plugin),
14463         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14464         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14465         * gst/gstregistryxml.c: (load_feature),
14466         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14467         * gst/gstminiobject.c: (gst_mini_object_unref),
14468         (gst_mini_object_replace), (gst_value_mini_object_free),
14469         (gst_value_mini_object_copy):
14470         Use _CAST macros to avoid unneeded type checking.
14471         Added some more G_UNLIKELY.
14472
14473 2006-06-12  Wim Taymans  <wim@fluendo.com>
14474
14475         * gst/gstbuffer.h:
14476         Avoid unneeded type checking.
14477         API: GST_BUFFER_IS_DISCONT
14478
14479         * gst/gstminiobject.h:
14480         Avoid type check in flag accessor.
14481
14482         * gst/gstelementfactory.h:
14483         * gst/gstplugin.h:
14484         * gst/gstpluginfeature.h:
14485         Add _CAST macros.
14486         API: GST_ELEMENT_FACTORY_CAST
14487         API: GST_PLUGIN_CAST
14488         API: GST_PLUGIN_FEATURE_CAST
14489
14490 2006-06-12  Wim Taymans  <wim@fluendo.com>
14491
14492         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14493         (gst_object_unref):
14494         Add G_UNLIKELY in type registration.
14495         Avoid type check in _ref/_unref since that is also
14496         done in glib.
14497
14498 2006-06-12  Wim Taymans  <wim@fluendo.com>
14499
14500         * gst/gsterror.c: (gst_g_error_get_type):
14501         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14502         (gst_static_pad_template_get_type):
14503         * gst/gsttaglist.c: (gst_tag_list_get_type):
14504         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14505         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14506         * gst/gsturi.c: (gst_uri_handler_get_type):
14507         * gst/gstvalue.c: (gst_date_get_type):
14508         * gst/gstxml.c: (gst_xml_get_type):
14509         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14510         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14511         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14512         Add G_UNLIKELY in type registration.
14513
14514 2006-06-12  Wim Taymans  <wim@fluendo.com>
14515
14516         * tools/gst-inspect.c: (print_signal_info):
14517         Properly print enum values.
14518
14519 2006-06-12  Wim Taymans  <wim@fluendo.com>
14520
14521         * gst/gstinfo.c: (gst_debug_set_active),
14522         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14523         * gst/gstinfo.h:
14524         Add some G_[UN]LIKELY.
14525         Maintain __gst_debug_min to avoid formatting the arguments of
14526         debug messages that will be dropped anyway to avoid a lot of 
14527         overhead from the debugging system.
14528
14529 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14530
14531         * po/POTFILES.in:
14532         * po/POTFILES.skip:
14533           add missing files containing translatable strings, tell intltool about
14534           one exception
14535
14536 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14537
14538         * tests/check/libs/.cvsignore:
14539         add test-binary to ignore list
14540
14541 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14542
14543         * docs/libs/gstreamer-libs-docs.sgml:
14544         reorder (put dp into a chapter) and indent
14545
14546 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14547
14548         * configure.ac:
14549           back to HEAD
14550
14551 === release 0.10.8 ===
14552
14553 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14554
14555         * configure.ac:
14556           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14557
14558 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14559
14560         * gst/gst.c: (init_post):
14561           move pid declaration to declaration block
14562
14563 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14564
14565         * gst/gst.c: (init_post):
14566           use _exit() instead of exit() in our forked child; this ensures
14567           that none of the registered exit handlers from whatever is using
14568           GStreamer get executed.  This fixes gnome-mixer-applet failing
14569           to load, because ORBit would shut down.
14570           Spotted by: Edward Hervey  <edward@fluendo.com>
14571           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14572           Fixes #344474
14573
14574 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14575
14576         * configure.ac:
14577           back to TRUNK
14578
14579 === release 0.10.7 ===
14580
14581 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14582
14583         * configure.ac:
14584           releasing 0.10.7, "Soepeke, ik zie ou"
14585
14586 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14587
14588         * configure.ac:
14589         * po/af.po:
14590         * po/az.po:
14591         * po/bg.po:
14592         * po/ca.po:
14593         * po/cs.po:
14594         * po/de.po:
14595         * po/en_GB.po:
14596         * po/fr.po:
14597         * po/it.po:
14598         * po/nb.po:
14599         * po/nl.po:
14600         * po/ru.po:
14601         * po/sq.po:
14602         * po/sr.po:
14603         * po/sv.po:
14604         * po/tr.po:
14605         * po/uk.po:
14606         * po/vi.po:
14607         * po/zh_CN.po:
14608         * po/zh_TW.po:
14609         * win32/common/config.h:
14610           0.10.6.2 prerelease
14611
14612 2006-06-07  Wim Taymans  <wim@fluendo.com>
14613
14614         * gst/gstindex.c: (gst_index_gtype_resolver):
14615         * tools/gst-xmlinspect.c: (print_plugin_info):
14616         Fix leak spotted by coverity checker. Fixes #343827
14617         Fix another other leak found by paolo borelli.
14618
14619 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14620
14621         * libs/gst/dataprotocol/dataprotocol.c:
14622         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14623         (gst_dp_version_get_type), (gst_dp_init),
14624         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14625         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14626         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14627         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14628         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14629         (gst_dp_packetizer_free):
14630         * libs/gst/dataprotocol/dataprotocol.h:
14631           API: add a GstDPPacketizer object, and create/free functions
14632           API: add GstDPVersion enum
14633           Add 1.0 event function that uses the string serialization
14634           Serialize more useful buffer flags
14635           Fixes #343988
14636
14637 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14638
14639         * tests/check/Makefile.am:
14640         * tests/check/gst/gstabi.c:
14641         * tests/check/gst/struct_ppc64.h:
14642         * tests/check/libs/libsabi.c:
14643         * tests/check/libs/struct_ppc64.h:
14644           add ppc64 structure sizes
14645
14646 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14647
14648         * tests/check/Makefile.am:
14649         * tests/check/gst/gstabi.c:
14650         * tests/check/gst/struct_x86_64.h:
14651         * tests/check/libs/libsabi.c:
14652         * tests/check/libs/struct_x86_64.h:
14653           generate and add structure size lists for x86_64
14654
14655 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14656
14657         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14658         * libs/gst/check/gstcheck.h:
14659           factor out the method from tests that checks size of structures,
14660           and add code to generate the header containing these sizes
14661         * tests/check/gst/gstabi.c: (GST_START_TEST):
14662         * tests/check/gst/struct_i386.h:
14663         * tests/check/libs/libsabi.c: (GST_START_TEST):
14664         * tests/check/libs/struct_i386.h:
14665           use it
14666
14667 2006-06-06  Michael Smith  <msmith@fluendo.com>
14668
14669         * gst/gstsegment.h:
14670           Don't use c++-style comments, fixes #343929
14671
14672 2006-06-05  Edward Hervey  <edward@fluendo.com>
14673
14674         * gst/gst.c:
14675         plugin_paths is not used if we build without registry support.
14676
14677         * gst/gstsegment.c: (gst_segment_copy): 
14678         _copy() was always returning NULL...
14679
14680 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14681
14682         * libs/gst/dataprotocol/dataprotocol.c:
14683         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14684         (gst_dp_packet_from_event):
14685           factor out CRC code
14686
14687 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14688
14689         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14690           make sure we unset caps
14691
14692 2006-06-02  Michael Smith  <msmith@fluendo.com>
14693
14694         * libs/gst/check/gstcheck.c: (gst_check_init),
14695         (gst_check_chain_func):
14696         * libs/gst/check/gstcheck.h:
14697           Add a cond/mutex to the check support lib, signal this whenever we
14698           add to the buffers list. This will allow tests to not busy-wait on
14699           the buffer-list.
14700
14701 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14702
14703         * libs/gst/dataprotocol/dataprotocol.c:
14704         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14705         (gst_dp_packet_from_event):
14706           factor out some common header init code
14707
14708 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14709
14710         * docs/libs/gstreamer-libs-sections.txt:
14711         * docs/libs/tmpl/gstdataprotocol.sgml:
14712         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14713         * libs/gst/dataprotocol/dataprotocol.h:
14714           API: make gst_dp_crc() public
14715
14716 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14717
14718         * plugins/indexers/gstindexers.c: (plugin_init):
14719         conditionally register fileindexer (fixes #343598)
14720
14721 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14722
14723         * gst/gsttagsetter.h:
14724         Can't cast ifaces to a class
14725
14726         * libs/gst/net/gstnetclientclock.h:
14727         * libs/gst/net/gstnettimeprovider.h:
14728         * plugins/elements/gstfakesink.h:
14729         * plugins/elements/gstfakesrc.h:
14730         * plugins/elements/gstfdsink.h:
14731         * plugins/elements/gstfdsrc.h:
14732         * plugins/elements/gstfilesink.h:
14733         * plugins/elements/gstfilesrc.h:
14734         * plugins/elements/gstidentity.h:
14735         * plugins/elements/gstqueue.h:
14736         * plugins/elements/gsttee.h:
14737         * plugins/indexers/gstfileindex.c:
14738         * plugins/indexers/gstmemindex.c:
14739         * tests/old/examples/plugins/example.h:
14740         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14741
14742 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14743
14744         * libs/gst/dataprotocol/dataprotocol.c:
14745         (gst_dp_header_from_buffer):
14746           make sure we zero the whole ABI-compatible area
14747
14748 2006-06-01  Wim Taymans  <wim@fluendo.com>
14749
14750         Patch by: Alessandro Decina <alessandro at nnva dot org>
14751
14752         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14753         Make sure the EOS flag is cleared from pads after a flush
14754         or stop. Fixes #343538.
14755
14756         * tests/check/libs/collectpads.c: (GST_START_TEST),
14757         (gst_collect_pads_suite):
14758         Added test for collectpads reusage after EOS.
14759
14760 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14761
14762         * gst/gst.c:
14763          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14764         * win32/common/libgstbase.def:
14765          export gst_collect_pads_set_flushing
14766         * win32/common/libgstreamer.def:
14767          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14768          gst_value_fraction_multiply
14769         * win32/vs6/gst_inspect.dsp:
14770          add a link to intl.lib
14771
14772 2006-05-30  Wim Taymans  <wim@fluendo.com>
14773
14774         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14775         (gst_collect_pads_chain):
14776         Handle the case where a pad is removed from the collection
14777         that could cause the other pads to become collectable.
14778
14779 2006-05-30  Wim Taymans  <wim@fluendo.com>
14780
14781         * gst/gstelement.c:
14782         Clarify the use of _release_request_pad() and
14783         _get_request_pad() a bit better.
14784
14785         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14786         (gst_adapter_take_buffer):
14787         Fix some doc and comment typos.
14788
14789 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14790
14791         * docs/gst/gstreamer-sections.txt:
14792         * docs/libs/gstreamer-libs-sections.txt:
14793           add declared symbols
14794
14795 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14796
14797         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14798         Add debug that can be enabled using a #define at the top of the file,
14799         for dumping stats about how late/early we were when waking up from
14800         waiting on the clock.
14801
14802 2006-05-30  Wim Taymans  <wim@fluendo.com>
14803
14804         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14805         When rebuilding the pad list, don't leak the previous list.
14806
14807 2006-05-30  Wim Taymans  <wim@fluendo.com>
14808
14809         Patch by: Lutz Mueller <lutz at topfrose dot de>
14810
14811         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14812         (gst_base_src_get_query_types), (gst_base_src_update_length):
14813         Publish supported query types.
14814         Update last_stop field in get_range mode so the position
14815         query works. Fixes #342321.
14816
14817 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14818
14819         * docs/gst/gstreamer-sections.txt:
14820         * gst/gsttaglist.c: (_gst_tag_initialize):
14821         * gst/gsttaglist.h:
14822           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14823
14824 2006-05-30  Wim Taymans  <wim@fluendo.com>
14825
14826         Patch by: Alessandro Decina <alessandro at nnva dot org>
14827
14828         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14829         Unlock mutex when removing an unknown pad.
14830         Fixes #343334.
14831
14832         * tests/check/Makefile.am:
14833         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14834         (push_event), (setup), (teardown), (GST_START_TEST),
14835         (gst_collect_pads_suite), (main):
14836         Added collecpads check, disabled for now as check crashes for
14837         some reason.
14838
14839 2006-05-29  Wim Taymans  <wim@fluendo.com>
14840
14841         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14842         Don't leak pads lists.
14843
14844 2006-05-29  Wim Taymans  <wim@fluendo.com>
14845
14846         * docs/libs/gstreamer-libs-sections.txt:
14847         * libs/gst/base/gstcollectpads.c:
14848         (gst_collect_pads_set_flushing_unlocked),
14849         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14850         (gst_collect_pads_stop):
14851         * libs/gst/base/gstcollectpads.h:
14852         API: gst_collect_pads_set_flushing()
14853         Added api to set the pads to flushing, useful for seeking
14854         code in elements using collectpads.
14855         Clear segment when receiving a flush.
14856
14857 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14858
14859         * gst/gst.c: (add_path_func), (init_post):
14860           Don't scan registry paths passed via --gst-plugin-path immediately
14861           (will crash, because absolutely nothing is set up and no types are
14862           registered etc.); do this later in init_post(). Fixes #343057.
14863
14864 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14865
14866         * gst/gst.c: (init_post):
14867           if we have fork, fork while reading/rebuilding the registry
14868           so the parent doesn't take the hit of having all plugins loaded
14869           in memory.  Fixes #342777.
14870         * configure.ac:
14871           Check if we have fork()
14872         * win32/common/config.h.in:
14873           no fork() on win32
14874
14875 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14876
14877         * plugins/elements/gstelements.c:
14878         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14879         (gst_file_src_init), (gst_file_src_set_property),
14880         (gst_file_src_get_property), (gst_file_src_start):
14881         * plugins/elements/gstfilesrc.h:
14882           API: GstFileSrc::use-mmap
14883
14884         Add a use-mmap property to enable easier testing of all code paths.
14885         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14886         in the absence of gnomevfssrc. (Closes #340501)
14887
14888 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14889
14890         * tools/gst-inspect.c:
14891         Add missing include, removes warning of ngettext not being defined on
14892         some arches.
14893
14894 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14895
14896         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14897         Handle NULL input and output pointers silently as a failed conversion,
14898         rather than g_warnings.
14899
14900 2006-05-25  Wim Taymans  <wim@fluendo.com>
14901
14902         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14903         Initialize variable before using. Fixes #342820.
14904
14905 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14906
14907         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14908           Fix off-by-one bug that would only allow peeks of N-1 bytes
14909           from the start even if the buffer to typefind on contains
14910           in fact N bytes of data (makes vorbis typefinding from a
14911           vorbis identification header buffer work).
14912
14913         * tests/check/Makefile.am:
14914         * tests/check/libs/.cvsignore:
14915         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14916         (gst_typefindhelper_suite), (main), (foobar_typefind),
14917         (plugin_init):
14918           Add very basic unit test for gst_type_find_helper_for_buffer()
14919           that checks for the problem fixed above.
14920
14921 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14922
14923         * tools/gst-inspect.c: (print_interfaces),
14924         (print_element_properties_info), (print_element_list), (main):
14925           add more translatable strings
14926
14927 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14928
14929         Patch by: Julien Moutte  <julien at moutte net>
14930
14931         * docs/gst/gstreamer-sections.txt:
14932           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14933           
14934         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14935         (gst_fake_sink_preroll):
14936         * plugins/elements/gstfakesink.h:
14937           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14938
14939 2006-05-23  Wim Taymans  <wim@fluendo.com>
14940
14941         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14942         * gst/gstpad.h:
14943         Added _CUSTOM error and success GstFlowReturn that can be
14944         used be elements internally. 
14945         Added macro to check for SUCCESS flowreturns.
14946         API: GST_FLOW_CUSTOM_SUCCESS
14947         API: GST_FLOW_CUSTOM_ERROR
14948         API: GST_FLOW_IS_SUCCESS
14949
14950         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14951         Added check for GstFlowReturn sanity.
14952
14953 2006-05-23  Wim Taymans  <wim@fluendo.com>
14954
14955         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14956
14957         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14958         (gst_collect_pads_event):
14959         clear/reset segment info in FLUSH_STOP.
14960         Fixes #336929.
14961
14962 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14963
14964         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14965         (gst_collect_pads_check_collected):
14966         Flush queued buffer on _stop(), fixes playing again (#342454)
14967
14968 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14969
14970         * tests/check/gst/gststructure.c: (GST_START_TEST),
14971         (gst_structure_suite):
14972           add a test for a complete structure
14973
14974 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14975
14976         * docs/faq/developing.xml:
14977         * docs/faq/faq.xml:
14978         * docs/faq/troubleshooting.xml:
14979         * docs/faq/using.xml:
14980           Some minor FAQ updates that won't change the fact that
14981           our FAQ is badly structured, full of information hardly
14982           anyone new to GStreamer needs to know and lacking lots
14983           of information people constantly ask for.
14984           
14985 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14986
14987         * gst/gstpad.c: (gst_pad_set_caps):
14988           Short-circuit gst_pad_set_caps if setting the existing
14989           caps pointer again, and avoid printing debug and 
14990           reffing/unreffing the caps.
14991
14992         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14993           There's actually no need to set the caps before pushing -
14994           the acceptcaps method will handle it anyway.
14995
14996 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14997
14998         * docs/gst/gstreamer-sections.txt:
14999         * win32/common/libgstreamer.def:
15000         * gst/gstutils.c: (gst_element_seek_simple):
15001         * gst/gstutils.h:
15002           API: add gst_element_seek_simple() (#342238).
15003
15004 2006-05-18  Edward Hervey  <edward@fluendo.com>
15005
15006         * gst/gsttypefind.c: (gst_type_find_get_type):
15007         * gst/gsttypefind.h:
15008         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15009         registered for GstTypeFind pointers. This allows wrapping the structure
15010         in bindings (i.e. gst-python).
15011
15012 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15013
15014         * gst/gsttagsetter.c:
15015           Docs additions and fixes (see #339918).
15016
15017 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15018
15019         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15020         The caps intersection algorithm can produce multiple copies of the
15021         caps. Until that is fixed, we need to simplify the result to be
15022         sure whether the allowed caps are fixed or not.
15023
15024         * plugins/elements/gstqueue.c: (gst_queue_init),
15025         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15026         (gst_queue_push_one):
15027         Proxied buffer alloc should not set the caps on the source pad.
15028         When pushing buffers, we always accept the caps change that triggers.
15029         This prevents negotiation errors caused by caps changing mid-stream 
15030         and then being refused on our source pad (because upstream is now
15031         refusing those caps).
15032
15033 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15034
15035         * tests/examples/helloworld/helloworld.c: (main):
15036           Must plug audioconvert and audioresample between decoder
15037           and audio sink.
15038
15039 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15040
15041         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15042         (load_feature), (load_plugin):
15043         Allow empty strings for some of the plugin fields so we don't 
15044         drop valid plugin entries that were written out correctly
15045         (Fixes #341479)
15046
15047 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15048         
15049         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15050           Use g_remove and g_rename instead of remove and rename that don't 
15051           handle utf8 characters. rename was failing for users who had specific
15052           characters in their name then the registry was built at each 
15053           gstreamer init.
15054         * win32/vs6/gst_inspect.dsp:
15055         * win32/vs6/gst_launch.dsp:
15056         * win32/vs6/libgstbase.dsp:
15057         * win32/vs6/libgstcoreelements.dsp:
15058         * win32/vs6/libgstreamer.dsp:
15059           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15060           build of libgstreamer and clean unused libraries in projects link 
15061           settings.
15062
15063 2006-05-17  Edward Hervey  <edward@fluendo.com>
15064
15065         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15066         The queue is not responsible for pushing an EOS when receiving a fatal
15067         flow error. It's up to the real element driving the pipeline to do that.
15068
15069 2006-05-16  Edward Hervey  <edward@fluendo.com>
15070
15071         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15072         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15073         buffer returned a fatal error. It should just send an EOS and stop
15074         its task.
15075         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15076         when pushing buffers on the queue and will be able to handle the event.
15077
15078 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15079
15080         * docs/manual/basics-bins.xml:
15081         * docs/manual/basics-init.xml:
15082           Fix typos and minor errors in sample code (#341856).
15083
15084 2006-05-16  Wim Taymans  <wim@fluendo.com>
15085
15086         * docs/design/part-qos.txt:
15087         Fix indexes in formulas to make more sense.
15088
15089 2006-05-15  Wim Taymans  <wim@fluendo.com>
15090
15091         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15092         Don't report POSITION based on clock time if sync is
15093         disabled in a sink.
15094
15095 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15096
15097         * gst/gstobject.h:
15098           Add cast to make compiler happy - refcount variable was a gint
15099           in GstObject but is a guint in GObject and g_atomic_int_get()
15100           wants a gint *.
15101
15102 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15103
15104         * gst/parse/Makefile.am:
15105           chain commands using &&, which also makes parallel make work
15106
15107 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15108
15109         * docs/gst/gstreamer-sections.txt:
15110         * gst/gstevent.c:
15111         * gst/gstevent.h:
15112         * gst/gstmessage.h:
15113           Minor docs fixes.
15114
15115 === release 0.10.6 ===
15116
15117 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15118
15119         * configure.ac:
15120           releasing 0.10.6, "Take the cannoli"
15121
15122 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15123
15124         * tools/gst-launch.c: (print_tag):
15125           Fix use of uninitialized variable in the hypothetical
15126           case that some broken plugin creates a GST_TAG_IMAGE
15127           tag containing a NULL buffer (#341667).
15128
15129 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15130
15131         * tools/gst-launch.c: (print_tag):
15132           Print something more intelligible for image tags when
15133           using the -t switch (#341556).
15134
15135 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15136
15137         * Makefile.am:
15138           updates for win32
15139         * configure.ac:
15140           define GST_MAJORMINOR so we have it available in win32/common/config.h
15141           Possibly remove it from our Makefile.am files later
15142         * win32/common/config.h:
15143         * win32/common/config.h.in:
15144           added GST_MAJORMINOR
15145         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15146         * win32/common/gstversion.h:
15147           updated
15148
15149 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15150
15151         * win32/MANIFEST:
15152           Update win32 files listing.
15153         * win32/common/gstversion.h:
15154           Add GST_MAJORMINOR definition.
15155         * win32/common/libgstreamer.def:
15156           Add new exported functions.
15157           
15158 2006-05-12  Michael Smith  <msmith@fluendo.com>
15159
15160         * gst/gstplugin.c: (gst_plugin_load_file):
15161           If an so file has no plugin entry point, unload the module.
15162
15163 2006-05-11  Wim Taymans  <wim@fluendo.com>
15164
15165         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15166         (gst_queue_set_property):
15167         Don't forget to signal the _chain or _loop function 
15168         when the queue size or thresholds change since that might
15169         cause them to make progres again.
15170
15171 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15172
15173         * gst/gstclock.c: (gst_clock_class_init):
15174         * gst/gstindex.c: (gst_index_class_init):
15175         * gst/gstobject.c: (gst_object_class_init):
15176         * gst/gstpad.c: (gst_pad_class_init):
15177         * gst/gstpipeline.c: (gst_pipeline_class_init):
15178         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15179         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15180         * libs/gst/base/gstbasetransform.c:
15181         (gst_base_transform_class_init):
15182         * libs/gst/net/gstnetclientclock.c:
15183         (gst_net_client_clock_class_init):
15184         * libs/gst/net/gstnettimeprovider.c:
15185         (gst_net_time_provider_class_init):
15186         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15187         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15188         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15189         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15190         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15191         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15192         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15193         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15194         * plugins/elements/gsttee.c: (gst_tee_class_init):
15195         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15196         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15197           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15198
15199 2006-05-11  Wim Taymans  <wim@fluendo.com>
15200
15201         * gst/gstbuffer.c: (_gst_buffer_initialize):
15202         Register subbufer along with the buffer type so that
15203         it does not accidentally gets registered from N
15204         different streaming threads in a non threadsafe way.
15205
15206 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15207
15208         * gst/gstbuffer.h:
15209         * gst/gstevent.h:
15210         * gst/gstmessage.h:
15211           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15212           gst_event_ref() and gst_message_ref() functions again
15213           (ugly hack, please do fix if there's a better way besides
15214           overrides.txt, which doesn't seem to work).
15215
15216 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15217
15218         * libs/gst/check/gstcheck.h:
15219           add an assert for setting state to avoid lots of repetitive code
15220           in the future
15221
15222 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15223
15224         * gst/gstvalue.c: (gst_value_serialize_flags):
15225           fix a leak if no flags are set
15226         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15227           fix leak in tests
15228
15229 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15230
15231         * docs/manual/basics-pads.xml:
15232           Expand a bit on caps and filtered links and update
15233           examples that were still using the no longer existing
15234           gst_pad_link_filtered() (#338206).
15235
15236 2006-05-10  Wim Taymans  <wim@fluendo.com>
15237
15238         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15239         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15240         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15241         (gst_collect_pads_stop):
15242         * libs/gst/base/gstcollectpads.h:
15243         No need to call _stop in _finalize.
15244         Iterate the main pad list in _finalize.
15245         Added some more debug.
15246         Free lists and data in the right order.
15247         Also free data whem doing _remove_pad when stopped for
15248         backward compatibility protect ::started with PAD_LOCK as
15249         well.
15250
15251 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15252
15253         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15254         (gst_structure_parse_value):
15255           add some comments
15256           rename a method so that it actually says what it does better
15257
15258 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15259
15260         * gst/gstevent.c: (_gst_event_initialize):
15261         * gst/gstformat.c: (_gst_format_initialize):
15262           make sure some essential types used by events are registered
15263           as part of gst_init()
15264         * gst/gstvalue.c: (gst_value_serialize_flags):
15265           if no flags are set, serialize them to a value that represents NONE
15266           so that deserializing them works
15267         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15268           add tests for serialization and deserialization of flags
15269
15270 2006-05-10  Wim Taymans  <wim@fluendo.com>
15271
15272         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15273         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15274         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15275         (gst_collect_pads_event), (gst_collect_pads_chain):
15276         Update docs.
15277         Better debug info.
15278         Catch and return errors from the collect function
15279         Refuse data on eos pads.
15280
15281 2006-05-10  Edward Hervey  <edward@fluendo.com>
15282
15283         * gst/gstinterface.h:
15284         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15285         GInterface type checking.
15286         They were previously using non-defined macros.
15287
15288 2006-05-09  Wim Taymans  <wim@fluendo.com>
15289
15290         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15291         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15292         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15293         (gst_collect_pads_start), (gst_collect_pads_stop),
15294         (gst_collect_pads_peek), (gst_collect_pads_pop),
15295         (gst_collect_pads_available), (gst_collect_pads_read),
15296         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15297         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15298         (gst_collect_pads_chain):
15299         * libs/gst/base/gstcollectpads.h:
15300         Clean up the mess that is collectpads, add comments and
15301         FIXMEs where needed.
15302         Maintain a separate pad list so we can add pads while
15303         collecting the other ones. For this we need a new separate 
15304         lock (see comics).
15305         Fix memory leak in finalize.
15306         Refactor some weird code to set/unset pad flushing flags, mark
15307         with comments.
15308         Don't crash in _available, _read, _flush when we're EOS.
15309
15310         * tests/check/libs/.cvsignore:
15311         Ignore adapter check binary.
15312
15313 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15314
15315         * gst/gstindex.c: (gst_index_resolver_get_type):
15316         * plugins/elements/gstfakesink.c:
15317         (gst_fake_sink_state_error_get_type):
15318         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15319         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15320         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15321           Const-ify GEnumValue arrays.
15322
15323 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15324
15325         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15326           Add test case for flags + gst_buffer_make_metadata_writable().
15327
15328 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15329
15330         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15331           gst_buffer_make_metadata_writable() should maintain the
15332           buffer flags (those that make sense at least) (see #340859).
15333
15334 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15335
15336         * tools/gst-inspect.c:
15337         * tools/gst-launch.c:
15338         * tools/gst-typefind.c:
15339         * tools/gst-xmlinspect.c:
15340         * tools/tools.h:
15341           Fix up includes: need to include stdlib.h in tools.h for exit().
15342
15343 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15344
15345         * gst/gsttaglist.c: (_gst_tag_initialize):
15346         * gst/gsttaglist.h:
15347           API: add GST_TAG_IMAGE tag (#340721).
15348
15349 2006-05-08  Wim Taymans  <wim@fluendo.com>
15350
15351         * gst/gstquery.c:
15352         Added some docs for the segment query.
15353
15354 2006-05-08  Wim Taymans  <wim@fluendo.com>
15355
15356         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15357         (gst_base_src_loop), (gst_base_src_change_state):
15358         Always push non-flushing serialized events in the streaming 
15359         thread.
15360
15361 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15362
15363         * gst/gsterror.c: (_gst_stream_errors_init):
15364           Add a missing error string.
15365
15366 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15367
15368         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15369         Add applied_rate to the debug
15370
15371         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15372         Copy applied_rate into the outgoing NEWSEGMENT event
15373
15374 2006-05-08  Wim Taymans  <wim@fluendo.com>
15375
15376         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15377
15378         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15379         (gst_base_sink_change_state):
15380         call ::unlock before taking the PREROLL_LOCK so we can safely
15381         handle elements that lock in ::render.
15382         Fixes #340174.
15383
15384 2006-05-08  Edward Hervey  <edward@fluendo.com>
15385
15386         * autogen.sh: (CONFIGURE_DEF_OPT): 
15387         Darwin's libtoolize is in fact called glibtoolize.
15388         Adding glibtoolize to the list of accepted names for libtoolize.
15389
15390 2006-05-08  Wim Taymans  <wim@fluendo.com>
15391
15392         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15393         Unify error handling, don't post an error message
15394         when a push() returns EOS but perform our normal EOS
15395         handling code. Fixes #340772.
15396
15397 2006-05-08  Wim Taymans  <wim@fluendo.com>
15398
15399         * docs/design/part-overview.txt:
15400         Make upsteam/downstream concepts more clear.
15401         Give an example of serialized/non-serialized events.
15402
15403         * docs/design/part-events.txt:
15404         * docs/design/part-streams.txt:
15405         Mention applied_rate.
15406
15407         * docs/design/part-trickmodes.txt:
15408         Mention applied rate, flesh out some more use cases.
15409
15410         * gst/gstevent.c: (gst_event_new_new_segment),
15411         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15412         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15413         (gst_event_parse_tag), (gst_event_new_buffer_size),
15414         (gst_event_parse_buffer_size), (gst_event_new_qos),
15415         (gst_event_parse_qos), (gst_event_parse_seek),
15416         (gst_event_new_navigation):
15417         * gst/gstevent.h:
15418         Add applied_rate field to NEWSEGMENT event.
15419         API: gst_event_new_new_segment_full()
15420         API: gst_event_parse_new_segment_full()
15421
15422         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15423         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15424         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15425         * gst/gstsegment.h:
15426         Add applied_rate to GstSegment structure.
15427         Make calculation of stream_time and running_time more correct
15428         wrt rate/applied_rate.
15429         Add some more docs.
15430         API: GstSegment::applied_rate field
15431         API: gst_segment_set_newsegment_full();
15432
15433         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15434         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15435         * libs/gst/base/gstbasetransform.c:
15436         (gst_base_transform_sink_eventfunc),
15437         (gst_base_transform_handle_buffer):
15438         Parse and use applied_rate in the GstSegment field.
15439
15440         * tests/check/gst/gstevent.c: (GST_START_TEST):
15441         Add check for applied_rate field.
15442
15443         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15444         (gstsegments_suite):
15445         Add more checks for various GstSegment operations.
15446
15447 2006-05-08  Wim Taymans  <wim@fluendo.com>
15448
15449         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15450         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15451         (gst_base_sink_get_position), (gst_base_sink_change_state):
15452         Store the sync time of the buffer end position separatly in a
15453         new variable eos_rtime so we can properly sync the EOS event.
15454         Fixes #340697.
15455         Fix the docs for gst_base_sink_set_qos_enabled().
15456         Don't set segment start to invalid value when we receive a 
15457         non TIME newsegment.
15458         get closer to handling position reporting for negative rates 
15459         correctly.
15460
15461 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15462
15463         * gst/gstcaps.c:
15464         Docs about how to print caps for debug purposes.
15465
15466         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15467         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15468
15469 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15470
15471         * gst/gstelement.c:
15472           use full enum names and preprend a '%' in docs strings to make recent 
15473           gtk-doc turn that into a link
15474
15475 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15476
15477         * docs/manual/basics-bins.xml:
15478         * docs/manual/basics-bus.xml:
15479         * docs/manual/basics-pads.xml:
15480           Some typo fixes, some additions, some clarifications. 
15481
15482 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15483
15484         * tools/gst-inspect.c: (main):
15485         * tools/gst-launch.c: (main):
15486         * tools/gst-run.c: (main):
15487         * tools/gst-typefind.c: (main):
15488         * tools/gst-xmlinspect.c: (main):
15489           Use the string passed to g_option_context_new() for
15490           what it's intended for - the program name is already
15491           printed elsewhere.
15492
15493 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15494
15495         * tools/Makefile.am:
15496         * tools/gst-inspect.c: (main):
15497         * tools/gst-launch.c: (main):
15498         * tools/gst-xmlinspect.c: (main):
15499         * tools/tools.h:
15500           Add back --version command line option (#340460).
15501
15502         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15503           Add --version option and use GOption for argument parsing; refactor a
15504           bit; accept directories as arguments and recurse into them; lastly,
15505           print a decent error message when things go wrong.
15506
15507 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15508
15509         * docs/manual/basics-bins.xml:
15510         Don't mention GstThread (#340611)
15511         * docs/manual/basics-elements.xml:
15512         Update link to GObject tutorial (#340607)
15513         
15514 2006-05-05  Wim Taymans  <wim@fluendo.com>
15515
15516         * gst/gstbuffer.h:
15517         * gst/gstminiobject.c:
15518         Add note about refcounting and miniobject/buffer writeability
15519         to docs. Fixes #340604
15520
15521         * gst/gstelementfactory.h:
15522         Added some explanation about @klass.
15523
15524 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15525
15526         * docs/manual/intro-motivation.xml:
15527         * docs/manual/manual.xml:
15528         Avoid CORBA & Bonobo references (#340598)
15529
15530 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15531
15532         * docs/manual/basics-bus.xml:
15533         * docs/manual/basics-pads.xml:
15534         Fix up some inaccuracies and omissions (#340609)
15535         
15536 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15537
15538         * gst/gstghostpad.c:
15539           Small typo in docs (#340625)
15540
15541 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15542
15543         * gst/parse/Makefile.am:
15544           Make 'make -j' proof (see #340698).
15545
15546 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15547
15548         * configure.ac:
15549           Require GLib-2.8 here as well.
15550
15551 2006-05-05  Wim Taymans  <wim@fluendo.com>
15552
15553         * gst/glib-compat.c:
15554         * gst/gst.c: (init_pre):
15555         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15556         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15557         (gst_object_dispatch_properties_changed):
15558         * gst/gstobject.h:
15559         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15560         * gst/gststructure.c: (gst_structure_set_valist):
15561         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15562         Remove pre glib2.8 compatibility, fixes #340508
15563
15564 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15565
15566         * gst/gsttaglist.h:
15567           Mention type of tags in doc blurbs.
15568
15569 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15570
15571         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15572         (gst_pad_configure_src), (gst_pad_push):
15573         Restore acceptcaps checking behaviour now that good plugins have
15574         been released.
15575
15576 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15577
15578         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15579
15580         * gst/gst.c:
15581         * gst/gstbus.c:
15582         * gst/gstclock.c:
15583         * gst/gstevent.c:
15584         * gst/gstformat.c:
15585         * gst/gstmessage.c:
15586         * gst/gstparse.c:
15587         * gst/gstquery.c:
15588         * gst/gstutils.c:
15589         * gst/parse/Makefile.am:
15590         * libs/gst/base/gstadapter.c:
15591         * libs/gst/base/gstbasesrc.c:
15592         * libs/gst/base/gstpushsrc.c:
15593         * libs/gst/base/gsttypefindhelper.c:
15594         * plugins/elements/gstfakesrc.c:
15595         * plugins/elements/gstidentity.c:
15596           Make sure gstprivate.h and/or config.h are
15597           always included first, otherwise some of our
15598           defines (like _FILE_OFFSET_BITS) might be
15599           redefined in the system headers. Fixes build
15600           on opensolaris (#340016).
15601
15602 2006-05-04  Wim Taymans  <wim@fluendo.com>
15603
15604         * docs/libs/gstreamer-libs-sections.txt:
15605         API: addition: gst_adapter_take_buffer()
15606         
15607         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15608         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15609         (gst_adapter_available_fast):
15610         * libs/gst/base/gstadapter.h:
15611         Prepare for optimizing the hell out of this hugely inefficient
15612         piece of code. 
15613         Added gst_adapter_take_buffer() so we can at least start thinking
15614         about subbuffering and merging.
15615         Added some comments.
15616
15617         * tests/check/Makefile.am:
15618         * tests/check/libs/adapter.c: (GST_START_TEST),
15619         (gst_adapter_suite), (main):
15620         Added GstAdapter check.
15621
15622 2006-05-04  Wim Taymans  <wim@fluendo.com>
15623
15624         * docs/design/part-overview.txt:
15625         Fix some typos, add blurb about buffer flags.
15626
15627 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15628
15629         * docs/libs/gstreamer-libs-sections.txt:
15630           make sure GstBaseTransformClass shows up in the docs
15631         * libs/gst/base/gstbasetransform.c:
15632         * libs/gst/base/gstbasetransform.h:
15633           move docs so gtk-doc picks it up now
15634
15635 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15636
15637         * docs/libs/gstreamer-libs-sections.txt:
15638           add missing symbols to docs
15639
15640 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15641
15642         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15643           back out the newsegment handling change, see #340060 for ongoing
15644           discussion
15645
15646 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15647
15648         * tools/gst-run.c: (get_candidates), (main):
15649           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15650           work); fix typo in error message. Fixes #340079.
15651
15652 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15653
15654         * common/Makefile.am:
15655         * docs/Makefile.am:
15656         * docs/faq/Makefile.am:
15657         * docs/gst/Makefile.am:
15658         * docs/libs/Makefile.am:
15659         * docs/manual/Makefile.am:
15660         * docs/plugins/Makefile.am:
15661         * docs/pwg/Makefile.am:
15662         * docs/slides/Makefile.am:
15663         * docs/upload.mak:
15664         * common/upload.mak:
15665           move upload.mak to common
15666
15667 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15668
15669         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15670           add more asserts on refcounts
15671           do more cleanup at end of tests
15672           fix test leaks showing in FC5
15673
15674 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15675
15676         * plugins/elements/gsttypefindelement.c:
15677         (gst_type_find_element_handle_event):
15678         reverted wrong change and reflowed code to avoid others falling into
15679         this trap
15680
15681 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15682
15683         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15684           fix changelog entry about last collectpads change,
15685           add notes about proper fix
15686
15687 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15688
15689         * gst/gst.c:
15690         * gst/gstregistry.c: (gst_registry_scan_path_level),
15691         (gst_registry_scan_path):
15692         * gst/gstregistry.h:
15693           only write out registry if it has changed, fixes #338339
15694
15695 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15696
15697         * gst/gstbin.c:
15698         * gst/gstpipeline.c:
15699         * plugins/elements/gstcapsfilter.c:
15700         * plugins/elements/gstfakesink.c:
15701         * plugins/elements/gstfakesrc.c:
15702         * plugins/elements/gstfdsink.c:
15703         * plugins/elements/gstfdsrc.c:
15704         * plugins/elements/gstfilesink.c:
15705         * plugins/elements/gstfilesrc.c:
15706         * plugins/elements/gstidentity.c:
15707         * plugins/elements/gstqueue.c:
15708         * plugins/elements/gsttee.c:
15709         * plugins/elements/gsttypefindelement.c:
15710         (gst_type_find_element_handle_event):
15711           make GstElementDetails const
15712
15713 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15714
15715         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15716         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15717         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15718           more detailed debug and formatting cleanup,
15719           forward newsegments to src-pad (so that e.g. adder not eats them)
15720
15721 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15722
15723         * gst/gstutils.c: (gst_element_link_pads):
15724           cleanup double code
15725
15726 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15727
15728         * libs/gst/controller/gstcontroller.c:
15729         (gst_controller_sync_values):
15730           some little tuning
15731         * tests/check/libs/controller.c: (GST_START_TEST),
15732         (gst_controller_suite):
15733           a new test for live value handling
15734
15735 2006-04-28  Wim Taymans  <wim@fluendo.com>
15736
15737         * gst/gstutils.c: (push_and_ref):
15738         Added some more docs.
15739         Fix refcount issue whith gst_element_found_tags() helper 
15740         function. Fixes #338335
15741
15742         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15743         Added testsuite for gst_element_found_tags().
15744
15745 2006-04-28  Michael Smith  <msmith@fluendo.com>
15746
15747         * gst/gstvalue.c: (gst_value_serialize_flags):
15748           Avoid NULL dereference when trying to serialize flags containing
15749           invalid values.
15750
15751 2006-04-28  Michael Smith  <msmith@fluendo.com>
15752
15753         * plugins/elements/gsttypefindelement.c:
15754         (gst_type_find_element_handle_event):
15755           If we get EOS before any data is accumulated, don't use
15756           uninitialised local variables.
15757
15758 2006-04-28  Michael Smith  <msmith@fluendo.com>
15759
15760         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15761         (gst_dp_event_from_packet):
15762           Fixes in reading/writing events over GDP (not currently used?) - 
15763           dereferencing NULL events for unknown/invalid event types, memory
15764           leak, and change g_warning to GST_WARNING.
15765
15766 2006-04-28  Wim Taymans  <wim@fluendo.com>
15767
15768         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15769         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15770         (gst_base_sink_get_position), (gst_base_sink_change_state):
15771         When frame dropping is enabled, we should not ignore frames
15772         without a duration.
15773         Update some documentation.
15774
15775 2006-04-28  Wim Taymans  <wim@fluendo.com>
15776
15777         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15778         (gst_base_src_send_event), (gst_base_src_change_state):
15779         Documentation updates.
15780
15781 2006-04-28  Wim Taymans  <wim@fluendo.com>
15782
15783         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15784         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15785         handle EAGAIN, EINTR and short writes correctly. Also clean
15786         up some error cases, avoid a deadlock on bad file descriptors and
15787         use GST_DEBUG_OBJECT.
15788         Fixes #339843
15789
15790 2006-04-28  Wim Taymans  <wim@fluendo.com>
15791
15792         * gst/gstvalue.c: (gst_value_serialize_buffer),
15793         (gst_value_deserialize_buffer):
15794         Don't try to serialize a GValue with a NULL buffer. 
15795         Fixes #339821.
15796
15797         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15798         Added check for serialisation of NULL buffers.
15799
15800 2006-04-28  Wim Taymans  <wim@fluendo.com>
15801
15802         * gst/gstminiobject.c: (gst_value_take_mini_object):
15803         Taking a NULL miniobject is valid, fix the case where
15804         we try to unref the NULL miniobject.
15805
15806 2006-04-28  Wim Taymans  <wim@fluendo.com>
15807
15808         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15809
15810         * gst/gstbin.c: (gst_bin_handle_message_func):
15811         Update docs.
15812         Don't leak bin refcount when a state recalc is
15813         in progress and we delay another one #339808.
15814
15815 2006-04-28  Wim Taymans  <wim@fluendo.com>
15816
15817         * docs/design/part-TODO.txt:
15818         Mention QoS as an ongoing work item.
15819
15820         * docs/design/part-buffering.txt:
15821         New doc about buffering that needs to be fleshed out
15822         at some point.
15823
15824         * docs/design/part-qos.txt:
15825         More QoS policy for decoders/demuxers/transforms
15826
15827         * docs/design/part-trickmodes.txt:
15828         Small update.
15829
15830 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15831
15832         * configure.ac:
15833           back to HEAD
15834
15835 === release 0.10.5 ===
15836
15837 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15838
15839         * configure.ac:
15840           releasing 0.10.5, "Fogo"
15841
15842 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15843
15844         patch by: Wim Taymans
15845
15846         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15847         (gst_pad_configure_src), (gst_pad_push):
15848         * gst/gstpipeline.c: (gst_pipeline_init):
15849           Fix internal data flow errors.  Fixes #338711.
15850
15851 2006-04-12  Wim Taymans  <wim@fluendo.com>
15852
15853         * tests/check/gst/gstelement.c: (GST_START_TEST):
15854         Don't leak the factory.
15855
15856 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15857
15858         * configure.ac:
15859         * win32/common/config.h:
15860           prerelease
15861
15862 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15863
15864         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15865         (gst_controller_unset_all):
15866           Free allocated GstTimedValues when freeing list nodes.
15867           Should fix leaks 'make check-valgrind' complains about.
15868
15869         * win32/common/libgstcontroller.def:
15870           Add gst_controller_unset_all.
15871
15872 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15873
15874         * docs/libs/gstreamer-libs-sections.txt:
15875         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15876         (gst_controller_unset_all):
15877         * libs/gst/controller/gstcontroller.h:
15878         API: Added new method gst_controller_unset_all()
15879         fixed gst_controller_unset()
15880         * tests/check/libs/controller.c: (GST_START_TEST),
15881         (gst_controller_suite):
15882         Added two testcases for new and fixed method
15883
15884 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15885
15886         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15887           MSG_DONTWAIT is not defined on Cygwin, so work
15888           around that (fixes #317048).
15889           
15890 2006-04-11  Wim Taymans  <wim@fluendo.com>
15891
15892         * gst/gstelementfactory.c: (gst_element_register),
15893         (gst_element_factory_create), (gst_element_factory_make):
15894         Some cleanups.
15895         Fixed a FIXME.
15896         Updated docs (Fixes #131079)
15897
15898         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15899         Small cleanups.
15900
15901         * tests/check/gst/gstelement.c: (GST_START_TEST),
15902         (gst_element_suite):
15903         Added testcase for elementfactory class field.
15904
15905 2006-04-10  Wim Taymans  <wim@fluendo.com>
15906
15907         * gst/gstsegment.c:
15908         Added some more docs.
15909
15910         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15911         (gst_base_sink_reset_qos):
15912         Calculate more accurate rate values.
15913
15914 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15915
15916         * gst/gst_private.h:
15917           add a new #ifdef to use __declspec(dllimport) only for
15918           other modules and not for gstreamer core
15919         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15920           use gst_guint64_to_gdouble for conversion
15921         * win32/common/libgstreamer.def:
15922           add new exported functions
15923         * win32/vs6/gst_inspect.dsp:
15924         * win32/vs6/gst_launch.dsp:
15925         * win32/vs6/libgstbase.dsp:
15926         * win32/vs6/libgstcontroller.dsp:
15927         * win32/vs6/libgstcoreelements.dsp:
15928         * win32/vs6/libgstdataprotocol.dsp:
15929         * win32/vs6/libgstnet.dsp:
15930           update project files
15931
15932 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15933
15934         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15935         * gst/gstclock.c: (gst_clock_class_init):
15936         * gst/gstelement.c: (gst_element_class_init):
15937         * gst/gstindex.c: (gst_index_class_init):
15938         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15939         * gst/gstobject.c: (gst_object_class_init),
15940         (gst_signal_object_class_init):
15941         * gst/gstpad.c: (gst_pad_class_init):
15942         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15943         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15944         * gst/gstregistry.c: (gst_registry_class_init):
15945         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15946         * gst/gsttask.c: (gst_task_class_init):
15947         * gst/gstxml.c: (gst_xml_class_init):
15948         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15949         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15950         (gst_base_src_loop):
15951         * libs/gst/controller/gstcontroller.c:/
15952         (_gst_controller_class_init):
15953         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15954         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15955         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15956         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15957         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15958         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15959
15960 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15961
15962         * gst/gstpad.c: (gst_pad_link):
15963           Must set peer pads before calling the link function, otherwise
15964           a task started from a link function might get a flow-not-linked
15965           result when trying to push because the other thread where the
15966           linking happens hasn't had a chance to set the peers yet. This
15967           might happen for example when a queue gets linked to a downstream
15968           element, as queue starts a streaming task when its source pad
15969           gets linked. Happens in real life when playing back flac/musepack
15970           files in playbin (#332390).
15971           
15972 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15973
15974         * gst/gstindex.h:
15975         * gst/gstxml.h:
15976         * libs/gst/base/gstadapter.h:
15977         * libs/gst/base/gstbasesink.h:
15978         * libs/gst/base/gstbasesrc.h:
15979         * libs/gst/base/gstbasetransform.h:
15980         * libs/gst/base/gstcollectpads.h:
15981         * libs/gst/base/gstpushsrc.h:
15982         Fix broken GObject macros
15983
15984 2006-04-07  Wim Taymans  <wim@fluendo.com>
15985
15986         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15987         Initialize start and stop times, thanks valgrind.
15988
15989 2006-04-07  Wim Taymans  <wim@fluendo.com>
15990
15991         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15992         Be a bit nicer to badly behaving upstream elements that expect
15993         us to deal with non TIME segments and timestamps (such as fakesrc
15994         in the testsuite).
15995
15996 2006-04-07  Wim Taymans  <wim@fluendo.com>
15997
15998         * gst/gstbus.c:
15999         Small documentation clarification about the signal watch.
16000
16001         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16002         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16003         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16004         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16005         (gst_base_sink_get_position_last),
16006         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16007         Convert and store timestamps in stream time and running time, the
16008         raw timestamps are not useful, also document this better.
16009         Use different window sizes for good and bad QoS observations so
16010         we react to badness a little quicker.
16011         Keep track of the amount of rendered and dropped buffers.
16012         Send QoS timestamps in running time.
16013
16014         * libs/gst/base/gstbasetransform.c:
16015         (gst_base_transform_sink_eventfunc),
16016         (gst_base_transform_handle_buffer):
16017         Compare QoS timestamps against running time.
16018
16019 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16020
16021         * gst/gstpad.c:
16022           Typo fixes in docs.
16023
16024 2006-04-06  Michael Smith  <msmith@fluendo.com>
16025
16026         * gst/gstpad.c: (gst_pad_set_property):
16027           Use g_value_get_object() instead of g_value_dup_gst_object(),
16028           to avoid double-reffing the pad template (which we then sink,
16029           so this worked previously if (and only if) the pad template
16030           was floating.
16031
16032         * gst/gstpadtemplate.c: (gst_pad_template_init),
16033         (gst_pad_template_pad_created):
16034           Never return floating references to pad templates, create
16035           them as initially-sunken.
16036
16037           Document an extra function (and make this stop sinking our
16038           pad template, since that is now guaranteed to do nothing,
16039           since we created it sunken).
16040
16041         * gst/gstghostpad.c:
16042           Fix docs typo.
16043
16044 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16045
16046         * gst/gstinfo.c: (__gst_in_valgrind):
16047           Add some newlines.
16048
16049         * plugins/elements/gsttypefindelement.c:
16050         (gst_type_find_element_chain):
16051           Don't leak buffer caps.
16052
16053 2006-04-06  Michael Smith  <msmith@fluendo.com>
16054
16055         * gst/parse/grammar.y:
16056           Fix a leak in parse-launch for any source-or-sink named element 
16057           references used.
16058
16059         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16060           Unref the pipeline if it exists after we've failed parsing.
16061
16062 2006-04-05  Michael Smith  <msmith@fluendo.com>
16063
16064         * gst/gstpipeline.c: (gst_pipeline_init):
16065           When we create a pipeline bus, initially create it in flushing mode.
16066           Fixes leaks in at least one test, and makes a new pipeline work the
16067           same as one that has gone to READY and then back to NULL.
16068
16069         * gst/gstelement.c:
16070           Typo fix in docs.
16071
16072 2006-04-05  Michael Smith  <msmith@fluendo.com>
16073
16074         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16075           Unref a pad we reffed.
16076         * tests/check/gst/gstutils.c: (GST_START_TEST):
16077           Unref bins
16078
16079 2006-04-05  Michael Smith  <msmith@fluendo.com>
16080
16081         * gst/gstquery.c: (gst_query_set_formats),
16082         (gst_query_set_formatsv):
16083           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16084
16085 2006-04-05  Michael Smith  <msmith@fluendo.com>
16086
16087         * tests/check/generic/sinks.c: (GST_START_TEST):
16088           Fix a variety of memleaks in sinks check, which are only sometimes 
16089           shown by running the tests under valgrind (weird?).
16090
16091 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16092
16093         * docs/version.entities.in:
16094           Fix the substituted entity name after thomas' changes on the
16095           weekend.
16096
16097 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16098
16099         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16100         VALGRIND_PRINTF
16101         
16102 2006-04-05  Andy Wingo  <wingo@pobox.com>
16103
16104         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16105
16106         * libs/gst/base/gstbasetransform.c
16107         (gst_base_transform_sink_eventfunc): When resetting our segment on
16108         FLUSH_STOP, also update the flag saying we haven't seen a
16109         newsegment.
16110
16111 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16112
16113         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16114
16115         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16116         (gst_plugin_check_license):
16117           minor clean-ups: G_DEFINE_TYPE already takes care of the
16118           parent_class stuff, no need to do it twice. Mark array of
16119           license strings as constant. (#337103)
16120           
16121 2006-04-04  Michael Smith  <msmith@fluendo.com>
16122
16123         * tools/gst-inspect.c: (print_element_list):
16124           Free the right plugin list; fixes a memory leak.
16125
16126 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16127
16128         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16129
16130         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16131           Don't error out on empty buffers (#336945).
16132           
16133 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16134
16135         * docs/libs/gstreamer-libs-sections.txt:
16136         * gst/gsttaglist.c:
16137         * libs/gst/base/gstbasesink.c:
16138         * libs/gst/base/gstbasesink.h:
16139         * libs/gst/base/gstbasesrc.c:
16140         * libs/gst/base/gstbasesrc.h:
16141           Documentation updates. Make BaseSink and BaseSrc docs contain the
16142           class structure so that people can actually see the prototypes for
16143           virtual functions they're supposed to be overriding.
16144
16145 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16146
16147         * plugins/elements/gsttypefindelement.c:
16148         (gst_type_find_element_chain):
16149           More debug info; when skipping typefinding, send cached
16150           events in all cases.
16151
16152 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16153
16154         * configure.ac:
16155           use new AS_VERSION and AS_NANO macros
16156         * gst/gst-i18n-lib.h:
16157         * gst/gst.c:
16158         * gst/gsterror.c:
16159         * gst/gstversion.h.in:
16160         * win32/common/config.h:
16161         * win32/common/config.h.in:
16162           update accordingly
16163
16164 2006-03-31  Michael Smith  <msmith@fluendo.com>
16165
16166         * plugins/elements/gsttypefindelement.c:
16167         (gst_type_find_element_chain):
16168           Do not typefind content if the buffers already have caps.
16169           Neccesary for icydemux (#333657), and the right thing to do anyway.
16170
16171 2006-03-30  Wim Taymans  <wim@fluendo.com>
16172
16173         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16174         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16175         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16176         (gst_base_sink_record_qos_observation),
16177         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16178         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16179         (gst_base_sink_change_state):
16180         More QoS measurements as described in the design doc.
16181         Get rid of ringbuffer with observations, running average is
16182         more simple and equally good.
16183         Calculates valid proportion now.
16184         Added beginning of flood measurement.
16185
16186 2006-03-29  Wim Taymans  <wim@fluendo.com>
16187
16188         * docs/design/part-qos.txt:
16189         * gst/gstclock.c:
16190         Small documentation updates and additions.
16191
16192 2006-03-29  Wim Taymans  <wim@fluendo.com>
16193
16194         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16195         (gst_base_src_send_event), (gst_base_src_loop),
16196         (gst_base_src_change_state):
16197         Perform the EOS logic when we reach the segment stop position.
16198         Fix compilation on gcc4.1
16199
16200 2006-03-29  Wim Taymans  <wim@fluendo.com>
16201
16202         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16203
16204         * plugins/elements/gstqueue.c: (gst_queue_init),
16205         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16206         (gst_queue_set_property):
16207         * plugins/elements/gstqueue.h:
16208         In queue, when EOS is received, if minimum threshold > max_size -
16209         current_level, there is chance that queue blocks forever in conditional
16210         item del wait. This is because the queue is not emptied completely due
16211         to minimum threshold.  Here is another approach. Instead of setting
16212         cur_levels to max in EOS, just zero all minimum threshold levels. This
16213         should make sure that queue gives out all data. When going to READY
16214         (stop) state, just reset the original minimum threshold levels.
16215         Fixes #336336.
16216
16217 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16218
16219         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16220         (gst_type_find_element_handle_event),
16221         (gst_type_find_element_send_cached_events),
16222         (gst_type_find_element_change_state):
16223         * plugins/elements/gsttypefindelement.h:
16224           When typefinding is done in push mode, we should cache
16225           events we receive during typefinding instead of just
16226           dropping them (e.g. newsegment, custom events from
16227           dvdreadsrc etc.) and then send them out once we've
16228           determined the type of the stream (and decodebin
16229           has had a chance to plug in a decoder/demuxer).
16230           
16231 2006-03-27  Wim Taymans  <wim@fluendo.com>
16232
16233         * docs/design/part-qos.txt:
16234         First QoS ideas.
16235
16236 2006-03-27  Wim Taymans  <wim@fluendo.com>
16237
16238         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16239
16240         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16241         (gst_base_src_send_event), (gst_base_src_change_state):
16242         Handle element seek correctly when we are streaming.
16243         Fixes #326998.
16244
16245 2006-03-24  Michael Smith  <msmith@fluendo.com>
16246
16247         * docs/faq/gst-uninstalled:
16248           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16249           allow you to correctly run intalled applications built against old 
16250           core, using plugins that require updated core (e.g. running
16251           installed totem against a full uninstalled gstreamer stack)
16252
16253 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16254
16255         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16256         more debug details
16257
16258 2006-03-24  Wim Taymans  <wim@fluendo.com>
16259
16260         * docs/gst/gstreamer-sections.txt:
16261         Rearrange the order of the methods so that related methods
16262         are grouped together in sections.
16263
16264 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16265
16266         * gst/gstelement.c:
16267           Little clarification in the docs
16268
16269 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16270
16271         * docs/README:
16272         formatting fix
16273         * plugins/elements/gstidentity.c:
16274         * plugins/elements/gstqueue.c:
16275         * plugins/elements/gsttee.c:
16276         * plugins/elements/gsttypefindelement.c:
16277         GST_ELEMENT_DETAILS formatting
16278
16279 2006-03-24  Wim Taymans  <wim@fluendo.com>
16280
16281         * libs/gst/base/gstbasesink.h:
16282         Only add fields, not insert or we break ABI.
16283
16284 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16285
16286         * win32/common/libgstbase.def:
16287         * win32/common/libgstreamer.def:
16288           Update, add recently added functions.
16289
16290 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16291
16292         * docs/gst/gstreamer-sections.txt:
16293         * gst/gstutils.c: (gst_pad_query_peer_position),
16294         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16295         * gst/gstutils.h:
16296           API: add some new utility functions:
16297            - gst_pad_query_peer_position()
16298            - gst_pad_query_peer_duration()
16299            - gst_pad_query_peer_convert()
16300           
16301 2006-03-23  Wim Taymans  <wim@fluendo.com>
16302
16303         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16304         (gst_base_sink_init), (gst_base_sink_finalize),
16305         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16306         (gst_base_sink_set_property), (gst_base_sink_get_property),
16307         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16308         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16309         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16310         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16311         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16312         (gst_base_sink_preroll_object), (gst_base_sink_event),
16313         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16314         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16315         (gst_base_sink_query), (gst_base_sink_change_state):
16316         Decouple max-lateness and the fact that QoS messages are generated
16317         with a new property (qos).
16318         added API: GstBaseSink::async_play()
16319         Add vmethod so subclasses can be notified of ASYNC playing
16320         state changes.
16321         Collect timestamp start and stop to report better current
16322         position in EOS/PLAYING/PAUSED/READY/NULL.
16323         Refactor QoS/frame dropping and other measurements.
16324         API: GstBaseSrc::qos
16325         Fixes #326311
16326
16327         * libs/gst/base/gstbasesink.h:
16328         Added Private struct.
16329         API: gst_base_sink_set_qos_enabled()
16330         API: gst_base_sink_is_qos_enabled()
16331
16332 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16333
16334         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16335           If compiling against GLib-2.8 or newer, try to read the
16336           registry file using GMappedFile first before falling back
16337           to fopen() + fread() (#332151).
16338
16339 2006-03-22  Wim Taymans  <wim@fluendo.com>
16340
16341         * gst/gstinfo.c: (gst_debug_set_active),
16342         (gst_debug_category_set_threshold):
16343         Disable debugging unless explicitly activated.
16344         Fixes #335480.
16345
16346 2006-03-22  Wim Taymans  <wim@fluendo.com>
16347
16348         * gst/gstelement.c: (gst_element_set_locked_state),
16349         (gst_element_dispose):
16350         Cleanup the error case.
16351
16352         * gst/gstobject.c: (gst_object_dispose):
16353         print a critical when some object was disposed with
16354         a parent, also revive the object since it might
16355         crash the parent.
16356
16357 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16358
16359         * tools/gst-launch.1.in:
16360           Fix another typo.
16361
16362 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16363
16364         * configure.ac:
16365         * tests/check/Makefile.am:
16366           disable some tests when we don't have a registry
16367         * tests/check/gst/gstutils.c: (gst_utils_suite):
16368           don't build the part that needs parsing
16369
16370 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16371
16372         * gst/Makefile.am
16373         * tests/examples/Makefile.am:
16374           fix --disable-parse build
16375
16376 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16377
16378         * tools/gst-feedback.1.in:
16379           Fix typo: s/feeback/feedback/ (#133494).
16380
16381 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16382
16383         * tools/Makefile.am:
16384         * tools/gst-launch.1.in:
16385           Add FILES section and correct entry about GST_REGISTRY_PATH
16386           environment variable (#133495; #133494).
16387
16388 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16389
16390         * tools/Makefile.am:
16391         * tools/gst-md5sum.1.in:
16392         * tools/gst-md5sum.c:
16393           Remove gst-md5sum and man page (the md5sink element
16394           required was removed ages ago)
16395
16396 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16397
16398         * gst/gststructure.c: (gst_structure_id_set_value):
16399           Make sure that string fields in structures/taglists
16400           contain valid UTF-8 - we don't want to pass rubbish to
16401           applications because of a buggy plugin (cp. #334167).
16402
16403 2006-03-21  Edward Hervey  <edward@fluendo.com>
16404
16405         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16406         (gst_bin_handle_message_func):
16407         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16408         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16409         (gst_element_set_bus_func):
16410         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16411         * gst/gstminiobject.c: (gst_value_set_mini_object),
16412         (gst_value_take_mini_object):
16413         * gst/gstpad.c: (gst_pad_set_pad_template):
16414         * gst/gstpipeline.c: (gst_pipeline_dispose),
16415         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16416         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16417         (gst_collect_pads_chain):
16418         * libs/gst/net/gstnettimeprovider.c:
16419         (gst_net_time_provider_set_property):
16420         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16421         It's in fact all issues with gst_*object_replace().
16422
16423 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16424
16425         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16426         
16427         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16428         * pkgconfig/gstreamer-check.pc.in:
16429           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16430
16431 2006-03-21  Edward Hervey  <edward@fluendo.com>
16432
16433         * gst/gstbuffer.h:
16434         * gst/gstevent.h:
16435         * gst/gstmessage.h:
16436         gst_[buffer|event|message]_ref() macros are replaced by a static
16437         inline functions because gcc-4.1 will about if the return value
16438         isn't used.
16439         * tests/check/gst/gstevent.c: (event_probe):
16440         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16441
16442 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16443
16444         * gst/gstutils.h:
16445         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16446         the type' case. (Closes: #335195 for now). In the future, when we
16447         depend on GLib 2.10, we could also intern the type name using
16448         g_intern_static_string()
16449
16450 2006-03-20  Wim Taymans  <wim@fluendo.com>
16451
16452         * gst/gstbin.c: (gst_bin_handle_message_func),
16453         (bin_query_max_init), (bin_query_position_fold),
16454         (bin_query_position_done), (gst_bin_query):
16455         Position query should also take max of all streams.
16456
16457 2006-03-20  Wim Taymans  <wim@fluendo.com>
16458
16459         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16460         (gst_fake_src_finalize):
16461         Fix leaks in fakesrc.
16462
16463         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16464         Fix leaks in the testcase.
16465
16466 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16467
16468         * gst/gst_private.h:
16469           add win32 specific import decoration(__declspec(dllimport)) 
16470           for all extern GstDebugCategory * variables
16471         * win32/common/libgstbase.def:
16472         * win32/common/libgstcontroller.def:
16473         * win32/common/libgstreamer.def:
16474           Add some exports, remove empty lines
16475         * win32/common/libgstdataprotocol.def:
16476         * win32/common/libgstdataprotocol.dsp:
16477         * win32/common/libgstnet.def:
16478         * win32/common/libgstnet.dsp:
16479           new project files and exportation files added
16480         
16481 2006-03-19  Wim Taymans  <wim@fluendo.com>
16482
16483         * tests/check/libs/basesrc.c: (eos_event_counter):
16484         Use proper return value for probe.
16485
16486 2006-03-17  Wim Taymans  <wim@fluendo.com>
16487
16488         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16489         (gst_pad_push):
16490         Don't leak buffers, caps and pads on negotiation errors.
16491
16492 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16493
16494         * docs/faq/cvs.xml:
16495         * docs/faq/dependencies.xml:
16496         * docs/faq/developing.xml:
16497         * docs/faq/faq.xml:
16498         * docs/faq/general.xml:
16499         * docs/faq/getting.xml:
16500         * docs/faq/legal.xml:
16501         * docs/faq/troubleshooting.xml:
16502         * docs/faq/using.xml:
16503         Faq review and update.
16504
16505 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16506
16507         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16508         (gst_pad_push):
16509         Don't pound the cpu to pieces by checking get_caps when accept_caps
16510         is called with the same caps as the pad already has.
16511         Use GST_DEBUG_OBJECT when outputting caps change information.
16512
16513 2006-03-15  Wim Taymans  <wim@fluendo.com>
16514
16515         * gst/gstclock.c: (gst_clock_class_init):
16516         Fix docs.
16517
16518 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16519
16520         * gst/gstbuffer.h:
16521         Documentation fix.
16522
16523         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16524         (gst_pad_accept_caps), (gst_pad_configure_sink),
16525         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16526         Make the default acceptcaps behaviour be to check the requested 
16527         caps against the gst_pad_get_caps output. 
16528
16529         Ensure that gst_pad_accept_caps is used to check caps when a pad
16530         doesn't have a setcaps function, so that pads automatically refuse 
16531         caps that they don't allow in their pad template. (Fixes #332986)
16532
16533         When a buffer with attached caps is pushed, ensure that the source 
16534         pad receives those caps even if the element didn't call
16535         gst_pad_set_caps first.
16536
16537 2006-03-15  Wim Taymans  <wim@fluendo.com>
16538
16539         * libs/gst/base/gstadapter.c:
16540         Add some docs.
16541
16542 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16543
16544         * win32/common/libgstbase.def:
16545         * win32/common/libgstcontroller.def:
16546         * win32/common/libgstreamer.def:
16547           Add a whole bunch of missing functions (#334434).
16548
16549 2006-03-14  Wim Taymans  <wim@fluendo.com>
16550
16551         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16552         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16553         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16554         Better debug info when we receive a segment event.
16555         Reorganize a bit so we can pass the get_times() results around.
16556         Use the segment format when calculating the running time.
16557         Don't do QoS is sync is disabled or we have no clock or the
16558         element does not want us to sync to the clock.
16559         Don't drop buffers if QoS is disabled for now.
16560
16561 2006-03-14  Wim Taymans  <wim@fluendo.com>
16562
16563         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16564         Marked the stats property as unimplemented so people don't get
16565         wild ideas.
16566         Add debug message when regression goes wrong.
16567         Added some more docs.
16568
16569 2006-03-14  Wim Taymans  <wim@fluendo.com>
16570
16571         * gst/gstsegment.c: (gst_segment_to_stream_time):
16572         Return correct return type in case of errors.
16573
16574 2006-03-14  Wim Taymans  <wim@fluendo.com>
16575
16576         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16577           Don't segfault on invalid formats.
16578
16579 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16580
16581         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16582           Can't use gst_segment_to_running_time() when the segment
16583           is not in GST_TIME_FORMAT (like with filesink, for example).
16584           Stops flac encoding pipelines from spewing critical warnings
16585           at EOS (#331248).
16586           
16587 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16588
16589         * gst/gstpipeline.c: (gst_pipeline_class_init):
16590           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16591
16592         * plugins/elements/gsttypefindelement.c:
16593         (gst_type_find_element_handle_event):
16594           Don't try to typefind empty streams.
16595
16596 2006-03-14  Wim Taymans  <wim@fluendo.com>
16597
16598         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16599         (gst_base_sink_do_qos):
16600         Separate QoS calculation.
16601         Only drop buffers when lateness is bigger than the 
16602         duration of the buffer.
16603
16604 2006-03-13  Wim Taymans  <wim@fluendo.com>
16605
16606         * gst/gstpipeline.c: (gst_pipeline_set_property),
16607         (gst_pipeline_get_property), (do_pipeline_seek),
16608         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16609         (gst_pipeline_get_delay):
16610         Don't deadlock when reading properties.
16611
16612 2006-03-13  Wim Taymans  <wim@fluendo.com>
16613
16614         * libs/gst/base/gstbasetransform.c:
16615         (gst_base_transform_class_init), (gst_base_transform_init),
16616         (gst_base_transform_sink_event),
16617         (gst_base_transform_sink_eventfunc),
16618         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16619         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16620         (gst_base_transform_set_property),
16621         (gst_base_transform_get_property),
16622         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16623         (gst_base_transform_set_qos_enabled),
16624         (gst_base_transform_is_qos_enabled):
16625         * libs/gst/base/gstbasetransform.h:
16626         Make basetransform virtual method for src events too.
16627         Handle QOS in basetransform.
16628         API: gst_base_transform_update_qos()
16629         API: gst_base_transform_set_qos_enabled()
16630         API: gst_base_transform_is_qos_enabled()
16631
16632 2006-03-13  Wim Taymans  <wim@fluendo.com>
16633
16634         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16635         (gst_base_sink_do_sync):
16636         Small cleanups.
16637         Use QOS debug category.
16638
16639 2006-03-13  Wim Taymans  <wim@fluendo.com>
16640
16641         * plugins/elements/gstqueue.c:
16642         Very small doc update.
16643
16644 2006-03-13  Wim Taymans  <wim@fluendo.com>
16645
16646         * gst/gst_private.h:
16647         * gst/gstinfo.c: (_gst_debug_init):
16648         Added QOS debug category
16649
16650 2006-03-13  Wim Taymans  <wim@fluendo.com>
16651
16652         * docs/gst/gstreamer-sections.txt:
16653         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16654         * gst/gstbin.h:
16655         * gst/gstbus.c: (gst_bus_class_init):
16656         * gst/gstbus.h:
16657         * gst/gstclock.c:
16658         * gst/gstelement.c: (gst_element_set_locked_state):
16659         * gst/gstsegment.c:
16660         Documentation updates.
16661
16662         * gst/gstpipeline.c: (gst_pipeline_get_type),
16663         (gst_pipeline_class_init), (gst_pipeline_init),
16664         (gst_pipeline_dispose), (gst_pipeline_set_property),
16665         (gst_pipeline_get_property), (do_pipeline_seek),
16666         (gst_pipeline_send_event), (gst_pipeline_change_state),
16667         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16668         (gst_pipeline_get_delay):
16669         * gst/gstpipeline.h:
16670         Added methods for setting the delay.
16671         API: gst_pipeline_set_delay()
16672         API: gst_pipeline_get_delay()
16673         Add pipeline debug category
16674         Various cleanups.
16675         Updated docs.
16676         Don't reset stream time when seek failed.
16677
16678 2006-03-13  Wim Taymans  <wim@fluendo.com>
16679
16680         * docs/design/draft-klass.txt:
16681         * docs/design/part-clocks.txt:
16682         * docs/design/part-events.txt:
16683         * docs/design/part-gstbin.txt:
16684         * docs/design/part-gstpipeline.txt:
16685         * docs/design/part-messages.txt:
16686         * docs/design/part-negotiation.txt:
16687         * docs/design/part-overview.txt:
16688         * docs/design/part-preroll.txt:
16689         * docs/design/part-seeking.txt:
16690         * docs/design/part-states.txt:
16691         * docs/design/part-streams.txt:
16692         Documentation updates.
16693
16694 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16695
16696         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16697         us to leak strings...
16698
16699 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16700
16701         * libs/gst/net/gstnettimeprovider.c:
16702           fix docs
16703         * win32/common/config.h:
16704           update
16705
16706 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16707
16708         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16709
16710         * configure.ac:
16711           Don't check for libgnomeui (leftover from old examples
16712           that aren't built or disted any longer) (#334303).
16713           
16714 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16715
16716         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16717         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16718           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16719           there's no space left on the device.
16720
16721 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16722
16723         * gst/gstclock.h:
16724           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16725           to cast the input to GstClockTime before comparing with
16726           another GstClockTime value.
16727
16728 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16729
16730         * configure.ac:
16731           back to trunk
16732
16733 === release 0.10.4 ===
16734
16735 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16736
16737         * configure.ac:
16738           releasing 0.10.4, "Light"
16739
16740 2006-03-10  Michael Smith  <msmith@fluendo.com>
16741
16742         * libs/gst/dataprotocol/dataprotocol.c:
16743           Fix docs for dataprocotol to not get the return types completely
16744           wrong for a few functions.
16745
16746 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16747
16748         * docs/gst/gstreamer-sections.txt:
16749         * gst/gstpipeline.c: (gst_pipeline_class_init),
16750         (gst_pipeline_init), (gst_pipeline_set_property),
16751         (gst_pipeline_get_property), (gst_pipeline_change_state),
16752         (gst_pipeline_set_auto_flush_bus),
16753         (gst_pipeline_get_auto_flush_bus):
16754         * gst/gstpipeline.h:
16755           Add new API: gst_pipeline_set_auto_flush_bus() and
16756           gst_pipeline_get_auto_flush_bus() to disable automatic
16757           flushing of the pipeline's GstBus when going from READY
16758           to NULL state (#332045).
16759
16760 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16761
16762         * docs/gst/gstreamer-sections.txt:
16763         * gst/gsturi.c: (gst_uri_has_protocol):
16764         * gst/gsturi.h:
16765            Add new API: gst_uri_has_protocol() (#333779).
16766
16767 2006-03-09  Wim Taymans  <wim@fluendo.com>
16768
16769         * gst/gstclock.c: (gst_clock_entry_new),
16770         (gst_clock_id_compare_func), (gst_clock_id_wait),
16771         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16772         (gst_clock_init), (gst_clock_get_internal_time),
16773         (gst_clock_set_master), (do_linear_regression),
16774         (gst_clock_add_observation), (gst_clock_set_property):
16775         * gst/gstclock.h:
16776         Review docs.
16777         Small cleanups.
16778         Fix a possible segfault when the window-size is made smaller.
16779         Calculate jitter before performing the clock wait. Ideally
16780         the clock implementation should calculate jitter but we need
16781         API breakage for that.
16782
16783         * gst/gstsystemclock.c: (gst_system_clock_init):
16784         Docs review.
16785         
16786         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16787         Remove leftover else
16788
16789         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16790         (gst_systemclock_suite):
16791         Added check to test GST_CLOCK_DIFF.
16792
16793 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16794
16795         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16796         (gst_type_find_helper_get_range):
16797           If we are provided with the size, we should implement
16798           GstTypeFind::get_length, so that typefind functions who
16799           want to can actually peek at the middle of a file.
16800
16801 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16802
16803         * docs/manual/advanced-dataaccess.xml:
16804           Add some very very basic error checking.
16805
16806         * docs/pwg/appendix-checklist.xml:
16807           Some updates to the list of things to check when writing an element.
16808
16809 2006-03-08  Wim Taymans  <wim@fluendo.com>
16810
16811         * docs/design/part-element-transform.txt:
16812         Added some docs about the design of tranform elements.
16813
16814         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16815         (gst_base_src_loop), (gst_base_src_change_state):
16816         Mark buffers with the DISCONT flag.
16817
16818 2006-03-08  Michael Smith  <msmith@fluendo.com>
16819
16820         * gst/gstregistry.h:
16821         * gst/gstregistryxml.c: (gst_registry_save),
16822         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16823         (gst_registry_xml_save_pad_template),
16824         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16825         (gst_registry_xml_write_cache):
16826           Rewrite registry-saving to avoid race conditions and check for
16827           failed writes.
16828
16829 2006-03-08  Wim Taymans  <wim@fluendo.com>
16830
16831         * libs/gst/base/gstbasetransform.c:
16832         (gst_base_transform_transform_caps),
16833         (gst_base_transform_transform_size),
16834         (gst_base_transform_prepare_output_buffer),
16835         (gst_base_transform_get_unit_size),
16836         (gst_base_transform_buffer_alloc),
16837         (gst_base_transform_handle_buffer),
16838         (gst_base_transform_change_state):
16839         Cleanups, separate normal flow from errors, add sensible
16840         DEBUG lines.
16841         Don't try to renegotiate when allocating an output buffer.
16842         Also copy DISCONT buffer flag when copying a buffer.
16843         Reset the transform after we finish streaming, not during.
16844
16845 2006-03-08  Wim Taymans  <wim@fluendo.com>
16846
16847         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16848         Use last buffer timestamp in qos message.
16849
16850 2006-03-07  Wim Taymans  <wim@fluendo.com>
16851
16852         Patch by: Christophe Fergeau
16853
16854         * docs/pwg/advanced-tagging.xml:
16855         * docs/pwg/building-pads.xml:
16856           fixes #333416
16857
16858 2006-03-07  Wim Taymans  <wim@fluendo.com>
16859
16860         * docs/libs/gstreamer-libs-sections.txt:
16861         Added basesink new methods.
16862
16863         * gst/gstevent.c:
16864         * gst/gstevent.h:
16865         Docs updates. Flesh out the QoS docs.
16866
16867         * libs/gst/base/gstadapter.c:
16868         Small doc clarification about ownership and flushing.
16869
16870         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16871         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16872         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16873         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16874         * libs/gst/base/gstbasesink.h:
16875         API additions: 
16876         Added new methods to allow subclass to control max-lateness 
16877         and sync.
16878         Generate very basic QoS events based on last sync observation.
16879         Updated docs, fix typo, added some QoS blurb.
16880
16881         * libs/gst/base/gstbasesrc.c:
16882         Remove obsolete _get_state() calls from docs.
16883
16884 2006-03-07  Wim Taymans  <wim@fluendo.com>
16885
16886         * docs/libs/gstreamer-libs-sections.txt:
16887         * libs/gst/base/gstbasetransform.h:
16888         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16889         Fix docs for GstBaseSrc.
16890
16891 2006-03-07  Wim Taymans  <wim@fluendo.com>
16892
16893         * docs/gst/gstreamer-sections.txt:
16894         * gst/gstbuffer.h:
16895         * gst/gstvalue.c:
16896         * libs/gst/base/gstbasetransform.h:
16897         Small documentation fixes.
16898
16899 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16900
16901         * gst/gstvalue.c:
16902           Document thread-unsafety of gst_value_register_foo_func()
16903           when used at the same time as gst_value_foo() (#322628).
16904
16905 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16906
16907         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16908         (gst_push_src_check_get_range):
16909           Push sources don't support pull mode by default.
16910
16911 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16912
16913         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16914         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16915         (gst_base_src_default_check_get_range):
16916         * libs/gst/base/gstbasesrc.h:
16917           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16918           provide default implementation, and rename
16919           gst_base_src_check_get_range() to
16920           gst_base_src_pad_check_get_range() for clarity.
16921
16922 2006-03-06  Wim Taymans  <wim@fluendo.com>
16923
16924         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16925         Make property overridable.
16926
16927 2006-03-06  Wim Taymans  <wim@fluendo.com>
16928
16929         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16930         (gst_base_sink_init), (gst_base_sink_set_property),
16931         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16932         * libs/gst/base/gstbasesink.h:
16933         API addition: Make max-lateness a property.
16934
16935 2006-03-06  Wim Taymans  <wim@fluendo.com>
16936
16937         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16938         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16939         Don't ever draw a frame that is >10ms late.
16940
16941 2006-03-06  Michael Smith  <msmith@fluendo.com>
16942
16943         * gst/gstmessage.c: (_gst_message_copy):
16944           When copying a message, set the parent_refcount of the enclosed
16945           structure to point at the copy, not the original message.
16946
16947 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16948
16949         Patch by: Christophe Fergeau
16950
16951         * gst/gstutils.h:
16952           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16953           usable in c++ code (#333417)
16954
16955 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16956
16957         * gst/gstclock.h:
16958           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16959
16960 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16961
16962         * libs/gst/base/gstbasetransform.c:
16963         (gst_base_transform_transform_caps):
16964           Make sure caps are writable before passing them to
16965           gst_caps_append().
16966
16967 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16968
16969         * gst/gsterror.h:
16970           Fix some minor docs errors.
16971
16972 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16973
16974           Patch by: Ross Burton <ross at burtonini dot com>
16975
16976         * gst/gsterror.c: (_gst_resource_errors_init):
16977         * gst/gsterror.h:
16978           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16979
16980 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16981
16982         * gst/gst.c:
16983         Add a check and output a g_warning when GStreamer is built
16984         against GLib 2.6 but running against 2.8 or higher, and vice 
16985         versa. (Closes: #323542)
16986
16987 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16988
16989         * gst/parse/parse.l:
16990           Commit patch for parse_launch syntax from #331255. Removes 
16991           support for quoted strings and mimetypes when writing filtered 
16992           caps. See the bug report for more details - I'm pretty sure this
16993           obscure feature is not in use by _anyone_ anywhere.
16994
16995           With this simple change, the size of the gstreamer.so here 
16996           drops from 2193KB to 1565KB.
16997
16998 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16999
17000         * plugins/elements/gsttypefindelement.h:
17001         * plugins/elements/gsttypefindelement.c:
17002         (gst_type_find_element_src_event), (start_typefinding),
17003         (stop_typefinding), (gst_type_find_element_handle_event),
17004         (gst_type_find_element_chain),
17005         (gst_type_find_element_chain_do_typefinding):
17006           Use gst_type_find_helper_for_buffer() for chain-based
17007           typefinding.
17008
17009 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17010
17011         * plugins/elements/gsttypefindelement.c:
17012         (gst_type_find_element_class_init),
17013         (gst_type_find_element_set_property),
17014         (gst_type_find_element_get_property):
17015           Deprecate "maximum" property (not only was it only taken into
17016           account for typefinding in push-mode anyway, it also was never
17017           actually possible to set it in the first place because the
17018           property was registered with the numeric property ID for the
17019           "minimum" property). Register "maximum" property correctly,
17020           for the sake of future copy'n'pasters. Remove some cruft
17021           from property get/set functions.
17022
17023 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17024
17025         * plugins/elements/gsttypefindelement.c:
17026         (gst_type_find_element_activate):
17027           Use gst_type_find_helper_get_range() here, so we
17028           can honour the "minimum" property and also emit
17029           the signal with the correct probability of the found caps.
17030
17031 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17032
17033         * docs/libs/gstreamer-libs-sections.txt:
17034         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17035         (helper_find_suggest), (gst_type_find_helper_get_range),
17036         (gst_type_find_helper):
17037         * libs/gst/base/gsttypefindhelper.h:
17038           New API: gst_type_find_helper_get_range() (#333042).
17039
17040 2006-03-02  Michael Smith  <msmith@fluendo.com>
17041
17042         * gst/gstregistryxml.c: (load_feature):
17043           Asserting on a failure to read part of the registry is Not Cool.
17044           Just log a warning and return NULL (which is already handled)
17045
17046 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17047
17048         * win32/common/libgstbase.def:
17049           added export of gst_type_find_helper_for_buffer
17050         * win32/common/libgstbase.def:
17051           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17052           gst_ghost_pad_get_target
17053
17054 2006-02-28  Wim Taymans  <wim@fluendo.com>
17055
17056         * docs/design/draft-klass.txt:
17057         We use Filter now.
17058         Added Connector to mark elements that are only used to
17059         allow pipeline connections.
17060         Moved Debug to extra feature since most of them are 
17061         functionally something else.
17062
17063 2006-02-28  Wim Taymans  <wim@fluendo.com>
17064
17065         * docs/design/draft-klass.txt:
17066         Some updates and clarifications.
17067
17068 2006-02-28  Wim Taymans  <wim@fluendo.com>
17069
17070         * docs/design/draft-klass.txt:
17071         Proposal for klass field values.
17072
17073         * docs/design/part-streams.txt:
17074         Start of a doc describing stream anatomy.
17075
17076 2006-02-28  Wim Taymans  <wim@fluendo.com>
17077
17078         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17079         Help the compiler a bit with type registration.
17080         Use existing forward cod path instead of duplicating it when 
17081         handling a message.
17082         
17083         * gst/gstbus.c: (gst_bus_get_type):
17084         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17085         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17086         * gst/gstclock.c: (gst_clock_get_type):
17087         * gst/gstelement.c: (gst_element_get_type),
17088         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17089         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17090         * gst/gstminiobject.c: (gst_mini_object_get_type):
17091         * gst/gstpad.c: (gst_pad_get_type):
17092         * gst/gstsegment.c: (gst_segment_get_type):
17093         * gst/gststructure.c: (gst_structure_get_type):
17094         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17095         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17096         * gst/gstvalue.c:
17097         Help compiler with type registration.
17098
17099         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17100         Small doc update.
17101
17102 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17103
17104         * plugins/elements/gsttypefindelement.c:
17105         (gst_type_find_element_handle_event):
17106           When we get an EOS event and have not found a type yet
17107           (most likely because we had not yet accumulated
17108           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17109           type given the data we have so far. Fixes typefinding
17110           for very short streams again, most notably quicktime
17111           redirections as used on Apple's trailer site (#331701).
17112
17113 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17114
17115         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17116         (gst_type_find_helper):
17117           Try typefinding factories with the highest rank first.
17118
17119 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17120
17121         * docs/libs/gstreamer-libs-docs.sgml:
17122         * docs/libs/gstreamer-libs-sections.txt:
17123         * libs/gst/base/gsttypefindhelper.c:
17124           Add section for typefind helper and add documentation
17125           for the old and the new function.
17126
17127 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17128
17129         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17130         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17131         (gst_type_find_helper_for_buffer):
17132         * libs/gst/base/gsttypefindhelper.h:
17133           New API: gst_type_find_helper_for_buffer() (#332723).
17134           
17135 2006-02-27  Michael Smith  <msmith@fluendo.com>
17136
17137         Patch by: Loïc Minier
17138
17139         * configure.ac:
17140         * docs/Makefile.am:
17141         * docs/slides/Makefile.am:
17142           prevent CVS directories getting disted.
17143
17144 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17145
17146         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17147           Use the REFCOUNTING category for caps refcounting.
17148           
17149 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17150
17151         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17152           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17153
17154 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17155
17156         * plugins/elements/gsttypefindelement.c:
17157         (gst_type_find_element_activate):
17158           Use gst_pad_check_pull_range() before _activate_pull()
17159           to avoid unnecessary open/close (see #331690).
17160
17161 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17162
17163         * gst/gstutils.c:
17164           Docs enhancement: make it crystal clear what the
17165           gst_pad_add_*_probe() callbacks should look like.
17166
17167 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17168
17169         * libs/gst/base/gstbasesrc.c:
17170           Document how applications can stop recording from
17171           live sources (see #330996).
17172
17173 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17174
17175         * tests/check/Makefile.am:
17176         * tests/check/libs/basesrc.c: (eos_event_counter),
17177         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17178         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17179         (gst_basesrc_suite), (main):
17180           ... and add some tests for the base source EOS stuff.
17181
17182 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17183
17184         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17185           Test case originally showed the problem fixed below,
17186           but was then amended. Add checks back at the place
17187           where they used to be.
17188
17189 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17190
17191         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17192         (gst_base_src_init), (gst_base_src_loop),
17193         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17194         (gst_base_src_change_state):
17195         * libs/gst/base/gstbasesrc.h:
17196           Don't unconditionally send EOS when going from PAUSED to
17197           READY state, esp. make sure we don't send two EOS events
17198           in some cases (e.g. one when reaching EOS and one when
17199           going from PAUSED to READY). Also, we don't want to send
17200           EOS events when operating in pull mode. However, we do
17201           want to send an EOS event when shutting down a live
17202           source explicitly, for example (fixes #330996).
17203           
17204 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17205
17206         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17207           Update src->read_position after a seek when not using mmap.
17208           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17209
17210 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17211
17212         * gst/Makefile.am:
17213         * gst/gstparse.h:
17214         * gst/gstutils.c:
17215         * gst/gstutils.h:
17216         Make things work with --disable-parse as they do with 
17217         --disable-load-save - the symbols involved disappear, but the
17218         header is still installed and GST_DISABLE_PARSE is included via
17219         gstconfig.h
17220
17221 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17222
17223         * libs/gst/base/gstbasetransform.c:
17224         (gst_base_transform_change_state): Fix a stupid bug. I was 
17225         sure I compiled that.
17226
17227 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17228
17229         * gst/gstpad.c: (gst_pad_set_blocked_async):
17230         * gst/gstutils.c: (gst_pad_add_data_probe),
17231         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17232         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17233         (gst_pad_remove_buffer_probe): Make those function act on the
17234         ghostpad target when it's a ghostpad. (Closes #331727)
17235
17236 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17237
17238         * libs/gst/base/gstbasetransform.c:
17239         (gst_base_transform_change_state): Make basetransform reusable.
17240         (Closes #331898)
17241
17242 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17243
17244         * docs/random/release:
17245         Move the current documentation of how to do a release to the top
17246         of the file.
17247
17248         * gst/gstbin.c: (gst_bin_class_init),
17249         (gst_bin_handle_message_func):
17250         Allow multiple state-recalculation threads. (Closes #328873)
17251
17252 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17253
17254         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17255         * gst/gstpad.c: (gst_pad_set_event_function),
17256         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17257         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17258         2 strings. You can't use the STR_NULL macro on that.
17259
17260 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17261
17262         * gst/gstpad.c: (gst_pad_set_event_function),
17263         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17264         (gst_pad_set_getcaps_function)
17265         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17266           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17267           So now, we can use --gst-debug-level=5 on Windows
17268         * win32/common/libgstcontroller.def:
17269           Added export of gst_controller_init
17270         * win32/vs6/libgstcontroller.dsp:
17271           Fixed Release post build configuration
17272
17273 2006-02-17  Wim Taymans  <wim@fluendo.com>
17274
17275         * tests/check/gst/gstquery.c: (GST_START_TEST):
17276         Added another check.
17277
17278 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17279
17280         * plugins/elements/gsttypefindelement.c: (find_peek):
17281           We can do peeks at non-zero offsets, as long as they
17282           fall within the buffer we have.
17283
17284 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17285
17286         * tests/check/Makefile.am:
17287         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17288         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17289         (parse_suite), (main):
17290           Add testsuite for parse launch syntax
17291
17292 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17293
17294         * plugins/elements/gsttypefindelement.c:
17295         (gst_type_find_element_chain):
17296           When typefinding is unsuccessful in the chain function, don't
17297           error out immediately. Only error out with NO_CAPS_FOUND if
17298           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17299           otherwise simply wait for more data so we can try typefinding
17300           again with more data later. Also, don't attempt to typefind
17301           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17302           this should improve typefinding from network sources where the
17303           size of the first buffer can be somewhat random.
17304
17305 2006-02-14  Wim Taymans  <wim@fluendo.com>
17306
17307         * docs/gst/gstreamer-sections.txt:
17308         * gst/gstpadtemplate.c:
17309         * gst/gstpadtemplate.h:
17310         Fix padtemplate docs, fixes #328805.
17311
17312 2006-02-14  Wim Taymans  <wim@fluendo.com>
17313
17314         * tools/gst-launch.c: (main):
17315         NO_PREROLL is not an ERROR so don't send confusing messages
17316         to the user.
17317
17318 2006-02-14  Wim Taymans  <wim@fluendo.com>
17319
17320         Patch by: Torsten Schoenfeld
17321
17322         * gst/gstregistry.c: (gst_registry_get_default),
17323         (_gst_registry_cleanup):
17324         Protect default registry with lock and ref/sink it.
17325         Fixes #324818
17326
17327 2006-02-14  Wim Taymans  <wim@fluendo.com>
17328
17329         * gst/gstbuffer.c:
17330         * gst/gstquery.c: (gst_query_list_add_format),
17331         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17332         (gst_query_parse_formats_nth):
17333         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17334         Docs fixes.
17335
17336 2006-02-14  Wim Taymans  <wim@fluendo.com>
17337
17338         * docs/gst/gstreamer-sections.txt:
17339         Reworked query docs.
17340
17341         * gst/gstquery.c: (gst_query_new_formats),
17342         (gst_query_list_add_format), (gst_query_set_formats),
17343         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17344         (gst_query_parse_formats_nth):
17345         * gst/gstquery.h:
17346         Flesh out formats query, added some new methods.
17347         Fix part of #324398.
17348
17349         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17350         Added query creation tests.
17351
17352 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17353
17354         * gst/gstpad.c: (fixate_value):
17355         Add a default fixation for fraction lists.
17356
17357 2006-02-13  Wim Taymans  <wim@fluendo.com>
17358
17359         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17360         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17361         (gst_task_join):
17362         * gst/gsttask.h:
17363         Detect and warn for obvious deadlocks. fixes #320340
17364         Fix error case where lock was not released.
17365
17366         * tests/check/Makefile.am:
17367         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17368         (task_func), (gst_element_suite), (main):
17369         Add task check.
17370
17371 2006-02-13  Wim Taymans  <wim@fluendo.com>
17372
17373         * docs/gst/gstreamer-sections.txt:
17374         * gst/gstbus.c:
17375         Add new functions to docs.
17376
17377 2006-02-13  Wim Taymans  <wim@fluendo.com>
17378
17379         * docs/design/part-TODO.txt:
17380         Updated TODO list, basesrc supports seeking to non-bytes
17381         formats.
17382
17383         * docs/design/part-element-sink.txt:
17384         Update docs.
17385
17386         * gst/gstbin.c: (bin_replace_message),
17387         (gst_bin_handle_message_func):
17388         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17389         * gst/gstevent.c: (gst_event_finalize):
17390         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17391         (gst_pad_send_event):
17392         Use shiny new _TYPE_NAME macros.
17393
17394         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17395         Move debug statement up.
17396
17397         * gst/gstelement.c: (gst_element_set_locked_state):
17398         Add some debugging.
17399
17400 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17401
17402         * docs/gst/gstreamer-sections.txt:
17403         * gst/gstmessage.h:
17404         * gst/gstquery.h:
17405           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17406           macros (#330906). Also, document the already existing
17407           GST_QUERY_TYPE macro.
17408
17409 2006-02-13  Wim Taymans  <wim@fluendo.com>
17410
17411         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17412         (event_probe), (GST_START_TEST):
17413         Only events up to the pipeline EOS are counted, there are
17414         some more when going to NULL currently which we don't care
17415         about for now.
17416
17417 2006-02-13  Wim Taymans  <wim@fluendo.com>
17418
17419         * gst/gstpad.c: (gst_pad_send_event):
17420         Correctly check flushing and emit probes. fixes #330125
17421
17422 2006-02-10  Andy Wingo  <wingo@pobox.com>
17423
17424         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17425         structure.
17426         (gst_bus_init): Cache the location of the private data in the
17427         instance structure.
17428         (gst_bus_enable_sync_message_emission) 
17429         (gst_bus_disable_sync_message_emission): Implement new public
17430         functions.
17431         (gst_bus_post): Emit the sync-message signal if the user asked for
17432         it. Fixes #330684.
17433
17434         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17435         location of the bus-private structure.
17436         (gst_bus_enable_sync_message_emission)
17437         (gst_bus_disable_sync_message_emission): API addition
17438
17439 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17440
17441         Patch by: Vincent Torri
17442
17443         * docs/pwg/building-boiler.xml:
17444         PWG patch from #326800
17445
17446 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17447
17448         * configure.ac:
17449         * docs/Makefile.am:
17450         * docs/design/Makefile.am:
17451           Dist design docs.
17452
17453 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17454
17455         * configure.ac:
17456           back to CVS
17457
17458 === release 0.10.3 ===
17459
17460 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17461
17462         * configure.ac:
17463           releasing 0.10.3, "Like a virgin"
17464
17465 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17466
17467         * configure.ac:
17468           2nd prerelease of 0.10.3
17469           Bump libtool versioning.
17470
17471 2006-02-07  Andy Wingo  <wingo@pobox.com>
17472
17473         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17474         update last_stop if we're in TIME format and the timestamp is
17475         valid.
17476
17477         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17478         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17479         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17480         If we get a new newsegment with a different format, adapt
17481         accordingly.
17482
17483         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17484         of 0. Not a problem, really.
17485
17486         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17487         warn if sync=true.
17488
17489 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17490
17491         * configure.ac:
17492           Prelease of 0.10.3
17493
17494 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17495
17496         * win32/vs7:
17497           project files updated to the default vs7 configuration
17498         * win32/common/libgstbase.def:
17499         * win32/common/libgstreamer.def:
17500           added new symbols,
17501           removed empty lines,
17502           sorted all exported symbols alphabetically
17503         * win32/common/dirent.c:
17504         * win32/common/dirent.h:
17505         * win32/common/gchar.h:
17506           use windows line end.
17507           
17508 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17509
17510         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17511           Send EOS event when stopping.
17512
17513 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17514
17515         * docs/README:
17516           Tell folks what to do if the plugin-foobar.xml file
17517           hasn't been generated for a newly-added plugin.
17518
17519 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17520
17521         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17522         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17523         (gst_collect_pads_start), (gst_collect_pads_stop),
17524         (gst_collect_pads_event): Collectpads now holds a reference
17525         to the GstPad that was added. Indeed we don't want to look
17526         at pads that might just go away with no warning...
17527
17528 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17529
17530         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17531         (gst_collect_pads_start), (gst_collect_pads_stop),
17532         (gst_collect_pads_event), (gst_collect_pads_chain):
17533         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17534         Mark Nauwelaerts's patch on bug #328491.
17535
17536 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17537
17538         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17539         (gst_utils_suite):
17540           Add some simple tests for gst_parse_bin_from_description() and
17541           gst_bin_find_unconnected_pad() (#329069).
17542
17543 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17544
17545         * tools/gst-launch.c: (event_loop), (main):
17546           Catch errors during preroll (#320084).
17547
17548 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17549
17550         * plugins/elements/gsttypefindelement.c:
17551         (gst_type_find_element_activate):
17552           Post TYPE_NOT_FOUND error message when typefinding
17553           is unsuccessful in the activate function as well.
17554
17555 2006-02-02  Wim Taymans  <wim@fluendo.com>
17556
17557         * docs/design/part-element-sink.txt:
17558         Updated doc.
17559
17560 2006-02-02  Wim Taymans  <wim@fluendo.com>
17561
17562         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17563         (gst_base_sink_render_object),
17564         (gst_base_sink_queue_object_unlocked):
17565         Only keep track of prerollable items when we are 
17566         prerolling.
17567         Before rendering after preroll, always check if we
17568         have queued items.
17569         Added some more debugging.
17570
17571 2006-02-02  Wim Taymans  <wim@fluendo.com>
17572
17573         * gst/gstelement.c: (gst_element_continue_state),
17574         (gst_element_set_state_func), (gst_element_change_state):
17575         Fixed #326576, been running this for quite some time with
17576         no regressions at all.
17577
17578 2006-02-02  Wim Taymans  <wim@fluendo.com>
17579
17580         * common/gst.supp:
17581         Added more suppressions
17582
17583 2006-02-02  Wim Taymans  <wim@fluendo.com>
17584
17585         * docs/design/part-element-sink.txt:
17586         Updated document.
17587
17588         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17589         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17590         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17591         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17592         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17593         (gst_base_sink_preroll_object),
17594         (gst_base_sink_queue_object_unlocked),
17595         (gst_base_sink_queue_object), (gst_base_sink_event),
17596         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17597         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17598         (gst_base_sink_get_position), (gst_base_sink_change_state):
17599         * libs/gst/base/gstbasesink.h:
17600         Totally refactored matching the design doc.
17601         Use two segments, one to clip incomming buffers and another to
17602         perform sync.
17603         Handle queueing correctly, bypass the queue when playing.
17604         Make EOS cancelable.
17605         Handle errors correctly when operating in pull based mode.
17606
17607         * tests/check/elements/fakesink.c: (GST_START_TEST),
17608         (fakesink_suite):
17609         Added new check for sinks.
17610
17611 2006-02-02  Wim Taymans  <wim@fluendo.com>
17612
17613         * gst/gstsegment.c: (gst_segment_clip):
17614         No reason to refuse to clip when start == -1
17615
17616 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17617
17618         * docs/README:
17619         * docs/manual/intro-basics.xml:
17620         * docs/manual/intro-preface.xml:
17621         * docs/manual/manual.xml:
17622         * docs/pwg/advanced-dparams.xml:
17623         * docs/pwg/intro-basics.xml:
17624         * docs/pwg/intro-preface.xml:
17625         * docs/pwg/pwg.xml:
17626           describe dparams (controller) for plugins
17627           unify docs a little more
17628
17629 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17630
17631         * docs/gst/gstreamer-sections.txt:
17632         * gst/gstutils.c: (element_find_unconnected_pad),
17633         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17634         * gst/gstutils.h:
17635           Add new API: gst_parse_bin_from_description() and
17636           gst_bin_find_unconnected_pad() (#329069).
17637
17638 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17639
17640         * docs/manual/README:
17641           uncover a nasty detail of the docs build
17642
17643 2006-01-31  Wim Taymans  <wim@fluendo.com>
17644
17645         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17646         Don't cache duration messages if we're not going to use or
17647         free them.
17648
17649 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17650
17651         * docs/manual/advanced-dparams.xml:
17652         * docs/pwg/advanced-dparams.xml:
17653           more dparam docs
17654         * gst/gstindex.c:
17655           fix docs
17656         * libs/gst/controller/lib.c: (gst_controller_init):
17657           init just once
17658
17659 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17660
17661         * gst/gstelement.c: (gst_element_message_full):
17662           also show file/line/func if no additional debug was given
17663
17664 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17665         
17666         * win32/vs7/grammar.vcproj:
17667           activate copy of autogenerated files for Release mode
17668
17669 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17670         
17671         * win32/common/libgstreamer.def:
17672           export gst_value_compare
17673
17674 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17675
17676         * plugins/elements/Makefile.am:
17677         * plugins/elements/gstelements.c:
17678         * plugins/elements/gstfdsink.c: (_do_init),
17679         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17680         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17681         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17682         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17683         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17684         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17685         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17686         * plugins/elements/gstfdsink.h:
17687         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17688
17689 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17690
17691         * docs/manual/advanced-dparams.xml:
17692           describe controller
17693         * docs/manual/advanced-position.xml:
17694         * docs/manual/basics-init.xml:
17695         * docs/manual/manual.xml:
17696         * docs/manual/titlepage.xml:
17697         * docs/pwg/pwg.xml:
17698         * docs/pwg/titlepage.xml:
17699           cleanup xml (more to come)
17700         * libs/gst/controller/gstcontroller.c:
17701           fix typo
17702
17703 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17704         
17705         * win32/vs6/grammar.dsp:
17706           add autogen of gstmarshal.c,h for Release mode
17707                 
17708 2006-01-30  Wim Taymans  <wim@fluendo.com>
17709
17710         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17711         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17712         (gst_base_sink_handle_object), (gst_base_sink_event),
17713         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17714         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17715         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17716         (gst_base_sink_deactivate), (gst_base_sink_activate),
17717         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17718         (gst_base_sink_query), (gst_base_sink_change_state):
17719         Basesink cleanups, remove some old code.
17720         Handle the case where a subclass can preroll in the render
17721         method (mostly audiosinks).
17722         Handle more events.
17723         Remove some locks around variables that are now protected
17724         with the PREROLL_LOCK (clock_id, flushing, ..).
17725         Optimize position query some more, do correct locking.
17726         Remove old code to push queue in state change, this is not
17727         needed anymore since preroll blocks on all prerollable items 
17728         now.
17729         Almost implemented as described in design doc.
17730
17731 2006-01-30  Wim Taymans  <wim@fluendo.com>
17732
17733         * tests/check/gst/gstbin.c: (GST_START_TEST):
17734         Wait for refcount to settle down before checking.
17735
17736 2006-01-30  Wim Taymans  <wim@fluendo.com>
17737
17738         * docs/design/part-element-sink.txt:
17739         Pseudo code overview of desired sink behaviour regarding
17740         preroll.
17741
17742 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17743         * win32/vs6/grammar.dsp:
17744           fix some bugs in Release mode for autogenerated files
17745                 
17746 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17747         * win32/common/libgstbase.def:
17748         * win32/common/libgstreamer.def:
17749           export some new symbols: gst_base_src_set_format,
17750           gst_iterator_next, gst_structure_set_valist
17751
17752 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17753
17754         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17755         Set pad functions unconditionally. Fixes #329105.
17756
17757 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17758         * win32/vs8:
17759           add vs8 project files created by Sergey Scobich
17760
17761 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17762
17763         * gst/gstutils.c: (gst_element_unlink_pads):
17764         Don't leak pad references.
17765
17766         * tests/check/elements/fakesink.c: (GST_START_TEST):
17767         * tests/check/generic/sinks.c: (GST_START_TEST):
17768         * tests/check/generic/states.c: (GST_START_TEST):
17769         * tests/check/gst/gstbin.c: (GST_START_TEST):
17770         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17771         * tests/check/gst/gstelement.c: (GST_START_TEST):
17772         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17773         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17774         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17775         Fix a bunch of leaks. Make generic/sinks.c
17776         use a bit less cpu by slowing the buffer rate
17777         between fakesrc and fakesink.
17778         
17779 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17780         * gst/gstcaps.c:
17781         * gst/gstelement.c: (gst_element_send_event):
17782         * gst/gstevent.c:
17783         * gst/gstinfo.c:
17784         * gst/gstiterator.c:
17785         * gst/gstiterator.h:
17786         * gst/gstpad.c: (gst_pad_send_event):
17787         * gst/gststructure.c:
17788         * gst/gsturi.c:
17789         * gst/gstutils.c:
17790         * gst/gstvalue.c:
17791         * libs/gst/base/gstadapter.c:
17792           doc fixes, to link to function, just write gst_cool_function(), don't
17793           prefix with '#'
17794
17795 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17796
17797         * plugins/elements/gsttee.c: (gst_tee_do_push),
17798         (gst_tee_handle_buffer):
17799         Always prefer an actual return value from a src
17800         pad in place of NOT_LINKED. This means we return
17801         WRONG_STATE when all src pads are WRONG_STATE
17802         instead of NOT_LINKED.
17803
17804         Lock when replacing the last message to prevent
17805         racing with the get_property method.
17806
17807         Add debug output
17808
17809 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17810
17811         * tests/check/Makefile.am:
17812         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17813         (main):
17814         Add a very simple check that should have caught the memleak I fixed
17815         last night (if not for the slice allocator hiding it)
17816
17817 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17818
17819         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17820         (gst_bin_remove_func), (gst_bin_handle_message_func),
17821         (bin_query_duration_fold), (bin_query_generic_fold):
17822         Clean up references to the clock provider when disposed or when
17823         handling a clock-lost message from it.
17824
17825         Unref sinks when performing a query via gst_iterator_fold, as the
17826         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17827
17828         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17829         (gst_clock_set_master):
17830         Drop our reference to the master clock, if any, when we are disposed.
17831
17832         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17833         Chain up in dispose. 
17834
17835 2006-01-26  Wim Taymans  <wim@fluendo.com>
17836
17837         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17838         Add some debugging.
17839
17840 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17841
17842         * plugins/elements/gsttee.c: (gst_tee_do_push),
17843         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17844         handles pad being NOT_LINKED or in WRONG_STATE.
17845
17846 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17847
17848         * win32/MANIFEST:
17849           more updating
17850
17851 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17852
17853         * win32/MANIFEST:
17854           remove obsolete entry
17855
17856 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17857
17858         * docs/gst/gstreamer-sections.txt:
17859         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17860         (gst_bin_iterate_sources), (gst_bin_send_event):
17861         * gst/gstbin.h:
17862         * gst/gstelement.c: (gst_element_send_event):
17863         * gst/gstevent.c:
17864         * gst/gstpad.c: (gst_pad_send_event):
17865           added code for downstream events, reviewed docs in gstevent.c
17866
17867 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17868
17869         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17870         We only query position using the clock in the playing state.
17871         Query peer in the other cases.
17872         * win32/common/config.h: Updates.
17873
17874 2006-01-24  Wim Taymans  <wim@fluendo.com>
17875
17876         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17877         A clock entry that is scheduled for the exact time of the
17878         clock is still in time.
17879
17880         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17881         (gst_base_sink_do_sync):
17882         Add some more debug info.
17883
17884 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17885
17886         * win32/vs7:
17887           Add new vs7 project files and solution.
17888
17889 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17890
17891         * win32/vs7:
17892           all files removed as they were out-dated.
17893
17894 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17895
17896         * docs/random/release:
17897           update notes
17898         * gst/gstbin.c: (gst_bin_init):
17899         * gst/gstbus.c: (gst_bus_new):
17900         * gst/gstbus.h:
17901         * gst/gstpipeline.c: (gst_pipeline_init):
17902           use gst_bus_new(), improve logging, fix docs
17903         * win32/common/config.h:
17904           update for cvs build
17905
17906 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17907
17908         * autogen.sh:
17909           up required version of automake to 1.7
17910
17911 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17912
17913         * win32/common/libgstreamer.def:
17914           export gst_buffer_is_metadata_writable
17915
17916 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17917
17918         * docs/gst/gstreamer-sections.txt:
17919         * gst/gstevent.h:
17920           Add gst_event_replace() (#327001)
17921
17922 2006-01-20  Wim Taymans  <wim@fluendo.com>
17923
17924         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17925         Make it actually compile too..
17926
17927 2006-01-20  Wim Taymans  <wim@fluendo.com>
17928
17929         * gst/gstcaps.c:
17930         Clarify behaviour of _is_equal() when passing NULL parameters.
17931
17932         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17933         (gst_pad_set_caps):
17934         Cleanups. Don't unref NULL caps.
17935         When setting the same caps, protect caps of the pad with
17936         proper lock.
17937         Use full functionality of _is_equal() when comparing caps.
17938
17939 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17940
17941         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17942         Don't loop infinitely if there are no buffers to present. Partially
17943         fixes #327197, but collectpads is just broken for reusing elements
17944         to do multiple encodes atm.
17945
17946 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17947
17948         * tools/gst-inspect.c: (print_element_features):
17949         * tools/gst-xmlinspect.c: (main):
17950         URL_HANDLER is not a plugin feature we can search for in
17951         the registry.
17952
17953 2006-01-19  Edward Hervey  <edward@fluendo.com>
17954
17955         * gst/gstelement.c: (gst_element_pads_activate): 
17956         When activating, do src pads first, then sink pads.
17957         When de-activating, do sink pads first, then src pads.
17958
17959 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17960
17961         * docs/gst/gstreamer-sections.txt:
17962         Add gst_index_add_associationv to the docs
17963
17964 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17965
17966         * gst/gstevent.c:
17967           Fix docs typo
17968
17969         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17970         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17971           Do some refactoring. Doesn't actually change functionality,
17972           but makes landing the DRAIN event easier later.
17973
17974 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17975
17976         * docs/pwg/advanced-scheduling.xml:
17977           Update from 0.9.x to 0.10 API and make example a bit
17978           clearer.
17979
17980 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17981
17982         * docs/gst/gstreamer-sections.txt:
17983         Add gst_buffer_(is|make)_metadata_writable methods.
17984
17985 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17986
17987         * docs/design/part-sparsestreams.txt:
17988         Update sparse streams doc, hopefully for greater clarity
17989
17990 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17991
17992         * docs/design/part-events.txt:
17993         Remove mention of FILLER events.
17994         Add DRAIN event.
17995
17996         * docs/design/part-sparsestreams.txt:
17997         Write some things about using NEWSEGMENT to keep sparse streams
17998         flowing.
17999
18000 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18001
18002         * gst/gstbin.c: (gst_bin_dispose):
18003           Guard gst_object_unref call against a NULL object (dispose
18004           can theoretically be called multiple times).
18005           
18006 2006-01-18  Wim Taymans  <wim@fluendo.com>
18007
18008         * gst/gstbin.c: (gst_bin_element_set_state):
18009         * gst/gstclock.c: (gst_clock_id_wait):
18010         Added some more debug info.
18011
18012         * libs/gst/base/gstadapter.c:
18013         Added more docs.
18014
18015         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18016         (gst_base_sink_do_sync), (gst_base_sink_chain):
18017         Added some comments.
18018
18019 2006-01-18  Wim Taymans  <wim@fluendo.com>
18020
18021         * tests/check/Makefile.am:
18022         * tests/check/elements/fakesink.c: (chain_async_buffer),
18023         (chain_async), (chain_async_return), (GST_START_TEST),
18024         (fakesink_suite), (main):
18025         Added fakesink test that checks prerolling and clipping
18026         behaviour.
18027
18028         * tests/check/gst/gstutils.c: (GST_START_TEST):
18029         Make check run faster so that buildbots don't timeout.
18030
18031 2006-01-18  Wim Taymans  <wim@fluendo.com>
18032
18033         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18034         (gst_base_sink_do_sync):
18035         Some cleanups.
18036         When the sink finishes blocking on the preroll buffer, it can
18037         immediatly render it instead of rendering when the next buffer
18038         arrives.
18039
18040 2006-01-18  Wim Taymans  <wim@fluendo.com>
18041
18042         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18043         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18044         (gst_base_sink_chain):
18045         Small cleanups.
18046         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18047         Don't store _last_stop if the buffer is dropped.
18048
18049 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18050
18051         * plugins/elements/gsttypefindelement.c:
18052         (gst_type_find_element_class_init):
18053           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18054           object method handler that sets the caps on the pad and we want
18055           that to happen before we emit the signal (fixes e.g. feeding a
18056           plain text file to decodebin).
18057
18058 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18059
18060         * gst/gstplugin.c: Add MPL and Proprietary as license options
18061
18062 2006-01-18  Andy Wingo  <wingo@pobox.com>
18063
18064         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18065         symbol was exported before, it appears this was just an oversight.
18066         Fixes #168703.
18067         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18068
18069         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18070         prototype to gint. OK since this prototype was not in the header.
18071
18072 2006-01-17  Andy Wingo  <wingo@pobox.com>
18073
18074         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18075         registry while we remove plugins.
18076
18077         * tools/gst-inspect.c (print_element_info): Don't unref the
18078         factory arg, that should be the responsibility of whatever code
18079         received the ref. Fixes a double-free when called from
18080         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18081         (main): Unref the factory if we have one.
18082         (print_element_list): No change -- relies on the
18083         plugin_feature_list_free to free the list of features.
18084
18085 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18086
18087         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18088         (gst_buffer_make_metadata_writable):
18089         * gst/gstbuffer.h:
18090         * libs/gst/base/gstbasetransform.c:
18091         (gst_base_transform_prepare_output_buf):
18092         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18093         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18094           Replace gst_buffer_(make|is)_metadata_writable patch now
18095           that the release is out.
18096
18097 2006-01-17  Andy Wingo  <wingo@pobox.com>
18098
18099         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18100         in the present tense without reference to versions.
18101
18102         * gst/gstregistry.c (gst_registry_add_plugin)
18103         (gst_registry_remove_plugin, gst_registry_remove_feature)
18104         (gst_registry_find_feature, gst_registry_get_feature_list)
18105         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18106         (gst_registry_lookup, gst_registry_scan_path)
18107         (_gst_registry_remove_cache_plugins)
18108         (gst_registry_get_feature_list_by_plugin): Add argument
18109         validation.
18110
18111 === release 0.10.2 ===
18112
18113 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18114
18115         * configure.ac:
18116           releasing 0.10.2, "If man is five"
18117
18118 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18119
18120         * gst/gstbuffer.c:
18121         * gst/gstbuffer.h:
18122         * libs/gst/base/gstbasetransform.c:
18123         (gst_base_transform_prepare_output_buf):
18124         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18125         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18126           Back out patch until after the release.
18127
18128 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18129
18130         * gst/gstminiobject.c:
18131           Spelling fix in docs.
18132         * ChangeLog - remove conflict indicator
18133
18134 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18135
18136         Reviewed By: Andy Wingo
18137
18138         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18139         (gst_buffer_make_metadata_writable):
18140         * gst/gstbuffer.h:
18141           Add gst_buffer_(is|make)_metadata_writable as analogues of
18142           gst_buffer_(is|make)_writable.
18143
18144         * libs/gst/base/gstbasetransform.c:
18145         (gst_base_transform_prepare_output_buf):
18146         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18147           Use name gst_buffer_(is|make)_metadata_writable functions.
18148
18149         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18150           Test gst_buffer_(is|make)_metadata_writable
18151         
18152           (Closes: #324162)
18153
18154 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18155
18156         * docs/manual/Makefile.am:
18157           don't do parallel make
18158         * configure.ac:
18159           AC_SUBST HOST_CPU
18160         * win32/common/config.h.in:
18161           add generations for HOST_CPU and GST_MAJORMINOR
18162         * win32/common/config.h:
18163           commit generated result
18164
18165 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18166
18167         * docs/manual/appendix-integration.xml:
18168           Update GNOME integration section to use gst_init_get_option_group()
18169           instead of the old popt stuff (#322911). Also, GNOME applications
18170           should  now use gconf*sink and gconf*src instead of the old gconf
18171           helper lib we had.
18172
18173 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18174
18175
18176         * docs/gst/gstreamer-docs.sgml:
18177         * docs/gst/gstreamer-sections.txt:
18178         * docs/libs/gstreamer-libs-sections.txt:
18179           add new API entries to the docs
18180         * libs/gst/controller/Makefile.am:
18181         * libs/gst/controller/gstcontroller.c:
18182         * libs/gst/controller/gstcontroller.h:
18183         * libs/gst/controller/gstcontrollerprivate.h:
18184         * libs/gst/controller/gsthelper.c:
18185         * libs/gst/controller/gstinterpolation.c:
18186           move private structs to private header
18187         * po/README:
18188           gstreamer-0.7 -> gstreamer-0.10
18189         * tests/check/libs/struct_i386.h:
18190           remove private structs
18191
18192 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18193
18194         * plugins/indexers/Makefile.am:
18195           Fixes as part of #317048
18196
18197 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18198
18199         * plugins/indexers/Makefile.am:
18200           fix #316086 - compilation when mmap is missing
18201
18202 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18203
18204         * libs/gst/base/gstbasesink.c:
18205           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18206           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18207         * win32/common/config.h:
18208           added some defines GST_MAJORMINOR and HOST_CPU
18209         * win32/common/libgstbase.def:
18210         * win32/common/libgstreamer.def:
18211           added some exported functions.
18212
18213 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18214
18215         * libs/gst/controller/gstcontroller.c:
18216         (gst_controlled_property_set_interpolation_mode),
18217         (gst_controlled_property_new):
18218         * libs/gst/controller/gstcontroller.h:
18219         * libs/gst/controller/gstinterpolation.c:
18220         (interpolate_none_get_string_value_array):
18221           make G_TYPE_STRING controlable
18222
18223 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18224
18225         * tools/README:
18226         * tools/gst-feedback.1.in:
18227         * tools/gst-inspect.1.in:
18228         * tools/gst-launch.1.in:
18229         * tools/gst-md5sum.1.in:
18230         * tools/gst-typefind.1.in:
18231         * tools/gst-xmlinspect.1.in:
18232         * tools/gst-xmllaunch.1.in:
18233           cleanup man-pages, remove reference to gst-register, document env-vars
18234
18235 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18236
18237         * gst/gstbuffer.c: (gst_buffer_span):
18238           gst_buffer_span should copy the timestamp of the first buffer
18239           if they were both originally overlapping subbuffers of the 
18240           same parent, using the same logic as the 'slow copy' case.
18241
18242 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18243
18244         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18245           Need to awaken ALL the pads when we pop a buffer, otherwise
18246           collectpads only works when there is 2 input streams.
18247
18248 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18249
18250         * docs/random/ensonic/media-device-daemon.txt:
18251           more ideas (dbus)
18252         * gst/gstbuffer.c:
18253           fix doc example, add clarification
18254         * tools/gst-launch.1.in:
18255           add initial info about GST_PLUGIN_PATH, needs more work
18256
18257 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18258
18259         * docs/manual/basics-bins.xml:
18260         * docs/manual/basics-elements.xml:
18261         * docs/manual/intro-basics.xml:
18262           Some more minor docs additions and updates.
18263
18264 2006-01-11  Wim Taymans  <wim@fluendo.com>
18265
18266         * docs/manual/basics-bins.xml:
18267         * docs/manual/basics-elements.xml:
18268         Some small fixes as pointed out by Ser-ver on IRC.
18269
18270 2006-01-10  Edward Hervey  <edward@fluendo.com>
18271
18272         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18273         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18274         the single-segment mode.
18275
18276 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18277
18278         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18279
18280         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18281         (gst_base_src_perform_seek), (gst_base_src_send_event),
18282         (gst_base_src_set_property), (gst_base_src_get_property),
18283         (gst_base_src_loop), (gst_base_src_start),
18284         (gst_base_src_activate_push):
18285         * libs/gst/base/gstbasesrc.h:
18286           Name (private) union; makes Sun's Forte compiler happy (#324900).
18287
18288 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18289
18290         * README:
18291           gst-register is gone.
18292
18293 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18294
18295         * gst/gstvalue.c: (_gst_value_initialize):
18296           make the G_TYPE_DATE instantiation work if debug is disabled
18297
18298 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18299
18300         * gst/gstmessage.c: (gst_message_parse_tag),
18301         (gst_message_parse_error), (gst_message_parse_warning):
18302           Don't crash when return location for error/warning debug
18303           string is NULL; add fact that return locations can be
18304           NULL to docs where appropriate.
18305
18306 2006-01-05  Wim Taymans  <wim@fluendo.com>
18307
18308         * gst/gstplugin.c: (gst_plugin_load_file):
18309         Replace strdup by g_strdup.
18310
18311 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18312
18313         * docs/pwg/advanced-types.xml:
18314           fix doc borkage
18315
18316 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18317
18318         submitted by: Abel Cheung
18319
18320         * po/LINGUAS:
18321         * po/zh_TW.po:
18322           Added Chinese (traditional) translation
18323
18324 2006-01-04  Wim Taymans  <wim@fluendo.com>
18325
18326         * docs/manual/basics-pads.xml:
18327         * docs/plugins/Makefile.am:
18328         * docs/plugins/gstreamer-plugins-docs.sgml:
18329         * docs/plugins/gstreamer-plugins-sections.txt:
18330         * docs/pwg/advanced-clock.xml:
18331         * docs/pwg/advanced-scheduling.xml:
18332         * docs/pwg/advanced-types.xml:
18333         * plugins/elements/gstfdsink.c:
18334         * plugins/elements/gstfdsrc.c:
18335         * plugins/elements/gstfdsrc.h:
18336         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18337         * plugins/elements/gstidentity.h:
18338         * plugins/elements/gstqueue.h:
18339         * plugins/elements/gsttee.c:
18340         * plugins/elements/gsttee.h:
18341         * plugins/elements/gsttypefindelement.c:
18342         (gst_type_find_element_class_init):
18343         * plugins/elements/gsttypefindelement.h:
18344         Small updates to various docs.
18345         Added core plugins to docs.
18346
18347 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18348
18349         * common/gst.supp:
18350           add a suppression for liboil's uninitialized variable
18351
18352 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18353
18354         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18355
18356         * gst/gstutils.h:
18357           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18358           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18359           compiler switch is being used (#325429).
18360
18361 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18362
18363         * gst/gstbin.c: (gst_bin_query):
18364           Disable duration query caching in bins until it gets
18365           fixed (see #324807).
18366
18367 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18368
18369         * tools/gst-inspect.c: (print_element_properties_info):
18370           Handle properties of POINTER and BOXED type.
18371
18372 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18373
18374         * gst/gst.c: (init_post):
18375           Init tags stuff and some other things before loading
18376           any static plugins (there may be other static plugins
18377           than just the GStreamer ones, and they may want to
18378           register their own tags or formats or whatever, and
18379           preferably without segfaulting).
18380
18381         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18382           Print at least a warning in the debug logs if we drop a
18383           query just because we don't know how to adjust the value
18384           in the particular format.
18385
18386 2005-12-24  David Schleef  <ds@schleef.org>
18387
18388         * tools/gstreamer-completion:
18389           Replacement for gst-complete written in sh and sed.  Only
18390           completes names of features, but that's 90% of what I want
18391           it for.  Properties are not available in registry.xml.  (Maybe
18392           they should be...)
18393
18394 === release 0.10.1 ===
18395
18396 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18397
18398         * configure.ac:
18399           releasing 0.10.1, "Nollaig chridheil"
18400
18401 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18402
18403         * docs/faq/cvs.xml:
18404           Add missing quote, should be make ERROR_CFLAGS="".
18405
18406 2005-12-20  Wim Taymans  <wim@fluendo.com>
18407
18408         * docs/design/part-trickmodes.txt:
18409         More documentation on trickmodes.
18410
18411 2005-12-20  Edward Hervey  <edward@fluendo.com>
18412
18413         * gst/gstcaps.c: (gst_static_caps_get_type):
18414         * gst/gstcaps.h:
18415           API addition: GST_TYPE_STATIC_CAPS
18416         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18417         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18418         * gst/gstpadtemplate.h:
18419           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18420         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18421         bindings.
18422
18423 2005-12-18  Wim Taymans  <wim@fluendo.com>
18424
18425         * libs/gst/base/gstadapter.c:
18426         * libs/gst/base/gstadapter.h:
18427         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18428         (gst_base_sink_get_position):
18429         * libs/gst/base/gstbasesink.h:
18430         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18431         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18432         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18433         (gst_base_src_send_event), (gst_base_src_update_length),
18434         (gst_base_src_get_range), (gst_base_src_loop),
18435         (gst_base_src_start):
18436         * libs/gst/base/gstbasesrc.h:
18437         * libs/gst/base/gstbasetransform.h:
18438         * libs/gst/base/gstcollectpads.h:
18439         * libs/gst/base/gstpushsrc.c:
18440         * libs/gst/base/gstpushsrc.h:
18441         * libs/gst/dataprotocol/dataprotocol.c:
18442         * libs/gst/dataprotocol/dataprotocol.h:
18443         * libs/gst/net/gstnetclientclock.h:
18444         * libs/gst/net/gstnettimeprovider.h:
18445         Documentation updates.
18446
18447 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18448
18449         * docs/manual/basics-helloworld.xml:
18450           Remove superfluous closing bracket in helloworld example.
18451
18452 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18453
18454         * tools/gst-launch.1.in:
18455           Update gst-launch man page; add a section with useful
18456           environment variables. Fixes #323882.
18457
18458 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18459
18460         * gst/gst.c:
18461         * gst/gst_private.h:
18462           change some char* into char[]
18463
18464 2005-12-16  Wim Taymans  <wim@fluendo.com>
18465
18466         * gst/gstregistryxml.c: (load_feature):
18467         Cleanups.
18468         Don't use g_object_unref on GstObjects so that we avoid
18469         leaks on unsafe glibs.
18470
18471 2005-12-16  Wim Taymans  <wim@fluendo.com>
18472
18473         * gst/gstbin.c: (gst_bin_recalc_state):
18474         Small doc updates.
18475
18476 2005-12-16  Wim Taymans  <wim@fluendo.com>
18477
18478         * common/check.mak:
18479         Added make forever target for check.
18480
18481 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18482
18483         * gst/gst.c: (init_post):
18484           make the registry cache file HOST_CPU-dependent
18485
18486 2005-12-16  Andy Wingo  <wingo@pobox.com>
18487
18488         * plugins/elements/gstbufferstore.c
18489         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18490         return value.
18491
18492         * tests/check/gst/gstobject.c
18493         (test_fake_object_name_threaded_unique): Pay attention to
18494         g_list_sort return value.
18495
18496 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18497
18498         * tools/gst-feedback-m.m:
18499           Update for 0.9/0.10 (fixes #323870).
18500
18501 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18502
18503         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18504           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18505           
18506         * tests/check/gst/gstminiobject.c: (my_foo_init),
18507         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18508         (test_value_collection), (gst_mini_object_suite):
18509           Add test to ensure refcounts end up as expected when passing
18510           GstMiniObjects through g_object_get() and g_object_set().
18511
18512 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18513
18514         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18515         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18516         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18517         of collectpads. This version removes a lot of races without
18518         touching API/ABI. Yay !
18519
18520 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18521
18522         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18523           Don't allow activation of a srcpad in pull_range if it has no
18524           getrange function.
18525           Change some debug statements to be a little clearer
18526
18527         * plugins/elements/gsttypefindelement.c:
18528         (gst_type_find_handle_src_query):
18529           Check that we have a peer before executing queries thereupon.
18530
18531         * tests/examples/metadata/read-metadata.c: (message_loop):
18532           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18533           immediately return us any available message with 0 timeout.
18534
18535 2005-12-12  Michael Smith  <msmith@fluendo.com>
18536
18537         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18538           Don't unref factories after calling them.
18539         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18540         * plugins/elements/gsttypefindelement.c:
18541         (gst_type_find_element_chain):
18542           Free lists of factories after using them. Fixing typefinding memory
18543           leaks.
18544
18545 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18546
18547         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18548         (gst_plugin_feature_load):
18549           more meaningful debug output
18550         * configure.ac:
18551         * tests/Makefile.am:
18552         * tests/old/examples/Makefile.am:
18553           make make distcheck happy again
18554
18555 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18556
18557         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18558           Catch the special case where we are operating chain-based,
18559           but the downstream peer pad has no chain function. Emit a
18560           custom error message in this case instead of letting the
18561           core generate one implying that this is some sort of core
18562           bug. It's not, it just means that whatever got plugged
18563           into the pipeline downstream when we announced the type
18564           can only operate pull-based, while our source can only
18565           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18566           Error string has not been marked for translation yet, as
18567           it probably needs some more work first.
18568
18569         (gst_type_find_element_get_best_possibility):
18570           Add helper function to find the best of all available
18571           found possibilities that qualify given the min. threshold.
18572
18573         (gst_type_find_element_handle_event):
18574           Fix the case where we get an EOS while still in TYPEFIND
18575           mode (we want to chose the best of all possible types,
18576           not just the first type that happens to be in our unsorted
18577           list of possible types).
18578
18579         (gst_type_find_element_chain):
18580           Make sure we return GST_FLOW_ERROR when we errored out
18581           in stop_typefinding(); also, don't just find the best of
18582           all found type entries and then use the last examined
18583           type entry, but actually use the best entry.
18584
18585 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18586
18587         * tests/examples/typefind/typefind.c: (type_found):
18588         * tests/examples/xml/runxml.c: (xml_loaded):
18589           More gcc4 fixes and a mem leak fix.
18590
18591 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18592
18593         * tests/examples/xml/createxml.c: (object_saved):
18594           gcc 4 fixes
18595
18596 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18597
18598         * tests/Makefile.am:
18599           enable the examples even more
18600
18601 2005-12-12  Andy Wingo  <wingo@pobox.com>
18602
18603         * libs/gst/net/gstnettimeprovider.c
18604         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18605         (gst_net_time_provider_set_property)
18606         (gst_net_time_provider_get_property):
18607         API addition: Export "active" as a GObject property.
18608         (gst_net_time_provider_thread): Only respond to time queries if
18609         the time provider is active.
18610
18611         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18612         NetTimeProvider, preserving binary compat.
18613
18614 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18615
18616         * tests/examples/controller/audio-example.c: (main):
18617         * tests/examples/launch/Makefile.am:
18618           convert comments again
18619
18620 2005-12-12  Wim Taymans  <wim@fluendo.com>
18621
18622         * libs/gst/base/gstpushsrc.c:
18623         Fix typo.
18624
18625 2005-12-12  Wim Taymans  <wim@fluendo.com>
18626
18627         * docs/libs/gstreamer-libs-sections.txt:
18628         Added new symbol to docs.
18629
18630         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18631         (gst_base_src_init), (gst_base_src_set_format),
18632         (gst_base_src_default_query), (gst_base_src_query),
18633         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18634         (gst_base_src_perform_seek), (gst_base_src_send_event),
18635         (gst_base_src_default_event), (gst_base_src_event_handler),
18636         (gst_base_src_set_property), (gst_base_src_get_property),
18637         (gst_base_src_wait), (gst_base_src_do_sync),
18638         (gst_base_src_update_length), (gst_base_src_get_range),
18639         (gst_base_src_check_get_range), (gst_base_src_loop),
18640         (gst_base_src_default_negotiate), (gst_base_src_start),
18641         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18642         (gst_base_src_change_state):
18643         * libs/gst/base/gstbasesrc.h:
18644         Implement seeking to other formats than _BYTES.
18645         Implement more seeking methods correctly.
18646         Doc updates.
18647         Added query vmethod.
18648         Added do_seek vmethod to make life easier for subclasses
18649         when seeking.
18650         API addition: gst_base_src_set_format()
18651
18652 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18653
18654         * tests/examples/Makefile.am:
18655           added that too
18656
18657 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18658
18659         * configure.ac:
18660         * docs/random/ensonic/media-device-daemon.txt:
18661         * tests/examples/controller/.cvsignore:
18662         * tests/examples/controller/Makefile.am:
18663         * tests/examples/controller/audio-example.c: (main):
18664         * tests/examples/helloworld/.cvsignore:
18665         * tests/examples/helloworld/Makefile.am:
18666         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18667         * tests/examples/launch/.cvsignore:
18668         * tests/examples/launch/Makefile.am:
18669         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18670         * tests/examples/metadata/.cvsignore:
18671         * tests/examples/metadata/Makefile.am:
18672         * tests/examples/metadata/read-metadata.c: (message_loop),
18673         (make_pipeline), (print_tag), (main):
18674         * tests/examples/queue/.cvsignore:
18675         * tests/examples/queue/Makefile.am:
18676         * tests/examples/queue/queue.c: (event_loop), (main):
18677         * tests/examples/typefind/.cvsignore:
18678         * tests/examples/typefind/Makefile.am:
18679         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18680         (main):
18681         * tests/examples/xml/.cvsignore:
18682         * tests/examples/xml/Makefile.am:
18683         * tests/examples/xml/createxml.c: (object_saved), (main):
18684         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18685         * tests/old/examples/Makefile.am:
18686         * tests/old/examples/TODO:
18687         * tests/old/examples/controller/.cvsignore:
18688         * tests/old/examples/controller/Makefile.am:
18689         * tests/old/examples/controller/audio-example.c:
18690         * tests/old/examples/helloworld/.cvsignore:
18691         * tests/old/examples/helloworld/Makefile.am:
18692         * tests/old/examples/helloworld/helloworld.c:
18693         * tests/old/examples/launch/.cvsignore:
18694         * tests/old/examples/launch/Makefile.am:
18695         * tests/old/examples/launch/mp3parselaunch.c:
18696         * tests/old/examples/launch/mp3play:
18697         * tests/old/examples/manual/Makefile.am:
18698         * tests/old/examples/metadata/Makefile.am:
18699         * tests/old/examples/metadata/read-metadata.c:
18700         * tests/old/examples/queue/.cvsignore:
18701         * tests/old/examples/queue/Makefile.am:
18702         * tests/old/examples/queue/queue.c:
18703         * tests/old/examples/typefind/.cvsignore:
18704         * tests/old/examples/typefind/Makefile.am:
18705         * tests/old/examples/typefind/typefind.c:
18706         * tests/old/examples/xml/.cvsignore:
18707         * tests/old/examples/xml/Makefile.am:
18708         * tests/old/examples/xml/createxml.c:
18709         * tests/old/examples/xml/runxml.c:
18710           applied some simple fixing to some examples
18711           re-enabled the working examples
18712
18713 2005-12-12  Wim Taymans  <wim@fluendo.com>
18714
18715         * gst/gstsegment.c: (gst_segment_init),
18716         (gst_segment_set_last_stop), (gst_segment_set_seek),
18717         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18718         (gst_segment_to_running_time):
18719         Added more documentation.
18720         Make sure the last_pos value is updated properly.
18721         Make sure to_stream_time and to_running_time don't
18722         operate on wrong values.
18723
18724         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18725         Update check.
18726
18727 2005-12-12  Michael Smith  <msmith@fluendo.com>
18728
18729         * plugins/elements/gsttypefindelement.c: (free_entry),
18730         (gst_type_find_element_chain):
18731           Now that we're not leaking factories, make sure we keep references
18732           to them while we need them.
18733
18734 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18735
18736         * tests/check/gst/struct_i386.h:
18737           ifdef out the XML structs
18738
18739 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18740
18741         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18742           floor is not needed, F is always positive; this obviates the
18743           need for adding -lm when building without libxml
18744
18745 2005-12-12  Wim Taymans  <wim@fluendo.com>
18746
18747         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18748         Take current playback rate into account when reporting
18749         the position.
18750
18751 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18752
18753         * docs/manual/mime-world.fig:
18754           Let's try this again, this time with a file that is
18755           actually in XFig format.
18756
18757 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18758
18759         * docs/manual/mime-world.fig:
18760           Add audioconvert element to diagram so that it
18761           matches the text and the code (fixes #319526).
18762
18763 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18764
18765         * docs/pwg/building-chainfn.xml:
18766         * docs/pwg/building-pads.xml:
18767         * docs/pwg/building-state.xml:
18768         * docs/pwg/other-source.xml:
18769           Update state change stuff for 0.10 (fixes #322969).
18770
18771 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18772
18773         * docs/manual/advanced-dataaccess.xml:
18774         * docs/manual/appendix-checklist.xml:
18775         * docs/manual/appendix-programs.xml:
18776         * docs/manual/basics-pads.xml:
18777         * docs/manual/highlevel-components.xml:
18778         * docs/manual/manual.xml:
18779           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18780           add converters in front of pipelines; remove curly
18781           brackets for threads stuff, they no longer exist; use
18782           GST_TYPE_FRACTION for framerates; update some pieces of
18783           code to 0.10, but there's plenty more to do.
18784
18785         * docs/manual/appendix-porting.xml:
18786           Expand on asynchroneous state changes; s/0.9/0.10/;
18787           mention disappearance of gst_init_get_popt_table()
18788           (fixes #322916).
18789
18790 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18791
18792         * docs/faq/using.xml:
18793           Spider no longer exists, and neither does gst-launch-ext.
18794           Update examples to use decodebin and playbin and put
18795           converters in front of sinks (fixes #323726).
18796
18797 2005-12-09  Michael Smith  <msmith@fluendo.com>
18798
18799         * plugins/elements/gsttypefindelement.c: (find_peek),
18800         (gst_type_find_element_chain):
18801           Fix leaking element factories in typefinding.
18802           Fix problem where we forgot about a probable type on non-seekable
18803           files, and thus later mis-typefound it.
18804
18805 2005-12-09  Michael Smith  <msmith@fluendo.com>
18806
18807         * common/m4/gst-makecontext.m4:
18808         * common/m4/gst-mcsc.m4:
18809         * configure.ac:
18810         * win32/common/config.h:
18811         * win32/common/config.h.in:
18812           Remove makecontext stuff; not used in 0.10 and causes problems on
18813           HPUX according to bug #322441
18814
18815 2005-12-07  Wim Taymans  <wim@fluendo.com>
18816
18817         * tests/check/Makefile.am:
18818         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18819         (main):
18820         * tests/check/libs/struct_i386.h:
18821         Added ABI check for libs
18822
18823 2005-12-07  Wim Taymans  <wim@fluendo.com>
18824
18825         * tests/check/Makefile.am:
18826         And add the struct_i386.h to dist.
18827
18828 2005-12-07  Wim Taymans  <wim@fluendo.com>
18829
18830         * tests/check/Makefile.am:
18831         * tests/check/gst/.cvsignore:
18832         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18833         (main):
18834         * tests/check/gst/struct_i386.h:
18835         Added check for ABI compatibility.
18836
18837 2005-12-07  Wim Taymans  <wim@fluendo.com>
18838
18839         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18840         (gst_fake_src_get_times), (gst_fake_src_create):
18841         Fix broken sync option, fixes #323259
18842
18843 2005-12-07  Wim Taymans  <wim@fluendo.com>
18844
18845         * gst/gstbuffer.c:
18846         Small docs update.
18847
18848         * gst/gstcaps.c: (gst_caps_is_equal):
18849         Don't assert on NULL <--> X. Fixes #323260
18850
18851         * gst/gstminiobject.c: (gst_mini_object_replace):
18852         If we're doing atomic operations, we might just as well use
18853         the proper way to get an atomic pointer.
18854
18855         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18856         Clean up debugging.
18857
18858 2005-12-07  Michael Smith  <msmith@fluendo.com>
18859
18860         * gst/parse/grammar.y:
18861           Remove handling of { } for threads.
18862
18863 2005-12-06  David Schleef  <ds@schleef.org>
18864
18865         * libs/gst/base/gstbasetransform.c: speling fix.
18866
18867 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18868
18869         * docs/libs/tmpl/gstdataprotocol.sgml:
18870         * docs/random/omega/testing/gstobject.c:
18871         * gst/gst.c:
18872         * gst/gstclock.c:
18873         * gst/gstelement.c:
18874         * gst/gstelementfactory.c:
18875         * gst/gsterror.c:
18876         * gst/gstevent.c:
18877         * gst/gstghostpad.c:
18878         * gst/gstinfo.c:
18879         * gst/gstpadtemplate.c:
18880         * gst/gstregistryxml.c:
18881         * gst/gsttaglist.c:
18882         * gst/gsttagsetter.c:
18883         * gst/gsttypefind.c:
18884         * gst/gstvalue.c:
18885         * libs/gst/base/gstbasesrc.c:
18886         * libs/gst/net/gstnetclientclock.c:
18887         * libs/gst/net/gstnettimeprovider.c:
18888         * plugins/elements/gstfakesrc.c:
18889         * plugins/elements/gstfdsrc.c:
18890         * plugins/elements/gstfilesrc.c:
18891         * plugins/elements/gstidentity.c:
18892         * plugins/elements/gstqueue.c:
18893         * plugins/elements/gsttypefindelement.c:
18894         * plugins/indexers/gstfileindex.c:
18895         * plugins/indexers/gstmemindex.c:
18896         * tests/check/gst/gsttag.c:
18897         * tests/old/examples/cutter/cutter.c:
18898         * tests/old/examples/mixer/mixer.c:
18899         * tests/old/examples/xml/runxml.c: (main):
18900         * tests/old/testsuite/caps/normalisation.c:
18901         * tests/old/testsuite/debug/global.c:
18902         * tests/old/testsuite/parse/parse1.c:
18903         * tools/gst-xmlinspect.c:
18904         * win32/common/dirent.c:
18905           expand tabs
18906
18907 === release 0.10.0 ===
18908
18909 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18910
18911         * configure.ac:
18912           releasing 0.10.0, "Maroilles"
18913
18914 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18915
18916         submitted by: Funda Wang <fundawang@linux.net.cn>
18917
18918         * po/LINGUAS:
18919         * po/zh_CN.po:
18920           added Chinese (Traditional) translation
18921
18922 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18923
18924         * docs/gst/gstreamer-sections.txt:
18925         * docs/libs/tmpl/gstdataprotocol.sgml:
18926         * docs/random/thomasvs/TODO:
18927         * gst/gstutils.c:
18928         * gst/gstutils.h:
18929           fix docs
18930
18931 2005-12-05  Andy Wingo  <wingo@pobox.com>
18932
18933         patch by: Wim Taymans <wim@fluendo.com>
18934
18935         * libs/gst/base/gstbasetransform.c
18936         (gst_base_transform_prepare_output_buf)
18937         (gst_base_transform_buffer_alloc):
18938         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18939         alloc_buffer_and_set_caps.
18940
18941         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18942         set_caps on the source pad.
18943         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18944         alloc_buffer used to do. Fixes #322874.
18945
18946         * docs/gst/gstreamer-sections.txt: 
18947         * docs/design/part-negotiation.txt: 
18948         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18949         changes.
18950
18951 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18952
18953         patch by: Sebastien Moutte
18954
18955         * win32/MANIFEST:
18956         * win32/common/config.h.in:
18957         * win32/vs6/libgstcontroller.dsp:
18958           win32 build fixes
18959
18960 2005-12-05  Wim Taymans  <wim@fluendo.com>
18961
18962         * gst/gstcaps.c: (gst_caps_is_equal):
18963         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18964         (gst_fake_src_create):
18965         Back out previous code changes, leave doc updates, file bugs 
18966         instead. 
18967
18968 2005-12-05  Wim Taymans  <wim@fluendo.com>
18969
18970         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18971         (gst_fake_src_get_times), (gst_fake_src_create):
18972         * plugins/elements/gstfakesrc.h:
18973         Fix broken sync code.
18974
18975 2005-12-05  Wim Taymans  <wim@fluendo.com>
18976
18977         * gst/gstcaps.c: (gst_caps_is_equal):
18978         Comparing NULL against !NULL yields different caps, not a
18979         failure.
18980
18981 2005-12-05  Wim Taymans  <wim@fluendo.com>
18982
18983         * gst/gstpipeline.c:
18984         Fix small typo in docs.
18985
18986 2005-12-05  Andy Wingo  <wingo@pobox.com>
18987
18988         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18989
18990         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18991         registries/plugins with a MAJORMINOR one.
18992         (plugin_desc): Rename library from gstcoreleements to
18993         staticelements. Fixes #323222.
18994
18995 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18996
18997         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18998           Change debug category to 'collectpads' from 'collect_pads'
18999           (fixes #323250).
19000
19001 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19002
19003         patch by: Sebastien Moutte
19004
19005         * libs/gst/controller/gstinterpolation.c:
19006           use convert function for uint64/double
19007         * win32/vs6/libgstcontroller.dsp:
19008           link to GLib
19009
19010 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19011
19012         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19013         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19014         * gst/gstutils.h:
19015         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19016           add tests that seem to show that the guint64/gdouble conversions
19017           are correct.
19018
19019 2005-12-02  Wim Taymans  <wim@fluendo.com>
19020
19021         * gst/gstregistry.c: (gst_registry_add_path):
19022         * gst/gstregistry.h:
19023         * gst/gstregistryxml.c:
19024         Fix docs again.
19025
19026 2005-12-02  Wim Taymans  <wim@fluendo.com>
19027
19028         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19029         (gst_util_uint64_scale_int):
19030         Small cleanup.
19031
19032         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19033         Add debug log line.
19034
19035         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19036         Add FIXME.
19037
19038 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19039
19040         * win32/MANIFEST:
19041         * win32/common/config.h:
19042         * win32/vs6/gstreamer.dsw:
19043         * win32/vs6/libgstcoreelements.dsp:
19044         * win32/vs6/libgstelements.dsp:
19045           renamed core elements plugin
19046
19047 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19048
19049         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19050         (get_candidates):
19051           do piece-wise major/minor comparison so 0.9 < 0.10
19052           also allow .exe extensions for tools
19053
19054 2005-12-02  Michael Smith  <msmith@fluendo.com>
19055
19056         * gst/gst.c:
19057           Escape a % to make gtkdoc happier; bug 322958.
19058
19059 === release 0.9.7 ===
19060
19061 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19062
19063         * configure.ac:
19064           releasing 0.9.7, "My Dog Has No Nose"
19065
19066 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19067
19068         * common/gst-xmlinspect.py:
19069         * configure.ac:
19070         * docs/libs/tmpl/gstdataprotocol.sgml:
19071         * docs/random/release:
19072         * po/af.po:
19073         * po/az.po:
19074         * po/bg.po:
19075         * po/ca.po:
19076         * po/cs.po:
19077         * po/de.po:
19078         * po/en_GB.po:
19079         * po/fr.po:
19080         * po/it.po:
19081         * po/nb.po:
19082         * po/nl.po:
19083         * po/ru.po:
19084         * po/sq.po:
19085         * po/sr.po:
19086         * po/sv.po:
19087         * po/tr.po:
19088         * po/uk.po:
19089         * po/vi.po:
19090         * win32/common/config.h:
19091         * win32/common/config.h.in:
19092         * win32/vs6/gst_inspect.dsp:
19093         * win32/vs6/gst_launch.dsp:
19094         * win32/vs6/libgstbase.dsp:
19095         * win32/vs6/libgstelements.dsp:
19096         * win32/vs6/libgstreamer.dsp:
19097         * win32/vs7/GStreamer.vcproj:
19098         * win32/vs7/gst-inspect.vcproj:
19099         * win32/vs7/gst-launch.vcproj:
19100         * win32/vs7/libgstbase.vcproj:
19101           bump GST_MAJORMINOR to 0.10
19102           reset libtool version
19103
19104 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19105
19106         * po/LINGUAS:
19107         * po/bg.po:
19108           Added Bulgarian translation by (Alexander Shopov)
19109
19110 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19111
19112         * tests/check/gst/gstplugin.c:
19113           fix test
19114
19115 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19116
19117         * common/gst-xmlinspect.py:
19118         * common/gtk-doc-plugins.mak:
19119         * configure.ac:
19120         * docs/Makefile.am:
19121         * docs/gst/Makefile.am:
19122         * docs/gst/gstreamer-docs.sgml:
19123         * docs/gst/gstreamer-sections.txt:
19124         * docs/gst/gstreamer.types:
19125         * docs/gst/gstreamer.types.in:
19126         * docs/plugins/Makefile.am:
19127         * docs/plugins/gstreamer-plugins-docs.sgml:
19128         * docs/plugins/gstreamer-plugins-sections.txt:
19129         * docs/plugins/gstreamer-plugins.types:
19130         * docs/plugins/inspect.stamp:
19131         * docs/plugins/inspect/plugin-coreelements.xml:
19132         * docs/plugins/inspect/plugin-coreindexers.xml:
19133         * docs/plugins/scanobj-build.stamp:
19134         * gstreamer.spec.in:
19135         * plugins/elements/Makefile.am:
19136         * plugins/elements/gstelements.c:
19137         * plugins/elements/gstfakesink.c:
19138         * plugins/elements/gstfakesrc.c:
19139         * plugins/elements/gstfilesink.c:
19140         * plugins/elements/gstfilesrc.c:
19141         * plugins/elements/gstqueue.c:
19142         * plugins/indexers/Makefile.am:
19143         * plugins/indexers/gstindexers.c:
19144           document core plugins in a separate document just like all the
19145           others
19146           rename these plugins to something starting with core
19147
19148 2005-12-01  Andy Wingo  <wingo@pobox.com>
19149
19150         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19151         padding here before, but it missed the commit.
19152
19153 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19154
19155         * libs/gst/controller/gstinterpolation.c:
19156           whitespace prices have crashed, we should feel free to use some now
19157           use gst_guint64_to_gdouble
19158
19159 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19160
19161         * libs/gst/controller/gstcontroller.c:
19162         * libs/gst/controller/gsthelper.c:
19163         * libs/gst/controller/gstinterpolation.c:
19164         * libs/gst/controller/lib.c:
19165           wrap config.h include
19166
19167 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19168
19169         * docs/gst/gstreamer-sections.txt:
19170           update docs
19171
19172 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19173
19174         * plugins/elements/gstelements.c:
19175         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19176         (gst_fd_sink__class_init), (gst_fd_sink__init),
19177         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19178         (gst_fd_sink__get_property):
19179         * plugins/elements/gstfdsink.h:
19180         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19181         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19182         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19183         (gst_fd_src_unlock), (gst_fd_src_set_property),
19184         (gst_fd_src_get_property), (gst_fd_src_create),
19185         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19186         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19187         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19188         (gst_fd_src_uri_handler_init):
19189         * plugins/elements/gstfdsrc.h:
19190         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19191           more anal cleanup
19192
19193 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19194
19195         * docs/gst/Makefile.am:
19196         * docs/gst/gstreamer.types.in:
19197         * gst/Makefile.am:
19198           fix the docs build
19199
19200 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19201
19202         * configure.ac:
19203         * gst/Makefile.am:
19204         * gst/gst.c:
19205         * gst/gstplugin.h:
19206         * gst/gstregistry.h:
19207         * tests/benchmarks/complexity.c:
19208         * tests/benchmarks/mass-elements.c:
19209         * tests/check/Makefile.am:
19210         * tools/Makefile.am:
19211         * tools/gst-inspect.c:
19212         * tools/gst-xmlinspect.c:
19213           various fixes to make
19214           --disable-nls --disable-registry --disable-loadsave
19215           --disable-parse --disable-gst-debug
19216           work and get the core .so down to 360444 bytes after stripping
19217
19218 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19219
19220         * Makefile.am:
19221         * configure.ac:
19222           descend into tests
19223         * docs/random/thomasvs/TODO:
19224         * tests/Makefile.am:
19225         * tests/README:
19226           add a README
19227
19228 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19229
19230         * win32/GStreamer.vcproj:
19231         * win32/MANIFEST:
19232         * win32/Makefile:
19233         * win32/Makefile.inspect:
19234         * win32/Makefile.launch:
19235         * win32/Makefile.register:
19236         * win32/README.txt:
19237         * win32/gst-inspect.vcproj:
19238         * win32/gst-launch.vcproj:
19239         * win32/gst-register.vcproj:
19240         * win32/gstelements.vcproj:
19241         * win32/gstgetbits.def:
19242         * win32/gstgetbits.vcproj:
19243         * win32/gstreamer-dbg.def:
19244         * win32/gstreamer.def:
19245         * win32/libgstbase.def:
19246         * win32/libgstbase.vcproj:
19247         * win32/link_oldruntime.c:
19248         * win32/mman.c:
19249         * win32/mman.h:
19250         * win32/mman.inl:
19251         * win32/msvc71.sln:
19252           move even more stuff, win32/ is nice and clean now
19253
19254 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19255
19256         * libs/gst/control/.cvsignore:
19257         * win32/MANIFEST:
19258         * win32/config.h:
19259         * win32/dirent.c:
19260         * win32/dirent.h:
19261         * win32/gstbytestream.def:
19262         * win32/gstbytestream.vcproj:
19263         * win32/gstconfig.h:
19264         * win32/gstenumtypes.c:
19265         * win32/gstenumtypes.h:
19266         * win32/gstoptimalscheduler.vcproj:
19267         * win32/gstversion.h:
19268         * win32/gtchar.h:
19269         * win32/testsuite/bins.vcproj:
19270         * win32/testsuite/bytestream.vcproj:
19271         * win32/testsuite/caps.vcproj:
19272         * win32/testsuite/cleanup.vcproj:
19273         * win32/testsuite/clock.vcproj:
19274         * win32/testsuite/debug.vcproj:
19275         * win32/testsuite/dlopen.vcproj:
19276         * win32/testsuite/dynparams.vcproj:
19277         * win32/testsuite/elements.vcproj:
19278         * win32/testsuite/ghostpads.vcproj:
19279         * win32/testsuite/indexers.vcproj:
19280         * win32/testsuite/negotiation.vcproj:
19281         * win32/testsuite/parse.vcproj:
19282         * win32/testsuite/plugin.vcproj:
19283         * win32/testsuite/refcounting.vcproj:
19284         * win32/testsuite/schedulers.vcproj:
19285         * win32/testsuite/states.vcproj:
19286         * win32/testsuite/tags.vcproj:
19287         * win32/testsuite/threads.vcproj:
19288           remove old win32 stuff that isn't maintained and should be
19289           reorganized
19290
19291 2005-11-30  Andy Wingo  <wingo@pobox.com>
19292
19293         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19294         loading the gst.interfaces python module bork.
19295
19296         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19297         available since GLib 2.2. Fixes #318031.
19298
19299 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19300
19301         * Makefile.am:
19302         * check/.cvsignore:
19303         * check/Makefile.am:
19304         * check/elements/.cvsignore:
19305         * check/elements/fakesrc.c:
19306         * check/elements/fdsrc.c:
19307         * check/elements/identity.c:
19308         * check/generic/.cvsignore:
19309         * check/generic/states.c:
19310         * check/gst-libs/.cvsignore:
19311         * check/gst-libs/controller.c:
19312         * check/gst-libs/gdp.c:
19313         * check/gst/.cvsignore:
19314         * check/gst/capslist.h:
19315         * check/gst/gst.c:
19316         * check/gst/gstbin.c:
19317         * check/gst/gstbuffer.c:
19318         * check/gst/gstbus.c:
19319         * check/gst/gstcaps.c:
19320         * check/gst/gstelement.c:
19321         * check/gst/gstevent.c:
19322         * check/gst/gstghostpad.c:
19323         * check/gst/gstiterator.c:
19324         * check/gst/gstmessage.c:
19325         * check/gst/gstminiobject.c:
19326         * check/gst/gstobject.c:
19327         * check/gst/gstpad.c:
19328         * check/gst/gstpipeline.c:
19329         * check/gst/gstplugin.c:
19330         * check/gst/gstsegment.c:
19331         * check/gst/gststructure.c:
19332         * check/gst/gstsystemclock.c:
19333         * check/gst/gsttag.c:
19334         * check/gst/gstutils.c:
19335         * check/gst/gstvalue.c:
19336         * check/net/.cvsignore:
19337         * check/net/gstnetclientclock.c:
19338         * check/net/gstnettimeprovider.c:
19339         * check/pipelines/.cvsignore:
19340         * check/pipelines/cleanup.c:
19341         * check/pipelines/simple_launch_lines.c:
19342         * check/pipelines/stress.c:
19343         * check/states/.cvsignore:
19344         * check/states/sinks.c:
19345         * configure.ac:
19346         * examples/Makefile.am:
19347         * examples/appreader/.cvsignore:
19348         * examples/appreader/Makefile.am:
19349         * examples/appreader/appreader.c:
19350         * examples/controller/.cvsignore:
19351         * examples/controller/Makefile.am:
19352         * examples/controller/audio-example.c:
19353         * examples/cutter/.cvsignore:
19354         * examples/cutter/Makefile.am:
19355         * examples/cutter/cutter.c:
19356         * examples/cutter/cutter.h:
19357         * examples/events/Makefile.am:
19358         * examples/events/seek.c:
19359         * examples/helloworld/.cvsignore:
19360         * examples/helloworld/Makefile.am:
19361         * examples/helloworld/helloworld.c:
19362         * examples/helloworld2/.cvsignore:
19363         * examples/helloworld2/Makefile.am:
19364         * examples/helloworld2/helloworld2.c:
19365         * examples/launch/.cvsignore:
19366         * examples/launch/Makefile.am:
19367         * examples/launch/mp3parselaunch.c:
19368         * examples/launch/mp3play:
19369         * examples/manual/.cvsignore:
19370         * examples/manual/Makefile.am:
19371         * examples/manual/extract.pl:
19372         * examples/metadata/Makefile.am:
19373         * examples/metadata/read-metadata.c:
19374         * examples/mixer/.cvsignore:
19375         * examples/mixer/Makefile.am:
19376         * examples/mixer/mixer.c:
19377         * examples/mixer/mixer.h:
19378         * examples/pingpong/.cvsignore:
19379         * examples/pingpong/Makefile.am:
19380         * examples/pingpong/pingpong.c:
19381         * examples/plugins/.cvsignore:
19382         * examples/plugins/Makefile.am:
19383         * examples/plugins/example.c:
19384         * examples/plugins/example.h:
19385         * examples/pwg/.cvsignore:
19386         * examples/pwg/Makefile.am:
19387         * examples/pwg/extract.pl:
19388         * examples/queue/.cvsignore:
19389         * examples/queue/Makefile.am:
19390         * examples/queue/queue.c:
19391         * examples/queue2/.cvsignore:
19392         * examples/queue2/Makefile.am:
19393         * examples/queue2/queue2.c:
19394         * examples/queue3/.cvsignore:
19395         * examples/queue3/Makefile.am:
19396         * examples/queue3/queue3.c:
19397         * examples/queue4/.cvsignore:
19398         * examples/queue4/Makefile.am:
19399         * examples/queue4/queue4.c:
19400         * examples/retag/.cvsignore:
19401         * examples/retag/Makefile.am:
19402         * examples/retag/retag.c:
19403         * examples/retag/transcode.c:
19404         * examples/thread/.cvsignore:
19405         * examples/thread/Makefile.am:
19406         * examples/thread/thread.c:
19407         * examples/typefind/.cvsignore:
19408         * examples/typefind/Makefile.am:
19409         * examples/typefind/typefind.c:
19410         * examples/xml/.cvsignore:
19411         * examples/xml/Makefile.am:
19412         * examples/xml/createxml.c:
19413         * examples/xml/runxml.c:
19414         * tests/Makefile.am:
19415         * tests/check/Makefile.am:
19416         * testsuite/.cvsignore:
19417         * testsuite/Makefile.am:
19418         * testsuite/Rules:
19419         * testsuite/caps/.cvsignore:
19420         * testsuite/caps/Makefile.am:
19421         * testsuite/caps/app_fixate.c:
19422         * testsuite/caps/audioscale.c:
19423         * testsuite/caps/caps.c:
19424         * testsuite/caps/caps.h:
19425         * testsuite/caps/caps_strings:
19426         * testsuite/caps/compatibility.c:
19427         * testsuite/caps/deserialize.c:
19428         * testsuite/caps/enumcaps.c:
19429         * testsuite/caps/eratosthenes.c:
19430         * testsuite/caps/filtercaps.c:
19431         * testsuite/caps/fixed.c:
19432         * testsuite/caps/fraction-convert.c:
19433         * testsuite/caps/fraction-multiply-and-zero.c:
19434         * testsuite/caps/intersect2.c:
19435         * testsuite/caps/intersection.c:
19436         * testsuite/caps/normalisation.c:
19437         * testsuite/caps/random.c:
19438         * testsuite/caps/renegotiate.c:
19439         * testsuite/caps/sets.c:
19440         * testsuite/caps/simplify.c:
19441         * testsuite/caps/string-conversions.c:
19442         * testsuite/caps/structure.c:
19443         * testsuite/caps/subtract.c:
19444         * testsuite/caps/union.c:
19445         * testsuite/debug/.cvsignore:
19446         * testsuite/debug/Makefile.am:
19447         * testsuite/debug/category.c:
19448         * testsuite/debug/commandline.c:
19449         * testsuite/debug/global.c:
19450         * testsuite/debug/output.c:
19451         * testsuite/debug/printf_extension.c:
19452         * testsuite/dlopen/.cvsignore:
19453         * testsuite/dlopen/Makefile.am:
19454         * testsuite/dlopen/dlopen_gst.c:
19455         * testsuite/dlopen/loadgst.c:
19456         * testsuite/elements/.cvsignore:
19457         * testsuite/elements/Makefile.am:
19458         * testsuite/elements/gst-inspect-check.in:
19459         * testsuite/elements/struct_i386.h:
19460         * testsuite/elements/struct_size.c:
19461         * testsuite/indexers/.cvsignore:
19462         * testsuite/indexers/Makefile.am:
19463         * testsuite/indexers/cache1.c:
19464         * testsuite/indexers/indexdump.c:
19465         * testsuite/parse/.cvsignore:
19466         * testsuite/parse/Makefile.am:
19467         * testsuite/parse/parse1.c:
19468         * testsuite/parse/parse2.c:
19469         * testsuite/plugin/.cvsignore:
19470         * testsuite/plugin/Makefile.am:
19471         * testsuite/plugin/README:
19472         * testsuite/plugin/dynamic.c:
19473         * testsuite/plugin/linked.c:
19474         * testsuite/plugin/loading.c:
19475         * testsuite/plugin/registry.c:
19476         * testsuite/plugin/static.c:
19477         * testsuite/plugin/static2.c:
19478         * testsuite/plugin/testplugin.c:
19479         * testsuite/plugin/testplugin2.c:
19480         * testsuite/plugin/testplugin2_s.c:
19481         * testsuite/plugin/testplugin_s.c:
19482         * testsuite/refcounting/.cvsignore:
19483         * testsuite/refcounting/Makefile.am:
19484         * testsuite/refcounting/bin.c:
19485         * testsuite/refcounting/element.c:
19486         * testsuite/refcounting/element_pad.c:
19487         * testsuite/refcounting/mainloop.c:
19488         * testsuite/refcounting/mem.c:
19489         * testsuite/refcounting/mem.h:
19490         * testsuite/refcounting/object.c:
19491         * testsuite/refcounting/pad.c:
19492         * testsuite/refcounting/sched.c:
19493         * testsuite/refcounting/thread.c:
19494         * testsuite/states/.cvsignore:
19495         * testsuite/states/Makefile.am:
19496         * testsuite/states/bin.c:
19497         * testsuite/states/locked.c:
19498         * testsuite/states/parent.c:
19499         * testsuite/threads/.cvsignore:
19500         * testsuite/threads/159566.c:
19501         * testsuite/threads/159852.c:
19502         * testsuite/threads/Makefile.am:
19503         * testsuite/threads/queue.c:
19504         * testsuite/threads/signals.c:
19505         * testsuite/threads/staticrec.c:
19506         * testsuite/threads/thread.c:
19507         * testsuite/threads/threadb.c:
19508         * testsuite/threads/threadc.c:
19509         * testsuite/threads/threadd.c:
19510         * testsuite/threads/threade.c:
19511         * testsuite/threads/threadf.c:
19512         * testsuite/threads/threadg.c:
19513         * testsuite/threads/threadh.c:
19514         * testsuite/threads/threadi.c:
19515           move all of these under tests
19516
19517 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19518
19519         * configure.ac:
19520         * tests/Makefile.am:
19521           fix distcheck
19522
19523 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19524
19525         * docs/gst/gstreamer-sections.txt:
19526         * tests/sched/.cvsignore:
19527         * tests/sched/Makefile.am:
19528         * tests/sched/cases/(fs-fs).xml:
19529         * tests/sched/cases/(fs-i-fs).xml:
19530         * tests/sched/cases/(fs-i-i-fs).xml:
19531         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19532         * tests/sched/dynamic-pipeline.c:
19533         * tests/sched/interrupt1.c:
19534         * tests/sched/interrupt2.c:
19535         * tests/sched/interrupt3.c:
19536         * tests/sched/runtestcases:
19537         * tests/sched/runxml.c:
19538         * tests/sched/sched-stress.c:
19539         * tests/sched/sort.c:
19540         * tests/sched/testcases:
19541         * tests/sched/testcases1.tc:
19542         * tests/seeking/.cvsignore:
19543         * tests/seeking/Makefile.am:
19544         * tests/seeking/seeking1.c:
19545         * tests/threadstate/.cvsignore:
19546         * tests/threadstate/Makefile.am:
19547         * tests/threadstate/test1.c:
19548         * tests/threadstate/test2.c:
19549         * tests/threadstate/threadstate1.c:
19550         * tests/threadstate/threadstate2.c:
19551         * tests/threadstate/threadstate3.c:
19552         * tests/threadstate/threadstate4.c:
19553         * tests/threadstate/threadstate5.c:
19554           remove obsolete tests
19555         * configure.ac:
19556         * tests/bench-complexity.scm:
19557         * tests/bench-mass_elements.scm:
19558         * tests/complexity.c:
19559         * tests/complexity.gnuplot:
19560         * tests/instantiate/.cvsignore:
19561         * tests/instantiate/Makefile.am:
19562         * tests/instantiate/caps.c:
19563         * tests/mass_elements.c:
19564         * tests/network-clock-utils.scm:
19565         * tests/network-clock.scm:
19566         * tests/plot-data:
19567         First pass at cleaning up tests/ dir before moving the rest
19568         Combined with CVS surgery
19569
19570 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19571
19572         * po/POTFILES.in:
19573           queue has moved, update
19574
19575 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19576
19577         * docs/gst/gstreamer-sections.txt:
19578           remove double entries from the docs
19579         * gst/gst_private.h:
19580         * gst/gstinfo.c: (_gst_debug_init):
19581           remove the THREAD debug category
19582         * gst/Makefile.am:
19583         * gst/gstqueue.c:
19584         * gst/gstqueue.h:
19585         * docs/gst/gstreamer.types:
19586         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19587         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19588           completely move queue and fix up debugging categories
19589
19590 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19591
19592         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19593           make initialization portable, using LL is not
19594
19595 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19596
19597         * win32/common/gstconfig.h:
19598           add large padding
19599
19600 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19601
19602         * win32/common/libgstreamer.def:
19603           rename symbols; sort base section
19604
19605 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19606
19607         * gst/gstclock.c: (do_linear_regression):
19608           remove crack non-portable handrolled DEBUG macro
19609
19610 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19611
19612         * docs/random/release:
19613           update notes
19614         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19615         (gst_object_flags_get_type), (register_gst_bin_flags),
19616         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19617         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19618         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19619         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19620         (gst_caps_flags_get_type), (register_gst_clock_return),
19621         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19622         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19623         (gst_clock_flags_get_type), (register_gst_state),
19624         (gst_state_get_type), (register_gst_state_change_return),
19625         (gst_state_change_return_get_type), (register_gst_state_change),
19626         (gst_state_change_get_type), (register_gst_element_flags),
19627         (gst_element_flags_get_type), (register_gst_core_error),
19628         (gst_core_error_get_type), (register_gst_library_error),
19629         (gst_library_error_get_type), (register_gst_resource_error),
19630         (gst_resource_error_get_type), (register_gst_stream_error),
19631         (gst_stream_error_get_type), (register_gst_event_type_flags),
19632         (gst_event_type_flags_get_type), (register_gst_event_type),
19633         (gst_event_type_get_type), (register_gst_seek_type),
19634         (gst_seek_type_get_type), (register_gst_seek_flags),
19635         (gst_seek_flags_get_type), (register_gst_format),
19636         (gst_format_get_type), (register_gst_index_certainty),
19637         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19638         (gst_index_entry_type_get_type),
19639         (register_gst_index_lookup_method),
19640         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19641         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19642         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19643         (gst_index_flags_get_type), (register_gst_debug_level),
19644         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19645         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19646         (gst_iterator_result_get_type), (register_gst_iterator_item),
19647         (gst_iterator_item_get_type), (register_gst_message_type),
19648         (gst_message_type_get_type), (register_gst_mini_object_flags),
19649         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19650         (gst_pad_link_return_get_type), (register_gst_flow_return),
19651         (gst_flow_return_get_type), (register_gst_activate_mode),
19652         (gst_activate_mode_get_type), (register_gst_pad_direction),
19653         (gst_pad_direction_get_type), (register_gst_pad_flags),
19654         (gst_pad_flags_get_type), (register_gst_pad_presence),
19655         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19656         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19657         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19658         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19659         (gst_plugin_flags_get_type), (register_gst_rank),
19660         (gst_rank_get_type), (register_gst_query_type),
19661         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19662         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19663         (gst_tag_flag_get_type), (register_gst_task_state),
19664         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19665         (gst_alloc_trace_flags_get_type),
19666         (register_gst_type_find_probability),
19667         (gst_type_find_probability_get_type), (register_gst_uri_type),
19668         (gst_uri_type_get_type), (register_gst_parse_error),
19669         (gst_parse_error_get_type):
19670         * win32/common/gstenumtypes.h:
19671         * win32/common/gstversion.h:
19672           update visual studio generated files
19673
19674 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19675
19676         * win32/vs6/libgstbase.dsp:
19677         * win32/vs6/libgstelements.dsp:
19678           update project files for new locations
19679
19680 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19681
19682         * Makefile.am:
19683           remove some files
19684         * README:
19685           reinstate and update
19686         * DEVEL:
19687         * REQUIREMENTS:
19688           removed
19689         * LICENSE:
19690         * docs/random/LICENSE:
19691           moved to random
19692
19693 2005-11-30  Edward Hervey  <edward@fluendo.com>
19694
19695         * gst/gsttypefind.c: (gst_type_find_register):
19696         * gst/gsttypefind.h:
19697         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19698         (gst_type_find_factory_dispose):
19699         * gst/gsttypefindfactory.h:
19700         Fix memory leak in GstTypeFindFactory.
19701
19702 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19703
19704         * gst/gst.c:
19705         * plugins/elements/Makefile.am:
19706         * plugins/elements/gstelements.c:
19707         * plugins/elements/gstqueue.c:
19708           move queue from core to the elements plugin
19709
19710 2005-11-29  Andy Wingo  <wingo@pobox.com>
19711
19712         * libs/gst/base/gstbasetransform.h: 
19713         * libs/gst/base/gstbasesrc.h: 
19714         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19715
19716         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19717         of pointers by which to pad very extensible base classes (like the
19718         ones in libs/gst/base).
19719
19720 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19721
19722         * docs/gst/gstreamer-docs.sgml:
19723         * docs/gst/gstreamer-sections.txt:
19724         * docs/libs/gstreamer-libs-docs.sgml:
19725         * docs/libs/gstreamer-libs-sections.txt:
19726           moving documentation from core to lib
19727
19728 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19729
19730         * check/Makefile.am:
19731         * configure.ac:
19732         * docs/gst/Makefile.am:
19733         * gst/Makefile.am:
19734         * gst/base/.cvsignore:
19735         * gst/base/Makefile.am:
19736         * gst/base/README:
19737         * gst/base/gstadapter.c:
19738         * gst/base/gstadapter.h:
19739         * gst/base/gstbasesink.c:
19740         * gst/base/gstbasesink.h:
19741         * gst/base/gstbasesrc.c:
19742         * gst/base/gstbasesrc.h:
19743         * gst/base/gstbasetransform.c:
19744         * gst/base/gstbasetransform.h:
19745         * gst/base/gstcollectpads.c:
19746         * gst/base/gstcollectpads.h:
19747         * gst/base/gstpushsrc.c:
19748         * gst/base/gstpushsrc.h:
19749         * gst/base/gsttypefindhelper.c:
19750         * gst/base/gsttypefindhelper.h:
19751         * gst/check/Makefile.am:
19752         * gst/check/gstcheck.c:
19753         * gst/check/gstcheck.h:
19754         * gst/net/Makefile.am:
19755         * gst/net/gstnet.h:
19756         * gst/net/gstnetclientclock.c:
19757         * gst/net/gstnetclientclock.h:
19758         * gst/net/gstnettimepacket.c:
19759         * gst/net/gstnettimepacket.h:
19760         * gst/net/gstnettimeprovider.c:
19761         * gst/net/gstnettimeprovider.h:
19762         * libs/gst/Makefile.am:
19763         * libs/gst/base/Makefile.am:
19764         * libs/gst/base/gstbasetransform.c:
19765         * libs/gst/check/Makefile.am:
19766         * plugins/elements/Makefile.am:
19767         * po/POTFILES.in:
19768           CVS surgery + support to move base, check, and net out of gst
19769           and into libs/gst
19770
19771 2005-11-29  Andy Wingo  <wingo@pobox.com>
19772
19773         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19774
19775         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19776         padding.
19777
19778         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19779
19780         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19781
19782         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19783
19784         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19785         padding; reduces object size by about 30%. We don't expect
19786         anything else to go into gstobject.
19787
19788         * gst/gstminiobject.h (struct _GstMiniObject)
19789         (struct _GstMiniObjectClass): Only one pointer of padding; the
19790         payload is only a pointer and two ints anyway. For the class there
19791         are only two methods as well.
19792         
19793         * gst/gstelement.h (struct _GstElementClass): Removed
19794         the state_changed signal callback, it is not used.
19795
19796 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19797
19798         * docs/gst/gstreamer.types:
19799           fix includes, though they are a little dinky
19800
19801 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19802
19803         * check/Makefile.am:
19804           look in the right place for elements, a lot more chance of
19805           success
19806         * gst/Makefile.am:
19807           remove indexers and elements subdirs
19808         * plugins/Makefile.am:
19809           make indexers conditional
19810
19811 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19812
19813         * Makefile.am:
19814         * configure.ac:
19815         * plugins/elements/Makefile.am:
19816         * plugins/elements/gstcapsfilter.c:
19817         * plugins/elements/gstfilesink.c:
19818         * plugins/elements/gstfilesrc.c:
19819         * plugins/elements/gstidentity.c:
19820         * plugins/indexers/Makefile.am:
19821           do CVS surgery and related build fixery to move elements
19822           and indexers in a new gstreamer/plugins directory, out of the
19823           gst/ directory
19824
19825 2005-11-29  Andy Wingo  <wingo@pobox.com>
19826
19827         * check/Makefile.am:
19828         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19829         * pkgconfig/gstreamer-net.pc.in:
19830         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19831         #322257.
19832
19833 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19834
19835         * tools/Makefile.am:
19836         * tools/gst-complete.1.in:
19837         * tools/gst-complete.c:
19838         * tools/gst-compprep.1.in:
19839         * tools/gst-compprep.c:
19840           removing -compprep and -complete
19841
19842 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19843
19844         * gst/gstevent.c: (gst_event_new_new_segment),
19845         (gst_event_parse_new_segment):
19846         * gst/gstevent.h:
19847           fix #320529 - clean up new_segment API and structure.
19848           Let's hope everyone was using the methods, and not the structure.
19849
19850 2005-11-29  Edward Hervey  <edward@fluendo.com>
19851
19852         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19853         (gst_base_sink_event), (gst_base_sink_do_sync),
19854         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19855         Properly handle non GST_FORMAT_TIME segment
19856         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19857         Properly handle non GST_FORMAT_TIME segment
19858         * gst/gstsegment.c:
19859         This function is valid if the accumulator is 0 and the format
19860         is different from the requested format.
19861         
19862 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19863
19864         * docs/gst/gstreamer-sections.txt:
19865         Add gst_query_new_seeking and gst_query_parse_seeking to the
19866         docs.
19867
19868 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19869
19870         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19871           Treat a pad alloc with new caps the same as if we were not
19872           negotiated, in order to allow a changing upstream output
19873           to produce a new format of data.
19874
19875 2005-11-29  Edward Hervey  <edward@fluendo.com>
19876
19877         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19878         (gst_base_transform_event), (gst_base_transform_eventfunc):
19879         The event virtual method is now properly implemented, with a default
19880         handler
19881         Sub classes should call the parent_class event method. They should
19882         return FALSE if they had a problem handling the given event, or don't
19883         want GstBaseTransform to send that even downstream
19884         * gst/elements/gstidentity.c: (gst_identity_class_init),
19885         (gst_identity_init), (gst_identity_event),
19886         (gst_identity_transform_ip), (gst_identity_set_property),
19887         (gst_identity_get_property):
19888         * gst/elements/gstidentity.h:
19889         Added the single-segment boolean property.
19890         If set to TRUE, it will output a single segment of data, starting from
19891         0, will eat up all incoming newsegment, and modify the timestamp of the
19892         buffers accordingly
19893
19894 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19895
19896         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19897           Don't ref NULL target pad (#322751). Improve docs.
19898
19899 2005-11-29  Michael Smith  <msmith@fluendo.com>
19900
19901         * gst/gstregistryxml.c: (load_plugin):
19902           Don't crash if we failed to load a feature from a plugin. 
19903
19904 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19905
19906         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19907         (GST_START_TEST):
19908           use more check API and less GLib API
19909
19910 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19911
19912         * Makefile.am:
19913           don't run checks if we don't have check
19914         * common/check.mak:
19915           remove the registry when running make torture
19916         * docs/gst/gstreamer-sections.txt:
19917           remove second multiply
19918         * gst/gstqueue.c: (gst_queue_loop):
19919           fix a compile warning when disabling debug
19920
19921 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19922
19923         * gst/gstinfo.h:
19924         Hey! Let's print the pad name if the pointer != NULL instead
19925         of when it == NULL :-)
19926
19927 2005-11-28  Wim Taymans  <wim@fluendo.com>
19928
19929         * check/gst/gstutils.c: (GST_START_TEST):
19930         Updated check, add some scaling accuracy checking code.
19931
19932         * gst/gstutils.c: (gst_util_div128_64),
19933         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19934         (gst_util_uint64_scale_int):
19935         Fix 6 times faster division code. Optimize for common 
19936         1/1 and less common X/1 cases.
19937
19938 2005-11-28  Wim Taymans  <wim@fluendo.com>
19939
19940         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19941         More checks.
19942
19943         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19944         (do_linear_regression), (gst_clock_add_observation):
19945         Cleanups.
19946         Release lock when the clock cannot be slaved.
19947         Catch the case where the regression returned an invalid denominator.
19948
19949         * gst/gstutils.c: (gst_util_div128_64_iterate),
19950         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19951         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19952         Add protentially more performant non-iterative 128/64 divide function
19953         that unfortunatly does not work yet.
19954         Shortcut the trivial 0/X = 0 case.
19955         Remove the warnings on overflow.
19956
19957 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19958
19959         * gst/gstplugin.c: (gst_plugin_register_func):
19960           everything causing a plugin not to load should be at least a WARNING
19961
19962 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19963
19964         * docs/random/ensonic/dparams.txt:
19965           some TODOs for the next dev cycle
19966         * libs/gst/controller/gstcontroller.c:
19967         (gst_controlled_property_set_interpolation_mode),
19968         (gst_controlled_property_new):
19969         * libs/gst/controller/gstcontroller.h:
19970           use base type to assign acccessor functions
19971
19972 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19973
19974         * check/Makefile.am:
19975         Oops, that should have been top_srcdir
19976
19977 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19978
19979         * check/Makefile.am:
19980         * check/elements/fdsrc.c: (GST_START_TEST):
19981         Use a cmdline define to specify the location of a file to use for
19982         testing, to avoid breaking distcheck.
19983
19984 2005-11-28  Andy Wingo  <wingo@pobox.com>
19985
19986         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19987
19988 2005-11-28  Edward Hervey  <edward@fluendo.com>
19989
19990         * tools/gst-launch.c: (main):
19991         Clarify the output strings, makes it easier to translate.
19992         Fixes #322626
19993
19994 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19995
19996         * gst/Makefile.am:
19997           don't try and build net if we don't even have <sys/socket.h>
19998
19999 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20000
20001         * check/Makefile.am:
20002         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20003         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20004           Add tests for fdsrc seekability
20005
20006         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20007         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20008         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20009         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20010         * gst/elements/gstfdsrc.h:
20011           fdsrc should not be a 'live' source.
20012           Implement seeking on seekable fd's.
20013
20014         * gst/gstquery.c: (gst_query_new_seeking),
20015         (gst_query_parse_seeking):
20016         * gst/gstquery.h:
20017           Implement SEEKING query functions: 
20018             *_new_seeking and *_parse_seeking
20019
20020 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20021
20022         * gst/gstelement.c: (gst_element_dispose):
20023           don't loop forever
20024
20025         * gst/gstiterator.c:
20026         * gst/gststructure.c:
20027           doc fixes
20028
20029         * libs/gst/controller/gstcontroller.c:
20030         (gst_controlled_property_set_interpolation_mode):
20031         * libs/gst/controller/gstcontroller.h:
20032         * libs/gst/controller/gstinterpolation.c:
20033         (interpolate_none_get_enum_value_array):
20034           support controlling enums
20035
20036 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20037
20038         * gst/gstvalue.c:
20039           Improve documentation for gst_value_union().
20040
20041         * gst/gstvalue.h:
20042           Change return value for union, intersect and subtract functions
20043           from gint to gboolean.
20044
20045 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20046
20047         * gst/gstvalue.c: (gst_value_serialize_any_list),
20048         (gst_value_transform_any_list_string),
20049         (gst_value_deserialize_list), (gst_value_deserialize_array),
20050         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20051         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20052         (gst_value_set_fraction_range_full),
20053         (gst_value_deserialize_fraction_range),
20054         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20055         (gst_value_deserialize_boolean),
20056         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20057         (gst_value_serialize_float), (gst_value_deserialize_float),
20058         (gst_string_wrap), (gst_value_deserialize_string),
20059         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20060         (gst_value_union_int_range_int_range),
20061         (gst_value_intersect_int_range_int_range),
20062         (gst_value_intersect_double_range_double_range),
20063         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20064         (gst_value_subtract_int_range_int_range),
20065         (gst_value_subtract_double_double_range),
20066         (gst_value_subtract_double_range_double_range),
20067         (gst_value_deserialize_fraction):
20068         * gst/gstvalue.h:
20069           Use gint, gdouble and gchar in our API instead of int, double and
20070           char (and make usage in gstvalue.c more consistent).
20071
20072 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20073
20074         * check/Makefile.am:
20075         * libs/gst/controller/Makefile.am:
20076         * libs/gst/dataprotocol/Makefile.am:
20077           fix up Makefile.am and remove GST_ENABLE_NEW
20078
20079 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20080
20081         * configure.ac:
20082         * gst/Makefile.am:
20083         * gst/base/Makefile.am:
20084         * gst/check/Makefile.am:
20085         * gst/elements/Makefile.am:
20086         * gst/net/Makefile.am:
20087           update LDFLAGS use some more
20088
20089 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20090
20091         * common/m4/gst-doc.m4:
20092           Fixes #312589
20093
20094 2005-11-26  Edward Hervey  <edward@fluendo.com>
20095
20096         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20097         This shouldn't issue a g_warning since it returns NULL if it
20098         couldn't find the plugin, and all functions using this behave
20099         properly on a NULL return. Switching to a GST_WARNING.
20100
20101 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20102
20103         * gst/gstbin.c: (gst_bin_handle_message_func):
20104         Don't leak clock messages.
20105
20106 2005-11-25  Wim Taymans  <wim@fluendo.com>
20107
20108         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20109         (gst_util_uint64_scale_int):
20110         Optimisations, remove unneeded vars.
20111
20112 2005-11-25  Wim Taymans  <wim@fluendo.com>
20113
20114         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20115         Added more checks for the high precision uint64 cases.
20116
20117         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20118         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20119         Implement high precision (guint64 * guint64) / guint64.
20120
20121 2005-11-24  Wim Taymans  <wim@fluendo.com>
20122
20123         * gst/base/gstbasesrc.c: (gst_base_src_query):
20124         Fix wrong percentage query.
20125
20126         * gst/gstutils.c: (gst_util_uint64_scale),
20127         (gst_util_uint64_scale_int):
20128         Add some more common cases that can be handled 
20129         efficiently to _scale.
20130
20131 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20132
20133         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20134         (gst_mini_object_suite):
20135           don't use check calls from threads; check probably isn't
20136           threadsafe and using a lock to make it threadsafe would
20137           defeat the purpose of this check
20138         * gst/check/gstcheck.c:
20139         * gst/check/gstcheck.h:
20140           use GST_DEBUG some more
20141
20142 2005-11-24  Wim Taymans  <wim@fluendo.com>
20143
20144         * gst/gstutils.c: (gst_util_uint64_scale),
20145         (gst_util_uint64_scale_int):
20146         Chain trivial case to _scale_int.
20147
20148 2005-11-24  Wim Taymans  <wim@fluendo.com>
20149
20150         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20151         Added test for scaling.
20152
20153         * gst/gstclock.h:
20154         Small doc fix.
20155
20156         * gst/gstutils.c: (gst_util_uint64_scale_int):
20157         Implemented high precision scaling code.
20158
20159 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20160
20161         * gst/gstinfo.h:
20162           do not crash on pad==NULL
20163
20164 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20165
20166         Patch by: Stefan Kost
20167
20168         * common/gtk-doc.mak:
20169         * docs/gst/Makefile.am:
20170         * docs/libs/Makefile.am:
20171           Fix distcheck issues for the libraries docs build
20172           Closes #319599.
20173
20174 2005-11-24  Michael Smith <msmith@fluendo.com>
20175
20176         * docs/manual/basics-helloworld.xml:
20177           Fix bug #315027: memory leak in example code in docs.
20178
20179 2005-11-24  Michael Smith <msmith@fluendo.com>
20180
20181         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20182           Unlock the PREROLL_LOCK in a failure case.
20183
20184 2005-11-24  Wim Taymans  <wim@fluendo.com>
20185
20186         * docs/gst/gstreamer-sections.txt:
20187         * gst/base/gstadapter.h:
20188         * gst/base/gstbasesink.h:
20189         * gst/base/gstbasesrc.h:
20190         * gst/base/gstbasetransform.h:
20191         * gst/base/gstpushsrc.h:
20192         * gst/elements/gstfakesink.h:
20193         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20194         * gst/elements/gstfakesrc.h:
20195         * gst/elements/gstfilesink.h:
20196         * gst/elements/gstfilesrc.h:
20197         * gst/gst.c:
20198         * gst/gstbin.c:
20199         * gst/gstbuffer.c: (_gst_buffer_copy):
20200         * gst/gstbus.h:
20201         * gst/gstcaps.c:
20202         * gst/gstchildproxy.c:
20203         * gst/gstclock.c:
20204         * gst/gstelement.c:
20205         * gst/gstelementfactory.c:
20206         * gst/gstelementfactory.h:
20207         * gst/gstevent.c:
20208         * gst/gstghostpad.h:
20209         * gst/gstindex.h:
20210         * gst/gstinterface.h:
20211         * gst/gstminiobject.c:
20212         * gst/gstminiobject.h:
20213         * gst/gstpad.c:
20214         * gst/gstpad.h:
20215         * gst/gstpadtemplate.h:
20216         * gst/gstpipeline.h:
20217         * gst/gstpluginfeature.h:
20218         * gst/gstquery.h:
20219         * gst/gstqueue.h:
20220         * gst/gsttaglist.c:
20221         * gst/gsttaglist.h:
20222         * gst/gsttagsetter.c:
20223         * gst/gsttagsetter.h:
20224         * gst/gsttrace.c:
20225         * gst/gsttrace.h:
20226         * gst/gsttypefind.h:
20227         * gst/gsturi.h:
20228         * gst/gstvalue.c:
20229         * gst/net/gstnetclientclock.c:
20230         * gst/net/gstnetclientclock.h:
20231         * gst/net/gstnettimepacket.c:
20232         * gst/net/gstnettimeprovider.c:
20233         * gst/net/gstnettimeprovider.h:
20234         Doc fixes.
20235
20236 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20237
20238         * configure.ac: back to HEAD
20239
20240 === release 0.9.6 ===
20241
20242 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20243
20244         * configure.ac:
20245           releasing 0.9.6, "Always On Time"
20246
20247 2005-11-23  Wim Taymans  <wim@fluendo.com>
20248
20249         * docs/gst/gstreamer-sections.txt:
20250         * gst/glib-compat.c:
20251         * gst/gsttagsetter.c:
20252         * gst/gstvalue.c:
20253         * gst/net/gstnetclientclock.c:
20254         * gst/net/gstnettimepacket.h:
20255         Doc updates.
20256
20257 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20258
20259         * docs/faq/using.xml:
20260         * docs/libs/tmpl/gstcontrol.sgml:
20261         * docs/manual/advanced-dparams.xml:
20262         * docs/manual/appendix-checklist.xml:
20263         * docs/manual/basics-elements.xml:
20264         * docs/pwg/other-source.xml:
20265         * docs/random/moving-plugins:
20266         * gst/gstpad.c:
20267         * tools/gst-launch.1.in:
20268           remove mentions of sinesrc
20269
20270 2005-11-23  Michael Smith <msmith@fluendo.com>
20271
20272         * docs/gst/gstreamer-sections.txt:
20273           Update for new API and API changes.
20274         * gst/gstobject.h:
20275           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20276         * gst/gstvalue.c:
20277           Documentation typo fix.
20278         * gst/net/gstnettimepacket.c:
20279           Documentation fixes for arguments.
20280
20281 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20282
20283         * gst/gststructure.c: (gst_structure_get_fraction),
20284         (gst_structure_parse_value),
20285         (gst_structure_fixate_field_nearest_fraction):
20286         * gst/gststructure.h:
20287         * gst/gstutils.c: (gst_util_uint64_scale_int):
20288         * gst/gstutils.h:
20289         * scripts/update-funcnames:
20290         API Changes. 
20291         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20292         Make gst_structure_fixate_field_nearest_fraction take a numerator
20293         and denominator argument instead of a GValue
20294         add gst_structure_get_fraction helper function.
20295
20296 2005-11-23  Wim Taymans  <wim@fluendo.com>
20297
20298         * docs/design/part-TODO.txt:
20299         Update TODO.
20300
20301         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20302         * gst/net/gstnetclientclock.h:
20303         Use parent fields for timeout and window_size.
20304
20305 2005-11-23  Andy Wingo  <wingo@pobox.com>
20306
20307         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20308         rate_num/rate_denom change.
20309
20310         * gst/net/gstnetclientclock.c
20311         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20312         OBJECT_LOCK. Don't call add_observation with the lock.
20313
20314         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20315         fraction.
20316         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20317         rate fraction.
20318         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20319         deal with rate as a fraction whose numerator and denominator are
20320         GstClockTime values.
20321         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20322         master; the other fields are protected by the SLAVE_LOCK.
20323         (do_linear_regression): Note that this must be called with the
20324         SLAVE_LOCK.
20325         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20326         OBJECT_LOCK. Call set_calibration instead of touching the
20327         variables directly.
20328         (gst_clock_set_property, gst_clock_get_property): Protect
20329         master/slave parameters with the SLAVE_LOCK.
20330
20331         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20332         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20333         note that all of the instance variables that add_observation and
20334         the set_master functions use are protected by that lock and not
20335         the OBJECT_LOCK.
20336         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20337
20338         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20339         the caller to take the object lock.
20340
20341 2005-11-23  Wim Taymans  <wim@fluendo.com>
20342
20343         * gst/gsterror.c: (_gst_core_errors_init):
20344         * gst/gsterror.h:
20345         Add error for clock stuff.
20346
20347         * gst/gstpipeline.c: (gst_pipeline_change_state),
20348         (gst_pipeline_set_clock):
20349         Post clock error when clock cannot be used in a pipeline.
20350
20351 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20352
20353         * docs/gst/gstreamer-sections.txt:
20354           make two symbols from gstinfo private for the docs
20355         * gst/base/gstcollectpads.h:
20356         * gst/gstutils.c:
20357           fix doc typos, update docs
20358
20359 2005-11-22  Wim Taymans  <wim@fluendo.com>
20360
20361         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20362         (gst_base_sink_wait), (gst_base_sink_do_sync),
20363         (gst_base_sink_handle_event):
20364         * gst/base/gstbasesink.h:
20365         No need to store the clock, the parent element class already
20366         has it.
20367
20368         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20369         Updates for clock_set returning a gboolean
20370
20371         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20372         (gst_clock_id_wait_async), (gst_clock_class_init),
20373         (gst_clock_init), (gst_clock_finalize),
20374         (gst_clock_get_internal_time), (gst_clock_get_time),
20375         (gst_clock_slave_callback), (gst_clock_set_master),
20376         (gst_clock_get_master), (do_linear_regression),
20377         (gst_clock_add_observation), (gst_clock_set_property),
20378         (gst_clock_get_property):
20379         * gst/gstclock.h:
20380         Implement master/slave. When setting a clock as a slave, a
20381         periodic timeout is scheduled to sample master and slave times.
20382         Then the slave clock is recalibrated to match offset and rate
20383         of the master clock.
20384         Update logging a bit.
20385         Add flag so that a clock can state that is cannot be slaved to
20386         another clock.
20387
20388         * gst/gstelement.c: (gst_element_set_clock):
20389         * gst/gstelement.h:
20390         The set clock returns a gboolean for when an element cannot
20391         deal with the selected clock in the pipeline. 
20392
20393         * gst/gstpipeline.c: (gst_pipeline_change_state),
20394         (gst_pipeline_set_clock):
20395         * gst/gstpipeline.h:
20396         Handle the case where the selected clock cannot be set on
20397         the pipeline.
20398
20399         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20400         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20401         (gst_net_client_clock_set_property),
20402         (gst_net_client_clock_get_property),
20403         (gst_net_client_clock_observe_times):
20404         * gst/net/gstnetclientclock.h:
20405         Use regression code in GstClock parent, remove duplicated
20406         functionality.
20407
20408 2005-11-22  Michael Smith <msmith@fluendo.com>
20409
20410         * gst/gstutils.c: (gst_util_clock_time_scale):
20411         * gst/gstutils.h:
20412         * docs/gst/gstreamer-sections.txt:
20413           Rename method to have extra underscore.
20414
20415 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20416
20417         * gst/elements/Makefile.am:
20418         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20419         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20420         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20421         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20422         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20423         * gst/elements/gstfakesrc.h:
20424         * gst/gstqueue.c: (queue_leaky_get_type):
20425           correctly fix GEnumValues so that nick is the short lowercase
20426           dashed tag
20427         * tools/gst-inspect.c: (print_element_properties_info):
20428           also show the nick, since it's useful to use from parse_launch
20429           syntax
20430           Fixes #322139
20431
20432 2005-11-22  Michael Smith <msmith@fluendo.com>
20433
20434         * gst/gstutils.c: (gst_util_clocktime_scale):
20435         * gst/gstutils.h:
20436         * docs/gst/gstreamer-sections.txt:
20437           Add util method for scaling a clocktime by a fraction. Useful 
20438           implementation is left as an exercise for the reader.
20439
20440 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20441
20442         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20443         If needed, allocate storage in the destination value during
20444         collection.
20445
20446 2005-11-22  Edward Hervey  <edward@fluendo.com>
20447
20448         * docs/gst/gstreamer-sections.txt:
20449         * gst/Makefile.am:
20450         * gst/gst.h:
20451         * gst/gsturitype.c:
20452         * gst/gsturitype.h:
20453         * gst/gstutils.c: (gst_util_set_object_arg):
20454         * tools/gst-compprep.c: (main):
20455         * tools/gst-inspect.c: (print_element_properties_info):
20456         Removed GstURI, closes bug #321061
20457
20458 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20459
20460         * check/gst/gststructure.c: (GST_START_TEST):
20461         * gst/gststructure.c: (gst_structure_parse_value):
20462           Oops, broke automatic string type parsing.
20463           Add a test to catch it in future.
20464
20465 2005-11-22  Andy Wingo  <wingo@pobox.com>
20466
20467         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20468         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20469         Actually rename the function implementations. Grr.
20470
20471 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20472
20473         * check/gst/capslist.h:
20474           Comment test cases
20475         * check/gst/gststructure.c: (GST_START_TEST),
20476         (gst_structure_suite):
20477           Test automatic value type detection in gst_structure_from_string.
20478         * gst/gststructure.c: (gst_structure_parse_value):
20479           Add fraction as a type we try and guess automatically in
20480           caps/structure strings.
20481
20482 2005-11-22  Andy Wingo  <wingo@pobox.com>
20483
20484         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20485
20486         * gst/gsttagsetter.h:
20487         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20488         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20489         (gst_tag_setter_add_tag_valist)
20490         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20491         _add_values, _add_valist, and _add_valist_values. Since this is an
20492         interface the function suffixes should be more explicit so
20493         language binding don't end up with element.add_valist ->
20494         gst_tag_setter_add_valist, for example. Fixes #322069.
20495
20496 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20497
20498         * check/gst/gstcaps.c: (GST_START_TEST):
20499           Extend caps string tests to check that a caps to string
20500           conversion is reversible and produces the same caps.
20501
20502         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20503           Output "fraction" as the generic type fraction range, so caps
20504           serialisation and deserialisation works.
20505         * check/gst/capslist.h:
20506         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20507           Support 'MIN' and 'MAX' for deserialising fractions.
20508
20509 2005-11-22  Andy Wingo  <wingo@pobox.com>
20510
20511         * gst/gstevent.h (gst_event_new_new_segment)
20512         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20513         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20514         Renamed from *_newsegment, *_buffersize, *_notarget.
20515
20516         * scripts/update-funcnames: New script, performs the changes
20517         listed above.
20518
20519 2005-11-22  Wim Taymans  <wim@fluendo.com>
20520
20521         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20522         Make sure the GstFlowReturn is returned.
20523
20524         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20525         (gst_bus_add_signal_watch):
20526         * gst/gstbus.h:
20527         add gst_bus_add_signal_watch_full.
20528
20529         * gst/gstplugin.c: (gst_plugin_load_file):
20530         Small style cleanup.
20531
20532 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20533
20534         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20535           Block the fakesrc srcpad when we send an event, to avoid
20536           contention on the stream_lock causing random test failures.
20537
20538 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20539
20540         * check/gst/gstvalue.c: (GST_START_TEST):
20541         * gst/gstvalue.c: (gst_value_fraction_subtract):
20542           Fix subtraction.
20543
20544 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20545
20546         * gst/gst.h:
20547           include "gstchildproxy.h"
20548         * gst/gstchildproxy.h:
20549         * libs/gst/controller/gstcontroller.h:
20550           use G_GNUC_NULL_TERMINATED
20551
20552 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20553
20554         * check/gst/capslist.h:
20555         * check/gst/gstcaps.c: (GST_START_TEST):
20556         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20557         * gst/gststructure.c: (gst_structure_parse_range),
20558         (gst_structure_fixate_field_nearest_fraction):
20559         * gst/gststructure.h:
20560         * gst/gstvalue.c: (gst_value_init_fraction_range),
20561         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20562         (gst_value_collect_fraction_range),
20563         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20564         (gst_value_set_fraction_range_full),
20565         (gst_value_get_fraction_range_min),
20566         (gst_value_get_fraction_range_max),
20567         (gst_value_serialize_fraction_range),
20568         (gst_value_transform_fraction_range_string),
20569         (gst_value_compare_fraction_range),
20570         (gst_value_deserialize_fraction_range),
20571         (gst_value_intersect_fraction_fraction_range),
20572         (gst_value_intersect_fraction_range_fraction_range),
20573         (gst_value_subtract_fraction_fraction_range),
20574         (gst_value_subtract_fraction_range_fraction),
20575         (gst_value_subtract_fraction_range_fraction_range),
20576         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20577         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20578         (gst_value_transform_string_fraction), (_gst_value_initialize):
20579         * gst/gstvalue.h:
20580           Implement fraction ranges and extend GstFraction to support
20581           arithmetic subtraction, as well as deserialization from integer
20582           strings such as "100"
20583           Add a testsuite as for int and double range set operations
20584
20585 2005-11-21  Andy Wingo  <wingo@pobox.com>
20586
20587         * gst/gsttaglist.h: 
20588         * gst/gstcaps.h: 
20589         * gst/gststructure.h: Add glib-compat.h.
20590
20591 2005-11-21  Wim Taymans  <wim@fluendo.com>
20592
20593         * gst/gstbin.c: (gst_bin_change_state_func):
20594         Fix for #321595
20595
20596 2005-11-21  Wim Taymans  <wim@fluendo.com>
20597
20598         * gst/gstsegment.h:
20599         And add a nice define too.
20600
20601 2005-11-21  Wim Taymans  <wim@fluendo.com>
20602
20603         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20604         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20605         (gst_segment_set_duration), (gst_segment_set_last_stop),
20606         (gst_segment_set_seek), (gst_segment_set_newsegment),
20607         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20608         (gst_segment_clip):
20609         * gst/gstsegment.h:
20610         Make binding friendly.
20611
20612 2005-11-21  Andy Wingo  <wingo@pobox.com>
20613
20614         * gst/gsttagsetter.h: 
20615         * gst/gsttaglist.h: 
20616         * gst/gststructure.h: 
20617         * gst/gstcaps.h: 
20618         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20619         #319940.
20620
20621         * gst/gsterror.c (_gst_core_errors_init):
20622         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20623         category.
20624
20625         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20626         (noinst_HEADERS): noinst the -private.
20627
20628 2005-11-21  Michael Smith <msmith@fluendo.com>
20629
20630         * gst/gstplugin.h:
20631         * gst/gstregistry.h:
20632           Remove unimplemented declarations for which we can see no sensible
20633           use.
20634
20635 2005-11-21  Andy Wingo  <wingo@pobox.com>
20636
20637         * gst/gst.h: Include glib-compat.h.
20638
20639         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20640
20641         * gst/glib-compat.c: Include the public and the private header.
20642
20643         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20644
20645         * gst/gstvalue.c: 
20646         * gst/gstpad.c: 
20647         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20648
20649         * check/gst/gstevent.c (create_custom_events): Check that
20650         FLUSH_STOP is serialized.
20651
20652         * check/elements/identity.c (event_func): 
20653         * check/elements/fakesrc.c (event_func): No stream lock, the core
20654         takes it.
20655
20656         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20657         stream lock taking, yay.
20658
20659         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20660         ensure that core takes the stream lock.
20661
20662         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20663         lock name change.
20664
20665         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20666         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20667         it already. For the flush start we do take it though so we get the
20668         right preroll state change messages.
20669
20670         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20671         the stream lock here, the core does it for us.
20672
20673         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20674         GST_STREAM_GET_LOCK.
20675         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20676         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20677         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20678         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20679         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20680         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20681
20682         * gst/gstpad.c: Update for stream lock name change.
20683
20684         * gst/base/gstbasesink.c: Update for preroll lock name change.
20685
20686 2005-11-21  Wim Taymans  <wim@fluendo.com>
20687
20688         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20689         (gst_clock_get_master):
20690         * gst/gstclock.h:
20691         * gst/gstsystemclock.c: (gst_system_clock_init):
20692         Convert Clock flags to object flags.
20693         Added methods to manage master/slave clocks.
20694
20695 2005-11-21  Wim Taymans  <wim@fluendo.com>
20696
20697         * check/gst/gstsegment.c: (GST_START_TEST):
20698         * docs/design/part-TODO.txt:
20699         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20700         (gst_base_sink_event), (gst_base_sink_do_sync),
20701         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20702         (gst_base_sink_query), (gst_base_sink_change_state):
20703         * gst/base/gstbasesink.h:
20704         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20705         (gst_base_src_default_newsegment),
20706         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20707         (gst_base_src_get_range), (gst_base_src_loop),
20708         (gst_base_src_change_state):
20709         * gst/base/gstbasesrc.h:
20710         * gst/base/gstbasetransform.c:
20711         (gst_base_transform_prepare_output_buf),
20712         (gst_base_transform_event), (gst_base_transform_change_state):
20713         * gst/base/gstbasetransform.h:
20714         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20715         (gst_collect_pads_event):
20716         * gst/base/gstcollectpads.h:
20717         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20718         (gst_fake_src_create):
20719         * gst/elements/gstfakesrc.h:
20720         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20721         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20722         (gst_segment_set_last_stop), (gst_segment_set_seek),
20723         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20724         (gst_segment_to_running_time), (gst_segment_clip):
20725         * gst/gstsegment.h:
20726         More segment updates, replace code in plugins with segment
20727         helper functions.
20728
20729 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20730
20731         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20732         Don't ignore sscanf results
20733
20734 2005-11-21  Andy Wingo  <wingo@pobox.com>
20735
20736         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20737
20738         * *.h:
20739         * *.c: Ran scripts/update-macros. Oh yes.
20740
20741         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20742         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20743         GST_GET_LOCK, etc.
20744
20745         * scripts/update-macros: New script. Run it on your files to
20746         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20747         well.
20748
20749 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20750
20751         * docs/gst/Makefile.am:
20752         * docs/gst/gstreamer-docs.sgml:
20753         * docs/gst/gstreamer-sections.txt:
20754         * docs/gst/gstreamer.types:
20755         * gst/gstinfo.h:
20756           more docs fixes, add new api to the docs
20757
20758 2005-11-21  Andy Wingo  <wingo@pobox.com>
20759
20760         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20761         state_broadcast call.
20762
20763         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20764
20765 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20766
20767         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20768         function calls for arrays.
20769
20770 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20771
20772         * docs/random/ensonic/media-device-daemon.txt:
20773           wild idea, can this be done?
20774         * docs/gst/gstreamer-sections.txt:
20775         * gst/gsterror.h:
20776         * gst/gstfilter.c:
20777         * gst/gstfilter.h:
20778         * gst/gstplugin.h:
20779         * gst/gstpluginfeature.c:
20780         * gst/gsttrace.c:
20781         * gst/gstvalue.c:
20782         * gst/gstvalue.h:
20783           doc fixes and additions
20784
20785 2005-11-21  Andy Wingo  <wingo@pobox.com>
20786
20787         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20788         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20789         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20790         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20791         private to the basesrc implementation.
20792
20793         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20794         behalf of event function if necessary. It should no longer be
20795         necessary to take the stream lock in pad's event functions. Fixes
20796         #320299.
20797
20798 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20799         * docs/gst/gstreamer-sections.txt:
20800         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20801         (gst_structure_fixate_field_nearest_double),
20802         (gst_structure_fixate_field_boolean):
20803         * gst/gststructure.h:
20804         * win32/common/libgstreamer.def:
20805         * win32/gstreamer.def:
20806
20807         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20808         (#322027)
20809
20810 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20811
20812         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20813         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20814         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20815         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20816         (gst_fdsrc_uri_handler_init):
20817         * gst/elements/gstfdsrc.h:
20818           Port fd:// URI handler from 0.8 to fdsrc
20819
20820 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20821
20822         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20823         (gst_value_serialize_fourcc):
20824         * gst/gstvalue.h:
20825           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20826           consistent with our other format defines (#320324).
20827
20828 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20829
20830         * gst/gstvalue.c: (gst_value_is_fixed):
20831           Revert previous commit. Value lists are by definition
20832           not fixed, as they are a list of possible values.
20833
20834 2005-11-21  Andy Wingo  <wingo@pobox.com>
20835
20836         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20837         during the stable series if we need it. Fixes #319178.
20838
20839         * gst/gstevent.c (gst_event_new_filler): Removed.
20840
20841         * check/gst/gstevent.c: Update comment about filler events.
20842
20843 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20844
20845         * gst/gstvalue.c: (gst_value_is_fixed):
20846           Should handle both value arrays and value lists.
20847
20848 2005-11-21  Andy Wingo  <wingo@pobox.com>
20849
20850         patch by: Alessandro Dessina <alessandro nnva org>
20851
20852         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20853         functions to access arrays. Fixes #321962.
20854
20855 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20856
20857         * docs/gst/gstreamer.types:
20858           gst_collectpads_get_type => gst_collect_pads_get_type.
20859           
20860         * gst/base/gstbasetransform.c:
20861           Remove unused SIGNAL_HANDOFF enum.
20862
20863 2005-11-21  Andy Wingo  <wingo@pobox.com>
20864
20865         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20866         the event type (upstream, downstream, serialized). Renamed
20867         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20868         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20869         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20870
20871         * gst/gstevent.c: Update for new CUSTOM event names.
20872
20873         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20874
20875         * gst/gstevent.h:
20876         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20877         bug #319392.
20878
20879 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20880
20881         * docs/gst/gstreamer-sections.txt:
20882         * win32/common/libgstbase.def:
20883         * win32/libgstbase.def:
20884         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20885         (gst_collect_pads_class_init), (gst_collect_pads_init),
20886         (gst_collect_pads_finalize), (gst_collect_pads_new),
20887         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20888         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20889         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20890         (gst_collect_pads_start), (gst_collect_pads_stop),
20891         (gst_collect_pads_peek), (gst_collect_pads_pop),
20892         (gst_collect_pads_available), (gst_collect_pads_read),
20893         (gst_collect_pads_flush), (gst_collect_pads_event),
20894         (gst_collect_pads_chain):
20895         * gst/base/gstcollectpads.h:
20896           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20897           unimplemented functions as unimplemented. Add padding to
20898           GstCollectData. (#320766, #320423)
20899
20900 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20901
20902         * gst/gstmessage.c:
20903           Improve docs for DURATION message (usage of duration parameter)
20904           (#320113)
20905
20906 2005-11-20  Wim Taymans  <wim@fluendo.com>
20907
20908         * check/Makefile.am:
20909         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20910         (main):
20911         * gst/Makefile.am:
20912         * gst/gst.h:
20913         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20914         (gst_segment_set_seek), (gst_segment_set_newsegment),
20915         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20916         (gst_segment_clip):
20917         * gst/gstsegment.h:
20918         Added segment helper structure and methods. Not fully implemented
20919         yet.
20920         Added segment check.
20921
20922 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20923
20924         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20925           Add a deserialisation test for fractions
20926         * examples/metadata/read-metadata.c: (message_loop),
20927         (make_pipeline), (main):
20928           Fix up metadata reading sample.
20929         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20930           Debug format fix
20931         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20932           Don't try and fixate empty caps
20933         * gst/gst_private.h:
20934           Wrap in G_BEGIN_DECLS/G_END_DECLS
20935         * gst/gstvalue.c: (gst_value_collect_fraction),
20936         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20937         (gst_value_transform_string_fraction),
20938         (gst_value_compare_fraction):
20939           Add some extra guards to ensure that we don't end up 
20940           with an invalid denominator of 0 in a gstfraction and
20941           that fractions always get reduced.
20942
20943 2005-11-20  Wim Taymans  <wim@fluendo.com>
20944
20945         * docs/gst/gstreamer-sections.txt:
20946         * gst/gstbuffer.h:
20947         * gst/gstelement.c:
20948         * gst/gstformat.c:
20949         * gst/gstformat.h:
20950         * gst/gstindex.h:
20951         * gst/gstquery.c:
20952         * gst/gstquery.h:
20953         * gst/gstvalue.c:
20954         Doc fixes.
20955
20956 2005-11-20  Wim Taymans  <wim@fluendo.com>
20957
20958         * docs/design/part-TODO.txt:
20959         * gst/gstcaps.h:
20960         Make a proper enum of the flag.
20961
20962 2005-11-19  Wim Taymans  <wim@fluendo.com>
20963
20964         * docs/design/part-TODO.txt:
20965         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20966         (gst_format_to_quark), (gst_format_register):
20967         * gst/gstformat.h:
20968         * gst/gstquery.c: (_gst_query_initialize),
20969         (gst_query_type_get_name), (gst_query_type_to_quark),
20970         (gst_query_type_register):
20971         * gst/gstquery.h:
20972         Add type to quark and type to string conversions.
20973
20974 2005-11-19  Andy Wingo  <wingo@pobox.com>
20975
20976         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20977         #320097.
20978
20979 2005-11-19  Wim Taymans  <wim@fluendo.com>
20980
20981         * docs/design/part-TODO.txt:
20982         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20983         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20984         (gst_bin_handle_message_func):
20985         * gst/gstbin.h:
20986         Make message handling overridable.
20987
20988 2005-11-19  Andy Wingo  <wingo@pobox.com>
20989
20990         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20991
20992         * gst/gstclock.h:
20993         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20994         be a GstClockTime.
20995         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20996         is a GstClockTime. Fixes #321710.
20997
20998         * gst/gstclock.h (GstClock): Remove offset property. Add
20999         internal_calibration and external_calibration. Fix padding. Pad
21000         also by GstClockTime so we don't run into problems.
21001
21002         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21003         (gst_clock_get_rate_offset): Remove.
21004         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21005
21006         * gst/gstutils.h:
21007         * gst/gstutils.c (g_static_rec_cond_wait)
21008         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21009
21010         * gst/gstbin.c: Remove terrible continue_state prototype.
21011
21012         * gst/gstelement.h (gst_element_continue_state): Make public.
21013
21014         * gst/gstelement.h:
21015         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21016         by continue_state. Fixes #319389.
21017
21018         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21019         Really fixes #168438. However I don't see anywhere where the
21020         filter function is called... stupid GStreamer...
21021         
21022         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21023         don't have a dispose function, so it won't get called when the
21024         object is unreffed, but oh well!
21025
21026         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21027         allows a destroy function to be set so user_data can be freed.
21028         Fixes #168438.
21029         (gst_index_set_filter): Call gst_index_set_filter_full.
21030
21031         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21032
21033         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21034         string should produce an error, given the lack of a way to
21035         represent NULL strings. Fixes #165650.
21036         
21037         * gst/gstvalue.h: 
21038         * gst/gstvalue.c (gst_value_array_append_value) 
21039         (gst_value_array_prepend_value, gst_value_array_get_size) 
21040         (gst_value_array_get_value): New API, copied from
21041         gst_value_list_*, only operates on arrays.
21042         (gst_value_list_append_value, gst_value_list_prepend_value) 
21043         (gst_value_list_concat, gst_value_list_get_size) 
21044         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21045
21046         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21047         init_list, because it works on both.
21048         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21049         (gst_value_copy_list_or_array): Renamed from copy_list.
21050         (gst_value_free_list_or_array): Renamed from free_list.
21051         (gst_value_collect_list_or_array): Renamed from collect_list.
21052         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21053         (gst_value_list_or_array_peek_pointer): Renamed from
21054         list_peek_pointer.
21055         (_gst_value_array_value_table, _gst_value_list_value_table):
21056         Update value table functions.
21057         (gst_value_compare_list_or_array): Renamed from compare_list.
21058
21059         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21060         some constness.
21061
21062         * gst/gsttaglist.c:
21063         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21064         GstTagList*. Fixes #143472.
21065
21066         * gst/gststructure.h: Clarify what the foreach/map functions can
21067         or can't do to their arguments.
21068
21069 2005-11-18  Wim Taymans  <wim@fluendo.com>
21070
21071         * gst/gstclock.c: (gst_clock_set_calibration),
21072         (gst_clock_get_calibration):
21073         Doc and API fixes.
21074         Calibration can be set with internal time equal to current
21075         internal time too.
21076
21077 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21078
21079         * gst/gsterror.c:
21080         * gst/gsterror.h:
21081           document
21082
21083 2005-11-18  Andy Wingo  <wingo@pobox.com>
21084
21085         * configure.ac: 
21086         * pkgconfig/gstreamer-net.pc.in:
21087         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21088         * pkgconfig/Makefile.am: Add net pkgconfig files.
21089
21090 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21091
21092         * gst/gstcaps.c:
21093         * gst/gstghostpad.c:
21094         * gst/gsttrace.c:
21095         * gst/gstvalue.c:
21096         * gst/gstvalue.h:
21097           docs fixes
21098
21099 2005-11-18  Andy Wingo  <wingo@pobox.com>
21100
21101         * gst/net/gstnetclientclock.c: Turn off debugging.
21102
21103         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21104         times connverge somewhat. Can't make a real test.
21105
21106         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21107         integer arithmetic. Return the minimum of the domain, which can be
21108         set as "internal" for gst_clock_set_calibration.
21109         (gst_net_client_clock_observe_times): Call _set_calibration.
21110         (gst_net_client_clock_new): Call _set_calibration instead of
21111         rate_offset.
21112
21113         * check/net/gstnetclientclock.c (test_functioning): Use the right
21114         adjustment api.
21115
21116         * gst/gstclock.h:
21117         * gst/gstclock.c (gst_clock_get_calibration) 
21118         (gst_clock_set_calibration): New functions, obsolete the ones I
21119         added yesterday. Doh. Precision issues mean we have to extrapolate
21120         from a point in the more recent past than 1970.
21121         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21122         obsolete.
21123         (gst_clock_adjust_unlocked): Use the right calibration data.
21124
21125 2005-11-18  Edward Hervey  <edward@fluendo.com>
21126
21127         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21128         Also reset the ->current_* values in READY->PAUSED
21129
21130 2005-11-18  Andy Wingo  <wingo@pobox.com>
21131
21132         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21133         Whoops, check the right fd. Also add some debugging.
21134         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21135         (do_linear_regression): Add a crapload of debugging. Subtract off
21136         the minimum values from the input series to discard unneeded bits.
21137         Use only int arithmetic. There is still double arithmetic when
21138         calculating the intercept that needs fixing. Return boolean to
21139         indicate success; FALSE would mean the domain or range is too
21140         great. Still needs fixes.
21141
21142 2005-11-18  Wim Taymans  <wim@fluendo.com>
21143
21144         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21145         For the current position in stream time, we need to subtract
21146         accumulated time.
21147         
21148         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21149         Release lock before calling the callback function of async
21150         entries.
21151
21152 2005-11-18  Andy Wingo  <wingo@pobox.com>
21153
21154         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21155         Port goes all the way to MAXUINT16.
21156
21157         * gst/net/gstnettimeprovider.c: Make the port range the same as
21158         for the kernel: 0 assigns, otherwise ports are less than
21159         MAXUINT16.
21160
21161         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21162         port change.
21163
21164         * check/net/gstnetclientclock.c (test_functioning): Add the start
21165         of another test. 
21166
21167 2005-11-18  Wim Taymans  <wim@fluendo.com>
21168
21169         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21170         (gst_bin_remove_func), (bin_bus_handler):
21171         * gst/gstbin.h:
21172         Removing a clock provider from a bin, triggers a clock lost message
21173         so that a new clock will be selected.
21174         Adding a clock to a bin triggers a clock provider message.
21175         Make sure we reselect a clock when we received a clock lost message.
21176         Keep a reference to the element that provided the clock.
21177
21178 2005-11-18  Andy Wingo  <wingo@pobox.com>
21179
21180         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21181         the clock initially so it produces values around the base time.
21182         (gst_net_client_clock_class_init): Typo fix.
21183         (gst_net_client_clock_thread): Add note on when the socket gets
21184         closed.
21185
21186 2005-11-17  Wim Taymans  <wim@fluendo.com>
21187
21188         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21189         Free remote and local time arrays.
21190
21191 2005-11-17  Wim Taymans  <wim@fluendo.com>
21192
21193         * gst/net/gstnetclientclock.c: (do_linear_regression),
21194         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21195         Fix compilation, uninitialized vars and a forgotten continue.
21196
21197 2005-11-17  Andy Wingo  <wingo@pobox.com>
21198
21199         * check/Makefile.am (check_PROGRAMS): 
21200         * check/net/gstnetclientclock.c: Add a most minimal test for the
21201         net client clock. More to come later.
21202
21203         * gst/net/gstnet.h: 
21204         * gst/net/Makefile.am: Add netclientclock.
21205
21206         * gst/net/gstnetclientclock.h:
21207         * gst/net/gstnetclientclock.c: New files, implement an untested
21208         GstClock that takes its time from a network time provider.
21209         Implements the algorithm in network-clock.scm.
21210
21211         * tests/network-clock.scm (*window-size*): Rename from
21212         *queue-length*.
21213         * tests/network-clock.scm (network-time): 
21214         * tests/network-clock-utils.scm (q-push): Update callers.
21215
21216 2005-11-17  Wim Taymans  <wim@fluendo.com>
21217
21218         * gst/gstbin.c: (gst_bin_provide_clock_func),
21219         (gst_bin_sort_iterator_new):
21220         And unref the child too..
21221
21222 2005-11-17  Wim Taymans  <wim@fluendo.com>
21223
21224         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21225         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21226         Refactor the sort iterator so it can be used while holding the
21227         LOCK too.
21228         Make clock selection select a clock closest to the source.
21229
21230 2005-11-17  Michael Smith <msmith@fluendo.com>
21231
21232         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21233         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21234         * gst/gstclock.h:
21235           Anonymous structs are a gcc (and some other compilers) extension, so
21236           don't use them. Since this is only for ABI-compatibility, and our
21237           API/ABI freeze is over in a few days, this whole thing will only
21238           last a few days, so don't bother trying to think up a meaningful
21239           name for the struct.
21240
21241 2005-11-17  Andy Wingo  <wingo@pobox.com>
21242
21243         * gst/gstclock.h (GstClock): Add rate and offset properties,
21244         preserving ABI stability. Add rate/offset accessors. Will file bug
21245         for the freeze break.
21246
21247         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21248         and offset, trying to keep precision and avoiding
21249         underflow/overflow.
21250         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21251         functions. Make gst_clock_set_time_adjust obsolete.
21252         (gst_clock_set_time_adjust): Note that this function is obsolete.
21253         Will file bug soon.
21254
21255         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21256         greppable by using GST_PADDING-1+1.
21257
21258 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21259
21260         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21261
21262         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21263           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21264
21265         * gst/gstpadtemplate.h:
21266         * gst/gstpluginfeature.h:
21267           Don't use c++ style comments in headers (#321638).
21268
21269 2005-11-16  Andy Wingo  <wingo@pobox.com>
21270
21271         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21272         buffer.
21273
21274         * check/net/gstnettimeprovider.c: Check to see that the time
21275         provider actually provides times. Works, yo!
21276
21277 2005-11-16  Wim Taymans  <wim@fluendo.com>
21278
21279         * check/Makefile.am:
21280         Enable more tests.
21281
21282         * check/elements/fakesrc.c: (GST_START_TEST):
21283         Set element to NULL before disposing it.
21284
21285 2005-11-16  Andy Wingo  <wingo@pobox.com>
21286
21287         * gst/net/Makefile.am:
21288         * gst/net/gstnet.h:
21289         * gst/net/gstnettimeprovider.c: 
21290         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21291         provider, include it from gstnet.h, and add it to the build.
21292
21293         * gst/net/gstnettimepacket.h: 
21294         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21295         sending and receiving.
21296
21297 2005-11-16  Wim Taymans  <wim@fluendo.com>
21298
21299         * check/Makefile.am:
21300         Enable valgrind check.
21301
21302         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21303         (gst_fake_src_alloc_buffer):
21304         Fix memleak.
21305
21306 2005-11-16  Wim Taymans  <wim@fluendo.com>
21307
21308         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21309         Call parent finalize too.
21310
21311 2005-11-16  Wim Taymans  <wim@fluendo.com>
21312
21313         * check/Makefile.am:
21314         Enable valgrind check that should work fine now.
21315
21316         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21317         * gst/gstqueue.c: (gst_queue_init):
21318         Fix memleaks in pad allocation.
21319
21320 2005-11-16  Andy Wingo  <wingo@pobox.com>
21321
21322         * gst/net/Makefile.am:
21323         * gst/net/gstnet.h: New part of core to hold network elements and
21324         objects. Put in core because it exposes API that applications want
21325         to use. The library is named libgstnet-tempname right now because
21326         of the existing libgstnet in gst-plugins-base. Solution is
21327         probably to rename the one in plugins-base; will file a bug for
21328         the freeze break.
21329
21330         * gst/net/gstnettimeprovider.c: 
21331         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21332         get_time call over the network.
21333
21334         * configure.ac: 
21335         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21336
21337         * check/Makefile.am:
21338         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21339         get additions shortly.
21340
21341 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21342
21343         * gst/gstpad.c: (gst_pad_new_from_static_template):
21344         * gst/gstpad.h:
21345           add gst_pad_new_from_static_template functions
21346         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21347         (gst_check_setup_sink_pad):
21348         * gst/elements/gsttee.c: (gst_tee_init):
21349           and use them
21350
21351 2005-11-16  Wim Taymans  <wim@fluendo.com>
21352
21353         * gst/gstpad.c: (gst_pad_pause_task):
21354         Removed warning, it's not really an error either.
21355
21356 2005-11-16  Wim Taymans  <wim@fluendo.com>
21357
21358         * gst/base/gstbasetransform.c:
21359         (gst_base_transform_prepare_output_buf),
21360         (gst_base_transform_event):
21361         Check if the caps are NULL, this can happen if the element
21362         is shutting down and the pad caps are set to NULL.
21363
21364 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21365
21366         * gst/elements/gsttee.c: (gst_tee_init):
21367           fix pad template leak in tee
21368
21369 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21370
21371         * gst/glib-compat.c: (g_value_dup_gst_object):
21372         * gst/glib-compat.h:
21373         * gst/gstpad.c: (gst_pad_set_property):
21374           use gst_object_ref when setting the pad template; this will
21375           trigger the pad template leaks on GLib 2.6 and the slaves
21376
21377 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21378
21379         * gst/glib-compat.c: (gst_flags_get_first_value):
21380         * gst/glib-compat.h:
21381         * gst/gstregistryxml.c:
21382           remove functions copied from GLib 2.6
21383
21384 2005-11-16  Michael Smith <msmith@fluendo.com>
21385
21386         * gst/Makefile.am:
21387           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21388           do, but only breaks with newer valgrind versions. We're not a
21389           valgrind tool, we have no link-time dependencies on libcoregrind.
21390
21391 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21392
21393         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21394           some debug changes
21395         * gst/gstmessage.h:
21396           typo fixes
21397
21398 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21399
21400         * gst/base/gstbasesrc.c: (gst_base_src_init):
21401         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21402         * gst/gstqueue.c: (gst_queue_init):
21403         * gst/gstregistryxml.c: (load_feature):
21404           Revert all these unrefs, they don't even pass make check !
21405
21406 2005-11-15  Johan Dahlin  <johan@gnome.org>
21407
21408         * gst/base/gstbasesrc.c: (gst_base_src_init):
21409         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21410         * gst/gstqueue.c: (gst_queue_init): 
21411         Free pad templates, fixes a couple of leaks.
21412
21413 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21414
21415         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21416
21417         * gst/gstpad.c: (gst_pad_get_property):
21418           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21419           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21420           (#321452)
21421
21422 2005-11-15  Wim Taymans  <wim@fluendo.com>
21423
21424         * gst/gstevent.c:
21425         Small doc update.
21426
21427 2005-11-15  Andy Wingo  <wingo@pobox.com>
21428
21429         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21430
21431         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21432         using GST_CLOCK_TIME_NONE to disable base time management.
21433         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21434         time if it was NONE before.
21435         (gst_pipeline_change_state): Only munge the base time if
21436         stream_time != GST_CLOCK_TIME_NONE.
21437
21438         * check/gst/gstpipeline.c (test_base_time): Punt around the
21439         problem of the probe not being called, because that's not the
21440         issue I'm looking at. Add a check that setting stream_time to NONE
21441         disables base time management.
21442         
21443 2005-11-15  Wim Taymans  <wim@fluendo.com>
21444
21445         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21446         segment_stop == -1 at startup.
21447
21448         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21449         (gst_base_transform_change_state):
21450         Init segment values at start.
21451
21452 2005-11-15  Wim Taymans  <wim@fluendo.com>
21453
21454         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21455         0 segment values are 0 in any format.
21456
21457         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21458         * gst/base/gstbasetransform.h:
21459         Parse newsegment correctly in basetransform
21460
21461         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21462         Sync to clock using updated segment values.
21463
21464 2005-11-15  Andy Wingo  <wingo@pobox.com>
21465
21466         * check/gst/gstpipeline.c (test_base_time): Add check that the
21467         base time and stream time are reset correctly.
21468
21469 2005-11-15  Wim Taymans  <wim@fluendo.com>
21470
21471         * docs/design/part-TODO.txt:
21472         Some more TODO items.
21473
21474 2005-11-15  Andy Wingo  <wingo@pobox.com>
21475
21476         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21477         error if the user selected "no clock" as the clocking method.
21478
21479         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21480         timestamps with live capture.
21481
21482         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21483         is 0 but we are a live source, timestamp the buffers using the
21484         element's clock.
21485
21486 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21487
21488         * docs/gst/gstreamer-sections.txt:
21489         * gst/gsterror.c:
21490         * gst/gstghostpad.c:
21491         * gst/gstobject.h:
21492         * gst/gstxml.c:
21493           more section docs
21494
21495 2005-11-14  Wim Taymans  <wim@fluendo.com>
21496
21497         * common/gst.supp:
21498           add suppressions from Wim's Debian machine
21499
21500 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21501
21502         * common/gst.supp:
21503           add suppressions from Andy's AMD64 Ubuntu machine
21504
21505 2005-11-14  Andy Wingo  <wingo@pobox.com>
21506
21507         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21508         STATE_LOCK not necessary. Fixes #311489.
21509
21510         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21511         #305291.
21512
21513         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21514         this function is not implemented.
21515
21516 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21517
21518         * gst/base/gstbasetransform.c:
21519         (gst_base_transform_prepare_output_buf):
21520         Ref the source pad caps while we need them.
21521         Fixes (#321386)
21522
21523 2005-11-11  Wim Taymans  <wim@fluendo.com>
21524
21525         * docs/gst/gstreamer-sections.txt:
21526         Added some docs for GstCollectData.
21527
21528         * gst/base/gstadapter.c:
21529         Some small code example fix.
21530
21531         * gst/base/gstcollectpads.c:
21532         * gst/base/gstcollectpads.h:
21533         Document some more.
21534
21535 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21536
21537         * configure.ac: back to HEAD
21538
21539 === release 0.9.5 ===
21540
21541 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21542
21543         * configure.ac:
21544           releasing 0.9.5, "Bike Lunch Day"
21545
21546 2005-11-11  Wim Taymans  <wim@fluendo.com>
21547
21548         * gst/gstbuffer.c: (_gst_buffer_copy):
21549         Copy more flags.
21550
21551         * gst/gstcaps.c: (gst_caps_is_equal):
21552         Fix some docs.
21553         Make _is_equal fast in the trivial cases.
21554
21555         * gst/gstminiobject.c:
21556         * gst/gstminiobject.h:
21557         More docs. Spifify .h file.
21558
21559         * gst/gstutils.c:
21560         Small doc update.
21561
21562 2005-11-11  Wim Taymans  <wim@fluendo.com>
21563
21564         * gst/base/gstbasetransform.c:
21565         (gst_base_transform_prepare_output_buf),
21566         (gst_base_transform_handle_buffer):
21567         Small cleanups.
21568         If we're processing a buffer and need to allocate an output
21569         buffer, we cannot accept a format change. If we did get a 
21570         format change, we have to alloc a buffer ourselves of the 
21571         right size.
21572
21573 2005-11-11  Wim Taymans  <wim@fluendo.com>
21574
21575         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21576         While checking the flag for reentrancy in the gstcaps function
21577         is nice to detect recursive invocations, it also makes it 
21578         impossible to call getcaps from multiple threads, which must be
21579         possible. So, checking for recursive calls has to go.
21580
21581 2005-11-11  Michael Smith <msmith@fluendo.com>
21582
21583         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21584           Don't sync on buffers that fall partially outside our current
21585           segment. Prevents an assertion failure/abort playing some files.
21586
21587 2005-11-10  Andy Wingo  <wingo@pobox.com>
21588
21589         * check/gst/gstbin.c (test_message_state_changed_children): Style
21590         fix..
21591
21592         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21593         gst_bus_poll with the signal watch. Ensures that poll and a signal
21594         watch see the same messages.
21595
21596         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21597         a poll and a watch at the same time get the same messages.
21598
21599 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21600
21601         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21602         * gst/gstcaps.c: (gst_caps_intersect):
21603           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21604           and it's not needed.
21605
21606 2005-11-10  Wim Taymans  <wim@fluendo.com>
21607
21608         * docs/design/part-TODO.txt:
21609         Updated todo.
21610
21611 2005-11-10  Wim Taymans  <wim@fluendo.com>
21612
21613         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21614         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21615         (gst_base_src_do_sync), (gst_base_src_get_range):
21616         Implement clock sync in base class.
21617
21618 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21619
21620         patch by: Tim-Philipp Müller <tim at centricular dot net>
21621
21622         * gst/gststructure.c: (gst_structure_parse_field),
21623         (gst_structure_from_string):
21624           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21625           so that gst_parse_launch() can deal with spaces in filtered link
21626           caps (fixes #164479)
21627         * check/gst/capslist.h:
21628         * check/gst/gststructure.c: (GST_START_TEST):
21629           add unit tests for this change
21630
21631 2005-11-10  Wim Taymans  <wim@fluendo.com>
21632
21633         * docs/gst/gstreamer-sections.txt:
21634         * gst/gstelement.c:
21635         * gst/gstelement.h:
21636         Fix docs, move some STATE macros to private.
21637
21638 2005-11-10  Wim Taymans  <wim@fluendo.com>
21639
21640         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21641         Added check for bug #317341
21642
21643         * gst/gstbuffer.c:
21644         * gst/gstbuffer.h:
21645         Some more spiffifying.
21646
21647         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21648         Call peer linkfunction if we are a source pad. Totally fixes
21649         #317341
21650
21651         * gst/gstpad.c:
21652         Update docs, source pads should call the peer linkfunction
21653         so they can atomically perform the pad link.
21654
21655 2005-11-09  Wim Taymans  <wim@fluendo.com>
21656
21657         * gst/gstbuffer.c:
21658         * gst/gstbuffer.h:
21659         Uber-spiffy-spiffify some more.
21660
21661 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21662
21663         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21664         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21665         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21666         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21667         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21668         * gst/gstpad.c: (gst_pad_init):
21669           Use GST_DEBUG_FUNCPTR() more extensively.
21670
21671 2005-11-09  Wim Taymans  <wim@fluendo.com>
21672
21673         * gst/gstobject.c: (gst_object_class_init):
21674         * gst/gstobject.h:
21675         Documentation fixes.
21676
21677 2005-11-09  Edward Hervey  <edward@fluendo.com>
21678
21679         * gst/gsttypefindfactory.c:
21680         Fix docs.
21681         
21682 2005-11-09  Edward Hervey  <edward@fluendo.com>
21683
21684         * gst/base/gsttypefindhelper.c:
21685         * gst/gsttypefind.c:
21686         * gst/gsttypefind.h:
21687         Fix docs.
21688
21689 2005-11-09  Wim Taymans  <wim@fluendo.com>
21690
21691         * gst/gstiterator.c:
21692         Fix revision data.
21693
21694         * gst/gsttask.c:
21695         * gst/gsttask.h:
21696         Fix docs.
21697
21698 2005-11-09  Wim Taymans  <wim@fluendo.com>
21699
21700         * gst/gstevent.h:
21701         * gst/gsturi.h:
21702         Fix docs.
21703
21704 2005-11-09  Wim Taymans  <wim@fluendo.com>
21705
21706         * docs/gst/gstreamer-sections.txt:
21707         Moved the message async delivery private lock and cond
21708         to the private section.
21709
21710         * gst/gstmessage.c:
21711         * gst/gstmessage.h:
21712         Fixed docs.
21713
21714 2005-11-09  Edward Hervey  <edward@fluendo.com>
21715
21716         * docs/gst/gstreamer-sections.txt:
21717         * gst/gsturi.c:
21718         * gst/gsturi.h:
21719         Document GstURIHandler
21720
21721 2005-11-09  Wim Taymans  <wim@fluendo.com>
21722
21723         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21724         (gst_iterator_find_custom):
21725         * gst/gstiterator.h:
21726         Fix iterator docs.
21727
21728 2005-11-09  Wim Taymans  <wim@fluendo.com>
21729
21730         * gst/gstbin.h:
21731         Document another field.
21732
21733         * gst/gststructure.c:
21734         * gst/gststructure.h:
21735         Document.
21736
21737 2005-11-09  Wim Taymans  <wim@fluendo.com>
21738
21739         * gst/gstbin.h:
21740         Documented structs.
21741
21742 2005-11-09  Wim Taymans  <wim@fluendo.com>
21743
21744         * docs/gst/gstreamer-sections.txt:
21745         Added some new macros.
21746
21747         * gst/gstclock.c:
21748         * gst/gstclock.h:
21749         * gst/gstobject.h:
21750         Docs updates.
21751
21752 2005-11-09  Wim Taymans  <wim@fluendo.com>
21753
21754         * docs/design/part-TODO.txt:
21755         Some more items for the TODO
21756
21757         * gst/gstcaps.c:
21758         * gst/gstcaps.h:
21759         Document GstCaps.
21760
21761 2005-11-09  Andy Wingo  <wingo@pobox.com>
21762
21763         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21764         to work on something else now tho...
21765
21766         * gst/base/gstadapter.c: More adapter docs.
21767
21768         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21769         (gst_file_sink_stop): New functions, replace the state change
21770         handler.
21771         (gst_file_sink_class_init): Hook up the start and stop functions.
21772         (gst_file_sink_base_init): Don't set the state change handler any
21773         more. It was a bit ugly too, being set from here...
21774         (gst_file_sink_get_property, gst_file_sink_set_property):
21775         Cleanups...
21776         (gst_file_sink_set_location): More robust check that doesn't call
21777         GST_STATE. Ugggggg.
21778
21779 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21780
21781         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21782           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21783
21784 2005-11-08  Wim Taymans  <wim@fluendo.com>
21785
21786         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21787         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21788         (gst_base_sink_chain), (gst_base_sink_change_state):
21789         * gst/base/gstbasesink.h:
21790         * gst/base/gstbasesrc.h:
21791         * gst/gstelement.h:
21792         * gst/gstevent.h:
21793         Avoid excessive typechecking in macros.
21794
21795         * gst/gstminiobject.c: (gst_mini_object_get_type),
21796         (gst_mini_object_init), (gst_mini_object_new),
21797         (gst_mini_object_free):
21798         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21799         (gst_object_finalize):
21800         Remove cruft code, optimize alloc_trace.
21801
21802 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21803
21804         * docs/faq/gst-uninstalled:
21805           fix up PS1 for systems that try to reset it
21806
21807 2005-11-07  Wim Taymans  <wim@fluendo.com>
21808
21809         * gst/base/gstbasesrc.c: (gst_base_src_init),
21810         (gst_base_src_get_range):
21811         Set the segment_end to -1 initially. Fixed typefind.
21812
21813 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21814
21815         * gst/base/gstadapter.c:
21816           Debug category should be 'adapter', not 'GstAdapter'.
21817           
21818         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21819         (gst_collectpads_class_init), (gst_collectpads_init),
21820         (gst_collectpads_peek), (gst_collectpads_pop),
21821         (gst_collectpads_event), (gst_collectpads_chain):
21822           Add debug category and some debugging output. Use boilerplate
21823           macros. Remove some extraneous words from docs.
21824
21825 2005-11-05  Andy Wingo  <wingo@pobox.com>
21826
21827         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21828         macro.
21829
21830 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21831
21832         * docs/gst/gstreamer-sections.txt:
21833         * gst/gstcaps.h:
21834         * gst/gstinfo.c:
21835         * gst/gstminiobject.h:
21836         * gst/gstobject.h:
21837         * gst/gstutils.h:
21838           more docs added
21839
21840 2005-11-04  Wim Taymans  <wim@fluendo.com>
21841
21842         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21843         Small update to stop at the configured segment_end
21844         position.
21845
21846 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21847
21848         * gst/gstregistry.c:
21849         * gst/gstregistry.h:
21850           added missing docs
21851
21852 2005-11-04  Edward Hervey  <edward@fluendo.com>
21853
21854         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21855         Check if we are doing a segment seek and have arrived at the
21856         end of that segment.
21857
21858 2005-11-04  Wim Taymans  <wim@fluendo.com>
21859
21860         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21861         Don't leak a mutex unlock in case of an error.
21862
21863         * gst/gstbus.h:
21864         Doc fixes.
21865
21866 2005-11-04  Wim Taymans  <wim@fluendo.com>
21867
21868         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21869         (gst_bus_post):
21870         Get the context to wake up only once.
21871
21872 2005-11-03  Wim Taymans  <wim@fluendo.com>
21873
21874         * check/states/sinks.c: (GST_START_TEST):
21875         Uncomment fixed check.
21876
21877         * docs/design/part-TODO.txt:
21878         Updated TODO.
21879
21880         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21881         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21882         (gst_base_sink_get_position):
21883         If we are going to PLAYING, post the right pending state
21884         when we post the intermediate paused message.
21885
21886         * gst/gstelement.c: (gst_element_continue_state),
21887         (gst_element_set_state_func), (gst_element_change_state):
21888         Don't post state changes that were between the same state
21889         and were not ASYNC.
21890
21891 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21892
21893         * docs/gst/gstreamer-sections.txt:
21894         * gst/gstcaps.h:
21895         * gst/gstinfo.c:
21896         * gst/gstminiobject.h:
21897         * gst/gstobject.h:
21898         * gst/gstutils.h:
21899           more docs and doc style fixes
21900
21901 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21902
21903         * docs/gst/gstreamer-sections.txt:
21904         * gst/gstelement.c:
21905         * gst/gstminiobject.c:
21906         doc fixes
21907
21908 2005-11-03  Andy Wingo  <wingo@pobox.com>
21909
21910         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21911         state-changed messages actually have the right order and the right
21912         values.
21913
21914 2005-11-03  Wim Taymans  <wim@fluendo.com>
21915
21916         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21917         Added some more checks. Specifically the case where NO_PREROLL
21918         elements are in the pipeline.
21919
21920         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21921         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21922         (gst_base_sink_get_position):
21923         Post READY->PAUSED state change messages too.
21924         Fix bug where VOID was posted as pending state...
21925
21926         * gst/gstbin.c: (gst_bin_recalc_state):
21927         use _element_continue_state() to continue the state change.
21928
21929         * gst/gstelement.c: (gst_element_continue_state),
21930         (gst_element_commit_state), (gst_element_set_state_func),
21931         (gst_element_change_state), (gst_element_change_state_func):
21932         Lots of state change cleanups, assign the STATE_RETURN in
21933         a new continue_state() function that also propagates the
21934         last return value from a state change to the app.
21935         Update some debug statements with proper category.
21936
21937 2005-11-03  Wim Taymans  <wim@fluendo.com>
21938
21939         * docs/design/part-events.txt:
21940         * docs/design/part-gstpipeline.txt:
21941         * docs/design/part-messages.txt:
21942         * docs/design/part-overview.txt:
21943         * docs/design/part-seeking.txt:
21944         * docs/design/part-states.txt:
21945         * docs/design/part-trickmodes.txt:
21946         * docs/manual/advanced-position.xml:
21947         Small docs updates.
21948
21949         * gst/gstobject.h:
21950         People think !! is ugly, this looks better.
21951
21952         * gst/gstpad.c: (gst_pad_set_blocked_async):
21953         Remove !! since it's fixed elsewhere now.
21954
21955 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21956
21957         * gst/gstminiobject.h:
21958         * gst/gstobject.h:
21959           Add !! to _FLAG_IS_SET macros to make the result boolean.
21960
21961 2005-11-03  Edward Hervey  <edward@fluendo.com>
21962
21963         * gst/gstpad.c: (gst_pad_set_blocked_async):
21964         comparing a flag and a gboolean rarely returns coherent results...
21965         Added two characters (!!) to make that work correctly.
21966         
21967 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21968
21969         * gst/gstbus.c: (gst_bus_class_init):
21970           Fix some typos.
21971           
21972         * gst/gstqueue.c: (gst_queue_loop):
21973           Don't assume a miniobject that isn't a buffer is an
21974           event (it could be that there is a refcounting
21975           problem somewhere and the pointer is stale and
21976           refers to an already destroyed miniobject).
21977
21978 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21979
21980         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21981
21982 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21983
21984         * docs/manual/advanced-position.xml:
21985           Update seek example and explanations to current 0.9 API.
21986
21987         * gst/elements/gsttypefindelement.c:
21988         (gst_type_find_element_activate):
21989           Remove FIXME comment now that the found caps
21990           are unreffed.
21991
21992 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21993
21994         * gst/gstregistryxml.c: (load_feature):
21995           Add another GST_STR_NULL instance
21996
21997 2005-11-02  Edward Hervey  <edward@fluendo.com>
21998
21999         * gst/gstpad.c: (handle_pad_block):
22000         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22001         
22002 2005-11-02  Wim Taymans  <wim@fluendo.com>
22003
22004         * gst/gstbin.c:
22005         Fix typo in docs.
22006
22007         * gst/gstelement.c: (gst_element_commit_state):
22008         Remove unused value.
22009
22010         * gst/gstiterator.c:
22011         Mention that the returned element is reffed in the docs.
22012
22013 2005-11-02  Wim Taymans  <wim@fluendo.com>
22014
22015         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22016         (gst_pad_push), (gst_pad_push_event):
22017         Unlock blocked pads when they are flushed.
22018
22019 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22020
22021         * docs/README:
22022         * docs/gst/gstreamer-sections.txt:
22023         * gst/gstbin.c:
22024           doc updates
22025         * gst/gstregistry.c: (gst_registry_scan_path_level):
22026           fix for a nasty little missed situation where an installed plug-in
22027           which was in the cache did not get overridden by an uninstalled one
22028           which was earlier in the plugin path because the newly created plugin
22029           for the uninstalled one (not in the registry) didn't get its
22030           ->registered set to TRUE
22031
22032 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22033
22034         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22035         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22036         (gst_collectpads_is_active), (gst_collectpads_collect),
22037         (gst_collectpads_collect_range), (gst_collectpads_start),
22038         (gst_collectpads_stop), (gst_collectpads_peek),
22039         (gst_collectpads_pop), (gst_collectpads_available),
22040         (gst_collectpads_read), (gst_collectpads_flush):
22041           Guard public API with assertions.
22042         
22043         * gst/gstpad.c:
22044           Fix docs for gst_pad_set_link_function().
22045
22046 2005-11-02  Johan Dahlin  <johan@gnome.org>
22047
22048         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22049         Unref found_caps after we used it.
22050
22051 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22052
22053         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22054           Don't try to ref NULL.
22055
22056 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22057
22058         * win32/common/config.h.in:
22059           provide a GST_FUNCTION that just gives a string for now
22060
22061 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22062
22063         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22064         (gst_object_flags_get_type), (register_gst_bin_flags),
22065         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22066         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22067         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22068         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22069         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22070         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22071         (gst_clock_flags_get_type), (register_gst_state),
22072         (gst_state_get_type), (register_gst_state_change_return),
22073         (gst_state_change_return_get_type), (register_gst_state_change),
22074         (gst_state_change_get_type), (register_gst_element_flags),
22075         (gst_element_flags_get_type), (register_gst_core_error),
22076         (gst_core_error_get_type), (register_gst_library_error),
22077         (gst_library_error_get_type), (register_gst_resource_error),
22078         (gst_resource_error_get_type), (register_gst_stream_error),
22079         (gst_stream_error_get_type), (register_gst_event_type),
22080         (gst_event_type_get_type), (register_gst_seek_type),
22081         (gst_seek_type_get_type), (register_gst_seek_flags),
22082         (gst_seek_flags_get_type), (register_gst_format),
22083         (gst_format_get_type), (register_gst_index_certainty),
22084         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22085         (gst_index_entry_type_get_type),
22086         (register_gst_index_lookup_method),
22087         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22088         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22089         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22090         (gst_index_flags_get_type), (register_gst_debug_level),
22091         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22092         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22093         (gst_iterator_result_get_type), (register_gst_iterator_item),
22094         (gst_iterator_item_get_type), (register_gst_message_type),
22095         (gst_message_type_get_type), (register_gst_mini_object_flags),
22096         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22097         (gst_pad_link_return_get_type), (register_gst_flow_return),
22098         (gst_flow_return_get_type), (register_gst_activate_mode),
22099         (gst_activate_mode_get_type), (register_gst_pad_direction),
22100         (gst_pad_direction_get_type), (register_gst_pad_flags),
22101         (gst_pad_flags_get_type), (register_gst_pad_presence),
22102         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22103         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22104         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22105         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22106         (gst_plugin_flags_get_type), (register_gst_rank),
22107         (gst_rank_get_type), (register_gst_query_type),
22108         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22109         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22110         (gst_tag_flag_get_type), (register_gst_task_state),
22111         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22112         (gst_alloc_trace_flags_get_type),
22113         (register_gst_type_find_probability),
22114         (gst_type_find_probability_get_type), (register_gst_uri_type),
22115         (gst_uri_type_get_type), (register_gst_parse_error),
22116         (gst_parse_error_get_type):
22117         * win32/common/gstversion.h:
22118           update win32 copies
22119
22120 2005-11-01  Luca Ognibene  <luogni@tin.it>
22121
22122         * gst/gst.c:
22123           fix docs. popt is dead, long live GOption.
22124
22125 2005-10-31  Wim Taymans  <wim@fluendo.com>
22126
22127         * gst/gstbuffer.h:
22128         Small doc fix.
22129
22130 2005-10-31  Andy Wingo  <wingo@pobox.com>
22131
22132         * Boo!
22133
22134         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22135
22136         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22137         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22138         the possibility of deadlocks here if code calling notify() or
22139         set() has a lock that can be taken in another notify handler (ABBA
22140         with class lock and e.g. python GIL state lock).
22141
22142 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22143
22144         * gst/gstbus.c: Doc updates.
22145
22146 2005-10-28  Wim Taymans  <wim@fluendo.com>
22147
22148         * docs/design/part-TODO.txt:
22149         * gst/gstiterator.c:
22150         * gst/gstsystemclock.c:
22151         * gst/gstsystemclock.h:
22152         Doc updates.
22153
22154 2005-10-28  Edward Hervey  <edward@fluendo.com>
22155
22156         * docs/gst/gstreamer-docs.sgml:
22157         * docs/gst/gstreamer-sections.txt:
22158         the GstURIType documentation page is private, it only defines GstURIType
22159         which should be defined in the GstURIHandler page
22160         
22161 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22162
22163         * gst/gstbin.c: (gst_bin_class_init):
22164         * gst/gstbin.h:
22165         * gst/gstutils.c:
22166         Documentation updates.
22167
22168 2005-10-28  Wim Taymans  <wim@fluendo.com>
22169
22170         * docs/gst/gstreamer-sections.txt:
22171         * gst/gstclock.c:
22172         * gst/gstclock.h:
22173         Documented the clocks.
22174
22175 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22176
22177         * docs/gst/gstreamer-sections.txt:
22178           move some macros to private sections
22179         * gst/gstminiobject.c:
22180         * gst/gstminiobject.h:
22181           add descriptions provided by ds and some more
22182         * gst/gstpad.h:
22183           mark macro as to be removed
22184
22185 2005-10-28  Wim Taymans  <wim@fluendo.com>
22186
22187         * docs/design/part-TODO.txt:
22188         Add an item to TODO.
22189
22190         * gst/gstiterator.c: (gst_iterator_fold),
22191         (gst_iterator_find_custom):
22192         * gst/gstiterator.h:
22193         Add iterator docs.
22194
22195 2005-10-28  Wim Taymans  <wim@fluendo.com>
22196
22197         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22198         (gst_base_transform_init):
22199         Don't leak class.
22200
22201         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22202         An EOS event marks the queue as completely filled.
22203
22204 2005-10-27  Wim Taymans  <wim@fluendo.com>
22205
22206         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22207         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22208         Some more debugging.
22209
22210         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22211         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22212         (gst_base_transform_event), (gst_base_transform_getrange),
22213         (gst_base_transform_chain):
22214         * gst/base/gstbasetransform.h:
22215         Fix debugging,
22216         Protect transform and concurrent buffer alloc with a new lock.
22217         Try not to break ABI/API.
22218
22219 2005-10-27  Wim Taymans  <wim@fluendo.com>
22220
22221         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22222         (gst_base_src_init), (gst_base_src_query),
22223         (gst_base_src_default_newsegment),
22224         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22225         (gst_base_src_send_event), (gst_base_src_event_handler),
22226         (gst_base_src_pad_get_range), (gst_base_src_loop),
22227         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22228         (gst_base_src_start), (gst_base_src_deactivate),
22229         (gst_base_src_activate_push), (gst_base_src_change_state):
22230         Move some stuff around and cleanup things.
22231
22232 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22233
22234         * gst/base/gstbasesrc.c: (gst_base_src_query):
22235           Add missing break statements.
22236
22237 2005-10-27  Wim Taymans  <wim@fluendo.com>
22238
22239         * check/gst/gstbin.c: (GST_START_TEST):
22240         An extra refcount is taken in basesrc.
22241
22242         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22243         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22244         (gst_base_src_loop):
22245         Small cleanups, check for flushing after being unlocked from the 
22246         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22247         Don't send out EOS when going to READY.
22248
22249 2005-10-27  Wim Taymans  <wim@fluendo.com>
22250
22251         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22252         (gst_base_sink_get_position):
22253         Some more debug.
22254
22255         * gst/gstbin.c: (message_check), (bin_replace_message),
22256         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22257         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22258         (bin_query_duration_init), (bin_query_duration_fold),
22259         (bin_query_duration_done), (bin_query_generic_fold),
22260         (gst_bin_query):
22261         * tools/gst-launch.c: (main):
22262         Remove old option.
22263
22264 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22265
22266         * examples/controller/audio-example.c: (main):
22267         * examples/queue/queue.c: (event_loop):
22268         * gst/base/gstbasetransform.h:
22269         * gst/gstelement.c: (gst_element_send_event):
22270         * gst/gstevent.h:
22271         * gst/gstpad.c: (gst_pad_send_event):
22272           fixing examples
22273           fixing docs typos
22274           changing log priority in error situations
22275
22276 2005-10-25  Wim Taymans  <wim@fluendo.com>
22277
22278         * gst/gstbin.c: (message_check), (bin_replace_message),
22279         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22280         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22281         (bin_query_duration_init), (bin_query_duration_fold),
22282         (bin_query_duration_done), (bin_query_generic_fold),
22283         (gst_bin_query):
22284         Some doc and debug updates.
22285         Cache previously requested query DURATION for speed. invalidate
22286         cached duration if element posts a DURATION message.
22287
22288 2005-10-25  Wim Taymans  <wim@fluendo.com>
22289
22290         * docs/design/part-TODO.txt:
22291         Update TODO.
22292
22293         * gst/gstbin.c: (message_check), (bin_replace_message),
22294         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22295         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22296         (bin_query_duration_init), (bin_query_duration_fold),
22297         (bin_query_duration_done), (bin_query_generic_fold),
22298         (gst_bin_query):
22299         Handle SEGMENT_START/DONE messages correctly.
22300         More evolved query algorithm that handles duration queries
22301         correctly.
22302
22303         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22304         (gst_element_get_state_func), (gst_element_abort_state),
22305         (gst_element_commit_state), (gst_element_lost_state):
22306         Some more debugging.
22307
22308         * gst/gstmessage.h:
22309         Added doc.
22310
22311 2005-10-25  Wim Taymans  <wim@fluendo.com>
22312
22313         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22314         Don't use invalid stream_time.
22315
22316         * gst/gstevent.c: (gst_event_new_newsegment):
22317         stream_time in newsegment cannot be undefined.
22318
22319 2005-10-24  Wim Taymans  <wim@fluendo.com>
22320
22321         * gst/gstbus.c:
22322         Doc fix.
22323
22324         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22325         (gst_queue_loop):
22326         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22327
22328 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22329
22330         * docs/libs/tmpl/gstdparam.sgml:
22331         * docs/libs/tmpl/gstdplinint.sgml:
22332         * docs/libs/tmpl/gstdpman.sgml:
22333         * docs/libs/tmpl/gstdpsmooth.sgml:
22334         * docs/libs/tmpl/gstunitconvert.sgml:
22335           these are obsolete
22336
22337 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22338
22339         * configure.ac:
22340           back to HEAD
22341
22342 === release 0.9.4 ===
22343
22344 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22345
22346         * configure.ac:
22347           releasing 0.9.4, "Tyrannosaurus Rex"
22348
22349 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22350
22351         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22352         (gst_file_sink_get_current_offset):
22353           Use fseeko() and ftello() if available. When falling back on
22354           lseek() to get the current offset, fflush() first to make sure
22355           everything is up-to-date and we get the right offset.
22356
22357 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22358
22359         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22360         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22361         * gst/gsterror.c: (_gst_stream_errors_init):
22362         * gst/gsterror.h:
22363         * gst/gstqueue.c: (gst_queue_loop):
22364         * po/POTFILES.in:
22365           remove prematurely added error category and clean up the instances
22366
22367 2005-10-21  Wim Taymans  <wim@fluendo.com>
22368
22369         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22370         (gst_base_sink_get_position), (gst_base_sink_query),
22371         (gst_base_sink_change_state):
22372         Simply set the right flag when going to playing, that's all
22373         we need to do instead of calling a function inside the object
22374         lock (that could take the lock as well and deadlock)
22375
22376 2005-10-21  Wim Taymans  <wim@fluendo.com>
22377
22378         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22379         (gst_base_src_loop):
22380         Don't warn, the peer element knows what to do best when
22381         the seek failed, it might try something else.
22382
22383 2005-10-21  Wim Taymans  <wim@fluendo.com>
22384
22385         * gst/base/gstbasesrc.c: (gst_base_src_init),
22386         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22387         Fix seeking.
22388
22389 2005-10-21  Wim Taymans  <wim@fluendo.com>
22390
22391         * docs/design/part-segments.txt:
22392         More docs.
22393
22394         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22395         Correctly set caps, even on the subbufer.
22396
22397 2005-10-21  Wim Taymans  <wim@fluendo.com>
22398
22399         * docs/gst/gstreamer-docs.sgml:
22400         * docs/gst/gstreamer-sections.txt:
22401         * gst/gstelement.h:
22402         * gst/gstevent.c:
22403         * gst/gstevent.h:
22404         * gst/gstmessage.h:
22405         * gst/gstpad.h:
22406         * gst/gstparse.h:
22407         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22408         * gst/gsttask.h:
22409         * gst/gstutils.c:
22410         * gst/gstutils.h:
22411         And 2% more doc coverage.
22412
22413 2005-10-21  Andy Wingo  <wingo@pobox.com>
22414
22415         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22416         position reporting.
22417
22418 2005-10-20  Wim Taymans  <wim@fluendo.com>
22419
22420         * gst/gsterror.c: (gst_error_get_message):
22421         * gst/gstparse.h:
22422         * gst/gstquery.h:
22423         * gst/gststructure.c:
22424         * gst/gsttrace.c:
22425         * gst/gstutils.c:
22426         More docs.
22427
22428 2005-10-20  Wim Taymans  <wim@fluendo.com>
22429
22430         * gst/gstbuffer.h:
22431         * gst/gstpad.c:
22432         * gst/gstparse.c:
22433         Another 1% more coverage.
22434
22435 2005-10-20  Wim Taymans  <wim@fluendo.com>
22436
22437         * docs/gst/gstreamer-sections.txt:
22438         * gst/gstelement.c: (gst_element_get_state_func),
22439         (gst_element_abort_state), (gst_element_commit_state),
22440         (gst_element_lost_state):
22441         * gst/gstevent.h:
22442         * gst/gstquery.c: (gst_query_set_position),
22443         (gst_query_parse_position), (gst_query_set_duration),
22444         (gst_query_parse_duration), (gst_query_new_convert):
22445         * gst/gstutils.c:
22446         Yay! 1% more docs coverage.
22447
22448 2005-10-20  Wim Taymans  <wim@fluendo.com>
22449
22450         * gst/gstpad.h:
22451         * gst/gstquery.c: (gst_query_set_position),
22452         (gst_query_parse_position), (gst_query_set_duration),
22453         (gst_query_parse_duration), (gst_query_new_convert):
22454         * gst/gstquery.h:
22455         * gst/gstutils.c: (gst_element_query_convert):
22456         * gst/gstutils.h:
22457         Docs and consistency fixes.
22458
22459 2005-10-20  Wim Taymans  <wim@fluendo.com>
22460
22461         * gst/gsttask.c:
22462         * gst/gsttask.h:
22463         More docs.
22464
22465 2005-10-20  Wim Taymans  <wim@fluendo.com>
22466
22467         * gst/gstbin.c: (message_check), (bin_replace_message),
22468         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22469         (update_degree), (gst_bin_sort_iterator_next),
22470         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22471         Reworked the message handling a bit, cache the messages instead of
22472         only the senders. alows us to do more in the future.
22473
22474 2005-10-20  Wim Taymans  <wim@fluendo.com>
22475
22476         * docs/design/part-TODO.txt:
22477         Update TODO
22478
22479         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22480         (gst_base_sink_query):
22481         Don't use clock time to report position when in EOS.
22482
22483 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22484
22485         * tools/gst-inspect.c: (print_interfaces),
22486         (print_element_properties_info), (print_element_info):
22487           Fix interface output with gst-inspect -a; don't print
22488           newlines after double/float properties.
22489
22490 2005-10-20  Wim Taymans  <wim@fluendo.com>
22491
22492         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22493         (gst_base_sink_query):
22494         Speed up current position calculation.
22495
22496         * gst/base/gstbasesrc.c: (gst_base_src_query),
22497         (gst_base_src_default_newsegment):
22498         Correctly set stream position in newsegment.
22499
22500         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22501         (update_degree), (gst_bin_sort_iterator_next),
22502         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22503         * gst/gstmessage.c: (gst_message_new_custom):
22504         Clean up debugging info
22505
22506         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22507         (gst_queue_loop), (gst_queue_handle_src_query):
22508         Pause task faster.
22509
22510 2005-10-19  Wim Taymans  <wim@fluendo.com>
22511
22512         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22513         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22514         Fix query handling again.
22515
22516 2005-10-19  Wim Taymans  <wim@fluendo.com>
22517
22518         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22519         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22520         * gst/base/gstbasesrc.c: (gst_base_src_query):
22521         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22522         * gst/elements/gsttypefindelement.c:
22523         (gst_type_find_handle_src_query), (find_element_get_length),
22524         (gst_type_find_element_activate):
22525         API change fix.
22526
22527         * gst/gstquery.c: (gst_query_new_position),
22528         (gst_query_set_position), (gst_query_parse_position),
22529         (gst_query_new_duration), (gst_query_set_duration),
22530         (gst_query_parse_duration), (gst_query_set_segment),
22531         (gst_query_parse_segment):
22532         * gst/gstquery.h:
22533         Bundling query position/duration is not a good idea since duration
22534         does not change much and we don't want to recalculate it for every
22535         position query, so they are separated again..
22536         Base value in segment query is not needed.
22537
22538         * gst/gstqueue.c: (gst_queue_handle_src_query):
22539         * gst/gstutils.c: (gst_element_query_position),
22540         (gst_element_query_duration), (gst_pad_query_position),
22541         (gst_pad_query_duration):
22542         * gst/gstutils.h:
22543         Updates for query API change.
22544         Added some docs here and there.
22545
22546 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22547
22548         * check/gst/gstbin.c: (GST_START_TEST):
22549         * check/gst/gstghostpad.c: (GST_START_TEST):
22550         * check/pipelines/cleanup.c: (GST_START_TEST):
22551           wait on thread to die so we can check refcount correctly
22552
22553 2005-10-18  Wim Taymans  <wim@fluendo.com>
22554
22555         * check/pipelines/stress.c: (GST_START_TEST):
22556         Make check a little more time consuming.
22557
22558 2005-10-18  Wim Taymans  <wim@fluendo.com>
22559
22560         * check/Makefile.am:
22561         * check/pipelines/stress.c: (GST_START_TEST),
22562         (simple_launch_lines_suite), (main):
22563         Small state change torture test.
22564
22565         * docs/design/part-states.txt:
22566         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22567         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22568         (gst_base_sink_change_state):
22569         Never take state lock from streaming thread, clean up ugly
22570         hacks. Unfortunatly core does not yet support nice ways to
22571         async commit state.
22572         
22573         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22574         (bin_bus_handler):
22575         Start state recalc if a STATE_DIRTY message is posted, but only
22576         on the toplevel bin.
22577
22578         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22579         (gst_element_get_state_func), (gst_element_abort_state),
22580         (gst_element_commit_state), (gst_element_lost_state),
22581         (gst_element_set_state_func), (gst_element_change_state):
22582         * gst/gstelement.h:
22583         State variables are now protected with the LOCK, the state
22584         lock is only used to serialize _set_state().
22585
22586 2005-10-18  Wim Taymans  <wim@fluendo.com>
22587
22588         * check/gst/gstbin.c: (GST_START_TEST):
22589         * check/gst/gstmessage.c: (GST_START_TEST):
22590         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22591         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22592         (bin_bus_handler):
22593         * gst/gstelement.c: (gst_element_abort_state),
22594         (gst_element_commit_state), (gst_element_lost_state):
22595         * gst/gstmessage.c: (gst_message_new_state_changed),
22596         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22597         (gst_message_new_segment_done), (gst_message_new_duration),
22598         (gst_message_parse_state_changed),
22599         (gst_message_parse_segment_start),
22600         (gst_message_parse_segment_done), (gst_message_parse_duration):
22601         * gst/gstmessage.h:
22602         * tools/gst-launch.c: (event_loop):
22603         Seriously, this is better than a previous commit as we only need
22604         to notify the fact that an element changed state in a streaming
22605         thread, marking the state of the parents dirty, hence the 
22606         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22607         message.
22608
22609 2005-10-18  Wim Taymans  <wim@fluendo.com>
22610
22611         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22612         (gst_bin_recalc_func):
22613         * gst/gstelement.c: (gst_element_set_clock),
22614         (gst_element_abort_state), (gst_element_lost_state):
22615         Cleanups, prepare for state change fixes.
22616
22617 2005-10-18  Wim Taymans  <wim@fluendo.com>
22618
22619         * gst/gstbin.h:
22620         * gst/gstelement.c: (gst_element_class_init),
22621         (gst_element_set_state), (gst_element_set_state_func):
22622         * gst/gstelement.h:
22623         Pending ABI changes.
22624         GThreadPool in GstBinClass to monitor async state changes.
22625         state_cookie in GstElement to detect concurrent gst/set state.
22626         set_state is now virtual too in case a very complicated element
22627         has to be constructed.
22628
22629 2005-10-18  Wim Taymans  <wim@fluendo.com>
22630
22631         * check/gst/gstbin.c: (GST_START_TEST):
22632         * check/gst/gstmessage.c: (GST_START_TEST):
22633         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22634         * gst/gstbin.c: (bin_bus_handler):
22635         * gst/gstelement.c: (gst_element_commit_state),
22636         (gst_element_lost_state):
22637         * gst/gstmessage.c: (gst_message_new_state_changed),
22638         (gst_message_new_segment_start), (gst_message_new_segment_done),
22639         (gst_message_new_duration), (gst_message_parse_state_changed),
22640         (gst_message_parse_segment_start),
22641         (gst_message_parse_segment_done), (gst_message_parse_duration):
22642         * gst/gstmessage.h:
22643         * tools/gst-launch.c: (event_loop):
22644         Make messages future proof.
22645         state-change gets a flag if it was a message comming from the
22646         streaming thread.
22647         segment-start/stop can also be specified in other formats.
22648         A message to notify an app that a pipeline changed playback 
22649         duration.
22650         Also fix a GstMessage leak in -launch
22651
22652 2005-10-18  Andy Wingo  <wingo@pobox.com>
22653
22654         * gst/gstelement.c (gst_element_dispose): More helpful message.
22655
22656 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22657
22658         reviewed by: <delete if not using a buddy>
22659
22660         * common/gtk-doc.mak:
22661
22662 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22663
22664         * gst/gstregistry.c: (gst_registry_scan_path_level):
22665           unref a plug-in we get that was already initialized
22666
22667 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22668
22669         * docs/gst/gstreamer-sections.txt:
22670         * docs/libs/gstreamer-libs-sections.txt:
22671         * gst/gstelement.h:
22672           add new api entries
22673           hide internal macro
22674
22675 2005-10-17  Andy Wingo  <wingo@pobox.com>
22676
22677         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22678         cleanup.
22679
22680         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22681
22682         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22683
22684         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22685         (gst_element_get_state_func): Better debug message.
22686         (gst_element_commit_state): s/INFO/DEBUG/.
22687         (gst_element_lost_state, gst_element_change_state): 
22688
22689         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22690         (gst_message_new_custom): s/INFO/LOG/.
22691
22692 2005-10-17  Michael Smith <msmith@fluendo.com>
22693
22694         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22695           Check if end time is valid using end time, not start time.
22696
22697 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22698
22699         * check/gst-libs/controller.c: (GST_START_TEST),
22700         (gst_controller_suite):
22701         * libs/gst/controller/gstcontroller.c:
22702         (gst_controlled_property_set_interpolation_mode):
22703         * libs/gst/controller/gstcontroller.h:
22704         * libs/gst/controller/gstinterpolation.c:
22705         * testsuite/controller/.cvsignore:
22706         * testsuite/controller/Makefile.am:
22707         * testsuite/controller/interpolator.c:
22708           merge controller testsuites
22709           fix broken tests
22710           remove mem-chunk from docs
22711
22712 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22713
22714         * gst/gstmemchunk.c:
22715         * gst/gstmemchunk.h:
22716         * gst/gsttrashstack.c:
22717         * gst/gsttrashstack.h:
22718           out.  get out.  you're fired.  to the Attic !
22719
22720 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22721
22722         * gst/gstcaps.c: (gst_caps_intersect):
22723           fix signedness issues in a (hopefully) correct way
22724         * gst/gstelement.c: (gst_element_pads_activate):
22725           some debugging
22726         * gst/gstobject.c: (gst_object_set_parent):
22727           some debugging
22728
22729 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22730
22731         * gst/gstvalue.h: Fix prototypes.
22732
22733 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22734
22735         * docs/gst/gstreamer-sections.txt:
22736         * gst/gst.c: (gst_version_string):
22737         * gst/gst.h:
22738         * gst/gstversion.h.in:
22739         * win32/common/libgstreamer.def:
22740           add gst_version_string ()
22741
22742 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22743
22744         * configure.ac:
22745           clean up further
22746         * gst/gst.c: (init_post):
22747         * win32/common/config.h.in:
22748           it's PLUGINDIR now
22749         * gst/gstcaps.c: (gst_caps_intersect):
22750           use gint64, the range could be bigger than a guint
22751
22752 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22753
22754         * gst/gstclock.h:
22755           document potential problem in 2038
22756
22757 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22758
22759         * gst/gstcaps.c: (gst_caps_intersect):
22760           Fix guint j diving under 0
22761
22762 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22763
22764         * configure.ac:
22765         * win32/common/config.h:
22766         * win32/common/config.h.in:
22767           check for process.h, declares getpid() on Windows
22768         * gst/gstinfo.c:
22769           include process.h if we have it
22770         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22771         * gst/gstmemchunk.h:
22772           fix signedness issues
22773         * win32/common/libgstreamer.def:
22774           fix get_type's
22775
22776 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22777
22778         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22779         fix. Because of unsigned ints, caps intersection was going nuts and
22780         trying to access structures with G_MAXUINT index. That fixes
22781         videotestsrc ! ffmpegcolorspace ! fakesink
22782         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22783         consistency.
22784
22785 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22786
22787         * configure.ac:
22788           use the gettext macro
22789         * gst/elements/gstelements.c:
22790         * gst/gst.c:
22791         * gst/indexers/gstindexers.c:
22792           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22793         * win32/common/config.h:
22794           updated config.h
22795         * win32/common/config.h.in:
22796           add the template to generate config.h
22797         * win32/common/gstenumtypes.c:
22798         * win32/common/gstversion.h:
22799           updated copies
22800
22801 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22802
22803         * gst/gst.c: (gst_version):
22804         * gst/gstversion.h.in:
22805           add the nano
22806
22807 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22808
22809         * gst/gstevent.h:
22810           Oops, add missing closing bracket.
22811
22812 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22813
22814         * configure.ac:
22815           use common m4's for argument checking
22816
22817 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22818
22819         * docs/gst/gstreamer-sections.txt:
22820         * gst/gstevent.h:
22821           Add GST_EVENT_TYPE_NAME() macro.
22822
22823 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22824
22825         * gst/gstinfo.c:
22826         * gst/gstpluginfeature.c:
22827         * gst/gsttask.c:
22828           privatize more symbols
22829
22830 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22831
22832         * configure.ac:
22833           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22834           everything that uses GStreamer API should have the includes
22835
22836 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22837
22838         * docs/gst/gstreamer-sections.txt:
22839         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22840         * gst/gstvalue.h:
22841           give each value a _get_type, removes the DATA exports
22842
22843 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22844
22845         * gst/gst.c:
22846         * gst/gst.h:
22847           remove _gst_registry_auto_load, not used anymore
22848         * gst/gstbin.c: (gst_bin_get_type):
22849         * gst/gstbin.h:
22850         * gst/gstelement.c: (gst_element_get_type):
22851         * gst/gstelement.h:
22852         * gst/gstobject.c: (gst_object_get_type):
22853         * gst/gstobject.h:
22854         * gst/gstpad.c: (gst_pad_get_type):
22855         * gst/gstpad.h:
22856           make _get_type functions similar, fixes data export from library
22857
22858 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22859
22860         * configure.ac:
22861           correctly make conditionals
22862         * gst/elements/Makefile.am:
22863         * gst/elements/gstelements.c:
22864           fix typo causing fdsrc not to build
22865
22866 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22867
22868         * testsuite/Makefile.am:
22869         * testsuite/bytestream/.cvsignore:
22870         * testsuite/bytestream/Makefile.am:
22871         * testsuite/bytestream/filepadsink.c:
22872         * testsuite/bytestream/gstbstest.c:
22873         * testsuite/bytestream/test1.c:
22874         * testsuite/bytestream/testfile1:
22875         * testsuite/caps/normalisation.c:
22876         * testsuite/caps/random.c: (main):
22877         * testsuite/cleanup/.cvsignore:
22878         * testsuite/cleanup/Makefile.am:
22879         * testsuite/cleanup/cleanup1.c:
22880         * testsuite/cleanup/cleanup2.c:
22881         * testsuite/cleanup/cleanup3.c:
22882         * testsuite/cleanup/cleanup4.c:
22883         * testsuite/cleanup/cleanup5.c:
22884         * testsuite/controller/interpolator.c:
22885         * testsuite/debug/printf_extension.c: (main):
22886         * testsuite/elements/tee.c:
22887         * testsuite/negotiation/.cvsignore:
22888         * testsuite/negotiation/Makefile.am:
22889         * testsuite/negotiation/pad_link.c:
22890         * testsuite/pad/Makefile.am:
22891         * testsuite/pad/chainnopull.c:
22892         * testsuite/pad/getnopush.c:
22893         * testsuite/pad/link.c:
22894         * testsuite/refcounting/sched.c: (create_pipeline):
22895         * testsuite/registry/Makefile.am:
22896         * testsuite/registry/gst-print-formats.c:
22897         * testsuite/schedulers/.cvsignore:
22898         * testsuite/schedulers/142183-2.c:
22899         * testsuite/schedulers/142183.c:
22900         * testsuite/schedulers/143777-2.c:
22901         * testsuite/schedulers/143777.c:
22902         * testsuite/schedulers/147713.c:
22903         * testsuite/schedulers/147819.c:
22904         * testsuite/schedulers/147894-2.c:
22905         * testsuite/schedulers/147894.c:
22906         * testsuite/schedulers/Makefile.am:
22907         * testsuite/schedulers/group_link.c:
22908         * testsuite/schedulers/queue_link.c:
22909         * testsuite/schedulers/relink.c:
22910         * testsuite/schedulers/unlink.c:
22911         * testsuite/schedulers/unref.c:
22912         * testsuite/schedulers/useless_iteration.c:
22913         * testsuite/states/bin.c:
22914           clean out/remove some stuff from the testsuite directories
22915
22916 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22917
22918         * configure.ac:
22919           check for some headers
22920         * gst/elements/Makefile.am:
22921         * gst/elements/gstelements.c:
22922           don't compile fdsrc without sys/socket.h
22923         * gst/indexers/Makefile.am:
22924         * gst/indexers/gstindexers.c: (plugin_init):
22925           don't compile fileindex without mmap
22926
22927 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22928
22929         * configure.ac:
22930           reorganize
22931           clean up
22932           document more
22933           remove cruft
22934         * check/Makefile.am:
22935         * docs/gst/Makefile.am:
22936         * examples/helloworld/Makefile.am:
22937         * gst/Makefile.am:
22938         * gst/base/Makefile.am:
22939         * gst/check/Makefile.am:
22940         * gst/elements/Makefile.am:
22941         * gst/indexers/Makefile.am:
22942         * gst/parse/Makefile.am:
22943         * libs/gst/controller/Makefile.am:
22944         * libs/gst/dataprotocol/Makefile.am:
22945         * examples/helloworld/helloworld.c: (event_loop):
22946           compile fixes, though it's not being compiled currently
22947
22948 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22949
22950         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22951           Add some simple tests for the new taglist date API.
22952
22953 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22954
22955         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22956         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22957           Beautify 'last-message' output: print 'none' for buffer timestamps
22958           and durations if none is set; improve alignment with next messages.
22959
22960 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22961
22962         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22963         * gst/gstpluginfeature.h:
22964         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22965         * gst/gstregistry.h:
22966         * docs/gst/gstreamer-sections.txt:
22967           Add new API to check plugin feature version requirements.
22968
22969         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22970           Some basic tests for the above.         
22971
22972 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22973
22974         * gst/gststructure.c: (gst_structure_to_string):
22975           guard against NULL printf - happens when for example
22976           a message structure with GstClock gets serialized
22977
22978 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22979
22980         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22981           Fix presumable copy'n'pasto.
22982
22983 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22984
22985         * gst/elements/gstfakesrc.h:
22986         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22987         * gst/elements/gsttypefindelement.c:
22988           fix some signedness
22989         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22990           I wonder if this could actually write +2GB files before
22991
22992 2005-10-13  Andy Wingo  <wingo@pobox.com>
22993
22994         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22995         Fix Timmeke Waymans bug.
22996         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22997         string of the proper length to gst_caps_from_string. There's a
22998         potential for, before this fix, that this could cause someone
22999         connecting over the network to cause a segfault if the payload is
23000         not NUL-terminated.
23001
23002 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23003
23004         * docs/design/draft-push-pull.txt:
23005         * docs/design/part-overview.txt:
23006         * docs/random/TODO-pre-0.9:
23007         * docs/random/old/ChangeLog.gstreamer:
23008         * gst/base/gstpushsrc.c:
23009         * gst/gstclock.c:
23010           fixed typos
23011
23012 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23013
23014         * gst/glib-compat.c: (gst_flags_get_first_value):
23015         * gst/glib-compat.h:
23016         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23017         (gst_value_compare_double), (gst_value_serialize_flags):
23018           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23019           infinite loop
23020
23021 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23022
23023         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23024         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23025           fix up debugging
23026         * tools/gst-launch.c: (event_loop):
23027           print out clock nicely
23028
23029 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23030
23031         * docs/gst/gstreamer-sections.txt:
23032         * gst/gsttaglist.h:
23033         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23034         (gst_tag_list_get_date_index):
23035           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23036           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23037
23038 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23039
23040         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23041         (gst_collectpads_chain):
23042         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23043         in CollectData.
23044
23045 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23046
23047         * docs/gst/gstreamer-sections.txt:
23048         * gst/gst.c:
23049         * gst/gsterror.h:
23050         * tools/gst-inspect.c: (main):
23051         * tools/gst-launch.c: (main):
23052         * tools/gst-run.c: (main):
23053         * tools/gst-xmlinspect.c: (main):
23054           fix GOption context leaks
23055           doc fixes
23056
23057 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23058
23059         * gst/gstbus.c:
23060           use HAVE_UNISTD_H
23061         * win32/common/config.h:
23062           update config
23063         * win32/vs6/grammar.dsp:
23064         * win32/vs6/libgstelements.dsp:
23065         * win32/vs6/libgstreamer.dsp:
23066           update vs6 files
23067
23068 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23069
23070         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23071         * gst/base/gstbasesrc.c: (gst_base_src_query):
23072           fix more guint64<->gdouble conversions
23073
23074 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23075
23076         * Makefile.am:
23077           add win32-update target
23078         * win32/common/gstconfig.h:
23079         * win32/common/gstenumtypes.c:
23080         * win32/common/gstenumtypes.h:
23081         * win32/common/gstversion.h:
23082           add files that visual studio can't generate
23083
23084 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23085
23086         * Makefile.am:
23087           add a win32-update target
23088         * configure.ac:
23089
23090 2005-10-12  Wim Taymans  <wim@fluendo.com>
23091
23092         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23093         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23094         * gst/gstelement.c: (gst_element_commit_state),
23095         (gst_element_set_state):
23096         Protect flags with proper lock.
23097         unref provided cached clock in dispose.
23098
23099 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23100
23101         * gst/gst.c:
23102         * gst/gstminiobject.h:
23103         * gst/gstpad.h:
23104         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23105           removed unused flags from miniobject
23106           doc fixes
23107
23108 2005-10-12  Wim Taymans  <wim@fluendo.com>
23109
23110         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23111         (gst_file_sink_event), (gst_file_sink_render):
23112         Flush before seeking.
23113
23114 2005-10-12  Andy Wingo  <wingo@pobox.com>
23115
23116         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23117         always been the case.
23118
23119 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23120
23121         * check/gst/gstbin.c: (GST_START_TEST):
23122         * docs/gst/gstreamer-sections.txt:
23123         * gst/base/gstbasesink.c: (gst_base_sink_init):
23124         * gst/base/gstbasesrc.c: (gst_base_src_init),
23125         (gst_base_src_get_range), (gst_base_src_check_get_range),
23126         (gst_base_src_start), (gst_base_src_stop):
23127         * gst/base/gstbasesrc.h:
23128         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23129         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23130         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23131         (bin_bus_handler):
23132         * gst/gstbin.h:
23133         * gst/gstbuffer.h:
23134         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23135         * gst/gstbus.h:
23136         * gst/gstelement.c: (gst_element_is_locked_state),
23137         (gst_element_set_locked_state), (gst_element_commit_state),
23138         (gst_element_set_state):
23139         * gst/gstelement.h:
23140         * gst/gstindex.c: (gst_index_init):
23141         * gst/gstindex.h:
23142         * gst/gstminiobject.h:
23143         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23144         (gst_object_set_parent):
23145         * gst/gstobject.h:
23146         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23147         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23148         * gst/gstpad.h:
23149         * gst/gstpadtemplate.h:
23150         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23151         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23152         * gst/gstpipeline.h:
23153         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23154         (gst_file_index_commit):
23155         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23156         * testsuite/pad/link.c: (gst_test_src_init),
23157         (gst_test_filter_init), (gst_test_sink_init):
23158         * testsuite/states/locked.c: (main):
23159           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23160           moved bitshift from macro to enum definition
23161
23162 2005-10-12  Wim Taymans  <wim@fluendo.com>
23163
23164         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23165         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23166         (gst_file_sink_render):
23167         Some more debugging info.
23168
23169 2005-10-12  Wim Taymans  <wim@fluendo.com>
23170
23171         * docs/design/part-states.txt:
23172         * tools/gst-launch.c: (main):
23173         Some doc updates.
23174         Revert non-intentional change.
23175
23176 2005-10-12  Wim Taymans  <wim@fluendo.com>
23177
23178         * check/gst/gstbin.c: (GST_START_TEST):
23179         * check/gst/gstelement.c: (GST_START_TEST):
23180         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23181         * check/gst/gstghostpad.c: (GST_START_TEST):
23182         * check/gst/gstpipeline.c: (GST_START_TEST):
23183         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23184         * check/states/sinks.c: (GST_START_TEST):
23185         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23186         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23187         (gst_bin_remove_func), (gst_bin_get_state_func),
23188         (gst_bin_recalc_state), (gst_bin_change_state_func),
23189         (bin_bus_handler):
23190         * gst/gstelement.c: (gst_element_get_state_func),
23191         (gst_element_get_state), (gst_element_abort_state),
23192         (gst_element_commit_state), (gst_element_set_state),
23193         (gst_element_change_state), (gst_element_change_state_func):
23194         * gst/gstelement.h:
23195         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23196         (gst_pipeline_provide_clock_func):
23197         * gst/gstutils.c: (gst_element_link_pads_filtered):
23198         * tools/gst-launch.c: (main):
23199         * tools/gst-typefind.c: (main):
23200         Use GstClockTime in _get_state() instead of GTimeVal.
23201         Remove old code in gstutils.c
23202
23203 2005-10-12  Andy Wingo  <wingo@pobox.com>
23204
23205         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23206         removed.
23207
23208         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23209         there is no task. Shouldn't affect any code, as nothing in our
23210         plugins checks this return value.
23211         (gst_pad_stop_task): Also take the stream lock if the pad has no
23212         task. Docs updated.
23213
23214 2005-10-12  Wim Taymans  <wim@fluendo.com>
23215
23216         * gst/gstpad.c: (pre_activate), (post_activate),
23217         (gst_pad_activate_pull), (gst_pad_activate_push):
23218         Cleanup activation code. Reset old state if
23219         activation failed.
23220
23221 2005-10-12  Wim Taymans  <wim@fluendo.com>
23222
23223         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23224         (gst_base_sink_change_state):
23225         No need to prerol after receiving EOS.
23226
23227         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23228         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23229         * gst/elements/gstidentity.c: (gst_identity_event):
23230         Print events more verbosely.
23231
23232 2005-10-12  Wim Taymans  <wim@fluendo.com>
23233
23234         * check/Makefile.am:
23235         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23236         * check/states/sinks2.c:
23237         Moved sinks2 testcode in sinks check.
23238
23239         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23240         (gst_bin_remove_func), (gst_bin_recalc_state),
23241         (gst_bin_change_state_func), (bin_bus_handler):
23242         Fix potential race condition when _get_state() iterated over an
23243         ASYNC element right before it posted a state completion.
23244
23245         * gst/gstclock.h:
23246         Do proper cast here.
23247
23248         * gst/gstevent.c: (gst_event_new_newsegment),
23249         (gst_event_parse_newsegment):
23250         A playback rate of 0.0 is not allowed.
23251
23252 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23253
23254         * win32/common/config.h:
23255         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23256         (_trewinddir), (_ttelldir), (_tseekdir):
23257         * win32/common/dirent.h:
23258         * win32/common/gtchar.h:
23259         * win32/common/libgstbase.def:
23260         * win32/common/libgstreamer.def:
23261         * win32/vs6/grammar.dsp:
23262         * win32/vs6/gst_inspect.dsp:
23263         * win32/vs6/gst_launch.dsp:
23264         * win32/vs6/gstreamer.dsw:
23265         * win32/vs6/libgstbase.dsp:
23266         * win32/vs6/libgstelements.dsp:
23267         * win32/vs6/libgstreamer.dsp:
23268           Visual Studio 6 project files, and a new common directory.
23269           Phear.
23270
23271 2005-10-11  Wim Taymans  <wim@fluendo.com>
23272
23273         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23274         (gst_base_sink_do_sync), (gst_base_sink_query),
23275         (gst_base_sink_change_state):
23276         * gst/base/gstbasesink.h:
23277         Correctly parse newsegment info.
23278
23279 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23280
23281         * gst/gst.c: (init_post):
23282           split plugin paths correctly
23283
23284 2005-10-11  Wim Taymans  <wim@fluendo.com>
23285
23286         * check/gst/gstevent.c: (GST_START_TEST):
23287         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23288         (gst_base_sink_change_state):
23289         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23290         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23291         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23292         * gst/gstevent.c: (gst_event_new_newsegment),
23293         (gst_event_parse_newsegment):
23294         * gst/gstevent.h:
23295         Added extra flag to newsegment for future API freeze.
23296         Updated check and base elements.
23297
23298 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23299
23300         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23301         (gst_collectpads_add_pad), (gst_collectpads_pop),
23302         (gst_collectpads_event), (gst_collectpads_chain):
23303         * gst/base/gstcollectpads.h: Handle EOS correctly.
23304
23305 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23306
23307         * tools/gst-launch.c: (main):
23308           more null protecting
23309
23310 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23311
23312         * gst/gst-i18n-lib.h:
23313           check for ENABLE_NLS, not GETTEXT_PACKAGE
23314         * gst/gstregistry.c: (gst_registry_add_plugin),
23315         (gst_registry_scan_path_level),
23316         (_gst_registry_remove_cache_plugins):
23317           protect possibly NULL strings
23318         * gst/parse/types.h:
23319           config.h already included before
23320         * tools/gst-inspect.c: (main):
23321           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23322           check for ENABLE_NLS, not GETTEXT_PACKAGE
23323         * tools/gst-launch.c: (main):
23324           check for ENABLE_NLS, not GETTEXT_PACKAGE
23325
23326 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23327
23328         * configure.ac:
23329           if we don't have glib, fail before testing 2.8
23330         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23331           fix a leak, should fix plugins-base testsuite
23332
23333 2005-10-11  Andy Wingo  <wingo@pobox.com>
23334
23335         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23336         take the mode we're going to as an arg. Go head and set the mode
23337         and flushing flags now, so that if the activate function starts a
23338         thread all the flags will be in the right state.
23339         (post_activate): Renamed also. Just handle making sure streaming
23340         finishes for the deactivation case, and setting the deactivated
23341         mode.
23342         (gst_pad_set_active): Complain loudly if deactivation fails.
23343         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23344         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23345         remove the terrible hack.
23346
23347 2005-10-11  Wim Taymans  <wim@fluendo.com>
23348
23349         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23350         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23351         (gst_bin_recalc_state), (gst_bin_change_state_func),
23352         (gst_bin_dispose), (bin_bus_handler):
23353         * gst/gstbin.h:
23354         Prepare to make current EOS message queue more generic.
23355         Fix some typos.
23356
23357         * gst/gstevent.c: (gst_event_new_newsegment),
23358         (gst_event_parse_newsegment):
23359         * gst/gstevent.h:
23360         Rename base to stream_time.
23361
23362         * gst/gstmessage.h:
23363         Fix typo in docs.
23364
23365 2005-10-11  Wim Taymans  <wim@fluendo.com>
23366
23367         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23368         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23369         (gst_bin_change_state_func), (bin_bus_handler):
23370         * gst/gstbin.h:
23371         Work on proper clock selection.
23372
23373 2005-10-11  Edward Hervey  <edward@fluendo.com>
23374
23375         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23376         * libs/gst/controller/gstcontroller.h:
23377         Added GList* version of _remove_properties() in order to be able to wrap
23378         it in bindings.
23379
23380 2005-10-11  Wim Taymans  <wim@fluendo.com>
23381
23382         * docs/design/part-states.txt:
23383         Some more docs.
23384
23385         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23386         (gst_bin_change_state_func), (bin_bus_handler):
23387         Doc updates. Don't distribute the same clock over and over again.
23388
23389         * gst/gstclock.c:
23390         * gst/gstclock.h:
23391         Doc updates.
23392
23393         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23394         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23395         (gst_pad_send_event):
23396         * gst/gstpad.h:
23397         Make probe emission threadsafe again.
23398         Register quarks and move _get_name() from utils.
23399         Doc updates.
23400
23401         * gst/gstpipeline.c: (gst_pipeline_class_init),
23402         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23403         Only redistribute the clock of it changed.
23404
23405         * gst/gstsystemclock.h:
23406         Doc updates. 
23407
23408         * gst/gstutils.c:
23409         * gst/gstutils.h:
23410         Moved the _flow_get_name() to GstPad.
23411
23412 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23413
23414         * check/gst-libs/gdp.c: (GST_START_TEST):
23415         * check/gst/gstcaps.c: (GST_START_TEST):
23416         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23417         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23418         (gst_dp_packet_from_caps):
23419           fix more valgrind warnings before turning up the heat
23420
23421 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23422
23423         * gst/parse/grammar.y:
23424           some cleanup before the hacking
23425
23426 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23427
23428         * gst/base/gstbasesrc.c: (gst_base_src_query):
23429           use conversions
23430         * gst/gstutils.c: (gst_guint64_to_gdouble),
23431         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23432         * gst/gstutils.h:
23433           externalize, basesrc uses it
23434           obviously the implementation needs testing
23435
23436 2005-10-10  Wim Taymans  <wim@fluendo.com>
23437
23438         * tests/sched/Makefile.am:
23439         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23440         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23441
23442 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23443
23444         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23445           apparently converting from guint64 to double is not implemented
23446           on MSVC
23447
23448 2005-10-10  Wim Taymans  <wim@fluendo.com>
23449
23450         * check/Makefile.am:
23451         * check/generic/states.c: (GST_START_TEST):
23452         * check/gst/gstbin.c: (GST_START_TEST):
23453         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23454         * check/states/sinks.c: (GST_START_TEST):
23455         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23456         (main):
23457         Check fixes, use API as stated in design docs, remove hacks.
23458
23459         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23460         (gst_base_sink_change_state):
23461         Catch stopping our task while we're shutting down.
23462
23463         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23464         (gst_bin_remove_func), (gst_bin_get_state_func),
23465         (gst_bin_recalc_state), (gst_bin_change_state_func),
23466         (bin_bus_handler):
23467         * gst/gstbin.h:
23468         * gst/gstelement.c: (gst_element_init),
23469         (gst_element_get_state_func), (gst_element_abort_state),
23470         (gst_element_commit_state), (gst_element_lost_state),
23471         (gst_element_set_state), (gst_element_change_state),
23472         (gst_element_change_state_func):
23473         * gst/gstelement.h:
23474         New state change algorithm (see #318116)
23475
23476         * gst/gstpipeline.c: (gst_pipeline_class_init),
23477         (gst_pipeline_init), (gst_pipeline_set_property),
23478         (gst_pipeline_get_property), (do_pipeline_seek),
23479         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23480         * gst/gstpipeline.h:
23481         Remove crude state change hacks.
23482
23483         * gst/gstutils.h:
23484         Remove crude hacks.
23485
23486         * tools/gst-launch.c: (main):
23487         Fixes for state change. Needs some more work to fully use the
23488         new stuff.
23489
23490 2005-10-10  Andy Wingo  <wingo@pobox.com>
23491
23492         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23493
23494         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23495         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23496         issue.
23497
23498 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23499
23500         * gst/gstiterator.c: (gst_iterator_new):
23501           Fix my previous commit: GTypes passed to gst_iterator_new()
23502           can be fundamental types.
23503
23504 2005-10-10  Wim Taymans  <wim@fluendo.com>
23505
23506         * gst/gstelement.c: (gst_element_iterate_pad_list),
23507         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23508         (gst_element_iterate_sink_pads):
23509         Use src/sink pads lists for the respective iterators instead
23510         of filtering.
23511
23512 2005-10-10  Andy Wingo  <wingo@pobox.com>
23513
23514         Merged in popt removal + GOption addition patch from Ronald, bug
23515         #169772.
23516
23517         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23518         GstElement macros around, remove popt-related symbols, add goption
23519         stuff.
23520
23521         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23522         
23523         * docs/gst/Makefile.am:
23524         * docs/libs/Makefile.am: No POPT_CFLAGS.
23525         
23526         * examples/manual/Makefile.am:
23527         * docs/manual/basics-init.xml: Doc updates with an example.
23528         
23529         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23530         (gst_init), (parse_one_option), (parse_goption_arg):
23531         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23532         bit of hand merging and debugging to get the GOption stuff working
23533         tho.
23534         
23535         * tests/Makefile.am:
23536         * tools/Makefile.am:
23537         * tools/gst-inspect.c: (main):
23538         * tools/gst-launch.c: (main):
23539         * tools/gst-run.c: (main):
23540         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23541
23542 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23543
23544         * gst/gstiterator.c: (gst_iterator_new):
23545           Add assertions to make sure passed GType is likely to really
23546           be a GType (as the compiler won't catch it if the size and
23547           GType arguments get mixed up, see #318447).
23548
23549 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23550
23551         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23552
23553         * gst/gstbin.c: (gst_bin_iterate_sorted):
23554           Pass GType and size arguments to gst_iterator_new() in the right
23555           order (maybe we should make _new() take the GType as first argument
23556           just like _new_list()?) (#318447).
23557           
23558
23559 2005-10-10  Wim Taymans  <wim@fluendo.com>
23560
23561         * gst/gstelement.c: (gst_element_finalize):
23562         And free the GStaticRecMutex too
23563
23564 2005-10-10  Andy Wingo  <wingo@pobox.com>
23565
23566         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23567         Allocate and free the mutex properly.
23568
23569         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23570         New macros.
23571         (GstElement): The state_lock is now recursive. Rebuild your
23572         plugins, suckers. Old macros adapted.
23573
23574         * docs/gst/gstreamer-sections.txt: Doc updates.
23575
23576         * gst/gstutils.h:
23577         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23578         (g_static_rec_cond_wait): Ported from state changes patch, while
23579         we wait on bug #317802 to be solved in a well-distributed GLib.
23580
23581         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23582         gst_element_change_state, variable name changes.
23583         (gst_element_change_state): Split out of gst_element_set_state in
23584         preparation for the state change merge. Doesn't pay attention to
23585         the 'transition' argument.
23586         (gst_element_set_state): Updates, hopefully purely cosmetic.
23587         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23588         state change patch.
23589         (gst_element_get_state_func): Renamed from get_state, cosmetic
23590         changes.
23591
23592 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23593
23594         * gst/elements/gstelements.c:
23595         * win32/GStreamer.vcproj:
23596         * win32/config.h:
23597         * win32/dirent.c: (_tseekdir):
23598         * win32/gst-inspect.vcproj:
23599         * win32/gst-launch.vcproj:
23600         * win32/gstconfig.h:
23601         * win32/gstelements.vcproj:
23602         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23603         * win32/gstreamer.def:
23604         * win32/msvc71.sln:
23605           updates for the win32 build (patch from Sebastien Moutte)
23606
23607 2005-10-10  Andy Wingo  <wingo@pobox.com>
23608
23609         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23610         gst_bin_get_state, cleaned up (but no logic changes).
23611         (bin_element_is_sink): Comment updates.
23612         (sink_iterator_filter): Remove needless cast.
23613         (gst_bin_iterate_sinks): Doc update.
23614         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23615         cleaned up (but no logic changes).
23616
23617         * check/states/sinks.c (test_src_sink): Cleanups from the state
23618         change patch.
23619         (test_livesrc_sink): Sync on the state.
23620
23621         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23622         the state change patch.
23623
23624         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23625         change patch.
23626
23627         * check/gst/gstbin.c: Merge in some style fixes and additional
23628         checks from Wim's state change patch.
23629
23630 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23631
23632         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23633         (gst_type_find_helper):
23634           Check whether we have the requested data already in our list of
23635           cached buffers before pulling a new buffer; also make the buffer
23636           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23637
23638 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23639
23640         * gst/gstcaps.c:
23641         * gst/gstevent.c:
23642           doc updates
23643         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23644           don't use long long, it's not portable.  Replacing with
23645           gint64 seems to work; let's hope no skeletons fall out of the closet.
23646
23647 2005-10-10  Andy Wingo  <wingo@pobox.com>
23648
23649         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23650
23651 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23652
23653         * docs/gst/gstreamer-sections.txt:
23654         * gst/gstevent.c:
23655         * gst/gstevent.h:
23656         * gst/gstinfo.c:
23657         * gst/gstinfo.h:
23658         * gst/gstmessage.c: (gst_message_parse_state_changed):
23659         * gst/gstpad.c:
23660         * gst/gstpad.h:
23661           more docs, fix compilation
23662
23663 2005-10-09  Philippe Khalaf <burger@speedy.org>
23664         * gst/gstmessage.c:
23665           Fixed a few forgotten variables on previous commit
23666
23667 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23668
23669         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23670           Fix evil typefind crasher: getrange() might return a short
23671           buffer at the end of a file, but gst_type_find_peek() must
23672           either return the full data as requested or NULL, but
23673           never a short buffer.
23674
23675 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23676
23677         * gst/gstmessage.c: (gst_message_new_state_changed),
23678         (gst_message_parse_state_changed):
23679         * gst/gstmessage.h:
23680           don't use "new", it's a C++ keyword
23681
23682 2005-10-08  Wim Taymans  <wim@fluendo.com>
23683
23684         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23685         * gst/gstelement.c: (gst_element_post_message):
23686         * gst/gstpipeline.c: (gst_pipeline_change_state):
23687         Small docs and debug updates.
23688
23689 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23690
23691         * docs/gst/gstreamer-sections.txt:
23692         * gst/gstelementfactory.c:
23693         * gst/gstevent.c:
23694         * gst/gsttaglist.c:
23695           more docs
23696
23697 2005-10-08  Wim Taymans  <wim@fluendo.com>
23698
23699         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23700         (gst_bin_dispose), (bin_bus_handler):
23701         Fix typos, add comments.
23702         Clear EOS list when going to PAUSED from any direction and do it
23703         in a threadsafe way.
23704         Get base time in a threadsafe way too.
23705         Fix confusing debug in the change_state function.
23706         Various other small cleanups.
23707         
23708         * gst/gstelement.c: (gst_element_post_message):
23709         Fix very verbose bus posting code.
23710
23711         * gst/gstpipeline.c: (gst_pipeline_class_init),
23712         (gst_pipeline_set_property), (gst_pipeline_get_property),
23713         (gst_pipeline_change_state):
23714         Small ARG_ -> PROP_ cleanup
23715
23716 2005-10-08  Wim Taymans  <wim@fluendo.com>
23717
23718         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23719         Do a less CPU demanding EOS check because we can.
23720
23721 2005-10-08  Wim Taymans  <wim@fluendo.com>
23722
23723         * libs/gst/dataprotocol/dataprotocol.c:
23724         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23725         (gst_dp_packet_from_event):
23726         * libs/gst/dataprotocol/dataprotocol.h:
23727         * libs/gst/dataprotocol/dp-private.h:
23728         It's about time we bump the version number.
23729         Since event types don't fit in the guint8 anymore describing
23730         the payload type, make payload type 16 bits wide.
23731
23732 2005-10-08  Wim Taymans  <wim@fluendo.com>
23733
23734         * docs/design/part-TODO.txt:
23735         * docs/design/part-clocks.txt:
23736         * docs/design/part-events.txt:
23737         * docs/design/part-gstbin.txt:
23738         * docs/design/part-gstelement.txt:
23739         * docs/design/part-gstpipeline.txt:
23740         * docs/design/part-live-source.txt:
23741         * docs/design/part-messages.txt:
23742         * docs/design/part-overview.txt:
23743         * docs/design/part-states.txt:
23744         Many doc updates.
23745
23746 2005-10-08  Wim Taymans  <wim@fluendo.com>
23747
23748         * gst/gstevent.c:
23749         * gst/gstevent.h:
23750         Fix event quark registration.
23751         Add some space between events so we can insert them in the
23752         right groups.
23753
23754 2005-10-08  Wim Taymans  <wim@fluendo.com>
23755
23756         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23757         (gst_base_sink_handle_buffer):
23758         Better log message.
23759
23760         * gst/gstbus.h:
23761         * gst/gstelement.h:
23762         More docs.
23763
23764         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23765         (gst_queue_set_property), (gst_queue_get_property):
23766         * gst/gstqueue.h:
23767         Remove old unused properties.
23768
23769 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23770         * docs/gst/gstreamer-sections.txt:
23771         * gst/gstmessage.c:
23772         * gst/gstmessage.h:
23773         * gst/gstminiobject.c:
23774         * gst/gstminiobject.h:
23775         * gst/gstobject.h:
23776         * gst/gstpad.h:
23777         * gst/gstutils.h:
23778           lots of new docs and doc fixes
23779
23780 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23781
23782         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23783         * gst/gstplugin.h:
23784         * gst/gstregistry.c: (gst_registry_lookup_locked),
23785         (gst_registry_scan_path_level):
23786         * gst/gstregistryxml.c: (load_plugin):
23787           Only ever load one plugin for a given plugin basename.
23788           This ensures correct overriding of GST_PLUGIN_PATH over
23789           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23790           system installed plugins.
23791
23792 2005-10-08  Wim Taymans  <wim@fluendo.com>
23793
23794         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23795         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23796         Prepare for doing QOS.
23797
23798 2005-10-08  Wim Taymans  <wim@fluendo.com>
23799
23800         * check/gst/gstbin.c: (GST_START_TEST):
23801         * check/pipelines/cleanup.c: (GST_START_TEST):
23802         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23803         Allow new clock message too.
23804
23805 2005-10-08  Wim Taymans  <wim@fluendo.com>
23806
23807         * gst/gstmessage.c: (gst_message_new_error),
23808         (gst_message_new_warning), (gst_message_new_tag),
23809         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23810         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23811         (gst_message_new_segment_start), (gst_message_new_segment_done),
23812         (gst_message_parse_state_changed),
23813         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23814         (gst_message_parse_new_clock):
23815         * gst/gstmessage.h:
23816         Also carry the clock in question.
23817
23818 2005-10-08  Wim Taymans  <wim@fluendo.com>
23819
23820         * gst/gstmessage.c: (gst_message_new_custom),
23821         (gst_message_new_eos), (gst_message_new_error),
23822         (gst_message_new_warning), (gst_message_new_tag),
23823         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23824         (gst_message_new_new_clock), (gst_message_new_segment_start),
23825         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23826         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23827         * gst/gstmessage.h:
23828         Clean up.
23829         Added clock related messages.
23830
23831         * gst/gstpipeline.c: (gst_pipeline_change_state):
23832         Post message when the clock changed.
23833
23834         * tools/gst-launch.c: (event_loop):
23835         Print new clock.
23836
23837 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23838
23839         * tools/gst-inspect.c: (print_element_properties_info):
23840           Can't pass NULL strings to g_print() on windows.
23841
23842 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23843
23844         * docs/Makefile.am:
23845         * docs/gst/Makefile.am:
23846         * docs/gst/gstreamer-docs.sgml:
23847         * docs/gst/running.xml:
23848         * docs/version.entities.in:
23849           add a chapter on running GStreamer.
23850           document GST_DEBUG and GST_PLUGIN* env vars
23851
23852 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23853
23854         * Makefile.am:
23855           remove include dir
23856         * configure.ac:
23857           remove PLUGINS_BUILDDIR stuff
23858         * gst/gst.c: (init_post):
23859           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23860         * idiottest.mak:
23861           remove, it was condescending and not needed
23862
23863 2005-10-08  Wim Taymans  <wim@fluendo.com>
23864
23865         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23866         (gst_base_sink_handle_object), (gst_base_sink_event),
23867         (gst_base_sink_wait), (gst_base_sink_handle_event),
23868         (gst_base_sink_change_state):
23869         * gst/base/gstbasesink.h:
23870         Repost EOS message while going to PLAYING if still EOS.
23871         Make sure that when receiving a FLUSH_START we don't attempt
23872         to sync on the clock anymore.
23873
23874 2005-10-08  Wim Taymans  <wim@fluendo.com>
23875
23876         * tools/gst-launch.c: (event_loop):
23877         Better message printout.
23878
23879 2005-10-08  Wim Taymans  <wim@fluendo.com>
23880
23881         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23882         (gst_bin_child_proxy_get_children_count):
23883         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23884         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23885         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23886         (gst_child_proxy_set_valist):
23887         * gst/parse/grammar.y:
23888         Make ChildProxy threadsafe and fix mem leaks.
23889
23890 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23891
23892         * gst/gst.c: (init_post):
23893           debug the GST_PLUGIN_ env vars
23894
23895 2005-10-08  Wim Taymans  <wim@fluendo.com>
23896
23897         * check/gst/gstbin.c: (GST_START_TEST):
23898         * check/gst/gstmessage.c: (GST_START_TEST):
23899         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23900         * gst/gstelement.c: (gst_element_commit_state),
23901         (gst_element_lost_state):
23902         * gst/gstmessage.c: (gst_message_new_state_changed),
23903         (gst_message_parse_state_changed):
23904         * gst/gstmessage.h:
23905         * tools/gst-launch.c: (event_loop):
23906         Added extra field to STATE_CHANGE message with the pending
23907         state, which will be different from the new state soon.
23908
23909 2005-10-08  Wim Taymans  <wim@fluendo.com>
23910
23911         * gst/gstbus.c: (gst_bus_pop):
23912         * gst/gstclock.c:
23913         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23914         Small cleanups and doc updates.
23915
23916 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23917
23918         * gst/gst.c: (init_pre):
23919         * gst/gstbin.c: (gst_bin_add_func):
23920           log distributing clocks and base time
23921         * gst/gstregistry.c: (gst_registry_add_plugin),
23922         (gst_registry_scan_path_level), (gst_registry_scan_path):
23923           clean up the debugging output a little
23924         * gst/gstutils.c: (gst_element_state_get_name):
23925           warn about a memleak (I've actually seen this be used, though
23926           it was probably a bug)
23927
23928 2005-10-07  Wim Taymans  <wim@fluendo.com>
23929
23930         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23931         (gst_base_src_init), (gst_base_src_default_newsegment),
23932         (gst_base_src_newsegment), (gst_base_src_do_seek),
23933         (gst_base_src_loop), (gst_base_src_start):
23934         * gst/base/gstbasesrc.h:
23935         Make the newsegment event customizable by subclasses.
23936
23937 2005-10-07  Wim Taymans  <wim@fluendo.com>
23938
23939         * gst/gstevent.c: (gst_event_new_buffersize),
23940         (gst_event_parse_buffersize):
23941         * gst/gstevent.h:
23942         New event for future idea.
23943
23944 2005-10-07  Andy Wingo  <wingo@pobox.com>
23945
23946         * gst/gstelement.c (gst_element_post_message): Doc update.
23947
23948         * docs/gst/gstreamer-sections.txt: Update.
23949
23950         * gst/gstmessage.c (gst_message_new_application): Made into a
23951         function like honest API calls.
23952         (gst_message_new_element): New message type.
23953
23954         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23955
23956         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23957         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23958         times.
23959
23960         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23961         NO_PREROLL from gst_element_change_state to fall through.
23962
23963 2005-10-07  Wim Taymans  <wim@fluendo.com>
23964
23965         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23966         (gst_ghost_pad_do_activate_push):
23967         Activating a ghostpad with no internal pad in push mode
23968         is ok.
23969
23970 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23971
23972         * gst/gstobject.h:
23973           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23974           Fixes compilation on Windows.
23975
23976 2005-10-07  Michael Smith <msmith@fluendo.com>
23977
23978         * tools/gst-inspect.c:
23979           Print out feature and plugin count at the end when printing out
23980           all features.
23981
23982 2005-10-04  Michael Smith <msmith@fluendo.com>
23983
23984         * gst/gsterror.c: (_gst_stream_errors_init):
23985           Add another error string used in a few existing plugins.
23986
23987         * gst/gstplugin.c:
23988         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23989         * tools/gst-inspect.c: (print_element_info):
23990           When a feature disappears from a plugin (and the feature exists in
23991           the cached registry file), things went horribly wrong. This isn't a
23992           complete fix, we should actually be removing the 'missing' features
23993           from the features list when we load the actual plugin. That's not
23994           yet implemented. 
23995
23996 2005-10-04  Johan Dahlin  <johan@gnome.org>
23997
23998         * check/gst/gstiterator.c: (GST_START_TEST):
23999         * gst/gstbin.c: (gst_bin_iterate_elements),
24000         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24001         * gst/gstelement.c: (gst_element_iterate_pads):
24002         * gst/gstformat.c: (gst_format_iterate_definitions):
24003         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24004         (gst_iterator_new_list), (gst_iterator_filter):
24005         * gst/gstiterator.h:
24006         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24007         Add a GType to GstIterator, update callsites and tests.
24008
24009 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24010
24011         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24012           give events a chance to be handled by event probes when the pad
24013           is not linked
24014
24015 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24016
24017         * gst/gstevent.c: (gst_event_type_get_name),
24018         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24019         * gst/gstevent.h:
24020           add string representations for event types
24021
24022 2005-10-06  Wim Taymans  <wim@fluendo.com>
24023
24024         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24025         Don't use NULL pointers.
24026
24027 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24028
24029         * gst/gst_private.h:
24030         * gst/gstbus.c:
24031         * gst/gstelement.c:
24032         * gst/gstinfo.c:
24033         * gst/gstpluginfeature.c:
24034           widen the debug category in output to fit the biggest one we have
24035           add a bus category and use it
24036           play with the colors
24037           fix up some categories
24038
24039 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24040
24041         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24042           add push activation of sink ghost pads.
24043           Andye, please verify
24044
24045 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24046
24047         * gst/gstutils.c: (gst_element_link_pads):
24048           fix a bug in the case where neither element has a pad
24049         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24050           add a test for that case
24051
24052 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24053
24054         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24055           emit have-data before checking for peers.  This allows
24056           for probe handlers to connect elements.  This helps autopluggers.
24057         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24058         (gst_pad_suite):
24059           add six checks, linked/unlinked with no/true/false probe
24060
24061 2005-10-04  Wim Taymans  <wim@fluendo.com>
24062
24063         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24064         (gst_fake_sink_event), (gst_fake_sink_preroll),
24065         (gst_fake_sink_render), (gst_fake_sink_change_state):
24066         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24067         (gst_fake_src_get_property), (gst_fake_src_create),
24068         (gst_fake_src_stop):
24069         * gst/elements/gstidentity.c: (gst_identity_stop):
24070         Protect last_message with lock.
24071
24072 2005-10-04  Edward Hervey  <edward@fluendo.com>
24073
24074         * gst/gstformat.h: 
24075         Added precision in the comments for GST_FORMAT_DEFAULT
24076
24077 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24078
24079         * tools/gst-launch.c: (main):
24080           Don't try to run erroneous pipelines.
24081
24082 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24083
24084         * gst/gstbus.c: We don't need this header.
24085
24086 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24087
24088         * configure.ac:
24089           back to development
24090
24091 === release 0.9.3 ===
24092
24093 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24094
24095         * README:
24096         * configure.ac:
24097           Releasing 0.9.3, "Unregistered"
24098
24099 2005-10-03  Andy Wingo  <wingo@pobox.com>
24100
24101         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24102         whereby calling a pad's activatepush() function can start a thread
24103         that starts to push or pull before the pad gets the FLUSHING flag
24104         unset. Hack around it by holding the stream lock until the flag is
24105         set. Need to replace this with a proper solution. Together with
24106         the ghost pad fixes, this fixes mp3 playing/tagreading.
24107
24108         * docs/design/part-gstghostpad.txt: Add a note about activation of
24109         proxy pads outside of ghost pads.
24110
24111         * gst/gstghostpad.c: Implement the ghost pad activation design.
24112
24113 2005-10-02  Andy Wingo  <wingo@pobox.com>
24114
24115         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24116         It is volatile, after all.
24117
24118         * docs/design/part-gstghostpad.txt: Flesh out activation with
24119         ghost pads.
24120
24121         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24122         GST_DEBUG_FUNCPTR.
24123
24124 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24125
24126         * configure.ac:
24127           Fix (unused) AM_CONDITIONAL tests.
24128
24129 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24130
24131         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24132
24133         * gst/gstutils.c: (gst_pad_query_convert):
24134           Add assertion that makes sure src_val is >=0, just like
24135           gst_query_new_convert() has. (#315895)
24136
24137 2005-09-30  Edward Hervey  <edward@fluendo.com>
24138
24139         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24140         Let's not iterate pads we're not interested in, it avoids getting 
24141         sky-high refcounts on sinkpad.
24142
24143 2005-09-30  Wim Taymans  <wim@fluendo.com>
24144
24145         * gst/gstelement.c: (gst_element_set_state),
24146         (gst_element_change_state):
24147         Small tweak, element in ASYNC remains ASYNC.
24148
24149 2005-09-30  Wim Taymans  <wim@fluendo.com>
24150
24151         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24152         Only error is an error.
24153
24154         * gst/gstbin.c: (gst_bin_change_state):
24155         Better debugging.
24156
24157         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24158         Also call pad_block in pad alloc.
24159
24160         * gst/gstutils.c: (gst_flow_get_name):
24161         Better debugging.
24162
24163 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24164
24165         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24166         (gst_base_src_get_range):
24167           Fix documentation typos. Add some more debug info.
24168
24169 2005-09-29  David Schleef  <ds@schleef.org>
24170
24171         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24172           more end-user friendly.
24173         * tools/gst-inspect.c: (main): Check if command-line argument is
24174           a file and attempt to load that file as a plugin.
24175
24176 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24177
24178         * check/gst/gstbin.c:
24179         * check/states/sinks.c:
24180           fix tests for the new warning
24181         * check/gst/gstpipeline.c:
24182           add a test for pipeline and bus interaction
24183         * gst/gstelement.c:
24184           elements should be NULL if they get disposed; add a warning if not
24185
24186 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24187
24188         * gst/gstobject.c:
24189           for 2.6 refcounting, make debug log more correct by printing
24190           the actual refcounts at the time of swap (Wim)
24191
24192 2005-09-29  Andy Wingo  <wingo@pobox.com>
24193
24194         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24195         removes signal watches previously added via
24196         gst_bus_add_signal_watch.
24197         (gst_bus_add_signal_watch): Don't return the source id, just store
24198         it on the bus if there wasn't an id already.
24199
24200         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24201         add_signal_watch and remove_signal_watch.
24202
24203 2005-09-29  Edward Hervey  <edward@fluendo.com>
24204
24205         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24206         Better if we actually iterate the list :)
24207
24208 2005-09-29  Wim Taymans  <wim@fluendo.com>
24209
24210         * check/gst/gstbin.c: (GST_START_TEST):
24211         Change for new bus API.
24212
24213         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24214         (send_messages), (GST_START_TEST), (gstbus_suite):
24215         Change for new bus signal API.
24216
24217         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24218         (gst_bus_source_prepare), (gst_bus_source_check),
24219         (gst_bus_create_watch), (gst_bus_add_watch_full),
24220         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24221         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24222         * gst/gstbus.h:
24223         Remove support for multiple GSources operating on different
24224         message types as it is too complex and unneeded when using
24225         signals.
24226         Added support for receiving signals from the bus.
24227
24228 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24229
24230         * docs/libs/tmpl/gstdataprotocol.sgml:
24231         * docs/manual/advanced-dataaccess.xml:
24232         * gst/elements/gstcapsfilter.c:
24233         * gst/gstutils.c:
24234           rename filter-caps to caps property
24235
24236 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24237
24238         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24239           More robust fraction string parsing.
24240
24241         * docs/pwg/appendix-porting.xml:
24242           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24243
24244 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24245
24246         * gst/gstcaps.c: (gst_caps_do_simplify):
24247           Thou shalt not free a structure and then continue using it
24248           in the next loop iteration.
24249
24250         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24251         (gst_caps_suite):
24252           Add test case for caps simplification.
24253
24254 2005-09-29  Wim Taymans  <wim@fluendo.com>
24255
24256         * check/gst/gstbin.c: (GST_START_TEST):
24257         Oops.
24258
24259 2005-09-29  Wim Taymans  <wim@fluendo.com>
24260
24261         * check/gst/gstbin.c: (GST_START_TEST):
24262         Add bus to bin.
24263
24264         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24265         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24266         (find_element), (gst_bin_sort_iterator_next),
24267         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24268         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24269         (gst_bin_change_state), (gst_bin_dispose):
24270         A bin does not have a bus, it gets the bus from the parent.
24271
24272         * gst/gstelement.c: (gst_element_requires_clock),
24273         (gst_element_provides_clock), (gst_element_is_indexable),
24274         (gst_element_is_locked_state), (gst_element_change_state),
24275         (gst_element_set_bus_func):
24276         Small cleanups.
24277
24278         * gst/gstpipeline.c: (gst_pipeline_class_init),
24279         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24280         The pipeline provides a bus.
24281
24282 2005-09-28  Johan Dahlin  <johan@gnome.org>
24283
24284         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24285         gst_structure_get_enum instead of gst_structure_get_int
24286
24287         * gst/gststructure.c (gst_structure_get_enum): Impl.
24288
24289         * gst/gststructure.h (gst_structure_get_enum): Add
24290
24291         * docs/gst/gstreamer-sections.txt: Ditto
24292
24293         * gst/gstmessage.c (gst_message_new_state_changed): Use
24294         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24295         which does introspection.
24296         Reviewed by Christian Schaller
24297
24298 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24299
24300         * gst/gstinfo.c: (gst_debug_log_default):
24301           don't do dummy g_strdup()s
24302         * libs/gst/controller/gstcontroller.c:
24303         (on_object_controlled_property_changed),
24304         (gst_controlled_property_new), (gst_controller_new_valist),
24305         (gst_controller_new_list),
24306         (gst_controller_remove_properties_valist), (gst_controller_set),
24307         (gst_controller_get), (gst_controller_sync_values),
24308         (gst_controller_get_value_array), (_gst_controller_class_init),
24309         (gst_controller_get_type):
24310         * libs/gst/controller/gstcontroller.h:
24311         * libs/gst/controller/gstinterpolation.c:
24312         (gst_controlled_property_find_timed_value_node):
24313           convert // to /**/ comments
24314
24315 2005-09-28  Wim Taymans  <wim@fluendo.com>
24316
24317         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24318         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24319         (gst_bus_sync_signal_handler):
24320         * gst/gstbus.h:
24321         Added async-message and sync-message signals to the bus.
24322         Added helper BusFunc to emit signals for all posted messages.
24323
24324         * gst/gstmessage.c: (gst_message_type_get_name),
24325         (gst_message_type_to_quark), (gst_message_get_type):
24326         * gst/gstmessage.h:
24327         Register quarks for message names.
24328
24329 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24330
24331         * docs/libs/gstreamer-libs-sections.txt:
24332         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24333         (gst_controller_new_list):
24334         * libs/gst/controller/gstcontroller.h:
24335           added another constructor for language bindings
24336
24337 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24338
24339         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24340           add another check
24341         * gst/gstbus.c:
24342           add some doc
24343         * gst/gstinfo.c: (_gst_debug_init):
24344           slightly more readable color for refcount debugging
24345
24346 2005-09-28  Wim Taymans  <wim@fluendo.com>
24347
24348         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24349         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24350         (find_element), (gst_bin_sort_iterator_next),
24351         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24352         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24353         (gst_bin_change_state), (gst_bin_dispose):
24354         Small doc fixes. get_clock -> provide_clock.
24355
24356         * gst/gstelement.c: (gst_element_class_init),
24357         (gst_element_provides_clock), (gst_element_provide_clock),
24358         (gst_element_get_clock), (gst_element_commit_state),
24359         (gst_element_lost_state):
24360         * gst/gstelement.h:
24361         Make get/set_clock() symetric. Add provide_clock vmethod since
24362         that is actually what this function does.
24363
24364         * gst/gstpipeline.c: (gst_pipeline_class_init),
24365         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24366         (gst_pipeline_get_clock):
24367         get_clock -> provide_clock.
24368
24369 2005-09-28  Andy Wingo  <wingo@pobox.com>
24370
24371         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24372         lieu of real docs...
24373
24374         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24375
24376 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24377
24378         * gst/elements/gstcapsfilter.c:
24379         * gst/elements/gstfakesink.c:
24380         * gst/elements/gstfakesrc.c:
24381         * gst/elements/gstfdsink.c:
24382         * gst/elements/gstfdsrc.c:
24383         * gst/elements/gstfilesink.c:
24384         * gst/elements/gstfilesrc.c:
24385         * gst/elements/gstidentity.c:
24386         * gst/elements/gsttee.c:
24387         * gst/elements/gsttypefindelement.c:
24388           Make element details static.
24389
24390 2005-09-28  Wim Taymans  <wim@fluendo.com>
24391
24392         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24393         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24394         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24395         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24396         (gst_bin_change_state), (gst_bin_dispose):
24397         Some documentation updates.
24398         Clean up dispose handlers.
24399
24400         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24401         * gst/gstpad.c: (gst_pad_dispose):
24402         Clean up dispose handler.
24403
24404         * gst/gstpipeline.c: (gst_pipeline_change_state):
24405         Removed spurious UNLOCK.
24406
24407 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24408
24409         * docs/gst/gstreamer-sections.txt:
24410         * gst/base/gstbasesrc.h:
24411         * gst/gstelement.h:
24412         * gst/gstevent.h:
24413         * gst/gstobject.h:
24414         * gst/gstpad.h:
24415         * gst/gstpipeline.c:
24416         * gst/gstpipeline.h:
24417         * gst/gstutils.h:
24418         * gst/gstxml.h:
24419           added two new functions to the docs
24420                 documents all undocumented GstXXXFlags
24421                 completed some incomplete docs 
24422
24423 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24424
24425         * gst/gstbin.c: (gst_bin_dispose):
24426         * gst/gstelement.c: (gst_element_dispose):
24427           remove now useless and leaky resurrection code in dispose
24428         * gst/base/gstbasesrc.c: (gst_base_src_init):
24429         * gst/gstelementfactory.c: (gst_element_factory_create):
24430         * gst/gstobject.c: (gst_object_set_parent):
24431           add some debugging
24432
24433 2005-09-27  Wim Taymans  <wim@fluendo.com>
24434
24435         * docs/design/part-TODO.txt:
24436         Update TODO.
24437
24438         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24439         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24440         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24441         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24442         (gst_bin_change_state):
24443         * gst/gstelement.h:
24444         Remove element variable, we keep element info in the iterator now.
24445
24446 2005-09-27  Andy Wingo  <wingo@pobox.com>
24447
24448         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24449         values.
24450
24451 2005-09-27  Wim Taymans  <wim@fluendo.com>
24452
24453         * check/gst/gstbin.c: (GST_START_TEST):
24454         Enable check that works now.
24455
24456         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24457         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24458         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24459         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24460         (gst_bin_change_state):
24461         * gst/gstbin.h:
24462         Redid the state change algorithm using a topological sort algo.
24463         Handles all cases correctly.
24464         Exposed iterator for state change order.
24465
24466         * gst/gstelement.h:
24467         Temp storage for state changes. Need to get rid of this soon.
24468
24469 2005-09-27  Wim Taymans  <wim@fluendo.com>
24470
24471         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24472         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24473         (link_fold_func), (gst_pad_proxy_setcaps):
24474         Leak fixes, the fold functions need to unref the passed object and
24475         _get_parent_*() returns ref to parent.
24476
24477 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24478
24479         * check/gst/gstbuffer.c: (test_make_writable):
24480           Plug leak in test case and fix 'make check-valgrind'
24481
24482 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24483
24484         * gst/gstbuffer.c: (gst_subbuffer_init):
24485           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24486           works correctly in all circumstances (we could have just copied
24487           the parent buffer's readonly flag, but conceptually it seems
24488           cleaner to mark all subbuffers as read-only). (based on patch
24489           by Alessandro Decina, #314710).
24490         
24491         * check/gst/gstbuffer.c: (create_read_only_buffer),
24492         (test_make_writable), (test_subbuffer_make_writable),
24493         (gst_test_suite):
24494           Add some tests for gst_buffer_make_writable().
24495
24496 2005-09-27  Wim Taymans  <wim@fluendo.com>
24497
24498         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24499         use gst_object_has_ancestor().
24500
24501         * gst/gstobject.c: (gst_object_has_ancestor):
24502         * gst/gstobject.h:
24503         gst_object_has_ancestor() copied from gstbin.c as it is a
24504         useful function.
24505
24506         * tests/instantiate/create.c: (create_all_elements):
24507         * tests/lat.c: (handoff_src), (handoff_sink):
24508         * tests/sched/runxml.c: (main):
24509         * tests/seeking/seeking1.c: (main):
24510         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24511         (main):
24512         Fix compilation of some tests.
24513
24514 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24515
24516         * gst/gsterror.h:
24517           Remove comment. GST_TYPE_G_ERROR is here to stay,
24518           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24519           (#316961, #300610).
24520
24521 2005-09-26  Wim Taymans  <wim@fluendo.com>
24522
24523         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24524         Added check that shows error in state change order.
24525
24526 2005-09-26  Wim Taymans  <wim@fluendo.com>
24527
24528         * gst/gstbin.c: (gst_bin_change_state):
24529         Make state change function use 3 queues again, we were
24530         adding elements in the wrong order.
24531
24532         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24533         Some debug info,
24534
24535         * gst/gstpad.c: (gst_pad_dispose):
24536         Added some debug info first.
24537
24538 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24539
24540         * docs/design/draft-push-pull.txt:
24541         * docs/design/part-events.txt:
24542         * docs/design/part-overview.txt:
24543         * docs/design/part-scheduling.txt:
24544           Replace all _pull_region() with _pull_range()
24545           
24546 2005-09-26  Andy Wingo  <wingo@pobox.com>
24547
24548         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24549
24550         * check/gst-libs/controller.c: Update for controller api change.
24551
24552         * configure.ac: 
24553         * tests/Makefile.am:
24554         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24555         over by GLib bug 118439.
24556         
24557         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24558         routines to a function.
24559
24560         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24561
24562         * libs/gst/controller/gsthelper.c:
24563         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24564         (gst_object_sync_values): Renamed from sink_values. Ugh.
24565
24566         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24567
24568         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24569         Renamed from controller_key, as it is exported.
24570
24571         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24572
24573 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24574
24575         * gst/Makefile.am:
24576         * gst/gst.h:
24577         * gst/gstpad.h:
24578         * gst/gstpadtemplate.h:
24579         * gst/gstquery.c:
24580         * gst/gstquery.h:
24581         * gst/gstqueryutils.c:
24582         * gst/gstqueryutils.h:
24583           remove queryutils headers after moving the two used functions
24584           to gstquery.  also fixes build problem for gstsiddec
24585
24586 2005-09-26  Michael Smith <msmith@fluendo.com>
24587
24588         * tools/gst-launch.1.in:
24589         Correct documentation in manpage of debug syntax
24590
24591 2005-09-26  Wim Taymans  <wim@fluendo.com>
24592
24593         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24594         (gst_base_src_is_seekable), (gst_base_src_change_state):
24595         Some more debugging info.
24596
24597 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24598
24599         * docs/gst/gstreamer-sections.txt:
24600         * gst/base/gstbasetransform.h:
24601         * gst/gstindex.h:
24602           added more docs
24603
24604 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24605
24606         * docs/gst/.cvsignore:
24607         * docs/gst/tmpl/.cvsignore:
24608         * docs/gst/tmpl/gstpipeline.sgml:
24609         * docs/gst/tmpl/gstplugin.sgml:
24610         * gst/gstpipeline.c:
24611         * gst/gstplugin.c:
24612         * gst/gstplugin.h:
24613           inlined the last two docs files
24614           removed the tmpl directory from cvs (no more conflicts here!)
24615
24616 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24617
24618         * docs/gst/gstreamer-sections.txt:
24619         * docs/gst/tmpl/.cvsignore:
24620         * docs/gst/tmpl/gstpad.sgml:
24621         * docs/gst/tmpl/gstpadtemplate.sgml:
24622         * gst/Makefile.am:
24623         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24624         (gst_pad_finalize), (gst_pad_set_pad_template):
24625         * gst/gstpad.h:
24626         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24627         (gst_pad_template_class_init), (gst_pad_template_init),
24628         (gst_pad_template_dispose), (name_is_valid),
24629         (gst_static_pad_template_get), (gst_pad_template_new),
24630         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24631         (gst_pad_template_pad_created):
24632         * gst/gstpadtemplate.h:
24633           inlined two more docs
24634           factored gstpadtemplate out of gstpad
24635
24636 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24637
24638         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24639         (test_children_state_change_order_semi_sink):
24640           Fix test case: we can't rely on a fixed state change order when
24641           going from READY => PAUSED because the sink might commit its 
24642           new state first when the first buffer created by the source 
24643           reaches the sink before the source has finished its change state.
24644           (Test case still fails at times, see #316856, comment 5 onwards)
24645
24646 2005-09-24  Wim Taymans  <wim@fluendo.com>
24647
24648         * docs/design/part-events.txt:
24649         * docs/design/part-gstbus.txt:
24650         * docs/design/part-gstpipeline.txt:
24651         * docs/design/part-messages.txt:
24652         * docs/design/part-overview.txt:
24653         * docs/design/part-segments.txt:
24654         * gst/gstbin.c:
24655         * gst/gstbuffer.c:
24656         * gst/gstclock.c:
24657         * gst/gstelement.c:
24658         * gst/gstevent.c:
24659         * gst/gstfilter.c:
24660         * gst/gstiterator.c:
24661         Various documentation updates.
24662
24663 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24664
24665         * gst/gstclock.h:
24666           Well, that's embarassing.  Luckily we weren't using
24667           GST_CLOCK_DIFF anywhere.
24668
24669 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24670
24671         * common/gtk-doc.mak:
24672           don't fail on building XML, FC4 slave shows a bunch of doc
24673           missing bits that I don't get
24674         * gst/gstpad.c:
24675         * gst/gstpipeline.c:
24676         * gst/gststructure.c:
24677           some doc updates
24678
24679 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24680
24681         * docs/design/part-gstbin.txt:
24682         * docs/design/part-gstbus.txt:
24683         * gst/gstbus.c:
24684           Add blurb about how the bus goes into flushing mode and
24685           drops all messages when its bin goes from READY into NULL 
24686           state.
24687
24688 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24689
24690         * docs/gst/gstreamer-sections.txt:
24691         * gst/gststructure.c: (gst_structure_get_clock_time):
24692         * gst/gststructure.h:
24693           add a method to get a GstClockTime out of a structure
24694
24695 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24696
24697         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24698         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24699           Added test to check state change order in bins (can still be made
24700           to fail here under heavy disk load; bails out with 'Push on pad
24701           fakesink:sink0, but it was not activated in push mode').
24702
24703         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24704           Fix state change order when there is only a semi sink (#316856)
24705
24706         * gst/gstbus.c: (gst_bus_class_init):
24707           Use _class_peek_parent(), not _class_ref(); fix docs to say
24708           'default main context' instead of 'mainloop' where that is
24709           what's meant.
24710
24711         * gst/gstelement.c: (gst_element_commit_state),
24712         (gst_element_set_state):
24713           Fix typos in debug messages
24714
24715 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24716
24717         * docs/README:
24718         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24719         * gst/gstpluginfeature.c:
24720         * gst/gstutils.c:
24721           various doc updates
24722         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24723           change an assert into an error until it gets fixed properly
24724
24725 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24726
24727         * docs/gst/gstreamer-sections.txt:
24728         * docs/gst/tmpl/.cvsignore:
24729         * docs/gst/tmpl/gstelement.sgml:
24730         * docs/gst/tmpl/gstinfo.sgml:
24731         * docs/gst/tmpl/gstobject.sgml:
24732         * gst/gstelement.c:
24733         * gst/gstelement.h:
24734         * gst/gstinfo.c:
24735         * gst/gstinfo.h:
24736         * gst/gstobject.c: (gst_object_class_init):
24737         * gst/gstobject.h:
24738           inlined 3 more biiiig doc files and added some missing docs on the fly
24739
24740 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24741
24742         * check/gst/.cvsignore:
24743         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24744         * gst/gstregistryxml.c: (load_plugin),
24745         (gst_registry_xml_save_plugin):
24746           put back source in registry.  add checks for find_plugin.
24747         * testsuite/states/bin.c: (assert_state), (empty_bin),
24748         (test_adding_one_element), (main):
24749         * testsuite/states/locked.c: (main):
24750           some compile/run fixes
24751
24752 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24753
24754         * check/gst/gstvalue.c: (GST_START_TEST):
24755           fix leaks in the test itself
24756
24757 2005-09-22  Wim Taymans  <wim@fluendo.com>
24758
24759         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24760         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24761         (gst_base_sink_query):
24762         Prepare for more accurate position reporting and query
24763         handling.
24764
24765         * gst/gstelement.c: (gst_element_send_event),
24766         (gst_element_set_state):
24767         Add some comment.
24768
24769 2005-09-22  Wim Taymans  <wim@fluendo.com>
24770
24771         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24772         (gst_query_parse_segment):
24773         * gst/gstquery.h:
24774         More documentation.
24775         Add segment query for future use.
24776
24777 2005-09-22  Wim Taymans  <wim@fluendo.com>
24778
24779         * gst/gstbin.c: (gst_bin_add_func):
24780         Some more debug info.
24781
24782         * gst/gstelement.c: (gst_element_send_event):
24783         Simplify send_event
24784
24785         * gst/gstelement.h:
24786         Don't know how flags got broken.
24787
24788         * gst/gstquery.h:
24789         Added new query.
24790
24791 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24792
24793         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24794           Add simplistic test suite for GST_TYPE_DATE serialisation and
24795           deserialisation.
24796
24797 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24798
24799         * docs/gst/gstreamer-sections.txt:
24800         * gst/gststructure.c: (gst_structure_set_valist),
24801         (gst_structure_get_date):
24802         * gst/gststructure.h:
24803         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24804         (gst_date_copy), (gst_value_compare_date),
24805         (gst_value_serialize_date), (gst_value_deserialize_date),
24806         (gst_value_transform_date_string),
24807         (gst_value_transform_string_date), (_gst_value_initialize):
24808         * gst/gstvalue.h:
24809           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24810           bunch of utility functions along with a hack that checks that
24811           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24812           is required. Part of the grand scheme in #170777.
24813
24814 2005-09-22  Andy Wingo  <wingo@pobox.com>
24815
24816         * gst/gstconfig.h.in: Psych out gtk-doc.
24817
24818         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24819
24820         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24821
24822         * tools/gst-inspect.c (print_element_list): Plug some
24823         inconsequential leaks.
24824
24825         * gst/gstregistry.c (gst_registry_get_default): Doc.
24826
24827         * check/gst/gstplugin.c: 
24828         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24829         * gst/gstelementfactory.c (gst_element_factory_create): 
24830         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24831         refcount changes.
24832
24833         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24834         (gst_plugin_feature_load): Doc, don't eat refs.
24835
24836         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24837         (gst_plugin_list_free): Doc.
24838         (gst_plugin_load_file): Doc updates.
24839
24840         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24841         accessors returning refcounted objects, return a ref.
24842
24843         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24844         accessor for caps. IDEMPOTENCE. Oh yes.
24845
24846 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24847
24848         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24849
24850         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24851         (_gst_debug_register_funcptr):
24852           Add mutex to serialise access to the hash table with
24853           the function pointer => function name string mapping;
24854           make that hash table static scope (#316809).
24855
24856         * gst/registries/.cvsignore:
24857           Remove left-over file.
24858
24859 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24860
24861         * docs/pwg/appendix-porting.xml:
24862           And something about newsegment events and caps-on-buffers to
24863           the porting guide (feel free to improve).
24864
24865 2005-09-21  Andy Wingo  <wingo@pobox.com>
24866
24867         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24868         data and event probes on the same pad.
24869         (test_buffer_probe_once): Test that removing probes from within
24870         the probe functions works.
24871
24872 2005-09-21  Andy Wingo  <wingo@pobox.com>
24873
24874         * check/gst/gstutils.c: New file.
24875         (test_buffer_probe_n_times): A simple buffer probe test. More to
24876         come, foolios.
24877
24878         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24879         have-data::buffer, not have-data.
24880         (gst_pad_add_event_probe): Likewise for have-data::event.
24881         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24882         peer' isn't quite right yet though.
24883         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24884         (gst_pad_remove_data_probe): Change to take the guint handler_id
24885         as their arg, not the function+data, which is more glib-like.
24886
24887         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24888         the signal emission to indicate if the data is a buffer or an
24889         event.
24890         (gst_pad_get_type): Initialize buffer and event quarks.
24891         (gst_pad_class_init): have-data is now a detailed signal, yes it
24892         is.
24893
24894 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24895
24896         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24897         * gst/gstutils.c: (gst_util_set_value_from_string),
24898         (gst_util_set_object_arg):
24899           Don't put functional code in g_return_if_fail() or
24900           g_return_val_if_fail() statements, otherwise things will 
24901           break when G_DISABLE_CHECKS is defined during compilation.
24902
24903 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24904
24905         * docs/gst/tmpl/.cvsignore:
24906         * docs/gst/tmpl/gstvalue.sgml:
24907         * gst/gstvalue.c:
24908         * gst/gstvalue.h:
24909           inlied another one and added  some obvious docs
24910
24911 2005-09-21  Wim Taymans  <wim@fluendo.com>
24912
24913         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24914         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24915         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24916         (gst_fdsrc_get_property), (gst_fdsrc_create):
24917         * gst/elements/gstfdsrc.h:
24918         Properly implement fdsrc. Removed signal and timeout,
24919         better implemented somewhere else.
24920
24921 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24922
24923         * docs/gst/tmpl/.cvsignore:
24924         * docs/gst/tmpl/gstimplementsinterface.sgml:
24925         * gst/gstinterface.c:
24926           inlined more docs
24927
24928 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24929
24930         * docs/gst/gstreamer-sections.txt:
24931         * docs/gst/tmpl/.cvsignore:
24932         * docs/gst/tmpl/gstenumtypes.sgml:
24933           remove obsolete doc file
24934
24935 2005-09-21  David Schleef  <ds@schleef.org>
24936
24937         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24938         little beer, fix a little leak.
24939
24940 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24941
24942         * docs/gst/gstreamer-docs.sgml:
24943         * docs/gst/gstreamer-sections.txt:
24944         * docs/gst/tmpl/.cvsignore:
24945         * gst/Makefile.am:
24946         * gst/gst.h:
24947         * gst/gstbin.c:
24948         * gst/gstelement.h:
24949         * gst/gstindex.c: (gst_index_class_init):
24950         * gst/gstindex.h:
24951         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24952         (gst_index_factory_class_init), (gst_index_factory_init),
24953         (gst_index_factory_finalize), (gst_index_factory_new),
24954         (gst_index_factory_destroy), (gst_index_factory_find),
24955         (gst_index_factory_create), (gst_index_factory_make):
24956         * gst/gstindexfactory.h:
24957         * gst/gstpluginfeature.c:
24958         * gst/gstpluginfeature.h:
24959         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24960           more docs inlined, splitted gstindex.{c,h}
24961
24962 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24963
24964         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24965           fix a leak
24966
24967 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24968
24969         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24970           Set sync to FALSE by default.
24971
24972 2005-09-20  Wim Taymans  <wim@fluendo.com>
24973
24974         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24975         (gst_base_sink_init):
24976         Make sync property settable from subclass.
24977
24978         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24979         (gst_fake_sink_change_state):
24980         Set sync to FALSE by default.
24981
24982 2005-09-20  Wim Taymans  <wim@fluendo.com>
24983
24984         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24985         * tools/gst-launch.c: (main):
24986         The timeout handler should have lower priority than the source
24987         so we don't timeout before popping a message with 0 timeout.
24988         Dump error messages after failed state change.
24989
24990 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24991
24992         * tools/gst-inspect.c: (print_element_properties_info):
24993           Fix two typos.
24994
24995 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24996
24997         * check/gst/gstevent.c:
24998         * gst/elements/gstfakesink.c:
24999         * gst/elements/gstfakesink.h:
25000           remove the sync property from fakesink.
25001           has the side effect of setting sync TRUE
25002           for fakesink, which is a change.  Anyone who knows how
25003           to fix this nicely in a GObject-y way, feel free.
25004
25005 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25006
25007         * docs/gst/gstreamer-docs.sgml:
25008           remove probe refsection
25009
25010 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25011
25012         * check/Makefile.am:
25013           disable valgrinding the controller test again
25014         * docs/gst/gstreamer-sections.txt:
25015           update for api-changes
25016
25017 2005-09-20  Wim Taymans  <wim@fluendo.com>
25018
25019         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25020         (gst_base_sink_set_property), (gst_base_sink_get_property),
25021         (gst_base_sink_do_sync):
25022         * gst/base/gstbasesink.h:
25023         Added sync property to basesink to disable clock sync.
25024
25025 2005-09-20  Andy Wingo  <wingo@pobox.com>
25026
25027         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25028         eating the caller's refcount.
25029
25030         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25031         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25032         refcount.
25033
25034         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25035         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25036         of GLib 2.8 public, so we can know which refcount to check in
25037         tests.
25038
25039         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25040         (gst_object_init): Only set the gst refcount if we're going ahead
25041         with the refcount hack.
25042
25043 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25044
25045         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25046         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25047           more leaks plumbed, added more debug-logging
25048         * gst/gstmacros.h:
25049           whitespace fix
25050
25051 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25052
25053         * gst/gstmessage.c:
25054           remove include of gstmemchunk.h
25055
25056 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25057
25058         * gst/gstclock.c: (_gst_clock_id_free):
25059           Commit from the Political Party For More Atomic CVS Commits,
25060           so that people don't waste too much of their day fishing
25061           out obvious leaks out of massive commits.
25062           Oh, and fix a pretty damn obvious leak in the memchunk
25063           removal code.
25064
25065 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25066
25067         * check/Makefile.am:
25068         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25069           plug mem-leak, re-add to valgrindable tests
25070
25071 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25072
25073         * gst/gstplugin.h:
25074           unbreak the build for those who have chronic arthritis
25075           and typing "make check" is just too taxing on the hands
25076
25077 2005-09-20  Andy Wingo  <wingo@pobox.com>
25078
25079         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25080         really want it out, you should fix plugins at the same time.
25081
25082 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25083
25084         * configure.ac:
25085         * docs/gst/gstreamer-sections.txt:
25086         * gst/gstobject.c:
25087           added missing symbols to api docs
25088           disable ref-count hack if we have glib >= 2.8
25089
25090 2005-09-19  David Schleef  <ds@schleef.org>
25091
25092         * docs/gst/Makefile.am: Ignore a few more internal headers
25093         * docs/gst/gstreamer-docs.sgml: Remove old sections
25094         * docs/gst/gstreamer-sections.txt: Remove old sections
25095         * docs/gst/tmpl/gstobject.sgml: update
25096         * docs/gst/tmpl/gstplugin.sgml: update
25097         * docs/gst/tmpl/gstpluginfeature.sgml: update
25098         * docs/random/ds/0.9-suggested-changes: update.
25099         * gst/Makefile.am: remove memchunk and trashstack, since they're
25100           not used.
25101         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25102         * gst/gst.h: don't include some headers
25103         * gst/gstchildproxy.c: add gstmarshal.h
25104         * gst/gstclock.c: Don't use memchunks
25105         * gst/gstminiobject.c: Add some docs
25106         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25107         * gst/gstobject.h: same
25108         * gst/gstplugin.c: include gstmacros.h
25109         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25110         * gst/gstquery.c: don't use memchunks
25111         * gst/gstregistry.c: rename gst_registry_deinit()
25112         * gst/gstregistry.h: same
25113
25114 2005-09-19  David Schleef  <ds@schleef.org>
25115
25116         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25117         * docs/libs/gstreamer-libs-sections.txt:
25118         * docs/libs/tmpl/gstgetbits.sgml:
25119         * docs/libs/tmpl/gstputbits.sgml:
25120
25121 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25122
25123         * win32/gstenumtypes.c:
25124         * win32/gstenumtypes.h:
25125           Update.
25126
25127 2005-09-19  Wim Taymans  <wim@fluendo.com>
25128
25129         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25130         Automatically PAUSE and RESUME a pipeline when a flushing seek
25131         is performed.
25132
25133 2005-09-19  Andy Wingo  <wingo@pobox.com>
25134
25135         * gst/gstregistry.h: Spacing fixen.
25136
25137 2005-09-19  Wim Taymans  <wim@fluendo.com>
25138
25139         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25140         Handle state change failure more correctly.
25141
25142 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25143
25144         * check/Makefile.am:
25145         * check/pipelines/cleanup.c: (run_pipeline):
25146         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25147         (GST_START_TEST):
25148           enable cleanup again after fixing the leak
25149         * docs/README:
25150           some more info on docs
25151
25152 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25153
25154         * check/Makefile.am:
25155           re-enable tests now that leaks are plugged
25156         * check/gst/gst.c:
25157         * check/gst/gstbin.c:
25158         * check/gst/gstpipeline.c:
25159           add some more tests while fixing leaks
25160         * common/check.mak:
25161           make sure binaries are uptodate when valgrinding/gdbing
25162         * gst/gst.c:
25163         * gst/gstelementfactory.c:
25164           remove a ref too many, and add a FIXME for when we get
25165           round to disposing of classes
25166         * gst/gstplugin.c:
25167           fix the refcounting when loading a plugin from a file and
25168           the code pretends that the pointer is the same even though
25169           of course it can change
25170         * gst/gstpluginfeature.c:
25171           unref plugins marked cached (a bit confusing as a name)
25172           as the docs state should be done
25173           various doc additions to explain refcounting
25174         * gst/gstregistry.c:
25175         * gst/gstregistryxml.c:
25176           debugging
25177
25178 2005-09-19  Wim Taymans  <wim@fluendo.com>
25179
25180         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25181         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25182         (send_messages), (GST_START_TEST), (gstbus_suite):
25183         * check/gst/gstpipeline.c: (GST_START_TEST):
25184         * check/pipelines/cleanup.c: (run_pipeline):
25185         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25186         (GST_START_TEST):
25187         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25188         (gst_bus_source_check), (gst_bus_source_dispatch),
25189         (gst_bus_create_watch), (gst_bus_add_watch_full),
25190         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25191         * gst/gstbus.h:
25192         * tools/gst-launch.c: (event_loop):
25193         * tools/gst-md5sum.c: (event_loop):
25194         GstBusHandler -> GstBusFunc, return value has the same meaning as
25195         any other GSource (FALSE == remove source).
25196         _add_watch() and _add_watch_full() now take a MessageType mask to
25197         only handle specific types of messages.
25198         _poll() returns the GstMessage instead of the message type to avoid
25199         race conditions.
25200         _have_pending() takes a MessageType mask now too.
25201         Added testsuite for multiple bus watches.
25202         Fix testsuites and applications for new bus API.
25203
25204 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25205
25206         * check/Makefile.am:
25207           mark a bunch of the tests as to fix until we fix them
25208
25209 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25210
25211         * common/check.mak:
25212           use GST_PLUGIN settings for valgrind tests as well, so we're
25213           valgrinding the correct thing
25214         * gst/gst.c: (init_post):
25215           plug another leak
25216
25217 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25218
25219         * gst/gst.c: (init_post), (gst_deinit):
25220         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25221         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25222         * gst/gstindex.c: (gst_index_factory_class_init),
25223         (gst_index_factory_finalize):
25224         * gst/gstobject.c: (gst_object_dispose):
25225         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25226         (gst_plugin_load_file), (gst_plugin_desc_free):
25227         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25228         (gst_plugin_feature_finalize):
25229         * gst/gstregistry.c: (gst_registry_class_init),
25230         (gst_registry_init), (gst_registry_finalize),
25231         (gst_registry_get_default), (gst_registry_deinit):
25232         * gst/gstregistry.h:
25233         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25234           various cleanups and memleak plugging.  make valgrind is happy now.
25235
25236 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25237
25238         * common/check.mak:
25239           add a check-valgrind target
25240
25241 2005-09-18  David Schleef  <ds@schleef.org>
25242
25243         * tools/gst-inspect.c: Revert the GOption code.
25244
25245 2005-09-17  David Schleef  <ds@schleef.org>
25246
25247         * check/Makefile.am: Fix environment variables.
25248         * check/gst/gstplugin.c: Fix for API changes.
25249         * tools/gst-inspect.c: Fix for API changes.
25250         * tools/gst-xmlinspect.c: Fix for API changes.
25251         * gst/gstelementfactory.c:
25252         * gst/gstplugin.c:
25253         * gst/gstplugin.h:
25254         * gst/gstpluginfeature.c:
25255         * gst/gstpluginfeature.h:
25256         * gst/gstregistry.c:
25257         * gst/gstregistry.h:
25258         * gst/gstregistryxml.c:
25259         * gst/gsttypefind.c:
25260         * gst/gsttypefindfactory.c:
25261         * gst/indexers/gstfileindex.c:
25262         * gst/indexers/gstmemindex.c:
25263         * gst/schedulers/Makefile.am:
25264           Change registry to keep track of both plugins and features,
25265           removing the feature tracking from plugins themselves.
25266
25267 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25268
25269         * check/Makefile.am:
25270         * tools/gst-register.1.in:
25271           remove gst-register
25272
25273 2005-09-15  David Schleef  <ds@schleef.org>
25274
25275         * check/gst/gstplugin.c:
25276         * gst/gstelementfactory.c:
25277         * gst/gstplugin.c:
25278         * gst/gstpluginfeature.c:
25279         * gst/gstregistry.c:
25280           Getting tired of debugging.  Disabled all the unreffing of
25281           plugins and features, which fixes the segfaults, but of
25282           course leaks like crazy.  At least playbin works.
25283
25284 2005-09-15  David Schleef  <ds@schleef.org>
25285
25286         * check/gst/gstplugin.c: (register_check_elements),
25287         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25288         More testing
25289         * gst/elements/gsttypefindelement.c: Fix refcounting.
25290         * gst/gsttypefind.c:
25291         * gst/gsttypefindfactory.c:
25292         * gst/gsttypefindfactory.h:
25293
25294 2005-09-15  David Schleef  <ds@schleef.org>
25295
25296         * gst/gstindex.c: get refcounting correct.
25297         * gst/gstregistry.c: Handle the case where a feature/plugin is
25298           not found.
25299
25300 2005-09-15  David Schleef  <ds@schleef.org>
25301
25302         * check/Makefile.am:
25303         * check/gst/gstplugin.c: Add test
25304         * gst/gstplugin.c: Fix problems noticed by testsuite
25305         * gst/gstplugin.h:
25306         * gst/gstregistry.c: 
25307         * gst/gstregistry.h:
25308
25309 2005-09-15  David Schleef  <ds@schleef.org>
25310
25311         * gst/gstplugin.c: Implement semi-decent recounting and locking
25312           in plugins and plugin features.
25313         * gst/gstplugin.h:
25314         * gst/gstpluginfeature.c:
25315         * gst/gstpluginfeature.h:
25316         * gst/gstregistry.c:
25317
25318 2005-09-15  Michael Smith <msmith@fluendo.com>
25319
25320         * gst/gstregistry.c: (gst_registry_get_feature_list):
25321           Implement this. Makes oggdemux work; decodebin still broken.
25322
25323 2005-09-14  David Schleef  <ds@schleef.org>
25324
25325         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25326           #316076)
25327         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25328         * gst/check/Makefile.am:
25329         * libs/gst/controller/Makefile.am:
25330         * libs/gst/dataprotocol/Makefile.am:
25331
25332 2005-09-14  David Schleef  <ds@schleef.org>
25333
25334         * configure.ac: Remove getbits library.  Nothing uses it, and
25335           it should be in something like liboil if someone did want
25336           to use it.
25337         * libs/gst/Makefile.am:
25338         * libs/gst/getbits/Makefile.am:
25339         * libs/gst/getbits/gbtest.c:
25340         * libs/gst/getbits/getbits.c:
25341         * libs/gst/getbits/getbits.h:
25342         * libs/gst/getbits/gstgetbits_generic.c:
25343         * libs/gst/getbits/gstgetbits_i386.s:
25344         * libs/gst/getbits/gstgetbits_inl.h:
25345
25346 2005-09-14  David Schleef  <ds@schleef.org>
25347
25348         * gst/Makefile.am: Dist glib-compat.h
25349
25350 2005-09-14  David Schleef  <ds@schleef.org>
25351
25352         * configure.ac: Remove gst/registries, since it's no longer used.
25353         * gst/registries/Makefile.am:
25354         * gst/registries/gstlibxmlregistry.c:
25355         * gst/registries/gstlibxmlregistry.h:
25356         * gst/registries/gstxmlregistry.c:
25357         * gst/registries/gstxmlregistry.h:
25358         * gst/registries/registrytest.c:
25359
25360 2005-09-14  David Schleef  <ds@schleef.org>
25361
25362         * gst/glib-compat.h:
25363         * gst/gstregistryxml.c:
25364           Convergence is near.  Seriously.
25365
25366 2005-09-14  David Schleef  <ds@schleef.org>
25367
25368         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25369         * gst/glib-compat.h:
25370           Attempt #4 to appease the buildbots.
25371
25372 2005-09-14  David Schleef  <ds@schleef.org>
25373
25374         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25375           Attempt #3.
25376
25377 2005-09-14  David Schleef  <ds@schleef.org>
25378
25379         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25380         Attempt #2.
25381
25382 2005-09-14  David Schleef  <ds@schleef.org>
25383
25384         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25385           the new functions.
25386
25387 2005-09-14  David Schleef  <ds@schleef.org>
25388
25389         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25390         * gst/glib-compat.h: Add some functions that are in newer versions
25391           of glib than we care to require.
25392         * gst/gstregistryxml.c: Use them.
25393
25394 2005-09-14  David Schleef  <ds@schleef.org>
25395
25396         * po/POTFILES.in: remove gst-register.c
25397
25398 2005-09-14  David Schleef  <ds@schleef.org>
25399
25400         * docs/gst/gstreamer-docs.sgml:
25401         * docs/gst/gstreamer-sections.txt:
25402         * docs/gst/gstreamer.types:
25403         * docs/gst/tmpl/gstelement.sgml:
25404         * docs/gst/tmpl/gstplugin.sgml:
25405         * docs/gst/tmpl/gstpluginfeature.sgml:
25406           Documentation updates for registry changes.
25407
25408 2005-09-14  David Schleef  <ds@schleef.org>
25409
25410         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25411           because we don't require glib-2.8.
25412
25413 2005-09-14  David Schleef  <ds@schleef.org>
25414
25415         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25416           registries directory.
25417
25418 2005-09-14  David Schleef  <ds@schleef.org>
25419
25420         * check/Makefile.am:
25421         * check/generic/states.c:
25422         * gst/Makefile.am:
25423         * gst/gst.c:
25424         * gst/gst.h:
25425         * gst/gst_private.h:
25426         * gst/gstelementfactory.c:
25427         * gst/gstindex.c:
25428         * gst/gstinfo.c:
25429         * gst/gstplugin.c:
25430         * gst/gstplugin.h:
25431         * gst/gstpluginfeature.c:
25432         * gst/gstpluginfeature.h:
25433         * gst/gstregistry.c:
25434         * gst/gstregistry.h:
25435         * gst/gstregistrypool.c: remove
25436         * gst/gstregistrypool.h: remove
25437         * gst/gsttypefind.c:
25438         * gst/gsttypefindfactory.c:
25439         * gst/gsturi.c:
25440         * tools/Makefile.am:
25441         * tools/gst-compprep.c:
25442         * tools/gst-inspect.c:
25443         * tools/gst-register.c: remove
25444         * tools/gst-xmlinspect.c:
25445           Registry rewrite.  Changes registry from being a file created
25446           by a tool into a simple cache file created automatically by 
25447           libgstreamer.  Removed gst-register (because it's no longer
25448           needed).  Remove registry pools, because we only have one
25449           registry implementation (XML).  Fix up other subsystems as
25450           necessary.
25451
25452 2005-09-13  Michael Smith <msmith@fluendo.com>
25453
25454         * gst/gstconfig.h.in:
25455           Don't Use windows linking attributes for MinGW. Fixes #316157
25456
25457 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25458
25459         * gst/gstutils.c: (set_state_async_thread_func),
25460         (gst_element_set_state_async):
25461           Apparently people think it's better if this function doesn't
25462           try to set the state to whatever state was asked for on the first
25463           call to this function for any object.  Seriously.
25464
25465 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25466
25467         * check/gst/gstpipeline.c: (GST_START_TEST):
25468         * docs/gst/gstreamer-sections.txt:
25469         * gst/gstutils.c: (set_state_async_thread_func),
25470         (gst_element_set_state_async):
25471         * gst/gstutils.h:
25472           add a "gst_element_set_state_async" method that
25473           sets the state and starts a thread to make sure the state
25474           change completes as best as it can
25475
25476 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25477
25478         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25479           codify design+behaviour in testsuite after discussion
25480
25481 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25482
25483         * docs/gst/tmpl/gstelement.sgml:
25484         * docs/manual/appendix-quotes.xml:
25485           add a quote
25486         * gst/gstelement.c: (gst_element_set_state):
25487           add some debug
25488
25489 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25490
25491         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25492         (gst_base_transform_prepare_output_buf),
25493         (gst_base_transform_handle_buffer):
25494         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25495         (gst_capsfilter_prepare_buf):
25496           Remove the requirement for sub-classes to call the parent
25497           implementation of prepare_output_buffer with a wrapper function.
25498           
25499         * gst/gsttaglist.h:
25500         * gst/gsttagsetter.h:
25501           Fix #define wrapper
25502
25503 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25504
25505         * docs/gst/gstreamer-sections.txt:
25506           more doc cleanups
25507
25508 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25509
25510         * docs/gst/gstreamer-sections.txt:
25511         * docs/gst/tmpl/gstelement.sgml:
25512         * docs/gst/tmpl/gstplugin.sgml:
25513         * gst/gstminiobject.c:
25514         * gst/gstvalue.h:
25515           docs now stop throwing warnings
25516
25517 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25518
25519         * docs/gst/gstreamer-sections.txt:
25520         * docs/gst/gstreamer.types:
25521         * docs/gst/tmpl/gstpad.sgml:
25522         * docs/gst/tmpl/gsttypes.sgml:
25523         * gst/base/gstadapter.h:
25524         * gst/base/gstbasesink.h:
25525         * gst/base/gstbasesrc.h:
25526         * gst/gstbin.h:
25527         * gst/gstbuffer.h:
25528         * gst/gstbus.h:
25529         * gst/gstcaps.h:
25530         * gst/gstclock.h:
25531         * gst/gstelement.h:
25532         * gst/gstevent.h:
25533         * gst/gstmessage.h:
25534         * gst/gstpad.h:
25535         * gst/gststructure.c:
25536         * gst/registries/gstlibxmlregistry.h:
25537           various documentation fixes
25538
25539 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25540
25541         * docs/gst/gstreamer-sections.txt:
25542         * docs/gst/tmpl/gstvalue.sgml:
25543           rearrange gstvalue section
25544         * gst/gstutils.c: (gst_element_state_get_name):
25545           NONE -> VOID
25546         * gst/gstvalue.c: (_gst_value_initialize):
25547         * gst/gstvalue.h:
25548           doc updates
25549
25550 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25551
25552         * check/gst-libs/controller.c:
25553           Header include fix.
25554         * gst/base/gstbasetransform.c:
25555         (gst_base_transform_default_prepare_buf),
25556         (gst_base_transform_handle_buffer):
25557         * gst/base/gstbasetransform.h:
25558           Some more basetransform changes and fixes to enable sub-classes
25559           that modify buffer metadata only.
25560         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25561         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25562         (gst_capsfilter_prepare_buf):
25563           If the output pad has fixed allowed caps and input buffers 
25564           don't have any, set the fixed caps on outgoing buffers.
25565
25566 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25567         * check/elements/identity.c: (GST_START_TEST):
25568           Make the error a little clearer when the test fails because
25569           identity made a copy of the buffer.
25570         * docs/gst/gstreamer-sections.txt:
25571           New symbols in gstbasetransform.h
25572         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25573         (gst_base_transform_init), (gst_base_transform_transform_size),
25574         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25575         (gst_base_transform_default_prepare_buf),
25576         (gst_base_transform_get_unit_size),
25577         (gst_base_transform_buffer_alloc),
25578         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25579         (gst_base_transform_change_state),
25580         (gst_base_transform_set_passthrough),
25581         (gst_base_transform_set_in_place),
25582         (gst_base_transform_is_in_place):
25583         * gst/base/gstbasetransform.h:
25584           Change BaseTransform to separate in_place operate from same_caps
25585           output. in_place implies that the element can perform the transform
25586           on incoming buffers in-place, even if the caps on the output are
25587           different.
25588           Sub-class elements can now implement special buffer allocation
25589           methods for outgoing buffers if they wish to.
25590           Big documentation addition.
25591         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25592         * gst/elements/gstelements.c:
25593           Changes for basetransform modifications.
25594         * gst/elements/Makefile.am:
25595         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25596           Compile fix. Extra debug output.
25597
25598 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25599
25600         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25601         (gst_pad_suite):
25602           add tests for valid pad naming
25603         * gst/check/gstcheck.c: (gst_check_log_message_func),
25604         (gst_check_log_critical_func):
25605           add ASSERT_WARNING
25606           remove printing of code, it is fragile when the code contains
25607           % and the line number is enough info
25608         * gst/check/gstcheck.h:
25609         * gst/gstpad.c: (gst_pad_template_new):
25610           fix memleaks
25611
25612 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25613
25614         * configure.ac:
25615           say what CHECK flags we use
25616         * docs/libs/gstreamer-libs.types:
25617         * libs/gst/controller/Makefile.am:
25618         * libs/gst/controller/gst-controller.c:
25619         * libs/gst/controller/gst-controller.h:
25620         * libs/gst/controller/gst-helper.c:
25621         * libs/gst/controller/gst-interpolation.c:
25622         * libs/gst/controller/gstcontroller.c:
25623         * libs/gst/controller/gsthelper.c:
25624         * libs/gst/controller/gstinterpolation.c:
25625         * tools/gst-inspect.c: (print_plugin_info):
25626           we don't use dashes in header names
25627
25628 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25629
25630         * check/Makefile.am:
25631         * check/gst/.cvsignore:
25632         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25633         (gst_pipeline_suite), (main):
25634           adding a test for pipelines and state changes
25635         * gst/gstutils.c: (get_state_func):
25636           add some debugging
25637         * gstreamer.spec.in:
25638           fix up spec file
25639
25640 2005-09-08  Michael Smith <msmith@fluendo.com>
25641
25642         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25643         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25644         (gst_file_src_is_seekable), (gst_file_src_get_size),
25645         (gst_file_src_start):
25646         * gst/elements/gstfilesrc.h:
25647           Various fixes for unseekable, unmmapable, and non-normal files, so
25648           that fallback to read() rather than mmap() works.
25649         * gst/gstevent.c: (gst_event_new_newsegment):
25650           Allow newsegment events with segment_start == segment_end, as will
25651           correctly happen if you use filesrc on a zero-size file, for
25652           example.
25653
25654 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25655
25656         * gst/gstplugin.c: (gst_plugin_load_file):
25657           Call g_module_close when we don't load the module
25658
25659         * gst/registries/gstlibxmlregistry.c:
25660         (gst_xml_registry_get_property):
25661           Port leak fix from 0.8
25662
25663 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25664
25665         * docs/gst/gstreamer-docs.sgml:
25666         * docs/gst/tmpl/.cvsignore:
25667         * docs/gst/tmpl/gsttrace.sgml:
25668         * docs/gst/tmpl/gsttrashstack.sgml:
25669         * gst/Makefile.am:
25670         * gst/gst.h:
25671         * gst/gstelement.h:
25672         * gst/gstevent.h:
25673         * gst/gstmessage.c:
25674         * gst/gstmessage.h:
25675         * gst/gsttag.c:
25676         * gst/gsttag.h:
25677         * gst/gsttaginterface.c:
25678         * gst/gsttaginterface.h:
25679         * gst/gsttaglist.c:
25680         * gst/gsttaglist.h:
25681         * gst/gsttagsetter.c:
25682         * gst/gsttagsetter.h:
25683         * gst/gsttrace.c:
25684         * gst/gsttrace.h:
25685         * gst/gsttrashstack.c:
25686           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25687           inlined docs for gsttrace, gsttrashstack
25688
25689 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25690
25691         * gst/Makefile.am:
25692         * gst/elements/gstbufferstore.h:
25693         * gst/elements/gsttypefindelement.c:
25694         * gst/elements/gsttypefindelement.h:
25695         * gst/gst.h:
25696         * gst/gsttypefind.c:
25697         * gst/gsttypefind.h:
25698         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25699         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25700         (gst_type_find_factory_dispose),
25701         (gst_type_find_factory_unload_thyself),
25702         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25703         (gst_type_find_factory_get_caps),
25704         (gst_type_find_factory_get_extensions),
25705         (gst_type_find_factory_call_function):
25706         * gst/gsttypefindfactory.h:
25707         * gst/registries/gstlibxmlregistry.c:
25708         * gst/registries/gstxmlregistry.c:
25709           splitted gsttypefind into gsttypefind, gsttypefindfactory
25710
25711 2005-09-07  Andy Wingo  <wingo@pobox.com>
25712
25713         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25714         condition whereby the pad's task function is entered before the
25715         pad_mode variable was set.
25716
25717 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25718
25719         * gst/gstpad.c: (gst_pad_alloc_buffer):
25720           Catch misbehaving pad_alloc functions that don't
25721           set up caps and do it for them.
25722
25723 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25724
25725         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25726           test for pipe!=NULL
25727         * docs/gst/tmpl/.cvsignore:
25728         * docs/gst/tmpl/gstmemchunk.sgml:
25729         * docs/gst/tmpl/gstparse.sgml:
25730         * docs/gst/tmpl/gsttaglist.sgml:
25731         * docs/gst/tmpl/gsttagsetter.sgml:
25732         * docs/gst/tmpl/gsttypefind.sgml:
25733         * docs/gst/tmpl/gsttypefindfactory.sgml:
25734         * gst/gstmemchunk.c:
25735         * gst/gstparse.c:
25736         * gst/gsttag.c:
25737         * gst/gsttaginterface.c:
25738         * gst/gsttypefind.c:
25739         * gst/gsttypefind.h:
25740           inlined more docs
25741
25742 === release 0.9.2 ===
25743
25744 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25745
25746         * NEWS:
25747         * RELEASE:
25748         * configure.ac:
25749           releasing 0.9.2, "South"
25750
25751 2005-09-05  Andy Wingo  <wingo@pobox.com>
25752
25753         * gst/registries/gstxmlregistry.h:
25754         * gst/registries/gstxmlregistry.c: Um... resurrect...
25755         
25756         * gst/registries/gstxmlregistry.h:
25757         * gst/registries/gstxmlregistry.c: and update to newer API.
25758         Incidentally they should be a bit faster now that they don't have
25759         to parse the caps.
25760         
25761 2005-09-05  Andy Wingo  <wingo@pobox.com>
25762
25763         * gst/registries/gstxmlregistry.h:
25764         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25765         replaced by the libxml registry a while back
25766
25767 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25768
25769         * docs/gst/tmpl/gstplugin.sgml:
25770         * gst/elements/gstelements.c:
25771         * gst/gst.c:
25772         * gst/gstplugin.c: (gst_plugin_register_func),
25773         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25774         (gst_plugin_get_source):
25775         * gst/gstplugin.h:
25776         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25777         (gst_xml_registry_save_plugin):
25778         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25779         (gst_xml_registry_save_plugin):
25780         * tools/gst-inspect.c: (print_plugin_info):
25781           add a "source" plugin description field, to represent the source
25782           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25783           will set it to PACKAGE, which is automake's idea of the name of
25784           the source project.
25785
25786 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25787
25788         * Makefile.am:
25789         * autogen.sh:
25790         * configure.ac:
25791         * docs/Makefile.am:
25792         * docs/faq/Makefile.am:
25793         * docs/gst/tmpl/gstelement.sgml:
25794         * docs/gst/tmpl/gsttypes.sgml:
25795         * docs/htmlinstall.mak:
25796         * docs/manual/Makefile.am:
25797         * docs/pwg/Makefile.am:
25798           reorganize doc build a little
25799           split out docbook and gtk-doc stuff
25800           have two separate --enable's and enable them through autogen
25801           but disable by default in configure (to be similar to other
25802           projects)
25803         * gstreamer.spec.in:
25804           clean up docs install
25805         * po/af.po:
25806         * po/az.po:
25807         * po/ca.po:
25808         * po/cs.po:
25809         * po/de.po:
25810         * po/en_GB.po:
25811         * po/fr.po:
25812         * po/it.po:
25813         * po/nb.po:
25814         * po/nl.po:
25815         * po/ru.po:
25816         * po/sq.po:
25817         * po/sr.po:
25818         * po/sv.po:
25819         * po/tr.po:
25820         * po/uk.po:
25821         * po/vi.po:
25822           translation updates
25823
25824 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25825
25826         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25827           Add comment.
25828           
25829         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25830         (gst_fake_sink_change_state):
25831           Make state change function thread-safe.
25832           
25833         * gst/gstpad.c: (gst_pad_alloc_buffer):
25834           Set offset on generic buffer allocated by fallback.
25835
25836 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25837
25838         * docs/gst/gstreamer-sections.txt:
25839         * docs/gst/tmpl/gstelement.sgml:
25840         * gst/gstpad.c:
25841         * libs/gst/controller/gst-controller.c:
25842         (gst_controlled_property_set_interpolation_mode),
25843         (gst_controlled_property_new),
25844         (gst_controller_find_controlled_property):
25845          run the wingo-magic script against the docs
25846
25847 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25848
25849         * docs/gst/gstreamer-docs.sgml:
25850         * docs/gst/gstreamer-sections.txt:
25851         * docs/gst/tmpl/.cvsignore:
25852         * docs/gst/tmpl/gstelementdetails.sgml:
25853         * docs/gst/tmpl/gstelementfactory.sgml:
25854         * gst/gst.c:
25855         * gst/gstbus.c:
25856         * gst/gstelementfactory.c:
25857         * gst/gstelementfactory.h:
25858           merged elementdetails docs into elementfactory docs
25859           inlined both
25860
25861 2005-09-02  Andy Wingo  <wingo@pobox.com>
25862
25863         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25864         consider this enum an enum and not a flags.
25865
25866 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25867
25868         * docs/gst/gstreamer-docs.sgml:
25869         * docs/gst/tmpl/.cvsignore:
25870         * docs/gst/tmpl/gstghostpad.sgml:
25871         * docs/gst/tmpl/gstiterator.sgml:
25872         * docs/gst/tmpl/gstmacros.sgml:
25873         * docs/gst/tmpl/gstrealpad.sgml:
25874         * docs/gst/tmpl/gstregistry.sgml:
25875         * docs/gst/tmpl/gstregistrypool.sgml:
25876         * docs/gst/tmpl/gststructure.sgml:
25877         * docs/gst/tmpl/gstsystemclock.sgml:
25878         * docs/gst/tmpl/gsttrace.sgml:
25879         * gst/gstghostpad.c:
25880         * gst/gstmacros.h:
25881         * gst/gstmemchunk.c:
25882         * gst/gstmemchunk.h:
25883         * gst/gstqueue.c:
25884         * gst/gstregistry.c:
25885         * gst/gstregistrypool.c:
25886         * gst/gststructure.c:
25887         * gst/gstsystemclock.c:
25888           more docs inlined
25889
25890 2005-09-02  Andy Wingo  <wingo@pobox.com>
25891
25892         * gst/gstelement.h (GstState): Renamed from GstElementState,
25893         changed to be a normal enum instead of flags.
25894         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25895         munged to be GST_STATE_CHANGE_*.
25896         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25897         work with the new state representation.
25898         (GstStateChange): New enumeration of possible state transitions.
25899         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25900         (GstElementClass::change_state): Pass the GstStateChange along as
25901         an argument. Helps language bindings, so they don't have to use
25902         tricky lock-needing macros like GST_STATE_CHANGE ().
25903
25904         * scripts/update-states (file): New script. Run it on a file to
25905         update it for state naming and API changes. Updates files in
25906         place.
25907
25908         * All files updated for the new API.
25909
25910 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25911
25912         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25913         * gst/gstutils.c: (gst_util_set_value_from_string),
25914         (gst_util_set_object_arg):
25915           fix a bunch of unchecked return values
25916         * tools/gst-complete.c: (main):
25917         * gstreamer.spec.in:
25918           clean up a little
25919
25920 2005-09-01  Wim Taymans  <wim@fluendo.com>
25921
25922         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25923         (gst_base_sink_event), (gst_base_sink_do_sync),
25924         (gst_base_sink_handle_event):
25925         * gst/base/gstbasesink.h:
25926         Handle newsegments more correctly.
25927
25928         * gst/gstbus.c:
25929         Fix docs.
25930
25931         * gst/gstevent.c: (gst_event_new_newsegment):
25932         A newsegment cannot have a start_time of -1
25933
25934 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25935
25936         * win32/gstenumtypes.c:
25937         * win32/gstenumtypes.h:
25938           Update
25939
25940 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25941
25942         * libs/gst/controller/gst-controller.c:
25943         (gst_controlled_property_set_interpolation_mode),
25944         (gst_controlled_property_new):
25945          fixed boolean again
25946
25947 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25948
25949         * docs/faq/gst-uninstalled:
25950           add -good
25951         * gst/gstevent.c:
25952         * gst/gstevent.h:
25953           remove wrong docs
25954         * gst/gstutils.c: (gst_element_link_filtered):
25955         * gst/gstutils.h:
25956           add gst_element_link_filtered
25957
25958 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25959
25960         * docs/gst/gstreamer-docs.sgml:
25961         * docs/gst/gstreamer-sections.txt:
25962         * docs/gst/tmpl/.cvsignore:
25963         * docs/gst/tmpl/gsterror.sgml:
25964         * docs/gst/tmpl/gstfilter.sgml:
25965         * docs/gst/tmpl/gsturihandler.sgml:
25966         * docs/gst/tmpl/gsturitype.sgml:
25967         * docs/gst/tmpl/gstutils.sgml:
25968         * docs/gst/tmpl/gstxml.sgml:
25969         * gst/gsterror.c:
25970         * gst/gsterror.h:
25971         * gst/gstfilter.c:
25972         * gst/gsturi.c:
25973         * gst/gsturitype.c:
25974         * gst/gstutils.c:
25975         * gst/gstxml.c:
25976           inlined more docs, fixed double id-ref
25977
25978 2005-08-31  Wim Taymans  <wim@fluendo.com>
25979
25980         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25981         (gst_base_transform_handle_buffer):
25982         Passthrough elements don't need the caps as they don't care.
25983
25984 2005-08-31  Wim Taymans  <wim@fluendo.com>
25985
25986         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25987         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25988         Don't leak refcounts on buffers.
25989
25990 2005-08-31  Wim Taymans  <wim@fluendo.com>
25991
25992         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25993         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25994         (gst_base_transform_chain), (gst_base_transform_change_state):
25995         * gst/base/gstbasetransform.h:
25996         Handle the case where we are not negotiated more gracefully.
25997
25998 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25999
26000         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26001         (gst_file_src_map_region):
26002           Set READONLY flag on mmap'ed buffers, otherwise
26003           gst_buffer_make_writable() won't work properly (#314708).
26004
26005 2005-08-31  Wim Taymans  <wim@fluendo.com>
26006
26007         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26008         passthrough elements can even do inplace on non writable
26009         buffers (as they don't touch them).
26010
26011 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26012
26013         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26014         (gst_test_mono_source_set_property),
26015         (gst_test_mono_source_class_init), (GST_START_TEST),
26016         (gst_controller_suite):
26017           more tests (hehe I have the most)
26018         * gst/gstbus.c:
26019           describe popping messages whenusing mulltiple sources
26020         * libs/gst/controller/gst-controller.c:
26021         (gst_controlled_property_set_interpolation_mode),
26022         (gst_controlled_property_new):
26023         * libs/gst/controller/gst-controller.h:
26024         * libs/gst/controller/gst-interpolation.c:
26025           implement boolean properties
26026
26027 2005-08-31  Wim Taymans  <wim@fluendo.com>
26028
26029         * gst/gstminiobject.c: (gst_mini_object_ref):
26030         Cannot assert that the refcount has to be positive
26031         since a disposed object can be resurrected.
26032
26033 2005-08-31  Wim Taymans  <wim@fluendo.com>
26034
26035         * gst/gstpad.c: (gst_pad_init):
26036         Revert change, need to first fix badly behaving 
26037         apps.
26038
26039 2005-08-30  Wim Taymans  <wim@fluendo.com>
26040
26041         * check/elements/fakesrc.c: (setup_fakesrc):
26042         * check/elements/identity.c: (setup_identity):
26043         Activate pads before using them.
26044
26045 2005-08-30  Wim Taymans  <wim@fluendo.com>
26046
26047         * gst/base/gstadapter.c: (gst_adapter_flush):
26048         Flushing out 0 bytes is ok for this function.
26049
26050         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26051         no newsegment gives a warning and sets the start/stop to 
26052         invalid.
26053
26054         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26055         (gst_base_transform_set_passthrough):
26056         Some debug info.
26057
26058         * gst/gstminiobject.c: (gst_mini_object_ref):
26059         Check refcount here too.
26060
26061         * gst/gstpad.c: (gst_pad_init):
26062         Pads are initially flushing and refusing data.
26063
26064         * gst/gstutils.c: (gst_element_link_pads_filtered):
26065         When adding a capsfilter element make sure it has the
26066         same state as the parent bin.
26067
26068 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26069
26070         * docs/gst/tmpl/.cvsignore:
26071         * docs/gst/tmpl/gstformat.sgml:
26072         * docs/gst/tmpl/gstversion.sgml:
26073         * gst/gstbus.h:
26074         * gst/gstformat.c:
26075         * gst/gstformat.h:
26076         * gst/gstversion.h.in:
26077           more docs and two more inlined
26078
26079 2005-08-30  Wim Taymans  <wim@fluendo.com>
26080
26081         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26082         Don't sync to clock.
26083
26084 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26085
26086         * docs/gst/gstreamer-sections.txt:
26087           ultral33t func10ns deserve to appear in the docs actually
26088         * docs/gst/tmpl/.cvsignore:
26089         * docs/gst/tmpl/gstcompat.sgml:
26090         * docs/gst/tmpl/gstconfig.sgml:
26091         * gst/check/gstcheck.c:
26092         * gst/gstcompat.h:
26093         * gst/gstconfig.h.in:
26094           inlined more docs
26095
26096 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26097
26098         * docs/gst/tmpl/.cvsignore:
26099         * docs/gst/tmpl/gstquery.sgml:
26100         * docs/gst/tmpl/gstutils.sgml:
26101         * gst/gstquery.c:
26102         * gst/gstquery.h:
26103           inlined and extended docs
26104
26105 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26106
26107         * check/gst-libs/controller.c: (GST_START_TEST),
26108         (gst_controller_suite):
26109           more tests
26110         * docs/gst/tmpl/gstutils.sgml:
26111         * docs/libs/gstreamer-libs-sections.txt:
26112         * docs/libs/tmpl/gstdataprotocol.sgml:
26113           include path fixes
26114         * examples/controller/audio-example.c: (main):
26115           controller example works now
26116         * gst/gstclock.h:
26117           doc fixes
26118         * tools/gst-inspect.c: (print_element_properties_info):
26119           show param spec flags
26120
26121 2005-08-29  Andy Wingo  <wingo@pobox.com>
26122
26123         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26124
26125 2005-08-28  Andy Wingo  <wingo@pobox.com>
26126
26127         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26128         as having two arguments instead of just one. Allows superclasses
26129         to access information on subclasses -- see the terrible for() loop
26130         in gtype.c:g_type_create_instance for the reason why. All callers
26131         changed.
26132
26133 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26134
26135         * docs/design/part-messages.txt:
26136           update info
26137         * docs/gst/tmpl/.cvsignore:
26138         * docs/gst/tmpl/gstcaps.sgml:
26139         * docs/gst/tmpl/gstclock.sgml:
26140         * gst/gstbus.c:
26141         * gst/gstcaps.c:
26142         * gst/gstcaps.h:
26143         * gst/gstclock.c:
26144         * gst/gstclock.h:
26145         * gst/gstmessage.c:
26146           added descriptions for bus and message
26147           inline caps and clock docs
26148
26149 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26150
26151         * gst/gstmessage.c:
26152         * gst/gstmessage.h:
26153           doc fixes
26154
26155 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26156
26157         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26158           fix div-by-zero
26159
26160 2005-08-26  Andy Wingo  <wingo@pobox.com>
26161
26162         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26163         element_set_state's return val.
26164         (test_2_elements): Add test that's been disabled for months.
26165
26166         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26167         can-activate-pull properties.
26168
26169         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26170         can-activate-pull properties. Implement is_seekable so fakesrc can
26171         operate in pull mode.
26172
26173         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26174         properties.
26175         (gst_base_sink_activate, gst_base_sink_activate_pull)
26176         (gst_base_sink_activate_push): Make activation mode choosing work.
26177         Cleanups.
26178         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26179         is right. Make pull mode work. Post an eos before pausing in pull
26180         mode.
26181         (gst_base_sink_change_state): Pay attention to the core's
26182         change_state() return val.
26183         
26184         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26185         has-getrange properties. Cleanups.
26186         
26187         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26188         has_getrange and replace with can_activate_pull and
26189         can_activate_push.
26190
26191         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26192         locking comments. Remove has_loop, has_chain and replace with
26193         can_activate_pull and can_activate_push.
26194
26195 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26196
26197         * configure.ac:
26198         * examples/Makefile.am:
26199         * examples/metadata/Makefile.am:
26200         * examples/metadata/read-metadata.c: (message_loop),
26201         (have_pad_handler), (make_pipeline), (print_tag), (main):
26202           Add metadata reading example that loops over a list of filenames,
26203           dumping any tags found.
26204
26205         * gst/gstbus.c: (gst_bus_dispose):
26206         * gst/gstelement.c: (gst_element_dispose):
26207           Release a few potentially-held references in dispose.
26208
26209 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26210
26211         * docs/gst/tmpl/gstminiobject.sgml:
26212           do *not* add tmpl/*.sgml files to CVS!
26213
26214 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26215
26216         * libs/gst/bytestream/.cvsignore:
26217         * libs/gst/bytestream/Makefile.am:
26218         * libs/gst/bytestream/adapter.c:
26219         * libs/gst/bytestream/adapter.h:
26220         * libs/gst/bytestream/bytestream.c:
26221         * libs/gst/bytestream/bytestream.h:
26222         * libs/gst/bytestream/filepad.c:
26223         * libs/gst/bytestream/filepad.h:
26224           removing obsolete files
26225
26226 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26227
26228         * docs/gst/gstreamer-docs.sgml:
26229         * docs/libs/gstreamer-libs-docs.sgml:
26230           disabed additional index entries again, as this makes docs-gen just
26231           slow and they aren't useful yet
26232         * docs/libs/gstreamer-libs-sections.txt:
26233           little -section.txt cleanup for libs
26234
26235 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26236
26237         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26238         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26239           fix up some debugging
26240         (gst_base_transform_get_unit_size),
26241         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26242         (gst_base_transform_handle_buffer):
26243         * gst/base/gstbasetransform.h:
26244           handle and store timed NEWSEGMENT events so that subclasses that
26245           calculate time by counting samples have a segment_start time they
26246           need to add to their timestamps - see audioresample
26247
26248 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26249
26250         * gst/gstbin.h:
26251           removed ';' from the end of macro defs
26252         * docs/gst/gstreamer-docs.sgml:
26253         * docs/gst/gstreamer-sections.txt:
26254         * docs/gst/tmpl/.cvsignore:
26255         * gst/gstbus.h:
26256         * gst/gstelement.c: (gst_element_class_init),
26257         (gst_element_set_state), (activate_pads),
26258         (gst_element_save_thyself):
26259         * gst/gstevent.c: (gst_event_new_newsegment):
26260         * gst/gstevent.h:
26261         * gst/gstiterator.c:
26262         * gst/gstiterator.h:
26263         * gst/gstpad.c:
26264         * gst/gstprobe.h:
26265         * gst/gstutils.c: (gst_pad_query_convert):
26266         * gst/gstutils.h:
26267           fixed parameter name mismatches between source, header and docs
26268           added some more docs, resolved the last batch of unused elements in
26269           docs (now someone needs to doc them)
26270
26271 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26272
26273         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26274         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26275           don't walk through the plugins backwards.  Where is all this
26276           reversed logic coming from ?
26277
26278 2005-08-25  Wim Taymans  <wim@fluendo.com>
26279
26280         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26281         (gst_base_transform_transform_size),
26282         (gst_base_transform_configure_caps),
26283         (gst_base_transform_get_unit_size),
26284         (gst_base_transform_buffer_alloc),
26285         (gst_base_transform_change_state):
26286         * gst/base/gstbasetransform.h:
26287         Cache caps unit_size.
26288         Make sure we cannot negotiate up and downstream at the
26289         same time.
26290
26291 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26292
26293         * gst/gst.c: (init_pre), (init_post):
26294           register the installed plugin path after the env var
26295         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26296         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26297           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26298           directories, so the tests can prefer uninstalled over installed
26299
26300 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26301
26302         * gst/base/gstbasetransform.h:
26303           comment
26304         * gst/gstpad.c:
26305           add to docs
26306
26307 2005-08-25  Wim Taymans  <wim@fluendo.com>
26308
26309         * gst/gstbin.c: (bin_bus_handler):
26310         Be a bit more conservative about the posted message.
26311         
26312         * gst/gstbus.c: (gst_bus_post):
26313         Some cleanups, warn wrong return values.
26314
26315 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26316
26317         * check/gst/gstbin.c: (GST_START_TEST):
26318         * gst/gstbin.c: (bin_bus_handler):
26319         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26320         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26321         (gst_message_new_warning), (gst_message_new_tag),
26322         (gst_message_new_state_changed), (gst_message_new_segment_start),
26323         (gst_message_new_segment_done), (gst_message_new_custom):
26324         * gst/gstmessage.h:
26325         * tools/gst-launch.c: (event_loop):
26326         * tools/gst-md5sum.c: (event_loop):
26327           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26328
26329 2005-08-25  Wim Taymans  <wim@fluendo.com>
26330
26331         * check/generic/states.c: (GST_START_TEST):
26332         Cleanup can be done at the end.
26333
26334         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26335         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26336         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26337         Oh boy.. Thanks for finding this, Thomas. 
26338
26339 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26340
26341         * docs/gst/gstreamer.types:
26342           added missing types
26343
26344 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26345
26346         * docs/gst/gstreamer-docs.sgml:
26347         * docs/gst/gstreamer-sections.txt:
26348         * docs/gst/tmpl/.cvsignore:
26349         * gst/gstbin.c:
26350         * gst/gstiterator.c:
26351         * gst/gstutils.c:
26352         * gst/registries/gstxmlregistry.h:
26353           added missing classes and symbols (123 more to go)
26354           removed removed symbols from section file
26355           fixed many doc-comments
26356
26357 2005-08-24  Wim Taymans  <wim@fluendo.com>
26358
26359         * check/generic/states.c: (GST_START_TEST):
26360         Make sure all tasks are stopped.
26361
26362         * check/gst/gstbin.c: (GST_START_TEST):
26363         Unref after usage for proper valgrinding.
26364
26365         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26366         Really wait for the task to stop before destroying the
26367         mutex.
26368
26369         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26370         (gst_queue_src_activate_push):
26371         Small cleanups. Don't stop the task when we did not start
26372         it.
26373
26374         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26375         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26376         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26377         (gst_task_join):
26378         * gst/gsttask.h:
26379         Protect the stream lock with the object lock.
26380         Disallow setting the stream lock when running.
26381         Add cleanup_all to wait for the threadpool to finish.
26382         Remove code to autoallocate a mutex if none was provided.
26383         Add _join() to wait for a task to stop.
26384         Protect the thread pool with a global lock.
26385
26386 2005-08-24  Wim Taymans  <wim@fluendo.com>
26387
26388         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26389         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26390         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26391         * gst/base/gstbasesink.h:
26392         Handle newsegment events correctly.
26393         Drop buffers out of the segment range.
26394
26395 2005-08-22  Andy Wingo  <wingo@pobox.com>
26396
26397         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26398         macro, implements an interface and gstimplementsinterface for a
26399         new type.
26400
26401 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26402
26403         * check/Makefile.am:
26404         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26405           add a test that does a bunch of state changes on elements
26406           needs some fixing for valgrind
26407         * check/states/sinks.c: (gst_object_suite):
26408           whitespace
26409         * gst/gstcaps.h:
26410           add prototype for gst_caps_is_equal_fixed
26411         * gst/gstplugin.c:
26412         * gst/gstregistrypool.c:
26413           doc fixes
26414
26415 2005-08-24  Andy Wingo  <wingo@pobox.com>
26416
26417         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26418         convert a negative value. Doesn't make much sense. Mostly this is
26419         here to force callers to ensure -1 maps to -1.
26420
26421 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26422
26423         * docs/pwg/advanced-types.xml:
26424           Well done to Michael for catching my deliberate introduction
26425           of this spelling mistake. 
26426         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26427         * gst/gstelement.h:
26428           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26429           unlink pads before removing the element from the bin.
26430
26431 2005-08-24  Andy Wingo  <wingo@pobox.com>
26432
26433         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26434         the same thing as GST_DEBUG=*:4.
26435         (parse_debug_level, parse_debug_category): New helper parsers.
26436
26437 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26438
26439         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26440         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26441         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26442         (gst_base_transform_buffer_alloc),
26443         (gst_base_transform_handle_buffer):
26444           use gboolean return values and pointers to size so we can use the
26445           full GST_BUFFER_SIZE range (guint) for buffer sizes
26446           use GstPadDirection for transform_caps
26447         * gst/base/gstbasetransform.h:
26448           rename get_size to get_unit_size since that's what it is
26449         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26450           use GstPadDirection for transform_caps
26451         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26452         * gst/gstutils.h:
26453           cleanup and debugging
26454
26455 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26456
26457         * gst/gstelement.c: (gst_element_class_init),
26458         (gst_element_set_state), (activate_pads),
26459         (gst_element_save_thyself):
26460         * tools/gst-compprep.c: (main):
26461         * tools/gst-inspect.c: (print_element_properties_info):
26462         * tools/gst-xmlinspect.c: (print_element_properties):
26463           Fixed long standing mem-leak
26464
26465 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26466
26467         * check/gst/gstbin.c: (GST_START_TEST):
26468         * gst/gstbin.c: (bin_bus_handler):
26469         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26470         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26471         (gst_message_new_warning), (gst_message_new_tag),
26472         (gst_message_new_state_changed), (gst_message_new_segment_start),
26473         (gst_message_new_segment_done), (gst_message_new_custom):
26474         * gst/gstmessage.h:
26475         * tools/gst-launch.c: (event_loop):
26476         * tools/gst-md5sum.c: (event_loop):
26477           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26478           that applications can sensibly post custom messages with references
26479           to their own objects.
26480
26481 2005-08-24  Andy Wingo  <wingo@pobox.com>
26482
26483         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26484         already.
26485
26486 2005-08-24  Wim Taymans  <wim@fluendo.com>
26487
26488         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26489         (gst_base_transform_transform_caps),
26490         (gst_base_transform_transform_size),
26491         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26492         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26493         (gst_base_transform_handle_buffer):
26494         * gst/base/gstbasetransform.h:
26495         Many fixes and new features added by Thomas. Can now also do
26496         transforms with variable sizes and a custom fixate_caps function.
26497
26498 2005-08-24  Wim Taymans  <wim@fluendo.com>
26499
26500         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26501         Some debugging.
26502
26503         * gst/gstclock.h:
26504         Cast to ClockTime before formatting to time.
26505
26506         * gst/gstutils.h:
26507         Cleanups.
26508
26509 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26510
26511         * check/gst-libs/controller.c: (GST_START_TEST),
26512         (gst_controller_suite):
26513         * docs/gst/tmpl/gstcaps.sgml:
26514         * docs/gst/tmpl/gstghostpad.sgml:
26515         * docs/gst/tmpl/gstquery.sgml:
26516         * docs/gst/tmpl/gstutils.sgml:
26517         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26518         (gst_object_sink_values), (gst_object_get_value_arrays),
26519         (gst_object_get_value_array):
26520           gracefully handle helper method calls to objects that are not beeing
26521           controlled, added test case for that          
26522
26523 2005-08-23  Wim Taymans  <wim@fluendo.com>
26524
26525         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26526         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26527         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26528         (gst_event_parse_qos), (gst_event_new_seek),
26529         (gst_event_parse_seek):
26530         * gst/gstevent.h:
26531         Some more debugging output and doc cleanups.
26532
26533         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26534         Fix possible deadlock.
26535
26536 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26537
26538         * docs/gst/gstreamer-docs.sgml:
26539         * docs/gst/gstreamer-sections.txt:
26540         * docs/gst/gstreamer.types:
26541         * docs/gst/tmpl/.cvsignore:
26542         * gst/gstbin.h:
26543         * gst/gstbus.c:
26544         * gst/gstelement.c:
26545         * gst/gstevent.h:
26546           added 100 symbols from gstreamer-unused.txt to the right sections
26547           fixed more broken comments
26548           added GstBus to docs
26549
26550 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26551
26552         * docs/gst/gstreamer-sections.txt:
26553         * docs/gst/tmpl/.cvsignore:
26554         * docs/gst/tmpl/gstbin.sgml:
26555         * docs/gst/tmpl/gstbuffer.sgml:
26556         * gst/base/gstbasesrc.c:
26557         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26558         * gst/gstbuffer.c:
26559         * gst/gstbuffer.h:
26560         * tools/gst-launch.1.in:
26561           inlined more doc comments, added missing comments and fixed comments
26562           fixed typos
26563
26564 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26565
26566         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26567           some debugging
26568         * gst/gstcaps.h:
26569           whitespace fixes
26570         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26571           more debugging
26572         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26573         * gst/gststructure.h:
26574           add a fixate function for booleans; add a FIXME that these func
26575           names should probably be gst_structure_fixate_*
26576
26577 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26578
26579         * docs/gst/gstreamer-docs.sgml:
26580         * docs/gst/gstreamer-sections.txt:
26581         * gst/Makefile.am:
26582         * gst/gstbin.c: (gst_bin_get_type),
26583         (gst_bin_child_proxy_get_child_by_index),
26584         (gst_bin_child_proxy_get_children_count),
26585         (gst_bin_child_proxy_init):
26586         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26587         (gst_child_proxy_get_child_by_index),
26588         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26589         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26590         (gst_child_proxy_get), (gst_child_proxy_set_property),
26591         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26592         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26593         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26594         * gst/gstchildproxy.h:
26595         * gst/parse/grammar.y:
26596         * tools/gst-inspect.c: (print_interfaces),
26597         (print_element_properties_info), (print_element_info):
26598           ported gstchildproxy over from 0.8
26599           ported gst-inspect fixes and enhancements over from 0.8
26600
26601 2005-08-22  Wim Taymans  <wim@fluendo.com>
26602
26603         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26604         (gst_base_transform_handle_buffer):
26605         Also call the transform function if we have ANY caps.
26606
26607         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26608         Fix debug info.
26609
26610 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26611
26612         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26613           Don't pretend to handle seek events if the source is not seekable
26614
26615 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26616
26617         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26618           Remove extra parameter to debug output
26619
26620         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26621         (gst_base_src_do_seek), (gst_base_src_activate_push):
26622           Fix seek event handling.
26623
26624         * gst/gstpipeline.c: (gst_pipeline_change_state):
26625         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26626         (gst_queue_src_activate_push):
26627           Don't start the src pad task on FLUSH_STOP if the pad
26628           isn't linked.
26629           Debug changes.
26630
26631 2005-08-22  Wim Taymans  <wim@fluendo.com>
26632
26633         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26634         Added check for gst_static_caps_get() refcounting.
26635
26636 2005-08-22  Wim Taymans  <wim@fluendo.com>
26637
26638         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26639         Make _static_caps_get() refcounting sane.
26640         
26641         * gst/gstelement.c: (gst_element_set_state):
26642         Add g_return_val_if_fail() to protect against segfaults.
26643
26644 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26645
26646         * docs/gst/tmpl/gstevent.sgml:
26647         * gst/gstevent.c:
26648         * gst/gstevent.h:
26649           inlined remaining docs, added missing doc comments
26650
26651 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26652
26653         * check/gst/gstbin.c: (GST_START_TEST):
26654           since we don't know when preroll is done, use refcount range
26655           check for the sink
26656         * gst/check/gstcheck.h:
26657           add macro for checking refcount range
26658
26659 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26660
26661         * check/Makefile.am:
26662           clean up environment for when registry gets built versus
26663           when actual tests are run; valgrind seems to not report
26664           leaks if GST_PLUGIN_PATH is set to some specific values
26665         * check/gst/gstbin.c: (GST_START_TEST):
26666           add more refcounting checks; maybe this exposes a
26667           preroll lock bug ?
26668         * common/check.mak:
26669         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26670         * gst/check/gstcheck.h:
26671         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26672         (gst_bin_change_state):
26673         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26674           add/fix debugging/whitespace
26675
26676 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26677
26678         * check/gst/gstevent.c: (event_probe), (test_event),
26679         (GST_START_TEST):
26680          Er, don't call gst_bin_watch_for_state_change you idiot.
26681
26682 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26683
26684         * check/Makefile.am:
26685           Use CHECK_CFLAGS and CHECK_LIBS
26686         * check/gst/gstevent.c: (event_probe), (test_event),
26687         (GST_START_TEST):
26688           Don't leak events.
26689         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26690         (gst_base_src_start), (gst_base_src_stop),
26691         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26692         (gst_base_src_change_state):
26693           Sprinkle gst_base_src_stop liberally around error paths to fix
26694           problems reusing a source after failed state changes.
26695         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26696         (helper_find_suggest), (gst_type_find_helper):
26697           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26698         * gst/gstevent.h:
26699         * docs/gst/tmpl/gstevent.sgml:
26700           Migrate part of the docs from the SGML file. Wait for ensonic to
26701           tell me how I did it wrong ;)
26702         * tools/gst-typefind.c: (main):
26703           Extra robustness to state changes between files.
26704
26705 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26706
26707         * check/Makefile.am:
26708           don't valgrind the controller test - it's leaking - Stefan, HELP
26709         * gst/check/gstcheck.c: (gst_check_message_error),
26710         (gst_check_chain_func), (gst_check_setup_element),
26711         (gst_check_teardown_element), (gst_check_setup_src_pad),
26712         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26713         (gst_check_teardown_sink_pad):
26714         * gst/check/gstcheck.h:
26715           add a bunch of methods to set up elements, and src and sink pads
26716         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26717         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26718         (GST_START_TEST):
26719           use them
26720         * gst/gstmessage.c:
26721         * gst/gsttag.h:
26722           whitespace/doc fixes
26723
26724 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26725
26726         * gst/gstelement.h:
26727           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26728           be handled by the application and not always printed as well
26729
26730 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26731
26732         * check/Makefile.am:
26733           set GST_TOOLS_DIR
26734         * gst/check/gstcheck.c: (gst_check_message_error):
26735         * gst/check/gstcheck.h:
26736           add a fail_unless_equals_int
26737           add fail_unless for error messages
26738
26739 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26740
26741         * check/Makefile.am:
26742         * check/gst.supp:
26743         * common/Makefile.am:
26744         * common/check.mak:
26745         * common/gst.supp:
26746           factor out some of the common stuff so we can use it
26747
26748 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26749
26750         * check/Makefile.am:
26751         * check/gst/gstiterator.c: (GST_START_TEST):
26752         * check/gst/gstsystemclock.c: (GST_START_TEST),
26753         (gst_systemclock_suite):
26754         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26755         * gst/gstclock.c:
26756           valgrind more tests
26757
26758 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26759
26760         * check/elements/.cvsignore:
26761         * check/elements/gstfakesrc.c:
26762           rename to name of element
26763         * check/elements/identity.c: (chain_func), (event_func),
26764         (setup_identity), (cleanup_identity), (GST_START_TEST),
26765         (identity_suite), (main):
26766           add a test for identity
26767         * check/Makefile.am:
26768         * pkgconfig/Makefile.am:
26769         * pkgconfig/gstreamer-check.pc.in:
26770         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26771         * gst/check:
26772         * gst/Makefile.am:
26773         * configure.ac:
26774           move the check stuff to a library that gets installed
26775         * check/gst-libs/controller.c: (GST_START_TEST):
26776         * check/gst-libs/gdp.c:
26777         * check/gst/gst.c: (GST_START_TEST):
26778         * check/gst/gstbin.c:
26779         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26780         * check/gst/gstbus.c:
26781         * check/gst/gstcaps.c: (GST_START_TEST):
26782         * check/gst/gstelement.c:
26783         * check/gst/gstghostpad.c:
26784         * check/gst/gstiterator.c:
26785         * check/gst/gstmessage.c:
26786         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26787         * check/gst/gstobject.c:
26788         * check/gst/gstpad.c: (GST_START_TEST):
26789         * check/gst/gststructure.c: (GST_START_TEST):
26790         * check/gst/gstsystemclock.c: (GST_START_TEST),
26791         (gst_systemclock_suite):
26792         * check/gst/gsttag.c: (gst_tag_suite):
26793         * check/gst/gstvalue.c:
26794         * check/pipelines/cleanup.c:
26795         * check/pipelines/simple_launch_lines.c:
26796         * check/states/sinks.c:
26797           change include statement
26798
26799         * docs/gst/gstreamer-sections.txt:
26800         * docs/gst/tmpl/gstpad.sgml:
26801           document more pad stuff
26802         * gst/gstminiobject.c: (gst_mini_object_ref),
26803         (gst_mini_object_unref):
26804           debug refcounting
26805
26806 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26807
26808         * docs/gst/tmpl/gst.sgml:
26809         * gst/gst.c:
26810           eliminate another tmpl file, fix spelling in the long-description
26811
26812 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26813
26814         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26815         (test_event), (timediff), (gstevents_suite):
26816           Should fix build on 64-bit arch's
26817
26818 2005-08-18  Andy Wingo  <wingo@pobox.com>
26819
26820         Make sure that when a pipeline goes to PLAYING, that data has
26821         actually hit the sink.
26822
26823         * check/states/sinks.c (test_sink): A sink that doesn't get any
26824         data shouldn't return SUCCESS for going to either PLAYING or
26825         PAUSED. Test also the return values on the way back down.
26826
26827         * gst/gstelement.c (gst_element_set_state): When changing the
26828         state of an element currently changing state asynchronously, go to
26829         lost-state after commiting the pending state. Makes future calls
26830         to get_state continue to return ASYNC.
26831
26832         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26833         ASYNC when going to PLAYING if we still don't have preroll, as can
26834         happen with live sources.
26835
26836 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26837
26838         * docs/pwg/advanced-types.xml:
26839           Hack long paragraph into 2 chunks as a workaround for buggy
26840           jadetex version in sid and breezy that loops infinitely and
26841           eats all RAM.
26842
26843 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26844
26845         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26846         (test_event), (timediff), (gstevents_suite):
26847           Provide more error margin in clock measurements to allow for 
26848           g_get_current_time inaccuracies.
26849
26850 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26851
26852         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26853         (test_event), (timediff), (gstevents_suite):
26854            Fix error message output so I might be able to tell why the
26855            test works here but fails on the build farm.
26856
26857 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26858
26859         * check/Makefile.am:
26860         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26861         (test_event), (timediff), (gstevents_suite), (main):
26862           I wrote a test!
26863
26864         * docs/design/part-seeking.txt:
26865           Spelling correction
26866
26867         * docs/gst/tmpl/gstevent.sgml:
26868         * docs/gst/tmpl/gstfakesrc.sgml:
26869           Docs updates.
26870
26871         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26872           Treat a buffer-without-newsegment the same as a receiving 
26873           a newsegment not in time format, and disable syncing to the clock
26874           with a warning.
26875
26876         * gst/gstbus.c: (gst_bus_set_sync_handler):
26877           Assert if anyone tries to replace the existing sync_handler for bus, 
26878           as only the owner should be setting it.
26879
26880         * gst/gstevent.h:
26881           Have a fixed set of custom event enums with events identified by
26882           their structure name (as in 0.8), rather than a free-for-all
26883           allowing collisions between enum values from different plugins.
26884
26885         * gst/gstpad.c: (gst_pad_class_init):
26886           Docs change.
26887           
26888         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26889           Handle out-of-band downstream events from the sending thread.
26890
26891 2005-08-17  Andy Wingo  <wingo@pobox.com>
26892
26893         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26894         play-timeout==0 to mean no timeout at all. In that case, don't
26895         bother with a get_state or a warning, just return directly, even
26896         if it's ASYNC.
26897
26898         * gst/base/gstbasetransform.c: Debug changes.
26899
26900         * gst/gstutils.h:
26901         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26902         ensure bins post state change messages. A bit of a hack but I can't
26903         think of a way to avoid it.
26904
26905         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26906
26907 2005-08-16  Andy Wingo  <wingo@pobox.com>
26908
26909         * gst/base/gstadapter.h:
26910         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26911         peek() but you own the data. Not terribly efficient atm.
26912
26913 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26914
26915         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26916         (gst_element_found_tags):
26917         * gst/gstutils.h:
26918           Add two utility functions for tag handling.
26919
26920 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26921
26922         * docs/manual/advanced-dataaccess.xml:
26923         * docs/manual/basics-helloworld.xml:
26924           Fix docs to use _bin_add() before _link(), which fixes the examples
26925           with recent core versions (reported by Madhan Raj M
26926           <raj_madan@rediffmail.com>, #313199).
26927
26928 2005-08-16  Wim Taymans  <wim@fluendo.com>
26929
26930         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26931         Added subtract checks.
26932
26933         * docs/design/part-events.txt:
26934         Some more docs about newsegment
26935
26936         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26937         Fix FIXME
26938
26939         * gst/gstcaps.c: (gst_caps_to_string):
26940         Add comments, cleanups.
26941         
26942         * gst/gstelement.c: (gst_element_save_thyself):
26943         cleanups
26944         
26945         * gst/gstvalue.c: (gst_value_collect_int_range),
26946         (gst_string_unwrap), (gst_value_union_int_int_range),
26947         (gst_value_union_int_range_int_range),
26948         (gst_value_intersect_int_int_range),
26949         (gst_value_intersect_int_range_int_range),
26950         (gst_value_intersect_double_double_range),
26951         (gst_value_intersect_double_range_double_range),
26952         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26953         (gst_value_subtract_int_range_int),
26954         (gst_value_subtract_double_range_double),
26955         (gst_value_subtract_double_range_double_range),
26956         (gst_value_subtract_from_list), (gst_value_subtract_list),
26957         (gst_value_can_compare), (gst_value_compare_fraction):
26958         Cleanups, add comments, remove unneeded asserts.
26959
26960 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26961
26962         * tools/gst-launch.c: (event_loop):
26963           don't convert NULL structures to strings
26964
26965 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26966
26967         * docs/gst/gstreamer-sections.txt:
26968           made some defines private
26969         * docs/gst/tmpl/gstconfig.sgml:
26970         * docs/gst/tmpl/gstqueue.sgml:
26971         * docs/gst/tmpl/gsttaglist.sgml:
26972         * docs/gst/tmpl/gsttypes.sgml:
26973         * docs/gst/tmpl/gstutils.sgml:
26974         * docs/pwg/appendix-porting.xml:
26975         * gst/base/gstbasesink.h:
26976         * gst/base/gstbasesrc.c:
26977         * gst/base/gstbasesrc.h:
26978         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26979         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26980         * gst/gstelement.c: (gst_element_class_init):
26981         * gst/gstpad.c: (gst_pad_class_init):
26982         * gst/gstqueue.c: (gst_queue_class_init):
26983         * gst/gstxml.c: (gst_xml_class_init):
26984           documented all undocumented signal inline
26985         * libs/gst/controller/gst-controller.h:
26986           added padding
26987
26988 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26989
26990         * docs/pwg/appendix-porting.xml:
26991           Document _set_link_function -> _set_setcaps_function.
26992
26993 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26994
26995         * check/Makefile.am:
26996           add a .check target for running the check
26997         * check/gst-libs/controller.c: (GST_START_TEST):
26998           cosmetic fixups
26999         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27000           complete checks for gstbuffer; would be nice if I could get the
27001           gcov stuff to work so I can see if I actually completed gstbuffer.c
27002         * check/gstcheck.h:
27003           add ASSERT_BUFFER_REFCOUNT
27004
27005 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27006
27007         * docs/gst/gstreamer-sections.txt:
27008         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27009         * gst/gsttag.h:
27010           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27011           spew out a warning if a tag that is already registered
27012           is re-registered, unless it is re-registered with a 
27013           different type (#308438).
27014
27015 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27016
27017         * docs/pwg/appendix-porting.xml:
27018         * docs/pwg/building-state.xml:
27019           Add some paragraphs about state changes in 0.9 to the PWG
27020           and the porting guide, in particular about the new meaning
27021           of GST_STATE_PAUSED and how to write state change functions
27022           with concurrent access by multiple threads in mind.
27023
27024 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27025
27026         * docs/gst/gstreamer-docs.sgml:
27027         * docs/libs/gstreamer-libs-docs.sgml:
27028           added deprecation and since indexes
27029         * libs/gst/controller/gst-controller.c:
27030         * libs/gst/controller/gst-helper.c:
27031           added since tags
27032
27033
27034 2005-08-11  Wim Taymans  <wim@fluendo.com>
27035
27036         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27037         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27038         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27039         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27040         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27041         (gst_ghost_pad_set_target):
27042         Actually implement (re)setting the target on a ghostpad
27043         as described in the docs.
27044
27045 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27046
27047         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27048           Check whether GST_DEBUG_NO_COLOR environment variable is
27049           set and disable coloured debug output if that is the case.
27050
27051 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27052
27053         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27054         (gst_type_find_helper):
27055           The memory returned by gst_type_find_peek() needs to
27056           stay valid until the end of a typefind function, and
27057           typefind functions may keep results from different 
27058           offsets around, so we can't just unref the buffer from
27059           the previous _peek(), but have to save all buffers 
27060           returned by _peek() until typefinding is done and only
27061           free them then.
27062
27063 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27064
27065         * docs/gst/gstreamer-sections.txt:
27066         * gst/gstutils.h:
27067           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27068
27069 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27070
27071         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27072           Fix a pretty good memleak.
27073
27074 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27075
27076         * gst/gstiterator.h:
27077           Fix wrong include and 'make distcheck'.
27078
27079 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27080
27081         * gst/gstbin.c: (bin_bus_handler):
27082           Use gst_element_post_message() instead.
27083
27084 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27085
27086         * gst/base/gstadapter.h:
27087         * gst/base/gstbasesink.h:
27088         * gst/base/gstbasesrc.h:
27089         * gst/base/gstbasetransform.h:
27090         * gst/base/gstcollectpads.h:
27091         * gst/base/gstpushsrc.h:
27092         * gst/gstiterator.h:
27093           Add padding to our base elements' class and instance structs and
27094           to GstIterator (you will need to rebuild all plugins and apps!)
27095
27096 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27097
27098         * gst/gstbin.c: (bin_bus_handler):
27099           Make default message forwarding from child->bus to bin->bus
27100           threadsafe and make it not emit warnings if the parent has no bus.
27101
27102 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27103
27104         * gst/gstelement.c: (activate_pads):
27105           On paused->ready, set pad->caps to NULL, as is the documented
27106           behaviour in this state change. Fixes playback of series of
27107           media files when visualization is enabled in Totem.
27108
27109 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27110
27111         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27112           Allow NULL as filter-caps (which means "any").
27113
27114 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27115
27116         * docs/libs/gstreamer-libs-sections.txt:
27117         * libs/gst/controller/gst-controller.c:
27118         * libs/gst/controller/gst-controller.h:
27119         * libs/gst/controller/gst-helper.c:
27120           adding more entries to the docs and fix small doc-bugs
27121
27122 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27123
27124         * docs/gst/gstreamer-docs.sgml:
27125         * docs/gst/gstreamer-sections.txt:
27126         * docs/gst/gstreamer.types:
27127         * docs/gst/tmpl/gstbasesink.sgml:
27128         * docs/gst/tmpl/gstbasesrc.sgml:
27129         * docs/gst/tmpl/gstbasetransform.sgml:
27130         * docs/gst/tmpl/gstfakesrc.sgml:
27131         * gst/base/gstcollectpads.c:
27132         * gst/base/gstcollectpads.h:
27133         * libs/gst/controller/gst-controller.c:
27134         * libs/gst/controller/gst-controller.h:
27135         * libs/gst/controller/gst-helper.c:
27136         * libs/gst/controller/gst-interpolation.c:
27137         * libs/gst/controller/lib.c:
27138           added long/short desc for controller docs
27139           added collectpads base class docs
27140           added correct includes to base-class docs
27141
27142 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27143
27144         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27145         (gst_test_mono_source_set_property),
27146         (gst_test_mono_source_class_init), (GST_START_TEST),
27147         (gst_controller_suite):
27148         * docs/gst/gstreamer-docs.sgml:
27149         * docs/gst/gstreamer-sections.txt:
27150         * docs/gst/gstreamer.types:
27151         * docs/libs/gstreamer-libs-docs.sgml:
27152         * docs/libs/gstreamer-libs-sections.txt:
27153         * gst/base/gstadapter.c:
27154         * libs/gst/controller/gst-controller.c:
27155         (gst_controlled_property_new), (gst_controlled_property_free),
27156         (gst_controller_new_valist),
27157         (gst_controller_remove_properties_valist),
27158         (gst_controller_sink_values), (_gst_controller_finalize):
27159         * libs/gst/controller/gst-controller.h:
27160         * libs/gst/controller/gst-helper.c:
27161         (gst_object_control_properties), (gst_object_uncontrol_properties),
27162         (gst_object_get_controller), (gst_object_set_controller),
27163         (gst_object_sink_values), (gst_object_get_value_arrays),
27164         (gst_object_get_value_array):
27165           more tests (and fixes) for the controller
27166           more docs for the controller
27167           integrated companies docs for the adapter 
27168
27169 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27170
27171         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27172         (GST_START_TEST), (fakesrc_suite):
27173           add tests for sizetype
27174
27175 2005-08-04  Andy Wingo  <wingo@pobox.com>
27176
27177         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27178         fixes buffer_alloc proxying among other things.
27179
27180         * gst/base/gstbasetransform.c:
27181         * gst/base/gstbasetransform.h:
27182         Revert patch to gstbasetransform from 7-28 removing
27183         delay_configure.
27184
27185         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27186         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27187         Semantics changed, should return not the size of the output buffer
27188         but the byte size of a buffer with a given caps.
27189
27190         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27191         debug object.
27192         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27193         out) are not the pad caps until setcaps finishes.
27194         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27195         not-in-place case as well. Deal with changing from in-place to
27196         not-in-place within calling pad_alloc_buffer. Still a bit
27197         concerned about the overhead here...
27198
27199 2005-08-03  Andy Wingo  <wingo@pobox.com>
27200
27201         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27202         fixating is an error.
27203
27204 2005-08-04  Edward Hervey  <edward@fluendo.com>
27205
27206         * gst/base/gstadapter.h: 
27207         Added gst_adapter_get_type() to the header
27208
27209 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27210
27211         * check/Makefile.am:
27212         * check/gst-libs/controller.c:
27213         * libs/gst/controller/gst-controller.c:
27214         (gst_controller_new_valist):
27215           added check test suite for the controller
27216         * gst/base/gstpushsrc.c:
27217           fixed a doc typo
27218
27219 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27220
27221         * docs/gst/Makefile.am:
27222         * docs/gst/gstreamer-docs.sgml:
27223         * docs/gst/gstreamer-sections.txt:
27224         * docs/gst/gstreamer.types:
27225         * docs/gst/tmpl/gstfakesrc.sgml:
27226         * gst/base/README:
27227         * gst/base/gstbasesink.c:
27228         * gst/base/gstbasesink.h:
27229         * gst/base/gstbasesrc.c:
27230         * gst/base/gstbasesrc.h:
27231         * gst/base/gstbasetransform.c:
27232         * gst/base/gstpushsrc.c:
27233         * gst/base/gstpushsrc.h:
27234           add short/long description docs to base classes
27235           add pushsrc to the docs
27236           remove consolidated doc fragments
27237
27238 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27239
27240         * configure.ac:
27241         * docs/libs/Makefile.am:
27242         * docs/libs/gstreamer-libs-docs.sgml:
27243         * docs/libs/gstreamer-libs-sections.txt:
27244         * docs/libs/gstreamer-libs.types:
27245         * examples/Makefile.am:
27246         * examples/controller/.cvsignore:
27247         * examples/controller/Makefile.am:
27248         * examples/controller/audio-example.c: (main):
27249         * libs/gst/Makefile.am:
27250         * libs/gst/controller/.cvsignore:
27251         * libs/gst/controller/Makefile.am:
27252         * libs/gst/controller/gst-controller.c:
27253         (on_object_controlled_property_changed), (gst_timed_value_compare),
27254         (gst_timed_value_find),
27255         (gst_controlled_property_set_interpolation_mode),
27256         (gst_controlled_property_new), (gst_controlled_property_free),
27257         (gst_controller_find_controlled_property),
27258         (gst_controller_new_valist), (gst_controller_new),
27259         (gst_controller_remove_properties_valist),
27260         (gst_controller_remove_properties), (gst_controller_set),
27261         (gst_controller_set_from_list), (gst_controller_unset),
27262         (gst_controller_get), (gst_controller_get_all),
27263         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27264         (gst_controller_get_value_array),
27265         (gst_controller_set_interpolation_mode),
27266         (_gst_controller_finalize), (_gst_controller_init),
27267         (_gst_controller_class_init), (gst_controller_get_type):
27268         * libs/gst/controller/gst-controller.h:
27269         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27270         (g_object_uncontrol_properties), (g_object_get_controller),
27271         (g_object_set_controller), (g_object_sink_values),
27272         (g_object_get_value_arrays), (g_object_get_value_array):
27273         * libs/gst/controller/gst-interpolation.c:
27274         (gst_controlled_property_find_timed_value_node),
27275         (interpolate_none_get), (interpolate_trigger_get),
27276         (interpolate_trigger_get_value_array):
27277         * libs/gst/controller/lib.c: (gst_controller_init):
27278         * pkgconfig/Makefile.am:
27279         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27280         * pkgconfig/gstreamer-control.pc.in:
27281         * testsuite/Makefile.am:
27282         * testsuite/controller/.cvsignore:
27283         * testsuite/controller/Makefile.am:
27284         * testsuite/controller/interpolator.c: (main):
27285           added controller code
27286           removed dparam pc files
27287
27288 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27289         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27290         (gst_collectpads_stop):
27291           Broadcast the condition when shutting down, to make sure we wake all
27292           threads up. Shut down pads on finalize, for safety.
27293
27294 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27295         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27296         (gst_base_transform_handle_buffer),
27297         (gst_base_transform_change_state):
27298           Handle PAUSED->READY->PAUSED transition after negotiation
27299           occurred already.
27300         * gst/gstmessage.c: (gst_message_init):
27301           Extra piece of debug for new messages.
27302
27303 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27304
27305         * configure.ac:
27306         * docs/gst/tmpl/gstbasesrc.sgml:
27307         * docs/gst/tmpl/gstelement.sgml:
27308         * docs/gst/tmpl/gstevent.sgml:
27309         * docs/gst/tmpl/gstfakesrc.sgml:
27310         * docs/gst/tmpl/gstformat.sgml:
27311         * docs/gst/tmpl/gstghostpad.sgml:
27312         * docs/gst/tmpl/gstpad.sgml:
27313         * docs/gst/tmpl/gstquery.sgml:
27314         * docs/gst/tmpl/gststructure.sgml:
27315         * docs/gst/tmpl/gsttaglist.sgml:
27316         * docs/gst/tmpl/gstvalue.sgml:
27317         * docs/libs/gstreamer-libs-docs.sgml:
27318         * docs/libs/gstreamer-libs-sections.txt:
27319         * docs/libs/gstreamer-libs.types:
27320         * libs/gst/Makefile.am:
27321         * libs/gst/control/.cvsignore:
27322         * libs/gst/control/Makefile.am:
27323         * libs/gst/control/control.c:
27324         * libs/gst/control/control.h:
27325         * libs/gst/control/dparam.c:
27326         * libs/gst/control/dparam.h:
27327         * libs/gst/control/dparam_smooth.c:
27328         * libs/gst/control/dparam_smooth.h:
27329         * libs/gst/control/dparamcommon.h:
27330         * libs/gst/control/dparammanager.c:
27331         * libs/gst/control/dparammanager.h:
27332         * libs/gst/control/dplinearinterp.c:
27333         * libs/gst/control/dplinearinterp.h:
27334         * libs/gst/control/unitconvert.c:
27335         * libs/gst/control/unitconvert.h:
27336         * testsuite/Makefile.am:
27337         * testsuite/dynparams/.cvsignore:
27338         * testsuite/dynparams/Makefile.am:
27339         * testsuite/dynparams/dparamstest.c:
27340         * tools/Makefile.am:
27341         * tools/gst-inspect.c: (print_element_info), (main):
27342         * tools/gst-xmlinspect.c: (print_element_info), (main):
27343           deactivate and remove dparams (libgstcontrol)
27344
27345 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27346
27347         * gst/elements/gsttypefindelement.c:
27348         (gst_type_find_element_have_type), (gst_type_find_element_init),
27349         (stop_typefinding), (gst_type_find_element_handle_event),
27350         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27351         * gst/elements/gsttypefindelement.h:
27352           Set caps on all outgoing buffers, not just the first one.
27353
27354 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27355
27356         * gst/elements/gsttypefindelement.c:
27357         (gst_type_find_element_have_type),
27358         (gst_type_find_element_check_set_buffer_caps),
27359         (gst_type_find_element_init), (stop_typefinding),
27360         (gst_type_find_element_handle_event),
27361         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27362         * gst/elements/gsttypefindelement.h:
27363           Set caps on first outgoing buffer when we've found the type.
27364
27365 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27366
27367         * docs/gst/gstreamer-docs.sgml:
27368         * docs/gst/gstreamer-sections.txt:
27369         * docs/gst/tmpl/gstscheduler.sgml:
27370         * docs/gst/tmpl/gstschedulerfactory.sgml:
27371           Remove some old cruft from docs.
27372
27373 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27374
27375         * gst/gstpad.h:
27376           Fix inline docs for GstPadLinkReturn.
27377           
27378         * gst/gststructure.c: (gst_structure_has_name):
27379         * gst/gststructure.h:
27380         * docs/gst/gstreamer-sections.txt:
27381           New API: gst_structure_has_name().
27382
27383 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27384
27385         * configure.ac:
27386           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27387           and _LARGEFILE_SOURCE in config.h as required. Do not 
27388           export those flags in our .pc files any longer (#142209).
27389
27390           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27391
27392         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27393         (gst_file_sink_do_seek), (gst_file_sink_event),
27394         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27395           Redo seek/tell calls with large file support in mind; add some
27396           debugging messages; add log message that tells us when large
27397           file support is unavailable or not enabled for some reason.
27398
27399         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27400           Add log message that tells us when large file support 
27401           is unavailable or not enabled for some reason.
27402
27403 2005-07-29  Wim Taymans  <wim@fluendo.com>
27404
27405         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27406         Added test for removing an element with ghostpad from a bin.
27407         Fixed test as current implementation does the right thing.
27408
27409         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27410         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27411         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27412         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27413         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27414         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27415         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27416         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27417         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27418         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27419         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27420         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27421         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27422         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27423         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27424         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27425         * gst/gstghostpad.h:
27426         Clean up ghostpads, remove properties for internal stuff.
27427         Make threadsafe.
27428         Fix refcounting.
27429         Prepare for switching targets, not all use cases work yet.
27430
27431 2005-07-29  Wim Taymans  <wim@fluendo.com>
27432
27433         * docs/design/part-gstghostpad.txt:
27434         Small update.
27435
27436         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27437         (gst_bin_remove_func):
27438         Unlinking pads while holding the bin LOCK is not a good
27439         idea.
27440
27441         * gst/gstpad.c: (gst_pad_class_init),
27442         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27443         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27444         No prob setting template after creating the pad.
27445
27446 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27447
27448         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27449         (gst_bus_peek), (gst_bus_source_dispatch),
27450         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27451         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27452           gst_bus_poll may be called from other threads. Handle
27453           this nicely by not making poll_data disappear off the
27454           stack once gst_bus_poll returns.
27455           gst_bus_peek now increments the refcount on the returned
27456           message.
27457
27458 2005-07-29  Wim Taymans  <wim@fluendo.com>
27459
27460         * docs/design/part-gstghostpad.txt:
27461         Overview of current GhostPad datastructures and use
27462         cases for changing the target.
27463
27464 2005-07-28  Wim Taymans  <wim@fluendo.com>
27465
27466         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27467         Added checks for hierarchy consistency whan adding linked
27468         elements to bins.
27469
27470         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27471         Added check to test element scheduling without bin/pipeline.
27472
27473         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27474         First add elements to bin, then link.
27475         
27476         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27477         (gst_bin_remove_func):
27478         Unlink pads from elements added/removed from bin to maintain
27479         hierarchy consistency.
27480
27481 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27482
27483         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27484         (gst_base_transform_handle_buffer):
27485         * gst/base/gstbasetransform.h:
27486           Remove broken delay_configure (fixes renegotiation of software
27487           scaling pipelines); remove some leftover printf()s.
27488
27489 2005-07-28  Wim Taymans  <wim@fluendo.com>
27490
27491         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27492         Added some more tests for wrong hierarchy
27493
27494         * docs/design/part-overview.txt:
27495         Some updates.
27496
27497         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27498         Cleanups.
27499
27500         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27501         (gst_element_dispose):
27502         Some more cleanups.
27503
27504         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27505         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27506         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27507         (gst_pad_set_caps), (gst_pad_send_event):
27508         Check for correct hierarchy when linking pads. Moving to
27509         strict requirement for ghostpads when linking elements in
27510         different bins.
27511
27512         * gst/gstpad.h:
27513         Clean ups. Added WRONG_HIERARCHY return value.
27514
27515 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27516
27517         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27518           Better debug if no transform is possible.
27519
27520 2005-07-27  Wim Taymans  <wim@fluendo.com>
27521
27522         * docs/random/wtay/network-transp:
27523         Some old doc I had.
27524
27525 2005-07-27  Wim Taymans  <wim@fluendo.com>
27526
27527         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27528         (gst_dp_event_from_packet):
27529         Fix serialization of seek events.
27530
27531 2005-07-27  Wim Taymans  <wim@fluendo.com>
27532
27533         * check/gst-libs/gdp.c: (GST_START_TEST):
27534         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27535         Fix compilation and fix event serialization.
27536
27537 2005-07-27  Wim Taymans  <wim@fluendo.com>
27538
27539         * CHANGES-0.9:
27540         * docs/design/part-TODO.txt:
27541         * docs/design/part-events.txt:
27542         Some docs updates
27543
27544         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27545         (gst_base_sink_event), (gst_base_sink_do_sync),
27546         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27547         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27548         (gst_base_src_do_seek), (gst_base_src_event_handler),
27549         (gst_base_src_loop):
27550         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27551         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27552         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27553         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27554         (gst_base_transform_set_passthrough),
27555         (gst_base_transform_is_passthrough):
27556         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27557         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27558         Event updates.
27559
27560         * gst/gstbuffer.h:
27561         Use faster casts.
27562
27563         * gst/gstelement.c: (gst_element_seek):
27564         * gst/gstelement.h:
27565         Update gst_element_seek.
27566
27567         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27568         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27569         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27570         (gst_event_new_eos), (gst_event_new_newsegment),
27571         (gst_event_parse_newsegment), (gst_event_new_tag),
27572         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27573         (gst_event_parse_qos), (gst_event_new_seek),
27574         (gst_event_parse_seek), (gst_event_new_navigation):
27575         * gst/gstevent.h:
27576         Make GstEvent use GstStructure. Add parsing code, make sure the
27577         API is sufficiently generic.
27578         Mark possible directions of events and serialization.
27579
27580         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27581         (_gst_message_copy), (gst_message_new_segment_start),
27582         (gst_message_new_segment_done), (gst_message_new_custom),
27583         (gst_message_parse_segment_start),
27584         (gst_message_parse_segment_done):
27585         Small cleanups.
27586
27587         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27588         (gst_pad_set_caps), (gst_pad_send_event):
27589         Update for new events. 
27590         Catch events sent in wrong directions.
27591
27592         * gst/gstqueue.c: (gst_queue_link_src),
27593         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27594         (gst_queue_handle_src_query):
27595         Event updates.
27596
27597         * gst/gsttag.c:
27598         * gst/gsttag.h:
27599         Remove event code from this file.
27600
27601         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27602         (gst_dp_event_from_packet):
27603         Event updates.
27604
27605 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27606
27607         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27608         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27609         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27610           Make debugging actually useful.
27611
27612 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27613
27614         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27615         (gst_pad_fixate_caps):
27616           Implement default fixation once again, so that gst_pad_fixate()
27617           actually does anything at all. This probably needs to be some
27618           sort of a last resort, and use profile-based fixation first, but
27619           since that doesn't exist yet, this is the best we have. Fixes
27620           visualization in Totem.
27621
27622 2005-07-22  Wim Taymans  <wim@fluendo.com>
27623
27624         * docs/design/part-events.txt:
27625         Small update.
27626
27627         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27628         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27629         (gst_base_sink_activate_pull):
27630         Some more comments.
27631
27632         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27633         (gst_fake_src_create):
27634         Fix handoff marshall.
27635
27636         * gst/elements/gstidentity.c: (gst_identity_class_init),
27637         (gst_identity_transform_ip):
27638         We're a real inplace element.
27639
27640         * gst/gstbus.c: (gst_bus_post):
27641         Added some comments.
27642
27643         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27644         * tests/muxing/case1.c: (main):
27645         * tests/sched/dynamic-pipeline.c: (main):
27646         * tests/sched/interrupt1.c: (main):
27647         * tests/sched/interrupt2.c: (main):
27648         * tests/sched/interrupt3.c: (main):
27649         * tests/sched/runxml.c: (main):
27650         * tests/sched/sched-stress.c: (main):
27651         * tests/seeking/seeking1.c: (event_received), (main):
27652         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27653         (main):
27654         * tests/threadstate/threadstate3.c: (main):
27655         * tests/threadstate/threadstate4.c: (main):
27656         * tests/threadstate/threadstate5.c: (main):
27657         Fix the tests.
27658
27659 2005-07-21  Wim Taymans  <wim@fluendo.com>
27660
27661         * docs/design/part-seeking.txt:
27662         Some small additions.
27663
27664         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27665         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27666         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27667         * gst/base/gstbasesink.h:
27668         discont values are gint64, handle the math correctly.
27669
27670         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27671         Make the basesrc report error if the source pad is not linked.
27672
27673         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27674         (gst_queue_loop), (gst_queue_handle_src_query),
27675         (gst_queue_src_activate_push):
27676         Make queue collect data even if the srcpad is not linked.
27677         Start pushing out data as soon as it is linked.
27678
27679         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27680         * gst/gstutils.h:
27681         Added gst_flow_get_name() to ease error reporting.
27682
27683 2005-07-20  Wim Taymans  <wim@fluendo.com>
27684
27685         * gst/gstmessage.c: (gst_message_new_segment_start),
27686         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27687         (gst_message_parse_segment_done):
27688         * gst/gstmessage.h:
27689         Added a bunch of messages for advanced seeking.
27690
27691         * gst/parse/grammar.y:
27692         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27693         (gst_dpman_state_changed):
27694         Fix some new-pad -> pad-added signals
27695
27696 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27697
27698         * docs/manual/appendix-porting.xml:
27699         * docs/pwg/appendix-porting.xml:
27700           Document new-pad/state-change signal renames and the FixedList
27701           type rename.
27702
27703 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27704
27705         * docs/manual/advanced-autoplugging.xml:
27706         * docs/manual/basics-helloworld.xml:
27707         * docs/manual/basics-pads.xml:
27708         * docs/random/ds/0.9-suggested-changes:
27709         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27710         * gst/gstelement.h:
27711         * gst/gstevent.h:
27712         * gst/gstformat.h:
27713         * gst/gstquery.h:
27714         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27715         (gst_structure_parse_array), (gst_structure_parse_value):
27716         * gst/gstvalue.c: (gst_type_is_fixed),
27717         (gst_value_list_prepend_value), (gst_value_list_append_value),
27718         (gst_value_list_get_size), (gst_value_list_get_value),
27719         (gst_value_transform_array_string), (gst_value_serialize_array),
27720         (gst_value_deserialize_array), (gst_value_intersect_array),
27721         (gst_value_is_fixed), (_gst_value_initialize):
27722         * gst/gstvalue.h:
27723           GstElement::new-pad -> pad-added, GstElement::state-change ->
27724           state-changed, GstValueFixedList -> GstValueArray, add format and
27725           flags as their own arguments in gst_element_seek() (should improve
27726           "bindeability"), remove function generators since they don't work
27727           under a whole bunch of compilers (they were deprecated already
27728           anyway).
27729
27730 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27731
27732         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27733         (_gst_debug_register_funcptr):
27734         * gst/gstinfo.h:
27735           Fix illegal cast on some platforms (#309253).
27736
27737 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27738
27739         * gst/gstmessage.c: (gst_message_new_custom):
27740         * gst/gstmessage.h:
27741           Add _new_custom, make _new_application a macro to _new_custom.
27742
27743 2005-07-20  Wim Taymans  <wim@fluendo.com>
27744
27745         * gst/base/gstbasesrc.c: (gst_base_src_init),
27746         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27747         * gst/base/gstbasesrc.h:
27748         Add a gboolean to decide when to push out a discont.
27749
27750         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27751         (gst_queue_loop), (gst_queue_handle_src_query),
27752         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27753         (gst_queue_set_property), (gst_queue_get_property):
27754         Some cleanups.
27755
27756         * tests/threadstate/threadstate1.c: (main):
27757         Make a thread test compile and run... very silly..
27758
27759
27760 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27761
27762         * docs/manual/appendix-porting.xml:
27763           Mention removal of libgstgconf-0.9.la and existence of gconf
27764           elements.
27765
27766 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27767
27768         * docs/pwg/advanced-clock.xml:
27769         * docs/pwg/appendix-porting.xml:
27770         * docs/pwg/intro-preface.xml:
27771         * docs/pwg/other-base.xml:
27772         * docs/pwg/other-manager.xml:
27773         * docs/pwg/other-nton.xml:
27774         * docs/pwg/other-ntoone.xml:
27775         * docs/pwg/other-oneton.xml:
27776         * docs/pwg/pwg.xml:
27777           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27778           demuxer), remove n-to-n (was never written), fix some code examples
27779           and links and update the porting section to include all this.
27780
27781 2005-07-19  Wim Taymans  <wim@fluendo.com>
27782
27783         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27784         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27785         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27786         (gst_queue_src_activate_push), (gst_queue_change_state),
27787         (gst_queue_get_property):
27788         * gst/gstqueue.h:
27789         Propagate GstFlowReturn more intelligently upstream and output
27790         an ERROR/EOS when streaming stopped due to fatal error.
27791
27792 2005-07-19  Wim Taymans  <wim@fluendo.com>
27793
27794         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27795         Don't block forever for the state change to complete, the
27796         pipeline already did with a sensible timeout.
27797
27798 2005-07-19  Wim Taymans  <wim@fluendo.com>
27799
27800         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27801         Make sure we never call the create function is we
27802         got deactivated.
27803
27804 2005-07-19  Andy Wingo  <wingo@pobox.com>
27805
27806         * gst/parse/parse.l: Attempt to solve bug #172815.
27807
27808 2005-07-19  Wim Taymans  <wim@fluendo.com>
27809
27810         * docs/design/part-clocks.txt:
27811         * docs/design/part-events.txt:
27812         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27813         Small docs updates.
27814         Only update the seeking values when we are not
27815         busy streaming.
27816
27817 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27818
27819         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27820           Oops, ignore the result of gst_pad_push_event here.
27821
27822 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27823
27824         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27825         (gst_base_src_activate_push):
27826           Send discont event from the loop function, as pads
27827           aren't activated yet in the activate_push handler.
27828
27829         * gst/gstbin.c: (bin_bus_handler):
27830           Don't leak element name.
27831
27832 2005-07-18  Andy Wingo  <wingo@pobox.com>
27833
27834         * configure.ac: Use AS_LIBTOOL_TAGS.
27835
27836 2005-07-18  Wim Taymans  <wim@fluendo.com>
27837
27838         * docs/gst/gstreamer.types:
27839         Remove deleted types.
27840
27841 2005-07-18  Wim Taymans  <wim@fluendo.com>
27842
27843         * check/elements/gstfakesrc.c: (GST_START_TEST):
27844         * configure.ac:
27845         * gst/Makefile.am:
27846         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27847         (init_popt_callback):
27848         * gst/gst.h:
27849         * gst/gst_private.h:
27850         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27851         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27852         * gst/gstbin.h:
27853         * gst/gstbus.h:
27854         * gst/gstconfig.h.in:
27855         * gst/gstelement.c: (gst_element_class_init),
27856         (gst_element_set_base_time), (gst_element_get_base_time),
27857         (iterator_fold_with_resync), (gst_element_change_state),
27858         (gst_element_dispose), (gst_element_get_bus):
27859         * gst/gstelement.h:
27860         * gst/gstelementfactory.h:
27861         * gst/gsterror.c: (_gst_core_errors_init):
27862         * gst/gsterror.h:
27863         * gst/gstevent.h:
27864         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27865         * gst/gstindex.c:
27866         * gst/gstinfo.c: (_gst_debug_init):
27867         * gst/gstmessage.c: (_gst_message_copy):
27868         * gst/gstmessage.h:
27869         * gst/gstminiobject.h:
27870         * gst/gstobject.c:
27871         * gst/gstobject.h:
27872         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27873         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27874         * gst/gstpad.h:
27875         * gst/gstparse.h:
27876         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27877         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27878         (gst_pipeline_get_last_stream_time):
27879         * gst/gstpipeline.h:
27880         * gst/gstpluginfeature.h:
27881         * gst/gstquery.h:
27882         * gst/gstscheduler.c:
27883         * gst/gstscheduler.h:
27884         * gst/gststructure.h:
27885         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27886         (gst_task_finalize), (gst_task_func), (gst_task_create),
27887         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27888         (gst_task_stop), (gst_task_pause):
27889         * gst/gsttask.h:
27890         * gst/gsttypefind.h:
27891         * gst/gsttypes.h:
27892         * gst/registries/gstlibxmlregistry.c: (load_feature),
27893         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27894         * gst/registries/gstxmlregistry.c:
27895         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27896         * gst/schedulers/threadscheduler.c:
27897         * libs/gst/control/dparammanager.h:
27898         * tools/gst-inspect.c: (print_element_list),
27899         (print_plugin_features), (print_element_features):
27900         * tools/gst-xmlinspect.c: (print_element_list),
27901         (print_plugin_info), (main):
27902         Removed plugable schedulers.
27903         Removed Scheduler/Manager from elements.
27904         Removed gsttypes.h, rearranged includes.
27905         Removed dependency pad<->element, element<>pipeline, and
27906         various others,  fix includes.
27907         implement gst_pad_get_parent() with gst_object_get_parent()
27908         Make GstTask sefcontained.
27909         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27910         timeout.
27911         Fix endless loop in iterator_fold_with_resync.
27912
27913
27914 2005-07-18  Wim Taymans  <wim@fluendo.com>
27915
27916         * gst/Makefile.am:
27917         * gst/gstarch.h:
27918         Remove old file.
27919
27920 2005-07-18  Wim Taymans  <wim@fluendo.com>
27921
27922         * gst/Makefile.am:
27923         No more cothreads.h
27924
27925 2005-07-18  Wim Taymans  <wim@fluendo.com>
27926
27927         * gst/cothreads.c:
27928         * gst/cothreads.h:
27929         Let's remove these.
27930
27931 2005-07-18  Wim Taymans  <wim@fluendo.com>
27932
27933         * docs/design/part-dynamic.txt:
27934         * docs/design/part-events.txt:
27935         * docs/design/part-seeking.txt:
27936         Some more docs in the works.
27937
27938         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27939         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27940         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27941         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27942         (gst_base_transform_handle_buffer),
27943         (gst_base_transform_sink_activate_push),
27944         (gst_base_transform_src_activate_pull),
27945         (gst_base_transform_set_passthrough),
27946         (gst_base_transform_is_passthrough):
27947         Refcounting fixes.
27948
27949         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27950         Cleanups.
27951
27952         * gst/gstevent.c: (gst_event_finalize):
27953         Set SRC to NULL.
27954
27955         * gst/gstutils.c: (gst_element_unlink),
27956         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27957         (gst_pad_proxy_setcaps):
27958         * gst/gstutils.h:
27959         Add _get_parent_element() to get a pads parent as an element.
27960
27961 2005-07-18  Wim Taymans  <wim@fluendo.com>
27962
27963         * check/gst/gstbin.c: (GST_START_TEST):
27964         Remove bogus test.
27965
27966 2005-07-18  Wim Taymans  <wim@fluendo.com>
27967
27968         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27969         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27970         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27971         (gst_base_sink_event), (gst_base_sink_do_sync),
27972         (gst_base_sink_chain), (gst_base_sink_loop),
27973         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27974         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27975         Refcounting fixes.
27976         Fix logic for returning ASYNC when not prerolled.
27977
27978 2005-07-18  Wim Taymans  <wim@fluendo.com>
27979
27980         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27981         Fix nasty refcount bug.
27982
27983 2005-07-16 Philippe Khalaf <burger@speedy.org>
27984
27985         * gst/elements/gstfdsrc.c:
27986         * gst/elements/gstfdsrc.h:
27987         * gst/elements/gstelements.c:
27988         * gst/elements/Makefile.am:
27989         Ported fdsrc to 0.9.
27990
27991 2005-07-16  Wim Taymans  <wim@fluendo.com>
27992
27993         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27994         (gst_base_sink_do_sync):
27995         Fix compile error.
27996
27997 2005-07-16  Wim Taymans  <wim@fluendo.com>
27998
27999         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28000         (gst_base_sink_event), (gst_base_sink_get_times),
28001         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28002         * gst/base/gstbasesink.h:
28003         Store and use discont values when syncing buffers as described
28004         in design docs.
28005         
28006         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28007         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28008         (gst_base_src_activate_push):
28009         Push discont event when starting.
28010
28011         * gst/elements/gstidentity.c: (gst_identity_transform):
28012         Small cleanups.
28013
28014         * gst/gstbin.c: (gst_bin_change_state):
28015         Small cleanups in base_time  distribution.
28016
28017         * gst/gstelement.c: (gst_element_set_base_time),
28018         (gst_element_get_base_time), (gst_element_change_state):
28019         * gst/gstelement.h:
28020         Added methods for the base_time of the element.
28021         Some MT fixes.
28022
28023         * gst/gstpipeline.c: (gst_pipeline_send_event),
28024         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28025         (gst_pipeline_get_last_stream_time):
28026         * gst/gstpipeline.h:
28027         MT fixes.
28028         Handle seeking as described in design doc, remove stream_time
28029         hack.
28030         Cleanups clock and stream_time selection code. Added accessors
28031         for the stream_time.
28032         
28033
28034 2005-07-16  Andy Wingo  <wingo@pobox.com>
28035
28036         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28037         (#305291).
28038
28039 2005-07-16  Wim Taymans  <wim@fluendo.com>
28040
28041         * check/gst/gstbin.c: (GST_START_TEST):
28042         Make elements silent as the deep_notify refs the
28043         parent, which might make the test fail.
28044
28045         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28046         Don't hold the lock for too long.
28047
28048 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28049
28050         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28051           Don't unref the caps we passed to gst_caps_make_writable() after
28052           passing them. gst_caps_make_writable() will do that for us.
28053
28054 2005-07-15  Andy Wingo  <wingo@pobox.com>
28055
28056         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28057         (#157311).
28058
28059         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28060         own marshalling function for the handoff signal. Properly type the
28061         buffer as a buffer. Fixes some warnings. Should do a more general
28062         solution.
28063         (gst_identity_class_init): Plug into the right marshaller.
28064
28065 2005-07-15  Wim Taymans  <wim@fluendo.com>
28066
28067         * docs/design/part-TODO.txt:
28068         * docs/design/part-clocks.txt:
28069         * docs/design/part-element-sink.txt:
28070         * docs/design/part-events.txt:
28071         * docs/design/part-gstpipeline.txt:
28072         Updated docs, mostly DISCONT related.
28073
28074 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28075
28076         * docs/pwg/building-pads.xml:
28077           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28078
28079 2005-07-15  Andy Wingo  <wingo@pobox.com>
28080
28081         * tools/gst-typefind.c: Update, add copyright block.
28082
28083         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28084         Normalize and truncate caps before fixation.
28085
28086         * gst/gstcaps.h:
28087         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28088         discards all but the first structure from its argument.
28089
28090 2005-07-15  Wim Taymans  <wim@fluendo.com>
28091
28092         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28093         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28094         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28095         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28096         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28097         (gst_base_transform_chain), (gst_base_transform_change_state),
28098         (gst_base_transform_set_passthrough),
28099         (gst_base_transform_is_passthrough):
28100         * gst/base/gstbasetransform.h:
28101         Make passthrough work using the bufferpools.
28102         Changed API a bit, subclasses have to write into a buffer
28103         provided by the base class.
28104         More debug info in nego functions.
28105         
28106         * gst/elements/gstidentity.c: (gst_identity_init),
28107         (gst_identity_transform):
28108         Port to new base class.
28109
28110 2005-07-15  Wim Taymans  <wim@fluendo.com>
28111
28112         * gst/gstmessage.c: (gst_message_new_state_changed):
28113         * tools/gst-launch.c: (event_loop), (main):
28114         Totally dump messages in -launch with the -m option.
28115         Fix message name for State messages,
28116
28117 2005-07-14  Wim Taymans  <wim@fluendo.com>
28118
28119         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28120         Post error messages on errors.
28121
28122 2005-07-14  Wim Taymans  <wim@fluendo.com>
28123
28124         * gst/gstcaps.c: (gst_caps_do_simplify):
28125         Remove debug info.
28126
28127         * gst/gsterror.h:
28128         Define error for stream stopped.
28129
28130         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28131         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28132         Do proper return values.
28133
28134         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28135         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28136         (gst_pad_get_range):
28137         Better return values.
28138
28139         * gst/gstpad.h:
28140         Reorganise return values, add macro to check for fatal errors.
28141
28142         * gst/gstqueue.c: (gst_queue_chain):
28143         Return proper GstFlowReturn values,
28144
28145 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28146
28147         * docs/gst/gstreamer-sections.txt:
28148         * docs/gst/gstreamer.types:
28149         * docs/gst/tmpl/gst.sgml:
28150         * docs/gst/tmpl/gstbasesink.sgml:
28151         * docs/gst/tmpl/gstbasesrc.sgml:
28152         * docs/gst/tmpl/gstbasetransform.sgml:
28153         * docs/gst/tmpl/gstbin.sgml:
28154         * docs/gst/tmpl/gstbuffer.sgml:
28155         * docs/gst/tmpl/gstcaps.sgml:
28156         * docs/gst/tmpl/gstclock.sgml:
28157         * docs/gst/tmpl/gstcompat.sgml:
28158         * docs/gst/tmpl/gstconfig.sgml:
28159         * docs/gst/tmpl/gstelement.sgml:
28160         * docs/gst/tmpl/gstelementdetails.sgml:
28161         * docs/gst/tmpl/gstelementfactory.sgml:
28162         * docs/gst/tmpl/gstenumtypes.sgml:
28163         * docs/gst/tmpl/gsterror.sgml:
28164         * docs/gst/tmpl/gstevent.sgml:
28165         * docs/gst/tmpl/gstfakesink.sgml:
28166         * docs/gst/tmpl/gstfakesrc.sgml:
28167         * docs/gst/tmpl/gstfilesink.sgml:
28168         * docs/gst/tmpl/gstfilesrc.sgml:
28169         * docs/gst/tmpl/gstfilter.sgml:
28170         * docs/gst/tmpl/gstformat.sgml:
28171         * docs/gst/tmpl/gstghostpad.sgml:
28172         * docs/gst/tmpl/gstimplementsinterface.sgml:
28173         * docs/gst/tmpl/gstindex.sgml:
28174         * docs/gst/tmpl/gstindexfactory.sgml:
28175         * docs/gst/tmpl/gstinfo.sgml:
28176         * docs/gst/tmpl/gstiterator.sgml:
28177         * docs/gst/tmpl/gstmacros.sgml:
28178         * docs/gst/tmpl/gstmemchunk.sgml:
28179         * docs/gst/tmpl/gstminiobject.sgml:
28180         * docs/gst/tmpl/gstobject.sgml:
28181         * docs/gst/tmpl/gstpad.sgml:
28182         * docs/gst/tmpl/gstpadtemplate.sgml:
28183         * docs/gst/tmpl/gstparse.sgml:
28184         * docs/gst/tmpl/gstpipeline.sgml:
28185         * docs/gst/tmpl/gstplugin.sgml:
28186         * docs/gst/tmpl/gstpluginfeature.sgml:
28187         * docs/gst/tmpl/gstquery.sgml:
28188         * docs/gst/tmpl/gstqueue.sgml:
28189         * docs/gst/tmpl/gstregistry.sgml:
28190         * docs/gst/tmpl/gstregistrypool.sgml:
28191         * docs/gst/tmpl/gstscheduler.sgml:
28192         * docs/gst/tmpl/gstschedulerfactory.sgml:
28193         * docs/gst/tmpl/gststructure.sgml:
28194         * docs/gst/tmpl/gstsystemclock.sgml:
28195         * docs/gst/tmpl/gsttaglist.sgml:
28196         * docs/gst/tmpl/gsttagsetter.sgml:
28197         * docs/gst/tmpl/gsttrace.sgml:
28198         * docs/gst/tmpl/gsttrashstack.sgml:
28199         * docs/gst/tmpl/gsttypefind.sgml:
28200         * docs/gst/tmpl/gsttypefindfactory.sgml:
28201         * docs/gst/tmpl/gsttypes.sgml:
28202         * docs/gst/tmpl/gsturihandler.sgml:
28203         * docs/gst/tmpl/gsturitype.sgml:
28204         * docs/gst/tmpl/gstutils.sgml:
28205         * docs/gst/tmpl/gstvalue.sgml:
28206         * docs/gst/tmpl/gstversion.sgml:
28207         * docs/gst/tmpl/gstxml.sgml:
28208         * docs/libs/tmpl/gstcontrol.sgml:
28209         * docs/libs/tmpl/gstdataprotocol.sgml:
28210         * docs/libs/tmpl/gstdparam.sgml:
28211         * docs/libs/tmpl/gstdplinint.sgml:
28212         * docs/libs/tmpl/gstdpman.sgml:
28213         * docs/libs/tmpl/gstdpsmooth.sgml:
28214         * docs/libs/tmpl/gstgetbits.sgml:
28215         * docs/libs/tmpl/gstunitconvert.sgml:
28216         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28217         (gst_push_src_base_init), (gst_push_src_class_init),
28218         (gst_push_src_init), (gst_push_src_create):
28219         * gst/base/gstpushsrc.h:
28220         * gst/elements/gstelements.c:
28221         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28222         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28223         (gst_fake_sink_init), (gst_fake_sink_set_property),
28224         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28225         (gst_fake_sink_event), (gst_fake_sink_preroll),
28226         (gst_fake_sink_render), (gst_fake_sink_change_state):
28227         * gst/elements/gstfakesink.h:
28228         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28229         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28230         (gst_fake_src_base_init), (gst_fake_src_class_init),
28231         (gst_fake_src_init), (gst_fake_src_event_handler),
28232         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28233         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28234         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28235         (gst_fake_src_create_buffer), (gst_fake_src_create),
28236         (gst_fake_src_start), (gst_fake_src_stop):
28237         * gst/elements/gstfakesrc.h:
28238         * gst/elements/gstfilesink.c: (_do_init),
28239         (gst_file_sink_base_init), (gst_file_sink_class_init),
28240         (gst_file_sink_init), (gst_file_sink_dispose),
28241         (gst_file_sink_set_location), (gst_file_sink_set_property),
28242         (gst_file_sink_get_property), (gst_file_sink_open_file),
28243         (gst_file_sink_close_file), (gst_file_sink_query),
28244         (gst_file_sink_event), (gst_file_sink_render),
28245         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28246         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28247         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28248         * gst/elements/gstfilesink.h:
28249         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28250         (gst_file_src_class_init), (gst_file_src_init),
28251         (gst_file_src_finalize), (gst_file_src_set_location),
28252         (gst_file_src_set_property), (gst_file_src_get_property),
28253         (gst_file_src_map_region), (gst_file_src_map_small_region),
28254         (gst_file_src_create_mmap), (gst_file_src_create_read),
28255         (gst_file_src_create), (gst_file_src_is_seekable),
28256         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28257         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28258         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28259         (gst_file_src_uri_handler_init):
28260         * gst/elements/gstfilesrc.h:
28261           more autistic cleanliness in functions/names/defines
28262
28263 2005-07-13  Andy Wingo  <wingo@pobox.com>
28264
28265         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28266         source couldn't negotiate.
28267
28268         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28269         connections again.
28270
28271         * gst/gstutils.h:
28272         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28273         function. I am channeling Hades. Put your boots on suckers!!!
28274
28275 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28276
28277         * testsuite/caps/Makefile.am:
28278         * testsuite/caps/value_compare.c:
28279         * testsuite/caps/value_intersect.c:
28280         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28281           move two testsuite apps over to the check dir
28282
28283 2005-07-12  Wim Taymans  <wim@fluendo.com>
28284
28285         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28286         Added more debug info in the negotiate process.
28287
28288         * gst/gstmessage.h:
28289         Prepare for segment playback.
28290
28291         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28292         Better debugging.
28293
28294         * gst/gstutils.c:
28295         Some more docs.
28296
28297         * tools/gst-launch.c: (main):
28298         NULL pipeline on errors.
28299
28300 2005-07-12  Andy Wingo  <wingo@pobox.com>
28301
28302         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28303         not it comes from a malloc region. Make sure our copy gets freed.
28304
28305 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28306
28307         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28308         * check/gst/gstmessage.c: (GST_START_TEST):
28309         * check/gst/gststructure.c: (GST_START_TEST),
28310         (gst_structure_suite), (main):
28311           more testing
28312         * gst/gstelement.c: (gst_element_message_full):
28313           clean up GError and debug string now that they get copied
28314         * gst/gstmessage.c: (gst_message_new_error),
28315         (gst_message_new_warning), (gst_message_parse_error),
28316         (gst_message_parse_warning):
28317           use GST_TYPE_G_ERROR for structure_new, and take copies of
28318           arguments, so that we don't mess up refcounting
28319
28320 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28321
28322         * check/Makefile.am:
28323           add per-test valgrind targets
28324         * check/gst-libs/gdp.c: (GST_START_TEST),
28325         (gst_data_protocol_suite), (main):
28326           clean up
28327
28328 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28329
28330         * check/Makefile.am:
28331           instate more valgrindable tests
28332         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28333         (GST_START_TEST), (fakesrc_suite):
28334         * check/gst/gstpad.c: (GST_START_TEST):
28335         * check/gst/gststructure.c: (GST_START_TEST):
28336           fix test leaks
28337         * docs/gst/tmpl/gstminiobject.sgml:
28338         * gst/gstpad.c: (gst_pad_finalize):
28339           fix the static mutex leak
28340
28341 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28342
28343         * check/Makefile.am:
28344           add two more tests for valgrinding
28345         * check/gst/gstvalue.c: (GST_START_TEST):
28346           test refcount of deserialized buffer, found a leak
28347         * docs/gst/gstreamer-docs.sgml:
28348         * docs/gst/gstreamer-sections.txt:
28349         * docs/gst/gstreamer.types:
28350         * docs/gst/tmpl/gstminiobject.sgml:
28351           add miniobject to docs
28352         * gst/gstminiobject.c:
28353           add some docs
28354         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28355         (gst_string_unwrap):
28356           fix a hard-to-find invalid write for one of the tests
28357           fix a leak for deserialized buffers
28358
28359 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28360
28361         * docs/pwg/advanced-events.xml:
28362         * docs/pwg/advanced-request.xml:
28363         * docs/pwg/advanced-scheduling.xml:
28364         * docs/pwg/appendix-porting.xml:
28365         * docs/pwg/building-boiler.xml:
28366         * docs/pwg/intro-preface.xml:
28367         * docs/pwg/other-ntoone.xml:
28368           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28369           of example code and explanation for pad activation, loop() and
28370           getrange() functions and a bit more. Remove old comments pointing
28371           to loop-functions.
28372         * examples/pwg/Makefile.am:
28373           Add loop/getrange examples.
28374
28375 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28376
28377         * configure.ac:
28378           check for valgrind binary + some fixes
28379         * check/gst.supp:
28380           valgrind suppressions for the tests
28381         * check/Makefile.am:
28382           add a valgrind: target that valgrinds the unit tests
28383         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28384         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28385         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28386         * check/gst/gstghostpad.c:
28387           added some cleanup
28388         * check/gst/gstdata.c:
28389           removed
28390         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28391         (thread_unref), (gst_mini_object_suite), (main):
28392           added
28393         * gst/gst.c: (gst_deinit):
28394         * gst/gst.h:
28395           add a method to clean up.
28396         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28397         (gst_system_clock_obtain):
28398           allow for disposing the system clock.
28399         * tools/gst-launch.c: (main):
28400           deinit
28401
28402 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28403
28404         * docs/gst/tmpl/gstbasesrc.sgml:
28405         * docs/gst/tmpl/gstfakesrc.sgml:
28406         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28407         (gst_base_src_init), (gst_base_src_set_property),
28408         (gst_base_src_get_property), (gst_base_src_get_range),
28409         (gst_base_src_start):
28410         * gst/base/gstbasesrc.h:
28411           add num-buffers property
28412         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28413         (gst_fakesrc_init), (gst_fakesrc_set_property),
28414         (gst_fakesrc_get_property), (gst_fakesrc_create),
28415         (gst_fakesrc_start):
28416           remove num-buffers property
28417
28418 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28419
28420         * docs/gst/gstreamer-sections.txt:
28421         * docs/gst/tmpl/gstbasesink.sgml:
28422         * docs/gst/tmpl/gstbasesrc.sgml:
28423         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28424         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28425         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28426         (gst_base_sink_set_property), (gst_base_sink_get_property),
28427         (gst_base_sink_handle_object), (gst_base_sink_event),
28428         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28429         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28430         (gst_base_sink_loop), (gst_base_sink_deactivate),
28431         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28432         (gst_base_sink_change_state):
28433         * gst/base/gstbasesink.h:
28434         * gst/base/gstbasesrc.h:
28435         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28436         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28437         (gst_filesink_init):
28438           more macro splitting
28439
28440 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28441
28442         * gst/gstelement.c: (gst_element_get_bus):
28443           add debug
28444         * tools/gst-launch.c: (check_intr), (event_loop):
28445           fix bus leaks
28446
28447 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28448
28449         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28450           fix a caps leak
28451
28452 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28453
28454         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28455         (gst_base_src_finalize):
28456           add finalize method and clean up properly
28457         * gst/gstpipeline.c: (gst_pipeline_dispose):
28458           add debug
28459
28460 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28461
28462         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28463         (gst_bin_suite):
28464           add more things to check
28465         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28466         * gst/gstelement.c:
28467           more debug
28468
28469 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28470
28471         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28472         (GST_START_TEST), (fakesrc_suite):
28473         * check/gst-libs/gdp.c: (GST_START_TEST):
28474         * check/gst/gst.c: (GST_START_TEST):
28475         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28476         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28477         * check/gst/gstbus.c: (GST_START_TEST):
28478         * check/gst/gstcaps.c: (GST_START_TEST):
28479         * check/gst/gstdata.c: (GST_START_TEST):
28480         * check/gst/gstelement.c: (GST_START_TEST):
28481         * check/gst/gstghostpad.c: (GST_START_TEST):
28482         * check/gst/gstiterator.c: (GST_START_TEST):
28483         * check/gst/gstmessage.c: (GST_START_TEST):
28484         * check/gst/gstobject.c: (GST_START_TEST):
28485         * check/gst/gstpad.c: (GST_START_TEST):
28486         * check/gst/gststructure.c: (GST_START_TEST):
28487         * check/gst/gstsystemclock.c: (GST_START_TEST),
28488         (gst_systemclock_suite):
28489         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28490         * check/gst/gstvalue.c: (GST_START_TEST):
28491         * check/pipelines/cleanup.c: (GST_START_TEST):
28492         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28493         * check/states/sinks.c: (GST_START_TEST):
28494         * check/gstcheck.c: (gst_check_init):
28495         * check/gstcheck.h:
28496           add debugging category
28497           use GST_START_TEST now, so we add a debug line
28498
28499 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28500
28501         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28502           add test for state change message on a bin
28503         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28504           add another test
28505         * gst/gstbin.c: (gst_bin_init):
28506         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28507         * gst/gstelement.c: (gst_element_post_message),
28508         (gst_element_set_state):
28509         * gst/gstelementfactory.c: (gst_element_factory_create):
28510         * gst/gstmessage.c: (gst_message_new):
28511         * gst/gstscheduler.c:
28512           various debugging additions and cleanups
28513
28514 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28515
28516         * check/Makefile.am:
28517         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28518         (main):
28519           adding tests for elements
28520         * gst/gstelement.c: (gst_element_dispose):
28521
28522 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28523
28524         * gst/registries/gstlibxmlregistry.c: (load_feature):
28525           plug more leaks.  A simple gst_init() now is leakfree, yay.
28526
28527 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28528
28529         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28530         (gst_xml_registry_load):
28531           plug another memleak
28532
28533 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28534
28535         * configure.ac:
28536           use GST_SET_ERROR_CFLAGS
28537         * docs/faq/cvs.xml:
28538           change to ERROR_CFLAGS
28539
28540 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28541
28542         * configure.ac:
28543           make GST_ERROR_CFLAGS overridable and re-enable Werror
28544         * docs/faq/cvs.xml:
28545           add a note about error CFLAGS
28546         * docs/gst/tmpl/gstfakesrc.sgml:
28547         * gst/elements/gstfakesrc.c:
28548           comment out some unused code
28549         * gst/gst.c: (split_and_iterate):
28550         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28551         (load_feature):
28552           plug some memleaks
28553
28554 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28555
28556         * common/Makefile.am:
28557         * common/gtk-doc.mak:
28558         * docs/gst/Makefile.am:
28559           factor out gtk-doc.mak
28560
28561 2005-07-07  Wim Taymans  <wim@fluendo.com>
28562
28563         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28564         (gst_thread_scheduler_dispose):
28565         Unlock the STREAM_LOCK completely.
28566
28567 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28568
28569         * check/Makefile.am:
28570         * check/elements/.cvsignore:
28571         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28572         (START_TEST), (fakesrc_suite), (main):
28573         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28574         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28575         (gst_fakesrc_create), (gst_fakesrc_start):
28576         * gst/elements/gstfakesrc.h:
28577           adding a first element test
28578
28579 2005-07-07  Andy Wingo  <wingo@pobox.com>
28580
28581         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28582         debug message.
28583
28584 2005-07-07  Wim Taymans  <wim@fluendo.com>
28585
28586         * gst/gstquery.c:
28587         * gst/gstquery.h:
28588         Remove old types
28589
28590 2005-07-07  Wim Taymans  <wim@fluendo.com>
28591
28592         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28593         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28594         Allow subclasses to implement their own negotiation.
28595
28596 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28597
28598         * docs/design/part-gstbin.txt:
28599         * docs/design/part-gstpipeline.txt:
28600           Update design notes to reflect the movement of
28601           responsibility for bus handling from GstPipeline to
28602           GstBin
28603
28604 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28605
28606         * configure.ac:
28607           Remove unnecessary queue2/3/4 examples.
28608
28609 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28610
28611         * examples/Makefile.am:
28612         * examples/helloworld/helloworld.c: (event_loop), (main):
28613         * examples/queue/queue.c: (event_loop), (main):
28614         * examples/queue2/queue2.c: (main):
28615           Update a couple of the examples to work again.
28616
28617         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28618         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28619          Spelling corrections and extra debug.
28620         
28621         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28622         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28623         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28624         * gst/gstbin.h:
28625         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28626         (gst_pipeline_change_state):
28627         * gst/gstpipeline.h:
28628           Move the bus handler for children to the GstBin, and create a
28629           separate bus for receiving messages from children to the one the
28630           bus sends 'upwards' on.
28631
28632 2005-07-06  Wim Taymans  <wim@fluendo.com>
28633
28634         * gst/base/README:
28635         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28636         (gst_base_sink_handle_object), (gst_base_sink_loop),
28637         (gst_base_sink_change_state):
28638         * gst/base/gstbasesink.h:
28639         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28640         (gst_base_src_init), (gst_base_src_setcaps),
28641         (gst_base_src_getcaps), (gst_base_src_loop),
28642         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28643         (gst_base_src_start), (gst_base_src_change_state):
28644         * gst/base/gstbasesrc.h:
28645         Make basesrc negotiate.
28646         Handle the case where preroll fails in basesink.
28647         Update README.
28648
28649 2005-07-06  Wim Taymans  <wim@fluendo.com>
28650
28651         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28652         Implement the fixate function.
28653         Clean up acceptcaps.
28654
28655 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28656
28657         * docs/pwg/building-filterfactory.xml:
28658         * docs/pwg/pwg.xml:
28659           Remove never-written filter-factory chapter; I'll add the various
28660           base classes to part 4 ("other element types") later on.
28661
28662 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28663
28664         * docs/pwg/advanced-negotiation.xml:
28665         * docs/pwg/building-boiler.xml:
28666         * docs/pwg/building-pads.xml:
28667         * docs/pwg/pwg.xml:
28668         * examples/pwg/Makefile.am:
28669           Add a chapter on caps negotiation, simplify the original code
28670           samples a bit w.r.t. caps negotiation, add link to the advanced
28671           section. Add a bunch of examples showing different use cases of
28672           different types of caps negotiation. Upstream renegotiation isn't
28673           fully documented yet since nobody knows how that works.
28674
28675 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28676
28677         * check/gst/gstpad.c:
28678         * check/gstcheck.c:
28679         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28680           if pad has no parent, return NULL as list of internal links
28681
28682 2005-07-05  Andy Wingo  <wingo@pobox.com>
28683
28684         * gst/elements/gstfilesrc.c:
28685         * gst/elements/gstfakesrc.c: 
28686         * gst/base/gstpushsrc.c:
28687         * gst/base/gstbasesrc.h: 
28688         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28689         
28690 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28691
28692         * Makefile.am:
28693           better report generation target (lcov needs a patch)
28694
28695 2005-07-05  Andy Wingo  <wingo@pobox.com>
28696
28697         * gst/elements, testsuite: Null if we got it...
28698
28699 2005-07-05  Wim Taymans  <wim@fluendo.com>
28700
28701         * configure.ac:
28702         * libs/gst/dataprotocol/Makefile.am:
28703         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28704         * libs/gst/dataprotocol/dataprotocol.h:
28705         * pkgconfig/Makefile.am:
28706         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28707         * pkgconfig/gstreamer-dataprotocol.pc.in:
28708         Ported dataprotol to 0.9. 
28709         Added pkgconfig files.
28710
28711 2005-07-05  Andy Wingo  <wingo@pobox.com>
28712
28713         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28714         Default to returning TRUE for the case when tranform_caps returns
28715         a fixed caps, like for identity or volume.
28716
28717         * check/gst/gstbus.c (pound_bus_with_messages): 
28718         * check/gst/gstmessage.c (START_TEST): 
28719         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28720         message API change.
28721
28722         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28723         logic weaks here: always run transform_caps, trying passthrough
28724         operation only if the original caps intersects with the transform.
28725
28726         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28727         source and sink caps.
28728
28729         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28730         Intersect the peer caps with the pad template before going into
28731         transform_caps.
28732         (gst_base_transform_transform_caps): More debugging.
28733
28734         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28735         src argument.
28736
28737 2005-07-04  Edward Hervey  <edward@fluendo.com>
28738
28739         * gst/gstutils.c:
28740         * gst/gstutils.h:
28741         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28742         in bindings.
28743
28744 2005-07-04  Andy Wingo  <wingo@pobox.com>
28745
28746         * check/gst/gstpad.c: Only set explicit caps on pads.
28747
28748 2005-07-01  Andy Wingo  <wingo@pobox.com>
28749
28750         * tests/network-clock.scm: Commentary update.
28751
28752         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28753         Didn't really make sense, not implementable with basetransform,
28754         etc.
28755         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28756         attempt at implementing the sync property, needs an unlock method.
28757
28758         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28759         New func, by default returns the same caps (the identity
28760         transformation).
28761         (gst_base_transform_getcaps): Uses transform_caps to return
28762         something sensible.
28763         (gst_base_transform_setcaps): Complicated logic to get caps on
28764         both pads, even if they are different, and to call set_caps once
28765         for every time both pads get their caps set.
28766         (gst_base_transform_handle_buffer): Give the ref to the transform
28767         function. Allows in-place modification of the buffer.
28768
28769         * gst/base/gstbasetransform.h (transform_caps): New class method.
28770         Given caps on one side, what can I do on the other.
28771         (set_caps): Take two caps, one for each side of the element.
28772
28773         * gst/gstpad.h:
28774         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28775         caps in place. This is safe because we can check the mutability of
28776         the caps, and a good idea because fixate functions are just called
28777         as a matter of last resort. (Not actually implemented.)
28778         (gst_pad_set_caps): If the caps we're setting is actually the same
28779         as the existing pad caps, just update the pointer without calling
28780         setcaps. Assert that caps is either NULL or fixed, as per the
28781         docs.
28782
28783         * gst/gstghostpad.c: Update for fixate changes.
28784
28785 2005-07-02  Andy Wingo  <wingo@pobox.com>
28786
28787         * gst/gstcaps.c:
28788         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28789         two refcounts makes it immutable, which is enough. Doc more.
28790
28791 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28792
28793         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28794           Put the mini_object into GValue as a mini_object,
28795           not a gpointer, since that's how we declared
28796           the signal.
28797
28798 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28799
28800         * examples/pwg/Makefile.am:
28801           Fix buildbot again.
28802
28803 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28804
28805         * docs/pwg/building-testapp.xml:
28806           Add extra check.
28807         * examples/pwg/Makefile.am:
28808           Fix buildbot.
28809
28810 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28811
28812         * configure.ac:
28813         * examples/Makefile.am:
28814         * examples/pwg/Makefile.am:
28815         * examples/pwg/extract.pl:
28816           Enable building the PWG examples.
28817         * docs/pwg/advanced-interfaces.xml:
28818           Add URI interface stub.
28819         * docs/pwg/advanced-types.xml:
28820         * docs/pwg/other-autoplugger.xml:
28821         * docs/pwg/appendix-porting.xml:
28822         * docs/pwg/pwg.xml:
28823           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28824         * docs/pwg/building-boiler.xml:
28825         * docs/pwg/building-chainfn.xml:
28826         * docs/pwg/building-pads.xml:
28827         * docs/pwg/building-props.xml:
28828         * docs/pwg/building-state.xml:
28829         * docs/pwg/building-testapp.xml:
28830           Update the building-*.xml parts for 0.9 changes. All examples
28831           code blocks compile in examples/pwg/*.
28832
28833 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28834
28835         * docs/manual/advanced-autoplugging.xml:
28836         * docs/manual/appendix-checklist.xml:
28837         * docs/manual/appendix-integration.xml:
28838         * docs/manual/highlevel-components.xml:
28839           Fix playbin/decodebin examples, update docs a bit, mention bus
28840           instead of signals in various places, mention kmplayer and
28841           kaffeine since they have a working GStreamer backend in the KDE
28842           section.
28843
28844 2005-06-30  Wim Taymans  <wim@fluendo.com>
28845
28846         * CHANGES-0.9:
28847         * docs/design/draft-ghostpads.txt:
28848         * docs/design/draft-push-pull.txt:
28849         * docs/design/draft-query.txt:
28850         * docs/design/part-TODO.txt:
28851         * docs/design/part-query.txt:
28852         Added CHANGES-0.9 doc, updated status of other docs.
28853         
28854         * gst/gstquery.h:
28855         Remove "hmm" macro
28856
28857 2005-06-30  Wim Taymans  <wim@fluendo.com>
28858
28859         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28860         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28861         (gst_base_sink_change_state):
28862         * gst/base/gstbasesink.h:
28863         Some tweaks, only EOS and a buffer complete a preroll.
28864
28865 2005-06-30  Andy Wingo  <wingo@pobox.com>
28866
28867         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28868         activate_push down to the internal pad as well.
28869
28870 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28871
28872         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28873
28874         * gst/gsttaginterface.c:
28875           Some documentation fixes (#307394 and #307397).
28876
28877 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28878
28879         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28880
28881         * gst/gstvalue.c: (gst_value_intersect_list):
28882           Fix memleak (#309125).
28883
28884 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28885
28886         * docs/manual/advanced-dataaccess.xml:
28887           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28888         * docs/manual/basics-pads.xml:
28889           Add reference for filtered caps to above chapter.
28890
28891 2005-06-30  Wim Taymans  <wim@fluendo.com>
28892
28893         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28894         (gst_bin_change_state):
28895         Probes are gone.
28896         Lame attempt at making the state change function a bit
28897         more readable.
28898
28899 2005-06-30  Wim Taymans  <wim@fluendo.com>
28900
28901         * docs/design/part-clocks.txt:
28902         * docs/design/part-element-sink.txt:
28903         * docs/design/part-events.txt:
28904         * docs/design/part-preroll.txt:
28905         * docs/design/part-states.txt:
28906         Some more tweeks and additions to the docs.
28907
28908 2005-06-30  Wim Taymans  <wim@fluendo.com>
28909
28910         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28911         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28912         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28913         (gst_pad_check_pull_range), (gst_pad_get_range),
28914         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28915         * gst/gstpad.h:
28916         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28917         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28918         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28919         (gst_pad_remove_buffer_probe):
28920         Removed atomic operations, use existing LOCK.
28921         Move exception handling out of main code path.
28922
28923 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28924
28925         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28926         (silly_return_true_function), (gst_pad_class_init),
28927         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28928         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28929         (gst_pad_send_event):
28930           Fix accumulator, add default value by using _emitv() instead
28931           of _emit() for signal emission.
28932
28933 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28934
28935         * docs/manual/advanced-dataaccess.xml:
28936         * examples/manual/Makefile.am:
28937           Add probe example.
28938         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28939           Make work (??).
28940
28941 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28942
28943         * gst/elements/gstfilesink.c: (gst_filesink_render):
28944           Simplify code so that we don't have to handle short
28945           writes and return GST_FLOW_ERROR if an error occured.
28946
28947 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28948
28949         * docs/gst/gstreamer-docs.sgml:
28950           Remove probes more.
28951
28952 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28953
28954         * docs/gst/gstreamer-sections.txt:
28955         * docs/gst/tmpl/gstpad.sgml:
28956         * docs/gst/tmpl/gstprobe.sgml:
28957         * gst/Makefile.am:
28958         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28959         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28960         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28961         (gst_pad_push_event), (gst_pad_send_event):
28962         * gst/gstpad.h:
28963         * gst/gstutils.c: (gst_pad_add_data_probe),
28964         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28965         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28966         (gst_pad_remove_buffer_probe):
28967         * gst/gstutils.h:
28968           Remove old probes, add new g-signal-based probes and some utility
28969           functions.
28970
28971 2005-06-29  Edward Hervey  <edward@fluendo.com>
28972
28973         * gst/gstelementfactory.c:
28974         * gst/gstutils.h:
28975         * gst/gstutils.c:
28976         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28977         the definition to the header file.
28978
28979 2005-06-29  Andy Wingo  <wingo@pobox.com>
28980
28981         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28982         plugins from the source directory.
28983
28984 2005-06-29  Wim Taymans  <wim@fluendo.com>
28985
28986         * docs/gst/tmpl/gstbuffer.sgml:
28987         * docs/gst/tmpl/gstclock.sgml:
28988         Some fixings for blantently wrong text.
28989
28990 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28991
28992         * check/Makefile.am:
28993         * gst/gst.c: (add_path_func), (init_pre):
28994         * gst/gstregistry.c: (gst_registry_add_path):
28995           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28996           only scan the GST_PLUGIN_PATH locations, and not add
28997           system locations
28998
28999 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29000
29001         * docs/gst/gstreamer-sections.txt:
29002         * docs/gst/tmpl/gstbasesrc.sgml:
29003         * gst/gstelement.c:
29004         * gst/gstelement.h:
29005         * gst/gstevent.c:
29006         * gst/gstutils.c:
29007           doc fixes
29008
29009 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29010
29011         * docs/manual/advanced-autoplugging.xml:
29012           Fix autoplugging example.
29013
29014 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29015
29016         * docs/manual/advanced-autoplugging.xml:
29017         * docs/manual/mime-world.fig:
29018           Try to get autoplugging working, fix type detection. Fix text
29019           in hello-world image.
29020
29021 2005-06-29  Wim Taymans  <wim@fluendo.com>
29022
29023         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29024         (gst_base_sink_change_state):
29025         Small debug line.
29026
29027         * gst/gstclock.h:
29028         map SIGNAL and BROADCAST to the right function.
29029
29030         * gst/gstobject.h:
29031         Remove redundant braces.
29032
29033         * gst/gstpad.c: (gst_pad_set_caps):
29034         Don't call setcaps function when reseting caps to NULL.
29035
29036         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29037         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29038         (gst_system_clock_id_unschedule):
29039         Use BROADCAST as this is what we do.
29040
29041 2005-06-29  Wim Taymans  <wim@fluendo.com>
29042
29043         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29044         We are actually prerolling before commiting the state
29045         change. 
29046
29047 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29048
29049         * docs/manual/advanced-clocks.xml:
29050         * docs/manual/advanced-interfaces.xml:
29051         * docs/manual/advanced-metadata.xml:
29052         * docs/manual/advanced-position.xml:
29053         * docs/manual/advanced-schedulers.xml:
29054         * docs/manual/advanced-threads.xml:
29055         * docs/manual/appendix-porting.xml:
29056         * docs/manual/basics-bins.xml:
29057         * docs/manual/basics-bus.xml:
29058         * docs/manual/basics-elements.xml:
29059         * docs/manual/basics-helloworld.xml:
29060         * docs/manual/basics-pads.xml:
29061         * docs/manual/highlevel-components.xml:
29062         * docs/manual/manual.xml:
29063         * docs/manual/thread.fig:
29064           Update (until threads/scheduling) Application Development Manual;
29065           remove GstThread, add GstBus, add simple porting checklist, add
29066           documentation for tag writing, clocks, make all examples until this
29067           part compile and run.
29068         * examples/manual/Makefile.am:
29069           Update from changes to Application Development Manual; add bus
29070           example, remove thread example.
29071
29072 2005-06-28  Wim Taymans  <wim@fluendo.com>
29073
29074         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29075         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29076         (gst_bus_source_dispatch):
29077         Add debugging messages.
29078         Make internal methods static.
29079         Handle the case where the bus is flushed in the handler.
29080         
29081         * gst/gstelement.c: (gst_element_get_bus):
29082         Fix refcount in _get_bus();
29083
29084         * gst/gstpipeline.c: (gst_pipeline_change_state),
29085         (gst_pipeline_get_clock_func):
29086         Clock refcounting fixes.
29087         Handle the case where preroll timed out more gracefully.
29088         
29089         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29090         Clean up the internal thread in dispose. This is needed
29091         for subclasses that actually get disposed.
29092         
29093         * gst/schedulers/threadscheduler.c:
29094         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29095         (gst_thread_scheduler_dispose):
29096         Free thread pool in dispose.
29097
29098 2005-06-28  Andy Wingo  <wingo@pobox.com>
29099
29100         * tests/network-clock-utils.scm (debug, print-event): New utils.
29101
29102         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29103         (*packet-loss*): Unified loss probability.
29104         (network-time): Report out-of-band events.
29105
29106         * tests/plot-data: Add support for out-of-band events. Hack it
29107         into this script instead of passing it down the pipe; should fix
29108         this later.
29109
29110 2005-06-28  Wim Taymans  <wim@fluendo.com>
29111
29112         * docs/gst/gstreamer.types:
29113         * docs/gst/tmpl/gstbasesrc.sgml:
29114         * docs/gst/tmpl/gstpad.sgml:
29115         Docs fixes.
29116
29117 2005-06-28  Wim Taymans  <wim@fluendo.com>
29118
29119         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29120         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29121         (gst_proxy_pad_do_fixatecaps):
29122         Correctly proxy the check_pull_range function.
29123
29124 2005-06-28  Andy Wingo  <wingo@pobox.com>
29125
29126         * tests/network-clock.scm: Removed need for slib.
29127         
29128 2005-06-28  Wim Taymans  <wim@fluendo.com>
29129
29130         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29131         (gst_basesink_preroll_queue_flush):
29132         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29133         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29134         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29135         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29136         (gst_proxy_pad_set_property):
29137         * gst/gstpad.c:
29138         * gst/gstpad.h:
29139         * gst/gstqueue.c: (gst_queue_init):
29140         The deprecated pad loop function is removed now.
29141
29142 2005-06-28  Andy Wingo  <wingo@pobox.com>
29143
29144         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29145         New parameters, simulate network packet loss.
29146
29147         * tests/network-clock-utils.scm: Initialize the RNG.
29148
29149 2005-06-28  Wim Taymans  <wim@fluendo.com>
29150
29151         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29152         (gst_basesink_event), (gst_basesink_deactivate):
29153         Flushing the preroll queue always needs to unlock the waiters.
29154
29155 2005-06-28  Edward Hervey  <edward@fluendo.com>
29156
29157         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29158         Wheen a seek was successful on a pipeline, set the stream_time to the
29159         seek offset in order to have a synchronized stream_time.
29160
29161 2005-06-28  Wim Taymans  <wim@fluendo.com>
29162
29163         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29164         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29165         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29166         (gst_proxy_pad_do_fixatecaps):
29167         Call wrapper function instead of just calling the function
29168         pointers. This takes care of any locking and whatmore.
29169
29170 2005-06-28  Wim Taymans  <wim@fluendo.com>
29171
29172         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29173         (gst_pad_pull_range):
29174         * gst/gstpad.h:
29175         CONNECTED -> LINKED.
29176
29177 2005-06-28  Andy Wingo  <wingo@pobox.com>
29178
29179         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29180         source-munging commit!!!
29181
29182         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29183         (gst_object_sink): Take gpointer arguments, not GstObject --
29184         avoids casts. Like GLib.
29185
29186         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29187         activate.
29188
29189 2005-06-27  Andy Wingo  <wingo@pobox.com>
29190
29191         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29192         remaining buffer.
29193
29194         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29195         returns a sorted copy of the trace list.
29196         (gst_alloc_trace_print_live): New API, only prints traces with
29197         live objects. Sort the list.
29198         (gst_alloc_trace_print_all): Sort the list.
29199         (gst_alloc_trace_print): Align columns.
29200
29201         * gst/elements/gstttypefindelement.c:
29202         * gst/elements/gsttee.c:
29203         * gst/base/gstbasesrc.c:
29204         * gst/base/gstbasesink.c:
29205         * gst/base/gstbasetransform.c:
29206         * gst/gstqueue.c: Adapt for pad activation changes.
29207
29208         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29209         sched.
29210         (gst_pipeline_dispose): Drop ref on sched.
29211
29212         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29213         (gst_pad_activate_default): Push mode by default.
29214         (pre_activate_switch, post_activate_switch): New stubs, things to
29215         do before and after switching activation modes on pads.
29216         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29217         the pad's activate function to choose which mode to activate.
29218         Shortcut on deactivation and call the right function directly.
29219         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29220         mode.
29221         (gst_pad_activate_push): New API, same for push mode.
29222         (gst_pad_set_activate_function) 
29223         (gst_pad_set_activatepull_function) 
29224         (gst_pad_set_activatepush_function): Setters for new API.
29225
29226         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29227         Trace all miniobjects.
29228         (gst_mini_object_make_writable): Unref the arg if we copy, like
29229         gst_caps_make_writable.
29230
29231         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29232
29233         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29234         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29235         Adapt for new pad API.
29236
29237         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29238
29239         * gst/gstelement.h:
29240         * gst/gstelement.c (gst_element_iterate_src_pads) 
29241         (gst_element_iterate_sink_pads): New API functions.
29242         
29243         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29244         should fold into gstiterator.c in some form.
29245         (gst_element_pads_activate): Simplified via use of fold and
29246         delegation of decisions to gstpad->activate.
29247
29248         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29249         help in debugging.
29250
29251         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29252         class once in init, like gstmessage. Didn't run into this issue
29253         but it seems correct. Don't initialize a trace, gstminiobject does
29254         that.
29255
29256         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29257         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29258         to the bus.
29259         (assert_live_count): New util function, uses alloc traces to check
29260         cleanup.
29261
29262         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29263         To be modified when unlink drops the internal pad.
29264
29265 2005-06-27  Wim Taymans  <wim@fluendo.com>
29266
29267         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29268         (gst_bin_change_state):
29269         Cleanup the get_state() function a little, make sure it
29270         iterates the same set of elements.
29271         Added stub iterate_state_order().
29272
29273 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29274
29275         * docs/gst/gstreamer-docs.sgml:
29276         * docs/gst/gstreamer-sections.txt:
29277         * docs/gst/gstreamer.types:
29278         * docs/gst/tmpl/gstbasesink.sgml:
29279         * docs/gst/tmpl/gstbasesrc.sgml:
29280         * docs/gst/tmpl/gstbasetransform.sgml:
29281         * docs/gst/tmpl/gstelement.sgml:
29282         * docs/gst/tmpl/gstiterator.sgml:
29283         * gst/base/gstbasesrc.c:
29284         * gst/base/gstbasesrc.h:
29285         * gst/base/gstbasetransform.h:
29286         * gst/gstelement.c:
29287         * gst/gstiterator.h:
29288           adding basetransform and iterator docs
29289
29290 2005-06-27  Andy Wingo  <wingo@pobox.com>
29291
29292         * docs/design/part-activation.txt: Notes on how activation should
29293         work -- not quite implemented yet.
29294
29295 2005-06-25  Wim Taymans  <wim@fluendo.com>
29296
29297         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29298         At least get the chain function correct, needs more
29299         fixing.
29300
29301 2005-06-25  Wim Taymans  <wim@fluendo.com>
29302
29303         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29304         (gst_basesink_handle_object), (gst_basesink_event),
29305         (gst_basesink_do_sync), (gst_basesink_handle_event),
29306         (gst_basesink_change_state):
29307         * gst/gsttask.h:
29308         Right, two problems here: ghostpads don't take locks and
29309         glib _rec_mutex_lock_full() with depth==0 still locks.
29310         Catch illegal locking and g_warn them.
29311
29312 2005-06-25  Wim Taymans  <wim@fluendo.com>
29313
29314         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29315         Have to check for completion now...
29316
29317 2005-06-25  Wim Taymans  <wim@fluendo.com>
29318
29319         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29320         (gst_basesink_handle_object), (gst_basesink_event),
29321         (gst_basesink_do_sync), (gst_basesink_handle_event),
29322         (gst_basesink_change_state):
29323         * gst/gstpad.h:
29324         Unlock STREAM_LOCK whatever the recursion was.
29325
29326 2005-06-25  Wim Taymans  <wim@fluendo.com>
29327
29328         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29329         (gst_basesink_preroll_queue_empty),
29330         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29331         (gst_basesink_event), (gst_basesink_do_sync),
29332         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29333         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29334         (gst_basesink_change_state):
29335         Reworked the base sink, handle event and buffer serialisation
29336         correctly and removed possible deadlock.
29337         Handle EOS correctly.
29338
29339 2005-06-25  Wim Taymans  <wim@fluendo.com>
29340
29341         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29342         (gst_pipeline_change_state):
29343         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29344         Allow elements to post EOS in the state change function.
29345         Fix up -launch, make it exit the poll loop when the
29346         pipeline actually changed state.
29347         Fix up warning parsing in -launch.
29348
29349 2005-06-25  Wim Taymans  <wim@fluendo.com>
29350
29351         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29352         (gst_tee_sink_activate):
29353         Core takes STREAM_LOCK for us now.
29354
29355 2005-06-25  Wim Taymans  <wim@fluendo.com>
29356
29357         * gst/gstelement.c: (gst_element_get_state_func),
29358         (gst_element_set_state):
29359         * gst/gstelement.h:
29360         * gst/gstmessage.c: (gst_message_parse_error),
29361         (gst_message_parse_warning):
29362         Keep track of current target state while performing a state
29363         change so that subclasses can do something interesting.
29364         Fix parsing of warning/error messages when GError is NULL.
29365
29366 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29367
29368         * docs/gst/Makefile.am:
29369         * docs/gst/gstreamer-docs.sgml:
29370         * docs/gst/gstreamer-sections.txt:
29371         * docs/gst/gstreamer.types:
29372         * docs/gst/tmpl/gstbasesink.sgml:
29373         * docs/gst/tmpl/gstbasesrc.sgml:
29374         * docs/gst/tmpl/gstbin.sgml:
29375         * docs/gst/tmpl/gstcompat.sgml:
29376         * docs/gst/tmpl/gstfakesink.sgml:
29377         * docs/gst/tmpl/gstfakesrc.sgml:
29378         * docs/gst/tmpl/gstfilesink.sgml:
29379         * docs/gst/tmpl/gstfilesrc.sgml:
29380         * docs/gst/tmpl/gstindex.sgml:
29381         * docs/manual/appendix-quotes.xml:
29382         * gst/base/gstbasesrc.h:
29383         * gst/elements/gstfakesrc.h:
29384         * gst/gstmessage.h:
29385           start pulling in base classes and elements in our docs
29386
29387 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29388
29389         * docs/gst/Makefile.am:
29390         * docs/libs/Makefile.am:
29391           fixed make distcheck with gtk-doc 1.3
29392
29393 2005-06-23  Wim Taymans  <wim@fluendo.com>
29394
29395         * gst/gstelement.c: (gst_element_get_state_func),
29396         (gst_element_set_state), (gst_element_change_state):
29397         When the state did not change, also report NO_PREROLL
29398         when it matters.
29399
29400 2005-06-23  Wim Taymans  <wim@fluendo.com>
29401
29402         * gst/gstpad.c: (gst_pad_event_default):
29403         * gst/gstqueue.c: (gst_queue_loop):
29404         No unsafe task pausing please.
29405
29406 2005-06-23  Wim Taymans  <wim@fluendo.com>
29407
29408         * gst/schedulers/threadscheduler.c:
29409         (gst_thread_scheduler_task_start),
29410         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29411         Ref the task before pushing it on the threadpool. This
29412         makes sure that we have a ref when the threadfunction is
29413         actually called.
29414
29415 2005-06-23  Andy Wingo  <wingo@pobox.com>
29416
29417         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29418         offset is greater than the file's size.
29419
29420         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29421         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29422         * gst/gstobject.c (gst_object_class_init): Make the class lock
29423         recursive. Wim won't let me drop deep_notify. Decodebin works
29424         again, whoopdy doo.
29425
29426         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29427         internal pad, and hacks accordingly. Doesn't do it on the target
29428         pad because we change its caps. Probably catches all cases of
29429         interest tho.
29430         (gst_ghost_pad_set_property): Connect to notify::caps as
29431         appropritate.
29432
29433         * tests/network-clock.scm (plot-simulation): Pipe data to the
29434         elite python skript.
29435
29436         * tests/network-clock-utils.scm (define-parameter): New macro,
29437         defines a parameter that can be set via the command line.
29438         (set-parameter!, parse-parameter-arguments): Command line args
29439         parser.
29440
29441         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29442         stdin.
29443
29444 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29445
29446         * gst/elements/gsttypefindelement.c:
29447         (gst_type_find_element_handle_event):
29448           Don't restart typefinding on a discont.
29449         * gst/gstelement.c: (gst_element_set_state):
29450           Debug spelling fix.
29451         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29452           Allow changing mode of an active pad.
29453           Debug output fixes.
29454         * gst/registries/gstlibxmlregistry.c: (load_feature):
29455           Don't cast a static pad template to a normal pad template.
29456
29457 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29458
29459         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29460         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29461           remove gst_strtoll completely, since it didn't actually do
29462           anything more than what g_ascii_strtoull already does.
29463           check for range errors when deserializing
29464           do a cast for the unsigned cases; but further fixing needs
29465           a decision on what the interpretation of "(int)" and
29466           deserialization should be for values that fall outside the
29467           type's boundaries (ie, refuse, or interpret as casting)
29468
29469 2005-06-23  Wim Taymans  <wim@fluendo.com>
29470
29471         * check/Makefile.am:
29472         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29473         * docs/design/part-live-source.txt:
29474         * docs/design/part-states.txt:
29475         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29476         (gst_basesrc_set_live), (gst_basesrc_is_live),
29477         (gst_basesrc_get_range), (gst_basesrc_activate),
29478         (gst_basesrc_change_state):
29479         * gst/base/gstbasesrc.h:
29480         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29481         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29482         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29483         * gst/gstelement.c: (gst_element_get_state_func),
29484         (gst_element_set_state):
29485         * gst/gstelement.h:
29486         * gst/gsttypes.h:
29487         * tools/gst-launch.c: (event_loop), (main):
29488         Added support for live sources and other elements that
29489         cannot do preroll.
29490         Updated design docs, added live-source design doc.
29491         Implemented live source functionality in basesrc
29492         Fix error condition in _bin_get_state()
29493         Implement live source handling in -launch.
29494         Added check for live sources.
29495         Fixed case in GstBin where elements were changed state
29496         multiple times.
29497
29498
29499 2005-06-23  Andy Wingo  <wingo@pobox.com>
29500
29501         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29502         borken refcounting.
29503
29504         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29505         gst_caps_replace takes care of this for us.
29506
29507         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29508         gst_pad_set_caps on the target, not just its setcaps() function.
29509
29510         * tests/network-clock.scm: 
29511         * tests/network-clock-utils.scm: A network clock simulator.
29512         Something of an algorithmic testbed before doing something in C.
29513
29514 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29515
29516         * check/Makefile.am:
29517         * check/gst/capslist.h:
29518           copy over from 0.8, and add two with bitmasks specified with
29519           (int) 0xFF...
29520         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29521           add test to parse everything from capslist.h
29522         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29523         (main):
29524           add test for structure deserialization
29525         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29526           add tests for deserialization of strings to int types
29527         * gst/gststructure.c: (gst_structure_nth_field_name):
29528         * gst/gststructure.h:
29529           add a way to get the name of a field referenced by index
29530         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29531           instead of checking if the resulting long long lies between
29532           min and max, we check if the long long would fit into
29533           a number of bytes for the final type.
29534           This fixes cases where a string represents 2^32 - 1, which
29535           when cast to int would be the (valid) -1, but is bigger than
29536           G_MAXINT
29537
29538 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29539
29540         * gst/parse/grammar.y:
29541           add a log line for type deserialization
29542
29543 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29544
29545         * check/gst/gstvalue.c: (START_TEST):
29546         * gst/gstvalue.c: (gst_value_deserialize):
29547           return long long, not int, so gint64 deserialization actually
29548           works.  Is there any flag that makes the compiler check this ?
29549           Fixes #308559
29550
29551 2005-06-22  Wim Taymans  <wim@fluendo.com>
29552
29553         * gst/gstbuffer.h:
29554         Added convenience macros for setting buffers in GValue.
29555
29556 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29557
29558         * check/gst/.cvsignore:
29559         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29560           add a test deserializing int64, and comment part out because
29561           it fails, yay !
29562
29563 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29564
29565         * check/Makefile.am:
29566         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29567         * testsuite/Makefile.am:
29568         * testsuite/caps/Makefile.am:
29569         * testsuite/caps/value_serialize.c:
29570         * testsuite/test_gst_init.c:
29571           move a value_serialize test over
29572
29573 2005-06-20  Wim Taymans  <wim@fluendo.com>
29574
29575         * gst/gstpad.c:
29576         Small doc updates.
29577         
29578         * gst/gstvalue.c: (gst_value_compare_buffer),
29579         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29580         (gst_value_compare_flags), (gst_value_serialize_flags),
29581         (gst_value_deserialize_flags), (_gst_value_initialize):
29582         Fix serialisation of buffers, they are not boxed types anymore
29583
29584 2005-06-20  Wim Taymans  <wim@fluendo.com>
29585
29586         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29587         Testcase to show error in buffer-on-caps serialisation.
29588
29589 2005-06-20  Andy Wingo  <wingo@pobox.com>
29590
29591         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29592         will be adding to later.
29593
29594         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29595         if its socks fill with rocks.
29596         (gst_system_clock_obtain): Set the name on object construction.
29597         Avoid double-checked locking.
29598
29599 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29600
29601         * gst/gsturi.c: (gst_element_make_from_uri):
29602           Fix potential endless loop.
29603
29604 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29605
29606         * check/Makefile.am:
29607           add gsttag
29608         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29609         (main):
29610           move over from testsuite dir and clean up
29611         * configure.ac:
29612         * gst/gsttag.c:
29613         * testsuite/Makefile.am:
29614         * testsuite/tags/.cvsignore:
29615         * testsuite/tags/Makefile.am:
29616         * testsuite/tags/merge.c:
29617           remove testsuite/tags
29618
29619 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29620
29621         * docs/gst/gstreamer-sections.txt:
29622         * docs/gst/tmpl/gstenumtypes.sgml:
29623         * win32/gstenumtypes.c:
29624           clean up documentation build a little
29625
29626 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29627
29628         * check/gstcheck.h:
29629           add macros for checking refcounts on objects and caps
29630         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29631           add some more unit tests
29632         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29633         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29634           fix leaked refcounts (I hope :)) so unittest works
29635         * gst/gstpad.h:
29636           whitespace removal
29637
29638 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29639
29640         * configure.ac: back to HEAD
29641
29642 === release 0.9.1 ===
29643
29644 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29645
29646         * NEWS:
29647         * RELEASE:
29648           updated
29649
29650 2005-06-17  Andy Wingo  <wingo@pobox.com>
29651
29652         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29653         assert; it's always possible that the pad gets deactivated in
29654         between the checks in gstpad.c and the implementation. Rely on
29655         finish_preroll() to return a FLUSHING or similar instead of on the
29656         assert.
29657         
29658         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29659         clock and post an EOS message if we come out of finish_preroll in
29660         the playing state.
29661
29662 2005-06-16  David Schleef  <ds@schleef.org>
29663
29664         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29665         (gst_capsfilter_set_property): Allow NULL as possible value
29666         for filter_caps property, indicating GST_CAPS_ANY.
29667
29668 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29669
29670         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29671           fix debug output
29672         * gst/schedulers/Makefile.am:
29673           use libgst prefix
29674         * gstreamer.spec.in:
29675           fix spec for it
29676
29677 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29678
29679         * gstreamer.spec.in:
29680           clean up
29681
29682 2005-06-08  Andy Wingo  <wingo@pobox.com>
29683
29684         * gst/gstutils.c: RPAD fixes all around.
29685         (gst_element_link_pads): Refcounting fixes.
29686
29687         * tools/gst-inspect.c:
29688         * tools/gst-xmlinspect.c:
29689         * parse/grammar.y:
29690         * gst/base/gsttypefindhelper.c:
29691         * gst/base/gstbasesink.c:
29692         * gst/gstqueue.c: RPAD fixes.
29693
29694         * gst/gstghostpad.h:
29695         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29696         pads. The tricky thing is they provide both source and sink
29697         interfaces, since they proxy the internal pad for the external
29698         pad, and vice versa. Implement with lower-level ProxyPad objects,
29699         with the interior proxy pad as a child of the exterior ghost pad.
29700         Should write a doc on this.
29701         
29702         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29703         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29704         gst_object API.
29705         
29706         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29707         pads are real pads. No ghost pads in this file. Not documenting
29708         the myriad s/RPAD/PAD/ and REALIZE fixes.
29709         (gst_pad_class_init): Add properties for "direction" and
29710         "template". Both are construct-only, so they can't change during
29711         the life of the pad. Fixes properly deriving from GstPad.
29712         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29713         derived objects, just set properties when creating the objects via
29714         g_object_new.
29715         (gst_pad_get_parent): Implement as a function, return NULL if the
29716         parent is not an element.
29717         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29718         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29719         
29720         * gst/gstobject.c (gst_object_class_init): Make name a construct
29721         property. Don't set it in the object init.
29722
29723         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29724         with UNKNOWN direction.
29725         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29726         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29727         (gst_element_remove_pad): Remove ghost-pad special cases.
29728         (gst_element_pads_activate): Remove rpad cruft.
29729
29730         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29731         catch the pad's-parent-not-an-element case.
29732
29733         * gst/gst.h: Include gstghostpad.h.
29734
29735         * gst/gst.c (init_post): No more real, ghost pads.
29736
29737         * gst/Makefile.am: Add gstghostpad.[ch].
29738
29739         * check/Makefile.am:
29740         * check/gst/gstbin.c:
29741         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29742         into a bin creates ghost pads, and that the refcounts are right.
29743         Partly moved from gstbin.c.
29744
29745 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29746
29747         * check/gst-libs/.cvsignore:
29748         * check/gst/.cvsignore:
29749         * check/pipelines/.cvsignore:
29750           ignore more
29751         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29752         (START_TEST), (cleanup_suite), (main):
29753           add some tests related to cleanup after running pipelines
29754
29755 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29756
29757         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29758           add a testsuite for GstBuffer
29759
29760 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29761
29762         * gst/gstminiobject.h:
29763           add defines for accessing the refcount
29764
29765 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29766
29767         * Makefile.am: added support for html unit test coverage reports
29768
29769 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29770
29771         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29772           Free existing caps if the capsfilter changes. Add a FIXME about
29773           setting those caps on the pads.
29774
29775         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29776           Before adding a ghost pad to a parent bin, check that there isn't
29777           already one for the element on the bin. Prevents infinite recursion
29778           when using decodebin in parse pipelines. Andy says he'll rewrite the
29779           way this works anyway, so ignore the hack.
29780
29781 2005-06-02  Andy Wingo  <wingo@pobox.com>
29782
29783         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29784         file size, pass it on to the type find helper.
29785
29786         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29787         segment_start and segment_end properly according to the seek
29788         method. Segment_end is still a bit flaky because offset can be
29789         negative for CUR and END cases, but it takes -1 as an "unset"
29790         value.
29791
29792 2005-06-02  Wim Taymans  <wim@fluendo.com>
29793
29794         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29795         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29796         (gst_basesink_activate):
29797         * gst/base/gstbasesink.h:
29798         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29799         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29800         (gst_pad_query), (gst_pad_start_task):
29801         * gst/gstpad.h:
29802         * gst/gstqueue.c: (gst_queue_bufferalloc),
29803         (gst_queue_handle_sink_event), (gst_queue_chain):
29804         Bufferalloc: return GstFlowReturn to more accuratly report
29805         why allocation failed.
29806
29807 2005-06-02  Wim Taymans  <wim@fluendo.com>
29808
29809         * gst/gstpipeline.c: (gst_pipeline_send_event):
29810         Take snapshot of state without blocking.
29811
29812 2005-06-02  Wim Taymans  <wim@fluendo.com>
29813
29814         * docs/design/part-TODO.txt:
29815         * docs/design/part-caps.txt:
29816         * docs/design/part-clocks.txt:
29817         * docs/design/part-negotiation.txt:
29818         * docs/design/part-preroll.txt:
29819         Small doc updates 
29820
29821 2005-05-30  Wim Taymans  <wim@fluendo.com>
29822
29823         * gst/elements/gstidentity.c: (gst_identity_event),
29824         (gst_identity_transform), (gst_identity_get_property):
29825         Protect last_message property as it is accessed from
29826         multiple threads.
29827
29828 2005-05-30  Wim Taymans  <wim@fluendo.com>
29829
29830         * gst/gstelement.c: (gst_element_init),
29831         (gst_element_pads_activate), (gst_element_change_state):
29832         Slicker pad activation code.
29833
29834 2005-05-30  Wim Taymans  <wim@fluendo.com>
29835
29836         * gst/Makefile.am:
29837         * gst/gstelement.h:
29838         * gst/gstelementfactory.h:
29839         * gst/gsttypes.h:
29840         Move elementfactory methods to separate .h file.
29841
29842 2005-05-30  Wim Taymans  <wim@fluendo.com>
29843
29844         * docs/design/part-overview.txt:
29845         * gst/gstsystemclock.h:
29846         Small typo fixes, doc updates.
29847
29848 2005-05-30  Wim Taymans  <wim@fluendo.com>
29849
29850         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29851         (init_popt_callback):
29852         Remove cpu-opt flag.
29853
29854 2005-05-30  Wim Taymans  <wim@fluendo.com>
29855
29856         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29857         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29858         * gst/gstbuffer.h:
29859         Avoid typechecking in places where not needed.
29860         Added accessor for malloc_data.
29861
29862 2005-05-30  Wim Taymans  <wim@fluendo.com>
29863
29864         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29865         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29866         (gst_pad_configure_sink), (gst_pad_configure_src),
29867         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29868         (gst_pad_start_task):
29869         Propagate errors from _set_caps() in configure_src/sink
29870         functions instead of returning TRUE.
29871         FLUSH events can travel up and downstream
29872
29873
29874 2005-05-30  Wim Taymans  <wim@fluendo.com>
29875
29876         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29877         (gst_basesink_activate):
29878         Handle EOS in preroll.
29879
29880 2005-05-30  Wim Taymans  <wim@fluendo.com>
29881
29882         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29883         (gst_queue_loop), (gst_queue_handle_src_event):
29884         Remove old pieces of code
29885         Flushing the queue in an upstream event is a very bad idea.
29886
29887 2005-05-26  Andy Wingo  <wingo@pobox.com>
29888
29889         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29890         gst_value_set_mini_object so as to add a ref on the object (which
29891         will be removed when the value is unset).
29892
29893         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29894         arg type in ::handoff.
29895
29896         * gst/gstelement.c (gst_element_change_state): Also deactivate
29897         pads in READY->NULL, just in case the element didn't make it to
29898         PAUSED. Wingo tested, Wim approved.
29899
29900 2005-05-26  Wim Taymans  <wim@fluendo.com>
29901
29902         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29903         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29904         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29905         A flushing pad cannot be used to alloc_buffer from.
29906
29907 2005-05-26  Wim Taymans  <wim@fluendo.com>
29908
29909         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29910         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29911         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29912         (gst_bus_create_watch), (gst_bus_add_watch_full):
29913         * gst/gstbus.h:
29914         Implement a real GSource and use g_main_context_wakeup() to
29915         signal new messages instead of the socketpair.
29916
29917 2005-05-25  Wim Taymans  <wim@fluendo.com>
29918
29919         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29920         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29921         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29922         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29923         (gst_pad_send_event), (gst_pad_start_task):
29924         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29925         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29926         (gst_queue_sink_activate), (gst_queue_src_activate),
29927         (gst_queue_change_state):
29928         * gst/gstqueue.h:
29929         Fix state changes for non sinks. We now change sinks, then elements
29930         with unconnected srcpads, then the rest.
29931         More efficient queue unlocking in flush and state changes.
29932         Set the pad activate mode even if it does not have an activate
29933         function.
29934
29935 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29936
29937         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29938           Don't go in pull mode for non-seekable sources.
29939         * gst/elements/gsttypefindelement.h:
29940         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29941         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29942         (free_entry), (stop_typefinding),
29943         (gst_type_find_element_handle_event), (find_peek),
29944         (gst_type_find_element_chain), (do_pull_typefind),
29945         (gst_type_find_element_change_state):
29946           Allow typefinding (w/o seeking) in push-mode, simplified version
29947           of what was in 0.8.
29948         * gst/gstutils.c: (gst_buffer_join):
29949         * gst/gstutils.h:
29950           gst_buffer_join() from 0.8.
29951
29952 2005-05-25  Wim Taymans  <wim@fluendo.com>
29953
29954         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29955         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29956         (gst_pad_send_event), (gst_pad_start_task):
29957         Disable attempt at mode switching until it is figured out.
29958
29959 2005-05-25  Wim Taymans  <wim@fluendo.com>
29960
29961         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29962         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29963         (gst_basesink_finish_preroll), (gst_basesink_chain),
29964         (gst_basesink_loop), (gst_basesink_activate),
29965         (gst_basesink_change_state):
29966         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29967         (gst_basesrc_get_range), (gst_basesrc_loop),
29968         (gst_basesrc_activate):
29969         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29970         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29971         (gst_real_pad_init), (gst_real_pad_set_property),
29972         (gst_real_pad_get_property), (gst_pad_set_active),
29973         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29974         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29975         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29976         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29977         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29978         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29979         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29980         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29981         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29982         (gst_pad_stop_task):
29983         * gst/gstpad.h:
29984         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29985         (gst_queue_loop), (gst_queue_src_activate):
29986         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29987         (gst_task_get_state):
29988         * gst/gsttask.h:
29989         * gst/schedulers/threadscheduler.c:
29990         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29991         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29992         in task function.
29993         Remove ACTIVE pad flag, use FLUSHING everywhere
29994         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29995         functions.
29996         Add locks around IS_FLUSHING when reading.
29997         Take STREAM lock in chain(), get_range() functions so plugins
29998         don't need to take it anymore.
29999         
30000
30001
30002 2005-05-25  Wim Taymans  <wim@fluendo.com>
30003
30004         * tools/gst-launch.c: (event_loop):
30005         Unref message after using its contents instead of
30006         before.
30007
30008 2005-05-24  Wim Taymans  <wim@fluendo.com>
30009
30010         * docs/design/draft-ghostpads.txt:
30011         * docs/design/draft-push-pull.txt:
30012         * docs/design/draft-query.txt:
30013         * docs/design/part-overview.txt:
30014         Docs updates, added general overview doc.
30015
30016 2005-05-21  David Schleef  <ds@schleef.org>
30017
30018         * docs/gst/tmpl/old/GstBin.sgml:
30019         * docs/gst/tmpl/old/GstBuffer.sgml:
30020         * docs/gst/tmpl/old/GstCaps.sgml:
30021         * docs/gst/tmpl/old/GstClock.sgml:
30022         * docs/gst/tmpl/old/GstCompat.sgml:
30023         * docs/gst/tmpl/old/GstData.sgml:
30024         * docs/gst/tmpl/old/GstElement.sgml:
30025         * docs/gst/tmpl/old/GstEvent.sgml:
30026         * docs/gst/tmpl/old/GstIndex.sgml:
30027         * docs/gst/tmpl/old/GstStructure.sgml:
30028         * docs/gst/tmpl/old/GstTag.sgml:
30029         * docs/gst/tmpl/old/cothreads.sgml:
30030         * docs/gst/tmpl/old/cothreads_compat.sgml:
30031         * docs/gst/tmpl/old/gettext.sgml:
30032         * docs/gst/tmpl/old/gobject2gtk.sgml:
30033         * docs/gst/tmpl/old/grammar.tab.sgml:
30034         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30035         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30036         * docs/gst/tmpl/old/gst_private.sgml:
30037         * docs/gst/tmpl/old/gstaggregator.sgml:
30038         * docs/gst/tmpl/old/gstarch.sgml:
30039         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30040         * docs/gst/tmpl/old/gstbufferstore.sgml:
30041         * docs/gst/tmpl/old/gstdata_private.sgml:
30042         * docs/gst/tmpl/old/gstdisksink.sgml:
30043         * docs/gst/tmpl/old/gstdisksrc.sgml:
30044         * docs/gst/tmpl/old/gstelementfactory.sgml:
30045         * docs/gst/tmpl/old/gstextratypes.sgml:
30046         * docs/gst/tmpl/old/gstfakesink.sgml:
30047         * docs/gst/tmpl/old/gstfakesrc.sgml:
30048         * docs/gst/tmpl/old/gstfdsink.sgml:
30049         * docs/gst/tmpl/old/gstfdsrc.sgml:
30050         * docs/gst/tmpl/old/gstfilesink.sgml:
30051         * docs/gst/tmpl/old/gstfilesrc.sgml:
30052         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30053         * docs/gst/tmpl/old/gstidentity.sgml:
30054         * docs/gst/tmpl/old/gstindexfactory.sgml:
30055         * docs/gst/tmpl/old/gstmarshal.sgml:
30056         * docs/gst/tmpl/old/gstmd5sink.sgml:
30057         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30058         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30059         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30060         * docs/gst/tmpl/old/gstpipefilter.sgml:
30061         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30062         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30063         * docs/gst/tmpl/old/gstshaper.sgml:
30064         * docs/gst/tmpl/old/gstspider.sgml:
30065         * docs/gst/tmpl/old/gstspideridentity.sgml:
30066         * docs/gst/tmpl/old/gststatistics.sgml:
30067         * docs/gst/tmpl/old/gsttee.sgml:
30068         * docs/gst/tmpl/old/gsttimecache.sgml:
30069         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30070         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30071         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30072         * docs/gst/tmpl/old/types.sgml:
30073           I didn't intend to add these or check them in.
30074
30075 2005-05-19  David Schleef  <ds@schleef.org>
30076
30077         * configure.ac: Use -no-common everywhere.  In a sane world, it
30078           would be the default in libtool, because without it, you can't
30079           build DLLs on Windows.
30080         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30081         * docs/gst/gstreamer-sections.txt:
30082         * docs/gst/tmpl/gstcpu.sgml:
30083         * docs/gst/tmpl/gstdata.sgml:
30084         * docs/gst/tmpl/gstthread.sgml:
30085
30086 2005-05-19  David Schleef  <ds@schleef.org>
30087
30088         * gst/gstminiobject.c: (gst_value_set_mini_object),
30089         (gst_value_take_mini_object), (gst_value_get_mini_object):
30090         * gst/gstminiobject.h: Add GValue set/get functions.
30091
30092 2005-05-19  Wim Taymans  <wim@fluendo.com>
30093
30094         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30095         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30096         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30097         * gst/gstbuffer.h:
30098         * gst/gstbus.c: (gst_bus_post):
30099         * gst/gstelement.c: (gst_element_get_random_pad):
30100         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30101         Make subbufer unref the parent in finalize.
30102         some more debugging info.
30103
30104
30105 2005-05-19  Wim Taymans  <wim@fluendo.com>
30106
30107         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30108         (gst_basesink_init), (gst_basesink_finalize),
30109         (gst_basesink_activate), (gst_basesink_change_state):
30110         Don't free preroll queue too early.
30111
30112 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30113
30114         * gst/Makefile.am:
30115         * gst/ROADMAP:
30116           Hi, I'm outdated. Please shoot me.
30117
30118 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30119
30120         * gst/gstpipeline.c: (gst_pipeline_send_event):
30121           Do not access variables after they have been deleted.
30122
30123 2005-05-19  Wim Taymans  <wim@fluendo.com>
30124
30125         * tools/gst-inspect.c: (print_plugin_features):
30126         A plugin feature does unfortunatly not use the
30127         object name yet...
30128
30129 2005-05-18  Wim Taymans  <wim@fluendo.com>
30130
30131         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30132         Port _span() functions to new subbuffers.
30133
30134 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30135
30136         * gst/gstbin.c: (gst_bin_add_func):
30137           Fix clock settery in bins when adding kids after the clock has
30138           been selected.
30139
30140 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30141
30142         * gst/elements/gstidentity.c: (gst_identity_class_init):
30143           Workaround until signals support GstMiniObject.
30144
30145 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30146
30147         * gst/gstbuffer.c:
30148         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30149
30150 2005-05-18  Wim Taymans  <wim@fluendo.com>
30151
30152         * gst/base/Makefile.am:
30153         * gst/base/gstadapter.c: (gst_adapter_base_init),
30154         (gst_adapter_class_init), (gst_adapter_init),
30155         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30156         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30157         (gst_adapter_flush), (gst_adapter_available),
30158         (gst_adapter_available_fast):
30159         * gst/base/gstadapter.h:
30160         Ported and added adapter to the base classes.
30161
30162 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30163
30164         * gst/gst.c:
30165         * gst/gstmessage.c:
30166           Make sure the class is reffed/unreffed once before threads can be
30167           used.  Fixes #304551.
30168
30169 2005-05-17  Wim Taymans  <wim@fluendo.com>
30170
30171         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30172         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30173         * gst/gstminiobject.c: (gst_mini_object_get_type),
30174         (gst_mini_object_free):
30175         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30176         (gst_pad_push), (gst_pad_push_event):
30177         * gst/gstqueue.c: (gst_queue_change_state):
30178         Don't queue buffers in basesink when we are flushing.
30179         Unref buffer when flushing in basesink.
30180         Flush queue when going to READY
30181         Unref buffer when _push() returns an error.
30182         Don't free MiniObject instance when refcount is incremented
30183         in _finalize() so that we can recover objects.
30184
30185 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30186
30187         * docs/manual/advanced-schedulers.xml:
30188         * docs/manual/appendix-checklist.xml:
30189         * docs/pwg/advanced-clock.xml:
30190         * docs/pwg/advanced-interfaces.xml:
30191         * docs/pwg/advanced-request.xml:
30192         * docs/pwg/advanced-types.xml:
30193         * docs/pwg/intro-preface.xml:
30194         * examples/plugins/example.c: (gst_example_get_type),
30195         (gst_example_class_init), (gst_example_chain),
30196         (gst_example_set_property), (gst_example_get_property),
30197         (gst_example_change_state), (plugin_init):
30198         * examples/plugins/example.h:
30199           small doc fixes
30200
30201 2005-05-17  Wim Taymans  <wim@fluendo.com>
30202
30203         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30204         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30205         * gst/gstqueue.c: (gst_queue_change_state):
30206         Clear queue when going to READY.
30207         Remove IN_SETCAPS flag too.
30208
30209 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30210
30211         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30212           Remove implicit cast from gboolean to GstElementStateReturn;
30213           make sure we still return failure in paused => ready case if
30214           the parent class fails to change state and our own stop 
30215           vfunc succeeds.
30216
30217 2005-05-17  Wim Taymans  <wim@fluendo.com>
30218
30219         * tools/gst-launch.c: (event_loop):
30220         Message was unreffed too soon.
30221
30222 2005-05-16  Andy Wingo  <wingo@pobox.com>
30223
30224         * gst/gstbin.c (sink_iterator_filter): Err... um...
30225
30226         * check/gst/gstbin.c (test_ghost_pads): New test for the
30227         ghosting-if-elements-not-in-same-bin behavior.
30228
30229 2005-05-16  David Schleef  <ds@schleef.org>
30230
30231         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30232         accessing refcount directly.
30233
30234 2005-05-15  David Schleef  <ds@schleef.org>
30235
30236         * check/Makefile.am: remove GstData checks
30237         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30238         * gst/Makefile.am: add miniobject, remove data
30239         * gst/gst.h: add miniobject, remove data
30240         * gst/gstdata.c: remove
30241         * gst/gstdata.h: remove
30242         * gst/gstdata_private.h: remove
30243         * gst/gsttypes.h: remove GstEvent and GstMessage
30244         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30245         * gst/gstmarshal.list: change BOXED -> OBJECT
30246
30247         Implement GstMiniObject.
30248         * gst/gstminiobject.c:
30249         * gst/gstminiobject.h:
30250
30251         Modify to be subclasses of GstMiniObject.
30252         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30253         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30254         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30255         (gst_subbuffer_get_type), (gst_subbuffer_init),
30256         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30257         (gst_buffer_span):
30258         * gst/gstbuffer.h:
30259         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30260         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30261         (_gst_event_copy), (gst_event_new):
30262         * gst/gstevent.h:
30263         * gst/gstmessage.c: (_gst_message_initialize),
30264         (gst_message_get_type), (gst_message_class_init),
30265         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30266         (gst_message_new), (gst_message_new_error),
30267         (gst_message_new_warning), (gst_message_new_tag),
30268         (gst_message_new_state_changed), (gst_message_new_application):
30269         * gst/gstmessage.h:
30270         * gst/gstprobe.c: (gst_probe_perform),
30271         (gst_probe_dispatcher_dispatch):
30272         * gst/gstprobe.h:
30273         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30274         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30275         (_gst_query_copy), (gst_query_new):
30276
30277         Update elements for GstData -> GstMiniObject changes
30278         * gst/gstquery.h:
30279         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30280         (gst_queue_chain), (gst_queue_loop):
30281         * gst/elements/gstbufferstore.c:
30282         (gst_buffer_store_add_buffer_func),
30283         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30284         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30285         (gst_fakesink_render):
30286         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30287         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30288         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30289         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30290         (gst_filesrc_create_read):
30291         * gst/elements/gstidentity.c: (gst_identity_class_init):
30292         * gst/elements/gsttypefindelement.c:
30293         (gst_type_find_element_src_event), (free_entry_buffers),
30294         (gst_type_find_element_handle_event):
30295         * libs/gst/dataprotocol/dataprotocol.c:
30296         (gst_dp_header_from_buffer):
30297         * libs/gst/dataprotocol/dataprotocol.h:
30298         * libs/gst/dataprotocol/dp-private.h:
30299
30300 2005-05-15  David Schleef  <ds@schleef.org>
30301
30302         * gst/elements/gstelements.c: Don't include headers that were
30303         just removed.
30304
30305 2005-05-15  David Schleef  <ds@schleef.org>
30306
30307         * gst/elements/Makefile.am: Remove some elements that don't
30308         need to be in the core (or even exist at all).
30309         * gst/elements/gstaggregator.c:
30310         * gst/elements/gstaggregator.h:
30311         * gst/elements/gstmd5sink.c:
30312         * gst/elements/gstmd5sink.h:
30313         * gst/elements/gstmultifilesrc.c:
30314         * gst/elements/gstmultifilesrc.h:
30315         * gst/elements/gstpipefilter.c:
30316         * gst/elements/gstpipefilter.h:
30317         * gst/elements/gstshaper.c:
30318         * gst/elements/gstshaper.h:
30319         * gst/elements/gststatistics.c:
30320         * gst/elements/gststatistics.h:
30321         * po/POTFILES.in: Remove above files.
30322
30323 2005-05-14  Andy Wingo  <wingo@pobox.com>
30324
30325         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30326         so as to get the refs right.
30327         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30328         unreffing objects that don't pass the filter.
30329
30330         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30331         gst_element_set_bus.
30332         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30333         normal cases, this will destroy the bus.
30334
30335         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30336         object.
30337
30338         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30339         has no sinks.
30340
30341 2005-05-13  Andy Wingo  <wingo@pobox.com>
30342
30343         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30344         gst_pad_link, call pad_link_maybe_ghosting,
30345         (pad_link_maybe_ghosting): Links pads, making sure that the
30346         elements being linked are in the same bin.
30347         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30348         Helpers for pad_link_maybe_ghosting.
30349
30350 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30351
30352         * configure.ac:
30353           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30354
30355 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30356
30357         * docs/design/part-element-source.txt:
30358           Mention GstPushSrc
30359
30360 2005-05-12  Wim Taymans  <wim@fluendo.com>
30361
30362         * gst/base/gstbasesink.c: (gst_basesink_init),
30363         (gst_basesink_activate):
30364         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30365         (gst_basesrc_is_seekable):
30366         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30367         (bin_element_is_sink), (gst_bin_change_state):
30368         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30369         * gst/gstelement.h:
30370         Identify sinks by their flag to avoid overly complicated
30371         checks (fow now).
30372         Do state changes even for elements not reachable from the
30373         sinks.
30374         BaseSink is a sink now :)
30375         Some more debugging info in the basesrc.
30376
30377
30378 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30379
30380         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30381           Implement _query on a bin, similar to _send_event.
30382
30383 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30384
30385         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30386           Discont event offset format should be GST_FORMAT_BYTES,
30387           not GST_FORMAT_TIME.
30388
30389 2005-05-12  Wim Taymans  <wim@fluendo.com>
30390
30391         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30392         Same fix as Ronald's but without the signal. 
30393
30394 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30395
30396         * gst/gstutils.c: (gst_element_query_position):
30397           No, an element is not a pad.
30398
30399 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30400
30401         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30402         (gst_bin_get_state):
30403           If a child is removed from a bin while we remove the child from
30404           the bin and while we're retrieving its state, signal this to the
30405           get_state function so we abort the wait (instead of waiting for
30406           a timeout) and can immediately re-iterate over all other elements.
30407
30408 2005-05-12  Wim Taymans  <wim@fluendo.com>
30409
30410         * gst/base/Makefile.am:
30411         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30412         (gst_basesrc_start):
30413         * gst/base/gstbasesrc.h:
30414         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30415         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30416         (gst_pushsrc_init), (gst_pushsrc_create):
30417         * gst/base/gstpushsrc.h:
30418         Added is_seekable to BaseSrc
30419         Added simple PushSrc.
30420
30421 2005-05-11  Wim Taymans  <wim@fluendo.com>
30422
30423         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30424         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30425         (gst_element_link_pads), (gst_element_query_position),
30426         (gst_element_query_convert), (intersect_caps_func),
30427         (gst_pad_query_position), (gst_pad_query_convert):
30428         Fix refcounting in utils function.
30429         No point in trying to activate a pad when it's added, it could
30430         be added from the state change function and then we deadlock, the
30431         element has to decide what to do.
30432
30433 2005-05-10  Andy Wingo  <wingo@pobox.com>
30434
30435         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30436         *all* the arguments.
30437
30438         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30439         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30440         lock (according to the docs -- if this is wrong change the docs).
30441
30442         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30443         flush messages in the NULL state.
30444
30445         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30446         message immediately and return.
30447         (gst_bus_set_flushing): New function. If a bus is flushing, it
30448         flushes out any queued messages and immediately unrefs new
30449         messages. This is so when an element goes to NULL, all of the
30450         unhandled messages coming from it can be freed, and their
30451         references to the element dropped. In other words: message source
30452         ref considered harmful :P
30453
30454         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30455         we're finished with it.
30456
30457         * gst/gstmessage.c (gst_message_new_state_changed): 
30458
30459 2005-05-10  Wim Taymans  <wim@fluendo.com>
30460
30461         * gst/gstvalue.c: (gst_value_compare_flags),
30462         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30463         (_gst_value_initialize):
30464         Added flags serialize/deserialize/compare code.
30465
30466 2005-05-09  Andy Wingo  <wingo@pobox.com>
30467
30468         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30469         Intersect the peer's caps with our caps.
30470
30471 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30472
30473         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30474         * gst/elements/gsttypefindelement.c: (find_peek):
30475           Handle negative offsets better. Fixes decodebin.
30476
30477 2005-05-09  Wim Taymans  <wim@fluendo.com>
30478
30479         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30480         (gst_base_transform_event):
30481         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30482         Implement accept_caps.
30483         Fix silly lock/unlock mismatch in base class.
30484
30485 2005-05-09  Wim Taymans  <wim@fluendo.com>
30486
30487         * docs/design/draft-push-pull.txt:
30488         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30489         * gst/elements/gstfilesink.c: (gst_filesink_init),
30490         (gst_filesink_query):
30491         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30492         (gst_type_find_handle_src_query), (find_element_get_length):
30493         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30494         * gst/gstelement.h:
30495         * gst/gstmessage.c:
30496         * gst/gstmessage.h:
30497         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30498         (gst_real_pad_get_caps_unlocked),
30499         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30500         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30501         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30502         (gst_real_pad_dispose), (gst_real_pad_finalize),
30503         (gst_pad_load_and_link), (gst_pad_save_thyself),
30504         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30505         (gst_pad_check_pull_range), (gst_pad_pull_range),
30506         (gst_pad_template_get_type), (gst_pad_template_class_init),
30507         (gst_pad_template_init), (gst_pad_template_dispose),
30508         (name_is_valid), (gst_static_pad_template_get),
30509         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30510         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30511         (gst_pad_get_element_private), (gst_pad_start_task),
30512         (gst_pad_pause_task), (gst_pad_stop_task),
30513         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30514         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30515         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30516         (gst_ghost_pad_new):
30517         * gst/gstpad.h:
30518         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30519         (gst_query_new_position), (gst_query_set_position),
30520         (gst_query_parse_position), (gst_query_new_convert),
30521         (gst_query_set_convert), (gst_query_parse_convert):
30522         * gst/gstquery.h:
30523         * gst/gstqueryutils.c:
30524         * gst/gstqueryutils.h:
30525         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30526         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30527         (gst_queue_handle_src_query):
30528         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30529         (gst_element_query_position), (gst_element_query_convert),
30530         (intersect_caps_func), (gst_pad_query_position),
30531         (gst_pad_query_convert):
30532         * gst/gstutils.h:
30533         * tools/gst-inspect.c: (print_pad_info):
30534         * tools/gst-xmlinspect.c: (print_element_info):
30535         Remove old query functions. Ported old code.
30536         Added position/convert helper functions to gstutils.
30537         Reordered gstpad.c code, grouping relevant things.
30538         Remove gst_message_new(), always need to speficy a specific
30539         message.
30540
30541
30542 2005-05-09  Andy Wingo  <wingo@pobox.com>
30543
30544         * gst/gstiterator.h: Add some includes.
30545
30546         * gst/gstqueryutils.h: Include more headers.
30547
30548         * gst/gstpad.h:
30549         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30550         some uses of gst_pad_query.
30551
30552         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30553         NULL out parameters.
30554         (gst_query_new_position): New proc, allocates a new position
30555         query.
30556
30557         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30558         gstqueryutils.c to the build.
30559
30560         * gst/gststructure.c (gst_structure_set_valist): Implement with
30561         the generic G_VALUE_COLLECT.
30562         
30563 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30564
30565         * gst/Makefile.am: (gst_headers):
30566         Added gstqueryutils.h to the list of headers to install, that was
30567         a 'nachty' move wingo :)
30568
30569 2005-05-06  Andy Wingo  <wingo@pobox.com>
30570
30571         * gst/gstquery.h
30572         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30573         GstData, init a memchunk.
30574         (standard_definitions): Add a few query types, deprecate a few.
30575         (gst_query_get_type): New proc.
30576         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30577         implementation.
30578         (gst_query_new_application, gst_query_get_structure): New public
30579         procs.
30580
30581         * docs/design/draft-query.txt: Removed LINKS from the query types,
30582         because all the rest can be dispatched to other pads -- seemed
30583         ugly to have a query that couldn't be dispatched. internal_links
30584         is fine as a pad method.
30585
30586         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30587         in gstpad.c, but maintain binary compatibility for the moment.
30588         Will fix before 0.9 is out.
30589
30590         * gst/gstqueryutils.c: 
30591         * gst/gstqueryutils.h: New files, implement 3 methods for each
30592         query type: parse_query, parse_response, and set. Probably need an
30593         allocator as well.
30594
30595         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30596
30597         * gst/elements/gstfilesink.c (gst_filesink_query2):
30598         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30599         query_types, and formats methods.
30600
30601         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30602         (gst_pad_set_query2_function): New functions.
30603         (gst_real_pad_init): Set query2_default as the default query2
30604         function. Basically just dispatches to internally linked pads.
30605
30606         Needs review!
30607         
30608         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30609         without using the atomic operations. Only one thread can possibly
30610         be accessing the data at this point. Changed so as to avoid
30611         gst_atomic operations.
30612
30613 2005-05-06  Wim Taymans  <wim@fluendo.com>
30614
30615         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30616         Also set caps if we use the fallback buffer alloc.
30617
30618 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30619
30620         * docs/gst/Makefile.am:
30621         * docs/gst/gstreamer-docs.sgml:
30622         * docs/gst/gstreamer-sections.txt:
30623         * docs/gst/tmpl/gstatomic.sgml:
30624         * docs/gst/tmpl/gstmemchunk.sgml:
30625         * testsuite/elements/struct_i386.h:
30626         * win32/GStreamer.vcproj:
30627         * win32/Makefile:
30628           Purge GstAtomic stuff from docs and win32 makefiles as well
30629
30630 2005-05-06  Wim Taymans  <wim@fluendo.com>
30631
30632         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30633         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30634         * gst/gstpad.c: (gst_pad_peer_get_caps):
30635         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30636         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30637         (gst_queue_src_activate), (gst_queue_change_state):
30638         * gst/gstqueue.h:
30639         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30640         (intersect_caps_func):
30641         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30642         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30643         Some fixes for the peer_get_caps() change.
30644
30645 2005-05-06  Wim Taymans  <wim@fluendo.com>
30646
30647         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30648         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30649         (gst_basesink_activate):
30650         Actually do something with error codes returned from the push
30651         functions.
30652
30653 2005-05-06  Wim Taymans  <wim@fluendo.com>
30654
30655         * docs/design/part-element-sink.txt:
30656         * docs/design/part-element-source.txt:
30657         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30658         (gst_basesink_event), (gst_basesink_activate):
30659         * gst/base/gstbasesink.h:
30660         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30661         (gst_basesrc_activate):
30662         * gst/base/gstbasesrc.h:
30663         * gst/gstelement.c: (gst_element_pads_activate):
30664         Some more documentation.
30665         Fixed scheduling decision in _pads_activate().
30666
30667 2005-05-05  Andy Wingo  <wingo@pobox.com>
30668
30669         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30670         the test suite.
30671
30672 2005-05-05  Wim Taymans  <wim@fluendo.com>
30673
30674         * gst/base/Makefile.am:
30675         * gst/base/gstbasesink.h:
30676         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30677         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30678         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30679         (gst_collectpads_class_init), (gst_collectpads_init),
30680         (gst_collectpads_finalize), (gst_collectpads_new),
30681         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30682         (find_pad), (gst_collectpads_remove_pad),
30683         (gst_collectpads_is_active), (gst_collectpads_collect),
30684         (gst_collectpads_collect_range), (gst_collectpads_start),
30685         (gst_collectpads_stop), (gst_collectpads_peek),
30686         (gst_collectpads_pop), (gst_collectpads_available),
30687         (gst_collectpads_read), (gst_collectpads_flush),
30688         (gst_collectpads_chain):
30689         * gst/base/gstcollectpads.h:
30690         * gst/elements/Makefile.am:
30691         * gst/elements/gstelements.c:
30692         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30693         (gst_fakesink_get_times), (gst_fakesink_event),
30694         (gst_fakesink_preroll), (gst_fakesink_render):
30695         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30696         (gst_filesink_init), (gst_filesink_set_location),
30697         (gst_filesink_open_file), (gst_filesink_close_file),
30698         (gst_filesink_pad_query), (gst_filesink_event),
30699         (gst_filesink_render), (gst_filesink_change_state):
30700         * gst/elements/gstfilesink.h:
30701         Added object to help in making collect pad based elements.
30702         Ported filesink.
30703         Make event function in sink baseclass return gboolean.
30704
30705 2005-05-05  Wim Taymans  <wim@fluendo.com>
30706
30707         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30708         (gst_bin_get_by_name):
30709         * gst/gstbuffer.h:
30710         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30711         (gst_clock_finalize):
30712         * gst/gstdata.c: (gst_data_replace):
30713         * gst/gstdata.h:
30714         * gst/gstelement.c: (gst_element_request_pad),
30715         (gst_element_pads_activate):
30716         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30717         (gst_object_unref):
30718         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30719         (gst_pad_set_checkgetrange_function),
30720         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30721         (gst_pad_check_pull_range), (gst_pad_pull_range),
30722         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30723         (gst_pad_pause_task), (gst_pad_stop_task):
30724         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30725         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30726         Fix name lookup in GstBin.
30727         Added _data_replace() function and _buffer_replace()
30728         Use finalize method to clean up clock.
30729         Fix refcounting on request pads.
30730         Fix pad schedule mode error.
30731         Some more object refcounting debug info,
30732
30733
30734 2005-05-04  Andy Wingo <wingo@pobox.com>
30735
30736         * check/Makefile.am:
30737         * docs/gst/tmpl/gstatomic.sgml:
30738         * docs/gst/tmpl/gstplugin.sgml:
30739         * gst/base/gstbasesink.c: (gst_basesink_activate):
30740         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30741         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30742         (gst_basesrc_query), (gst_basesrc_set_property),
30743         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30744         (gst_basesrc_activate):
30745         * gst/base/gstbasesrc.h:
30746         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30747         (gst_base_transform_src_activate):
30748         * gst/elements/gstelements.c:
30749         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30750         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30751         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30752         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30753         (gst_type_find_element_checkgetrange),
30754         (gst_type_find_element_activate):
30755         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30756         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30757         (gst_caps_load_thyself):
30758         * gst/gstelement.c: (gst_element_pads_activate),
30759         (gst_element_save_thyself), (gst_element_restore_thyself):
30760         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30761         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30762         * gst/gstpad.h:
30763         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30764         (gst_xml_parse_file), (gst_xml_parse_memory),
30765         (gst_xml_get_element), (gst_xml_make_element):
30766         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30767         (_file_index_id_save_xml), (gst_file_index_commit):
30768         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30769         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30770         (load_paths):
30771         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30772         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30773         * tools/gst-complete.c: (main):
30774         * tools/gst-compprep.c: (main):
30775         * tools/gst-inspect.c: (print_element_properties_info):
30776         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30777         * tools/gst-xmlinspect.c: (print_element_properties):
30778         GCC 4 fixen.
30779         
30780 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30781
30782         * gst/gstplugin.c: (gst_plugin_check_module),
30783         (gst_plugin_check_file), (gst_plugin_load_file):
30784             apply patch from #172526 to make register work on MacOSX
30785
30786 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30787
30788         * docs/gst/tmpl/gstconfig.sgml:
30789         * gst/gstconfig.h.in:
30790           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30791         * testsuite/debug/printf_extension.c: (main):
30792           Do not use GST_PTR_FORMAT on pointers to types with
30793           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30794         * testsuite/elements/property.h:
30795           use correct printf format
30796
30797 2005-05-02  Wim Taymans  <wim@fluendo.com>
30798
30799         * docs/design/draft-push-pull.txt:
30800         * docs/design/draft-query.txt:
30801         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30802         (gst_basesrc_start):
30803         Added draft for new query API.
30804         Added draft for better selecting scheduling methods.
30805         Make basesrc ignore length if the subclass does not support
30806         it.
30807
30808 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30809
30810         * gst/Makefile.am:
30811           possible fixes for automake-1.5 - _LIBADD is reserved
30812
30813 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30814
30815         * docs/faq/Makefile.am:
30816         * docs/manual/Makefile.am:
30817         * docs/manuals.mak:
30818         * docs/pwg/Makefile.am:
30819         * gst/Makefile.am:
30820           possible fixes for automake-1.5
30821
30822 2005-04-28  Wim Taymans  <wim@fluendo.com>
30823
30824         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30825         (gst_basesink_pad_getcaps), (gst_basesink_init),
30826         (gst_basesink_do_sync):
30827         * gst/gstclock.c: (gst_clock_entry_new):
30828         * gst/gstevent.c: (gst_event_discont_get_value):
30829         * gst/gstpipeline.c: (pipeline_bus_handler),
30830         (gst_pipeline_change_state):
30831         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30832         Better debugging of clocking info.
30833         Allow NULL values when getting discont values.
30834
30835 2005-04-27  Wim Taymans  <wim@fluendo.com>
30836
30837         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30838         * check/gst/gstpad.c: (gst_pad_suite):
30839         Increase timeout for checks.
30840
30841 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30842
30843         * check/Makefile.am:
30844           fix the broken rule for cleanup.  Apparently this rule is
30845           only needed on FC2, so maybe this warrants further autotool
30846           inspection.
30847
30848 2005-04-26  Wim Taymans  <wim@fluendo.com>
30849
30850         * gst/gsttrashstack.h:
30851         Ooohh. a nasty one! After having a failed pop() from the stack,
30852         it's possible that the stack is empty. In that case, don't
30853         follow the NULL pointer.
30854
30855 2005-04-25  Wim Taymans  <wim@fluendo.com>
30856
30857         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30858         (gst_pad_set_checkgetrange_function),
30859         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30860         (gst_pad_check_pull_range), (gst_pad_pull_range),
30861         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30862         (gst_pad_pause_task), (gst_pad_stop_task):
30863         * gst/gstplugin.c: (gst_plugin_load):
30864         * gst/gstplugin.h:
30865         Remove gst_library_load as it does more harm than good with
30866         the new g_module flags.
30867         Revert bogus caps template check in pad linking, pad caps
30868         are important when linking not the template, which is more
30869         general than the current caps.
30870
30871 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30872
30873         * gst/autoplug/.cvsignore:
30874         * gst/autoplug/Makefile.am:
30875         * gst/autoplug/gstsearchfuncs.c:
30876         * gst/autoplug/gstsearchfuncs.h:
30877         * gst/autoplug/gstspider.c:
30878         * gst/autoplug/gstspider.h:
30879         * gst/autoplug/gstspideridentity.c:
30880         * gst/autoplug/gstspideridentity.h:
30881         * gst/autoplug/spidertest.c:
30882           Die, spider, die.
30883
30884 2005-04-25  Wim Taymans  <wim@fluendo.com>
30885
30886         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30887         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30888         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30889         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30890         * gst/gstpad.h:
30891         Added stubs for unimplemented functions. 
30892
30893 2005-04-24  David Schleef  <ds@schleef.org>
30894
30895         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30896         please fix.
30897
30898 2005-04-24  David Schleef  <ds@schleef.org>
30899
30900         Convert everything from GstAtomicInt to g_atomic_int_*, and
30901         remove gstatomic.
30902         * gst/Makefile.am:
30903         * gst/gstatomic.c:
30904         * gst/gstatomic.h:
30905         * gst/gstatomic_impl.h:
30906         * gst/gstbuffer.c:
30907         * gst/gstcaps.c:
30908         * gst/gstcaps.h:
30909         * gst/gstclock.c:
30910         * gst/gstclock.h:
30911         * gst/gstdata.c:
30912         * gst/gstdata.h:
30913         * gst/gstdata_private.h:
30914         * gst/gstevent.c:
30915         * gst/gstinfo.c:
30916         * gst/gstinfo.h:
30917         * gst/gstmessage.c:
30918         * gst/gstobject.c:
30919         * gst/gstobject.h:
30920         * gst/gststructure.c:
30921         * gst/gststructure.h:
30922         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30923         * gst/gstutils.h:
30924
30925 2005-04-24  David Schleef  <ds@schleef.org>
30926
30927         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30928         make the regressions tests work.  Remove some code that is no
30929         longer true.
30930         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30931         Disable warning for pads without templates.
30932
30933 2005-04-24  David Schleef  <ds@schleef.org>
30934
30935         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30936         functions that handle filtered links.
30937         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30938         removed functions.
30939         * gst/gstutils.c: Fix/remove utility functions that handle
30940         filtered caps.
30941         * gst/gstutils.h:
30942         * gst/gstvalue.c: Add serialization/deserialization of caps
30943         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30944         requires fixing so that the filter caps notation creates
30945         a capsfilter element and sets the filter_caps property.  I
30946         think everyone probably wants to keep the shorthand notation.
30947         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30948         * docs/gst/tmpl/gstpad.sgml:
30949
30950         * gst/elements/gstelements.c: Register capsfilter element.
30951         * gst/Makefile.am: fix spacing
30952         * docs/random/ds/0.9-suggested-changes: random
30953
30954 2005-04-23  David Schleef  <ds@schleef.org>
30955
30956         * gst/elements/Makefile.am:
30957         * gst/elements/gstcapsfilter.c: New element that acts like an
30958         identity, but filters caps.  Will eventually replace filtered
30959         caps in pad linking.
30960         * gst/gstutils.c: (gst_element_create_all_pads): New function
30961         to create all the ALWAYS pads that are registered with an
30962         element class.  This functionality should eventually be
30963         merged in with GstElement initialization.
30964         * gst/gstutils.h:
30965         * testsuite/trigger/README: part of trigger test code that should
30966         have been checked in a long time ago.
30967
30968 2005-04-23  David Schleef  <ds@schleef.org>
30969
30970         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30971         needed with new versions of libtool (nobody will confirm this),
30972         and hard to carry around.
30973         * gst/autoplug/Makefile.am:
30974         * gst/base/Makefile.am:
30975         * gst/elements/Makefile.am:
30976         * gst/indexers/Makefile.am:
30977         * gst/schedulers/Makefile.am:
30978         * libs/gst/bytestream/Makefile.am:
30979         * libs/gst/control/Makefile.am:
30980         * libs/gst/dataprotocol/Makefile.am:
30981         * libs/gst/getbits/Makefile.am:
30982
30983 2005-04-21  Wim Taymans  <wim@fluendo.com>
30984
30985         * docs/design/draft-push-pull.txt:
30986         * docs/design/part-MT-refcounting.txt:
30987         * docs/design/part-TODO.txt:
30988         * docs/design/part-caps.txt:
30989         * docs/design/part-events.txt:
30990         * docs/design/part-gstbus.txt:
30991         * docs/design/part-gstpipeline.txt:
30992         * docs/design/part-messages.txt:
30993         * docs/design/part-push-pull.txt:
30994         * docs/design/part-query.txt:
30995         Some more docs.
30996
30997 2005-04-21  Wim Taymans  <wim@fluendo.com>
30998
30999         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31000         (gst_message_new), (gst_message_new_error),
31001         (gst_message_new_warning), (gst_message_new_tag),
31002         (gst_message_new_state_changed), (gst_message_new_application),
31003         (gst_message_get_structure):
31004         * gst/gstmessage.h:
31005         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31006         (gst_structure_copy_conditional):
31007         Use parent refcount in GstMessage to ensure GstStructure
31008         consistency.
31009         Cleaned up headers a bit.
31010         
31011
31012 2005-04-20  Wim Taymans  <wim@fluendo.com>
31013
31014         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31015         (gst_basesink_pad_getcaps), (gst_basesink_init),
31016         (gst_basesink_chain_unlocked):
31017         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31018         (gst_type_find_helper):
31019         * gst/elements/gsttypefindelement.c:
31020         (gst_type_find_element_have_type), (gst_type_find_element_init),
31021         (stop_typefinding), (gst_type_find_element_handle_event),
31022         (find_suggest), (gst_type_find_element_chain),
31023         (gst_type_find_element_checkgetrange),
31024         (gst_type_find_element_getrange), (do_typefind),
31025         (gst_type_find_element_activate):
31026         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31027         (gst_buffer_default_free), (gst_buffer_default_copy),
31028         (gst_buffer_set_caps):
31029         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31030         (gst_caps_replace):
31031         * gst/gstmessage.c: (gst_message_new),
31032         (gst_message_new_state_changed):
31033         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31034         (gst_pad_set_checkgetrange_function),
31035         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31036         (gst_pad_set_caps), (gst_pad_check_pull_range),
31037         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31038         * gst/gstpad.h:
31039         * gst/gsttypefind.c: (gst_type_find_register):
31040         Make gst_caps_replace() work like other _replace() functions.
31041         Use _caps_replace() where possible.
31042         Make sure _message_new() initialises its field.
31043         Add gst_static_pad_template_get_caps()
31044
31045
31046 2005-04-18  Andy Wingo  <wingo@pobox.com>
31047
31048         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31049         on the peer, not the pad. I think that was a typo. Pass an extra
31050         arg to see if random access is possible. Activate the pads as
31051         PULL_RANGE if possible.
31052
31053         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31054
31055         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31056         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31057         to PROP_....
31058
31059 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31060
31061         * docs/faq/using.xml:
31062           Add note on gstreamer-properties (#154996).
31063
31064 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31065
31066         * docs/random/bbb/optional-properties:
31067           Some analysis on optional properties.
31068
31069 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31070
31071         * docs/gst/tmpl/gstelementfactory.sgml:
31072         * gst/gstelement.h:
31073         * gst/gstelementfactory.c: (gst_element_factory_init),
31074         (gst_element_factory_cleanup), (gst_element_register),
31075         (__gst_element_factory_add_static_pad_template),
31076         (gst_element_factory_get_static_pad_templates),
31077         (gst_element_factory_can_src_caps),
31078         (gst_element_factory_can_sink_caps):
31079         * gst/registries/Makefile.am:
31080         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31081         (gst_xml_registry_class_init), (gst_xml_registry_init),
31082         (gst_xml_registry_new), (gst_xml_registry_set_property),
31083         (gst_xml_registry_get_property), (get_time), (make_dir),
31084         (gst_xml_registry_get_perms_func),
31085         (plugin_times_older_than_recurse), (plugin_times_older_than),
31086         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31087         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31088         (add_to_char_array), (read_string), (read_uint), (read_enum),
31089         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31090         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31091         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31092         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31093         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31094         (gst_xml_registry_rebuild):
31095         * gst/registries/gstlibxmlregistry.h:
31096         * tools/gst-compprep.c: (main):
31097         * tools/gst-inspect.c: (print_pad_templates_info):
31098         * tools/gst-xmlinspect.c: (print_element_info):
31099           Use libxml2 for registry parsing, use staticpadtemplates in
31100           elementfactories. Makes gst_init() +/- 10x faster.
31101
31102 2005-04-12  Wim Taymans  <wim@fluendo.com>
31103
31104         * gst/base/Makefile.am:
31105         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31106         (gst_basesink_pad_getcaps), (gst_basesink_init),
31107         (gst_basesink_event), (gst_basesink_change_state):
31108         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31109         (gst_basesrc_init), (gst_basesrc_query),
31110         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31111         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31112         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31113         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31114         (gst_basesrc_stop), (gst_basesrc_activate),
31115         (gst_basesrc_change_state):
31116         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31117         (helper_find_suggest), (gst_type_find_helper):
31118         * gst/base/gsttypefindhelper.h:
31119         * gst/elements/Makefile.am:
31120         * gst/elements/gstelements.c:
31121         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31122         (gst_fakesink_get_times), (gst_fakesink_event),
31123         (gst_fakesink_preroll), (gst_fakesink_render):
31124         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31125         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31126         (gst_fakesrc_get_property), (gst_fakesrc_create),
31127         (gst_fakesrc_start), (gst_fakesrc_stop):
31128         * gst/elements/gstfakesrc.h:
31129         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31130         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31131         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31132         (gst_filesrc_create_read), (gst_filesrc_create),
31133         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31134         (gst_filesrc_start):
31135         * gst/elements/gsttypefindelement.c:
31136         (gst_type_find_element_have_type), (gst_type_find_element_init),
31137         (start_typefinding), (stop_typefinding), (push_buffer_store),
31138         (gst_type_find_element_handle_event),
31139         (gst_type_find_element_chain),
31140         (gst_type_find_element_checkgetrange),
31141         (gst_type_find_element_getrange), (do_typefind),
31142         (gst_type_find_element_activate),
31143         (gst_type_find_element_change_state):
31144         * gst/elements/gsttypefindelement.h:
31145         * gst/gstpipeline.c: (pipeline_bus_handler):
31146         Added typefind helper.
31147         Small preroll fix in the base sink.
31148         Disable typefind code in basesrc.
31149         Crude port of typefindelement.
31150         Fakesrc cleanups.
31151
31152
31153 2005-04-11  Wim Taymans  <wim@fluendo.com>
31154
31155         * check/gst/gstbus.c: (gstbus_suite):
31156         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31157         * check/gstcheck.h:
31158           Fix up the timeout so that the test does not fail.
31159
31160 2005-04-06  Wim Taymans  <wim@fluendo.com>
31161
31162         * gst/base/README:
31163         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31164         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31165         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31166         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31167         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31168         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31169         (gst_basesrc_stop), (gst_basesrc_activate),
31170         (gst_basesrc_change_state), (basesrc_find_peek),
31171         (basesrc_find_suggest), (gst_basesrc_type_find):
31172         * gst/base/gstbasesrc.h:
31173         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31174         (gst_filesrc_class_init), (gst_filesrc_init),
31175         (gst_filesrc_finalize), (gst_filesrc_set_location),
31176         (gst_filesrc_set_property), (gst_filesrc_get_property),
31177         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31178         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31179         (gst_filesrc_create_read), (gst_filesrc_create),
31180         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31181         * gst/elements/gstfilesrc.h:
31182         * gst/gstelement.c: (gst_element_get_state_func),
31183         (gst_element_lost_state), (gst_element_pads_activate):
31184         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31185         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31186         (gst_pad_pull_range):
31187         * gst/gstpad.h:
31188         More work on the generic source base class, implement seeking,
31189         query.
31190         Make filesrc extend the base source class.
31191         Added gst_pad_set_checkgetrange_function to GstPad.
31192
31193 2005-04-06  Andy Wingo  <wingo@pobox.com>
31194
31195         * pkgconfig/gstreamer-base.pc.in:
31196         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31197
31198         * pkgconfig/Makefile.am:
31199         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31200
31201 2005-04-04  Wim Taymans  <wim@fluendo.com>
31202
31203         * gst/base/Makefile.am:
31204         * gst/base/README:
31205         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31206         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31207         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31208         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31209         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31210         (gst_basesrc_base_init), (gst_basesrc_class_init),
31211         (gst_basesrc_init), (gst_basesrc_get_formats),
31212         (gst_basesrc_get_query_types), (gst_basesrc_query),
31213         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31214         (gst_basesrc_set_property), (gst_basesrc_get_property),
31215         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31216         (gst_basesrc_loop), (gst_basesrc_activate),
31217         (gst_basesrc_change_state):
31218         * gst/base/gstbasesrc.h:
31219         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31220         (gst_fakesrc_class_init), (gst_fakesrc_init),
31221         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31222         (gst_fakesrc_get_property), (gst_fakesrc_create):
31223         * gst/elements/gstfakesrc.h:
31224         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31225         (gst_filesrc_open_file), (gst_filesrc_loop),
31226         (gst_filesrc_activate), (filesrc_find_peek),
31227         (gst_filesrc_type_find):
31228         Made base source class, make fakesrc extend it.
31229         Add comments to basesink class.
31230         Some filesrc cleanup.
31231
31232 2005-03-31  David Schleef  <ds@schleef.org>
31233
31234         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31235         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31236         expected to link against libgstreamer.
31237         * gst/base/Makefile.am: link against libgstreamer
31238         * gst/elements/Makefile.am: same
31239
31240 2005-03-31  Andy Wingo  <wingo@pobox.com>
31241
31242         * tests/instantiate/Makefile.am:
31243         * tests/instantiate/caps.c: Add test to test speed of caps copy
31244         and free.
31245
31246         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31247         GMemChunk to be fair.
31248
31249         * gst/gsttrashstack.h: Remove warning about using the fallback
31250         trash stack implementation, it's still faster than malloc.
31251
31252 2005-03-30  Andy Wingo  <wingo@pobox.com>
31253
31254         * tests/complexity.c: Add a copyright.
31255
31256 2005-03-31  Wim Taymans  <wim@fluendo.com>
31257
31258         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31259         (gst_base_transform_class_init), (gst_base_transform_init),
31260         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31261         (gst_base_transform_get_property),
31262         (gst_base_transform_sink_activate),
31263         (gst_base_transform_src_activate),
31264         (gst_base_transform_change_state):
31265         * gst/base/gstbasetransform.h:
31266         * gst/elements/gstidentity.c: (gst_identity_class_init),
31267         (gst_identity_event), (gst_identity_check_perfect),
31268         (gst_identity_transform), (gst_identity_start),
31269         (gst_identity_stop):
31270         Added start/stop methods to transform base class so subclasses 
31271         don't need to deal with state changes even.
31272
31273 2005-03-31  Wim Taymans  <wim@fluendo.com>
31274
31275         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31276         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31277         * gst/gstevent.h:
31278         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31279         (gst_pad_pull_range):
31280         Added rate to the discont event to prepare for variable speed
31281         and reverse playback.
31282
31283 2005-03-29  David Schleef  <ds@schleef.org>
31284
31285         * configure.ac:
31286         * testsuite/trigger/Makefile.am:
31287         * testsuite/trigger/trigger.c: A little example program to show
31288         how trigger-based elements can work.
31289
31290 2005-03-29  Wim Taymans  <wim@fluendo.com>
31291
31292         * gst/base/Makefile.am:
31293         * gst/base/README:
31294         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31295         (gst_basesink_base_init), (gst_basesink_class_init),
31296         (gst_basesink_pad_getcaps), (gst_basesink_init),
31297         (gst_basesink_activate), (gst_basesink_change_state):
31298         * gst/base/gstbasesink.h:
31299         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31300         (gst_base_transform_base_init), (gst_base_transform_finalize),
31301         (gst_base_transform_class_init), (gst_base_transform_init),
31302         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31303         (gst_base_transform_event), (gst_base_transform_getrange),
31304         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31305         (gst_base_transform_set_property),
31306         (gst_base_transform_get_property),
31307         (gst_base_transform_sink_activate),
31308         (gst_base_transform_src_activate),
31309         (gst_base_transform_change_state):
31310         * gst/base/gstbasetransform.h:
31311         * gst/elements/gstidentity.c: (gst_identity_finalize),
31312         (gst_identity_class_init), (gst_identity_init),
31313         (gst_identity_event), (gst_identity_check_perfect),
31314         (gst_identity_transform), (gst_identity_set_property),
31315         (gst_identity_get_property), (gst_identity_change_state):
31316         * gst/elements/gstidentity.h:
31317         * gst/gstelement.c: (gst_element_get_state_func),
31318         (gst_element_lost_state), (gst_element_pads_activate):
31319         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31320         (gst_pad_check_pull_range), (gst_pad_pull_range):
31321         * gst/gstpad.h:
31322         Simplify pad activation.
31323         Added function to check if pull_range can be performed.
31324         Error out when pulling inactive or flushing pads.
31325         Removed const from refcounted types as it does not make sense.
31326         Simplify pad templates in basesink
31327         Added base class for simple 1-to-1 transforms.
31328         Make identity subclass the base transform.
31329
31330 2005-03-29  Andy Wingo  <wingo@pobox.com>
31331
31332         * docs/libs/gstreamer-libs-overrides.txt: 
31333         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31334         really don't understand what's going on, but like whatever. I want
31335         green buildbot!
31336
31337         * docs/gst/Makefile.am:
31338         * docs/libs/Makefile.am: Dist the overrides files.
31339
31340         * check/Makefile.am (clean-local): Remove .libs directories.
31341
31342         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31343         elements to EXTRA_DIST, so po/ files are happy.
31344
31345         * po/POTFILES.in: Er, remove it here.
31346
31347         * po/POTFILES: Remove gstspider.c.
31348
31349         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31350
31351         * docs/libs/gstreamer-libs-docs.sgml: 
31352         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31353         bytestream.
31354
31355         * tests/complexity.c (main): Set the length of the preroll queue
31356         on the sinks to prevent a lockup.
31357
31358         * libs/gst/dataprotocol/Makefile.am: 
31359         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31360         the same as the one in check/gst-libs/gdp.c.
31361
31362         * po/, docs/gst/: Commit automatic changes to docs and po files.
31363
31364         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31365         the versioned libgstbase.
31366
31367         * check/Makefile.am: Depend on an unversioned gst-register, seems
31368         to make autoconf happier.
31369
31370         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31371
31372 2005-03-28  Wim Taymans  <wim@fluendo.com>
31373
31374         * configure.ac:
31375         * docs/design/part-gstelement.txt:
31376         * docs/design/part-negotiation.txt:
31377         * docs/design/part-preroll.txt:
31378         * docs/design/part-scheduling.txt:
31379         * docs/design/part-states.txt:
31380         * gst/Makefile.am:
31381         * gst/base/Makefile.am:
31382         * gst/base/README:
31383         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31384         (gst_basesink_base_init), (gst_basesink_class_init),
31385         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31386         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31387         (gst_basesink_set_pad_functions),
31388         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31389         (gst_basesink_set_property), (gst_basesink_get_property),
31390         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31391         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31392         (gst_basesink_preroll_queue_push),
31393         (gst_basesink_preroll_queue_empty),
31394         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31395         (gst_basesink_event), (gst_basesink_get_times),
31396         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31397         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31398         (gst_basesink_loop), (gst_basesink_activate),
31399         (gst_basesink_change_state):
31400         * gst/base/gstbasesink.h:
31401         * gst/elements/Makefile.am:
31402         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31403         (gst_fakesink_class_init), (gst_fakesink_init),
31404         (gst_fakesink_set_property), (gst_fakesink_get_property),
31405         (gst_fakesink_get_times), (gst_fakesink_event),
31406         (gst_fakesink_preroll), (gst_fakesink_render),
31407         (gst_fakesink_change_state):
31408         * gst/elements/gstfakesink.h:
31409         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31410         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31411         * gst/gstelement.c: (gst_element_add_pad),
31412         (gst_element_get_state_func), (gst_element_abort_state),
31413         (gst_element_commit_state), (gst_element_lost_state),
31414         (gst_element_set_state), (gst_element_pads_activate):
31415         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31416         * gst/gstpipeline.c: (gst_pipeline_send_event),
31417         (gst_pipeline_change_state):
31418         Added state change code.
31419         Added/updated docs.
31420         Added sink base class, make fakesink extend the base class.
31421         Small cleanups in GstPipeline.
31422
31423 2005-03-26  David Schleef  <ds@schleef.org>
31424
31425         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31426         is broken and should be implemented in a different library.
31427         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31428         * gst/gst.h: remove gstcpu.h
31429         * gst/gstcpu.c: remove
31430         * gst/gstcpu.h: remove
31431         * gst/Makefile.am.future: Remove this file.  It's ancient.
31432
31433 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31434
31435         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31436         (gst_bin_send_event):
31437           Add default event/set_manager handlers. The set_manager handler
31438           takes care that the manager is distributed over kids that were
31439           already in the bin before the manager was set. The event handler
31440           is a utility virtual function that sends the event over all sinks,
31441           so that gst_element_send_event (bin, event); has the expected
31442           behaviour.
31443         * gst/gstpad.c: (gst_pad_event_default):
31444           Re-install default event handling for discontinuities, so that
31445           seeking works without requiring hacks in applications or extra
31446           code in sinks.
31447         * gst/gstpipeline.c: (gst_pipeline_class_init),
31448         (gst_pipeline_send_event):
31449           Half hack, half utility: set a pipeline to PAUSED for seek events,
31450           since that is the only way we can guarantee a/v sync. Means that
31451           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31452           and it "just works".
31453
31454 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31455
31456         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31457           Lock/unlock mismatch.
31458
31459 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31460
31461         * docs/faq/gst-uninstalled:
31462           add gst-plugins-base
31463         * docs/gst/Makefile.am:
31464           don't error out until docs are fixed
31465         * docs/gst/gstreamer.types:
31466           remove thread
31467
31468 2005-03-22  Wim Taymans  <wim@fluendo.com>
31469
31470         * check/Makefile.am:
31471         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31472         * gst/gststructure.c: (gst_structure_set_valist),
31473         (gst_structure_copy_conditional):
31474         Activated more tests.
31475         Added message test.
31476         Added G_TYPE_POINTER to GstStructure.
31477         
31478
31479 2005-03-22  Wim Taymans  <wim@fluendo.com>
31480
31481         * docs/design/part-TODO.txt:
31482         * docs/design/part-events.txt:
31483         * docs/design/part-gstbin.txt:
31484         * docs/design/part-gstbus.txt:
31485         * docs/design/part-gstpipeline.txt:
31486         * docs/design/part-messages.txt:
31487         * gst/gstbus.c:
31488         * gst/gstmessage.c:
31489         Docs updates
31490
31491 2005-03-21  Wim Taymans  <wim@fluendo.com>
31492
31493         * gst/gstbus.c: (gst_bus_post):
31494         Fix copy-and-paste error.
31495
31496 2005-03-21  Wim Taymans  <wim@fluendo.com>
31497
31498         * check/Makefile.am:
31499         * gst/Makefile.am:
31500         * gst/elements/Makefile.am:
31501         * gst/elements/gstelements.c:
31502         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31503         (gst_fakesink_event), (gst_fakesink_chain):
31504         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31505         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31506         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31507         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31508         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31509         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31510         (gst_fakesrc_loop), (gst_fakesrc_activate),
31511         (gst_fakesrc_change_state):
31512         * gst/elements/gstfakesrc.h:
31513         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31514         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31515         (gst_filesrc_open_file), (gst_filesrc_loop),
31516         (gst_filesrc_activate), (gst_filesrc_change_state),
31517         (filesrc_find_peek), (filesrc_find_suggest),
31518         (gst_filesrc_type_find):
31519         * gst/elements/gstidentity.c: (gst_identity_finalize),
31520         (gst_identity_class_init), (gst_identity_init),
31521         (gst_identity_proxy_getcaps), (identity_queue_push),
31522         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31523         (gst_identity_getrange), (gst_identity_chain),
31524         (gst_identity_sink_loop), (gst_identity_src_loop),
31525         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31526         (gst_identity_set_property), (gst_identity_get_property),
31527         (gst_identity_change_state):
31528         * gst/elements/gstidentity.h:
31529         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31530         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31531         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31532         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31533         (gst_tee_sink_activate):
31534         * gst/elements/gsttee.h:
31535         * gst/gst.c: (gst_register_core_elements), (init_post):
31536         * gst/gst.h:
31537         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31538         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31539         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31540         (gst_bin_change_state):
31541         * gst/gstbin.h:
31542         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31543         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31544         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31545         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31546         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31547         (bus_watch_callback), (bus_watch_destroy),
31548         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31549         (poll_timeout), (gst_bus_poll):
31550         * gst/gstbus.h:
31551         * gst/gstcaps.h:
31552         * gst/gstdata.h:
31553         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31554         (gst_element_post_message), (gst_element_message_full),
31555         (gst_element_get_state_func), (gst_element_get_state),
31556         (gst_element_abort_state), (gst_element_commit_state),
31557         (gst_element_lost_state), (gst_element_set_state),
31558         (gst_element_pads_activate), (gst_element_change_state),
31559         (gst_element_dispose), (gst_element_set_manager_func),
31560         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31561         (gst_element_set_manager), (gst_element_get_manager),
31562         (gst_element_set_bus), (gst_element_get_bus),
31563         (gst_element_set_scheduler), (gst_element_get_scheduler):
31564         * gst/gstelement.h:
31565         * gst/gstevent.c: (gst_event_new_segment_seek),
31566         (gst_event_new_flush):
31567         * gst/gstevent.h:
31568         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31569         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31570         (gst_message_new_eos), (gst_message_new_error),
31571         (gst_message_new_warning), (gst_message_new_tag),
31572         (gst_message_new_state_changed), (gst_message_new_application),
31573         (gst_message_get_structure), (gst_message_parse_tag),
31574         (gst_message_parse_state_changed), (gst_message_parse_error),
31575         (gst_message_parse_warning):
31576         * gst/gstmessage.h:
31577         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31578         (gst_real_pad_set_property), (gst_pad_set_active),
31579         (gst_pad_is_active), (gst_pad_set_blocked_async),
31580         (gst_pad_set_blocked), (gst_pad_is_blocked),
31581         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31582         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31583         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31584         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31585         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31586         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31587         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31588         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31589         (gst_pad_set_caps), (gst_pad_configure_sink),
31590         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31591         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31592         (gst_real_pad_dispose), (gst_real_pad_finalize),
31593         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31594         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31595         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31596         * gst/gstpad.h:
31597         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31598         (pipeline_bus_handler), (gst_pipeline_change_state),
31599         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31600         * gst/gstpipeline.h:
31601         * gst/gstprobe.h:
31602         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31603         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31604         (gst_queue_link_src), (gst_queue_bufferalloc),
31605         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31606         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31607         (gst_queue_loop), (gst_queue_handle_src_event),
31608         (gst_queue_handle_src_query), (gst_queue_src_activate),
31609         (gst_queue_change_state):
31610         * gst/gstqueue.h:
31611         * gst/gstscheduler.c: (gst_scheduler_init),
31612         (gst_scheduler_dispose), (gst_scheduler_create_task),
31613         (gst_scheduler_factory_create):
31614         * gst/gstscheduler.h:
31615         * gst/gststructure.c: (gst_structure_get_type),
31616         (gst_structure_copy_conditional):
31617         * gst/gststructure.h:
31618         * gst/gsttaginterface.h:
31619         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31620         (gst_task_init), (gst_task_dispose), (gst_task_create),
31621         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31622         (gst_task_pause):
31623         * gst/gsttask.h:
31624         * gst/gstthread.c:
31625         * gst/gstthread.h:
31626         * gst/gsttypes.h:
31627         * gst/schedulers/Makefile.am:
31628         * gst/schedulers/cothreads_compat.h:
31629         * gst/schedulers/entryscheduler.c:
31630         * gst/schedulers/faircothreads.c:
31631         * gst/schedulers/faircothreads.h:
31632         * gst/schedulers/fairscheduler.c:
31633         * gst/schedulers/gstbasicscheduler.c:
31634         * gst/schedulers/gstoptimalscheduler.c:
31635         * gst/schedulers/gthread-cothreads.h:
31636         * gst/schedulers/threadscheduler.c:
31637         (gst_thread_scheduler_task_get_type),
31638         (gst_thread_scheduler_task_class_init),
31639         (gst_thread_scheduler_task_init),
31640         (gst_thread_scheduler_task_start),
31641         (gst_thread_scheduler_task_stop),
31642         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31643         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31644         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31645         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31646         (plugin_init):
31647         * libs/gst/Makefile.am:
31648         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31649         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31650         (gst_file_pad_parent_set):
31651         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31652         (gst_dp_event_from_packet):
31653         * tests/complexity.c: (main):
31654         * tests/mass_elements.c: (main):
31655         * testsuite/states/locked.c: (message_received), (main):
31656         * testsuite/states/parent.c: (main):
31657         * tools/gst-inspect.c: (print_element_flag_info),
31658         (print_implementation_info), (print_pad_info):
31659         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31660         (main):
31661         * tools/gst-md5sum.c: (event_loop), (main):
31662         * tools/gst-typefind.c: (main):
31663         * tools/gst-xmlinspect.c: (print_element_info):
31664         Next big merge.
31665         Added GstBus for mainloop integration.
31666         Added GstMessage for sending notifications on the bus.
31667         Added GstTask as an abstraction for pipeline entry points.
31668         Removed GstThread.
31669         Removed Schedulers.
31670         Simplified GstQueue for multithreaded core.
31671         Made _link threadsafe, removed old capsnego.
31672         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31673         Added pad blocking functions.
31674         Reworked scheduling functions in GstPad to prepare for
31675         scheduling updates soon.
31676         Moved events out of data stream.
31677         Simplified GstEvent types.
31678         Added return values to push/pull.
31679         Removed clocking from GstElement.
31680         Added prototypes for state change function for next merge.
31681         Removed iterate from bins and state change management.
31682         Fixed some elements, disabled others for now.
31683         Fixed -inspect and -launch.
31684         Added check for GstBus.
31685
31686 2005-03-10  Wim Taymans  <wim@fluendo.com>
31687
31688         * docs/design/part-MT-refcounting.txt:
31689         * docs/design/part-clocks.txt:
31690         * docs/design/part-gstelement.txt:
31691         * docs/design/part-gstobject.txt:
31692         * docs/design/part-standards.txt:
31693         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31694         (gst_bin_remove_func), (gst_bin_remove):
31695         * gst/gstbin.h:
31696         * gst/gstbuffer.c:
31697         * gst/gstcaps.h:
31698         * testsuite/clock/clock1.c: (main):
31699         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31700         (main):
31701         * testsuite/dlopen/loadgst.c: (do_test):
31702         * testsuite/refcounting/bin.c: (add_remove_test1),
31703         (add_remove_test2), (main):
31704         * testsuite/refcounting/element.c: (main):
31705         * testsuite/refcounting/element_pad.c: (main):
31706         * testsuite/refcounting/pad.c: (main):
31707         * tools/gst-launch.c: (sigint_handler_sighandler):
31708         * tools/gst-typefind.c: (main):
31709         Doc updates.
31710         Added doc about clock.
31711         removed gst_bin_iterate_recurse_up(), marked methods
31712         for removal.
31713         Fix more testsuites.
31714
31715 2005-03-09  Wim Taymans  <wim@fluendo.com>
31716
31717         * gst/gstpad.c: (gst_pad_get_direction),
31718         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31719         (gst_pad_collect_valist):
31720         * testsuite/bins/interface.c: (main):
31721         * testsuite/caps/audioscale.c: (test_caps):
31722         * testsuite/caps/caps.c: (test1), (test2), (test3):
31723         * testsuite/caps/deserialize.c: (main):
31724         * testsuite/caps/enumcaps.c: (main):
31725         * testsuite/caps/filtercaps.c: (main):
31726         * testsuite/caps/intersect2.c: (main):
31727         * testsuite/caps/random.c: (main):
31728         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31729         * testsuite/caps/sets.c: (check_caps):
31730         * testsuite/caps/simplify.c: (check_caps), (main):
31731         * testsuite/caps/subtract.c: (check_caps):
31732         Fix _pad_get_direction wrt ghostpads.
31733         Fix caps testsuite.
31734
31735 2005-03-09  Wim Taymans  <wim@fluendo.com>
31736
31737         * check/Makefile.am:
31738         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31739         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31740         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31741         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31742         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31743         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31744         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31745         (bin_element_is_sink), (gst_bin_iterate_sinks),
31746         (gst_bin_iterate_all_by_interface):
31747         * gst/gstbin.h:
31748         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31749         (gst_element_change_state), (gst_element_dispose),
31750         (gst_element_finalize), (gst_element_set_loop_function):
31751         * gst/gstelement.h:
31752         * gst/gstiterator.c: (find_custom_fold_func):
31753         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31754         (gst_pad_collectv), (gst_pad_collect_valist),
31755         (gst_pad_template_new):
31756         * gst/gstpipeline.c: (gst_pipeline_class_init),
31757         (gst_pipeline_dispose), (gst_pipeline_set_property),
31758         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31759         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31760         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31761         * gst/gstutils.h:
31762         * gst/schedulers/entryscheduler.c:
31763         * gst/schedulers/gstbasicscheduler.c:
31764         (gst_basic_scheduler_cothreaded_chain),
31765         (gst_basic_scheduler_chain_add_element):
31766         * testsuite/bins/interface.c: (main):
31767         Added GstBin test.
31768         Added GstSystemClock test.
31769         Implemented clock distribution code in GstBin.
31770         Implemented iterate sinks method for future use.
31771         Rearranged gstelement.h
31772         Fix GstIterator comparison bug.
31773         Moved some code to GstPipeline, mostly clocking related.
31774
31775 2005-03-09  Wim Taymans  <wim@fluendo.com>
31776
31777         * configure.ac:
31778         * gst/gst_private.h:
31779         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31780         (gst_bin_remove_func), (gst_bin_remove),
31781         (gst_bin_get_by_name_recurse_up):
31782         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31783         (gst_clock_id_compare_func), (gst_clock_id_wait),
31784         (gst_clock_id_wait_async), (gst_clock_init),
31785         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31786         * gst/gstelement.h:
31787         * gst/gstinfo.c: (_gst_debug_init):
31788         * gst/gstobject.h:
31789         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31790         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31791         * gst/gstpad.h:
31792         Bump version number, we're now 0.9.0
31793         Add future debugging category.
31794         Fix NULL _unref() in _get_by_name_recurse_up
31795         Rearrange gstpad.h.
31796         Update some docs.
31797
31798 2005-03-08  Wim Taymans  <wim@fluendo.com>
31799
31800         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31801         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31802         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31803         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31804         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31805         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31806         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31807         * gst/elements/gstidentity.c: (gst_identity_class_init):
31808         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31809         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31810         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31811         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31812         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31813         (gst_tee_link):
31814         * gst/gstelement.c: (gst_element_class_init),
31815         (gst_element_base_class_init), (gst_element_init),
31816         (gst_element_get_random_pad), (gst_element_wait_state_change),
31817         (gst_element_change_state), (gst_element_dispose),
31818         (gst_element_finalize), (gst_element_set_loop_function):
31819         * gst/gstelement.h:
31820         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31821         * gst/gstthread.c: (gst_thread_class_init),
31822         (gst_thread_release_children_locks), (gst_thread_change_state):
31823         * gst/schedulers/gstbasicscheduler.c:
31824         (gst_basic_scheduler_loopfunc_wrapper),
31825         (gst_basic_scheduler_chain_wrapper),
31826         (gst_basic_scheduler_src_wrapper),
31827         (gst_basic_scheduler_remove_element):
31828         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31829         Remove threadsafe properties. Fix elements because GObject
31830         complains when installing a property before declaring a
31831         set/get_property handler.
31832         Rearrange gstelement.h file, use STATE macros for state locks.
31833         Free mutexes in the finalize method instead of dispose.
31834
31835 2005-03-08  Wim Taymans  <wim@fluendo.com>
31836
31837         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31838         * gst/gstthread.c: (gst_thread_release_children_locks):
31839         Added parentage check.
31840         Fix build og GstThread again.
31841
31842 2005-03-08  Wim Taymans  <wim@fluendo.com>
31843
31844         * docs/design/part-MT-refcounting.txt:
31845         * docs/design/part-conventions.txt:
31846         * docs/design/part-gstobject.txt:
31847         * docs/design/part-relations.txt:
31848         * docs/design/part-standards.txt:
31849         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31850         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31851         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31852         (gst_bin_iterate_all_by_interface):
31853         * gst/gstbuffer.h:
31854         * gst/gstclock.h:
31855         * gst/gstelement.c: (gst_element_class_init),
31856         (gst_element_change_state), (gst_element_set_loop_function):
31857         * gst/gstelement.h:
31858         * gst/gstiterator.c:
31859         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31860         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31861         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31862         (gst_object_set_parent), (gst_object_unparent),
31863         (gst_object_check_uniqueness):
31864         * gst/gstobject.h:
31865         Docs updates, clean up some headers.
31866
31867 2005-03-07  Wim Taymans  <wim@fluendo.com>
31868
31869         * check/.cvsignore:
31870         * check/Makefile.am:
31871         * check/gst-libs/.cvsignore:
31872         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31873         * check/gst/.cvsignore:
31874         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31875         (START_TEST), (gstbus_suite), (main):
31876         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31877         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31878         (gst_data_suite), (main):
31879         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31880         (add_fold_func), (gstiterator_suite), (main):
31881         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31882         (thread_name_object), (thread_name_object_default),
31883         (gst_object_name_compare), (gst_object_suite), (main):
31884         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31885         (gst_pad_suite), (main):
31886         * check/gstcheck.c: (gst_check_log_message_func),
31887         (gst_check_log_critical_func), (gst_check_init):
31888         * check/gstcheck.h:
31889         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31890         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31891         Added checks.
31892
31893 2005-03-07  Wim Taymans  <wim@fluendo.com>
31894
31895         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31896         (gst_list_iterator_next), (gst_list_iterator_resync),
31897         (gst_list_iterator_free), (gst_iterator_new_list),
31898         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31899         (gst_iterator_free), (gst_iterator_push), (filter_next),
31900         (filter_resync), (filter_uninit), (filter_free),
31901         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31902         (gst_iterator_foreach), (find_custom_fold_func),
31903         (gst_iterator_find_custom):
31904         * gst/gstiterator.h:
31905         Added missing files.
31906
31907 2005-03-07  Wim Taymans  <wim@fluendo.com>
31908
31909         * Makefile.am:
31910         * configure.ac:
31911         * docs/design/part-MT-refcounting.txt:
31912         * docs/design/part-conventions.txt:
31913         * docs/design/part-gstobject.txt:
31914         * docs/design/part-relations.txt:
31915         * examples/mixer/mixer.c: (main):
31916         * examples/thread/thread.c: (eos), (main):
31917         * gst/Makefile.am:
31918         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31919         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31920         (gst_spider_plug_from_srcpad):
31921         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31922         (gst_spider_identity_change_state),
31923         (gst_spider_identity_sink_loop_type_finding):
31924         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31925         * gst/elements/gstidentity.c: (gst_identity_init):
31926         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31927         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31928         * gst/elements/gsttypefindelement.c: (free_entry):
31929         * gst/gst.c:
31930         * gst/gst.h:
31931         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31932         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31933         (gst_bin_set_index), (gst_bin_set_element_sched),
31934         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31935         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31936         (gst_bin_iterate_elements), (iterate_child_recurse),
31937         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31938         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31939         (compare_interface), (gst_bin_get_by_interface),
31940         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31941         * gst/gstbin.h:
31942         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31943         (gst_buffer_default_free), (gst_buffer_default_copy),
31944         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31945         (gst_buffer_create_sub):
31946         * gst/gstbuffer.h:
31947         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31948         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31949         (gst_caps_unref), (gst_static_caps_get),
31950         (gst_caps_remove_and_get_structure), (gst_caps_append),
31951         (gst_caps_append_structure), (gst_caps_remove_structure),
31952         (gst_caps_copy_nth), (gst_caps_set_simple),
31953         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31954         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31955         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31956         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31957         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31958         (gst_caps_structure_figure_out_union),
31959         (gst_caps_switch_structures), (gst_caps_do_simplify),
31960         (gst_caps_replace), (gst_caps_from_string),
31961         (gst_caps_copy_conditional):
31962         * gst/gstcaps.h:
31963         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31964         (_gst_clock_id_free), (gst_clock_id_unref),
31965         (gst_clock_id_compare_func), (gst_clock_id_wait),
31966         (gst_clock_id_wait_async), (gst_clock_class_init),
31967         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31968         (gst_clock_get_time), (gst_clock_set_time_adjust),
31969         (gst_clock_set_property), (gst_clock_get_property):
31970         * gst/gstclock.h:
31971         * gst/gstcompat.h:
31972         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31973         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31974         * gst/gstdata.h:
31975         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31976         (gst_element_requires_clock), (gst_element_provides_clock),
31977         (gst_element_set_clock), (gst_element_clock_wait),
31978         (gst_element_wait), (gst_element_set_time_delay),
31979         (gst_element_is_indexable), (gst_element_add_pad),
31980         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31981         (pad_compare_name), (gst_element_get_static_pad),
31982         (gst_element_request_pad), (gst_element_get_request_pad),
31983         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31984         (gst_element_class_get_pad_template_list),
31985         (gst_element_class_get_pad_template), (gst_element_error_func),
31986         (gst_element_get_random_pad), (gst_element_get_event_masks),
31987         (gst_element_send_event), (gst_element_seek),
31988         (gst_element_get_query_types), (gst_element_query),
31989         (gst_element_get_formats), (gst_element_convert),
31990         (gst_element_is_locked_state), (gst_element_set_locked_state),
31991         (gst_element_sync_state_with_parent), (gst_element_change_state),
31992         (gst_element_finalize), (gst_element_yield),
31993         (gst_element_interrupt), (gst_element_set_scheduler),
31994         (gst_element_get_scheduler), (gst_element_set_loop_function):
31995         * gst/gstelement.h:
31996         * gst/gstevent.h:
31997         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31998         (gst_format_get_by_nick), (gst_format_get_details),
31999         (gst_format_iterate_definitions):
32000         * gst/gstformat.h:
32001         * gst/gstindex.c: (gst_index_gtype_resolver):
32002         * gst/gstinfo.c:
32003         * gst/gstinfo.h:
32004         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32005         (gst_mem_chunk_free):
32006         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32007         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32008         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32009         (gst_object_dispatch_properties_changed),
32010         (gst_object_set_name_default), (gst_object_set_name),
32011         (gst_object_get_name), (gst_object_set_name_prefix),
32012         (gst_object_get_name_prefix), (gst_object_set_parent),
32013         (gst_object_get_parent), (gst_object_unparent),
32014         (gst_object_check_uniqueness), (gst_object_save_thyself),
32015         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32016         (gst_object_set_property), (gst_object_get_property),
32017         (gst_object_get_path_string):
32018         * gst/gstobject.h:
32019         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32020         (gst_real_pad_init), (gst_real_pad_get_property),
32021         (gst_pad_custom_new), (gst_pad_get_direction),
32022         (gst_pad_set_active), (gst_pad_is_active),
32023         (gst_pad_set_event_function), (gst_pad_is_linked),
32024         (gst_pad_link_free), (gst_pad_link_intersect),
32025         (gst_pad_link_fixate), (gst_pad_set_caps),
32026         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32027         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32028         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32029         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32030         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32031         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32032         (gst_pad_realize), (gst_pad_get_allowed_caps),
32033         (gst_real_pad_dispose), (gst_real_pad_finalize),
32034         (gst_pad_collectv), (gst_pad_collect_valist),
32035         (gst_pad_template_dispose), (gst_pad_template_new),
32036         (gst_pad_get_internal_links):
32037         * gst/gstpad.h:
32038         * gst/gstpipeline.c: (gst_pipeline_dispose),
32039         (gst_pipeline_change_state):
32040         * gst/gstpipeline.h:
32041         * gst/gstplugin.c:
32042         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32043         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32044         * gst/gstpluginfeature.h:
32045         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32046         * gst/gstquery.c: (_gst_query_type_initialize),
32047         (gst_query_type_register), (gst_query_type_get_by_nick),
32048         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32049         * gst/gstquery.h:
32050         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32051         * gst/gstscheduler.c: (gst_scheduler_add_element),
32052         (gst_scheduler_factory_create):
32053         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32054         (gst_structure_free), (gst_structure_set_name),
32055         (gst_structure_id_set_value), (gst_structure_set_value),
32056         (gst_structure_set_valist), (gst_structure_remove_field),
32057         (gst_structure_remove_fields),
32058         (gst_structure_remove_fields_valist),
32059         (gst_structure_remove_all_fields), (gst_structure_foreach),
32060         (gst_structure_map_in_place),
32061         (gst_caps_structure_fixate_field_nearest_int),
32062         (gst_caps_structure_fixate_field_nearest_double):
32063         * gst/gststructure.h:
32064         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32065         (gst_system_clock_init), (gst_system_clock_dispose),
32066         (gst_system_clock_async_thread),
32067         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32068         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32069         * gst/gstsystemclock.h:
32070         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32071         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32072         * gst/gsttaginterface.c:
32073         * gst/gstthread.c: (gst_thread_dispose),
32074         (gst_thread_release_children_locks), (gst_thread_change_state),
32075         (gst_thread_main_loop):
32076         * gst/gsttrashstack.h:
32077         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32078         * gst/gsttypes.h:
32079         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32080         (gst_element_request_pad), (gst_element_get_pad_from_template),
32081         (gst_element_request_compatible_pad),
32082         (gst_element_get_compatible_pad_filtered),
32083         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32084         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32085         (gst_element_link_many), (gst_element_link),
32086         (gst_element_link_pads), (gst_element_unlink_pads),
32087         (gst_element_unlink_many), (gst_element_unlink),
32088         (gst_pad_can_link_filtered), (gst_pad_can_link),
32089         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32090         (gst_object_default_error), (gst_bin_add_many),
32091         (gst_bin_remove_many), (gst_element_populate_std_props),
32092         (gst_element_class_install_std_props), (gst_buffer_merge),
32093         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32094         (link_fold_func), (gst_pad_proxy_setcaps):
32095         * gst/gstutils.h:
32096         * gst/gstvalue.c: (gst_value_deserialize_string):
32097         * gst/parse/grammar.y:
32098         * gst/schedulers/gstbasicscheduler.c:
32099         (gst_basic_scheduler_cothreaded_chain),
32100         (gst_basic_scheduler_chain_recursive_add),
32101         (gst_basic_scheduler_pad_link):
32102         * gst/schedulers/gstoptimalscheduler.c:
32103         (get_group_schedule_function),
32104         (gst_opt_scheduler_state_transition),
32105         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32106         * libs/gst/bytestream/bytestream.c:
32107         * libs/gst/dataprotocol/dataprotocol.c:
32108         (gst_dp_header_from_buffer):
32109         * po/nb.po:
32110         * po/ru.po:
32111         * tests/threadstate/threadstate2.c: (eos):
32112         * tools/gst-compprep.c: (main):
32113         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32114         (print_pad_info), (print_children_info):
32115         * tools/gst-launch.c: (idle_func), (main):
32116         * tools/gst-md5sum.c: (idle_func), (main):
32117         * tools/gst-xmlinspect.c: (print_element_info):
32118         First THREADED backport attempt, focusing on adding locks and
32119         making sure the API is threadsafe. Needs more work. More docs
32120         follow this week.
32121
32122 2005-02-24  Andy Wingo  <wingo@pobox.com>
32123
32124         * tests/bench-complexity.scm:
32125         * tests/complexity.gnuplot: New files, good for running complexity
32126         benchmarks.
32127
32128         * tests/Makefile.am:
32129         * tests/complexity.c: New test, sets up N elements, at each level
32130         teeing into M streams per element. Eeeenteresting.
32131
32132         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32133         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32134         running bench-mass_elements.scm.
32135
32136         * tests/bench-mass_elements.scm: New script, runs mass_elements
32137         for various numbers of identities, outputting the results to a
32138         file. Requires guile 1.6. Just for testing.
32139
32140 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32141
32142         * gst/schedulers/fairscheduler.c:
32143           compile with debug disabled
32144
32145 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32146
32147         * configure.ac:
32148           hunting season on 0.9 is now OPEN