More complete unit tests. Fix handling of empty taglists (they were not merged before).
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
2
3         * gst/gsttaglist.c:
4         * tests/check/gst/gsttag.c:
5           More complete unit tests. Fix handling of empty taglists (they were
6           not merged before).
7
8 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
9
10         * gst/gsttaglist.h:
11         * gst/gsttagsetter.c:
12           Update GstTagSetter and GstTagMergeMode documentation. Mention
13           that tags can come from events and from application. Fix example.
14
15 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
16
17         * docs/design/part-TODO.txt:
18         Remove the seqnum entry that we implemented in 0.10 already.
19         Add entry about removing the format return value for queries.
20
21 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
22
23         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
24         (gst_base_sink_init), (gst_base_sink_set_property),
25         (gst_base_sink_get_property):
26         Expose the render-delay as a property so things like appsink can use it
27         to tweak the synchronisation.
28
29 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
30
31         * libs/gst/check/gstcheck.h: Allow check tests to use
32         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
33         CK_FORK=no to be used with multiple check test that use threads.
34
35 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
36
37         * gst/gstutils.c: (gst_element_get_compatible_pad):
38         Fix a caps memory leak introduced by the last change.
39
40 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
41
42         * gst/gstutils.c: (gst_element_get_compatible_pad):
43         Check if the caps of the pads are compatible before returning
44         a pad and claiming it is compatible. This, among other things,
45         fixes a bug with gst-launch where an incompatible pad is chosen
46         and linking fails. Fixes bug #544003.
47
48 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
49
50         * libs/gst/check/gstcheck.c: (gst_check_init):
51         Revert accidentially commited patch for bug #404631 which
52         tries to print a backtrace if a testcase is terminated by
53         a signal. This code was never activated as the corresponding
54         configure.ac change wasn't committed.
55
56 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
57
58         * tests/check/libs/controller.c: (GST_START_TEST):
59         This test should return TRUE now as syncing an uncontrolled
60         object will succeed now (there's nothing to sync).
61
62 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
63
64         * libs/gst/controller/gstcontroller.c:
65           Aggregate return value for gst_controller_sync_values(). More info in
66           logging. Always set values on first sync-call.
67
68         * libs/gst/controller/gstcontrolsource.c:
69           Microoptimizations.
70
71         * libs/gst/controller/gsthelper.c:
72           Fix return code and comment.
73
74 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
75
76         * tools/gst-launch.1.in:
77           Fix description of how to specify a type in caps. Fixes #553873.
78           Also ranges and list contain values and not property-assignments.
79
80 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
81
82         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
83         Check for changed pads-list before checking the last returned
84         GstFlowReturn because the pad could have been removed and we
85         need to ignore the value in that case.
86
87 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
88
89         * libs/gst/base/gstbasetransform.c:
90         (gst_base_transform_prepare_output_buffer),
91         (gst_base_transform_getrange), (gst_base_transform_chain):
92         * libs/gst/base/gstbasetransform.h:
93         Add vmethod that is called before we start the transform and which can
94         be used to configure the transform, such as dynamic properties.
95
96 2008-12-05  David Schleef  <ds@schleef.org>
97
98         * gst/gst.c:
99         Search for plugins on win32 based on the location of the
100         gstreamer DLL.  Fixes #548786
101
102 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
103
104         * configure.ac:
105         Apparently AC_CONFIG_MACRO_DIR breaks when using more
106         than one macro directory, reverting last change.
107
108 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
109
110         * configure.ac:
111         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
112         our M4 macros.
113
114 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
115
116         Patch by: Cygwin Ports maintainer
117                   <yselkowitz at users dot sourceforge dot net>
118
119         * autogen.sh:
120         * configure.ac:
121         Require gettext 0.17 because older versions don't mix with libtool
122         2.2. At build time an older gettext version will still work.
123         Fixes bug #556091.
124
125 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
126
127         Patch by: 이문형 <iwings at gmail dot com>
128
129         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
130         Adds support for FD_CONNECT event (win32). See #562258.
131
132 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
133
134         * libs/gst/base/gstbasesink.c:
135           Turn comment into gtk-doc comment.
136
137 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
138
139         * libs/gst/base/gstbasetransform.c:
140         (gst_base_transform_acceptcaps):
141         Revert quick accepcaps attempt, it's not fully equivalent to the old
142         behaviour and thus causes regressions.
143
144 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
145
146         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
147         Fix memory leak.
148
149 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
150
151         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
152
153         * gst/gstregistry.c: (gst_registry_scan_path_level):
154         Reduce the number of stat() calls for every file from three times
155         to one time. Fixes bug #560360.
156
157 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
158
159         * libs/gst/base/gstbasetransform.c:
160         (gst_base_transform_acceptcaps):
161         Rename a variable to make the code clearer.
162
163 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
164
165         * plugins/elements/gstidentity.c:
166         Don't warning on offset==-1. Taken from _check_imperfect_offset().
167
168 2008-11-21  Michael Smith <msmith@songbirdnest.com>
169
170         * plugins/elements/gstfilesrc.c:
171           Check for localhost in URI was backwards, fix it. Fixes unit test.
172
173 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
174
175         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
176         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
177         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
178         Add beginnings of a more optimized acceptcaps function than the default
179         core one.
180
181 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
182
183         * gst/gstpad.c: (gst_pad_accept_caps):
184         Avoid getting the acceptcaps function too early.
185
186 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
187
188         * tools/gst-launch.c: (event_loop):
189         Make gst-launch handle LATENCY messages and make it recalculate the
190         latency.
191
192 2008-11-20  Michael Smith <msmith@songbirdnest.com>
193
194         * plugins/elements/gstfilesrc.c:
195           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
196           out own slightly incorrect version. Fixes use of some paths on
197           win32.
198
199 2008-11-20  Michael Smith <msmith@songbirdnest.com>
200
201         * gst/gstregistrybinary.c:
202           In win32 codepath, if we fail to write the registry, create the
203           directory for it and try again, matching the behaviour in non-win32
204           codepaths.
205
206 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
207
208         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
209         Changing the render delay changes the latency and so we must post a
210         latency message.
211
212 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
213
214         * gst/gstquery.c:
215         * gst/gstquery.h:
216         Add GstQueryType for custom queries instead of having to use the
217         not-so-very-convenient registration infrastructure to register new
218         types.
219
220 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
221
222         Patch by: Andrew Feren <acferen at yahoo dot com>
223
224         * gst/gstobject.c: (gst_object_default_deep_notify):
225         Unref the GEnumClass after usage again. Fixes bug #561501.
226
227 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
228
229         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
230         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
231         (gst_bin_change_state_func):
232         * gst/gstbin.h:
233         Add do-latency signal with the old default fallback implementation. This
234         allows for custom latency calculations for when the default is not
235         sufficient.
236         API: GstBin::do-latency signal.
237
238 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
239
240         * win32/common/libgstreamer.def:
241         Add new symbols to .def file.
242
243 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
244
245         * docs/gst/gstreamer-sections.txt:
246         * gst/gstbin.c: (gst_bin_recalculate_latency),
247         (gst_bin_change_state_func):
248         * gst/gstbin.h:
249         Add method to recalculate and redistribute the latency on a bin.
250         API: gst_bin_recalculate_latency().
251
252 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
253
254         * gst/gstbuffer.h:
255         Document the free_func.
256
257 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
258
259         * libs/gst/controller/gstinterpolation.c:
260         * libs/gst/controller/gstlfocontrolsource.c:
261         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
262         as it is mapped to a cast on non-win32 platforms.
263
264 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
265
266         * libs/gst/controller/gstcontroller.c:
267         * libs/gst/controller/gstcontrollerprivate.h:
268           Keep last-value and only call set_property if value has changed. This
269           supresses all the g_object_notifies we would trigger otherwise. It
270           also allows the user to chage the value while there is no controller
271           change.
272
273 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
274
275         * gst/gstvalue.c:
276           Don't crash if either of the string GValues is empty.
277
278 2008-11-17  Andy Wingo  <wingo@pobox.com>
279
280         * tools/gst-inspect.c (print_all_uri_handlers): New function,
281         prints a summary of what URI schemes are supported by what
282         elements.
283         (main): Plumb in support for --uri-handlers or -u, and fix the
284         argc check for -a and -u.
285
286 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
287
288         * gst/gstutils.h:
289         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
290         conversion functions.
291
292 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
293
294         * gst/gstbuffer.c: (gst_buffer_finalize):
295         Avoid costly typechecking for trivially correct pointers.
296
297         * gst/gstpoll.c: (gst_poll_wait):
298         Add some G_LIKELY here and there.
299
300         * libs/gst/base/gstadapter.c: (gst_adapter_push):
301         Add some debug info.
302
303 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
304
305         * docs/random/wtay/poll-timeout:
306         Small tweaks.
307
308 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
309
310         * tests/old/testsuite/caps/intersection.c: (main):
311         * tests/old/testsuite/plugin/loading.c: (main):
312         Remove references to deprecated API g_mem_chunk*.
313         Fixes #560442.
314
315 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
316
317         * tools/gst-inspect.c: (main):
318         Add --plugin option. Fixes #560301.
319
320 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
321
322         * docs/random/wtay/poll-timeout:
323         Quick braindump for a possible (not totally verified) atomic case.
324
325 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
326
327         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
328         (gst_registry_binary_initialize_magic),
329         (gst_registry_binary_write_cache),
330         (gst_registry_binary_check_magic):
331         * gst/gstregistrybinary.h:
332         Don't write and check a CRC for the binary registry file. It's
333         guaranteed that the registry is completely written (it's first written
334         to a temporary file and then moved) and if the registry was corrupted
335         by some hardware failure we would have bigger problems.
336
337         Bump binary registry version to 0.10.21.1 for this as it's an
338         incompatible change and to ensure that the registry gets rebuild
339         after the update.
340
341         This saves some milliseconds for reading/writing the registry.
342         Fixes bug #560399.
343
344 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
345
346         * docs/random/wtay/poll-timeout:
347         Some pseudo code for how we could implement clock timeouts with GstPoll.
348
349 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
350
351         * plugins/elements/gstfilesink.c:
352           Update Author string to match others.
353
354 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
355
356         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
357         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
358         being fixed and inline the trivial check.
359
360 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
361
362         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
363         (gst_caps_merge_structure), (gst_caps_get_structure),
364         (gst_caps_copy_nth), (gst_caps_set_simple),
365         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
366         (gst_caps_is_equal_fixed), (gst_caps_intersect),
367         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
368         (gst_caps_to_string):
369         Callgrind micro optimisations.
370         Avoid array bounds checks and force inline of trivial function.
371
372         * gst/gstobject.c: (gst_object_set_name_default):
373         -1 is equivalent to letting glib to the strlen but then there is more
374         room for optimisations and it's not our fault.
375
376         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
377         no need to clear the array, we're cool.
378
379         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
380         The most common _is_fixed() check is done on fundamental glib base
381         types so we check this first instead of doing a huge amount of
382         useless GST_TYPE_ARRAY calls.
383
384 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
385
386         * gst/gstevent.h:
387         Add a SKIP seek flag for use with advanced trickmodes.
388         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
389
390 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
391
392         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
393         No need to memset, we can clear the value ourselves.
394
395         * gst/gstvalue.c: (gst_type_is_fixed),
396         (gst_value_get_compare_func):
397         Some optimisations from a few callgrind sessions:
398         When checking if a type is fixed, check for trivial fundamental types
399         first before checking types for which we need to get the type followed
400         by the heavy duty type checks, this reduces the amount of
401         g_type_fundamental() calls a lot.
402         When getting the compare function, first check for our registered types.
403         If that fails, do the heavy duty g_type_is_a() checks, reduces the
404         amount of g_type_is_a() considerably.
405
406 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
407
408         * docs/design/part-TODO.txt:
409         Mumble something about removing GstXML.
410
411 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
412
413         * gst/gstbin.c: (gst_bin_handle_message_func):
414         Get the seqnum before we dispose the message.
415
416 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
417
418         * docs/design/part-TODO.txt:
419         Refer to the framestepping document.
420
421 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
422
423         * gst/gstbin.c: (bin_handle_async_start),
424         (gst_bin_handle_message_func), (gst_bin_query):
425         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
426         (gst_base_sink_event), (gst_base_sink_change_state):
427         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
428         (gst_base_src_loop), (gst_base_src_change_state):
429         Copy seqnums from events to messages so that they can all be related
430         back to eachother.
431
432 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
433
434         * tools/gst-launch.c: (event_loop):
435         Print the message seqnums.
436
437 2008-11-04  Andy Wingo  <wingo@pobox.com>
438
439         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
440
441 2008-11-04  Andy Wingo  <wingo@pobox.com>
442
443         Add sequence numbers to events and messages. See #559250.
444
445         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
446         API: New functions.
447
448         * gst/gstevent.h:
449         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
450         events with a new sequence number, and copy it when copying.
451         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
452         an event's sequence number.
453
454         * gst/gstmessage.h:
455         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
456         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
457         so with messages.
458
459         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
460
461 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
462
463         * docs/manual/advanced-position.xml:
464         * docs/manual/basics-bins.xml:
465         * docs/manual/basics-bus.xml:
466         * docs/manual/basics-pads.xml:
467         * docs/manual/intro-gstreamer.xml:
468         * docs/manual/intro-preface.xml:
469         Some Application Development Manual fixes thanks to
470         Andrew Feren. Fixes #558459.
471
472 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
473
474         * gst/gstregistrybinary.c:
475           Don't bother with the GTimer if we don't output the results.
476
477 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
478
479         Patch by: David Schleef  <ds@schleef.org>
480
481         * libs/gst/net/Makefile.am:
482         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
483
484 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
485
486         * gst/gstregistrybinary.c:
487           Oh my, studip, stupid me. Remove double stat() call.
488
489 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
490
491         * gst/gstpreset.c:
492           Use g_unlink instead of unlink.
493
494         * gst/gststructure.c:
495           Use glib type.
496
497         * gst/gstutils.c:
498           Add a FIXME:.
499
500         * gst/gsttaglist.c:
501         * gst/gsttypefind.c:
502         * gst/gstvalue.c:
503           Formatting & whitespaces.
504
505 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
506
507         * plugins/elements/gstidentity.c:
508           Doc typo. Use return value of parent_class->event.
509   
510         * plugins/elements/gsttypefindelement.c:
511           Chain up at the end for consistency.
512   
513 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
514
515         * docs/Makefile.am:
516         * docs/gst/gstreamer-docs.sgml:
517         * docs/gst/gstreamer-sections.txt:
518         * docs/gst/running.xml:
519         * docs/libs/gstreamer-libs-docs.sgml:
520           Change to xinclude based build - its faster and easier to maintain.
521
522 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
523
524         * gst/gstregistrybinary.c:
525         * gst/gstregistryxml.c:
526           Use g_unlink() as none of these are directories.
527
528 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
529
530         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
531         Some more comments.
532
533 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
534
535         * libs/gst/base/gstbasetransform.c:
536         (gst_base_transform_find_transform), (gst_base_transform_getrange):
537         If we have a fixate function, call it even if we already have fixed caps
538         because the subclass might add some caps. Makes audioconvert add a
539         default channel layout.
540
541 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
542
543         * libs/gst/base/gstbasetransform.c:
544         (gst_base_transform_prepare_output_buffer),
545         (gst_base_transform_getrange):
546         Clear the output buffer variable.
547         Cleanups to the error path in the getrange function.
548         Fixes #557649.
549
550 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
551
552         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
553         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
554         Use gst_buffer_try_new_and_alloc() and handle errors instead of
555         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
556         be allocated.
557
558 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
559
560         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
561         Set the last_stop to a more meaningful position when configuring the
562         segment. ie. the start/stop of the segment or clipped against the
563         updated segment boundaries.
564
565         * tests/check/gst/gstsegment.c: (GST_START_TEST):
566         Add some unit tests for the last_stop.
567
568 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
569
570         * libs/gst/base/gstbytereader.c:
571         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
572         copies of them.
573
574 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
575
576         * docs/gst/gstreamer-sections.txt:
577         * gst/gstutils.h:
578         API: Move float endianness conversion macros from libgstfloatcast
579         to core as it's useful in general, even in core. Fixes bug #555196.
580         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
581         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
582         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
583
584         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
585         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
586         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
587         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
588
589 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
590
591         * docs/libs/gstreamer-libs-sections.txt:
592         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
593         (gst_byte_reader_peek_data):
594         * libs/gst/base/gstbytereader.h:
595         * win32/common/libgstbase.def:
596         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
597         to get a pointer to the data at the current position and have
598         a guaranteed size.
599
600 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
601
602         * configure.ac:
603         Fix a bug in the output of the configure script summary
604         when --gst-disable-registry is supplied
605
606 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
607
608         * libs/gst/base/gstbitreader.c:
609         * libs/gst/base/gstbytereader.c:
610         Fix the names of 2 functions in the docs strings.
611
612 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
613
614         * libs/gst/base/gstbasetransform.c:
615         (gst_base_transform_prepare_output_buffer),
616         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
617         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
618         refcount problems as seen in banshee and maybe also in farsight2.
619         Remove atomic int now that we need to take the lock anyways.
620
621 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
622
623         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
624         (gst_base_sink_default_prepare_seek_segment),
625         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
626         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
627         (gst_base_sink_query):
628         Implement more seeking in pull mode.
629         Use pad convert functions to convert position to the requested format.
630         Fix position/duration reporting in pull mode.
631         Implement position and duration reporting in other formats than time.
632
633         * libs/gst/base/gstbasesink.h:
634         Add member to keep track of when the segment is playing.
635
636 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
637
638         * gst/gstpad.c: (gst_pad_configure_src):
639         When we use gst_pad_alloc_buffer() without wanting to set the caps we
640         also don't need to check if the caps are compatible because the caller
641         presumably is going to perform its own custom checks. Fixes some cases
642         where basetransform elements would error out when it was not needed.
643
644 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
645
646         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
647         Update comment.
648
649         * libs/gst/base/gstbasetransform.c:
650         (gst_base_transform_handle_buffer),
651         (gst_base_transform_reconfigure):
652         Add some debug info.
653
654         * win32/common/libgstbase.def:
655         Add new method.
656
657 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
658
659         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
660           Remove duplicated assignment and log a message in failure case.
661
662 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
663
664         Patch by: Dig Ge <dig.ge.cn at gmail com>
665
666         * tests/examples/helloworld/helloworld.c: (main):
667           Fix copy'n'paste bug in hello world example (#556900).
668
669 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
670
671         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
672         (gst_base_sink_query):
673         Query the total number of bytes when activating the pad in pull mode.
674         Implement duration query in pull mode by using the installed pad convert
675         function to convert from bytes to the requested format.
676
677 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
678
679         * docs/libs/gstreamer-libs-sections.txt:
680         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
681         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
682         (gst_base_sink_event), (gst_base_sink_perform_seek),
683         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
684         (gst_base_sink_send_event), (gst_base_sink_change_state):
685         * libs/gst/base/gstbasesink.h:
686         Add method to commit the state in subclasses.
687         Refactor the flush_start and flush_stop code because we need it for
688         flushing while seeking too.
689         Implement the beginnings of seeking in pull mode.
690         Use the segment last_stop field for the pulling offset.
691         Fix the pause method in pull mode.
692         Configure the segment to BYTES for pull mode.
693         API: GstBaseSink::gst_base_sink_do_preroll()
694
695 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
696
697         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
698         Update some docs.
699
700 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
701
702         * gst/gstquark.c: (_priv_gst_quarks_initialize):
703           Fix printf format warning.
704
705 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
706
707         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
708         Fix flow aggregation of tee. Error out immediately for all flow returns
709         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
710         and return OK if at least one pad is linked.
711
712         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
713         and otherwise returned the flow return of the last pad, which is wrong.
714         
715         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
716         (GST_START_TEST), (tee_suite):
717         Add unit tests for the flow aggregation.
718
719 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
720
721         * docs/design/part-TODO.txt:
722         Remove item from the todo list because it was fixed with the latency
723         state change rewrites.
724
725         * docs/design/part-seeking.txt:
726         * docs/design/part-segments.txt:
727         Update some docs.
728
729         * gst/gstevent.c: (gst_event_new_new_segment_full),
730         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
731         (gst_event_parse_buffer_size), (gst_event_new_qos),
732         (gst_event_parse_qos), (gst_event_new_seek),
733         (gst_event_parse_seek), (gst_event_new_latency),
734         (gst_event_parse_latency):
735         Use quarks to construct and parse events.
736
737         * gst/gstquark.c: (_priv_gst_quarks_initialize):
738         * gst/gstquark.h:
739         Add some more quarks to the table.
740         Emit a warning when the quark tables are not in sync.
741
742         * tests/check/gst/gstbus.c: (GST_START_TEST):
743         Add an assert.
744
745 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
746
747         * plugins/elements/Makefile.am:
748         * plugins/indexers/Makefile.am:
749           Don't install static libs for plugins. Fixes #550851 for core.
750
751 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
752
753         * gst/gstbus.c: (gst_bus_source_finalize),
754         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
755         (gst_bus_enable_sync_message_emission),
756         (gst_bus_disable_sync_message_emission),
757         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
758         Fix deadlock, g_source_get_id() cannot be called in finalize.
759         Keep track of the watch source by keeping a pointer to the source object
760         instead.
761         Use the bus lock to protect access to the pointer to the current
762         watch source.
763
764 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
765
766         Base on Patch by: Olivier Crete <tester at tester dot ca>
767
768         * gst/gstbus.c: (gst_bus_source_finalize),
769         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
770         Only allow one bus watch to be set at a time. This is necessary
771         because the dispatcher pops the message from the bus and the second
772         watcher will then get NULL or the next message (and the first won't
773         get this next message then, etc). If more than one "watcher" is
774         required signal watches should be used. Fixes bug #526044.
775
776 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
777
778         * tools/gst-launch.c:
779         Change the printing of the 'buffering...' output to avoid putting
780         a \r in a translateable string (flagged by the TP).
781
782 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
783
784         * gst/gstxml.c:
785         Clarify that the save_thyself() and restore_thyself() virtual
786         functions of GstObject need to be overriden, not
787         gst_object_(save|restore)_thyself() which is impossible.
788         Fixes bug #555700.
789
790 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
791
792         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
793         Revert a patch from 21 months ago that broke caps negotiation in pull
794         mode. Basically, having a buffer pass over a pad will trigger the
795         setcaps function when caps change, just like in push mode.
796
797 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
798
799         * docs/design/part-negotiation.txt:
800         Update the docs some more.
801
802         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
803         If we pull a buffer with non-trivial caps, suggest those caps with the
804         max probability.
805
806 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
807
808         * docs/design/part-TODO.txt:
809         Add another limitation of pad-blocking with segment seeks not pushing
810         EOS events.
811
812 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
813
814         * win32/common/libgstbase.def:
815         * win32/common/libgstreamer.def:
816         Add new symbols to the win32 defs files
817
818 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
819
820         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
821         (gst_bin_handle_message_func):
822         The message src can be NULL, don't try to print the object names in that
823         case.
824
825         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
826         Add some more debug info.
827
828         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
829         (GST_START_TEST):
830         Add some debug.
831         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
832         scheduling modes.
833
834 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
835
836         * docs/design/part-negotiation.txt:
837         Small doc update.
838
839         * docs/libs/gstreamer-libs-sections.txt:
840         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
841         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
842         (gst_base_sink_init), (gst_base_sink_set_blocksize),
843         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
844         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
845         (gst_base_sink_loop), (gst_base_sink_pad_activate),
846         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
847         (gst_base_sink_change_state):
848         * libs/gst/base/gstbasesink.h:
849         Add blocksize property and methods to control the amount of data
850         to pull.
851         Negotiate first before activating upstream in pull mode so that they can
852         negotiate themselves.
853         When we operate in pull mode, we only accept the caps that we
854         negotiated.
855         Make the sink go ASYNC to PAUSED, like all other sinks.
856         API: GstBaseSink::gst_base_sink_set_blocksize()
857         API: GstBaseSink::gst_base_sink_get_blocksize()
858         API: GstBaseSink::blocksize
859
860         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
861         (gst_base_src_set_live), (gst_base_src_is_live),
862         (gst_base_src_set_format), (gst_base_src_query_latency),
863         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
864         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
865         (gst_base_src_set_property), (gst_base_src_get_property):
866         * libs/gst/base/gstbasesrc.h:
867         Add typechecking in public API functions.
868         Add methods to control the blocksize in subclasses.
869         API: GstBaseSrc::gst_base_src_set_blocksize()
870         API: GstBaseSrc::gst_base_src_get_blocksize()
871
872 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
873
874         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
875         (buffer_probe), (event_probe), (GST_START_TEST):
876         We now see 3 events go through our pad, since basesink now sends
877         upstream latency events.
878
879 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
880
881         * gst/gstpipeline.c: (gst_pipeline_change_state):
882         Release the object lock before trying to flush the bus.
883
884 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
885
886         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
887         Forward LATENCY events upstreams so that elements know about the total
888         pipeline latency. Fixes #555307.
889
890 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
891
892         * plugins/elements/gstqueue.c:
893         Allow through queries when we don't know how
894         to adjust them (not TIME or BYTES), as otherwise it's
895         not possible to query the current position in order
896         to seek in other formats at all.
897
898 2008-10-08  Andy Wingo  <wingo@pobox.com>
899
900         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
901
902 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
903
904         * gst/gstghostpad.c:
905         * gst/gstghostpad.h:
906         Unbreak -good build, private is a reserved c++ keyword.
907
908 2008-10-08  Andy Wingo  <wingo@pobox.com>
909
910         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
911         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
912         removal: re-add GST_GHOST_PAD_CAST to the header.
913
914         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
915         (GstGhostPadClass): Publically expose these structures so as to
916         allow easy subclassing from C. Hide the member data behind a
917         private opaque data pointer.
918
919         * gst/gstghostpad.c: Adapt to store instance data in the type
920         instance's private data region, not in the public struct.
921
922 2008-10-08  Andy Wingo  <wingo@pobox.com>
923
924         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
925         template via g_object_get(), be sure to unref it.
926
927         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
928
929 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
930
931         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
932         If we can't get a cache file don't try to save something to it.
933         Dereferencing NULL pointers usually isn't a good idea.
934
935 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
936
937         * tests/check/Makefile.am:
938         * tests/check/gst/gstabi.c:
939         * tests/check/gst/struct_sparc.h:
940         * tests/check/libs/libsabi.c:
941         * tests/check/libs/struct_sparc.h:
942         Add Sparc ABI checks
943
944         * tests/check/gst/gstvalue.c: (GST_START_TEST):
945         Cast signed integer to unsigned to avoid a compiler warning.
946
947 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
948
949         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
950         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
951         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
952         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
953         (gst_byte_reader_peek_int24_be):
954         Use new GST_READ_UINT24_(LE|BE) macros.
955
956 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
957
958         * docs/gst/gstreamer-sections.txt:
959         * gst/gstutils.h:
960         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
961         as it's too easy to break the ISO C strict aliasing rules with simple
962         casts to the corresponding type and this would introduce hard to debug
963         bugs. Fixes bug #545714.
964
965         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
966
967 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
968
969         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
970         * gst/gstghostpad.c: (gst_ghost_pad_construct):
971           Add 'Since' bits to gtk-doc chunks for new API.
972
973 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
974
975         * docs/gst/gstreamer-sections.txt:
976         Fix documentation
977
978 2008-10-06  Andy Wingo  <wingo@pobox.com>
979
980         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
981         that will be called on the malloc_data to free it. Basically a way
982         to avoid subclassing when all you need is a different free
983         function, i.e. free() instead of g_free().
984
985         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
986         calling the free function.
987         (gst_buffer_init): Initialize the free function to g_free.
988
989 2008-10-06  Andy Wingo  <wingo@pobox.com>
990
991         * gst/gstghostpad.h:
992         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
993         finishes the initialization of ghost pad. Useful for language
994         bindings and subclassers of GstGhostPad. Fixes #539108.
995         (gst_ghost_pad_new_full): Use the new constructor.
996
997 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
998
999         Base on Patch by: Olivier Crete <tester at tester dot ca>
1000
1001         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1002         (gst_bin_remove_func), (update_degree),
1003         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1004         Keep track of pads that are being linked/unlinked and resync the state
1005         changes.
1006
1007         * gst/gstpad.c: (gst_pad_get_direction),
1008         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1009         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1010         (gst_pad_link_prepare), (gst_pad_link),
1011         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1012         (gst_pad_check_pull_range), (gst_pad_get_range),
1013         (gst_pad_pull_range):
1014         Some code cleanups, use macros to check pad direction.
1015         Don't need to take the lock on the pad direction.
1016         Post structure change when pads are linked/unlinked.
1017         Change some checks into _return_if_fail().
1018
1019         * tests/check/gst/gstbin.c:
1020         (test_link_structure_change_state_changed_sync_cb),
1021         (GST_START_TEST), (gst_bin_suite):
1022         Add testcase for pad link/unlinke resync during a state change.
1023         Fixes #510354.
1024
1025 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1026
1027         * docs/gst/gstreamer-sections.txt:
1028         * gst/gstmessage.c: (gst_message_new_structure_change),
1029         (gst_message_parse_structure_change):
1030         * gst/gstmessage.h:
1031         Implement STRUCTURE_CHANGED messages. These messages will be used to
1032         signal the parent bin of link/unlink operations that could require a
1033         resync when doing a state change. See ##510354.
1034         API: gst_message_new_structure_change()
1035         API: gst_message_parse_structure_change()
1036
1037 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1038
1039         * gst/gstquark.c:
1040         * gst/gstquark.h:
1041         Add some more quarks for new message. See #510354.
1042
1043 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1044
1045         * docs/libs/gstreamer-libs-docs.sgml:
1046         * docs/libs/gstreamer-libs-sections.txt:
1047         * libs/gst/base/Makefile.am:
1048         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1049         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1050         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1051         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1052         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1053         (gst_bit_reader_skip_to_byte):
1054         * libs/gst/base/gstbitreader.h:
1055         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1056         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1057         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1058         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1059         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1060         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1061         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1062         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1063         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1064         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1065         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1066         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1067         * libs/gst/base/gstbytereader.h:
1068         * tests/check/Makefile.am:
1069         * tests/check/libs/bitreader.c: (GST_START_TEST),
1070         (gst_bit_reader_suite):
1071         * tests/check/libs/bytereader.c: (GST_START_TEST),
1072         (gst_byte_reader_suite):
1073         API: Add bit reader and byte reader classes, including documentation
1074         and an extensive unit test suite. Fixes bug #553554.
1075
1076 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1077
1078         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1079         (gst_base_sink_query):
1080         Improve position reporting while flushing and other intermediate state
1081         changes. Fixes #553874.
1082
1083 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1084
1085         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1086
1087         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1088         Original patch by : Simon Descaries
1089         Fix small refount leak in caps compatibility check.
1090         Fixes #551676.
1091
1092 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1093
1094         * docs/pwg/advanced-request.xml:
1095           Fix 0.8 api usage in example. Fixes #554561
1096
1097         * docs/pwg/appendix-porting.xml:
1098           Change 0.9 to 0.10 here.
1099
1100 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1101
1102         * docs/manual/basics-data.xml:
1103           Change "event-event interaction" to "element-element interaction".
1104           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1105           updates.
1106
1107 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1108
1109         * configure.ac:
1110         Back to development -> 0.10.21.1
1111
1112 === release 0.10.21 ===
1113
1114 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1115
1116         * configure.ac:
1117           releasing 0.10.21, "Take These Things From Me"
1118
1119 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1120
1121         * configure.ac:
1122         0.10.20.4 pre-release
1123
1124 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1125
1126         * libs/gst/base/gstbasetransform.c:
1127         * plugins/elements/gstcapsfilter.c:
1128         * tests/check/Makefile.am:
1129         * tests/check/elements/.cvsignore:
1130         * tests/check/elements/capsfilter.c:
1131         Fix assertion in basetransform when the subclass chooses not to
1132         allocate a buffer in prepare_buffer(), and make capsfilter error out
1133         cleanly if requested to apply caps that don't completely specify the
1134         buffer. Fixes #551509
1135
1136 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1137
1138         * libs/gst/base/gstbasetransform.c:
1139         (gst_base_transform_prepare_output_buffer):
1140         Take new caps ref because our old one might have been gone when the
1141         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1142
1143 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1144
1145         * configure.ac:
1146           Do not probe availability of check unit test library when cross
1147           compiling, as test would not work anyway. Also cleanup verbose output
1148           of the check test. Fixes #551952.
1149
1150 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1151
1152         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1153
1154         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1155         Avoid leaking the parent ref when we fail changing the state of the
1156         element using gst_element_sync_state_with_parent(). Fixes #551978.
1157
1158 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1159
1160         * docs/manual/intro-motivation.xml::
1161           Remove some bits that no longer apply, update others (#551642).
1162
1163 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1164
1165         * configure.ac:
1166         0.10.20.2 pre-release
1167
1168         * po/LINGUAS:
1169         * po/id.po:
1170         * po/pt_BR.po:
1171
1172         New translations.
1173
1174 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1175
1176         * win32/common/config.h.in:
1177           Add GST_DATADIR, hard-code cpu to x86.
1178
1179         * win32/common/libgstreamer.def:
1180           Spaces to tabs.
1181
1182 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1183
1184         * gst/gsttaglist.h:
1185           Fix Since: markers for new geo tags.
1186
1187 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1188
1189         * gst/gsttaglist.h:
1190           Fix actual tag name define after renaming from altitude to elevation.
1191
1192 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1193
1194         * gst/gstpad.c: (add_unref_pad_to_list),
1195         (gst_pad_get_internal_links_default):
1196         Add fallback when calling the deprecated function on an element that
1197         implements the new internal_link handler.
1198
1199 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1200
1201         * docs/gst/gstreamer-sections.txt:
1202         * gst/gsttaglist.c:
1203         * gst/gsttaglist.h:
1204           Add new tags for geo location and clarify purpose of existing location
1205           tag. Fixes #481169
1206
1207 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1208
1209         Patch by: Olivier Crete <tester at tester dot ca>
1210
1211         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1212         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1213         Use thread-safe internal links iterator. Fixes #549504.
1214
1215 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1216
1217         Based on patch by: Olivier Crete <tester at tester dot ca>
1218
1219         * docs/gst/gstreamer-sections.txt:
1220         * win32/common/libgstreamer.def:
1221         * gst/gstpad.c: (gst_pad_init),
1222         (gst_pad_set_iterate_internal_links_function),
1223         (int_link_iter_data_free), (iterate_pad),
1224         (gst_pad_iterate_internal_links_default),
1225         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1226         * gst/gstpad.h:
1227         Add threadsafe replacement functions for getting internal links of an
1228         element. Deprecate the old internal links functions.
1229         API:GstPad::gst_pad_set_iterate_internal_links_function()
1230         API:GstPad::GstPadIterIntLinkFunction
1231         API:GstPad::gst_pad_iterate_internal_links()
1232         API:GstPad::gst_pad_iterate_internal_links_default()
1233
1234         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1235         (gst_proxy_pad_init):
1236         Implement threadsafe internal links.
1237
1238         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1239         Unit test for internal links on tee. See #549504.
1240
1241 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1242
1243         * tests/check/Makefile.am:
1244         libs/transform1 test requires libs/test_transform.c
1245
1246 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1247
1248         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1249         Die evil deadlock, die !
1250
1251 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1252
1253         * gst/gstutils.c: (gst_element_get_compatible_pad):
1254         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1255         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1256         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1257         not steal the refcount of the given caps as stated.
1258
1259         REVERT THIS COMMIT ONCE FIXED !
1260         REVERT THIS COMMIT ONCE FIXED !
1261         REVERT THIS COMMIT ONCE FIXED !
1262         REVERT THIS COMMIT ONCE FIXED !
1263         REVERT THIS COMMIT ONCE FIXED !
1264         REVERT THIS COMMIT ONCE FIXED !
1265
1266 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1267
1268         * gst/gstiterator.c:
1269         * gst/gstiterator.h:
1270         After 3 years it's about time to revise the documentation of the
1271         iterator objects.
1272
1273 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1274
1275         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1276         Make the internal links function less thread-unsafe and add some
1277         comments, dunno why.
1278
1279 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1280
1281         * gst/gst_private.h:
1282           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1283           build with --disable-gst-debug.
1284
1285 2008-08-28  David Schleef  <ds@schleef.org>
1286
1287         * gst/gstpadtemplate.c: Revert last change, since it breaks
1288           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1289           but shouldn't be enabled until we've released fixed versions
1290           of -good and -ffmpeg.
1291
1292 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1293
1294         * gst/gstobject.c:
1295           Put the gst_object_get_name() back in.
1296
1297 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1298
1299         * gst/gstpadtemplate.c:
1300           The old behaviour was that gst_pad_template_new() takes ownership of
1301           the caps. As we now call g_object_new() which calls g_object_set() and
1302           which copies the caps, we have to unref them to not leak them. Fixes
1303           make valgrid for me.
1304
1305 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1306
1307         * gst/gsturi.c:
1308           Don't segfault on input like "tel:+1-123-555-1234".
1309
1310 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1311
1312         * gst/gstobject.c:
1313           Due to popular request also include ObjectType in
1314           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1315
1316 2008-08-26  David Schleef  <ds@schleef.org>
1317
1318         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1319           src_val must be positive, because that's not a requirement.
1320           This causes problems with converting negative granulepos
1321           values for Dirac.
1322         * gst/gstquery.c: Same, gst_query_new_convert().
1323
1324 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1325
1326         * gst/gstclock.c: (gst_clock_add_observation):
1327         Add some more debugging to the clock slaving code.
1328
1329         * win32/common/libgstbase.def:
1330         Add new basetransform method.
1331
1332 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1333
1334         * gst/gstbin.c: (gst_bin_element_set_state):
1335         Take the (recursive) state lock between getting the locked state of an
1336         element and changing the element state. This allows the application to
1337         lock an element's state and then change its state without races.
1338
1339 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1340
1341         * gst/gstbin.c: (gst_bin_element_set_state):
1342         When an element is in the locked state we still want to update the
1343         base_time of the element.
1344
1345 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1346
1347         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1348         Use the result from gst_pad_set_caps() instead of assuming the element
1349         always accepted the caps computed by the default negotiate function.
1350
1351 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1352
1353         * docs/libs/gstreamer-libs-sections.txt:
1354         * libs/gst/base/gstbasetransform.c:
1355         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1356         (gst_base_transform_chain), (gst_base_transform_suggest),
1357         (gst_base_transform_reconfigure):
1358         * libs/gst/base/gstbasetransform.h:
1359         Implement method for reconfiguring basetransform.
1360         API: GstBaseTransform::gst_base_transform_reconfigure()
1361
1362 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1363
1364         patch by: Murray Cumming <murrayc@murrayc.com>
1365
1366         * gst/gstutils.c:
1367           Mention that this is just like gst_buffer_merge() but with extra
1368           unreffing for C coders. Advise language bindings not to wrap it.
1369           Fixes Bug #533856.
1370           
1371           Also fix file comment.
1372
1373 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1374
1375         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1376
1377         * plugins/elements/gstfakesink.c:
1378         * plugins/elements/gstfakesrc.c:
1379           Call super::event() when not handling it. Fixes #544855.
1380
1381 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1382
1383         Patch by: Alessandro Decina <alessandro@nnva.org>
1384         * plugins/elements/gstfilesrc.c:
1385           Use 64 bit variants of stat functions on win32, to enable support
1386           of large files there.
1387           Fixes #547277.
1388
1389 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1390
1391         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1392         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1393         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1394         (gst_base_sink_get_position), (gst_base_sink_change_state):
1395         Improve position reporting in the flushing state.
1396         Also report the position when we are not yet prerolled but we
1397         have a newsegment event. Fixes #543444.
1398         Improve the pull-based negotiation code.
1399
1400         * tests/check/elements/fakesink.c: (GST_START_TEST),
1401         (fakesink_suite):
1402         Add testcase for position reporting while flushing in PAUSED and
1403         PLAYING.
1404
1405         * tests/check/generic/sinks.c: (GST_START_TEST):
1406         Update unit-test, we can now query the position as soon as we receive a
1407         NEWSEGMENT event.
1408
1409 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1410
1411         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1412
1413         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1414         When the subclass event handler releases the PREROLL_LOCK, we could be
1415         in the flushing state and we have to ignore the event. Fixes #548394.
1416
1417 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1418
1419         * tools/gst-launch.1.in:
1420           Document GST_REGISTRY_UPDATE environment variable.
1421
1422 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1423
1424         * libs/gst/base/gstbasetransform.c:
1425         (gst_base_transform_prepare_output_buffer):
1426         If the element is configured in passthrough mode but the
1427         prepare_output_buffer gave us a new output buffer, discard that buffer
1428         and reuse the input buffer.
1429
1430 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1431
1432         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1433
1434         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1435         (gst_tee_request_new_pad), (gst_tee_release_pad),
1436         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1437         * plugins/elements/gsttee.h:
1438         Protect pad_alloc with a new lock so that we can be sure that nothing is
1439         performing a pad_alloc when removing the pad. Fixes #547835.
1440
1441         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1442         (buffer_alloc_harness_teardown), (app_thread_func),
1443         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1444         Added testcase for shutdown race.
1445
1446 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1447
1448         * gst/gstpad.h:
1449         Add doc
1450
1451 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1452
1453         * libs/gst/base/gstbasetransform.c:
1454         (gst_base_transform_prepare_output_buffer),
1455         (gst_base_transform_buffer_alloc):
1456         Go over the buffer_alloc function again and make sure we always end up
1457         allocating a buffer.
1458         Add some more docs.
1459         Avoid doing pad alloc when we have a pending suggestion because we
1460         cannot yet deal with changing caps in that case. Fixes #547728
1461
1462 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1463
1464         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1465
1466         * docs/manual/advanced-clocks.xml:
1467         * docs/manual/clocks.png:
1468         * docs/manual/diagrams-clocks.svg:
1469           Add one more image showing different times together with a describing
1470           paragraph. Fixes #547729.
1471
1472 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1473
1474         * win32/common/libgstbase.def:
1475         Add new method.
1476
1477 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1478
1479         * libs/gst/base/gstbasetransform.c:
1480         (gst_base_transform_transform_caps),
1481         (gst_base_transform_prepare_output_buffer),
1482         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1483         Don't overwrite the outsize when calculating the expected size of a new
1484         buffer because we still need it in case we cannot process the new
1485         buffer.
1486         When converting the size of the new buffer to an upstream size, actually
1487         use the expected size of the buffer, not some other random value.
1488         Use an atomic int to signal that a new upstream caps suggestion is
1489         available.
1490         When we can convert the current buffer to a new format, check if the
1491         buffer size is of the expected size and allocate a new buffer of the
1492         expected size when this is not the case. Fixes #546883.
1493
1494         * tests/check/libs/transform1.c: (GST_START_TEST):
1495         remove ifdeffed code from the unit test.
1496
1497 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1498
1499         * pkgconfig/gstreamer-uninstalled.pc.in:
1500         * pkgconfig/gstreamer.pc.in:
1501           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1502           called gstcontroller-0.10.
1503
1504 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1505
1506         * gst/gstchildproxy.h:
1507         * gst/gstpreset.h:
1508           Remove double interface from doc-string.        
1509
1510 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1511
1512         * libs/gst/base/gstbasesrc.c:
1513         * libs/gst/base/gstbasetransform.c:
1514           Fix headings in docs and gtk-doc warnings.
1515
1516 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1517
1518         * gst/gstregistrybinary.c:
1519           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1520           libc.
1521           Fixes #544776.
1522
1523 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1524
1525         * libs/gst/base/gstbasetransform.c:
1526         (gst_base_transform_buffer_alloc):
1527         Fix a "may be used unitialized" warning.
1528
1529 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1530
1531         * docs/gst/gstreamer-sections.txt:
1532         * gst/gstpreset.h:
1533           Document preset-iface vmethods.
1534
1535 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1536
1537         * docs/manual/advanced-interfaces.xml:
1538           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1539           only used to discover devices.
1540
1541 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1542
1543         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1544
1545         * gst/gst.c: (init_pre):
1546         Make sure gettext returns translations in UTF-8 encoding rather
1547         than in the current locale encoding (#546822).
1548
1549 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1550
1551         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1552         Fix subset test.
1553
1554         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1555         Improve unit test subset tests and add a testcase for the subset failure
1556         cases.
1557
1558         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1559         Improve subtraction unit test.
1560
1561 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1562
1563         * plugins/elements/gsttee.c:
1564           Unlock, instead of locking again.
1565
1566 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1567
1568         * gst/gstpad.h:
1569         Clarify the docs a bit more.
1570
1571 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1572
1573         * tests/examples/metadata/read-metadata.c:
1574           Don't leak old taglist.
1575
1576 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1577
1578         Patch by: Olivier Crete <tester at tester dot ca>
1579
1580         * gst/gststructure.c:
1581         (gst_structure_fixate_field_nearest_fraction):
1582         Avoid overflows in fixation code when dealing with MAXINT values, which
1583         v4l2src seems to do.
1584         Fixes #546328.
1585
1586         * tests/check/gst/gststructure.c: (GST_START_TEST):
1587         Make a unit test to check the fix. 
1588
1589 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1590
1591         * plugins/elements/gstcapsfilter.c: (copy_func),
1592         (gst_capsfilter_set_property):
1593         Use new caps suggestion feature of basetransform to request a caps
1594         negotiation upstream.
1595
1596 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1597
1598         * docs/libs/gstreamer-libs-sections.txt:
1599         Add new function:
1600         API: GstBaseTransform::gst_base_transform_suggest()
1601
1602         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1603         (gst_base_transform_init), (gst_base_transform_transform_caps),
1604         (gst_base_transform_transform_size),
1605         (gst_base_transform_configure_caps),
1606         (gst_base_transform_can_transform),
1607         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1608         (gst_base_transform_prepare_output_buffer),
1609         (gst_base_transform_buffer_alloc),
1610         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1611         (gst_base_transform_chain), (gst_base_transform_activate),
1612         (gst_base_transform_set_passthrough),
1613         (gst_base_transform_is_passthrough),
1614         (gst_base_transform_set_in_place),
1615         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1616         (gst_base_transform_set_qos_enabled),
1617         (gst_base_transform_is_qos_enabled),
1618         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1619         (gst_base_transform_reconfigure):
1620         * libs/gst/base/gstbasetransform.h:
1621         Rewrite of basetransform to perform negotiation outside of the
1622         buffer_alloc functions.  Fixes #545853.
1623
1624         * tests/check/libs/transform1.c: (GST_START_TEST),
1625         (buffer_alloc_ct2):
1626         Update unit test.
1627
1628 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1629
1630         * tests/check/gst/gstpreset.c:
1631           Only run preset tests when $HOME is writable. Preliminary fix for
1632           #545433.
1633
1634 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1635
1636         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1637         (gst_bin_change_state_func), (bin_handle_async_done),
1638         (gst_bin_handle_message_func):
1639         Fix race for bins that simulate ASYNC state changes by inserting
1640         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1641         pending ASYNC messages even when the bin does not have ASYNC children.
1642         We note detect this behaviour because we will receive an ASYNC message
1643         that is originating from the bin itself. 
1644         Fixes races with decodebin2 state changes.
1645
1646         * tests/check/gst/gstbin.c: (GST_START_TEST):
1647         Add some more debug.
1648
1649 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1650
1651         * gst/gsttaglist.c: (_gst_tag_initialize):
1652           Fix typo.
1653
1654 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1655
1656         * gst/gsttaglist.c:
1657           Argh. actually save the text before committing. Now adds
1658           gst_tag_merge_strings_with_comma() to gst_tag_register().
1659
1660 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1661
1662         * gst/gsttaglist.c:
1663         * gst/gsttaglist.h:
1664           Do as tim pointed out and actually register the new tag. Also improve
1665           te docs and use gst_tag_merge_strings_with_comma() method to allow
1666           retriving all keywords merged in one list.
1667
1668 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1669
1670         * configure.ac:
1671         * docs/gst/gstreamer.types:
1672           Revert 'accidential' change of the configure option removal. We still
1673           need to generate the types file in configure --disable-load-save.
1674
1675 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1676
1677         * docs/gst/gstreamer-sections.txt:
1678         * gst/gsttaglist.h:
1679           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1680
1681 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1682
1683         * gst/gstpadtemplate.c:
1684           (gst_pad_template_class_init), (gst_static_pad_template_get),
1685           (gst_pad_template_new), (gst_pad_template_pad_created),
1686           (gst_pad_template_set_property), (gst_pad_template_get_property):
1687           Add "name-template", "direction", "presence" and "caps" properties,
1688           so that gst_pad_template_new() is just a thin wrapper around
1689           g_object_new(), which is better for bindings. (Fixes: #539772)
1690
1691 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1692
1693         * gst/gsturi.c:
1694           Be more liberal in what URIs we accept.
1695           Do not unescape bits of the URI for no apparent reason before passing to
1696           the element. Fixes #545352.
1697
1698 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1699
1700         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1701
1702         * gst/gst.c:
1703         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1704
1705 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1706
1707         * configure.ac:
1708         * docs/gst/gstreamer-sections.txt:
1709         * docs/gst/gstreamer.types:
1710         * docs/gst/gstreamer.types.in:
1711         * gst/Makefile.am:
1712         * gst/gst.c:
1713         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1714         * gst/gstconfig.h.in:
1715         * gst/gstelement.c: (gst_element_get_index):
1716         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1717         (gst_registry_binary_load_feature),
1718         (gst_registry_binary_read_cache):
1719         * gst/gstregistryxml.c: (load_feature),
1720         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1721         * plugins/Makefile.am:
1722         * tools/gst-indent:
1723         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1724         (print_plugin_features), (print_element_features):
1725         * tools/gst-xmlinspect.c: (print_event_masks),
1726         (print_element_info):
1727         * win32/common/gstconfig.h:
1728         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1729
1730         Disabling the indexers and URI handler code will only reduce the
1731         required amount of memory by a very small amount but on the other hand
1732         requires much more maintaince work. Apart from that many places of
1733         code are broken when disabling them.
1734
1735         Disabling the enum types doesn't reduce the required amount of memory
1736         by more than a few bytes and makes it hard to fix bugs like #539772,
1737         i.e. use the enums as GObject properties.
1738
1739 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1740
1741         * docs/design/part-TODO.txt:
1742         Add some thoughts and problems with upstream renegotiation.
1743
1744 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1745
1746         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1747         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1748         Remove silly redundant debug.
1749         Add some more debug info.
1750         Clarify the docs regarding new caps received from pad_alloc.
1751
1752 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1753
1754         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1755         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1756         Make setting the caps more threadsafe.
1757
1758 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1759
1760         * docs/design/part-element-transform.txt:
1761         Update docs.
1762
1763 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1764
1765         * plugins/elements/gstqueue.c: (gst_queue_init),
1766         (gst_queue_acceptcaps):
1767         Add and use a custom acceptcaps function instead of falling back to the
1768         potentially less optimized default implementation.
1769
1770 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1771
1772         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1773           Only sanity-check the buffer size if requested_caps == buffer_caps
1774           (ie. don't take pad caps into account, they're not relevant here)
1775
1776 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1777
1778         * plugins/elements/gsttee.c:
1779         * plugins/elements/gsttee.h:
1780           Reverting as not everything is clear yet. Needs some general design
1781           work.
1782
1783 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1784
1785         * ChangeLog:
1786           ChangeLog surgery for tee commit.
1787
1788 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1789
1790         * docs/gst/gstreamer-sections.txt:
1791           Cleanup section-file.
1792
1793 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1794
1795         * plugins/elements/gsttee.c:
1796         * plugins/elements/gsttee.h:
1797           Relay tag events in tee. Fixes parts of #474016.
1798           Downgrades 3 reoccurring debugs to log.
1799
1800 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1801
1802         * configure.ac:
1803         * libs/gst/Makefile.am:
1804           Build the net library if we have winsock2.
1805
1806 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1807
1808         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1809
1810         * docs/manual/advanced-threads.xml:
1811         * docs/manual/diagrams-pipelines.svg:
1812         * docs/manual/hello-world.png:
1813         * docs/manual/linked-elements.png:
1814         * docs/manual/mime-world.png:
1815         * docs/manual/queue.png:
1816         * docs/manual/thread-buffering.png:
1817         * docs/manual/thread-synchronizing.png:
1818           Replace one diagram with two separate ones and updates others.
1819           Fixes #542401.
1820
1821 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1822
1823         * gst/gstelement.h:
1824         Fix link in documentation.
1825
1826 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1827
1828         * gst/gstmessage.c:
1829         Fix confusing documentation.
1830
1831 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1832
1833         * libs/gst/base/gstbasesrc.h:
1834         revert the changes to the header file for the ABI.
1835
1836 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1837
1838         * libs/gst/base/gstbasesrc.c:
1839         * libs/gst/base/gstbasesrc.h:
1840         Don't cache the seekable status.
1841         Fixes bug #544174
1842
1843 2008-07-24  Rene Stadler  <mail@renestadler.de>
1844
1845         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1846         code to close the pipeline graph.  This prevents the program from
1847         printing internal data flow errors.
1848
1849 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1850
1851         * docs/manual/basics-bus.xml:
1852         Correct typo. Fixes bug #544320.
1853
1854 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1855
1856         * configure.ac:
1857           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1858           Add check (taken from -base) for winsock, adds WIN32_LIBS
1859         * gst/Makefile.am:
1860           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1861           winsock.
1862           Define GST_EXPORTS when building libgstreamer (only used on win32)
1863         * gst/gst_private.h:
1864         * gst/gstinfo.h:
1865           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1866           for symbols that we need to export in both these files.
1867         * gst/gstpoll.c:
1868           Include gst_private.h higher up to avoid some compile problems on win32.
1869
1870 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1871
1872         * gst/gstvalue.c:
1873         Fix typos.
1874
1875 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1876
1877         * gst/gstcaps.c:
1878         Previous commit was wrong NULL caps does not exist
1879         and indicate an error, so also add a FIXME to
1880         gst_caps_is_equal where NULL caps are accepted.
1881
1882 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1883
1884         * gst/gstcaps.c:
1885         Allow passing of NULL to gst_caps_union
1886
1887 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1888
1889         * gst/gstghostpad.c:
1890         Add in doc that gst_ghost_pad_set_target can accept
1891         NULL to clear target
1892
1893 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1894
1895         * gst/gstplugin.c:
1896         * gst/gstregistry.c:
1897           GstRegistryPool doesn't exist; don't refer to it in docs.
1898           Don't refer to functions that don't exist in docs, it's
1899           unhelpful.
1900
1901 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1902
1903         * gst/gst.c:
1904         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1905
1906 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1907
1908         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1909
1910         * docs/pwg/building-testapp.xml:
1911         Don't use an undeclared variable in the example program.
1912         Fixes bug #542573.
1913
1914 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1915
1916         * gst/gstdebugutils.c:
1917           Squeeze ghost-pad links and remove <> from classname labels to save
1918           more horizontal space.
1919
1920 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1921
1922         * gst/gstdebugutils.c:
1923           Give request and sometimes pads a different shpe style. Condense the
1924           graphs a little more.
1925
1926 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1927
1928         * configure.ac:
1929           Don't require flex and bison if the parser is disabled.
1930
1931 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1932
1933         * libs/gst/controller/gstinterpolationcontrolsource.c:
1934         (_list_find_sorted_custom):
1935         Don't use declarations after statements.
1936
1937 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1938
1939         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1940         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1941         of the the child-added / -removed signals as GstChildProxy
1942         only supports GstObjects.
1943
1944 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1945
1946         * gst/gstdebugutils.c:
1947         Fix memleak
1948
1949 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1950
1951         Patch by: Alessandro Decina <alessandro at nnva dot org>
1952
1953         * gst/gstpoll.c:
1954         Fix "ignored return value" compiler warning with newer glibc.
1955
1956 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1957
1958         * gst/gstchildproxy.c:
1959         Fix copy&paste error in gst_child_proxy_removed() documentation.
1960
1961 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1962
1963         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1964           Print error debug message if plugin description fields that should
1965           be set are NULL.
1966
1967         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1968           Don't crash if the string to serialise is NULL (it really should
1969           not be, but apparently this used to work with the xml registry ...).
1970
1971 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1972
1973         * tools/gst-plot-timeline.py:
1974         Fix parsing of log messages
1975
1976 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1977
1978         * win32/common/libgstbase.def::
1979           Sort alphabetically so make check-exports doesn't barf.
1980
1981 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1982
1983         * gst/gstevent.c:
1984           Use gst_format_get_name() to improve debug output.
1985
1986         * gst/gstpreset.c:
1987           Remove #ifdef'ed code. Add TODO comment.
1988
1989         * gst/gstsegment.c:
1990           Add debug output to ease spotting format != segment.format assertions.
1991
1992 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1993
1994         * tests/check/libs/gdp.c: (gst_dp_suite):
1995         Also enable the GDP unit test again on PPC now that the bug
1996         is fixed.
1997
1998 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1999
2000         * libs/gst/dataprotocol/dataprotocol.c:
2001         Don't write to the same region of memory as a uint64 and uint16
2002         as this breaks strict aliasing rules and apparantly breaks on PPC
2003         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2004
2005 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2006
2007         * libs/gst/controller/gstinterpolationcontrolsource.c:
2008           Optimize list handling. Use own find function. Exploit that fact that
2009           the list is sorted. Also pass back the node before, so that we can
2010           insert quickly. Have a fast path for append.
2011
2012 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2013
2014         * docs/design/draft-framestep.txt:
2015         * docs/design/part-negotiation.txt:
2016           Fix two typos.
2017
2018 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2019
2020         * configure.ac:
2021           Show configuration sumary after configure run. Based on patch by
2022           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2023
2024 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2025
2026         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2027
2028         * docs/manual/advanced-autoplugging.xml:
2029         * docs/manual/advanced-threads.xml:
2030         * docs/manual/basics-bins.xml:
2031         * docs/manual/basics-elements.xml:
2032         * docs/manual/basics-helloworld.xml:
2033         * docs/manual/basics-pads.xml:
2034           Add scale factor for pdf output.
2035
2036         * docs/manual/intro-basics.xml:
2037           Switched sections "pads" and "bins" and added a pipeline diagram.
2038
2039         * docs/manual/intro-gstreamer.xml:
2040           Added more info on gstreamer.
2041
2042         * docs/manual/intro-motivation.xml:
2043           Commented out the whole section "current problem", which sounds
2044           historical and somehow osolete; it could be turned in a positive
2045           way and reused to improve the design principles.
2046
2047         * docs/manual/intro-preface.xml:
2048           - Update URLs to library.gnome.org. 
2049           - Do not mention GTK+ in preliminary reading (irrelevant). 
2050           - Mention Plugin Writer's Manual and further reading only in the
2051             previous section.
2052           - Added a list of most relevant GObject/glib topics.
2053
2054         * docs/manual/Makefile.am:
2055         * docs/manual/bin-element-ghost.fig:
2056         * docs/manual/bin-element-ghost.png:
2057         * docs/manual/bin-element-noghost.fig:
2058         * docs/manual/bin-element-noghost.png:
2059         * docs/manual/bin-element.fig:
2060         * docs/manual/bin-element.png:
2061         * docs/manual/filter-element-multi.fig:
2062         * docs/manual/filter-element-multi.png:
2063         * docs/manual/filter-element.fig:
2064         * docs/manual/filter-element.png:
2065         * docs/manual/gstreamer-overview.png:
2066         * docs/manual/hello-world.fig:
2067         * docs/manual/hello-world.png:
2068         * docs/manual/linked-elements.fig:
2069         * docs/manual/linked-elements.png:
2070         * docs/manual/mime-world.fig:
2071         * docs/manual/mime-world.png:
2072         * docs/manual/queue.fig:
2073         * docs/manual/queue.png:
2074         * docs/manual/simple-player.png:
2075         * docs/manual/sink-element.fig:
2076         * docs/manual/sink-element.png:
2077         * docs/manual/src-element.fig:
2078         * docs/manual/src-element.png:
2079         * docs/manual/diagrams-general.svg:
2080         * docs/manual/diagrams-pipelines.svg:
2081           Removed .fig, added .png counterpart.
2082           
2083           Fixes: #539137
2084
2085 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2086
2087         * plugins/elements/gstmultiqueue.c:
2088         * plugins/elements/gstmultiqueue.h:
2089         revert extra-size-buffers stuff, caused some race conditions
2090         and extra-size-buffers is not used anymore. Docs needs some updates
2091
2092 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2093
2094         * win32/common/config.h:
2095         * win32/common/gstenumtypes.c:
2096         * win32/common/gstenumtypes.h:
2097         * win32/common/gstversion.h:
2098           Update win32 files.
2099
2100 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2101
2102         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2103           (GST_DEBUG_BIN_TO_DOT_FILE):
2104           Add missing Since' markers to gtk-doc blurbs.
2105
2106 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2107
2108         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2109         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2110         (set_caps_1), (set_caps_ct1), (transform_ct1),
2111         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2112         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2113         (transform_size_ct2), (buffer_alloc_ct2):
2114         Add some more tests with switching caps in buffer_alloc.
2115
2116 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2117
2118         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2119         (gst_test_trans_class_init), (result_sink_chain),
2120         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2121         (gst_test_trans_push), (gst_test_trans_pop):
2122         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2123         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2124         (set_caps_1), (set_caps_ct1), (transform_ct1),
2125         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2126         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2127         (transform_size_ct2), (buffer_alloc_ct2),
2128         (gst_basetransform_suite):
2129         More tests, prepare for tests with switching caps in buffer_alloc.
2130
2131 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2132
2133         * plugins/elements/gstmultiqueue.c:
2134         * plugins/elements/gstmultiqueue.h:
2135         Fix dead-lock in underrun_cb
2136
2137 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2138
2139         * docs/design/part-states.txt:
2140         Fix device open/close docs.
2141
2142 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2143
2144         * ChangeLog:
2145           Mention bugnumber for last commit.
2146
2147 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2148
2149         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2150
2151         * docs/manual/manual.xml:
2152         - Reorganised the previous "introduction" bundle into Foreword,
2153         Introduction, and About GStreamer. The two first are <preface>
2154         docbook elements. The later is the first part of the book.
2155         - added intro-gstreamer.xml (content partially from
2156         intro-preface.xml)
2157         - moved appendix-win32.xml into appendix-integration.xml
2158
2159         * docs/manual/intro-preface.xml: gstreamer section moved...
2160         * docs/manual/intro-gstreamer.xml: ...here. new file.
2161
2162         * docs/manual/appendix-win32.xml: removed file. Content moved...
2163         * docs/manual/appendix-integration.xml: ...here.
2164         
2165         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2166         * docs/manual/appendix-checklist.xml: ...here.
2167         
2168         Fixes: 538764
2169
2170 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2171
2172         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2173
2174         * docs/manual/basics-helloworld.xml:
2175         * docs/manual/hello-world.fig:
2176           - Explicitely include glib.h.
2177           - Do not use global variables.
2178           - Use g_printerr() instead of g_print().
2179           - Minor formating/renaming to increase readibility.
2180           - Renamed new_pad() to on_pad_added()
2181           - Improved explenatory comments.
2182           - renamed ogg parser to ogg demuxer
2183           - Use "autoaudiosink" instead of "alsasink".
2184           Fixes: #538619
2185
2186 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2187
2188         * ChangeLog:
2189           Remove cvs conflict marker.
2190
2191 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2192
2193         * docs/README:
2194           Document that for plgin-docs we extraxt he short-desc from the element
2195           details.
2196
2197         * docs/design/part-states.txt:
2198           Tell that devices should be closed in PAUSED -> READY.
2199
2200         * docs/manual/README:
2201           Document how tests in the manual are handled.
2202
2203         * docs/manuals.mak:
2204           Typo in comment.
2205
2206 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2207
2208         * gst/gstbin.c: (bin_query_latency_fold):
2209         Only care about latency min and max when the sink is actually a live
2210         sink.
2211
2212 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2213
2214         * docs/design/part-block.txt:
2215         Fix typo.
2216
2217         * docs/design/part-element-transform.txt:
2218         Add notes about why transform needs to know input/output sizes.
2219         Add some issues that need to be solved.
2220         Add some more use cases.
2221
2222         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2223         (gst_test_trans_class_init), (result_sink_chain),
2224         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2225         (gst_test_trans_push), (gst_test_trans_pop):
2226         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2227         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2228         (set_caps_1), (set_caps_ct1), (transform_ct1),
2229         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2230         (gst_basetransform_suite):
2231         Add suport for different pad templates and buffer-alloc.
2232         Add more checks for caps and buffer-alloc.
2233         Add checks for proxy buffer alloc.
2234         Add unit test for copy transform.
2235
2236 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2237
2238         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2239
2240         * docs/manual/appendix-integration.xml:
2241         * docs/manual/appendix-licensing.xml:
2242         * docs/manual/basics-elements.xml:
2243         * docs/manual/basics-helloworld.xml:
2244         * docs/manual/basics-pads.xml:
2245         * docs/manual/highlevel-components.xml:
2246         * docs/manual/highlevel-xml.xml:
2247         * docs/manual/intro-basics.xml:
2248         * docs/manual/intro-preface.xml:
2249           Typo and formatting fixes (#538594).
2250
2251 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2252
2253         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2254         Fix some memory leaks and uses of object instances that we don't
2255         actually own.
2256
2257 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2258
2259         * plugins/elements/gstmultiqueue.c:
2260         Add functionality to extra-size-buffers property.
2261
2262 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2263
2264         * plugins/elements/gstmultiqueue.c:
2265         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2266         activate the pads if they are added in STATE_NULL.
2267
2268 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2269
2270         * docs/libs/gstreamer-libs-sections.txt:
2271         Add new API to doc
2272         * libs/gst/check/gstcheck.c:
2273         * libs/gst/check/gstcheck.h:
2274         API: gst_check_teardown_pad_by_name
2275
2276 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2277
2278         * libs/gst/check/gstcheck.c:
2279         * libs/gst/check/gstcheck.h:
2280         Also setup request pads and allow setup pads by name (#537812)
2281         API: gst_check_setup_src_pad_by_name
2282         API: gst_check_setup_sink_pad_by_name
2283
2284 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2285
2286         * tests/check/gst/gstbuffer.c:
2287         * tests/check/pipelines/parse-launch.c:
2288           Use HAVE_VALGRIND_H some more.
2289
2290 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2291
2292         * scripts/cvs-update.sh:
2293           Pass arguments to make.
2294           Run autoregen.sh if Makefile is not there.
2295
2296 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2297
2298         * configure.ac:
2299         * gst/gstinfo.c:
2300           Don't assume that <valgrind/valgrind.h> exists just because
2301           the binary is there.
2302
2303 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2304
2305         * tests/check/Makefile.am:
2306         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2307         (gst_test_trans_class_init), (gst_test_trans_init),
2308         (gst_test_trans_set_data), (result_sink_chain),
2309         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2310         (gst_test_trans_pop):
2311         * tests/check/libs/transform1.c: (GST_START_TEST),
2312         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2313         Add some test basetransform element and the beginnings of various
2314         unit tests for it.
2315
2316 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2317
2318         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2319         Increase code readability.
2320         Don't try to compare buffer offsets when ther are invalid.
2321
2322 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2323
2324         * docs/design/Makefile.am:
2325           Dist some more design docs.
2326
2327         * docs/random/moving-plugins:
2328           Small addition: good plugins mustn't have functional code
2329           within assertion macros.
2330
2331 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2332
2333         * docs/design/draft-framestep.txt:
2334         Some ideas about a framestep API
2335
2336         * docs/design/part-element-transform.txt:
2337         Start design and use cases for basetransform in order to get it
2338         fixed soon.
2339
2340 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2341
2342         * gst/gsttaglist.h:
2343           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2344           be in UTF-8 encoding.
2345
2346 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2347
2348         * gst/gstbus.c:
2349           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2350
2351 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2352
2353         * plugins/elements/gstcapsfilter.c:
2354         * plugins/elements/gstfakesink.c:
2355         * plugins/elements/gstfakesrc.c:
2356         * plugins/elements/gstfdsink.c:
2357         * plugins/elements/gstfdsrc.c:
2358         * plugins/elements/gstfilesink.c:
2359         * plugins/elements/gstfilesrc.c:
2360         * plugins/elements/gstidentity.c:
2361         * plugins/elements/gstmultiqueue.c:
2362         * plugins/elements/gstqueue.c:
2363         * plugins/elements/gsttee.c:
2364         * plugins/elements/gsttypefindelement.c:
2365           Remove short_description. Add basic docs for gsttypefindelement.
2366           Simplify markup for fakesrc/fdsrc.
2367
2368 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2369
2370         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2371         Added Since doc.
2372
2373 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2374
2375         Patch by: Joel Larsson <tilljoel at gmail dot com>
2376
2377         * docs/plugins/gstreamer-plugins.args:
2378         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2379         (gst_fd_src_init), (gst_fd_src_update_fd),
2380         (gst_fd_src_set_property), (gst_fd_src_get_property),
2381         (gst_fd_src_create):
2382         * plugins/elements/gstfdsrc.h:
2383         Add timeout property like udpsrc. Fixes #538628.
2384         Add some more docs and example pipelines.
2385
2386 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2387
2388         * docs/libs/gstreamer-libs-sections.txt:
2389         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2390         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2391         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2392         (gst_base_sink_do_sync):
2393         * libs/gst/base/gstbasesink.h:
2394         * win32/common/libgstbase.def:
2395         Add method to allow sinks to specify additional delay between the sync
2396         times and the actual rendering of the data.
2397         API: gst_base_sink_set_render_delay()
2398         API: gst_base_sink_get_render_delay()
2399
2400 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2401
2402         * configure.ac:
2403         Bump version number back to dev -> 0.10.20.1
2404
2405 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2406
2407         * docs/gst/gstreamer-sections.txt:
2408         * gst/gsttaglist.c: (_gst_tag_initialize):
2409         * gst/gsttaglist.h:
2410         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2411         Fixes bug #538568.
2412
2413 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2414
2415         * libs/gst/controller/gstcontroller.c:
2416           Revert one change, that make ret value possible uninitialized.
2417
2418 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2419
2420         * libs/gst/controller/gstcontroller.c:
2421           Use freeze/thaw notify to sync notify emission a bit (its also more
2422           efficient). Move debug output to LOG (is called a lot in a loop).
2423           Always unset g_values if the have been initialized.
2424
2425 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2426
2427         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2428         (gst_base_sink_wait_eos), (gst_base_sink_event):
2429         If we have not seen a buffer before EOS, use the segment values to
2430         report the current position instead of invalid positions.
2431
2432 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2433
2434         * docs/plugins/tmpl/.cvsignore:
2435         * tests/check/gst/.cvsignore:
2436           Ignore more.
2437
2438 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2439
2440         * libs/gst/controller/gstinterpolation.c:
2441         * libs/gst/controller/gstinterpolationcontrolsource.c:
2442         * tests/check/libs/controller.c:
2443           Rewrite handling of default values. Fix overflow with unsigned types
2444           in linear interpolation. Remove now obsolete _first_value() function.
2445           Add more tests. Fixes #538201.
2446
2447 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2448
2449         * libs/gst/base/gstbasetransform.c:
2450         (gst_base_transform_class_init), (gst_base_transform_init),
2451         (gst_base_transform_transform_caps),
2452         (gst_base_transform_prepare_output_buffer):
2453         Add debug info.
2454         When a buffer is writable, its metadata is also writable so we don't
2455         need to subbuffer (which then makes the buffer not-writable anymore).
2456
2457 === release 0.10.20 ===
2458
2459 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2460
2461         * configure.ac:
2462           releasing 0.10.20, "You Crazy Diamond"
2463
2464 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2465
2466         * configure.ac:
2467         0.10.19.3 pre-release
2468
2469 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2470
2471         * configure.ac:
2472         * gst/gstpreset.c:
2473         Rename DATADIR to GST_DATADIR to avoid build problems
2474         on win32. Patch By: David Schleef <ds@schleef.org>
2475         Fixes: #536857
2476
2477 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2478
2479         * configure.ac:
2480         Explicitely link with -ldl if dladdr() is found there. Before it was
2481         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2482         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2483
2484 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2485
2486         * gst/gsterror.c: (_gst_stream_errors_init):
2487           Fix typo (spotted by Fabricio Godoy, #536723).
2488
2489 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2490
2491         * configure.ac:
2492         0.10.19.2 pre-release
2493
2494 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2495
2496         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2497         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2498         Add some debug.
2499         Make sure we don't generate invalid QoS messages.
2500
2501 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2502
2503         * gst/gstevent.c: (gst_event_new_qos):
2504         Add some assert and docs for invalid input to the qos function.
2505
2506 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2507
2508         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2509         (gst_base_sink_get_position):
2510         The reported position must always be smaller than the last seen
2511         timestamps (or timestamp + duration for reverse).
2512
2513 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2514
2515         Patch by: Rob Bradford <rob at robster dot org dot uk>
2516
2517         * gst/gstregistry.c: (gst_registry_scan_path_level):
2518         Don't recurse into .debug directories as some distros install
2519         the debugging symbols next to the plugins in .debug directories
2520         and dlopen() crashes on them sometimes. Fixes bug #508070.
2521
2522         Add FIXME for 0.11 to not recurse into directories at all because
2523         it's very inconsistent to the behaviour of other PATH environment
2524         variables.
2525
2526 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2527
2528         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2529         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2530         Fix position query range checks in reverse playback.
2531
2532 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2533
2534         * gst/gstelement.c:
2535         * gst/gstelement.h:
2536         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2537         clear of the reference to the resulting pad must be released later
2538         or not, resulting in possible leaks. Fixes bug #533865.
2539
2540 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2541
2542         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2543
2544         * gst/gstelementfactory.c:
2545         Small doc fix. Fixes #535285.
2546
2547 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2548
2549         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2550
2551         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2552         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2553         (gst_base_src_loop), (gst_base_src_set_flushing),
2554         (gst_base_src_change_state):
2555         Make sending an EOS event to the basesrc non-blocking even if the
2556         implementation does blocking waits in the create function. This is done
2557         by unlocking the create function when EOS is sent.
2558         Fixes #535218.
2559
2560 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2561
2562         * tools/gst-inspect.c: (print_element_properties_info):
2563         If possible print the element type of GValueArray properties.
2564
2565 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2566
2567         * gst/gstiterator.c:
2568         Remove an unused field from the private GstListIterator struct.
2569
2570 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2571
2572         * libs/gst/controller/gstcontroller.c:
2573           Add parameter guards.
2574
2575 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2576
2577         * tests/check/gst/gstpipeline.c:
2578           Revert test change and add comment why it should not work.
2579
2580 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2581
2582         * tests/check/gst/gstpipeline.c:
2583           Extending the test a little to verify that we also get the NULL state-
2584           change message.
2585
2586 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2587
2588         * gst/gstpreset.c: (gst_preset_default_get_meta),
2589           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2590           (gst_preset_load_preset), (gst_preset_save_preset),
2591           (gst_preset_rename_preset), (gst_preset_delete_preset),
2592           (gst_preset_set_meta):
2593           Add Since: markers to docs blurbs.
2594
2595         * win32/common/libgstreamer.def:
2596           Add recently-added API.
2597
2598 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2599
2600         Patch by: Stefan Kost  <ensonic@users.sf.net>
2601
2602         * configure.ac:
2603         Add DATADIR for storing presets.
2604
2605         * docs/gst/gstreamer-docs.sgml:
2606         * docs/gst/gstreamer-sections.txt:
2607         * docs/gst/gstreamer.types.in:
2608         Add GstPreset to docs.
2609
2610         * gst/Makefile.am:
2611         * gst/gst.h:
2612         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2613         (preset_open_and_parse_header), (preset_parse_version),
2614         (preset_merge), (preset_get_keyfile),
2615         (gst_preset_default_get_preset_names),
2616         (gst_preset_default_get_property_names),
2617         (gst_preset_default_load_preset),
2618         (gst_preset_default_save_presets_file),
2619         (gst_preset_default_save_preset),
2620         (gst_preset_default_rename_preset),
2621         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2622         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2623         (gst_preset_default_reset), (gst_preset_get_preset_names),
2624         (gst_preset_get_property_names), (gst_preset_load_preset),
2625         (gst_preset_save_preset), (gst_preset_rename_preset),
2626         (gst_preset_delete_preset), (gst_preset_set_meta),
2627         (gst_preset_get_meta), (gst_preset_class_init),
2628         (gst_preset_base_init), (gst_preset_get_type):
2629         * gst/gstpreset.h:
2630         Add GstPreset to core. Fixes #396779
2631
2632         * tests/check/Makefile.am:
2633         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2634         (gst_preset_test_set_property), (gst_preset_test_class_init),
2635         (gst_preset_test_base_init), (gst_preset_test_get_type),
2636         (gst_preset_test_plugin_init), (GST_START_TEST),
2637         (remove_preset_file), (test_setup), (test_teardown),
2638         (gst_preset_suite):
2639         Add GstPreset unit tests.
2640
2641 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2642
2643         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2644         The default event function on a sinkpad should return TRUE when
2645         there are no internal links but should collect the return values from
2646         the internal links otherwise.
2647
2648 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2649
2650         * plugins/elements/gsttypefindelement.c:
2651         (gst_type_find_element_src_event),
2652         (gst_type_find_element_handle_event):
2653         Use faster and safer _pad_push_event().
2654
2655 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2656
2657         * docs/gst/gstreamer-sections.txt:
2658         * gst/gstutils.c: (element_find_unlinked_pad),
2659           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2660         * gst/gstutils.h:
2661           API: add gst_bin_find_unlinked_pad()
2662           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2663
2664 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2665
2666         * gst/gstclock.c:
2667         * gst/gstclock.h:
2668         * gst/gsttask.c:
2669         * gst/gsttask.h:
2670         Fixed a bunch of typos.
2671
2672 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2673
2674         * gst/gstpad.h:
2675         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2676           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2677           (gst_parse_bin_from_description_full):
2678         * gst/gstutils.h:
2679           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2680
2681 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2682
2683         * docs/pwg/advanced-tagging.xml:
2684           Small docs update, can't be bothered to rewrite the nonsensical
2685           examples right now.
2686
2687 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2688
2689         * gst/gstevent.h:
2690           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2691
2692 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2693
2694         * gst/parse/grammar.y:
2695           Remove unneeded casts.
2696
2697 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2698
2699         * gst/parse/grammar.y:
2700         * tests/check/pipelines/parse-launch.c:
2701           Get all missing elements from a parse launch string if possible
2702           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2703
2704 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2705
2706         * tests/check/Makefile.am:
2707         * tests/check/pipelines/parse-launch.c:
2708           Add some unit tests for the new gst_parse_launch*_full() API.
2709           (Exposes a previously-existing memory leak in the error code
2710           path, so adding to VALGRIND_TO_FIX for now).
2711
2712 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2713
2714         * docs/gst/gstreamer-sections.txt:
2715         * gst/gst.c: (init_post):
2716         * gst/gst_private.h: (_GstParseContext):
2717         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2718           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2719           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2720           (gst_parse_launch_full):
2721         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2722           (GstParseFlags), (GstParseContext):
2723         * gst/gstutils.c: (gst_parse_bin_from_description),
2724           (gst_parse_bin_from_description_full):
2725         * gst/gstutils.h:
2726         * gst/parse/grammar.y:
2727         * gst/parse/types.h:
2728         * win32/common/libgstreamer.def:
2729           Add new gst_parse_*_full API (#528178):
2730           API: gst_parse_launch_full()
2731           API: gst_parse_launchv_full()
2732           API: gst_parse_bin_from_description_full()
2733           API: gst_parse_context_new()
2734           API: gst_parse_context_free()
2735           API: gst_parse_context_get_missing_elements()
2736
2737 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2738
2739         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2740
2741         * docs/faq/gst-uninstalled:
2742           Also support ffmpeg in gst-uninstalled.
2743
2744 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2745
2746         * configure.ac:
2747         After discussion on IRC use the binary registry as default
2748         but allow to disable it with --disable-binary-registry.
2749
2750         * win32/common/libgstreamer.def:
2751         Add the two new symbols for the binary registry.
2752
2753 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2754
2755         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2756         * gst/gstutils.c: (gst_parse_bin_from_description):
2757         * gst/parse/grammar.y: (graph):
2758           More guards against bad input; typo fix; some minor clean-ups.
2759
2760 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2761
2762         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2763
2764         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2765         If nothing else can be used, use the last buffer's start time as
2766         the segment's last stop. Fixes bug #534258.
2767
2768 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2769
2770         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2771           Move size sanity check to the right place: downstream may return
2772           a buffer with a smaller size if the buffer caps are different than
2773           the requested ones, as may happen when doing reverse negotiation.
2774
2775 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2776
2777         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2778         (gst_file_sink_render):
2779         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2780         (gst_file_src_start):
2781         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2782         use it yet.
2783
2784 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2785
2786         * gst/gstpad.c: (gst_pad_load_and_link):
2787         * gst/gstutils.c: (gst_element_link_pads),
2788         (gst_element_unlink_pads):
2789         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2790         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2791         (gst_check_teardown_sink_pad),
2792         (gst_check_element_push_buffer_list):
2793         * tests/check/elements/fakesink.c: (GST_START_TEST):
2794         * tests/check/elements/filesink.c:
2795         * tests/check/elements/filesrc.c: (GST_START_TEST):
2796         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2797         (mq_sinkpad_to_srcpad):
2798         * tests/check/elements/tee.c: (GST_START_TEST):
2799         * tests/check/generic/sinks.c: (GST_START_TEST):
2800         * tests/check/gst/gstbin.c: (GST_START_TEST):
2801         * tests/check/gst/gstevent.c: (GST_START_TEST):
2802         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2803         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2804         * tests/check/gst/gstquery.c: (GST_START_TEST):
2805         * tests/check/gst/gstutils.c: (GST_START_TEST):
2806         * tests/check/libs/basesrc.c: (GST_START_TEST):
2807         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2808         (gst_parse_test_element_change_state):
2809         Don't use gst_element_get_pad().
2810
2811 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2812
2813         * docs/Makefile.am:
2814         Fix installing plugin documentation when gtk-doc is disabled.
2815
2816 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2817
2818         * docs/manual/advanced-autoplugging.xml:
2819         * docs/manual/basics-helloworld.xml:
2820         * docs/manual/basics-pads.xml:
2821         * docs/manual/highlevel-components.xml:
2822         Avoid using a bad function in the example code.
2823
2824 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2825
2826         * gst/gstclock.c: (gst_clock_set_calibration):
2827         Fix debug of the new clock rate.
2828
2829 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2830
2831         * win32/common/libgstbase.def:
2832         Add gst_base_sink_wait_clock() to the exported symbols.
2833
2834 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2835
2836         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2837
2838         * libs/gst/base/gstbasetransform.c:
2839         (gst_base_transform_sink_event):
2840         Unref events that the GstBaseTransform::event vfunc didn't want to
2841         have forwarded by the base class. Closes a leak in identity.
2842         Fixes bug #446763.
2843
2844 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2845
2846         * docs/libs/gstreamer-libs-sections.txt:
2847         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2848         * libs/gst/base/gstbasesink.h:
2849         Expose a method that was previously used internally to synchronize
2850         against the clock because it can be useful for subclasses too.
2851         API: GstBaseSink::gst_base_sink_wait_clock()
2852
2853 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2854
2855         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2856           Add sanity check to make sure we don't get smaller buffers
2857           than requested (and fallback to normal buffer alloc if we do).
2858
2859 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2860
2861         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2862         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2863         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2864         Refactor adjusting the running_time with latency and offset into a
2865         separate method.
2866         When doing clipping, we still want to use the subclass get_times method,
2867         just in case the DURATION or TIMESTAMP are not set.
2868
2869 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2870
2871         * docs/gst/gstreamer-sections.txt:
2872         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2873         * gst/gsttypefind.h:
2874         * win32/common/libgstreamer.def:
2875           API: add gst_type_find_suggest_simple(), #533740.
2876
2877 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2878
2879         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2880           Use right error code when typefinding fails, so we can use
2881           the default (translated) error messages.
2882
2883 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2884
2885         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2886         (gst_base_src_start):
2887         When the subclass did not set caps on outgoing buffers, configure the
2888         caps we negotiated on the source pad.
2889         When the typefind helper does not find caps, error out properly instead
2890         of doing things with NULL caps.
2891
2892 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2893
2894         * gst/gsttypefind.h:
2895           Tabs to spaces, oh yes!
2896
2897 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2898
2899         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2900           Add David's and Benjamin's tests for array intersection to the
2901           unit test suite (#147931).
2902
2903 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2904
2905         * gst/gstevent.c:
2906           Document that gst_event_new_tag() and gst_event_new_navigation()
2907           take ownership of the taglist/structure passed to them. (#533635).
2908
2909 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2910
2911         * docs/Makefile.am:
2912         Don't descend into the plugins dir if plugin docs building
2913         is disabled.
2914
2915         * docs/README:
2916         Add a note about the new type:GTypeName syntax for the plugin
2917         documentation .types file.
2918
2919 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2920
2921         * gst/gstmessage.c: (gst_message_new_error),
2922         (gst_message_new_warning), (gst_message_new_info):
2923         * gst/gstmessage.h:
2924         Mark the debug string parameters as const. Fixes bug #533490.
2925
2926 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2927
2928         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2929         Sort buffer cache list by end offsets. This makes sure that we don't
2930         stop to search for a cached buffer that contains the requested data
2931         too early.
2932         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2933         more efficient. Fixes bug #459862.
2934
2935 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2936
2937         * gst/gstinfo.c:
2938           Explain why we copy the list.
2939
2940         * gst/gstpipeline.c:
2941           Improve docs.
2942
2943         * gst/gstutils.c:
2944           Add one debug-log statement to help tracing probelms with linking pads.
2945
2946 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2947
2948         * tests/check/gst/gstinfo.c:
2949         Add a test for removing the default log handler. Seems to fail under
2950         windows.
2951
2952 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2953
2954         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2955         Release pad lock before calling out to avoid a possible deadlock.
2956
2957 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2958
2959         * gst/parse/grammar.y:
2960         Remove unneeded value unset.
2961
2962         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2963         Add unit test for de/serialization of caps.
2964
2965 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2966
2967         * plugins/elements/gstfakesink.c:
2968         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2969         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2970         (gst_fake_src_class_init):
2971         Use custom marshalers that take GstMiniObject as first parameter.
2972         Using OBJECT as parameter while a GstMiniObject is given will lead
2973         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2974
2975 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2976
2977         * plugins/elements/gsttypefindelement.c:
2978         (gst_type_find_element_handle_event),
2979         (gst_type_find_element_send_cached_events),
2980         (gst_type_find_element_change_state):
2981         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2982         immediately.
2983
2984 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2985
2986         * plugins/elements/gsttypefindelement.c:
2987         (gst_type_find_handle_src_query), (stop_typefinding),
2988         (gst_type_find_element_handle_event),
2989         (gst_type_find_element_send_cached_events),
2990         (gst_type_find_element_change_state):
2991         Forward FLUSH_START events immediately and clean up instead of
2992         caching them.
2993
2994 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2995
2996         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2997
2998         * libs/gst/base/gstbasetransform.c:
2999         (gst_base_transform_buffer_alloc):
3000         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3001         fall back to default negotiation in the chain function if the caps
3002         are different from what was requested. Fixes bug #526768.
3003
3004 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3005
3006         * gst/gstsegment.c:
3007         * tests/check/gst/gstsegment.c:
3008           No, let's not use g_slice_{dup|copy} here, since they only exist
3009           since GLib 2.14 and we still depend only on >= 2.12. Also add
3010           unit test for gst_segment_copy().
3011
3012 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3013
3014         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3015           Try to fix 'dereferencing type-punned pointer will break strict
3016           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3017           changed the default GType typedef from gulong to gsize at some point,
3018           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3019           g_once_* functions all take a gsize * though, so work around the type
3020           mismatch for C++ by doing everything in gsize and casting to GType
3021           later.
3022
3023 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3024
3025         * plugins/elements/gstmultiqueue.c:
3026         Add documentation for the signals to push our core plugin docs
3027         coverage back up to 100%.
3028
3029 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3030
3031         * gst/gstinfo.h (GST_FUNCTION):
3032           Reverted GST_FUNCTION to the old version as we don't want the
3033           full signature in C++ code. Also added support for MSVC.
3034
3035 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3036
3037         * gst/gstutils.h:
3038         Intern the type name string, similar to what G_DEFINE_TYPE does.
3039
3040 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3041
3042         * gst/gstutils.h:
3043         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3044
3045 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3046
3047         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3048
3049         * libs/gst/base/gstbasetransform.c:
3050         (gst_base_transform_buffer_alloc):
3051         Don't passthrough buffer allocation too easily if the caps change.
3052         This breaks when working in passthrough mode and upstream changes
3053         it's caps. Fixes bug #526768.
3054
3055 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3056
3057         * gst/gstinfo.c (gst_debug_log_valist):
3058           Improved the __FILE__ part of debug output for MSVC.
3059
3060 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3061
3062         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3063           Declaration after statement fix for compilers like MSVC.
3064
3065 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3066
3067         * win32/common/config.h.in:
3068           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3069           use the real thing than having "???" unconditionally.
3070
3071 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3072
3073         * gst/gstinfo.h (GST_FUNCTION):
3074           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3075
3076 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3077
3078         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3079         Small code cleanup.
3080
3081         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3082         (gst_base_sink_set_flushing):
3083         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3084         Fix some comments.
3085
3086 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3087
3088         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3089         (gst_fake_src_init), (gst_fake_src_set_property),
3090         (gst_fake_src_get_property), (gst_fake_src_start):
3091         * plugins/elements/gstfakesrc.h:
3092         Added format property to control the format of the newsegment events.
3093         API: GstFakeSrc:format
3094
3095 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3096
3097         * win32/common/libgstreamer.def:
3098         Add gst_pad_has_name() to the exported symbols.
3099
3100 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3101
3102         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3103         * libs/gst/base/gstbasetransform.c:
3104         (gst_base_transform_prepare_output_buffer):
3105         Don't allow negative sizes when allocating new buffers.
3106         Fixes bug #461253.
3107
3108 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3109
3110         Patch by: Sjoerd Simons <sjoerd at luon net>
3111
3112         * gst/gstbus.c: (gst_bus_source_dispatch):
3113           Don't print a warning if the queue is empty when we try to pop
3114           here. That could happen if another thread or callback set the
3115           bus to flushing between the source's check/prepare and the
3116           dispatch being called (#531538).
3117
3118 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3119
3120         * plugins/elements/gstmultiqueue.c:
3121           Small docs fix.
3122         
3123 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3124
3125         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3126         Add unit test for deserializing uint64s and check some really large
3127         numbers in the int64 test.
3128
3129 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3130
3131         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3132         (print_interfaces), (print_element_properties_info),
3133         (print_signal_info):
3134         Use "%s" as format string instead of printing strings directly.
3135
3136 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3137
3138         * gst/gstclock.c: (gst_clock_set_calibration):
3139         Make some checks actually useful.
3140
3141         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3142         Remove some unused code. Unsigned integers tend to be >= 0.
3143
3144 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3145
3146         * gst/gstminiobject.c: (gst_value_get_mini_object):
3147           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3148           function was not in the unscheduled 0.10.19 release.
3149
3150 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3151
3152         * gst/gstregistry.c: (gst_registry_scan_path_level):
3153           Only print one log message per non-plugin file.
3154
3155 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3156
3157         * gst/gstinfo.c: (gst_debug_log_default):
3158           Fix alignment of debug log columns on 64-bit.
3159
3160 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3161
3162         * docs/libs/Makefile.am:
3163         * docs/libs/gstreamer-libs-sections.txt:
3164           Ignore private controller headers for docs.
3165
3166 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3167
3168         * libs/gst/controller/gstcontrollerprivate.h:
3169         * libs/gst/controller/gsthelper.c:
3170         * libs/gst/controller/gstinterpolation.c:
3171         * libs/gst/controller/gstinterpolationcontrolsource.c:
3172         (gst_interpolation_control_source_set_interpolation_mode):
3173         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3174         * libs/gst/controller/lib.c:
3175         Move some private declarations into private headers.
3176
3177 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3178
3179         * gst/gstdebugutils.c: (debug_dump_element_pad):
3180         Remove some code that is unused after Stefan's refactoring and uses
3181         uninitialized variables now, resulting in a compiler warning.
3182
3183 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3184
3185         * gst/gstregistry.c: (gst_registry_scan_path_level):
3186           Run g_str_has_suffix() only on the file name, not the
3187           entire file path.
3188
3189 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3190
3191         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3192           Since we're not called only from the chain function any longer,
3193           we can't assume that there's always data in the queue, so move
3194           the is_full check to the beginning of the loop (otherwise we'd
3195           hit the assert when changing the limit properties while the
3196           queue is empty or not running yet).
3197           Also, only set a discont if items were actually removed from
3198           the queue.
3199
3200         * tests/check/elements/queue.c: (test_leaky_downstream):
3201           Test case for the above.
3202
3203 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3204
3205         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3206
3207         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3208         (gst_queue_chain), (queue_capacity_change),
3209         (gst_queue_set_property):
3210         When changing thr max capacity of a leaky queue, immediatly drop buffers
3211         instead of waiting for a push on the sinkpad. Fixes #530637.
3212
3213 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3214
3215         * gst/gstdebugutils.c:
3216           Refactor code and fix handling of ghostpads and their proxypads.
3217
3218 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3219
3220         * docs/gst/gstreamer-sections.txt:
3221         * gst/gstevent.c: (gst_event_has_name):
3222         * gst/gstevent.h:
3223         * tests/check/gst/gstevent.c: (GST_START_TEST):
3224         Add method to conveniently check the name of a custom event with
3225         gst_event_has_name().
3226         Reformat the event docs so that related methods are put together instead
3227         of the default alphabetical sort.
3228         Update unit test with new method.
3229         API: GstEvent::gst_event_has_name()
3230
3231 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3232
3233         * libs/gst/check/Makefile.am:
3234           Don't add an explicit link to libgstreamer-0.10.la; it's already
3235           included in GST_OBJ_LIBS.
3236
3237 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3238
3239         * gst/gst.c:
3240         Register GstClock type from a type-safe context. Fixes bug #530317.
3241
3242 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3243
3244         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3245         * tools/gst-run.c:
3246           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3247
3248 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3249
3250         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3251         (gst_bin_dispose):
3252         Use the GLib stuff to create a private structure.
3253         Add some locking around some dispose methods to make them a little
3254         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3255
3256 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3257
3258         * libs/gst/base/gstbasesink.h:
3259         * libs/gst/base/gstbasesrc.h:
3260         * libs/gst/base/gstbasetransform.h:
3261         * libs/gst/base/gstcollectpads.h:
3262           Fix doc typos and unify caps a bit.
3263
3264 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3265
3266         * tools/gst-launch.1.in:
3267           Forgot to also add the envvar docs here.
3268
3269 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3270
3271         * gst/gst.c: (init_post), (gst_deinit):
3272         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3273           (test_concurrent_create), (gst_pipeline_suite):
3274           Ref some more classes in gst_init() to work around thread-safety
3275           issues in pre-2.16 GLibs, and add basic unit test.
3276
3277 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3278
3279         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3280         (gst_base_sink_send_event):
3281         Rearrange the latency query code. We always want to do the upstream
3282         query, even if we are not live so that the upstream elements can get the
3283         latency results too. If we fail doing the query and we are live, we
3284         return TRUE afterwards.
3285
3286 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3287
3288         patch by: Jason Zhao <e3423c@motorola.com>
3289
3290         * docs/gst/running.xml:
3291         * gst/gst.c:
3292           Enable/disable scan_and_update_registry() based on commandline switch
3293           or environment variable. Fixes #520468.
3294           
3295         * ChangeLog:
3296           Fix typo in my previous commit.
3297
3298 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3299
3300         * gst/gstregistrybinary.c:
3301           Add a warning if we hit unhandled factories when saving.
3302           More debug logging detail, but move to LOG category.
3303
3304 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3305
3306         * gst/gstregistry.c:
3307           Tell the *truth* when improving the documentation.
3308
3309 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3310
3311         * gst/gstelementfactory.c: (gst_element_factory_make):
3312         Unref the factory after it was used the last time, not before.
3313
3314         * gst/gstindexfactory.c: (gst_index_factory_make):
3315         Improve debugging a bit and don't leak a ref to the index factory with
3316         each call.
3317
3318 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3319
3320         * gst/gstregistry.c:
3321           Improve the documentation.
3322
3323 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3324
3325         * gst/gstsegment.c:
3326           The glib macro seems to be borked. Use g_slice_copy directly and cast
3327           in the hope that this fixes the warning on 64bit.
3328
3329 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3330
3331         * gst/gstsegment.c:
3332           Document the new function. Use g_slice_dup() (no need for
3333           gst_segment_init()).    
3334
3335 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3336
3337         * docs/gst/gstreamer-sections.txt:
3338           Move GParamSepc macros to standart section.
3339   
3340         * gst/gstbin.c:
3341           Dn't document _get_type - its in private section in docs anyway and
3342           this doc-blob was incomplete.
3343
3344         * gst/gstclock.h:
3345           Fix wrong symbol names in docs.
3346
3347         * gst/gstmacros.h:
3348           Add once doc sentence.
3349
3350         * tests/check/gst/.cvsignore:
3351           Ignore more.
3352
3353 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3354
3355         * docs/gst/Makefile.am:
3356           And remove those libs here.
3357
3358 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3359
3360         * docs/libs/Makefile.am:
3361           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3362
3363 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3364
3365         Patch by: Olivier Crete <tester at tester dot ca>
3366
3367         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3368         Add the min-threshold to the min latency if possible. Fixes #529148.
3369
3370 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3371
3372         * docs/gst/gstreamer.types.in:
3373           Stupid editor, I removed that line as it should go in yet.
3374
3375 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3376
3377         * docs/gst/gstreamer.types.in:
3378         * docs/libs/gstreamer-libs.types:
3379           Remove library types fro core docs and have them in libs docs.
3380           Reformat and cleanup. Add comment for miniobject types.
3381
3382 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3383
3384         * gst/gsturi.c: (gst_uri_get_protocol):
3385           Fix leak: g_strdown operates on the string in place, while
3386           g_ascii_strdown() returns a newly-allocated string.
3387
3388 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3389
3390         * tools/gst-inspect.c: (print_uri_handler_info),
3391         (print_element_info):
3392         Print the URI protocols and the URI type supported by the element.
3393
3394 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3395
3396         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3397         Use g_value_take_string() instead of the deprecated
3398         g_value_set_string_take_ownership().
3399
3400 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3401
3402         * gst/gstregistrybinary.c: (_gst_crc32):
3403         Return the old CRC instead of 0 if we give a NULL buffer
3404         or a buffer with a length of 0.
3405
3406 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3407
3408         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3409         (gst_uri_get_protocol), (gst_uri_has_protocol),
3410         (gst_uri_construct), (gst_uri_handler_set_uri):
3411         A valid URI scheme can also include '+', '-' and '.' additional
3412         to alphanumeric characters as per RFC 3986 Section 3.1.
3413
3414         Handle URI schemes case insensitive in all places and convert
3415         to lower-case when constructing an URI or setting an URI with
3416         the GstURIHandler interface. Fixes bug #528868.
3417         All elements can still assume (as before) that they will
3418         get passed URIs with a lower-case URI scheme by the GstURIHandler
3419         interface.
3420
3421 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3422
3423         * gst/gstcaps.c: (gst_static_caps_get):
3424         * gst/gstclock.c: (gst_clock_entry_new):
3425           Don't use g_atomic_set_int where it's not needed.
3426
3427 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3428
3429         * gst/gstvalue.c: (gst_value_deserialize_caps):
3430         * gst/parse/grammar.y:
3431         Fix 2 caps leaks.
3432
3433 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3434
3435         * gst/gstutils.c: (gst_atomic_int_set):
3436         Use g_atomic_int_set() here too instead of assignment +
3437         g_atomic_int_get().
3438
3439 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3440         
3441         * gst/gstutils.c:
3442         * gst/gstutils.h:
3443         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3444         now that we depend on new enough GLib.
3445
3446         * gst/gstcaps.c: (gst_static_caps_get):
3447         * gst/gstclock.c: (gst_clock_entry_new):
3448         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3449         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3450         (gst_debug_category_set_threshold):
3451         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3452         (gst_base_sink_set_qos_enabled):
3453         * libs/gst/net/gstnettimeprovider.c:
3454         (gst_net_time_provider_set_property):
3455         Use g_atomic_int_set() instead of gst_atomic_int_set().
3456
3457 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3458
3459         * gst/gstquery.c:
3460           Also use G_GINT64_CONSTANT for the queries.
3461
3462 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3463
3464         * gst/gstmessage.c:
3465           Use G_GINT64_CONSTANT in varargs function.
3466
3467 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3468
3469         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3470         Initialize the registry magic with zeroes.
3471
3472 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3473
3474         * gst/gstregistrybinary.c: (_gst_crc32),
3475         (gst_registry_binary_write),
3476         (gst_registry_binary_initialize_magic),
3477         (gst_registry_binary_write_cache),
3478         (gst_registry_binary_check_magic),
3479         (gst_registry_binary_read_cache):
3480         * gst/gstregistrybinary.h:
3481         Add crc32 checksum to the binary registry file and check this before
3482         accepting a registry file.
3483
3484         Also free the data list when writing to the registry file fails.
3485
3486 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3487
3488         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3489         (gst_registry_binary_load_feature),
3490         (gst_registry_binary_load_plugin):
3491         If an element supports the Uri interface, returns a valid pointer
3492         to the supported URI protocols but this pointer contains nothing
3493         don't try to save that as it will corrupt the registry.
3494
3495         Don't unref the plugin if we added it to the registry already but
3496         fail to load a feature as gst_registry_add_plugin() takes ownership
3497         of the plugin.
3498
3499         Improve debugging a bit.
3500
3501 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3502
3503         * gst/gsttaglist.h:
3504           Clarify some tag item docs after discussion on irc.
3505
3506 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3507
3508         * docs/gst/gstreamer-docs.sgml:
3509           Remove commented out plugins (they have their own docs). Update
3510           comments.
3511
3512 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3513
3514         * docs/gst/gstreamer-docs.sgml:
3515         * docs/gst/gstreamer-sections.txt:
3516         * gst/gstparamspecs.c:
3517         * gst/gstparamspecs.h:
3518           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3519           docs to own section.
3520
3521         * gst/gstvalue.c:
3522           This now only documents GValue.
3523           
3524         * docs/libs/gstreamer-libs-sections.txt:
3525         * libs/gst/controller/gstcontroller.h:
3526           Remove GST_PARAM_CONTROLLABLE.
3527
3528 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3529
3530         * docs/README:
3531           Correct file path. Tell about how to use -overrides.txt.
3532         * docs/design/draft-tagreading.txt:
3533           Small design update.
3534
3535 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3536
3537         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3538         (gst_registry_binary_load_plugin):
3539         Fix a typo in a debug message and revert change from yesterday as
3540         gst_registry_add_plugin() will only fail if something is really wrong
3541         already and we can't survive it anyway.
3542
3543 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3544
3545         * gst/gst.c: (init_post), (gst_deinit):
3546           Pre-register GstGError GType from a thread-safe context
3547           (fixes #527967); unref enum type classes in deinit.
3548
3549 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3550
3551         Patch by: Rene Stadler <mail at renestadler de>
3552
3553         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3554           Merging an empty list with another list in KEEP_ALL mode should
3555           yield an empty list as result and not the second list (#512578).
3556
3557         * tests/check/gst/gsttagsetter.c:
3558           Add unit test for tag merge modes and the aforementioned bug.
3559
3560 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3561
3562         Patch by: Rene Stadler <mail at renestadler de>
3563
3564         * gst/gsttaglist.h:
3565           Fix description to match the order in the table (#512577).
3566   
3567 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3568
3569         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3570
3571         * libs/gst/net/gstnettimepacket.h:
3572         * docs/libs/gstreamer-libs-sections.txt:
3573           Define socklen_t as int if it's not defined yet. Fixes compilation
3574           with MSVC6 and other versions where socklen_t is not defined in
3575           the windows headers (#518022).
3576
3577 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3578
3579         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3580         If gst_registry_add_plugin() fails our reference to the plugin is
3581         invalid so don't try to use it anymore and instead error out.
3582
3583 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3584
3585         * tools/gst-xmlinspect.c: (print_element_info), (main):
3586           De-cruft a bit. If no argument is specified, print all elements in
3587           XML syntax rather than a freestyle list of elements like gst-inspect.
3588           Also, don't print XML header chunk unless we actually have something
3589           to print (ie. don't print it before an error message); print error
3590           message to stderr not stdout. Remove support for printing plugin
3591           info (it would just output something freestyle along the lines of
3592           gst-inspect so far), which fixes #514507. Also add license header.
3593
3594 2008-04-11  Julien Moutte  <julien@fluendo.com>
3595
3596         Mac OS X love...
3597         * configure.ac: Merge platform specific defines, introduce a new
3598         define on OS X to remember that forking when updating registry is
3599         unsafe.
3600         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3601         module.
3602         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3603         is defined.
3604         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3605         condition that leads to absolutely no plugins being registered on
3606         OS X.
3607
3608 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3609
3610         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3611
3612         * gst/gstutils.c: (gst_pad_add_data_probe),
3613           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3614           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3615           (gst_pad_add_buffer_probe_full):
3616         * gst/gstutils.h:
3617         * docs/gst/gstreamer-sections.txt:
3618         * win32/common/libgstreamer.def:
3619           Add gst_pad_add_*_probe_full() functions with a notify callback that
3620           lets the caller free the data it passes to the probe functions. This
3621           is useful for bindings such as gst-python or gstreamermm (#526814).
3622           API: gst_pad_add_data_probe_full
3623           API: gst_pad_add_buffer_probe_full
3624           API: gst_pad_add_event_probe_full
3625
3626         * tests/check/gst/gstutils.c:
3627           Add minimal unit test to make sure freeing the data actually works
3628           as expected.
3629
3630         * tests/benchmarks/.cvsignore:
3631           Random cvsignore addendum.
3632
3633 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3634
3635         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3636           (GST_DEBUG_BIN_TO_DOT_FILE):
3637           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3638           to it in the docs (since these are macros the types of the arguments
3639           won't be shown in the docs otherwise).
3640
3641 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3642
3643         * gst/gstpad.c:
3644           Do not abort on out of memory for pad_alloc_buffer.
3645
3646 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3647
3648         * libs/gst/check/gstcheck.c:
3649           Remove blank line between symbol name ad parameters to fix gtkdoc
3650           warning.
3651
3652 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3653
3654         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3655
3656         * docs/gst/gstreamer-sections.txt:
3657         * gst/gstsegment.c:
3658         * gst/gstsegment.h:
3659         * win32/common/libgstreamer.def:
3660           Expose gst_segment_copy() to make things easier for the c++ bindings.
3661           Fixes #518932.
3662           API: gst_segment_copy()
3663
3664 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3665
3666         * gst/gst.c: (gst_init_get_option_group), (init_post):
3667           Fix const position; ref GType classes for enum types to work
3668           around thread-safety issues in GLib versions < 2.16.
3669
3670 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3671
3672         * docs/design/part-buffering.txt:
3673         Fix some typos and set the estimated total for push mode to -1.
3674
3675         * gst/gstquery.c: (gst_query_new_buffering):
3676         Set buffering-left to 0 as we're not buffering by default.
3677
3678         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3679         Implement BUFFERING query.
3680
3681 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3682
3683         Based on patch by: Milosz Derezynski <internalerror gmail com>
3684
3685         * gst/gsterror.c: (_gst_stream_errors_init):
3686         * gst/gsterror.h:
3687           Add two new error codes for encrypted content. Fixes #524659.
3688           API: GST_STREAM_ERROR_DECRYPT
3689           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3690
3691 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3692
3693         * gst/gstquery.h:
3694           Fix typo.
3695
3696         * win32/common/libgstreamer.def:
3697           Add new functions.
3698
3699 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3700
3701         * plugins/elements/gstidentity.c: (gst_identity_event),
3702         (gst_identity_start):
3703         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3704         event after processing some data. Fixes bug #526042.
3705
3706 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3707
3708         * docs/gst/gstreamer-sections.txt:
3709         * gst/gstquery.c: (gst_query_parse_latency),
3710         (gst_query_set_buffering_percent),
3711         (gst_query_parse_buffering_percent),
3712         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3713         * gst/gstquery.h:
3714         Rename _avail -> _range
3715         API: gst_query_set_buffering_range
3716         API: gst_query_parse_buffering_range
3717
3718 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3719
3720         * docs/design/part-buffering.txt:
3721         * gst/gstquark.c:
3722         * gst/gstquark.h:
3723         * gst/gstquery.c: (gst_query_parse_latency),
3724         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3725         (gst_query_parse_buffering_percent):
3726         * gst/gstquery.h:
3727         Add busy field and quark for the buffering query so that the app can
3728         only use the query to see if buffering is in progress.
3729
3730 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3731
3732         * docs/gst/gstreamer-sections.txt:
3733         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3734         (gst_message_parse_buffering_stats):
3735         * gst/gstmessage.h:
3736         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3737         (gst_query_parse_latency), (gst_query_new_buffering),
3738         (gst_query_set_buffering_percent),
3739         (gst_query_parse_buffering_percent),
3740         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3741         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3742         * gst/gstquery.h:
3743         Reorder the message docs and headers for clarity.
3744         Add aditional buffering stats API for messages.
3745         Add buffering query.
3746         Convert some leftover queries to use GstQuark.
3747         API: gst_message_set_buffering_stats
3748         API: gst_message_parse_buffering_stats
3749         API: GST_QUERY_BUFFERING
3750         API: GstBufferingMode
3751         API: gst_query_new_buffering
3752         API: gst_query_set_buffering_percent
3753         API: gst_query_parse_buffering_percent
3754         API: gst_query_set_buffering_stats
3755         API: gst_query_parse_buffering_stats
3756
3757 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3758
3759         * gst/gstmessage.c: (gst_message_new_error),
3760         (gst_message_new_warning), (gst_message_new_info),
3761         (gst_message_new_buffering), (gst_message_new_state_changed),
3762         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3763         (gst_message_new_new_clock), (gst_message_new_segment_start),
3764         (gst_message_new_segment_done), (gst_message_new_duration),
3765         (gst_message_new_async_start), (gst_message_parse_buffering),
3766         (gst_message_parse_state_changed),
3767         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3768         (gst_message_parse_new_clock), (gst_message_parse_error),
3769         (gst_message_parse_warning), (gst_message_parse_info),
3770         (gst_message_parse_segment_start),
3771         (gst_message_parse_segment_done), (gst_message_parse_duration),
3772         (gst_message_parse_async_start):
3773         Use GstQuark for messages.
3774
3775 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3776
3777         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3778         * gst/gstquark.h:
3779         Add some more quarks needed for messages and queries.
3780
3781 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3782
3783         * docs/design/part-buffering.txt:
3784         Remove the "none" buffering mode, STREAM is a good default.
3785         Move estimated-time to the avail query, that's when it will be needed.
3786         Other small typo fixes and updates.
3787
3788 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3789
3790         * gst/gstindex.c: (gst_index_resolver_get_type):
3791           Don't put descriptions into the nick field of a GEnumValue: it's not
3792           meant for that and some language bindings rely on the nick field to
3793           construct constants and the like. Fixes #526705.
3794
3795 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3796
3797         * NEWS:
3798         * RELEASE:
3799         * gstreamer.doap:
3800           Merge other changes from 0.10.19 release branch.
3801
3802 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3803
3804         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3805
3806         * configure.ac:
3807         Actually build dlls when cross-compiling with mingw32.
3808         Fixes bug #526247.
3809
3810 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3811
3812         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3813
3814         * gst/gstpoll.c:
3815         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3816
3817 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3818
3819         * docs/design/draft-latency.txt:
3820         Fix typo.
3821
3822         * docs/design/part-buffering.txt:
3823         Update design docs with more buffering ideas.
3824
3825 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3826
3827         * configure.ac:
3828           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3829
3830 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3831
3832         * configure.ac:
3833           Revert part that belongs to the preset patch.
3834
3835 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3836
3837         * configure.ac:
3838           Add qoutes to the define. Fixes # 525961.
3839
3840 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3841
3842         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3843         (gst_file_index_load), (gst_file_index_add_id),
3844         (gst_file_index_get_assoc_entry):
3845         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3846         (gst_mem_index_free_id), (gst_mem_index_add_id),
3847         (gst_mem_index_index_format):
3848         Use GSlice when possible.
3849
3850 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3851
3852         * libs/gst/controller/gstinterpolationcontrolsource.c:
3853         (gst_control_point_free),
3854         (gst_interpolation_control_source_set_internal):
3855         Use GSlice for allocating the control points.
3856
3857 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3858
3859         * plugins/elements/gsttypefindelement.c:
3860         (gst_type_find_element_class_init),
3861         (gst_type_find_element_set_property),
3862         (gst_type_find_element_get_property),
3863         (gst_type_find_element_activate):
3864         * plugins/elements/gsttypefindelement.h:
3865         Cleanup properties.
3866         Fix pad leak when peer query fails.
3867         We can still typefind when the peer returns -1.
3868         Add property to force caps and bypass typefinding. This will be used in
3869         uridecodebin.
3870         API::force-caps
3871
3872 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3873
3874         * configure.ac:
3875         Require GLib 2.12.
3876
3877         * gst/glib-compat-private.h:
3878         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3879         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3880         Unconditionally use GSlice for allocation.
3881
3882         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3883         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3884         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3885         (gst_structure_free):
3886         Use GSlice for allocation.
3887
3888 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3889
3890         * gst/parse/Makefile.am:
3891         * gst/parse/grammar.tab.pre.c:
3892         * gst/parse/grammar.tab.pre.h:
3893         * gst/parse/lex._gst_parse_yy.pre.c:
3894         Require a new enough flex and bison and remove the parser hacks to use
3895         a pre-regenerated version.
3896
3897 2008-04-01  Julien Moutte  <julien@fluendo.com>
3898
3899         patch by: Jason Zhao <E3423C@motorola.com>
3900
3901         * configure.ac: Add a configure switch to disable option parsing
3902         in gst_init.
3903         Fixes #522882.
3904
3905 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3906
3907         * configure.ac:
3908         * gst/gstregistry.c:
3909           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3910           and handle this case.
3911
3912         * gst/gst.c:
3913           Add a comment here describing, why we stat each plugin and not try to
3914           be smart.
3915
3916 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3917
3918         * libs/gst/base/gstbasetransform.c:
3919         (gst_base_transform_prepare_output_buffer):
3920         Also unset the GAP flag on buffers if we're working inplace but
3921         the element is not GAP-aware.
3922
3923         Mark a comment as FIXME 0.11.
3924
3925 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3926
3927         * gst/gst.c:
3928           Fix type in log message and add one to ease seeing how long registry
3929           cache verification takes.
3930
3931         * gst/gstregistry.c:
3932           Only test plugin filenames against G_MODULE_SUFFIX.
3933
3934 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3935
3936         * gst/gstdebugutils.c:
3937           Improve handling ghost/proxy pads.
3938
3939 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3940
3941         * docs/gst/gstreamer-sections.txt:
3942         * gst/gstpad.c:
3943         * gst/gstpad.h:
3944           Expose macro to docs and fix link to it.
3945
3946 2008-03-27  Michael Smith <msmith@fluendo.com>
3947
3948         * libs/gst/dataprotocol/dataprotocol.c:
3949         (gst_dp_packet_from_event_1_0):
3950           When calculating GDP body CRC, use the correct pointer. 
3951           Fixes part of #522401.
3952
3953 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3954
3955         Patch by: Mark Nauwelaerts <manauw at skynet be>
3956
3957         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3958         (gst_identity_init), (gst_identity_prepare_output_buffer):
3959         Identity is not always a passthrough element, it can modify the buffer
3960         timestamps when it has a datarate and operates in single-segment mode.
3961         We therefore make it an in_place filter with a custom buffer prepare
3962         function that conditionally makes the input buffer metadata writable
3963         when needed.  Fixes #523985.
3964
3965 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3966
3967         Patch by: Mark Nauwelaerts <manauw at skynet be>
3968
3969         * gst/gstclock.h:
3970         * libs/gst/base/gstbasesrc.h:
3971         * libs/gst/base/gstbasetransform.c:
3972         * libs/gst/check/gstcheck.c:
3973         Small documentation fixes. Fixes #523978.
3974
3975 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3976
3977         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3978         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3979         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3980
3981 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3982
3983         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3984         (single_queue_underrun_cb):
3985         When trying to make room in the queue, bump the max allowed buffers
3986         bigger than the current amount of buffers in the queue. this fixes some
3987         nasty deadlocks in multiqueue when dynamically changing the limits of
3988         the queue.
3989
3990 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3991
3992         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3993
3994         * gst/gstcaps.c: (gst_caps_set_simple),
3995         (gst_caps_set_simple_valist), (gst_caps_intersect):
3996         * gst/gstcaps.h:
3997         Constify the field gchar * params in set_simple and friends.
3998         Fixes #522326.
3999
4000 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4001
4002         * gst/gstvalue.c: (gst_value_transform_object_string):
4003         Transform a GstObject to a more meaningfull string that includes the
4004         object type in addition to its name.
4005
4006 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4007
4008         * ChangeLog:
4009           ChangeLog surgery to add bugnumber to commit.
4010
4011 2008-03-23  Rene Stadler  <mail@renestadler.de>
4012
4013         * libs/gst/base/gstbasetransform.c:
4014         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4015
4016 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4017
4018         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4019         Rename constant everywhere and don't forget one occurence.
4020
4021 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4022
4023         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4024         Align memory to the pointer size even if the architecture allows
4025         unaligned memory access. Unaligned memory access usually comes with
4026         performance penality.
4027
4028 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4029
4030         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4031         (gst_registry_binary_check_magic),
4032         (gst_registry_binary_load_pad_template),
4033         (gst_registry_binary_load_feature),
4034         (gst_registry_binary_load_plugin):
4035         Align memory to the pointer size instead of always 32 bit. Fixes
4036         unaligned memory accesses on ia64 and friends.
4037
4038         * gst/gstregistrybinary.h:
4039         Bump binary registry format version for this as it changes the
4040         format on those architectures that don't have unaligned access
4041         and 64 bit pointers.
4042
4043 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4044
4045         * docs/pwg/advanced-dparams.xml:
4046         * docs/pwg/building-props.xml:
4047         * docs/pwg/other-source.xml:
4048         * gst/glib-compat.h:
4049         * gst/gstbin.c: (gst_bin_class_init):
4050         * gst/gstclock.c: (gst_clock_class_init):
4051         * gst/gstindex.c: (gst_index_class_init):
4052         * gst/gstobject.c: (gst_object_class_init):
4053         * gst/gstpad.c: (gst_pad_class_init):
4054         * gst/gstpipeline.c: (gst_pipeline_class_init):
4055         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4056         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4057         * libs/gst/base/gstbasetransform.c:
4058         (gst_base_transform_class_init):
4059         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4060         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4061         (_gst_check_fault_handler_sighandler),
4062         (_gst_check_fault_handler_setup), (gst_check_init):
4063         * libs/gst/controller/gstcontroller.c:
4064         (_gst_controller_class_init):
4065         * libs/gst/controller/gstlfocontrolsource.c:
4066         (gst_lfo_control_source_class_init):
4067         * libs/gst/net/gstnetclientclock.c:
4068         (gst_net_client_clock_class_init):
4069         * libs/gst/net/gstnettimeprovider.c:
4070         (gst_net_time_provider_class_init):
4071         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4072         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4073         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4074         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4075         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4076         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4077         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4078         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4079         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4080         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4081         * plugins/elements/gsttee.c: (gst_tee_class_init):
4082         * plugins/elements/gsttypefindelement.c:
4083         (gst_type_find_element_class_init):
4084         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4085         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4086         use it everywhere for GParamSpecs that use static strings (i.e. all).
4087         This gives us less memory usage, fewer allocations and thus less
4088         memory defragmentation. Fixes bug #523806.
4089
4090 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4091
4092         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4093         (gst_param_spec_mini_object):
4094         * gst/gstminiobject.h:
4095         * win32/common/libgstreamer.def:
4096         * docs/gst/gstreamer-sections.txt:
4097         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4098         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4099         GstParamSpecMiniObject into a public header for this.
4100
4101         This make GstMiniObject a bit more consistent with GObject and makes
4102         it possible to extend the param specs.
4103
4104         gst_value_dup_mini_object is mainly useful for set_property methods.
4105
4106         Fixes bug #523798.
4107
4108         * tools/gst-inspect.c: (print_element_properties_info):
4109         Print something useful for GstMiniObject properties and not just
4110         "unknown type".
4111
4112 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4113
4114         * docs/gst/gstreamer-sections.txt:
4115         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4116         (gst_registry_binary_check_magic):
4117         * gst/gstregistrybinary.h:
4118         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4119         and add it to the (private part) of the docs to fix the build.
4120
4121 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4122
4123         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4124         (gst_registry_binary_check_magic),
4125         (gst_registry_binary_read_cache):
4126         * gst/gstregistrybinary.h:
4127         Don't use GST_MAJORMINOR for the binary registry version. Instead
4128         hardcode a value that must be changed whenever the format changes
4129         in an incompatible way.
4130         Also don't GST_ERROR when there is a version mismatch, just
4131         regenerate the registry silently.
4132
4133 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4134
4135         * configure.ac:
4136         Back to development - 0.10.18.1
4137
4138 === release 0.10.18 ===
4139
4140 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4141
4142         * configure.ac:
4143           releasing 0.10.18, "So far away"
4144
4145 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4146
4147         * configure.ac:
4148         * win32/common/config.h:
4149         0.10.17.4 pre-release
4150
4151 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4152
4153         Patch by: Ole André Vadla Ravnås
4154             <ole dot andre dot ravnas at tandberg dot com>
4155
4156         * docs/gst/gstreamer-sections.txt:
4157         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4158         (gst_poll_update_winsock_event_mask),
4159         (gst_poll_prepare_winsock_active_sets),
4160         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4161         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4162         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4163         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4164         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4165         * gst/gstpoll.h:
4166         * win32/common/libgstreamer.def:
4167         Add new function gst_poll_fd_ignored() for improved Windows
4168         compatibility.
4169         Various minor fixes and cleanups. See #520808.
4170
4171 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4172
4173         * gst/gstindex.c: (gst_index_entry_free):
4174         * gst/gstindex.h:
4175           Don't free key strings which we don't own. Fixes crash in
4176           gst_index_entry_free() (#522741).
4177
4178         * tests/check/Makefile.am:
4179         * tests/check/gst/.cvsignore:
4180         * tests/check/gst/gstindex.c: (test_index_entries),
4181           (gst_index_suite), (gst_index):
4182           Add unit test for the above.
4183
4184 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4185
4186         * win32/common/libgstreamer.def:
4187         Remove symbols that were removed recently. Fixes bug #521740.
4188
4189 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4190
4191         * configure.ac:
4192         * win32/common/config.h:
4193         0.10.17.3 pre-release
4194
4195 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4196
4197         Patch by: Ole André Vadla Ravnås
4198             <ole dot andre dot ravnas at tandberg dot com>
4199
4200         * docs/gst/gstreamer-sections.txt:
4201         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4202         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4203         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4204         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4205         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4206         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4207         (gst_poll_fd_can_write), (gst_poll_wait),
4208         (gst_poll_set_controllable), (gst_poll_restart),
4209         (gst_poll_set_flushing):
4210         * gst/gstpoll.h:
4211         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4212         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4213         (gst_net_time_provider_new):
4214         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4215         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4216         * tests/benchmarks/gstpollstress.c: (main):
4217         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4218         Remove GstPollMode from the API, it does not make sense to let the
4219         application control this.
4220         Add support for Win32.
4221         Fix the testsuite. Fixes #520671.
4222
4223 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4224
4225         Patch by: Ole André Vadla Ravnås
4226             <ole dot andre dot ravnas at tandberg dot com>
4227
4228         * gst/gstregistrybinary.c:
4229         Include io.h for write() and close() when building with MSVC. Fixes
4230         bug #520877.
4231
4232 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4233
4234         * configure.ac:
4235         * gst/gst_private.h:
4236         * gst/gstconfig.h.in:
4237         * gst/gstregistry.h:
4238         * gst/gstregistrybinary.c:
4239         * win32/common/gstconfig.h:
4240           Move registry backend API to private headers where we can. Add
4241           fixme-0.11 comments for the others. Add stubs for the xml backend when
4242           using the binary to ensure they functions exists (they should not be
4243           used though). Fixes #520756.
4244
4245 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4246
4247         * configure.ac:
4248         * win32/common/config.h:
4249         0.10.17.2 prelease
4250
4251 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4252
4253         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4254         (gst_registry_binary_read_cache):
4255         * gst/gstregistryxml.c: (gst_registry_save):
4256         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4257         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4258         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4259         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4260         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4261         Fixes #520152
4262
4263 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4264
4265         * gst/gstminiobject.c:
4266         Import gst_private.h before any other header that might include other
4267         glib headers. This fixes the build on windows using native compilers.
4268
4269 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4270
4271         * win32/common/gstconfig.h:
4272           Add here too, just for completeness.
4273
4274 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4275
4276         * configure.ac:
4277         * gst/gstconfig.h.in:
4278         * gst/gstregistry.h:
4279           Fix broken use of config.h-defined preprocessor directive in a public
4280           header file. Add a corresponding define to gstconfig.h, since we can't
4281           really remove those function declarations from the header file now
4282           (or can we? and why are they there in the first place?).
4283
4284 2008-03-03  Andy Wingo  <wingo@pobox.com>
4285
4286         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4287         the new warning.
4288
4289         * gst/gststructure.c (gst_structure_from_string): Warn if
4290         structure_from_string didn't consume the whole string, but the
4291         caller did not provide an end pointer.
4292
4293 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4294
4295         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4296
4297         * gst/gstregistryxml.c: (read_string), (load_feature):
4298           Strings allocated by libxml2 should be freed with xmlFree(), not
4299           with g_free(). Fixes issues on windows in certain contexts (#519698).
4300
4301 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4302
4303         * gst/gstinterface.c: (gst_element_implements_interface):
4304           Don't crash if the element supports the interface queried, but does
4305           not implement GstImplementsInterface. Fixes #519584.
4306
4307         * tests/check/Makefile.am:
4308         * tests/check/gst/.cvsignore:
4309         * tests/check/gst/gstinterface.c:
4310           Add unit test for the above.
4311
4312 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4313
4314         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4315         Small doc update.
4316
4317 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4318
4319         * gst/gstsegment.c: (gst_segment_set_seek),
4320         (gst_segment_to_stream_time):
4321         Improve some comment.
4322         Update variables where it makes more sense.
4323
4324 2008-02-29  Rene Stadler  <mail@renestadler.de>
4325
4326         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4327         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4328         URIHandlers implemented using language bindings.
4329
4330 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4331
4332         * gst/gstelementfactory.h:
4333         * tests/check/elements/fakesink.c:
4334         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4335         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4336         * tests/check/elements/filesink.c: (setup_filesink):
4337         * tests/check/elements/filesrc.c: (setup_filesrc):
4338         * tests/check/elements/identity.c: (setup_identity):
4339         * tests/check/elements/tee.c:
4340         * tests/check/generic/sinks.c:
4341         * tests/check/generic/states.c: (setup), (teardown):
4342         * tests/check/gst/gst.c:
4343         * tests/check/gst/gstabi.c:
4344         * tests/check/gst/gstbin.c:
4345         * tests/check/gst/gstbus.c: (pull_messages):
4346         * tests/check/gst/gstcaps.c:
4347         * tests/check/gst/gstelement.c:
4348         * tests/check/gst/gstevent.c:
4349         * tests/check/gst/gstghostpad.c:
4350         * tests/check/gst/gstiterator.c:
4351         * tests/check/gst/gstmessage.c:
4352         * tests/check/gst/gstminiobject.c: (my_foo_init):
4353         * tests/check/gst/gstobject.c: (thread_name_object),
4354         (gst_object_suite):
4355         * tests/check/gst/gstpad.c:
4356         * tests/check/gst/gstplugin.c:
4357         * tests/check/gst/gstpoll.c:
4358         * tests/check/gst/gstquery.c:
4359         * tests/check/gst/gstsegment.c:
4360         * tests/check/gst/gststructure.c:
4361         * tests/check/gst/gstsystemclock.c:
4362         * tests/check/gst/gsttask.c:
4363         * tests/check/gst/gstutils.c:
4364         * tests/check/gst/gstvalue.c:
4365         * tests/check/gst/struct_hppa.h:
4366         * tests/check/gst/struct_i386.h:
4367         * tests/check/gst/struct_ppc32.h:
4368         * tests/check/gst/struct_ppc64.h:
4369         * tests/check/gst/struct_x86_64.h:
4370         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4371         * tests/check/libs/basesrc.c:
4372         * tests/check/libs/controller.c: (GST_START_TEST):
4373         * tests/check/libs/gdp.c:
4374         * tests/check/libs/gstnetclientclock.c:
4375         * tests/check/libs/gstnettimeprovider.c:
4376         * tests/check/libs/libsabi.c:
4377         * tests/check/libs/struct_hppa.h:
4378         * tests/check/libs/struct_i386.h:
4379         * tests/check/libs/struct_ppc32.h:
4380         * tests/check/libs/struct_ppc64.h:
4381         * tests/check/libs/struct_x86_64.h:
4382         * tests/check/pipelines/cleanup.c:
4383         * tests/check/pipelines/simple-launch-lines.c:
4384         * tests/check/pipelines/stress.c:
4385         And correct even more valid sparse warnings.
4386
4387         * win32/common/libgstreamer.def:
4388         Add gst_poll_fd_init to the list of symbols.
4389
4390 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4391
4392         * gst/gstconfig.h.in:
4393         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4394         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4395         (gst_check_log_critical_func), (gst_check_drop_buffers),
4396         (gst_check_element_push_buffer_list):
4397         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4398         (gst_controller_get_type):
4399         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4400         (gst_object_get_controller), (gst_object_get_control_source):
4401         * libs/gst/controller/gstinterpolationcontrolsource.c:
4402         (gst_interpolation_control_source_new):
4403         * libs/gst/controller/gstlfocontrolsource.c:
4404         (gst_lfo_control_source_new):
4405         * libs/gst/dataprotocol/dataprotocol.c:
4406         (gst_dp_event_from_packet_0_2):
4407         * plugins/elements/gstfdsrc.c:
4408         * plugins/elements/gstmultiqueue.c:
4409         * plugins/elements/gsttee.c:
4410         * plugins/elements/gsttypefindelement.c:
4411         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4412         (gst_file_index_add_association):
4413         * plugins/indexers/gstmemindex.c:
4414         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4415         * tests/check/elements/queue.c: (setup_queue):
4416         * tests/check/gst/gstpipeline.c:
4417         * tests/check/libs/collectpads.c: (setup), (teardown),
4418         (gst_collect_pads_suite):
4419         * tests/examples/adapter/adapter_test.c:
4420         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4421         * tests/examples/xml/createxml.c:
4422         * tests/examples/xml/runxml.c:
4423         * tools/gst-inspect.c:
4424         * tools/gst-run.c:
4425         Correct all relevant warnings found by the sparse semantic code
4426         analyzer. This include marking several symbols static, using
4427         NULL instead of 0 for pointers, not using variable sized arrays
4428         on the stack, moving variable declarations to the beginning of
4429         a block and using "foo (void)" instead of "foo ()" for declarations.
4430
4431 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4432
4433         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4434         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4435         Don't reset GstPollFDs, this is not necessary at all.
4436
4437         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4438         (delayed_restart), (delayed_control):
4439         Use GST_POLL_FD_INIT.
4440
4441 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4442
4443         * gst/gstpoll.c: (gst_poll_fd_init):
4444         * gst/gstpoll.h:
4445         Added Since tags.
4446
4447         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4448         Use some more init macros.
4449
4450 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4451
4452         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4453         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4454         Use init macros and functions.
4455
4456 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4457
4458         * docs/gst/gstreamer-sections.txt:
4459         * gst/gstpoll.c: (gst_poll_fd_init):
4460         * gst/gstpoll.h:
4461         Add INIT macro and _init method for initializing the GstPollFD.
4462
4463 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4464
4465         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4466         (gst_fd_sink_update_fd):
4467         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4468         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4469         (delayed_restart), (delayed_control):
4470         Initialize some uninitialized variables as spotted by valgrind.
4471
4472 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4473
4474         * tests/benchmarks/Makefile.am:
4475         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4476         (main):
4477         Add poll stress test.
4478
4479 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4480
4481         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4482
4483         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4484         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4485         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4486         * plugins/elements/gstfdsink.h:
4487         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4488         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4489         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4490         (gst_fd_src_uri_set_uri):
4491         * plugins/elements/gstfdsrc.h:
4492         Port to GstPoll. See #505417.
4493
4494 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4495
4496         * win32/common/libgstreamer.def:
4497         Add new gst_poll_ symbols to win32 defs.
4498
4499 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4500
4501         * docs/libs/gstreamer-libs-sections.txt:
4502         * libs/gst/net/gstnetclientclock.c:
4503         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4504         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4505         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4506         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4507         * libs/gst/net/gstnetclientclock.h:
4508         * libs/gst/net/gstnettimeprovider.c:
4509         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4510         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4511         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4512         (gst_net_time_provider_new):
4513         * libs/gst/net/gstnettimeprovider.h:
4514         Use a private stuct to not break ABI.
4515
4516 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4517
4518         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4519
4520         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4521         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4522         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4523         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4524         * libs/gst/net/gstnetclientclock.h:
4525         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4526         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4527         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4528         (gst_net_time_provider_new):
4529         * libs/gst/net/gstnettimeprovider.h:
4530         Massive code removal and cleanups because of GstPoll.
4531         Fixes #505417.
4532
4533 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4534
4535         * configure.ac:
4536         Add checks for poll, ppoll and pselect.
4537
4538         * docs/gst/gstreamer-docs.sgml:
4539         * docs/gst/gstreamer-sections.txt:
4540         Add docs for GstPoll.
4541
4542         * gst/Makefile.am:
4543         * gst/gst.h:
4544         * gst/gstpoll.c: (find_index), (selectable_fds),
4545         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4546         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4547         (gst_poll_set_mode), (gst_poll_get_mode),
4548         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4549         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4550         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4551         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4552         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4553         (gst_poll_fd_can_write), (gst_poll_wait),
4554         (gst_poll_set_controllable), (gst_poll_restart),
4555         (gst_poll_set_flushing):
4556         * gst/gstpoll.h:
4557         Add generic poll abstraction. We ideally don't want to have this in core
4558         here but in glib intead...
4559         This code will be used in various network elements and ultimately for
4560         the nanosecond precision monotonic clock (that's why it's here in core).
4561         It'll allow us to implement cancelable socket operations for windows too.
4562
4563         * tests/check/Makefile.am:
4564         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4565         (delayed_stop), (delayed_restart), (delayed_flush),
4566         (delayed_control), (gst_poll_suite):
4567         Add GstPoll unit test.
4568
4569 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4570
4571         * gst/gstfilter.c:
4572           Improve documentation of gst_filter_run(). Fixes #518627.
4573
4574 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4575
4576         * docs/README:
4577           Add a few lines about the new 'check-inspected-versions' target.
4578
4579 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4580
4581         * tests/check/gst/gstevent.c:
4582           Add qos to the event test. Rename tcase/tsuite; is not only about
4583           custom events.
4584
4585 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4586
4587         * plugins/elements/gstqueue.c:
4588           Ensure that buffer metadata is writeable, before modifying. Spotted by
4589           Mike.
4590
4591 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4592
4593         * plugins/elements/gstqueue.c:
4594         * plugins/elements/gstqueue.h:
4595           When dropping buffers in leaky modes, mark next buffers we sent as
4596           DISCONT.
4597
4598 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4599
4600         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4601           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4602
4603 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4604
4605         * plugins/elements/Makefile.am:
4606         * plugins/elements/gstbufferstore.c:
4607         * plugins/elements/gstbufferstore.h:
4608         * plugins/elements/gsttypefindelement.h:
4609           Remove GstBufferStore, no idea why we were still building it.
4610           It's not used anywhere and superseded by GstAdapter.
4611
4612         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4613           (gst_file_src_create_mmap):
4614         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4615           Printf format fixes for 64-bit integers.
4616
4617 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4618
4619         * configure.ac:
4620         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4621         We're not in 0.8 times anymore.
4622
4623 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4624
4625         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4626         (gst_check_element_push_buffer_list):
4627         * libs/gst/check/gstcheck.h:
4628         Make the declaration in the header for
4629         gst_check_element_push_buffer_list match the implementation.
4630
4631         Fix up spelling, grammar and wording of the documentation in a few
4632         places, and add the Since keyword to new API functions.
4633         Use g_list_delete_link instead of g_list_remove in
4634         gst_check_drop_buffers, since it's immeasurably more efficient.
4635
4636         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4637         Use new gst_check_drop_buffers function where appropriate.
4638
4639         * win32/common/libgstbase.def:
4640         * win32/common/libgstreamer.def:
4641         Add new symbols gst_collect_pads_take_buffer, 
4642         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4643         exports
4644
4645         Changelog surgery to add API keyword to new gst_check API.
4646
4647 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4648
4649         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4650         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4651         Update pre-generated flex files with flex 2.3.34.
4652
4653 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4654
4655         * gst/gstminiobject.c:
4656           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4657           friendly to subclasses and not require them to know all internals
4658           of their parent class.
4659
4660 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4661
4662         * docs/libs/gstreamer-libs-sections.txt:
4663         * libs/gst/base/gstcollectpads.c:
4664         * libs/gst/base/gstcollectpads.h:
4665           Add sub-buffer functions to collectpads. Fixes #516187.
4666           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4667
4668 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4669
4670         * gst/gstbuffer.c:
4671           Copy selected buffer-flags when creating subbuffers.
4672           Fixes #516395.
4673
4674 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4675
4676         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4677         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4678         * gst/gstmessage.c: (gst_message_class_init),
4679         (gst_message_finalize):
4680         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4681         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4682         (gst_mmap_buffer_finalize):
4683         Properly chain up finalize functions to the parent class.
4684
4685 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4686
4687         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4688
4689         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4690         (gst_index_set_resolver_full):
4691         * gst/gstindex.h:
4692         Add new function with option to dispose of user_data in resolver.
4693         Actually call the dispose function when finalizing the object and not
4694         just when changing the resolver/filter.
4695         API: GstIndex::gst_index_set_resolver_full()
4696
4697         * docs/gst/gstreamer-sections.txt:
4698         Add new function to docs. Fixes #515469.
4699
4700 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4701
4702         * gst/gstindex.c: (gst_index_finalize):
4703         Chain up finalize to the parent class. Fixes leaking the GstObject
4704         name and other things.
4705
4706 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4707
4708         * configure.ac:
4709         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4710         pre-releases or releases.
4711
4712         * docs/faq/gst-uninstalled:
4713         Add gst-plugins-gl
4714
4715         * docs/random/release:
4716         Change one of the steps - we only upload core & base to Gnome FTP
4717
4718 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4719
4720         * gst/gstconfig.h.in:
4721           Add 'id' for example.
4722
4723         * gst/gstpad.c:
4724         * gst/gstutils.c:
4725         * plugins/elements/gstfdsink.c:
4726           Link to signals. Doc and comment fixes.
4727
4728 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4729
4730         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4731         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4732           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4733           unused and unimplemented; finally, it is plugin features, not
4734           plugins, that have ranks.
4735           
4736 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4737
4738         * gst/gstpluginfeature.h:
4739           Clarify GstRank range docs.
4740
4741 2008-02-05  David Schleef  <ds@schleef.org>
4742
4743         * gst/gst.c: Add a separate gst_deinitialized that prevents
4744           gst_init() from being called after gst_deinit().  Fixes #509559
4745
4746 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4747
4748         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4749         (gst_bin_class_init):
4750         * gst/gstelement.c: (gst_element_base_class_init),
4751         (gst_element_class_add_pad_template):
4752         * gst/gstpadtemplate.c: (gst_pad_template_init):
4753         * gst/gstpipeline.c: (gst_pipeline_get_type),
4754         (gst_pipeline_base_init), (gst_pipeline_class_init):
4755         * libs/gst/base/gstbasesink.c:
4756         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4757         (gst_base_src_base_init), (gst_base_src_class_init):
4758         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4759         (gst_capsfilter_class_init):
4760         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4761         (gst_fake_sink_class_init):
4762         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4763         (gst_fake_src_class_init):
4764         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4765         (gst_fd_sink_class_init):
4766         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4767         (gst_fd_src_class_init):
4768         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4769         (gst_file_sink_class_init):
4770         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4771         (gst_file_src_class_init):
4772         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4773         (gst_identity_class_init):
4774         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4775         (gst_multi_queue_class_init):
4776         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4777         (gst_queue_class_init):
4778         * plugins/elements/gsttee.c: (gst_tee_base_init),
4779         (gst_tee_class_init):
4780         * plugins/elements/gsttypefindelement.c:
4781         (gst_type_find_element_base_init),
4782         (gst_type_find_element_class_init):
4783         * tests/check/gst/gstelement.c: (gst_element_suite):
4784         Revert previous changes to the behaviour of GstPadTemplates, etc
4785         and the possiblity to call them in class_init as it breaks too
4786         many elements. Reopens bug #491501.
4787
4788         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4789         several places.
4790
4791 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4792
4793         * tools/gst-launch.c:
4794         Dump one graph per pipeline state-change and state change name
4795         (if GST_DEBUG_DUMP_DOT_DIR is set).
4796
4797 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4798
4799         * gst/gstpad.c:
4800         * tests/check/gst/gstpad.c:
4801         Be sure that we have a new copy of the caps and not
4802         reffed caps from a template
4803
4804 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4805
4806         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4807         * gst/gstpipeline.c: (gst_pipeline_get_type),
4808         (gst_pipeline_class_init):
4809         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4810         (gst_base_sink_class_init):
4811         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4812         (gst_base_src_class_init):
4813         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4814         (gst_base_transform_class_init):
4815         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4816         (gst_collect_pads_class_init):
4817         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4818         * libs/gst/net/gstnettimeprovider.c:
4819         (gst_net_time_provider_base_init),
4820         (gst_net_time_provider_class_init):
4821         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4822         (gst_capsfilter_class_init):
4823         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4824         (gst_fake_sink_class_init):
4825         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4826         (gst_fake_src_class_init):
4827         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4828         (gst_fd_sink_class_init):
4829         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4830         (gst_fd_src_class_init):
4831         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4832         (gst_file_sink_class_init):
4833         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4834         (gst_file_src_class_init):
4835         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4836         (gst_identity_class_init):
4837         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4838         (gst_multi_queue_class_init):
4839         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4840         (gst_queue_class_init):
4841         * plugins/elements/gsttee.c: (gst_tee_base_init),
4842         (gst_tee_class_init):
4843         * plugins/elements/gsttypefindelement.c:
4844         (gst_type_find_element_base_init),
4845         (gst_type_find_element_class_init):
4846         Don't use base_init where not absolutely necessary. For example it's
4847         not necessary anymore for adding pad templates or setting element
4848         details.
4849
4850         Leave empty base_init functions in several places as GST_BOILERPLATE
4851         still defines and uses them.
4852
4853 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4854
4855         * gst/gstelement.c: (gst_element_base_class_init),
4856         (gst_element_class_add_pad_template):
4857         * gst/gstpadtemplate.c:
4858         Make it possible (and recommended) to set element details and add
4859         pad templates in the class_init functions by copying the details/pad
4860         templates in GstElement's base_init.
4861
4862         Also make it possible to replace existing pad templates by adding
4863         a new one with the same name. This was done in a hackish fashion
4864         in same elements before already.
4865
4866         Don't reference pad templates that are added a second time. A
4867         new pad template has a refcount of one and is not floating anymore
4868         and to be owned by the element's class. Make this more explicit by
4869         mentioning it in the docs of gst_element_class_add_pad_template().
4870
4871         These changes are backwards compatible. Fixes bug #491501.
4872
4873         * tests/check/gst/gstelement.c:
4874         Add unit test for setting element details, adding pad templates and
4875         replacing them in a subclass.
4876
4877 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4878
4879         * tools/gst-inspect.c: (print_interfaces),
4880         (print_element_properties_info), (print_pad_info),
4881         (print_signal_info), (print_element_info):
4882         Fix a few memory leaks.
4883
4884 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4885
4886         * docs/libs/gstreamer-libs-sections.txt:
4887         * libs/gst/check/gstcheck.c:
4888         * libs/gst/check/gstcheck.h:
4889         Add more functions for unit testing: gst_check_drop_buffers,
4890         gst_check_caps_equal, gst_check_element_push_buffer_list,
4891         gst_check_element_push_buffer
4892         API: gst_check_drop_buffers
4893         API: gst_check_caps_equal
4894         API: gst_check_element_push_buffer_list
4895         API: gst_check_element_push_buffer
4896
4897 2008-02-01  Julien Moutte  <julien@fluendo.com>
4898
4899         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4900         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4901         (gst_index_finalize), (gst_index_entry_free),
4902         (gst_index_add_association): Fix memory leaks.
4903         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4904         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4905         (gst_mem_index_free_format), (gst_mem_index_free_id),
4906         (gst_mem_index_finalize): Fix memory leaks.
4907         * win32/common/config.h: Updated to CVS HEAD.
4908
4909 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4910
4911         * docs/README:
4912           Some more details about how the plugin docs works.
4913
4914         * docs/plugins/gstreamer-plugins-sections.txt:
4915           Whitespace cleanup.
4916
4917 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4918
4919         * gst/parse/grammar.tab.pre.c:
4920         * gst/parse/grammar.tab.pre.h:
4921         * gst/parse/grammar.y:
4922         * gst/parse/lex._gst_parse_yy.pre.c:
4923           Add delayed set-property. This allows to set properties on dynamicaly
4924           created objects (pads in videomxer). Fixes #509391.
4925
4926 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4927
4928         * gst/gstutils.c:
4929         Check if caps are not NULL (fix bug #510194)
4930
4931 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4932
4933         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4934         (gst_base_sink_get_position_paused):
4935         Add fixme regarding EOS in pull mode.
4936         Fix position reporting in PAUSED for negative rates.
4937
4938 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4939
4940         * gst/gstminiobject.c: (gst_mini_object_replace):
4941         When replacing a miniobject, do a quick equality check first so that we
4942         can avoid a ref/unref pair.
4943
4944 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4945
4946         * docs/design/part-synchronisation.txt:
4947         Update some docs.
4948
4949         * docs/plugins/Makefile.am:
4950         * docs/plugins/gstreamer-plugins-docs.sgml:
4951         * docs/plugins/gstreamer-plugins-sections.txt:
4952         * plugins/elements/gstmultiqueue.c:
4953         Add multiqueue to the docs.
4954
4955 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4956
4957         * configure.ac:
4958           Back to CVS
4959
4960 === release 0.10.17 ===
4961
4962 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4963
4964         * configure.ac:
4965           releasing 0.10.17, "Due Negligence"
4966
4967 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4968
4969         * gst/gstutils.c:
4970         Revert caps != NULL check temporarily for 0.10.17 release.
4971
4972 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4973
4974         * gst/gstutils.c:
4975         Check if caps are not NULL (fix bug #510194)
4976
4977 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4978
4979         * gst/gstutils.c:
4980         Fix compilation on systems that have posix timers but no
4981         monotonic clock.
4982         Fixes: #512715
4983         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4984         dot net>
4985
4986 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4987
4988         * tools/gst-inspect.c:
4989         Revert previous commit in preparation for an impromptu 0.10.17 release
4990
4991 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4992
4993         * tools/gst-inspect.c: (print_interfaces),
4994         (print_element_properties_info), (print_pad_info),
4995         (print_signal_info), (print_element_info):
4996         Fix a few memory leaks.
4997
4998 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4999
5000         * configure.ac:
5001         Back to CVS
5002
5003 === release 0.10.16 ===
5004
5005 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5006
5007         * configure.ac:
5008           releasing 0.10.16, "Special Dispensation"
5009
5010 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5011
5012         * configure.ac:
5013           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5014           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5015           not fail when trying to crosscompile on OpenEmbedded (#511750).
5016
5017 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5018
5019         * docs/manuals.mak:
5020         Use $(MAKE) instead of make to fix the build if GNU make is
5021         called different. Fixes bug #510747.
5022
5023 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5024
5025         * gst/gstplugin.c: (_gst_plugin_initialize):
5026           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5027           again, which I broke two commits ago when changing the API
5028           of gst_plugin_register_static(): the g_list_foreach() in
5029           _gst_plugin_register_static still assumed the old function
5030           signature and would therefore fail (re-fixes #510187).
5031
5032         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5033           (_gst_plugin_register_static), (gst_plugin_register_static):
5034           Revert the (technically correct) change to call g_thread_init() from
5035           the pre-main() constructor. This will break programs which call
5036           g_thread_init() without an if (!g_thread_supported()) guard in their
5037           main function. We could just blame it on GLib or the application, but
5038           it's probably best to just avoid this altogether and simply not use
5039           any GLib functions here and use plain old malloc() with a simple
5040           array to store the plugins to register later when gst_init() is
5041           finally called (re-fixes #510187).
5042
5043         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5044           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5045           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5046           (GST_START_TEST), (gst_plugin_suite):
5047           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5048           works.
5049
5050 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5051
5052         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5053           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5054           This makes gtk-doc complain, but results in slightly better
5055           compiler errors. The old _gst_plugin_register_static() is
5056           still guarded, so there'll be a compiler warning about that
5057           instead. Fixes #510187 too.
5058
5059 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5060
5061         * gst/gst.c: (init_post):
5062         * gst/gstplugin.c: (_gst_plugin_register_static),
5063           (gst_plugin_register_static), (_gst_plugin_initialize):
5064         * gst/gstplugin.h: (GstPluginFilter):
5065           Change API of gst_plugin_register_static() to not take
5066           a GstPluginDesc, but rather just take all the arguments
5067           in a GstPluginDesc directly. This is more intuitive and
5068           avoids certain mistakes when porting code from
5069           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5070           Fixes #510187.
5071
5072         * tests/check/gst/gstplugin.c:
5073           Fix up for changed API.
5074
5075 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5076
5077         * docs/faq/legal.xml:
5078           Update FAQ, Totem actually has an exception these days.
5079
5080 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5081
5082         * win32/common/libgstreamer.def:
5083         Add new API declarations
5084
5085 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5086
5087         * gst/gstminiobject.c:
5088           Spelling fixes for the API docs.
5089
5090 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5091
5092         * libs/gst/base/gstbasetransform.c:
5093           Fix long property description for QoS.
5094
5095 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5096
5097         * gst/gst.c:
5098         _gst_trace_on is already provided by gsttrace.h, no need to declare
5099         it ourselves.
5100
5101         * docs/libs/gstreamer-libs-sections.txt:
5102         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5103         and remove strange tcase_add_test which is outputting a warning.
5104
5105         * libs/gst/check/gstcheck.c:
5106         * libs/gst/check/gstcheck.h:
5107         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5108         and define them in gstcheck.c instead of having every .c file whcih
5109         includes gstcheck.h be defining its own copy and relying on symbol
5110         interposing to marry them all, which doesn't work on Solaris.
5111
5112         * tests/check/elements/identity.c: (GST_START_TEST):
5113         Don't define 'buffers' locally, it comes from libgstcheck.
5114
5115         * tests/check/generic/sinks.c: (send_buffer):
5116         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5117
5118         * tests/check/gst/gststructure.c: (GST_START_TEST):
5119         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5120         * tests/check/gst/gstutils.c: (GST_START_TEST):
5121         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5122         Add a bunch of casts to make various constants fit the types
5123         they're being assigned to.
5124
5125 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5126
5127         * gst/gstchildproxy.c:
5128           Improve docs and add some ideas for making this more general-purpose.
5129
5130 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5131
5132         * gst/gst_private.h: (GST_CAT_TYPES):
5133           Add GST_CAT_TYPES, for consistency, and so that the other
5134           debug categories don't make fun of it. Spotted by Saur on IRC.
5135
5136 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5137
5138         * gst/parse/Makefile.am:
5139           Move types.h from EXTRA_DIST to noinst_HEADERS.
5140
5141 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5142
5143         * autogen.sh:
5144           Add -Wno-portability to the automake parameters to stop warnings
5145           about GNU make extensions being used. We require GNU make in almost
5146           every Makefile anyway.
5147
5148         * configure.ac:
5149           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5150           at the same time is required for per target flags.
5151
5152 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5153
5154         * gst/gstmacros.h:
5155           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5156           __GNUC__ is defined before using it.
5157
5158 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5159
5160         * docs/gst/gstreamer-sections.txt:
5161         * gst/gst.c: (init_post):
5162         * gst/gstplugin.c: (_gst_plugin_register_static),
5163           (gst_plugin_register_static), (_gst_plugin_initialize),
5164           (gst_plugin_register_func):
5165         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5166           API: add gst_plugin_register_static() and deprecate
5167           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5168           (#498924).
5169           Also, in _gst_plugin_register_static(), make sure to call
5170           g_thread_init() before calling GLib functions such as
5171           g_list_append() if we're not initialised yet, since that
5172           may lead to random crashes with older GSlice/GLib versions.
5173
5174         * tests/check/gst/gstplugin.c:
5175           Adapt unit test to above changes.
5176
5177 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5178
5179         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5180         * gst/gstcaps.c: (gst_caps_to_string):
5181         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5182           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5183           Yet another gratuitous GString micro-optimisation: add a (private)
5184           function that serialises a structure appending to an existing
5185           GString, so that when we serialise caps we don't need to alloc+free
5186           a throwaway GString for each structure (each of which also entailing
5187           multiple reallocs on the way); also use g_string_sized_new() in
5188           various places with an approximate string length to avoid reallocs
5189           within GString. See #500143.
5190
5191 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5192
5193         * gst/gststructure.c: (gst_structure_id_set_value):
5194           Always check UTF-8 conformance of structure strings and not only
5195           if the debugging system is enabled; reasoning: the behaviour of
5196           the actual code shouldn't really change depending on whether the
5197           debugging system is enabled or not (#508291).
5198
5199 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5200
5201         * Makefile.am:
5202           Remove old coverage target in favour of "make lcov".
5203
5204 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5205
5206         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5207         (gst_base_src_loop):
5208         The start segment for reverse playback goes from start to last_stop.
5209
5210 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5211
5212         Patch by: Peter Kjellerstedt <pkj axis com>
5213
5214         * gst/gstclock.h:
5215         Cast the results from the timeval/spec_to_time macros to what the
5216         docs say it casts to, a GstClockTime. fixes #508175.
5217
5218 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5219
5220         * gst/gstbuffer.c:
5221         Update some comments.
5222
5223         * tools/gst-inspect.c: (print_element_properties_info):
5224         Improve printing of flags.
5225
5226 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5227
5228         * libs/gst/base/gstbasetransform.c:
5229           (gst_base_transform_transform_size):
5230           Print element name with g_warning() if there's a problem
5231           with the unit size.
5232
5233 2008-01-07  David Schleef  <ds@schleef.org>
5234
5235         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5236
5237         * libs/gst/controller/gstcontroller.h:
5238         * libs/gst/controller/gstcontrolsource.h:
5239         * libs/gst/controller/gstinterpolationcontrolsource.h:
5240         * libs/gst/controller/gstlfocontrolsource.h:
5241         * libs/gst/dataprotocol/dataprotocol.h:
5242           Fix empty prototypes.  Fixes bug #507957.
5243
5244 2008-01-07  David Schleef  <ds@schleef.org>
5245
5246         * docs/faq/dependencies.xml: Fix typo.
5247
5248 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5249
5250         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5251         (gst_base_src_loop):
5252         Don't update the last_stop position in do_seek, that's the position we
5253         did a seek to.
5254         Read backwards when we have a negative rate.
5255
5256         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5257         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5258         (filesrc_suite):
5259         Add check for reverse reading.
5260
5261 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5262
5263         Patch by: Alexis Ballier <aballier at gentoo org>
5264
5265         * tests/check/gst/gstabi.c:
5266         * tests/check/gst/struct_ppc64.h:
5267         * tests/check/libs/libsabi.c:
5268         * tests/check/libs/struct_ppc64.h:
5269           Decide which header to include based on the userland ABI target
5270           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5271           for 64-bit userland (#503590).  Might need something similar for
5272           x86 too.
5273
5274 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5275
5276         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5277           Log the reason why fopen fails in addition to the fact that it failed.
5278           
5279 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5280
5281         * gst/parse/parse.l:
5282         Use "%option never-interactive" to prevent useless calls to isatty()
5283         on every input when parsing. Also use "%option noinput" to not define
5284         the static input/yyinput functions which we don't use anyway. This
5285         removes a compiler warning with gcc 4.3 and saves some bytes in the
5286         library.
5287         
5288         * gst/parse/lex._gst_parse_yy.pre.c:
5289         Regenerated for the above change.
5290
5291 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5292
5293         * gst/gstpad.c: (fixate_value):
5294         Don't crash when trying to fixate and empty list.
5295         Fixes #506643.
5296
5297 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5298
5299         * docs/faq/gst-uninstalled:
5300         Clarify the comments to make the usage of this script and what it
5301         does easier to understand.
5302
5303 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5304
5305         * tools/gst-plot-timeline.py:
5306         Add more options to gst-plot-timeline
5307
5308 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5309
5310         * docs/design/part-synchronisation.txt:
5311         Some more info on how the stream_time in GstBaseSink is done.
5312
5313 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5314
5315         * tests/check/generic/sinks.c: (gst_sinks_suite):
5316           Put back the tcase_set_timeout(), apparently it's needed after
5317           all; fix it up in a way that makes things work with valgrind too.
5318
5319 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5320
5321         * gst/gstdebugutils.c:
5322           Add warning when failed to open file for writing.
5323
5324 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5325
5326         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5327
5328         * gst/gstvalue.c: (gst_value_is_fixed):
5329           Optimisation: bail out of the loop as early as possible (#500143).
5330
5331 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5332
5333         * gst/gstcaps.c: (gst_caps_to_string):
5334         * gst/gstinfo.c: (gst_debug_construct_term_color):
5335         * gst/gstparse.c: (gst_parse_launchv):
5336         * gst/gstutils.c: (gst_util_dump_mem):
5337         * gst/gstvalue.c: (gst_value_serialize_any_list),
5338           (gst_value_transform_any_list_string):
5339           Bunch of gratuitous nano-optimisations.
5340
5341 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5342
5343         * tests/check/generic/sinks.c: (async_done_func),
5344           (async_done_eos_func):
5345           Fix leak in unit test (bus sync handler must unref the message
5346           if it returns GST_BUS_DROP). Don't fiddle with the default test
5347           timeout, this is smaller than the current preconfigured value
5348           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5349           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5350
5351 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5352
5353         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5354
5355         * configure.ac:
5356         Check for stdio_ext.h for the filesink changes.
5357
5358         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5359         (gst_file_sink_class_init), (gst_file_sink_init),
5360         (gst_file_sink_dispose), (gst_file_sink_set_property),
5361         (gst_file_sink_get_property), (gst_file_sink_open_file),
5362         (gst_file_sink_close_file):
5363         * plugins/elements/gstfilesink.h:
5364         Add two properties to control the buffering mode and size.
5365         API: GstFileSink::buffer-mode
5366         API: GstFileSink::buffer-size
5367         Fixes #500150.
5368
5369 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5370
5371         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5372         Add some more docs to explain why a FIXME was wrongly added. 
5373
5374 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5375
5376         * gst/gstobject.c:
5377           Fix typo in the gst_object_{ref,unref} documentation.
5378
5379 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5380
5381         * tests/check/libs/controller.c:
5382         * tests/check/libs/typefindhelper.c:
5383         * tests/check/pipelines/parse-launch.c:
5384           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5385           going to be deprecated (see #498924).
5386
5387 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5388
5389         * gst/gsttypefind.c: (gst_type_find_register):
5390           Make gst_type_find_register work for static typefind functions,
5391           ie. allow passing plugin == NULL (prerequisite for #498924).
5392
5393         * gst/gstelementfactory.c: (gst_element_register):
5394           Small docs addition.
5395
5396 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5397
5398         * gst/gstpad.c: (gst_pad_dispose):
5399         Really unlink the peer pad instead of setting the peer pointer to NULL
5400         when we dispose the pad.
5401         This correctly calls the unlink functions and makes sure that the peer
5402         does not have a handle to invalid memory. See #504671.
5403
5404         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5405         Add testsuite for above case.
5406
5407 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5408
5409         Patch by: Peter Kjellerstedt <pkj axis com>
5410
5411         * libs/gst/check/gstcheck.h:
5412           Fix detection of the check version we're compiling against (would
5413           otherwise break if check goes v0.10.0); correctly report the
5414           name of the failed test again in case of failure, instead of
5415           just 'tf' (fixes #504499).
5416
5417 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5418
5419         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5420         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5421         (gst_base_src_loop), (gst_base_src_set_flushing),
5422         (gst_base_src_change_state):
5423         Allow sending EOS to the source to make it send out an EOS event from
5424         the streaming thread.
5425         Update docs and deprecate the old NULL/READY shutdown method.
5426
5427         * tests/check/libs/basesrc.c: (GST_START_TEST),
5428         (gst_basesrc_suite):
5429         Add unit test for controlled shutdown.
5430
5431 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5432
5433         * docs/design/part-synchronisation.txt:
5434         Small updates.
5435
5436         * gst/gstsegment.c: (gst_segment_set_seek),
5437         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5438         (gst_segment_to_running_time):
5439         The seek format can be different from the segment format when the start
5440         and stop values are not to be updated, when we only do a rate change for
5441         example.
5442
5443         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5444         (gst_segment_suite):
5445         Add a testcase for the rate-only seeks, checking that the format is
5446         correctly ignored when start and stop are not updated.
5447
5448 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5449
5450         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5451
5452         * win32/vs8/grammar.vcproj:
5453         * win32/vs8/libgstcontroller.vcproj:
5454         * win32/vs8/libgstreamer.vcproj:
5455         Fix compilation with VS8 and include some missing files.
5456
5457 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5458
5459         * gst/gsttaglist.c:
5460           Small docs addition: mention that the strings returned by
5461           gst_tag_list_get_string*() are in UTF-8 encoding.
5462
5463 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5464
5465         * Makefile.am:
5466           The check-exports stuff moved to common/win32.mak, so include that.
5467
5468 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5469
5470         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5471         (gst_base_src_perform_seek), (gst_base_src_get_range),
5472         (gst_base_src_set_playing), (gst_base_src_change_state):
5473         Make _wait_playing() not check any variables so that we can call this
5474         function from subclasses. Move the checks elsewhere similar to
5475         _wait_preroll() in basesink.
5476         Add some debugging.
5477         Only signal the LIVE cond when we are going back to PLAYING.
5478
5479 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5480
5481         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5482           Use g_remove() and g_rename(). Check result of g_rename(), and
5483           don't leak the open file descriptor if we error out when writing.
5484
5485         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5486           Must check the return value of close() after writing out the new
5487           registry file.  Sometimes write problems such as out-of-diskspace
5488           are only reported when the file is closed and not already during
5489           the write.  This may have caused partial/broken registry files in
5490           some rare circumstances. Should fix #503675.
5491
5492 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5493
5494         * docs/gst/.cvsignore:
5495         * docs/libs/.cvsignore:
5496         * docs/plugins/.cvsignore:
5497         Ignore files generated by new common/* modifications
5498
5499 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5500
5501         * win32/common/libgstbase.def:
5502           Yes, you can also have a <TAB> if you want.
5503
5504 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5505
5506         * win32/common/libgstbase.def:
5507           Add new basetransform API to win export file.
5508
5509 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5510
5511         * tests/check/gst/gstbin.c:
5512           Adjust the test to the refcount change two days ago.
5513
5514 2007-12-14  David Schleef  <ds@schleef.org>
5515
5516         * docs/faq/getting.xml: Fix typo.
5517
5518 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5519
5520         * docs/libs/gstreamer-libs-sections.txt:
5521         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5522           (gst_base_transform_prepare_output_buffer),
5523           (gst_base_transform_set_gap_aware):
5524         * libs/gst/base/gstbasetransform.h:
5525           API: Add gst_base_transform_set_gap_aware() to control whether
5526           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5527           get buffers with this flag at all. Fixes #503231.
5528
5529 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5530
5531         * libs/gst/base/gstbasesink.c:
5532         * libs/gst/base/gstbasesrc.c:
5533         * libs/gst/base/gstbasetransform.c:
5534           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5535           thread. Correct log message in gstbasesrc.c.
5536
5537 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5538
5539         * gst/gstutils.c: (element_find_unconnected_pad):
5540           Fix possible compiler warning (#503417).
5541
5542 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5543
5544         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5545           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5546
5547 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5548
5549         * tools/gst-inspect.c: (print_element_properties_info):
5550           Add support for GstFraction properties.
5551
5552 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5553
5554         * Makefile.am:
5555           Add check-exports target and run it as part of 'make check'
5556           (see #499140 and #493983).
5557
5558         * gst/gst_private.h:
5559         * gst/gstelementfactory.h:
5560         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5561         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5562           (_priv_gst_in_valgrind):
5563         * gst/gstinfo.h: (GstLogFunction):
5564         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5565           (gst_type_find_register):
5566         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5567           (gst_type_find_factory_get_type):
5568         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5569           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5570           (gst_controller_new_valist), (gst_controller_new_list),
5571           (_gst_controller_dispose), (_gst_controller_class_init):
5572         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5573         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5574           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5575           (gst_object_get_controller), (gst_object_set_controller),
5576           (gst_object_suggest_next_sync), (gst_object_sync_values),
5577           (gst_object_set_control_source), (gst_object_get_control_source),
5578           (gst_object_get_value_arrays), (gst_object_get_value_array),
5579           (gst_object_get_control_rate), (gst_object_set_control_rate):
5580         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5581         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5582           Make some functions that should be static static; rename some
5583           private symbols so that they don't get exported; add some FIXME
5584           comments so we can move accidentally exported functions into
5585           our private section in 0.11.
5586
5587         * win32/common/libgstreamer.def:
5588           Add gst_utils_get_timestamp().
5589
5590 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5591
5592         * gst/gstvalue.c:
5593         * gst/gstvalue.h:
5594           Add more missing "Since:" tags to docs.
5595
5596 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5597
5598         * gst/gstutils.c:
5599           Add mising "Since:" to docs.
5600
5601 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5602
5603         * gst/gstplugin.c:
5604           Include "glib-compat-private.h" to fix the build on system with
5605           glib < 2.10. Fixes #503131.
5606
5607 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5608
5609         * gst/gstutils.c:
5610         * gst/gstutils.h:
5611           Actually its not PURE as it gets the time from elsewhere.
5612
5613 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5614
5615         * docs/gst/gstreamer-sections.txt:
5616         * gst/gstclock.h:
5617         * gst/gstdebugutils.c:
5618         * gst/gstinfo.c:
5619         * gst/gstutils.c:
5620         * gst/gstutils.h:
5621         * libs/gst/base/gstbasesink.c:
5622         * tools/gst-launch.c:
5623           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5624           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5625           Thanks Tim for spotting.
5626           API: gst_util_get_timestamp
5627
5628 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5629
5630         * configure.ac:
5631           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5632
5633 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5634
5635         * gst/gststructure.c: (gst_structure_validate_name),
5636           (gst_structure_new_valist), (gst_structure_parse_value),
5637           (gst_structure_from_string):
5638           Don't crash in _from_string() if the structure name is not valid
5639           (fixes #501560).  Allow structure names to start with a number
5640           again (this apparently broke the ubuntu codec installer).
5641
5642         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5643           (GST_START_TEST):
5644           Add unit test for the crash; update unit tests for new behaviour.
5645
5646 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5647
5648         * gst/gstutils.c:
5649         Clarify gst_element_get_compatible_pad() documentation.
5650         Fixes #500919.
5651
5652 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5653
5654         * tests/check/Makefile.am:
5655           Don't forget to dist {gst,libs}/struct_hppa.h.
5656
5657 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5658
5659         * libs/gst/base/gstbasesink.c:
5660           Use new API to get elapsed time.
5661
5662 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5663
5664         * gst/gstdebugutils.c:
5665         * gst/gstinfo.c:
5666           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5667
5668         * tools/gst-launch.c:
5669           Use new API to get elapsed time.
5670
5671 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5672
5673         * docs/gst/gstreamer-sections.txt:
5674         * gst/gstclock.h:
5675         * gst/gstdebugutils.c:
5676         * gst/gstinfo.c:
5677           Rename new API + ChangeLog surgery to remove old name from last entry..
5678
5679 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5680
5681         * docs/gst/gstreamer-sections.txt:
5682         * gst/gstclock.h:
5683         * gst/gstdebugutils.c:
5684         * gst/gstinfo.c:
5685           Now hide the different clock stuff behind a macro.
5686
5687 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5688
5689         * configure.ac:
5690         * gst/gstdebugutils.c:
5691         * gst/gstinfo.c:
5692           Apply the posix-timer check from #361155. Conditionally use the posix
5693           timer for logging. This gives better timestamp precission, less
5694           overhead and no ntp jitter.
5695
5696 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5697
5698         * gst/gstminiobject.c: (gst_mini_object_get_type),
5699         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5700         (gst_mini_object_finalize), (gst_mini_object_copy),
5701         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5702         (gst_mini_object_replace), (param_mini_object_validate),
5703         (gst_param_spec_mini_object_get_type):
5704         Some cleanup and checking against invalid function parameters.
5705
5706 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5707
5708         * docs/gst/gstreamer-sections.txt:
5709         * gst/gstclock.h:
5710         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5711         (gst_systemclock_suite):
5712         Start merging in the easy bits of #361155, the monotonic clock patch.
5713         This one adds a few handy macros with docs and a testsuite.
5714
5715 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5716
5717         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5718         Be a bit smarter when seeking, like, don't try to do a seek when it's
5719         not needed. This avoids errors when the file is not seekable.
5720         Fixes #499771.
5721
5722 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5723
5724         * docs/gst/gstreamer-docs.sgml:
5725         * docs/gst/gstreamer-sections.txt:
5726         * docs/gst/gstreamer.types.in:
5727         * gst/Makefile.am:
5728         * gst/gst.h:
5729         * gst/gstpreset.c:
5730         * gst/gstpreset.h:
5731         * plugins/elements/gstqueue.c:
5732           Due to popular request remove preset interface again. :-(.
5733
5734 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5735
5736         * tools/gst-inspect.c:
5737           Print 'default value' for enums and flags too.
5738
5739 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5740
5741         * docs/random/ensonic/profiling.txt:
5742           More ideas.
5743
5744         * gst/gstbin.c:
5745           Fix typo and give better log output.
5746
5747         * gst/gstdebugutils.c:
5748         * gst/gstdebugutils.h:
5749           More ideas, make graphs a bit smaller and fix param name in macro.
5750
5751 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5752
5753         * gst/gstpreset.c:
5754           Try harder to use the return value from fgets().
5755
5756 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5757
5758         * gst/gstpreset.c:
5759           For theses two fgets we handle the error below.
5760
5761 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5762
5763         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5764         Only send upstream events upstream. Fixes #498746.
5765
5766 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5767
5768         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5769
5770         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5771         (gst_identity_init), (gst_identity_transform_ip),
5772         (gst_identity_set_property), (gst_identity_get_property):
5773         * plugins/elements/gstidentity.h:
5774         Add property to disable handoff signal emission. Fixes #498694.
5775         API: GstIdentity::signal-handoffs
5776
5777 2007-11-21  Julien Moutte  <julien@fluendo.com>
5778
5779         * docs/faq/gst-uninstalled: Yet another missing library for the
5780         uninstalled script (fft)
5781
5782 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5783
5784         * docs/faq/developing.xml:
5785         Add a question about how to submit new translations.
5786
5787         * docs/random/release:
5788         Update the contact email address for the Translation Project
5789
5790         * plugins/elements/gstfdsrc.c:
5791         The parent_class for fdsrc is pushsrc, not GstElement.
5792
5793 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5794
5795         * gst/gstpreset.c:
5796           Plug a leak and fix saving.
5797
5798 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5799
5800         * docs/gst/gstreamer-sections.txt:
5801         Add new gst_preset__get_property_names() function to the docs
5802         to fix the build.
5803
5804 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5805
5806         * gst/gstpreset.c:
5807         * gst/gstpreset.h:
5808           Change _get_preset_names API to return a strv with copies. Add
5809           _get_property_names to allow implementations to filter and provide
5810           good default implementation.
5811
5812 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5813
5814         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5815         script (sdp).
5816
5817 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5818
5819         * gst/gstpreset.c:
5820           More cleanups, docs, and TODOs from comments that now slowly come in.
5821
5822 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5823
5824         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5825         search path.
5826
5827 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5828
5829         * gst/gstpreset.c:
5830           Fix bogus warning and make the property type specific code more
5831           similar.
5832
5833 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5834
5835         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5836         it build on OS X.
5837
5838 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5839
5840         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5841         (gst_bin_add_func), (gst_bin_remove_func),
5842         (gst_bin_change_state_func), (gst_bin_continue_func):
5843         Change email, cleanups add some more debug and comments.
5844         Also set bus and clock on new elements when the pipeline was in error.
5845
5846 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5847
5848         * gst/gstbin.c:
5849         * gst/gstdebugutils.c:
5850           Fix build with --disable-gst-debug. Fixes #497859.
5851           Spotted by Sameer Naik.
5852
5853 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5854
5855         * gst/gstevent.c:
5856           Little documentation improvment.
5857
5858         * gst/gstpreset.c:
5859           More TODO cleanups. Remove c++ comments.
5860
5861         * libs/gst/controller/gstcontroller.c:
5862           Add TODO and use quark from static string.
5863
5864         * tests/check/gst/gstmessage.c:
5865         * tests/check/gst/gststructure.c:
5866           Use quark from static string.
5867
5868 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5869
5870         * gst/gstpreset.c:
5871           Add some comments and TODOs.
5872
5873         * gst/gstpreset.h:
5874           Add padding for future changes.
5875
5876         * plugins/elements/gstqueue.c:
5877           Implement the iface.    
5878
5879 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5880
5881         * docs/gst/gstreamer-docs.sgml:
5882         * docs/gst/gstreamer-sections.txt:
5883         * docs/gst/gstreamer.types.in:
5884         * gst/Makefile.am:
5885         * gst/gst.h:
5886         * gst/gstpreset.c:
5887         * gst/gstpreset.h:
5888           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5889
5890 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5891
5892         * configure.ac:
5893
5894         Back to CVS
5895
5896 === release 0.10.15 ===
5897
5898 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5899
5900         * configure.ac:
5901           releasing 0.10.15, "October"
5902
5903 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5904
5905         * win32/vs6/libgstreamer.dsp:
5906         Convert line endings back to DOS.
5907
5908 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5909
5910         * docs/design/draft-tagreading.txt:
5911         * docs/random/ensonic/profiling.txt:
5912         Update fast tagreading draft and performance profiling ideas.
5913
5914 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5915
5916         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5917         Don't hold the object lock when unreffing a buffer because it could
5918         cause a deadlock when the finalize function wants to grab the object
5919         lock too. Fixes #495133.
5920
5921 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5922
5923         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5924         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5925         Also accumulate time correctly when doing reverse playback. Fixes
5926         #488201,
5927         When converting to running and stream time, use default values for
5928         start/stop/time/accum when comparing different formats. Fixes #494245.
5929
5930         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5931         Do running/stream time in TIME format.
5932
5933         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5934         (gst_segment_suite):
5935         2 new unit tests for segment accumulation.
5936
5937 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5938
5939         * gst/gst.c: (init_pre):
5940         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5941           (_gst_debug_bin_to_dot_file):
5942           Move getenv() back into gst_init, so everyone can live happily
5943           ever after. Make sure the symbol isn't exported though.
5944
5945 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5946
5947         Patch by: Sebastien Moutte  <sebastien moutte net>
5948
5949         * win32/common/gstenumtypes.c:
5950         * win32/common/gstenumtypes.h:
5951           Update enum types.
5952
5953         * win32/vs6/libgstreamer.dsp:
5954           Update vs6 project files (#494343).
5955
5956 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5957
5958         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5959         (gst_base_src_perform_seek), (gst_base_src_default_event),
5960         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5961         (gst_base_src_activate_pull):
5962         Unify flushing code, remove some old unlock code that is no longer used.
5963         Take the streaming lock when seeking to avoid races. Fixes #492729.
5964         Added some more comments.
5965
5966 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5967
5968         * gst/gst.c: (_gst_disable_segtrap):
5969           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5970           we can use gst_segtrap_is_enabled() there now that we have that API.
5971           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5972           to do the getenv here (and export the variable).
5973
5974         * gst/gstdebugutils.c: (debug_dump_element),
5975           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5976           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5977
5978         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5979           (gst_debug_log_default):
5980           Rename _gst_info_start_time to priv_gst_info_start_time so it
5981           doesn't get exported (was never in any header).
5982
5983         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5984           (gst_plugin_loading_mutex):
5985           Make static mutex gst_plugin_loading_mutex really static (was never
5986           in any header), and use gst_segtrap_is_enabled() instead of
5987           _gst_disable_segtrap.
5988
5989         * gst/gsttrace.c: (_gst_trace_default):
5990           Make local _gst_trace_default static (was never in any header).
5991
5992 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5993
5994         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5995
5996         * win32/common/libgstbase.def:
5997         * win32/common/libgstcontroller.def:
5998         * win32/common/libgstdataprotocol.def:
5999         * win32/common/libgstnet.def:
6000         * win32/common/libgstreamer.def:
6001           Add more missing symbols, remove some duplicates, and sort
6002           as the 'sort' command sorts it (partially fixes #493983).
6003
6004 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6005
6006         * gst/gstelement.c: (gst_element_set_state_func):
6007         Only change the state cookie if a different state was set on the
6008         element. See #492729.
6009
6010 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6011
6012         * gst/gstvalue.c:
6013           Remove unused and uninitialised type variables that were still
6014           exported for some reason (they were never in any header files
6015           though).
6016
6017 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6018
6019         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6020         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6021         (gst_base_sink_event), (gst_base_sink_get_position_last),
6022         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6023         (gst_base_sink_change_state):
6024         Don't try to report a 0 position when we don't know, return -1 and FALSE
6025         instead. This mostly happens when we are prerolling.
6026         Make sure we can report the right position before we post the ASYNC_DONE
6027         message so that a message handler can query position without races.
6028
6029         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6030         (async_done_handoff), (async_done_func), (send_buffer),
6031         (async_done_eos_func), (gst_sinks_suite):
6032         Add two tests for the above.
6033
6034 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6035
6036         * MAINTAINERS:
6037         Update with new email address.
6038
6039         * docs/design/part-TODO.txt:
6040         Add some more info about future pad-block and negotiation changes.
6041
6042         * docs/design/part-buffering.txt:
6043         Add some ideas about buffering reporting.
6044
6045 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6046
6047         * tests/check/gst/gstobject.c:
6048         Disable silly racy test that always fails on this combination of CPU
6049         and kernel.
6050
6051 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6052
6053         Patch by: Murray Cumming  <murrayc@murrayc.com>
6054
6055         * gst/gstobject.c:
6056           Corrected the registration of the parent-set and parent-unset
6057           signals: The parameter is a GstObject, not a GObject (#493134).
6058
6059 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6060
6061         * gst/gst_private.h:
6062         * gst/gstbuffer.h:
6063         * gst/gstevent.h:
6064         * gst/gstformat.h:
6065         * gst/gstmessage.h:
6066         * gst/gstplugin.h:
6067         * gst/gstquery.h:
6068         * gst/gsttaglist.h:
6069         * gst/gstvalue.h:
6070           Move declaration of private _gst_foo_initialize() functions into
6071           our private header file where they should have been all along.
6072
6073 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6074
6075         * docs/plugins/gstreamer-plugins-sections.txt:
6076         * gst/gstdebugutils.h:
6077         * gst/gstxml.h:
6078         * plugins/elements/gstqueue.c:
6079           gtk-doc fixes; trailing-comma-in-enum fix.
6080
6081 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6082
6083         * gst/gst.c: (gst_deinit):
6084           Clean up on deinit (not the external ones though, doesn't seem to be
6085           needed for some reason).
6086
6087 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6088
6089         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6090           Remove __declspec(dllimport) for MSVC that was copied over into core
6091           from a plugin, obviously without ever having been tested (note the
6092           single underscore in _declspec in the initial commit), and that doesn't
6093           really make sense.  See #492077.
6094
6095 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6096
6097         * gst/gst.c: (init_post):
6098         * gst/gstevent.c: (_gst_event_initialize):
6099         * gst/gstquery.c: (_gst_query_initialize):
6100         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6101           g_type_class_ref() other types as well, see #349410 and #64764.
6102
6103         * gst/gstbuffer.c: (_gst_buffer_initialize):
6104         * gst/gstmessage.c: (_gst_message_initialize):
6105           Simplify existing g_type_class_ref().
6106
6107 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6108
6109         * gst/gstformat.c: (_gst_format_initialize):
6110           g_type_class_ref() our GstFormat type to make sure we avoid the
6111           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6112           bug #64764. Should fix intermittent tee unit test failures (#474823).
6113
6114 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6115
6116         * tests/check/elements/tee.c: (test_num_buffers):
6117           Simplify, simplify, simplify - or not.  Rewrite unit test
6118           not to use gst_parse_launch(); allow N sub-streams. Increasing
6119           the number of sub-streams seems to reproduce #474823 more easily.
6120
6121 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6122
6123         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6124
6125         * gst/gsttrace.c:
6126         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6127         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6128         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6129           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6130           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6131           so use _pipe() directly (#492077).
6132
6133         * win32/common/dirent.c: (_treaddir):
6134           Add a couple of casts to make it build without warnings with MSVC.
6135
6136         * win32/common/libgstreamer.def:
6137           Add some more symbols that need to be exported.
6138
6139 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6140
6141         * tests/examples/metadata/read-metadata.c: (message_loop):
6142           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6143           arriving in a second or third tag message are added to
6144           the tag list as well.
6145
6146 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6147
6148         * libs/gst/base/gstbasesrc.c:
6149           Its "Since:" and not "@Since:". And remove an superflous cast.
6150
6151 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6152
6153         * docs/libs/gstreamer-libs-sections.txt:
6154         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6155         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6156         (gst_base_sink_get_property), (gst_base_sink_render_object),
6157         (gst_base_sink_preroll_object),
6158         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6159         (gst_base_sink_change_state):
6160         * libs/gst/base/gstbasesink.h:
6161         Add a new last-buffer property that contains the last buffer used in
6162         basesink for preroll or rendering. useful for making snapshots.
6163         API: gst_base_sink_get_last_buffer()
6164         API: GstBaseSink::last-buffer
6165
6166 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6167
6168         * docs/gst/running.xml:
6169         * gst/gst.c:
6170         * gst/gstdebugutils.c:
6171         * gst/gstdebugutils.h:
6172         * tools/gst-launch.c:
6173           Improve bin graph dumping, by using the envvar to specify a path.
6174           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6175
6176 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6177
6178         * plugins/elements/gsttypefindelement.c:
6179           (gst_type_find_element_handle_event),
6180           (gst_type_find_element_activate):
6181           Post special error message if we can't determine the type of a stream
6182           because it's empty.
6183
6184 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6185
6186         * docs/gst/running.xml:
6187         * gst/gstdebugutils.c:
6188           Document new env-var. Add one log-line after dumpng a graph.
6189
6190 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6191
6192         * configure.ac:
6193           Ugly hack to put the (recently removed and non-portable, apparently)
6194           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6195           GNU ld, because without that 'make check' fails miserably on my debian
6196           stable box.  Someone with more knowledge of linker intricacies and
6197           portability issues than me fix this properly please.
6198
6199 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6200
6201         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6202         Reset last seen position after flushing so that we don't report the old
6203         position anymore.
6204
6205 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6206
6207         * gst/gstelementfactory.c: (gst_element_register):
6208         * gst/gsturi.h:
6209         Patch from Alessandro Decina adding get_type_full and
6210         get_protocols_full private vfuncs to the URIHandler interface
6211         to allow bindings to support creating URI handlers. 
6212         Partially fixes: #339279
6213         API: GstURIHandlerInterface::get_type_full
6214         API: GstURIHandlerInterface::get_protocols_full
6215
6216 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6217
6218         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6219         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6220         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6221         Make it so that pads are considered linked until a buffer is pushed
6222         and discovered otherwise. This avoids problems with decodebin2 hanging
6223         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6224         case.
6225
6226         Make sure we lock the multiqueue when updating the max-size properties.
6227         
6228         Fix a crash on Solaris in a debug statement in get_request_pad that
6229         passes a NULL string to GST_DEBUG. 
6230
6231         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6232         (run_output_order_test):
6233         Fix the test to allow the first buffer on not-linked pads to come out
6234         of sequence while multiqueue discovers that they are not-linked.
6235
6236 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6237
6238         * configure.ac:
6239         * libs/gst/check/Makefile.am:
6240         Use a custom export symbol regex for libgstcheck, as it needs
6241         to export symbols that don't match the standard GStreamer gst_*
6242         pattern, and  --export-dynamic is not portable (only works on 
6243         GNU ld)
6244
6245         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6246         (gst_check_setup_sink_pad):
6247         Make sure to pass a message parameter to the fail_* macros.
6248
6249         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6250         Fix some compiler warnings.
6251
6252 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6253
6254         * tests/check/gst/gststructure.c: (test_to_string):
6255           Disable test that checks that white spaces are not allowed
6256           in structure names or field names, since we need to
6257           support that for now for backwards compatibility reasons.
6258
6259 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6260
6261         * docs/gst/gstreamer-sections.txt:
6262         * gst/gsttaglist.c:
6263         * gst/gsttaglist.h:
6264           API: add GST_TAG_ARTIST_SORTNAME
6265           API: add GST_TAG_ALBUM_SORTNAME
6266           API: add GST_TAG_TITLE_SORTNAME
6267           Add tag variants for sorting (#414539).
6268
6269 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6270
6271         * gst/gststructure.c:
6272           Also allow white space for names so we don't break
6273           backwards compatibility.
6274
6275 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6276
6277         * docs/design/part-TODO.txt:
6278         * docs/design/part-segments.txt:
6279         * docs/design/part-streams.txt:
6280         Small updates.
6281
6282 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6283
6284         * docs/gst/gstreamer-sections.txt:
6285          Fixed documentation from my previous commit (added new API add
6286          gst_value_set_structure(), add gst_value_get_structure() and
6287          GST_VALUE_HOLDS_STRUCTURE).
6288
6289 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6290
6291         * gst/gstdebugutils.c:
6292           Reflow code to fix uninitialized variable warning.
6293
6294 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6295
6296         * gst/gstcaps.c: (gst_caps_to_string),
6297         (gst_caps_from_string_inplace):
6298         * gst/gststructure.c: (gst_structure_get_abbrs),
6299         (gst_structure_to_string), (gst_structure_from_string):
6300         * gst/gstvalue.c: (gst_value_set_structure),
6301         (gst_value_get_structure), (gst_value_serialize_structure),
6302         (gst_value_deserialize_structure), (_gst_value_initialize):
6303         * gst/gstvalue.h:
6304         * tests/check/gst/gststructure.c: (GST_START_TEST),
6305         (gst_structure_suite):
6306         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6307          Added GstStructure to gst_value_table and its related functions.
6308          Changed gst_structure_to_string to print ';' in the end.
6309          Changed gst_caps_to_string to not print ';' beteween its
6310          fields (structures) anymore and remove the lastes ';' from latest
6311          structure. Now it is possible to have nested structures.
6312          In addition, backward compatibilty is assured by accepting '\0' as
6313          end delimiter. Fixes: #487969.
6314          API: add gst_value_set_structure()
6315          API: add gst_value_get_structure()
6316          API: add GST_VALUE_HOLDS_STRUCTURE
6317
6318 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6319
6320         * gst/gstbus.c:
6321           When no GSource callback has been set up, tell developer
6322           to use a function that actually exists.
6323
6324 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6325
6326         * docs/gst/gstreamer-sections.txt:
6327         * gst/Makefile.am:
6328         * gst/gst.c:
6329         * gst/gst.h:
6330         * gst/gstdebugutils.c:
6331         * gst/gstdebugutils.h:
6332         * gst/gstinfo.c:
6333         * gst/gstinfo.h:
6334         * tools/gst-launch.c:
6335           Allow dumping pipelines as dot graphs. Fixes #456573.
6336
6337 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6338
6339         * gst/gststructure.c:
6340           Allow '+' as well, it can be part of media or mime types
6341           such as image/svg+xml.
6342
6343 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6344
6345         * docs/gst/gstreamer-sections.txt:
6346         * gst/gstbus.c:
6347         * gst/gstbus.h:
6348           API: add gst_bus_pop_filtered
6349           API: add gst_bus_timed_pop_filtered
6350           Two new functions for waiting for specific message types on the
6351           bus for a specified amount of time without iterating any main
6352           loops or main contexts.
6353
6354         * tests/check/gst/gstbus.c:
6355           Some tests for the new functions.
6356
6357 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6358
6359         * docs/libs/gstreamer-libs-sections.txt:
6360           Make gtk-doc ignore stuff it should ignore.
6361
6362 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6363
6364         * libs/gst/check/gstcheck.c:
6365         * libs/gst/check/gstcheck.h:
6366           Allow runtime selection of unit tests to run via the GST_CHECKS
6367           environment variable (test case function names, comma-separated).
6368
6369 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6370
6371         * gst/gststructure.c:
6372         * tests/check/gst/gststructure.c:
6373           Revert serialisation change and constrain structure-names after
6374           consensus on irc. Update api documentation to reflect the change.
6375
6376 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6377
6378         * gst/gststructure.c:
6379           Improve serialization and fix tests.
6380
6381         * tests/check/gst/gststructure.c:
6382           Add another test that covers why I actually did the previous structure
6383           change.
6384
6385 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6386
6387         * tools/gst-inspect.c: (print_element_info):
6388         Don't crash when inspecting an element.
6389
6390 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6391
6392         * tests/check/gst/gststructure.c:
6393           Add unit test for escaping of structure name when serialising
6394           and deserialising to/from strings.
6395
6396 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6397
6398         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6399         (gst_single_queue_new):
6400         * plugins/elements/gstqueue.c: (gst_queue_init),
6401         (gst_queue_push_one):
6402         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6403         upstream is tricked into thinking it can suggest a format downstream
6404         while downstream does not support that format. The real problem is that
6405         core calls acceptcaps when pushing a buffer with new caps, for which we
6406         do a little workaround by setting the caps on the srcpad ourselves
6407         before pushing the buffer (until this is figured out). Fixes #486758.
6408
6409 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6410
6411         * gst/gststructure.c:
6412         * gst/gstvalue.c:
6413           Add some more comments and debug output. Quote structure name to fix
6414           deserialisation of some strings.
6415
6416 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6417
6418         * gst/gstbuffer.h:
6419           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6420           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6421
6422 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6423
6424         * tools/gst-inspect.c:
6425           Save approx. 400 1 byte allocs when printing. Use API to acces element
6426           details.
6427
6428         * tools/gst-run.c:
6429           Avoid a strdup.
6430
6431         * tools/gst-xmlinspect.c:
6432           Use API to acces element details.
6433
6434 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6435
6436         * gst/gstinfo.c:
6437           Fix some spelling errors.
6438
6439 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6440
6441         * gst/gstbin.c: (bin_handle_async_done):
6442         Correctly set the next state if all of our async children commited their
6443         state. This makes sure we can actually cancel the state change in
6444         progress. Fixes a regression in Rhythmbox when seeking.
6445
6446 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6447
6448         * gst/gstbin.c:
6449           Don't shadow local variable.
6450
6451         * gst/gstinfo.c:
6452           Don't shadow global function name.
6453
6454 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6455
6456         * gst/gstelementfactory.c:
6457         * gst/gstpluginfeature.c:
6458         * gst/gstpluginfeature.h:
6459         * gst/gstregistrybinary.c:
6460         * gst/gstregistryxml.c:
6461         * gst/gsttypefind.c:
6462           Use already-interned string for the private GstPluginFeature
6463           plugin_name field.
6464
6465 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6466
6467         * docs/libs/gstreamer-libs-sections.txt:
6468           Add new API to docs; fixes the build.
6469
6470 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6471         
6472         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6473
6474         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6475         (gst_base_sink_event):
6476         * libs/gst/base/gstbasesink.h:
6477         Add function to wait for EOS, subclasses can use this to correctly wait
6478         for devices to drain before performing the EOS logic. Fixes #485343.
6479         API: gst_base_sink_wait_eos()
6480
6481 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6482
6483         * gst/gstplugin.h:
6484           Cast description string constants in GST_PLUGIN_DEFINE macros
6485           to a (gchar*) to make C++ code using these macros compile
6486           without warning with g++-4.2 (see #462737).  Even if slightly
6487           ugly, this seems preferable to putting the description strings
6488           into the GLib quark table or making the structure member a
6489           const gchar * and doing casts in core code that allocs and
6490           frees these strings, or requiring a cast in the C++ code.
6491
6492 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6493
6494         * gst/gstinfo.h:
6495           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6496           to print the entire class/function signature into the log
6497           file for C++ code.  This only affects C++ code, for C code
6498           everything remains the same.
6499
6500 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6501
6502         * gst/gstbin.c: (remove_from_queue):
6503         Work around a problem with pipelines containing (semi)loops until a
6504         proper, more complicated solution is ready. See #475455.
6505
6506 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6507
6508         * gst/gstplugin.c:
6509         * gst/gstplugin.h:
6510         * gst/gstregistrybinary.c:
6511         * gst/gstregistryxml.c:
6512           Put more strings into the GLib quark table. No need to keep
6513           a hundred-something copies of identical version strings,
6514           license strings, package name strings and package origin
6515           strings around. 
6516
6517 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6518
6519         * docs/manual/advanced-dataaccess.xml:
6520           Don't imply that it's okay to unconditionally change
6521           buffer data or buffer metadata in a pad probe callback,
6522           and a bunch of other comments. Fixes #430031.
6523
6524 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6525
6526         * win32/common/gstenumtypes.c:
6527         * win32/common/gstenumtypes.h:
6528         * win32/common/gstversion.h:
6529           Update generated files.
6530
6531 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6532
6533         * docs/manual/advanced-autoplugging.xml:
6534           Prefix section with broken code with a warning (see #342432).
6535
6536 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6537
6538         * docs/manual/appendix-integration.xml:
6539         * docs/manual/basics-init.xml:
6540           Call g_thread_init() before g_option_context_new() to
6541           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6542
6543 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6544
6545         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6546         (gst_base_sink_queue_object_unlocked),
6547         (gst_base_sink_queue_object), (gst_base_sink_event),
6548         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6549         When we received EOS and are waiting for when to post the EOS message,
6550         our state is prerolled and we should not return ASYNC.
6551         Reorganize some code paths to implement this behavior.
6552
6553         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6554         (gst_sinks_suite):
6555         Add unit test to verify above EOS fix.
6556
6557 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6558
6559         * plugins/elements/gsttypefindelement.c:
6560         (gst_type_find_element_have_type), (gst_type_find_element_init),
6561         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6562         Move detecting the input caps of the sinkpad to the setcaps function.
6563         This allows us to update the output caps when we receive new input caps
6564         instead of always using the first detected caps.
6565
6566 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6567
6568         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6569         (gst_base_sink_get_position):
6570         Don't try to preroll non-async elements after a flush.
6571         Subtract latency form clock times when reporting position.
6572
6573 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6574
6575         * gst/gstpad.c: (gst_pad_pause_task):
6576         * gst/gstutils.c:
6577         Small comment and documentation update.
6578
6579 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6580
6581         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6582         (gst_base_src_set_live), (gst_base_src_is_live),
6583         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6584         (gst_base_src_default_event), (gst_base_src_wait),
6585         (gst_base_src_do_sync), (gst_base_src_get_range),
6586         (gst_base_src_pad_get_range), (gst_base_src_loop),
6587         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6588         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6589         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6590         (gst_base_src_change_state):
6591         Rework the locking of basesrc in a similar fashion to basesink. We
6592         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6593         us to handle live sources and semi live ones much better.
6594         Simplify flushing.
6595         Fix unlocking when seeking, shutting down and pausing in live sources.
6596
6597 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6598
6599         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6600         Fix compilation again.
6601
6602 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6603
6604         * gst/gstelement.c:
6605           Use meaningful categories for the logs to clean the default one.
6606
6607 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6608
6609         * tests/check/pipelines/cleanup.c:
6610           Print message name and not just number.
6611
6612 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6613
6614         * docs/design/draft-tagreading.txt:
6615           Add some more thoughts.
6616
6617 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6618
6619         * tests/check/pipelines/simple-launch-lines.c:
6620           Print message name and not just number.
6621
6622 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6623
6624         * libs/gst/base/gsttypefindhelper.c:
6625           Speedup typefinding. This is work in progress (see #459862).
6626
6627 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6628
6629         * gst/gstplugin.c:
6630           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6631           Spotted by Josep Torra Valles <josep@fluendo.com>.
6632
6633 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6634
6635         * gst/gstclock.h:
6636           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6637           field has moved to GstObject.
6638
6639 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6640
6641         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6642         (gst_base_src_get_range), (gst_base_src_change_state):
6643         Call unlock for live sources so that they can't get stuck in _create and
6644         produce a buffer before they are set back to PLAYING.
6645
6646 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6647
6648         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6649         (gst_queue_locked_dequeue):
6650         Comment the segment-related code... in the PROPER function.
6651         See #482147 and my commit from yesterday.
6652
6653 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6654
6655         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6656         Also initialize the counter that calculates the first timestamp on a
6657         buffer correctly for non-live sources.
6658
6659 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6660
6661         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6662         Disable code that's breaking the current-time-level reporting.
6663         See #482147
6664
6665 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6666
6667         * docs/gst/gstreamer-sections.txt:
6668         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6669         as they shouldn't show up. Fixes the docs build.
6670
6671 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6672         
6673         * gst/gstinfo.h:
6674         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6675         Define M_PI which is used in files which are including gstinfo.h. 
6676         VS6 includes doesn't define it.
6677         * win32/common/libgstbase.def:
6678         * win32/common/libgstcontroller.def:
6679         * win32/common/libgstreamer.def:
6680         Add new exported functions and variables.
6681         * win32/vs6/libgstcontroller.dsp:
6682         * win32/vs6/libgstreamer.dsp:
6683         Update the list of files to build.
6684         
6685 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6686
6687         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6688
6689         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6690         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6691         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6692         Improve debugging. Fixes #480858.
6693
6694 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6695
6696         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6697
6698         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6699         First patch of code cleanups, use the macros and right arguments in the
6700         macros to signal and lock the queue. See #480858.
6701
6702 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6703
6704         * gst/gstbus.c: (poll_func):
6705         Improve debugging when dealing with _poll().
6706
6707 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6708
6709         * gst/gstregistryxml.c:
6710           Fix memory leak I introduced a few days ago.
6711
6712 2007-09-26  Michael Smith <msmith@fluendo.com>
6713
6714         * gst/gstbuffer.c: (gst_buffer_finalize):
6715           Make it once again possible to free GstBuffers in the default
6716           build.
6717           The poisoning scribbles on parts of the miniobject we need in
6718           order to free it.
6719           Fixes #480341
6720
6721 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6722
6723         * docs/gst/gstreamer-sections.txt:
6724         * gst/gsttaglist.c:
6725         * gst/gsttaglist.h:
6726         API: add GST_TAG_COMPOSER, fixes #459809.
6727
6728 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6729
6730         * gst/gstplugin.c:
6731         * gst/gstplugin.h:
6732         Add the 3-clause BSD license and the MIT/X11 license to the license
6733         list. Fixes #479784.
6734
6735 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6736
6737         * docs/faq/getting.xml:
6738           Add Q+A about different GStreamer versions (#364056).
6739
6740 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6741
6742         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6743         (gst_base_sink_event), (gst_base_sink_change_state):
6744         Return correct gboolean from query function.
6745
6746 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6747
6748         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6749         (gst_base_sink_event), (gst_base_sink_query),
6750         (gst_base_sink_change_state):
6751         Simplify latency query.
6752         When not synchronizing, we can report latency without querying the peer
6753         element.
6754
6755 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6756
6757         * gst/gstobject.h:
6758         * gst/gstvalue.c:
6759         Fix small typos in the docs.
6760
6761 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6762
6763         * docs/design/draft-latency.txt:
6764         * docs/design/draft-push-pull.txt:
6765         * docs/design/draft-tagreading.txt:
6766         * docs/design/part-MT-refcounting.txt:
6767         * docs/design/part-activation.txt:
6768         * docs/design/part-block.txt:
6769         * docs/design/part-element-source.txt:
6770         * docs/design/part-events.txt:
6771         * docs/design/part-gstbin.txt:
6772         * docs/design/part-gstelement.txt:
6773         * docs/design/part-gstobject.txt:
6774         * docs/design/part-gstpipeline.txt:
6775         * docs/design/part-messages.txt:
6776         * docs/design/part-preroll.txt:
6777         * docs/design/part-push-pull.txt:
6778         * docs/design/part-qos.txt:
6779         * docs/design/part-query.txt:
6780         * docs/design/part-scheduling.txt:
6781         * docs/design/part-seeking.txt:
6782         * docs/design/part-segments.txt:
6783         * docs/design/part-states.txt:
6784         Documentation updates and typo fixes.
6785
6786 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6787
6788         * plugins/elements/gstfakesink.c:
6789           Add some debug text to error message to indicate that
6790           we errored out on request.
6791
6792         * tools/gst-launch.c:
6793           When the state change to PLAYING fails, check for an
6794           error message on the bus and print it.
6795
6796 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6797
6798         translated by: Jorge González González <aloriel@gmail.com>
6799
6800         * po/LINGUAS:
6801         * po/es.po:
6802           Added Spanish translation.
6803
6804 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6805
6806         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6807         Fix printf arguments.
6808
6809 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6810
6811         * tests/check/generic/states.c:
6812           Improved state change unit test.
6813
6814 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6815
6816         * gst/gstbin.h:
6817           Move priv to the right place.
6818
6819         * gst/gstsystemclock.c:
6820           Add FIXME: and improve log.
6821
6822         * tests/check/Makefile.am:
6823         * tests/examples/manual/Makefile.am:
6824           Work with all types of registries.
6825
6826 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6827
6828         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6829         Don't unref the event after pushing it. Fixes #478401.
6830
6831 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6832
6833         * .cvsignore:
6834         * tests/examples/manual/.cvsignore:
6835           Ignore registries in any format.
6836
6837 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6838
6839         * gst/glib-compat-private.h:
6840           Add compatibility macro for g_intern_string() for
6841           GLib-2.8 (any reason we can't just bump the
6842           requirement to at least 2.10?)
6843
6844         * gst/gstpadtemplate.h:
6845         * gst/gstelementfactory.c:
6846         * gst/gstregistryxml.c:
6847         * gst/gstregistrybinary.c:
6848           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6849           up the internal code accordingly.  This shouldn't be a problem, since
6850           there is no reason external code could ever assume the string in such
6851           a structure is dynamically allocated unless it did that itself;  the
6852           use of g_strdup() is private to element factories.  The new code also
6853           saves some memory by putting pad template name strings into the GLib
6854           quark table instead of allocating them dynamically.
6855           Declaring this field constant fixes warnings with g++-4.2 when using
6856           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6857
6858 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6859
6860         * gst/gstelementfactory.c:
6861           Release static caps. Fixes #475723.
6862
6863 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6864
6865         * gst/gstinfo.c:
6866         * gst/gstinfo.h:
6867           Make some internal API take const gchar * instead of just
6868           gchar * to avoid compiler warnings with g++-4.2.2 when
6869           passing string constants (partially fixes #478092).
6870
6871 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6872
6873         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6874         A latency query fails when one of the sinks fail.
6875
6876         * gst/gstelement.c: (gst_element_set_base_time):
6877         Improve debugging.
6878
6879 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6880
6881         * gst/gstbin.c: (gst_bin_continue_func):
6882         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6883         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6884         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6885
6886         Fix minor compilation warnings shown with Forte.
6887
6888 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6889
6890         * plugins/elements/gstqueue.c: (apply_buffer),
6891         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6892         Measure queue level based on the diff between head and tail timestamps
6893         even when pushing the first buffer.
6894
6895 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6896
6897         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6898         (gst_base_sink_event), (gst_base_sink_change_state):
6899         Sinks that don't preroll can always be queried for the latency.
6900         Don't post ASYNC start when we are not async.
6901
6902 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6903
6904         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6905         (gst_queue_handle_sink_event), (gst_queue_chain),
6906         (gst_queue_push_one), (gst_queue_handle_src_query),
6907         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6908         * plugins/elements/gstqueue.h:
6909         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6910         push more buffers but allow pushing of EOS and NEWSEGMENT.
6911         Add some more debug info here and there. Fixes #476514.
6912
6913 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6914
6915         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6916         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6917         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6918         (gst_base_sink_set_flushing), (gst_base_sink_query),
6919         (gst_base_sink_change_state):
6920         Latency query is allowed after we are prerolled. Introduce a new flag
6921         for this and stop abusing other variables.
6922
6923 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6924
6925         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6926         Push OOB events downstream when we get them in send_event. This allows
6927         the application to insert events in the pipeline.
6928         Add some more comments.
6929
6930 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6931
6932         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6933         (do_bin_latency), (gst_bin_change_state_func):
6934         * gst/gstpipeline.c: (gst_pipeline_change_state):
6935         Move latency query from GstPipeline to GstBin so that we can also
6936         use it when async-handling is enabled on bins.
6937
6938 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6939
6940         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6941         (gst_base_src_do_sync), (gst_base_src_change_state):
6942         Update docs.
6943         Clean up the timestamping and syncing code for pseudo live sources.
6944
6945 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6946
6947         Patch by: Steve Fink  <sphink gmail com>
6948
6949         * docs/manual/appendix-checklist.xml:
6950           Mention less -R switch in the section about debug output (#474055).
6951
6952 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6953
6954         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6955         Queue can latency to the pipeline up to the configured max size in time.
6956         Report this fact in the latency query.
6957
6958 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6959
6960         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6961
6962         * libs/gst/controller/gstinterpolation.c:
6963         * libs/gst/controller/gstlfocontrolsource.c:
6964         Use gst_guint64_to_gdouble() when converting from a uint64 or
6965         GstClockTime to double to fix the build on win32. Fixes #474371.
6966
6967 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6968
6969         * gst/gstbuffer.c: (gst_buffer_finalize):
6970         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6971         When finalizing a buffer the complete struct is filled with 0xff,
6972         thus making a use of the buffer after the final unref impossible.
6973
6974 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6975
6976         * tests/check/libs/controller.c: (GST_START_TEST):
6977         Use fail_unless_equals_int(a, b) instead of
6978         fail_unless_equals (a == b) to get better output on failures.
6979
6980 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6981
6982         * tests/check/gst/gsturi.c:
6983           Also check for the other file URI variant on win32.
6984
6985 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6986
6987         * gst/gsturi.c: (gst_uri_get_location):
6988           If there's no hostname, we want to return 'c:/foo/bar.txt'
6989           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6990
6991         * tests/check/gst/gsturi.c:
6992           Unit test for the above and a few more things.
6993
6994 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6995
6996         * docs/design/part-live-source.txt:
6997         Add docs on how live sources should timestamp.
6998
6999         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7000         Add some more debug info.
7001         For subclasses that are live and like to sync, add aditional startup
7002         latency to sync time and timestamps so that we timstamp according to the
7003         design doc.
7004
7005 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7006
7007         * gst/gstbuffer.c:
7008           Also do a g_type_class_ref() for the subbuffer type in
7009           the init function.
7010
7011 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7012
7013         * docs/gst/gstreamer-sections.txt:
7014         * gst/gstpad.c: (gst_pad_peer_query):
7015         * gst/gstpad.h:
7016         Add function to perform a query on the peer of a pad.
7017         API: gst_pad_peer_query()
7018
7019 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7020
7021         * tests/check/gst/gstsystemclock.c:
7022           Cleanup the test a little (use gst-logging and not g_message). Improve
7023           test to check if a wait reached the target.
7024
7025 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7026
7027         * docs/libs/gstreamer-libs-sections.txt:
7028           Add new API to docs and fix the build.
7029
7030 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7031
7032         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7033         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7034         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7035         (gst_base_src_get_property), (gst_base_src_do_sync):
7036         * libs/gst/base/gstbasesrc.h:
7037         Add property to make the basesrc timestamp buffers based on the current
7038         running time.
7039         API: GstBaseSrc::do-timestamp
7040         API: gst_base_src_set_do_timestamp()
7041         API: gst_base_src_get_do_timestamp()
7042
7043 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7044
7045         * docs/random/release:
7046           Really make sure translations are up-to-date before
7047           a release (#465010).
7048
7049 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7050
7051         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7052         Always destroy the timer, also in error cases.
7053
7054 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7055
7056         * docs/manual/highlevel-xml.xml:
7057         Fix XML example code. Fixes #472714.
7058
7059 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7060
7061         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7062         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7063         (gst_base_sink_query):
7064         Protect eos and have_preroll with the OBJECT lock so we don't need to
7065         take the PREROLL lock when querying the latency. Fixes #473846.
7066
7067 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7068
7069         * gst/gstelement.c:
7070           Give some log-messages a category.
7071
7072 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7073
7074         * gst/gststructure.c:
7075         (gst_structure_fixate_field_nearest_fraction):
7076         Fix fraction list fixation code. Take the fraction with the smallest
7077         difference with the target instead of the first one in the list.
7078
7079         * tests/check/gst/gststructure.c: (GST_START_TEST),
7080         (gst_structure_suite):
7081         Added test to verify correct fraction list fixation behaviour.
7082
7083 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7084
7085         * win32/common/libgstreamer.def:
7086           Export gst_bus_add_signal_watch too.
7087
7088 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7089
7090         * docs/libs/gstreamer-libs-sections.txt:
7091         Add new methods to docs.
7092
7093         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7094         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7095         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7096         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7097         * libs/gst/base/gstbasesink.h:
7098         Add ts-offset property to fine-tune the synchronisation.
7099         API: GstBaseSink::ts-offset property
7100         API: gst_base_sink_set_ts_offset()
7101         API: gst_base_sink_get_ts_offset()
7102
7103 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7104
7105         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7106         (gst_base_sink_init), (gst_base_sink_set_sync),
7107         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7108         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7109         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7110         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7111         (gst_base_sink_get_property), (gst_base_sink_change_state):
7112         * libs/gst/base/gstbasesink.h:
7113         Add async property to instruct the sink never to inform the parent about
7114         ASYNC state changes, update docs.
7115         Check argument with g_return_* for the public functions.
7116         API: GstBaseSink::async property
7117         API: gst_base_sink_set_async_enabled()
7118         API: gst_base_sink_is_async_enabled()
7119
7120 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7121
7122         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7123         Improve debugging.
7124
7125         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7126         (gst_base_src_default_query), (gst_base_src_wait),
7127         (gst_base_src_do_sync), (gst_base_src_change_state):
7128         Rearrange some code so that we can add support for measuring the 
7129         startup latency.
7130
7131 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7132
7133         * docs/random/ensonic/dynlink.txt:
7134           More thoughs on this.
7135
7136         * plugins/elements/gstcapsfilter.c:
7137           Add bugzilla ticket number to FIXME comment.
7138
7139 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7140
7141         * docs/design/part-TODO.txt:
7142         * docs/design/part-block.txt:
7143         Update some docs.
7144
7145 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7146
7147         * gst/Makefile.am:
7148           Revert patch which uses $(gst_headers) instead of $^ because it
7149           breaks make dist.
7150
7151 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7152
7153         * tests/check/gst/gstbin.c: (GST_START_TEST):
7154           Fix leaks in the new unit test.
7155
7156 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7157
7158         * gst/gst.c:
7159           Don't use GST_INFO before the debug system is actually initialised
7160           (shouldn't do any harm, but won't print anything either, so we can
7161           just as well remove it).
7162
7163         * gst/gstinfo.h:
7164           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7165           compilers that don't support variadic macros (such as MSVC), should
7166           check for debug_level <= __gst_debug_min as well, since that's the
7167           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7168           inline helper functions. Should improve performance a bit, but also
7169           makes sure uses of GST_INFO et.al are ignored if the debugging
7170           system isn't initialised yet (instead of printing an assertion
7171           failure).
7172
7173 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7174
7175         patch by: David Nečas <yeti@physics.muni.cz>
7176
7177         * gst/Makefile.am:
7178           Replace some non portable makefile constructs.
7179
7180 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7181
7182         * common/gtk-doc-plugins.mak:
7183           Grrrrr. Don't remove the types file on make clean.
7184
7185 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7186
7187         * tools/gst-launch.1.in:
7188         Add colorspace to example pipeline. Fixes #458274.
7189
7190 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7191
7192         * docs/random/release:
7193           The release manager should run 'make download-po' before making a
7194           release to make sure translations are up-to-date.
7195
7196         * po/LINGUAS:
7197         * po/be.po:
7198         * po/pl.po:
7199         * po/rw.po:
7200           Add some new translations.
7201
7202 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7203
7204         * tools/gst-launch.c: (event_loop), (main):
7205         Don´t try to do any state management when a live pipeline posts
7206         buffering messages.
7207         Also make the buffering string translatable.
7208
7209 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7210
7211         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7212         (bin_handle_async_start), (gst_bin_handle_message_func):
7213         Improve debugging.
7214         When adding elements, insert messages into the bus of the newly added
7215         element and make sure the element is the source of the message. This
7216         allows the parent bin to intercept the message and do the
7217         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7218         messages to the app (which is not allowed).
7219         Update some docs.
7220
7221         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7222         Fix testsuite so that is does not work around messages that should not
7223         have been posted in the first place.
7224
7225 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7226
7227         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7228         (update_degree), (gst_bin_sort_iterator_next):
7229         Fix annoying bug in the sorted iterator where a sink that is not really
7230         a sink (when it has downstream links) screwed up the iterator.
7231
7232         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7233         Unit test to verify the fix.
7234
7235 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7236
7237         * gst/gstmessage.h:
7238         Add some more docs for the messages.
7239
7240         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7241         (gst_base_sink_query):
7242         Add some more debugging.
7243
7244         * tools/gst-launch.c: (event_loop):
7245         When interrupting, don't try to set pipeline to PAUSED twice.
7246
7247 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7248
7249         
7250         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7251         (bin_handle_async_start), (gst_bin_handle_message_func):
7252         Move ASYNC_START message posting to where it belongs, similar to
7253         async_done. 
7254         Don't post ASYNC_START when we are in error. 
7255         Post ASYNC_START when we added an async element to a bin.
7256
7257 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7258
7259         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7260         generation from vargs. Fixes #466595.
7261
7262 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7263
7264         * gst/gstbin.c: (gst_bin_element_set_state):
7265         Always change the state of a NO_PREROLL element even if it has ASYNC
7266         elements inside (in case of a bin).
7267
7268         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7269         Unit test for this case.
7270
7271 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7272
7273         * libs/gst/check/gstbufferstraw.c:
7274         * libs/gst/check/gstcheck.h:
7275         * libs/gst/controller/gstcontroller.c:
7276         * libs/gst/controller/gstcontrolsource.h:
7277         * libs/gst/controller/gstlfocontrolsource.h:
7278         * plugins/elements/gstcapsfilter.h:
7279         * plugins/elements/gstfdsink.h:
7280         * plugins/elements/gstfdsrc.h:
7281           Add more missing docs.
7282
7283 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7284
7285         * gst/gststructure.c:
7286         Add Since tag to docs.
7287
7288 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7289
7290         * docs/gst/gstreamer-sections.txt:
7291         * gst/gststructure.c: (gst_structure_get_uint):
7292         * gst/gststructure.h:
7293         Add function to get uint from a structure.
7294         API: gst_structure_get_uint()
7295
7296 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7297
7298         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7299         (gst_caps_intersect):
7300         Fix proper check for simple caps.
7301
7302 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7303
7304         * docs/gst/Makefile.am:
7305         * docs/libs/Makefile.am:
7306           Remove cruft and do some cleanups.
7307
7308         * docs/gst/gstreamer-docs.sgml:
7309         * docs/libs/gstreamer-libs-docs.sgml:
7310           Prepare for comming gtkdoc features (rebase against online docs).
7311
7312 2007-08-10  Michael Smith <msmith@fluendo.com>
7313
7314         * docs/gst/gstreamer-sections.txt:
7315           Add gst_registry_add_path to docs.
7316
7317 2007-08-10  Michael Smith <msmith@fluendo.com>
7318
7319         * gst/gstregistry.h:
7320           Add gst_registry_add_path, which was missing from this header.
7321
7322 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7323
7324         * libs/gst/controller/gstlfocontrolsource.c:
7325           Printf format fix.
7326
7327 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7328
7329         * libs/gst/base/gstbasesink.c:
7330           Don't send an async_start message during downwards state change if 
7331           target state is less than READY
7332
7333 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7334
7335         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7336
7337         * po/LINGUAS:
7338         * po/hu.po:
7339           Added Hungarian translation.
7340
7341 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7342
7343         * po/fi.po:
7344         * po/it.po:
7345         * po/nl.po:
7346         * po/sv.po:
7347         * po/uk.po:
7348           Updated translations.
7349
7350 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7351
7352         * libs/gst/controller/Makefile.am:
7353         Dist gstlfocontrolsourceprivate.h
7354
7355 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7356
7357         * docs/libs/gstreamer-libs.types:
7358         Don't register the enum type gst_lfo_waveform_get_type() in the
7359         .types file - only GObject derived types belong.
7360
7361 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7362
7363         Patch by: <arenevier at fdn dot fr>
7364
7365         * gst/gstbuffer.h:
7366         Remove comma from last element in enum to avoid compile errors when
7367         using -pendantic. Fixes #464366.
7368
7369 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7370
7371         * docs/design/part-TODO.txt:
7372         Add some more TODO items
7373
7374         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7375         Improve debugging.
7376
7377         * gst/gstcaps.c: (gst_caps_intersect):
7378         Optimize trivial intersection case between identical caps pointers.
7379
7380         * gst/gstelement.c: (gst_element_continue_state),
7381         (gst_element_set_state_func):
7382         * gst/gstpad.c:
7383         Fix spelling and grammar mistakes.
7384
7385 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7386
7387         * po/POTFILES.in:
7388         * po/POTFILES.skip:
7389           Update POTFILES. Fixes #461599.
7390
7391 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7392
7393         * gst/gst.c:
7394         Fix confusing typo in debug output.
7395
7396 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7397
7398         reviewed by: Stefan Kost <ensonic@users.sf.net>
7399
7400         * libs/gst/controller/Makefile.am:
7401         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7402         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7403         (gst_lfo_control_source_new),
7404         (gst_lfo_control_source_set_waveform),
7405         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7406         (gst_lfo_control_source_finalize),
7407         (gst_lfo_control_source_dispose),
7408         (gst_lfo_control_source_set_property),
7409         (gst_lfo_control_source_get_property),
7410         (gst_lfo_control_source_class_init):
7411         * libs/gst/controller/gstlfocontrolsource.h:
7412         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7413         API: Add GstLFOControlSource, a control source that gives values
7414         for specific timestamps based on several periodic waveforms.
7415         Fixes #459717.
7416
7417         * tests/check/libs/controller.c: (GST_START_TEST),
7418         (gst_controller_suite):
7419         * docs/libs/gstreamer-libs-docs.sgml:
7420         * docs/libs/gstreamer-libs-sections.txt:
7421         * docs/libs/gstreamer-libs.types:
7422         Add documentation and unit tests for GstLFOControlSource.
7423
7424 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7425
7426         * configure.ac:
7427         Back to CVS
7428
7429 === release 0.10.14 ===
7430
7431 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7432
7433         * configure.ac:
7434           releasing 0.10.14, "Breathing Vacuum"
7435
7436 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7437
7438         * gst/gstelement.c: (gst_element_class_set_details_simple):
7439         * gst/gstelement.h:
7440           Make strings passed to gst_element_class_set_details_simple()
7441           constant, as they should be (#462752).
7442
7443 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7444
7445         * gst/gstbin.c: (gst_bin_change_state_func),
7446         (bin_handle_async_done), (gst_bin_handle_message_func):
7447         Don't forget about the fact that some element went ASYNC even after a
7448         resync. This makes us post the ASYNC_DONE message correctly.
7449         Fixes #462558.
7450
7451 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7452
7453         * gst/gstregistry.c: (gst_registry_add_feature):
7454         When replacing an existing feature in the registry, make sure to
7455         continue holding a reference until we've replaced the name string
7456         within our feature hash table. Make sure to use g_hash_table_replace
7457         instead of g_hash_table_insert to ensure the new name string is used
7458         as a key instead of the old one that we're about to free.
7459         Fixes: #462085
7460
7461 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7462
7463         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7464         (gst_plugin_feature_set_name):
7465         Revert patch from #459466 until after the release and we can work
7466         out exactly what the problem is (if any).
7467
7468 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7469
7470         * docs/gst/gstreamer-sections.txt:
7471         * gst/gsttaglist.c:
7472         * gst/gsttaglist.h:
7473           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7474
7475 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7476
7477         * docs/libs/Makefile.am:
7478         Include our build-prefix libs and includes before the generic ones to
7479         avoid linking against the installed libs when we want the build-tree
7480         ones.
7481
7482 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7483
7484         Patch by: Steve Fink  <sphink gmail com>
7485
7486         * docs/pwg/building-testapp.xml:
7487           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7488           if people try to build or install the example from the plugin
7489           template against a GStreamer from package using the configure
7490           defaults.
7491
7492 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7493
7494         Patch by: Steve Fink  <sphink gmail com>
7495
7496         * tools/gst-inspect.1.in:
7497           Document --print-all and --print-plugin-auto-install-info command
7498           line options in man page.
7499
7500 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7501
7502         * docs/gst/gstreamer-sections.txt:
7503         Add docs for new api function.
7504
7505 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7506
7507         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7508         * gst/gstelementfactory.h:
7509         API: gst_element_factory_has_interface()
7510         Added method to check if an element factory implements a named
7511         interface.
7512
7513 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7514
7515         * configure.ac:
7516         * docs/gst/gstreamer.types.in:
7517           Another conditional doc check.
7518
7519         * gst/gstmessage.c:
7520         * gst/gstparamspecs.h:
7521         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7522         * gst/gstvalue.c:
7523         * gst/gstxml.h:
7524           API-doc fixes.
7525
7526 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7527
7528         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7529         (gst_registry_binary_load_feature),
7530         (gst_registry_binary_load_plugin),
7531         (gst_registry_binary_read_cache):
7532           Print error just once and with additional info.
7533
7534 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7535
7536         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7537         (helper_find_suggest), (helper_find_get_length),
7538         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7539         (gst_type_find_helper_for_buffer):
7540           Cleanup the typefindhelper code and add private doc comments.
7541
7542 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7543
7544         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7545         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7546         Fix capsfilter for cases where the caps set on capsfilter will provide
7547         additional information.
7548         Fixes #449197
7549
7550 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7551
7552         * gst/gsttypefindfactory.c:
7553           Fix docs that recommened wrong function to use.
7554
7555 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7556
7557         * tools/gst-inspect.c: (print_plugin_features):
7558           Also give media-type for typefinders in element output.
7559
7560 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7561
7562         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7563         (gst_registry_remove_features_for_plugin_unlocked),
7564         (gst_registry_add_feature), (gst_registry_remove_feature),
7565         (gst_registry_lookup_feature_locked):
7566         * gst/gstregistry.h:
7567           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7568           Fixes #459501.
7569
7570 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7571
7572         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7573         (gst_plugin_feature_set_name):
7574           Avoid double memory usage for pluginfeature names. Fixes #459466.
7575
7576 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7577
7578         * gst/gstpad.h:
7579           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7580           driving the pipeline may need to explicitly check for NOT_LINKED as
7581           well, since IS_FATAL doesn't cover that.
7582
7583 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7584
7585         * docs/pwg/advanced-types.xml:
7586           Fix typo and duplicate entry in video formats list.
7587
7588 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7589
7590         * libs/gst/controller/gstinterpolation.c:
7591         Also round to the nearest int when using cubic interpolation.
7592
7593 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7594
7595         * libs/gst/controller/gstinterpolation.c:
7596         When linearly interpolating integer types, round to the nearest int
7597         by adding 0.5. Don't do it for float/double types.
7598         Fixes the failing controller test on my machine, which is somehow
7599         rounding differently than on the buildbots.
7600
7601 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7602
7603         * tools/gst-plot-timeline.py:
7604           Better log parsing (categories can have -). Adjust text vs. lines, so
7605           that they span the same y-range.        
7606
7607 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7608
7609         * docs/random/ensonic/audiobaseclasses.txt:
7610         * docs/random/ensonic/dynlink.txt:
7611         * docs/random/ensonic/profiling.txt:
7612           Save my thoughts.
7613
7614         * docs/random/moving-plugins:
7615           Add note to use g_assert type macros.
7616
7617 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7618
7619         * configure.ac:
7620         * libs/gst/check/Makefile.am:
7621           Add libm check as we use in for plugins.
7622
7623 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7624
7625         * gst/gstbin.c: (gst_bin_continue_func):
7626         Check that the state_cookie hasn't changed since the continue_func
7627         was scheduled. Avoids problems where the state changes back to
7628         something it shouldn't be because it was changed in the meantime.
7629
7630 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7631
7632         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7633         (gst_registry_binary_save_string),
7634         (gst_registry_binary_save_pad_template),
7635         (gst_registry_binary_save_feature),
7636         (gst_registry_binary_save_plugin),
7637         (gst_registry_binary_load_feature),
7638         (gst_registry_binary_load_plugin),
7639         (gst_registry_binary_read_cache):
7640           Fix memory leak. Be less verbose in the log.
7641
7642 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7643
7644         * tests/check/elements/.cvsignore:
7645         Add file to cvsignore as commanded.
7646
7647 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7648
7649         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7650         (mq_dummypad_event), (run_output_order_test):
7651         Use a GStaticMutex to protect all cases where libcheck
7652         fail_if/fail_unless macros might be called from multiple threads
7653         simultaneously to avoid errors like:
7654           "check_pack.c:107: :-1081725400:Bad message type arg"
7655
7656 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7657
7658         * tests/check/pipelines/stress.c: (GST_START_TEST):
7659         Make sure we set the pipeline back to the NULL state before
7660         dropping our final reference.
7661
7662 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7663
7664         * tests/check/elements/tee.c: (GST_START_TEST):
7665         Make the tee stress-test a little less stressful so it doesn't just
7666         time out on slow-machines, and remove a small race when it's starting 
7667         up by adding a get_state() call.
7668
7669 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7670
7671         * gst/gst.c:
7672           Avoid reading registry twice on startup. Fixes #457322.
7673
7674 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7675
7676         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7677         * pkgconfig/gstreamer-check.pc.in:
7678         Substitute the CFLAGS for libcheck into our .pc file too so that
7679         dependent modules will pick it up properly if libcheck is installed
7680         into some other prefix.
7681
7682 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7683
7684         * configure.ac:
7685         Revert the pkg-config check for libcheck, since it pulls in the
7686         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7687         a proper solution, either from the check project, or something else.
7688
7689 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7690
7691         * configure.ac:
7692           Use pkg-config to locate check.
7693
7694 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7695
7696         * gst/gsttaglist.c:
7697           Fix doc syntax.
7698
7699         * gst/gstutils.c:
7700         * gst/gstutils.h:
7701           Add deprecation guards.
7702
7703         * libs/gst/base/gstcollectpads.h:
7704           Don't document object (this is implicitly private).
7705
7706 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7707
7708         * gst/gststructure.c: (gst_structure_parse_value):
7709           When deserialising foo=bar without a type cast, check if it's a
7710           boolean before falling back to a string type, otherwise things like
7711           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7712           because the filtercaps end up having a signed=(string)true field,
7713           which causes problems later when intersection caps.
7714
7715         * tests/check/gst/gststructure.c: (GST_START_TEST):
7716           Add a unit test for this.
7717
7718 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7719
7720         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7721
7722         * libs/gst/controller/Makefile.am:
7723         * libs/gst/controller/gstcontroller.c:
7724         (gst_controlled_property_add_interpolation_control_source),
7725         (gst_controlled_property_new), (gst_controlled_property_free),
7726         (gst_controller_find_controlled_property),
7727         (gst_controller_new_valist), (gst_controller_new_list),
7728         (gst_controller_new), (gst_controller_remove_properties_valist),
7729         (gst_controller_remove_properties_list),
7730         (gst_controller_remove_properties),
7731         (gst_controller_set_property_disabled),
7732         (gst_controller_set_disabled), (gst_controller_set_control_source),
7733         (gst_controller_get_control_source), (gst_controller_get),
7734         (gst_controller_sync_values), (gst_controller_get_value_array),
7735         (_gst_controller_dispose), (gst_controller_get_type),
7736         (gst_controlled_property_set_interpolation_mode),
7737         (gst_controller_set), (gst_controller_set_from_list),
7738         (gst_controller_unset), (gst_controller_unset_all),
7739         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7740         * libs/gst/controller/gstcontroller.h:
7741         * libs/gst/controller/gstcontrollerprivate.h:
7742         * libs/gst/controller/gstcontrolsource.c:
7743         (gst_control_source_class_init), (gst_control_source_init),
7744         (gst_control_source_get_value),
7745         (gst_control_source_get_value_array), (gst_control_source_bind):
7746         * libs/gst/controller/gstcontrolsource.h:
7747         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7748         (gst_object_get_control_source):
7749         * libs/gst/controller/gstinterpolation.c:
7750         (gst_interpolation_control_source_find_control_point_node),
7751         (gst_interpolation_control_source_get_first_value),
7752         (_interpolate_none_get), (interpolate_none_get),
7753         (interpolate_none_get_boolean_value_array),
7754         (interpolate_none_get_enum_value_array),
7755         (interpolate_none_get_string_value_array),
7756         (_interpolate_trigger_get), (interpolate_trigger_get),
7757         (interpolate_trigger_get_boolean_value_array),
7758         (interpolate_trigger_get_enum_value_array),
7759         (interpolate_trigger_get_string_value_array):
7760         * libs/gst/controller/gstinterpolationcontrolsource.c:
7761         (gst_control_point_free), (gst_interpolation_control_source_reset),
7762         (gst_interpolation_control_source_new),
7763         (gst_interpolation_control_source_set_interpolation_mode),
7764         (gst_interpolation_control_source_bind),
7765         (gst_control_point_compare), (gst_control_point_find),
7766         (gst_interpolation_control_source_set_internal),
7767         (gst_interpolation_control_source_set),
7768         (gst_interpolation_control_source_set_from_list),
7769         (gst_interpolation_control_source_unset),
7770         (gst_interpolation_control_source_unset_all),
7771         (gst_interpolation_control_source_get_all),
7772         (gst_interpolation_control_source_get_count),
7773         (gst_interpolation_control_source_init),
7774         (gst_interpolation_control_source_finalize),
7775         (gst_interpolation_control_source_dispose),
7776         (gst_interpolation_control_source_class_init):
7777         * libs/gst/controller/gstinterpolationcontrolsource.h:
7778         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7779         API: Refactor GstController into the core controller which can take
7780         a GstControlSource for providing actual values for timestamps.
7781         Implement a interpolation control source and use this for backward
7782         compatibility, deprecate a bunch of functions that are now handled
7783         by GstControlSource or GstInterpolationControlSource.
7784         Make it possible to disable the controller completely or only for
7785         specific properties. Fixes #450711.
7786         * docs/libs/gstreamer-libs-docs.sgml:
7787         * docs/libs/gstreamer-libs-sections.txt:
7788         * docs/libs/gstreamer-libs.types:
7789         Add new functions and classes to the docs.
7790         * tests/check/libs/controller.c: (GST_START_TEST),
7791         (gst_controller_suite):
7792         * tests/examples/controller/audio-example.c: (main):
7793         Port unit test and example to the new API and add some new
7794         unit tests.
7795
7796 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7797
7798         Patch by: Mark Nauwelaerts <manauw at skynet be>
7799
7800         * plugins/elements/gstmultiqueue.c:
7801         (gst_multi_queue_get_internal_links), (apply_buffer),
7802         (single_queue_overrun_cb), (gst_single_queue_new):
7803         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7804         the pipeline layout can be tracked correctly. Fixes #453732.
7805
7806 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7807
7808         * docs/gst/Makefile.am:
7809         * docs/libs/Makefile.am:
7810         * docs/plugins/Makefile.am:
7811           Simplify --extra-dir as gtkdoc scans recursively.
7812
7813 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7814
7815         * tools/gst-launch.c: (main):
7816         When we got an error, there is no point in waiting for preroll when
7817         shutting down.
7818
7819 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7820
7821         * plugins/elements/gsttee.c: (gst_tee_base_init),
7822         (gst_tee_request_new_pad), (gst_tee_release_pad),
7823         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7824         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7825         (gst_tee_chain):
7826         Be a lot smarter when deciding what srcpad to use for proxying
7827         the buffer_alloc. Also handle pad added/removed when doing so.
7828         Fixes #357959.
7829         Keep track of what pads we already pushed on in case we have pads
7830         added/removed while pushing. Fixes #374639 
7831
7832         * tests/check/Makefile.am:
7833         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7834         (tee_suite):
7835         Added unit test for pad resync.
7836
7837 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7838
7839         * po/nl.po:
7840         * po/sv.po:
7841           Updated translations.
7842
7843 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7844
7845         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7846
7847         * po/LINGUAS:
7848         * po/fi.po:
7849           Added new Finnish translation.
7850
7851 2007-06-28  Wim Taymans  <wim@fluendo.com>
7852
7853         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7854         (single_queue_overrun_cb):
7855         When figuring out when a queue is filled, use our internal time estimate
7856         based on segments, just like check_full does.
7857
7858 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7859
7860         * gst/gstminiobject.c: (gst_mini_object_get_type):
7861           Remove 3 do-nothing methods.
7862
7863 2007-06-27  Wim Taymans  <wim@fluendo.com>
7864
7865         Patch by: Tim Angus <tim at ngus dot net>
7866
7867         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7868         (gst_capsfilter_set_property):
7869         Take a reference instead of a copy when setting "caps".
7870         Fix documentation to clarify this behaviour. Fixes #449414.
7871
7872 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7873
7874         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7875         * gst/gstplugin.c: (gst_plugin_init):
7876         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7877         * gst/gstquery.c: (gst_query_get_type):
7878         * gst/gstregistry.c: (gst_registry_init):
7879         * gst/gsturi.c: (gst_uri_handler_base_init):
7880           Remove empty instance_init() functions to save relocs and lessen the
7881           noise. Remove some of the function prototypes that are doubled by
7882           G_DEFINE_TYPE.
7883           
7884 2007-06-27  Wim Taymans  <wim@fluendo.com>
7885
7886         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7887
7888         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7889         Add peer and direction in the XML serialisation of ghostpads.
7890         Fixes #449226.
7891
7892 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7893
7894         * configure.ac:
7895           Preserve useful information, thanks Tim.
7896
7897 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7898
7899         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7900         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7901         (gst_single_queue_push_one), (gst_multi_queue_loop),
7902         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7903         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7904         (compute_high_id), (gst_single_queue_new):
7905         * plugins/elements/gstmultiqueue.h:
7906         Take the multiqueue lock when updating the fill level so we don't get
7907         confused. 
7908
7909         After applying a buffer or event on the src pad segment, make sure to
7910         call gst_data_queue_limits_changed() to get the data queue to unblock
7911         and check the filled state again.
7912         
7913         Rework the not-linked pad handling so the logic is that not-linked 
7914         pads can push as fast as they like, but only so they never get 
7915         ahead of any linked pads.
7916
7917         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7918         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7919         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7920
7921         Add a test to check that not-linked pads always stay behind
7922         linked pads.
7923
7924         Fixes: #430682
7925
7926 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7927
7928         * docs/random/release:
7929           Some updates to the release procedure.
7930
7931 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7932
7933         * gst/gstelementfactory.c: (__gst_element_details_clear):
7934           Microoptimization that saves stunning 80 bytes.
7935
7936 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7937
7938         * docs/plugins/gstreamer-plugins.args:
7939         * docs/plugins/inspect/plugin-coreelements.xml:
7940         * docs/plugins/inspect/plugin-coreindexers.xml:
7941           Update docs with caps info.
7942
7943 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7944
7945         * po/it.po:
7946           Updated Italian translation.
7947
7948 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7949
7950         * ChangeLog:
7951         * po/vi.po:
7952           Update Vietnamese translations.
7953
7954 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7955
7956         * libs/gst/base/gstbasesink.c:
7957           Remove unused signal enum.
7958
7959 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7960
7961         * docs/gst/gstreamer-sections.txt:
7962         * gst/gstelement.c:
7963         * gst/gstutils.c: (gst_type_register_static_full):
7964         Beef up and include the docs for gst_type_register_static_full and
7965         gst_element_class_set_details_simple and add the API keyword
7966         in the ChangeLog.
7967
7968 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7969
7970         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7971         (update_time_level), (gst_single_queue_push_one),
7972         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7973         (single_queue_overrun_cb), (single_queue_underrun_cb),
7974         (single_queue_check_full):
7975         Fix setting max-* properties after adding queues.
7976         Use IS_FILLED for checking visible items.
7977         Signal overrun if multiple queues overrun.
7978         Add extra debug output.
7979         Patch by: Wim Taymans <wim@fluendo.com>
7980
7981 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7982
7983         * gst/gstelement.c: (gst_element_class_set_details_simple):
7984         * gst/gstelement.h:
7985         * gst/gstutils.c: (gst_type_register_static_full):
7986         * gst/gstutils.h:
7987         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7988         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7989         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7990         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7991         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7992         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7993         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7994         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7995         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7996         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7997         (apply_buffer), (gst_queue_chain):
7998         * plugins/elements/gsttee.c: (gst_tee_base_init):
7999         * plugins/elements/gsttypefindelement.c:
8000         (gst_type_find_element_base_init),
8001         (gst_type_find_element_class_init):
8002           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8003           API: add gst_type_register_static_full
8004           API: add gst_element_class_set_details_simple
8005
8006 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8007
8008         * docs/pwg/advanced-types.xml:
8009           Fix typo in iana.org URI.
8010
8011 2007-06-19  Andy Wingo  <wingo@pobox.com>
8012
8013         * tests/check/pipelines/simple-launch-lines.c
8014         (test_state_change_returns): Enable pull-mode tests now that
8015         basesink has been fixed.
8016
8017         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8018         Changed from gst_base_sink_is_prerolled, reversing the sense of
8019         the return value. Returns FALSE also if the sink is in pull mode,
8020         in which case it needs no preroll.
8021         (gst_base_sink_query, gst_base_sink_change_state): Update for
8022         needs_preroll change.
8023         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8024         chaining up, in which we return SUCCESS directly if we activated
8025         in pull mode instead of ASYNC. Involves countering an async_start
8026         message sent before chaining up; not sure if this is correct, in
8027         an ideal world we only send async-start when activating in push
8028         mode.
8029
8030         * tests/check/pipelines/simple-launch-lines.c
8031         (test_state_change_returns): New test, partially disabled until
8032         basesink is fixed.
8033
8034 2007-06-19  Wim Taymans  <wim@fluendo.com>
8035
8036         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8037         (gst_multi_queue_sink_event):
8038         Fix event leak.
8039
8040 2007-06-19  Wim Taymans  <wim@fluendo.com>
8041
8042         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8043         (gst_bin_change_state_func), (bin_push_state_continue),
8044         (bin_handle_async_start), (bin_handle_async_done),
8045         (gst_bin_handle_message_func):
8046         Move the common code for posting state-change messages into
8047         one function.
8048         Broadcast the state signal after we posted the messages.
8049         Mark the bin as busy when it's doing a state-change.
8050         Make sure async-start/done messages don't interfere with the bin's
8051         state when it's busy.
8052         After the state change, let the bin check which elements completed the
8053         state change while it was busy so that it can update its state.
8054
8055 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8056
8057         * docs/random/release:
8058         Add a note about updating the doap file to the release checklist
8059
8060 2007-06-18  Wim Taymans  <wim@fluendo.com>
8061
8062         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8063         (gst_single_queue_push_one), (gst_multi_queue_chain),
8064         (gst_multi_queue_sink_event):
8065         Make sure we don't reference the buffer/event after we have given away
8066         ownership in the queue.
8067
8068 2007-06-18  Wim Taymans  <wim@fluendo.com>
8069
8070         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8071         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8072         Update queue state _after_ adding the item in the queue because else we
8073         could end up being full without the element added yet.
8074
8075 2007-06-18  Wim Taymans  <wim@fluendo.com>
8076
8077         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8078         (gst_bin_remove_func), (gst_bin_get_state_func),
8079         (gst_bin_element_set_state), (gst_bin_continue_func),
8080         (bin_push_state_continue), (bin_handle_async_start),
8081         (bin_handle_async_done), (gst_bin_handle_message_func):
8082         * gst/gstbin.h:
8083         Immediatly commit the toplevel bin state when receiving an async-done
8084         message. This enables us to avoid spawning a thread to commit the state
8085         in some common cases and it also avoids some races.
8086         Avoid spawning a state thread when adding/removing async elements to a
8087         toplevel bin. Instead we immediatly update the bin state.
8088         Get rid of iterating all the children when getting the state in the bin
8089         because it is now always up-to-date.
8090         Fix bug where locked elements would always return _SUCCESS even it they
8091         returned NO_PREROLL before being locked.
8092         Fix the order of the state_change, async-start/done messages that was
8093         sometimes incorrect.
8094         Mark the state_dirty field as deprecated, we don't need it anymore as we
8095         are always up-to-date.
8096
8097         * gst/gstelement.c: (gst_element_get_state_func),
8098         (gst_element_continue_state):
8099         Small debug inprovements.
8100         Return the previous element state return when nothing is pending instead
8101         of blindly returning SUCCESS.
8102
8103         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8104         (gst_sinks_suite):
8105         Add a whole bunch of new testcases.
8106
8107 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8108
8109         * po/uk.po:
8110         * po/vi.po:
8111           Update translations.
8112
8113 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8114
8115         * gst/gstpad.c:
8116         Fix typo in the docs.
8117
8118 2007-06-15  Wim Taymans  <wim@fluendo.com>
8119
8120         * docs/libs/gstreamer-libs-sections.txt:
8121         Add docs for new methods.
8122
8123 2007-06-15  Wim Taymans  <wim@fluendo.com>
8124
8125         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8126         (gst_multi_queue_item_new):
8127         Don't use GSlice because we don't depend on >= 2.10 yet.
8128
8129 2007-06-15  Wim Taymans  <wim@fluendo.com>
8130
8131         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8132         (update_time_level), (apply_segment), (apply_buffer),
8133         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8134         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8135         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8136         (single_queue_underrun_cb), (single_queue_check_full):
8137         Remove debug printf.
8138
8139 2007-06-15  Wim Taymans  <wim@fluendo.com>
8140
8141         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8142         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8143         (gst_data_queue_set_flushing), (gst_data_queue_push),
8144         (gst_data_queue_pop), (gst_data_queue_drop_head),
8145         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8146         * libs/gst/base/gstdataqueue.h:
8147         Various cleanups.
8148         Added methods to get the current levels and to inform the queue that the
8149         'full' limits changed.
8150
8151         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8152         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8153         (gst_single_queue_flush), (update_time_level), (apply_segment),
8154         (apply_buffer), (gst_single_queue_push_one),
8155         (gst_multi_queue_item_steal_object),
8156         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8157         (gst_multi_queue_loop), (gst_multi_queue_chain),
8158         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8159         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8160         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8161         (single_queue_underrun_cb), (single_queue_check_full),
8162         (gst_single_queue_new):
8163         Keep track of time in the queue by measuring the difference between
8164         running_time on input and output. This gives more accurate results and
8165         can compensate for segments correctly.
8166         Make a queue by default only 5 buffers deep. We will now increase the
8167         buffer size depending on the filledness of the other queues.
8168         Factor out commong flush code.
8169         Make sure we don't add additional refcounts to buffers when we can avoid
8170         it.
8171         Propagate GstFlowReturn differently.
8172         Use GSlice for intermediate GstMultiQueueItems.
8173         Keep track of EOS.
8174         Resize queues on over and underruns based on filled level of other
8175         queues.
8176         When checking if the queue is filled, prefer to measure in time if we
8177         can and fall back to bytes when no time is known.
8178
8179         * plugins/elements/gstqueue.c:
8180         Fix return value.
8181
8182 2007-06-15  Wim Taymans  <wim@fluendo.com>
8183
8184         * libs/gst/base/gstbasetransform.c:
8185         (gst_base_transform_sink_event):
8186         Work around the brokenness of the event vmethod in basetransform. Prefer
8187         to return TRUE when the subclass returned FALSE (meaning don't forward
8188         the event). 
8189
8190         * libs/gst/base/gstbasetransform.h:
8191         Clarify the docs.
8192
8193 2007-06-15  Wim Taymans  <wim@fluendo.com>
8194
8195         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8196         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8197         (gst_base_src_default_query), (gst_base_src_get_range),
8198         (gst_base_src_start):
8199         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8200         Improve debugging.
8201
8202 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8203
8204         * docs/pwg/advanced-types.xml:
8205           Added more formats to caps table.
8206
8207 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8208
8209         * tools/gst-launch.c: (main):
8210           Remove crufy code. GOption does not need this workaround.
8211
8212 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8213
8214         * libs/gst/controller/gstcontroller.c:
8215         (gst_controlled_property_set_interpolation_mode):
8216           Fix wrong getter for enums in controller.
8217
8218 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8219
8220         * libs/gst/check/gstcheck.c: (gst_check_init):
8221           Intercept criticals and warnings in the Gst-Phonon log domain, so
8222           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8223           well.
8224         
8225 2007-06-14  Edward Hervey  <edward@fluendo.com>
8226
8227         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8228         Since this file doesn't include "gst.h" it will not go through the
8229         macros that disable GST_LOG if debugging was disabled.
8230
8231 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8232
8233         * libs/gst/check/Makefile.am:
8234         * libs/gst/check/gstcheck.h:
8235         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8236         * pkgconfig/gstreamer-check.pc.in:
8237           Ugly 'fix' for the controller unit test on the p5 bot: in
8238           fail_unless_equals_float() check whether the values are 'almost
8239           equal' by allowing a small absolute error, which should be good
8240           enough for our use cases (normal numbers and values close to 0).
8241           Proper fixage left to floating point arithmetic aficionados.
8242
8243 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8244
8245         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8246         (gst_base_sink_render_object), (gst_base_sink_get_position):
8247           Add two breaks thats where missing.
8248
8249 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8250
8251         * docs/libs/gstreamer-libs-sections.txt:
8252         * libs/gst/check/gstcheck.h:
8253           API: add fail_unless_equals_float() and assert_equals_float().
8254           Add documentation for some of the macros.
8255
8256         * tests/check/libs/controller.c: (GST_START_TEST):
8257           Use newly-added asserts.
8258
8259 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8260
8261         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8262           Show the caps change in the log to help spotting the case of not
8263           exactly matching caps.
8264
8265 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8266
8267         * docs/pwg/building-boiler.xml:
8268           Fix typos, spotted by Thijs Vermeir (#447190).
8269
8270 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8271
8272         * docs/plugins/tmpl/.cvsignore:
8273         Ignore file to keep the buildbots happy
8274
8275 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8276
8277         * docs/plugins/Makefile.am:
8278         * docs/plugins/gstreamer-plugins-docs.sgml:
8279         * docs/plugins/gstreamer-plugins-sections.txt:
8280         Pull fdsink into the docs too.
8281
8282 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8283
8284         * libs/gst/controller/gstinterpolation.c:
8285         Actually use the new functions with min/max checks for the trigger and
8286         none interpolation modes for get() and get_value_array() instead of
8287         just the latter.
8288
8289 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8290
8291         * libs/gst/controller/gstcontroller.c:
8292         (gst_controlled_property_free):
8293         Unset the minimum and maximum GValues when freeing the corresponding
8294         GstControllerProperty struct.
8295
8296 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8297
8298         * libs/gst/controller/gstcontroller.c:
8299         (gst_controlled_property_new):
8300         * libs/gst/controller/gstcontrollerprivate.h:
8301         * libs/gst/controller/gstinterpolation.c:
8302         (gst_controlled_property_find_control_point_node),
8303         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8304         (interpolate_none_get_string_value_array),
8305         (interpolate_trigger_get),
8306         (interpolate_trigger_get_enum_value_array),
8307         (interpolate_trigger_get_string_value_array):
8308         Protect against values larger or smaller than the minimum or maximum
8309         allowed value for the property when using values that can be compared.
8310
8311         Optimize trigger interpolator a bit by taking the last requested value
8312         into account instead of always looping through the complete list.
8313
8314         Fix coding style a bit, everywhere else we use "return foo" instead
8315         of "return (foo)".
8316         
8317         * tests/check/libs/controller.c: (GST_START_TEST),
8318         (gst_controller_suite):
8319         Add unit test for the protection against too large or too small
8320         values.
8321
8322 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8323
8324         * docs/random/slomo/controller.txt:
8325         Add some thoughts about the future of the controller.
8326
8327 2007-06-08  Wim Taymans  <wim@fluendo.com>
8328
8329         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8330         Don't overflow in retimestamping code.
8331
8332 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8333
8334         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8335         Use gst_util_guint64_to_gdouble for conversions.
8336         * win32/common/libgstreamer.def:
8337         Add new exported functions.
8338
8339 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8340
8341         * gst/gstutils.c:
8342           Small docs addition.
8343
8344 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8345
8346         * README:
8347           Remove that test line again.
8348
8349 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8350
8351         * README:
8352           Test commit mail sending.
8353
8354 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8355
8356         * configure.ac:
8357           Fix typo and test commit mail sending.
8358
8359 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8360
8361         * tests/examples/controller/audio-example.c:
8362           Improve comment and test commit mail sending.
8363
8364 2007-06-07  Wim Taymans  <wim@fluendo.com>
8365
8366         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8367         (gst_bin_remove_func), (gst_bin_element_set_state),
8368         (bin_handle_async_start), (bin_handle_async_done),
8369         (gst_bin_handle_message_func):
8370         Add helper function to find messages.
8371         Generate the async-done messages together with the state change
8372         messages.
8373         Small cleanups in handling toplevel bins.
8374
8375 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8376
8377         * libs/gst/base/gstdataqueue.c:
8378         * libs/gst/base/gstdataqueue.h:
8379         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8380         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8381         (gst_multi_queue_sink_event):
8382         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8383           Fix multiqueue leaking buffers and events when downstream or the
8384           queue are flushing. Make refcounting assumptions explicit and
8385           document them (shouldn't break existing code that uses it other than
8386           maybe leak miniobjects, but that already happens anyway). Add unit
8387           test for the most common flushing case. Fixes #423700.
8388           
8389 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8390
8391         * libs/gst/controller/gstcontroller.c:
8392         Clarify docs: The get_all, get_value_array(s) functions
8393         don't modify the GObject properties.
8394
8395 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8396
8397         * libs/gst/controller/gstcontroller.c:
8398         (gst_controlled_property_set_interpolation_mode),
8399         (gst_controlled_property_prepend_default),
8400         (gst_controlled_property_new), (gst_controller_set_unlocked),
8401         (gst_controller_set), (gst_controller_set_from_list),
8402         (gst_controller_unset), (gst_controller_unset_all):
8403         * libs/gst/controller/gstcontrollerprivate.h:
8404         * libs/gst/controller/gstinterpolation.c:
8405         Factor out the 'set' logic into gst_controller_set_unlocked for the
8406         gst_controller_set and gst_controller_set_from_list functions.
8407
8408         To make life of the interpolators easier always add a control point
8409         at timestamp zero with the default value.
8410
8411         In the linear interpolator make things more obvious by better variable
8412         naming (slope).
8413
8414         Implement cubic interpolation mode (by using a natural cubic spline)
8415         and map the quadratic interpolation mode to this too (as quadratic
8416         doesn't make much sense, see discussion on the list).
8417
8418         * tests/check/libs/controller.c: (GST_START_TEST),
8419         (gst_controller_suite):
8420         Add unit test for the cubic interpolation mode and check everywhere
8421         if the interpolation mode could be set as expected.
8422
8423 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8424
8425         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8426           Don't use GLib-2.10 functions, we still depend on
8427           GLib-how-old-is-it-again-2.8.
8428
8429 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8430
8431         * docs/gst/gstreamer-sections.txt:
8432         * gst/Makefile.am:
8433         * gst/gst.c:
8434         * gst/gst.h:
8435         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8436         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8437         (_gst_param_fraction_values_cmp),
8438         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8439         * gst/gstparamspecs.h:
8440         * gst/gstvalue.c:
8441         * tests/check/Makefile.am:
8442         * tests/check/gst/.cvsignore:
8443         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8444         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8445         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8446         (GST_START_TEST), (gst_param_spec_suite):
8447           API: add GstParamSpecFraction, so elements can have fraction
8448           properties without lots of painful string parsing (#444648).
8449
8450 2007-06-05  Wim Taymans  <wim@fluendo.com>
8451
8452         * gst/gstobject.c: (gst_object_class_init):
8453         Fix signal signature.
8454
8455         * gst/gstsegment.c:
8456         Add small clarification in the api docs.
8457
8458         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8459         States are protected with object lock.
8460
8461 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8462
8463         * AUTHORS:
8464         I should probably be listed as an author by now.
8465
8466         * docs/random/release:
8467         Update the release doc
8468
8469 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8470
8471         * gst/gstvalue.c:
8472           Make docs for gst_value_compare() mention return enums that
8473           actually exist.
8474
8475 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8476
8477         * configure.ac:
8478           Back to CVS
8479
8480 === release 0.10.13 ===
8481
8482 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8483
8484         * configure.ac:
8485           releasing 0.10.13, "With or without you"
8486
8487 2007-05-25  Wim Taymans  <wim@fluendo.com>
8488
8489         * gst/gstbin.c: (bin_handle_async_done):
8490         Make sure that the child bin stops after completing the async state
8491         change so that the parent can continue the state change to PLAYING.
8492         Fixes #441159.
8493
8494 2007-05-25  Wim Taymans  <wim@fluendo.com>
8495
8496         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8497         (unref_data), (gst_collect_pads_remove_pad),
8498         (gst_collect_pads_check_pads):
8499         Use additional refcounting to avoid crashes when dynamically adding and
8500         removing pads. Fixes #420206.
8501
8502 2007-05-24  Wim Taymans  <wim@fluendo.com>
8503
8504         * tools/gst-launch.c: (event_loop):
8505         When buffering goes from a two digit to a single digit number, make sure
8506         to remove the old second digit by writing a blank over it.
8507
8508 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8509
8510         * libs/gst/base/gstdataqueue.c:
8511           Eliminate tabs and trailing comma in enum list; fix some typos.
8512
8513 2007-05-24  Wim Taymans  <wim@fluendo.com>
8514
8515         * tests/check/gst/gstbin.c: (GST_START_TEST):
8516         Allow refcount of 3 and 4 because some state thread might still be busy
8517         with it.
8518
8519 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8520
8521         * plugins/elements/Makefile.am:
8522         * plugins/elements/gstmultiqueue.h:
8523         * plugins/elements/gstqueue.h:
8524           These are not installed headers, no need for padding.
8525
8526 2007-05-24  Wim Taymans  <wim@fluendo.com>
8527
8528         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8529         (gst_bin_continue_func):
8530         Enable latency for next release.
8531         Restore STATE_LOCK around recalc_state that was left out during the
8532         rewrite and could result in racy behaviour when _get_state and
8533         recalc_state are run concurrently. See #440463.
8534
8535 2007-05-23  Wim Taymans  <wim@fluendo.com>
8536
8537         * tests/check/gst/gstsystemclock.c: (store_callback),
8538         (GST_START_TEST):
8539         Improve test_async_order to also work when both timers are already
8540         expired when we get scheduled to check it.
8541
8542 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8543
8544         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8545         (gst_bin_set_property), (gst_bin_get_property),
8546         (gst_bin_remove_func), (gst_bin_handle_message_func):
8547         * gst/gstbin.h:
8548           'private' is a c++ keyword, let's not use that in header files,
8549           otherwise c++ compilers will throw a tantrum.
8550
8551 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8552
8553         * plugins/elements/gstelements.c:
8554         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8555         (gst_file_sink_get_current_offset):
8556         * plugins/indexers/gstindexers.c: (plugin_init):
8557           Use #ifdef for HAVE_XYZ for consistency.
8558
8559         * tests/check/Makefile.am:
8560         * tests/check/elements/.cvsignore:
8561         * tests/check/elements/filesink.c: (setup_filesink),
8562         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8563           Add some unit tests for filesink.
8564
8565 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8566
8567         Patch by: Mark Nauwelaerts <manauw at skynet be>
8568
8569         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8570         (gst_file_sink_query), (gst_file_sink_do_seek),
8571         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8572         * plugins/elements/gstfilesink.h:
8573           Fix position reporting; rename data_written member to current_pos to
8574           reflect its real meaning (fixes #412648).
8575
8576 2007-05-22  Edward Hervey  <edward@fluendo.com>
8577
8578         * docs/gst/gstreamer-sections.txt:
8579         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8580         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8581         (gst_bin_remove_func), (gst_bin_handle_message_func):
8582         * gst/gstbin.h:
8583         Add a property for bins that handle the state change of their childs.
8584         Fixes #435880
8585
8586 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8587
8588         * libs/gst/controller/gstinterpolation.c:
8589         Use an array of the correct type when using _get_value_array with
8590         linear interpolation.
8591
8592 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8593
8594         * gst/gstelement.c (gst_element_requires_clock,
8595           gst_element_provides_clock, gst_element_request_pad,
8596           gst_element_class_set_details, gst_element_class_set_details_simple,
8597           gst_element_default_send_event, gst_element_abort_state,
8598           gst_element_continue_state, gst_element_set_state,
8599           gst_element_set_state_func, iterator_activate_fold_with_resync):
8600         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8601           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8602           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8603           gst_pad_get_range, gst_pad_pull_range):
8604         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8605           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8606           GstPadActivateModeFunction, GstPadChainFunction,
8607           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8608           GstPadFixateCapsFunction, GstPadTemplate):
8609         * gst/gstpipeline.c (gst_pipeline_change_state,
8610           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8611           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8612           gst_pipeline_get_delay):
8613           Whitespace and docs fixes.
8614
8615 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8616
8617         * libs/gst/controller/gstinterpolation.c:
8618         (interpolate_trigger_get_enum_value_array),
8619         (interpolate_trigger_get_string_value_array):
8620         Add support for retrieving value arrays when using the trigger
8621         interpolation mode. 
8622
8623 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8624
8625         * libs/gst/controller/gstcontroller.c:
8626         (gst_controller_get_value_array):
8627         * libs/gst/controller/gstcontroller.h:
8628         Clarify the docs of gst_controller_get_value_array(): The array where
8629         the values should be written to must be allocated as there seems to be
8630         no way to get the size of a random GType. This doesn't change any
8631         behaviour. Also fix some typos all over the place and remove an unused,
8632         commented function that is not necessary as g_object_set() could be
8633         used instead.
8634         * tests/check/libs/controller.c: (GST_START_TEST),
8635         (gst_controller_suite):
8636         Add unit test for gst_controller_get_value_array().
8637
8638 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8639
8640         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8641
8642         Disable part of the gst_buffer_try_new_and_alloc test, because
8643         it can happily succeed on 64-bit systems where there's more address
8644         space available.
8645
8646 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8647
8648         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8649         Add unit test for the improved caps checking from bug #421543.
8650
8651 2007-05-21  Wim Taymans  <wim@fluendo.com>
8652
8653         * docs/design/part-synchronisation.txt:
8654         Small addition.
8655
8656         * gst/gstbin.c: (gst_bin_query):
8657         * plugins/elements/gstqueue.c: (apply_segment):
8658         Improve debugging.
8659
8660         * gst/gstmessage.h:
8661         Improve docs.
8662
8663 2007-05-21  Wim Taymans  <wim@fluendo.com>
8664
8665         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8666         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8667         (gst_pad_configure_src):
8668         Added simple version of improved caps checking. It was previously
8669         assumed that a setcaps function would check the validity of the caps but
8670         people prefer us to check caps against the template automatically. 
8671         Fixes #421543.
8672
8673 2007-05-21  Wim Taymans  <wim@fluendo.com>
8674
8675         * libs/gst/base/gstbasetransform.h:
8676         Fix macro for locking/unlocking the transform lock.
8677
8678 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8679
8680         * docs/plugins/tmpl/.cvsignore:
8681           Ignore more.
8682
8683 2007-05-18  Edward Hervey  <edward@fluendo.com>
8684
8685         * plugins/elements/gstqueue.c: (gst_queue_loop):
8686         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8687         for the subtle art of warning a potentially blocking thread that it
8688         should check the source pad return value, and relay the information
8689         upstream.
8690
8691 2007-05-18  Edward Hervey  <edward@fluendo.com>
8692
8693         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8694         Release the queue lock !
8695
8696 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8697
8698         * docs/libs/gstreamer-libs-sections.txt:
8699         Add the two new controller functions to the appropiate places.
8700
8701 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8702
8703         reviewed by: Stefan Kost <ensonic@users.sf.net>
8704
8705         * libs/gst/controller/gstcontroller.c:
8706         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8707         (_gst_controller_get_property), (_gst_controller_set_property),
8708         (_gst_controller_init), (_gst_controller_class_init):
8709         * libs/gst/controller/gstcontroller.h:
8710         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8711         (gst_object_get_control_rate), (gst_object_set_control_rate):
8712         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8713         Add API that provides sync suggestion timestamps for elements that
8714         call gst_object_sync_values() from which those elements can subdivide
8715         their processing loop to get the best results for the controlled
8716         properties. For now it just suggests last_sync + control_rate as
8717         new timestamp but this will be improved in the future.
8718
8719         While doing that change the control-rate property to a GstClockTime
8720         from guint and change it's meaning from samples to nanoseconds as
8721         the GstController doesn't know anything about sampling rate. Strictly
8722         speaking this breaks ABI but as the control-rate property didn't do
8723         anything in the past and as such couldn't be used this should be no
8724         problem.        
8725
8726 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8727
8728         reviewed by: Stefan Kost <ensonic@users.sf.net>
8729
8730         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8731         (gst_controller_unset_all):
8732         * libs/gst/controller/gstcontrollerprivate.h:
8733         * libs/gst/controller/gstinterpolation.c:
8734         (gst_controlled_property_find_control_point_node):
8735         Save last synced value from the list to continue searching from there
8736         in future syncs. This speeds everything up a bit.
8737         
8738 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8739
8740         reviewed by: Stefan Kost <ensonic@users.sf.net>
8741
8742         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8743         (gst_control_point_find), (gst_controlled_property_new),
8744         (gst_control_point_free), (gst_controlled_property_free),
8745         (gst_controller_set), (gst_controller_set_from_list),
8746         (gst_controller_unset), (gst_controller_unset_all),
8747         (gst_controller_sync_values):
8748         * libs/gst/controller/gstcontroller.h:
8749         * libs/gst/controller/gstcontrollerprivate.h:
8750         * libs/gst/controller/gstinterpolation.c:
8751         (gst_controlled_property_find_control_point_node),
8752         (interpolate_none_get), (interpolate_trigger_get):
8753         Add a new private GstControlPoint struct which "inherits" from
8754         GstTimedValue to allow different interpolators to store internal
8755         values next to each control point. From the outside everything is
8756         still a GstControlPoint so we don't loose binary compatibility.
8757         Also fixup all the GValue handling to not leak GValues or list nodes.
8758         * tests/check/libs/controller.c: (GST_START_TEST):
8759         Free the list nodes and GValues in the controller_misc test.
8760
8761 2007-05-17  Edward Hervey  <edward@fluendo.com>
8762
8763         * gst/gstsegment.c:
8764         Small doc fix.
8765
8766 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8767
8768         * gst/gstplugin.c: (gst_plugin_load_file):
8769           If we fail to load a plugin because of unresolved symbols or missing
8770           libraries and spew a warning to stderr, we may just as well mention
8771           which plugin it was that failed to load.
8772
8773 2007-05-13  David Schleef  <ds@schleef.org>
8774
8775         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8776           handles the case when ENABLE_GTK_DOC is false, and installs
8777           the prebuilt documentation.  So gtk-doc subdirs are 
8778           unconditionally enabled.  Fixes: #349099.
8779
8780 2007-05-13  David Schleef  <ds@schleef.org>
8781
8782         * gst/gstutils.h: Reword some documentation.
8783
8784 2007-05-12  David Schleef  <ds@schleef.org>
8785
8786         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8787           do anything with the passed "module" parameter, so remove it.
8788           Allows removal of additional vestigal code.
8789
8790 2007-05-12  David Schleef  <ds@schleef.org>
8791
8792         * gst/gstplugin.c:
8793           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8794           Switch to using g_stat() because it's more portable.
8795
8796 2007-05-12  David Schleef  <ds@schleef.org>
8797
8798         * gst/gst.c:
8799           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8800           parsing for embedded systems.
8801         * gst/gstelementfactory.c:
8802           Allow gst_element_register() to be called with plugin==NULL.
8803           Did nobody notice that static elements were broken?
8804
8805 2007-05-12  Wim Taymans  <wim@fluendo.com>
8806
8807         * tools/gst-launch.c: (event_loop):
8808         Give more interesting info when buffering starts and stops.
8809         Fix case where buffering starts but we fail to update the buffering flag
8810         because the target state is not PLAYING.
8811
8812 2007-05-12  Wim Taymans  <wim@fluendo.com>
8813
8814         * plugins/elements/gstqueue.c: (gst_queue_init),
8815         (gst_queue_finalize), (update_time_level), (apply_segment),
8816         (apply_buffer), (gst_queue_locked_flush),
8817         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8818         (gst_queue_handle_sink_event), (gst_queue_chain),
8819         (gst_queue_push_one), (gst_queue_loop):
8820         * plugins/elements/gstqueue.h:
8821         Refactor an cleanup queue a bit.
8822         Do better time level calculations that also work when the srcpad is not
8823         yet running.
8824         Remove some unneeded debug lines.
8825
8826         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8827         Added testcase for time level measurement.
8828         Try to make some stuff more racefree.
8829
8830 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8831
8832         * gst/gsturi.c: (gst_element_make_from_uri):
8833           Don't leak plugin feature.
8834
8835         * tests/check/Makefile.am:
8836         * tests/check/gst/.cvsignore:
8837         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8838           Add brain-dead unit test.
8839
8840 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8841
8842         Patch by: Jeroen Wouters <woutersj at gmail com>
8843
8844         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8845           Treat protocol strings in a case-insensitive way (#437563).
8846
8847 2007-05-11  Michael Smith <msmith@fluendo.com>
8848
8849         * gst/gstplugin.c: (gst_plugin_load_file):
8850         * gst/gstregistry.c: (gst_registry_scan_path_level):
8851           Don't print a g_warning for any failure to load a shared object.
8852           Instead, push this down into gstplugin.c, and warn _only_ if we
8853           failed to open the module (i.e. failure to link).
8854           Avoids warnings on normal, working, non-plugin .so files.
8855
8856 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8857
8858         * gst/gstplugin.c (gst_plugin_load_file):
8859         * gst/gstregistry.c (GST_CAT_DEFAULT,
8860           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8861           Print a g_warning if there was an error when loading a plugins during
8862           registry scan. The shuld help beginners starting with gst-plugin
8863           template.
8864
8865 2007-05-10  Wim Taymans  <wim@fluendo.com>
8866
8867         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8868         (update_time_level), (gst_queue_locked_flush),
8869         (gst_queue_handle_sink_event), (gst_queue_chain),
8870         (gst_queue_push_one), (gst_queue_loop):
8871         * plugins/elements/gstqueue.h:
8872         Be smarter when calculating the current amount of data in the queue by
8873         measuring the difference between start and end timestamps (in running
8874         time) inside the queue. Fixes #432876.
8875         API: GstQueue::pushing to notify elements that we are pushing data again
8876         since the running signal is rather broken for this purpose.
8877
8878 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8879
8880         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8881           gst_queue_base_init, gst_queue_init):
8882           use GST_BOILERPLATE
8883
8884 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8885
8886         * win32/common/libgstreamer.def:
8887         Add new exported functions.
8888         * win32/vs6/grammar.dsp:
8889         Use grammar pre-generated files.
8890
8891 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8892
8893         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8894
8895         * gst/Makefile.am:
8896         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8897         * gst/gstparse.h:
8898         * gst/gstutils.c: (gst_parse_bin_from_description):
8899         * gst/gstutils.h:
8900           Maintain API and ABI when --disable-parse is used. Now that
8901           we have an appropriate error code, we can just return NULL and the
8902           appropriate error when gst_parse_launch() is used despite it having
8903           been disabled (#342564).
8904
8905         * tests/check/Makefile.am:
8906         * tests/check/pipelines/.cvsignore:
8907         * tests/check/pipelines/parse-disabled.c:
8908           Make sure these functions exist and return NULL plus a GError when
8909           --disable-parse is used.
8910
8911 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8912
8913         * tests/benchmarks/complexity.c: (main):
8914         * tests/benchmarks/mass-elements.c: (main):
8915           Set a good example and don't leak messages.
8916
8917 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8918
8919         * docs/gst/Makefile.am:
8920         * docs/libs/Makefile.am:
8921           Correct fixxrefs options.
8922
8923         * docs/plugins/Makefile.am:
8924         * docs/plugins/gstreamer-plugins-docs.sgml:
8925         * docs/plugins/gstreamer-plugins-sections.txt:
8926         * plugins/elements/Makefile.am:
8927         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8928         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8929           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8930           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8931           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8932           _GstCapsFilterClass, trans_class):
8933         * plugins/elements/gstelements.c (name, rank, type, _elements):
8934         * plugins/elements/gstidentity.c
8935           (gst_identity_check_imperfect_timestamp,
8936           gst_identity_check_imperfect_offset):
8937           Document capsfilter and add doc-blurb to identity.
8938
8939 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8940
8941         * libs/gst/controller/gstcontroller.c:
8942         (gst_controlled_property_set_interpolation_mode):
8943         * libs/gst/controller/gstinterpolation.c:
8944           Don't crash if someone tries to set an interpolation mode that
8945           is invalid or that isn't supported yet. Fixes #422295.
8946
8947         * tests/check/libs/controller.c: (GST_START_TEST),
8948         (gst_controller_suite):
8949           Add a test case for the above.
8950
8951 2007-05-03  Edward Hervey  <edward@fluendo.com>
8952
8953         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8954         Properly set the last_stop position on GstSegment. This will only happen
8955         if there is a buffer to push out.
8956
8957 2007-05-03  Wim Taymans  <wim@fluendo.com>
8958
8959         * libs/gst/base/gstbasetransform.c:
8960         (gst_base_transform_buffer_alloc):
8961         always_in_place does not mean that the sink and source caps are the
8962         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8963
8964 2007-05-03  Wim Taymans  <wim@fluendo.com>
8965
8966         * docs/libs/gstreamer-libs-sections.txt:
8967         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8968         (gst_base_src_default_query), (gst_base_src_get_range):
8969         * libs/gst/base/gstbasesrc.h:
8970         API: gst_base_src_query_latency(). Added method so that subclasses can
8971         easily get the latency values of the base source class.
8972
8973 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8974
8975         * tools/gst-inspect.c (print_implementation_info):
8976         Remove 0.8 cruft.
8977
8978 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8979
8980         * tools/Makefile.am:
8981         * tools/gst-launch.1.in:
8982           Don't create a customised man page based on the host architecture,
8983           describe the default registry path generically. That way the man
8984           page is the same for all architectures and packagers have one
8985           multilib issue less to deal with. Fixes #434926.
8986
8987 2007-05-02  Wim Taymans  <wim@fluendo.com>
8988
8989         * gst/gstpad.c:
8990         Fix documentation as spotted by rg on IRC. 
8991
8992 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8993
8994         * gst/gstutils.c:
8995           Improve docs for gst_element_{link,unlink}.
8996
8997 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8998
8999         * docs/design/part-events.txt:
9000         * docs/design/part-overview.txt:
9001         * gst/gstevent.c:
9002         * gst/gsturi.c:
9003         * gst/gsturi.h:
9004         * libs/gst/base/gstbasesink.c:
9005           Typo fixes; minor docs addition.
9006
9007 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9008
9009         * docs/gst/gstreamer-sections.txt:
9010         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9011         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9012         * gst/gsturi.h:
9013         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9014         or src that supports a given URI protocol exists.
9015
9016 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9017
9018         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9019         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9020         Set the location to NULL if "file://" is set as URI. Otherwise
9021         some random previous URI would still be set if "file://" is
9022         set on an already used filesink/filesrc.
9023
9024 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9025
9026         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9027         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9028         Special case the "file://" URI as as this is used by some
9029         applications to test with gst_element_make_from_uri if there's
9030         an element that supports the URI protocol.
9031         Also move the g_path_is_absolute() check for the location part
9032         of the URI to also check this for "file://localhost/bla" URIs.
9033
9034 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9035
9036         * docs/gst/gstreamer-sections.txt:
9037         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9038         * gst/gstbuffer.h:
9039         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9040         (gst_buffer_suite):
9041           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9042
9043 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9044
9045         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9046         (gst_registry_binary_load_pad_template),
9047         (gst_registry_binary_load_plugin),
9048         (gst_registry_binary_read_cache):
9049         * gst/gstregistrybinary.h:
9050           Implement no-mmap alternative for registry reading. Do code cleanups.
9051           Add more comments about avoiding strdups for all text data. Comments
9052           welcome.
9053
9054 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9055
9056         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9057           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9058           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9059           Comment structs and reformat to fix the build (that stuff should go
9060           into a priv. header).
9061
9062 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9063
9064         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9065         (gst_registry_binary_load_feature):
9066         * gst/gstregistrybinary.h:
9067           Refactor so that we can implement multiple features. Add support for
9068           TypeFindFactory features.
9069
9070 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9071
9072         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9073
9074         * configure.ac:
9075           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9076
9077 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9078
9079         * gst/gstbin.c: (gst_bin_element_set_state),
9080         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9081         (bin_handle_async_done), (gst_bin_handle_message_func):
9082           Fix build with --gst-disable-gst-debug
9083
9084 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9085
9086         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9087           Make sure streaming has finished before calling the ::stop() vfunc,
9088           since that vfunc might clear state which is being used in the
9089           streaming thread. This fixes a race that caused crashes in
9090           audioresample when shutting down a pipeline (#420106).
9091
9092 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9093
9094         * docs/gst/gstreamer-sections.txt:
9095           That was one byte missing.
9096
9097 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9098
9099         * configure.ac:
9100         * docs/gst/gstreamer-sections.txt:
9101         * gst/Makefile.am:
9102         * gst/gstconfig.h.in:
9103         * gst/gstobject.c: (gst_object_class_init),
9104         (gst_signal_object_class_init):
9105         * gst/gstobject.h:
9106           2nd attempt to have a xml-less build as a joined effort of #413123
9107           and #421480.
9108
9109 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9110
9111         * docs/design/draft-tagreading.txt:
9112           Added open issues/thoughts to draft.
9113
9114 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9115
9116         * gst/parse/grammar.tab.pre.c:
9117         * gst/parse/grammar.tab.pre.h:
9118         * gst/parse/lex._gst_parse_yy.pre.c:
9119         Update the prebuild parser sources.
9120
9121 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9122
9123         * gst/parse/Makefile.am:
9124         And now fix the building of the flex sources. Now everything should
9125         work as expected.
9126
9127 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9128
9129         * gst/parse/Makefile.am:
9130         Now hopefully fix the build failures by setting proper rule
9131         dependencies and moving instead of copying.
9132
9133 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9134
9135         * tests/benchmarks/complexity.gnuplot:
9136         * tests/benchmarks/complexity.scm:
9137         * tests/benchmarks/mass-elements.gnuplot:
9138         * tests/benchmarks/mass-elements.scm:
9139           Total licensification.
9140
9141 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9142
9143         * gst/parse/Makefile.am:
9144           Fix the build by correcting the rule that gave wrong files to flex.
9145
9146 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9147
9148         * tests/benchmarks/complexity.c:
9149         * tests/benchmarks/mass-elements.c:
9150           Change licence to LGPL as granted by Benjamin and Andy.
9151
9152 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9153
9154         * gst/parse/Makefile.am:
9155         Add correct grammar.tab.h dependency if compiling without new enough
9156         flex. Fixes #431150.
9157
9158 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9159
9160         * gst/parse/Makefile.am:
9161         Fix typo and use outdated sources if the flex/bison sources are newer
9162         than the pregenerated ones but flex is too old. Print a warning in
9163         that case. This should fix the build on the build bot.
9164
9165 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9166
9167         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9168         * gst/parse/Makefile.am:
9169         * gst/parse/grammar.y:
9170         * gst/parse/parse.l:
9171         Make the parser reentrant and recursively callable. This requires flex
9172         >= 2.5.31, for older versions pregenerated sources are used as we
9173         can't bump the build dependency. Finally fixes #349180.
9174
9175         * gst/gstparse.c: (gst_parse_launch):
9176         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9177         now anyway.
9178
9179         * docs/gst/Makefile.am:
9180         * docs/gst/Makefile.am:
9181         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9182         (__gst_parse_strfree), (__gst_parse_link_new),
9183         (__gst_parse_link_free), (__gst_parse_chain_new),
9184         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9185         (gst_parse_element_set), (gst_parse_free_link),
9186         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9187         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9188         (_gst_parse_launch):
9189         * gst/parse/grammar.tab.pre.h:
9190         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9191         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9192         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9193         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9194         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9195         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9196         (_gst_parse_yypop_buffer_state),
9197         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9198         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9199         (yy_fatal_error), (_gst_parse_yyget_extra),
9200         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9201         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9202         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9203         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9204         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9205         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9206         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9207         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9208         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9209         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9210         (_gst_parse_yyfree):
9211         If the installed flex version is too old use pre-generated parser
9212         sources. These pre-generated parser sources are always updated when
9213         the actual flex/bison sources change but require everybody who wants
9214         to change something in the parser to have flex >= 2.5.31 installed.
9215
9216 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9217
9218         * common/m4/gst-gettext.m4:
9219         * gst/gst-i18n-lib.h:
9220           Make --disable-nls to work
9221
9222 2007-04-17  Wim Taymans  <wim@fluendo.com>
9223
9224         * gst/gstconfig.h.in:
9225         Revert previous change that broke the build.
9226
9227 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9228
9229         * configure.ac:
9230         * gst/Makefile.am:
9231         * gst/gstconfig.h.in:
9232           Drop libxml2 dependency when building with 
9233           --enable-binary-registry --disable-loadsave
9234
9235 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9236
9237         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9238         (gst_registry_binary_read_cache):
9239         * gst/gstregistrybinary.h:
9240           Remove unnecessary <sys/mman.h> include which broke the win32 build
9241           with MingW; move includes from header file to .c file, even if the
9242           header file isn't installed; use g_strerror() where UTF-8 strings
9243           are expected, such as in GST_DEBUG messages.
9244
9245 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9246
9247         * docs/libs/gstreamer-libs-sections.txt:
9248         Remove bogus addition for API I didn't end up keeping.
9249
9250         * libs/gst/base/gstbasesrc.h:
9251         Mention Since: 0.10.13 in the documentation.
9252
9253         Add the API keyword to the previous ChangeLog entry.
9254
9255 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9256
9257         * docs/libs/gstreamer-libs-sections.txt:
9258         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9259         (gst_base_src_default_prepare_seek_segment),
9260         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9261         * libs/gst/base/gstbasesrc.h:
9262         Allow basesrc derived classes to execute seeks in other formats
9263         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9264         to prepare the GstSegment in any format that their perform_seek method
9265         will be able to understand. The default implementation provides the
9266         old behaviour of attempting to convert the seek offsets to the 
9267         configured native format.
9268
9269         API: basesrc::prepare_seek_segment vmethod.
9270
9271 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9272
9273         * gst/gstelement.c: (gst_element_get_state_func):
9274         Don't output the same debug statement twice.
9275
9276         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9277         (gst_adapter_peek), (gst_adapter_take_buffer):
9278         Optimise the case where we have buffers at the head of the queue that
9279         can be joined quickly (because they're contiguous sub-buffers) by
9280         merging them together rather than copying data out into new memory.
9281
9282         * gst/parse/grammar.y:
9283         * tests/check/pipelines/parse-launch.c:
9284         Fix a leak in an error path for parse_launch, and add a check 
9285         for it to the testsuite.
9286
9287 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9288
9289         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9290           Don't deadlock when releasing a pad - gst_pad_set_active may try
9291           and take the multiqueue lock too.
9292
9293 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9294
9295         * gst/gsterror.c: (_gst_core_errors_init):
9296         * gst/gsterror.h:
9297           API: add GST_CORE_ERROR_DISABLED (#392804).
9298
9299 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9300
9301         * docs/faq/gst-uninstalled:
9302           don't get empty paths on the PATH variables
9303         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9304           Don't format for the uncommon terminal width of 84 characters.
9305
9306 2007-04-06  Wim Taymans  <wim@fluendo.com>
9307
9308         * gst/gstpipeline.c: (reset_stream_time),
9309         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9310         Only try to select a different pipeline clock when we went back to
9311         PAUSED and not when we merely got flushed.
9312
9313 2007-04-05  Michael Smith  <msmith@fluendo.com>
9314
9315         * tools/gst-launch.1.in:
9316           fractions are better supported in gstreamer than ractions, so
9317           suggest using those.
9318
9319 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9320
9321         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9322
9323         * po/LINGUAS:
9324         * po/da.po:
9325           Added Danish translation.
9326
9327 2007-04-05  Wim Taymans  <wim@fluendo.com>
9328
9329         * libs/gst/base/gstbasesink.c:
9330         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9331         Fix leak caused when refusing newsegment after EOS.
9332
9333         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9334         (gst_fake_sink_init), (gst_fake_sink_set_property),
9335         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9336         (gst_fake_sink_render), (gst_fake_sink_change_state):
9337         * plugins/elements/gstfakesink.h:
9338         Add num-buffers property to make the element generate EOS after a
9339         configurable amount of buffers.
9340         API: fakesink::num-buffers property.
9341
9342         * tests/check/elements/fakesink.c: (GST_START_TEST),
9343         (fakesink_suite):
9344         Fix GstBus leak in test.
9345         Test for fakesink num-buffers.
9346
9347 2007-04-05  Wim Taymans  <wim@fluendo.com>
9348
9349         * libs/gst/base/gstbasesink.c:
9350         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9351         (gst_base_sink_change_state):
9352         Don't accept anything after an EOS, return UNEXPECTED instead.
9353
9354         * tests/check/elements/fakesink.c: (GST_START_TEST),
9355         (fakesink_suite):
9356         Unit test for new EOS behaviour.
9357
9358 2007-04-05  Wim Taymans  <wim@fluendo.com>
9359
9360         * gst/gstelement.c: (gst_element_get_request_pad):
9361         Make padtemplates also work when they don't contain %s or %d.
9362
9363 2007-04-05  Wim Taymans  <wim@fluendo.com>
9364
9365         * docs/gst/gstreamer-sections.txt:
9366         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9367         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9368         * gst/gstclock.h:
9369         Improve _adjust_unlocked() so that it overflows less.
9370         Add gst_clock_unadjust_unlocked to convert from external time to
9371         internal time based on calibration.
9372         Add some more debug.
9373         API: GstClock::gst_clock_unadjust_unlocked()
9374
9375 2007-04-03  Wim Taymans  <wim@fluendo.com>
9376
9377         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9378
9379         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9380         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9381         when releasing sink pad. Fixes #425400.
9382
9383 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9384
9385         * docs/random/ensonic/dynlink.txt:
9386           More work on proposal for new core api.
9387
9388         * docs/libs/gstreamer-libs-sections.txt:
9389         * libs/gst/base/gstbasetransform.h:
9390           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9391           
9392         * libs/gst/controller/gstcontroller.c:
9393         (on_object_controlled_property_changed),
9394         (gst_controller_sync_values),
9395         (gst_controller_set_interpolation_mode):
9396         * libs/gst/controller/gstcontroller.h:
9397           Less verbose logging add docs for unimplemented parts and correctly
9398           return when using unavailable parts.
9399
9400 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9401
9402         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9403         Move all the debug to the CLOCK category, and associate it with
9404         the clock object.
9405
9406 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9407
9408         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9409         Make take_buffer a bit quicker by removing redundant checks
9410         caused by calling gst_adapter_take.
9411
9412 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9413
9414         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9415           Don't leak GCond.
9416
9417         * tests/check/Makefile.am:
9418         * tests/check/elements/.cvsignore:
9419         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9420         (GST_START_TEST), (multiqueue_suite):
9421           Add some dead simple unit tests for the 'multiqueue' element
9422           (some bits don't work yet and are disabled for now).
9423
9424 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9425
9426         * gst/gstelement.c: (gst_element_get_request_pad),
9427         (gst_element_class_get_request_pad_template):
9428           Make gst_element_get_request_pad() create request pads only for
9429           request pad templates and not for, say, sometimes pad templates.
9430
9431 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9432
9433         * docs/design/draft-klass.txt:
9434           Add example that needs more thinking.
9435         
9436         * docs/design/draft-missing-plugins.txt:
9437           More thoughts about wrapper plugins.
9438         
9439         * docs/random/ensonic/embedded.txt:
9440         * docs/random/ensonic/profiling.txt:
9441           More design work.
9442
9443 2007-03-25  Wim Taymans  <wim@fluendo.com>
9444
9445         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9446         (gst_base_src_loop):
9447         Only push the segment events in the PLAYING state for live sources.
9448
9449 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9450
9451         * gst/gstpipeline.c: (gst_pipeline_change_state):
9452         Modify the clock distribution path in PAUSED->PLAYING so that we 
9453         never attempt to choose a new clock unless we're actually leaving
9454         the PAUSED state for the first time. This prevents choosing a
9455         different clock when the state_change gets called for a 2nd time due
9456         to some element doing an async state change.
9457
9458 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9459
9460         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9461         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9462         (gst_pad_chain_unchecked), (gst_pad_push):
9463         Revert last commit. This needs some more thoughts.
9464
9465 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9466
9467         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9468         (gst_pad_chain_unchecked), (gst_pad_push):
9469         Check in set_caps if the caps are compatible with the pad and remove
9470         two functions that are redundant now. Fixes #421543.
9471
9472 2007-03-22  Wim Taymans  <wim@fluendo.com>
9473
9474         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9475         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9476         Unref some more to make valgrind happy.
9477
9478 2007-03-22  Wim Taymans  <wim@fluendo.com>
9479
9480         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9481         (gst_system_clock_id_wait_jitter),
9482         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9483         Fix anoying regression that survived a few releases. When adding an
9484         async entry while blocking on a sync entry, the sync entry will unblock
9485         but still be busy, so it should continue to wait instead of returning
9486         _BUSY to the app.
9487         Add some comments here and there.
9488
9489         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9490         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9491         Add testcase for this.
9492
9493 2007-03-22  Wim Taymans  <wim@fluendo.com>
9494
9495         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9496         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9497         WRONG_STATE and can silently pause the task. All other cases should
9498         error out.
9499
9500 2007-03-22  Wim Taymans  <wim@fluendo.com>
9501
9502         Patch by: Ville Syrjala <syrjala at sci dot fi>
9503
9504         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9505         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9506         Improve debugging.
9507
9508 2007-03-21  Michael Smith  <msmith@fluendo.com>
9509
9510         * docs/pwg/advanced-types.xml:
9511           Fix some errors in the typefinding docs pointed out on irc.
9512
9513 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9514
9515         * libs/gst/base/gstbasesrc.c:
9516         Clarify FIXME comment in the face of having added unlock_stop()
9517
9518 2007-03-21  Wim Taymans  <wim@fluendo.com>
9519
9520         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9521         Prepare for release where we warn against possible app breakage in the
9522         case of live pipelines along with an env var to enable/disable live
9523         preroll mode (GST_COMPAT=[no-]live-preroll).
9524
9525 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9526
9527         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9528         So we should use correct constants for checking for None offset.
9529
9530 2007-03-20  Wim Taymans  <wim@fluendo.com>
9531
9532         * docs/design/part-block.txt:
9533         Mention the fact that the newly switched element should be set to at
9534         least PAUSED.
9535
9536 2007-03-20  Wim Taymans  <wim@fluendo.com>
9537
9538         * gst/gst.c:
9539         Fix compilation with registry disabled as spotted by Saur.
9540
9541 2007-03-20  Wim Taymans  <wim@fluendo.com>
9542
9543         Patch by: Olivier Crete <tester at tester dot ca>
9544
9545         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9546         Look at the pending state too when syncing the element state to the
9547         parent. Fixes #420133.
9548
9549 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9550
9551         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9552         (gst_base_sink_change_state):
9553         * libs/gst/base/gstbasesink.h:
9554         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9555         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9556         (gst_base_src_deactivate):
9557         * libs/gst/base/gstbasesrc.h:
9558         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9559         for sub-classes to correctly clear any state they set trying to
9560         unlock, such as clearing out unlock commands from a command fd.
9561         API: basesrc::unlock_stop
9562         API: basesink::unlock_stop
9563
9564         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9565         (gst_fd_sink_render), (gst_fd_sink_unlock),
9566         (gst_fd_sink_unlock_stop):
9567         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9568         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9569         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9570
9571         Implement unlock_stop in fdsrc and fdsink.
9572         Implement seeking in fdsrc when a seekable fd is passed, as in
9573         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9574
9575 2007-03-19  Wim Taymans  <wim@fluendo.com>
9576
9577         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9578
9579         * gst/gstelement.c: (gst_element_class_init):
9580         Fix pad-added and pad-removed signal signatures so that the pad type is
9581         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9582
9583 2007-03-19  Wim Taymans  <wim@fluendo.com>
9584
9585         * docs/gst/gstreamer-sections.txt:
9586         Add new element field and method.
9587
9588         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9589         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9590         (gst_bin_recalc_state), (gst_bin_get_state_func),
9591         (gst_bin_element_set_state), (gst_bin_change_state_func),
9592         (gst_bin_continue_func), (bin_bus_handler),
9593         (bin_push_state_continue), (bin_handle_async_start),
9594         (bin_handle_async_done), (gst_bin_handle_message_func):
9595         Make async state changes a bit smarter by using new ASYNC_START and
9596         ASYNC_DONE messages. This reduces the number of times we run the state
9597         recalculation thread.
9598         Don't change state of element with a pending ASYNC_START message.
9599         Deprecate STATE_DIRTY messages.
9600         
9601         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9602         (gst_element_get_state_func), (gst_element_continue_state),
9603         (gst_element_lost_state), (gst_element_set_state_func),
9604         (gst_element_change_state):
9605         * gst/gstelement.h:
9606         Keep the state that was last set by the app in a new element field.
9607         Don't allow state changes when handling an element event.
9608         Post ASYNC_START and ASYNC_DONE messages.
9609         Change lost_state so that we go to PAUSED and wait for the parent to set
9610         us to PLAYING again (so latency calculation can be performed)
9611         Export gst_element_change_state() method so that subclasses can use it.
9612         API: gst_element_change_state()
9613         API: GST_STATE_TARGET
9614
9615         * gst/gstpipeline.c: (gst_pipeline_class_init),
9616         (reset_stream_time), (gst_pipeline_change_state),
9617         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9618         Using the new ASYNC_START message we can reset the base_time when
9619         needed. This can then be used to implement base_time redistribution in
9620         flushing seeks so that we can remove the explicit seek handling.
9621         Perform latency query and configuration when going to PLAYING.
9622
9623         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9624         (gst_base_sink_query), (gst_base_sink_change_state):
9625         Post new ASYNC_START/ASYNC_DONE messages.
9626
9627         * tests/check/generic/sinks.c: (GST_START_TEST):
9628         Fix test because the bin will not set the async element to PLAYING right
9629         away.
9630
9631         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9632         Make the message check a little stronger.
9633         Handle ASYNC messages.
9634
9635         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9636         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9637         Expect ASYNC_DONE messages.
9638
9639 2007-03-19  Wim Taymans  <wim@fluendo.com>
9640
9641         * docs/gst/gstreamer-sections.txt:
9642         * gst/gstmessage.c: (gst_message_new_async_start),
9643         (gst_message_new_async_done), (gst_message_parse_info),
9644         (gst_message_parse_async_start):
9645         * gst/gstmessage.h:
9646         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9647         support.
9648
9649 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9650
9651         * tools/gst-inspect.c:
9652         (print_plugin_automatic_install_info_codecs):
9653           Now that we don't check for the 'Codec' keyword any longer in the
9654           klass, we shouldn't spew a warning if the klass isn't a decoder or
9655           encoder (since it might be a Source/Network, for example).
9656
9657 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9658
9659         * tools/gst-inspect.c:
9660         (print_plugin_automatic_install_info_codecs):
9661           Don't require decoder/demuxer/depayloader elements or
9662           encoder/muxer/paylader elements to have 'Codec' as part of their
9663           factory class string when introspecting a plugin's capabilities.
9664           draft-klass.txt mentions that it might be removed in future, and
9665           flump3dec doesn't have it as part of its class string, so chances
9666           are others might also not have it.
9667
9668 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9669
9670         * po/af.po:
9671         * po/az.po:
9672         * po/bg.po:
9673         * po/ca.po:
9674         * po/cs.po:
9675         * po/de.po:
9676         * po/en_GB.po:
9677         * po/fr.po:
9678         * po/it.po:
9679         * po/nb.po:
9680         * po/nl.po:
9681         * po/ru.po:
9682         * po/sq.po:
9683         * po/sr.po:
9684         * po/sv.po:
9685         * po/tr.po:
9686         * po/uk.po:
9687         * po/vi.po:
9688         * po/zh_CN.po:
9689         * po/zh_TW.po:
9690           Update translations from translation project
9691
9692 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9693
9694         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9695         (gst_child_proxy_set_property):
9696           Invert precondition check to be alike the ones in the mimiced gobject
9697           api.
9698
9699 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9700
9701         * docs/design/draft-tagreading.txt:
9702         * docs/random/ensonic/audiobaseclasses.txt:
9703           Do some Architect work.
9704
9705         * gst/gstobject.c: (gst_object_set_name):
9706           Add a WARNING.
9707
9708         * gst/gstpad.c:
9709           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9710
9711 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9712
9713         * gst/gstsystemclock.c: (gst_system_clock_init),
9714         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9715         Defer starting the async system clock thread until the first async
9716         wait is scheduled. Fixes #414986.
9717
9718 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9719
9720         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9721         (gst_single_queue_free):
9722           Fix small leak (free GstSingleQueue structure too, not only contents).
9723
9724 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9725
9726         * gst/gstbin.c:(gst_bin_add):
9727         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9728         * win32/common/libgstbase.def:
9729         * win32/common/libgstreamer.def:
9730         Add new exported functions.
9731
9732 2007-03-09  Wim Taymans  <wim@fluendo.com>
9733
9734         * docs/plugins/gstreamer-plugins-sections.txt:
9735         Fix GstTee docs.
9736
9737 2007-03-09  Wim Taymans  <wim@fluendo.com>
9738
9739         * docs/gst/gstreamer-sections.txt:
9740         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9741         * gst/gstbuffer.h:
9742         Add metadata copy functions. Fixes #393099.
9743         API: gst_buffer_copy_metadata()
9744
9745         * gst/gstutils.c: (gst_buffer_stamp):
9746         * libs/gst/base/gstbasetransform.c:
9747         (gst_base_transform_prepare_output_buffer):
9748         Use new metadata copy functions.
9749
9750 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9751
9752         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9753         (gst_identity_init), (gst_identity_check_perfect),
9754         (gst_identity_check_imperfect_timestamp),
9755         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9756         (gst_identity_set_property), (gst_identity_get_property):
9757         * plugins/elements/gstidentity.h:
9758         Separate out check-imperfect-timestamp and check-imperfect-offset.
9759         Put back check-perfect as it was to keep compatibility.
9760
9761 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9762
9763         * gst/gstelement.c: (gst_element_dispose):
9764         There's no need to warn if VOID_PENDING is not NONE here, as
9765         long as the state is NULL it's ok, and that's checked immediately
9766         above.
9767
9768 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9769
9770         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9771         Fix check for perfect stream to ignore buffers with -1 
9772         offsets/offset ends when checking data contiguity.
9773
9774 2007-03-08  Wim Taymans  <wim@fluendo.com>
9775
9776         * tools/gst-launch.c: (event_loop):
9777         Print INFO messages.
9778
9779 2007-03-08  Wim Taymans  <wim@fluendo.com>
9780
9781         * libs/gst/base/gstbasetransform.c:
9782         (gst_base_transform_sink_eventfunc),
9783         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9784         (gst_base_transform_activate):
9785         * libs/gst/base/gstbasetransform.h:
9786         Add support for dropping buffers with custom GstFlowReturn.
9787         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9788         buffers or dropped buffers.
9789
9790         * docs/libs/gstreamer-libs-sections.txt:
9791         docs for new custom return code.
9792
9793         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9794         Use drop support in base class to implement drop-probability.
9795
9796 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9797
9798         * gst/gst.c: (load_plugin_func):
9799         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9800         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9801         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9802           Remove newlines at end of debug log strings.
9803
9804 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9805
9806         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9807         Only post bus message at max, once per buffer received.
9808
9809 2007-03-07  Wim Taymans  <wim@fluendo.com>
9810
9811         * docs/design/Makefile.am:
9812         * docs/design/part-synchronisation.txt:
9813         Add doc about synchronisation
9814
9815         * docs/design/draft-latency.txt:
9816         * docs/design/part-TODO.txt:
9817         * docs/design/part-clocks.txt:
9818         * docs/design/part-events.txt:
9819         * docs/design/part-gstbus.txt:
9820         * docs/design/part-gstpipeline.txt:
9821         * docs/design/part-live-source.txt:
9822         * docs/design/part-messages.txt:
9823         * docs/design/part-overview.txt:
9824         * docs/design/part-streams.txt:
9825         * docs/design/part-trickmodes.txt:
9826         Documentation updates.
9827
9828 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9829
9830         * gstreamer.doap:
9831         Update the doap file.
9832
9833 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9834
9835         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9836         Rename non-perfect to imperfect for Mike and for the sanctity of the
9837         language.
9838         Also make sure bus message gets emitted for data-incontiguities.
9839
9840 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9841
9842         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9843         (gst_identity_start):
9844         * plugins/elements/gstidentity.h:
9845         Emit bus message if check-perfect is true and we encounter a
9846         non-perfect stream between 2 consecutive buffers.
9847         Fixes #415394.
9848
9849 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9850
9851         * configure.ac:
9852         Back to CVS
9853
9854 === release 0.10.12 ===
9855
9856 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9857
9858         * configure.ac:
9859           releasing 0.10.12, "Inevitable Demise"
9860
9861 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9862
9863         * configure.ac:
9864          Version 0.10.11.2 (0.10.12 pre-release)
9865          Bump libtool versioning.
9866
9867 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9868
9869         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9870           Log flow-names and not numbers.
9871
9872 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9873
9874         * configure.ac:
9875           Convert to new AG_GST style.
9876
9877 2007-02-28  Wim Taymans  <wim@fluendo.com>
9878
9879         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9880         Don't unref query twice.
9881
9882 2007-02-28  Wim Taymans  <wim@fluendo.com>
9883
9884         * gst/gstvalue.c: (gst_value_transform_object_string),
9885         (_gst_value_initialize):
9886         Implement GstObject -> string transform so we print object names
9887         when serializing GValues containing GstObjects.
9888
9889 2007-02-28  Wim Taymans  <wim@fluendo.com>
9890
9891         * docs/gst/gstreamer-sections.txt:
9892         Add new stuff to docs.
9893
9894 2007-02-28  Wim Taymans  <wim@fluendo.com>
9895
9896         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9897         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9898         (gst_base_sink_change_state):
9899         Improve latency query code.
9900         Don't leak latency events.
9901
9902         * tests/check/gst/gstbin.c: (GST_START_TEST):
9903         Improve debugging.
9904
9905 2007-02-28  Wim Taymans  <wim@fluendo.com>
9906
9907         * gst/gstelement.c: (gst_element_message_full),
9908         (gst_element_get_state_func):
9909         * gst/gstelement.h:
9910         Improve docs a little. Added Since: for new macro.
9911
9912         * gst/gstobject.c: (gst_object_sink):
9913         * gst/gstpipeline.c: (gst_pipeline_change_state),
9914         (gst_pipeline_set_new_stream_time):
9915         * gst/gstpipeline.h:
9916         Improve debugging and docs.
9917
9918         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9919         Improve debugging.
9920
9921 2007-02-28  Wim Taymans  <wim@fluendo.com>
9922
9923         * gst/gstelement.c: (gst_element_message_full),
9924         (gst_element_set_locked_state), (gst_element_get_state_func),
9925         (gst_element_change_state):
9926         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9927         Documentation updates.
9928         Small code cleanups.
9929
9930         * gst/gstmessage.c: (gst_message_new_info),
9931         (gst_message_parse_info):
9932         * gst/gstmessage.h:
9933         API: gst_message_new_info()
9934         API: gst_message_parse_info()
9935         Add INFO message create and parse code.
9936
9937 2007-02-28  Wim Taymans  <wim@fluendo.com>
9938
9939         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9940         (bin_query_latency_done):
9941         Also report the live parameter of a latency query.
9942
9943 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9944
9945         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9946           Copy the current generic/states example from -base and adapt so
9947           we can use the exact same code everywhere.
9948           Check a STATES_IGNORE_ELEMENTS env var which can be used
9949           to ignore certain element factories for this test, which is
9950           what is being done in -base
9951         * tests/check/Makefile.am:
9952           Mention this environment variable.
9953
9954 2007-02-27  Wim Taymans  <wim@fluendo.com>
9955
9956         * docs/gst/gstreamer-sections.txt:
9957         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9958         (gst_bus_timed_pop), (gst_bus_pop):
9959         * gst/gstbus.h:
9960         API: gst_bus_timed_pop()
9961         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9962         message to arrive on the bus.
9963
9964         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9965         (gst_bus_suite):
9966         Two unit tests for new _timed_pop() function.
9967
9968 2007-02-23  Wim Taymans  <wim@fluendo.com>
9969
9970         * gst/gstpipeline.c: (gst_pipeline_change_state),
9971         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9972         Don't ref a NULL clock in _provide_clock_func().
9973         Don't allow an INVALID delay.
9974         Don't try to calculate base_time with an invalid start_time.
9975         Also distribute and notify a NULL clock when it was selected.
9976
9977         * tools/gst-launch.c: (event_loop):
9978         Don't crash when a NULL clock was selected in the pipeline.
9979
9980 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9981
9982         * docs/design/Makefile.am:
9983         * docs/design/draft-missing-plugins.txt:
9984         * docs/random/draft-missing-plugins.txt:
9985           Some small updates: update plugin system identifier prefix
9986           ('gstreamer.net' to 'gstreamer'), mention our new install
9987           API in libgstbaseutils rather than libgimme-codec, add
9988           reference to the online docs.
9989
9990 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9991
9992         * win32/common/config.h:
9993           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9994           use moap cl ci to only check in what is mentioned in the ChangeLog.
9995
9996 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9997
9998         * docs/gst/gstreamer-sections.txt:
9999         * gst/gstelement.h:
10000           Fix up documentation to link to the correct GstGError section.
10001           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10002
10003 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10004
10005         * tools/gst-launch.c: (event_loop):
10006           Make sure that we actually show the important message part of a
10007           warning message.
10008           No need to check if the gerror is not NULL to free; first of all
10009           g_free accepts NULL; and second the default error handler would
10010           segfault if gerror was NULL.
10011
10012 2007-02-21  Wim Taymans  <wim@fluendo.com>
10013
10014         * docs/gst/gstreamer-sections.txt:
10015         Removed docs as well.
10016
10017 2007-02-21  Wim Taymans  <wim@fluendo.com>
10018
10019         * gst/gstmessage.c: (gst_message_parse_duration):
10020         * gst/gstmessage.h:
10021         Remove new messages for release.
10022
10023 2007-02-20  Wim Taymans  <wim@fluendo.com>
10024
10025         * docs/design/part-gstghostpad.txt:
10026         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10027         (gst_ghost_pad_new_full):
10028         Make the ghostpad a parent of the internal pad again for better backward
10029         compatibility. Don't write code that relies on this however.
10030
10031         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10032         (gst_pad_link_check_hierarchy):
10033         Require that parents should be GstElements in the hierarchy check.
10034
10035 2007-02-20  Wim Taymans  <wim@fluendo.com>
10036
10037         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10038         (gst_bin_change_state_func), (bin_query_min_max_init),
10039         (bin_query_latency_fold), (bin_query_latency_done),
10040         (gst_bin_query):
10041         Improve debug info.
10042         Implement latency query.
10043
10044 2007-02-20  Wim Taymans  <wim@fluendo.com>
10045
10046         * docs/design/part-gstghostpad.txt:
10047         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10048         (gst_ghost_pad_internal_do_activate_push),
10049         (gst_ghost_pad_internal_do_activate_pull),
10050         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10051         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10052         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10053         Do not set the internal pad as a parent anymore so we can avoid
10054         hierarchy linking errors when the ghostpad has no parent yet. This also
10055         fixes failed activation because of unlinked internal pads, which in
10056         turn fixes the impossible case where you have to activate a pad before
10057         you can add it to a running element.
10058         Also fix the docs.
10059
10060         * gst/gstpad.c: (pre_activate), (post_activate),
10061         (gst_pad_set_active), (gst_pad_activate_pull),
10062         (gst_pad_activate_push), (gst_pad_check_pull_range):
10063         Add some more debug info.
10064         Mark activation mode in pre_activate so that we don't try to activate in
10065         endless loops. Fixes #385084.
10066
10067 2007-02-19  Wim Taymans  <wim@fluendo.com>
10068
10069         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10070         (gst_base_transform_check_get_range):
10071         Implement a checkgetrange function instead of relying on the default
10072         core behaviour that assumes we can operate in pull mode if we have a
10073         getrange function. First step at fixing #385084.
10074
10075 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10076
10077         * gst/gstchildproxy.h:
10078         * libs/gst/base/gstbasesink.h:
10079         * libs/gst/base/gstbasesrc.h:
10080         * libs/gst/base/gstbasetransform.h:
10081         More docs coverage and some ChangeLog surgery (add missing names)
10082
10083 2007-02-15  Wim Taymans  <wim@fluendo.com>
10084
10085         * docs/design/part-TODO.txt:
10086         * docs/design/part-activation.txt:
10087         * docs/design/part-block.txt:
10088         * docs/design/part-buffering.txt:
10089         * docs/design/part-clocks.txt:
10090         * docs/design/part-element-source.txt:
10091         * docs/design/part-events.txt:
10092         * docs/design/part-gstbin.txt:
10093         * docs/design/part-gstbus.txt:
10094         * docs/design/part-gstpipeline.txt:
10095         * docs/design/part-live-source.txt:
10096         * docs/design/part-messages.txt:
10097         * docs/design/part-overview.txt:
10098         * docs/design/part-qos.txt:
10099         * docs/design/part-query.txt:
10100         * docs/design/part-states.txt:
10101         * docs/design/part-trickmodes.txt:
10102         Some doc updates. Start renaming from stream_time to running_time where
10103         it was used wrongly.
10104
10105 2007-02-15  Wim Taymans  <wim@fluendo.com>
10106
10107         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10108         Answer LATENCY query.
10109
10110 2007-02-15  Wim Taymans  <wim@fluendo.com>
10111
10112         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10113         (GST_START_TEST):
10114         Improve debugging.
10115
10116 2007-02-15  Wim Taymans  <wim@fluendo.com>
10117
10118         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10119         (gst_pad_dispatcher):
10120         Improve debugging of default pad dispatcher and query functions.
10121
10122 2007-02-15  Wim Taymans  <wim@fluendo.com>
10123
10124         * docs/gst/gstreamer-sections.txt:
10125         Remove old unused method.
10126
10127 2007-02-13  Wim Taymans  <wim@fluendo.com>
10128
10129         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10130         Fix check
10131
10132 2007-02-13  Wim Taymans  <wim@fluendo.com>
10133
10134         * docs/design/part-seeking.txt:
10135         Some small update.
10136
10137         * gst/gstsegment.c: (gst_segment_set_seek):
10138         Revert old bogus change that should make seeking work again.
10139
10140 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10141
10142         * docs/random/ensonic/dynlink.txt:
10143         * docs/random/ensonic/interfaces.txt:
10144         * docs/random/ensonic/receipies.txt:
10145           Possible dynamic reconnection api, plus some type fixes the other two
10146           docs.
10147
10148 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10149
10150         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10151         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10152         Also check for an absolute path following file:// in the filesrc
10153         element. Remove redundant check and call g_path_is_absolute() on the
10154         unescaped location.
10155
10156 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10157
10158         * docs/design/draft-klass.txt:
10159           Add existing category analysis.
10160           
10161         * gst/gstcaps.c:
10162           Fix doc example, framerate is a fraction.
10163
10164 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10165
10166         * configure.ac:
10167         * docs/gst/Makefile.am:
10168         * docs/gst/gstreamer-sections.txt:
10169         * docs/libs/Makefile.am:
10170           Erm, forgot a bunch of --extra-dir.
10171
10172 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10173
10174         * configure.ac:
10175         * docs/gst/Makefile.am:
10176         * docs/libs/Makefile.am:
10177         * docs/plugins/Makefile.am:
10178           Add crossreferences to glib/gobject docs.
10179
10180 2007-02-12  Wim Taymans  <wim@fluendo.com>
10181
10182         * docs/design/draft-latency.txt:
10183         Small update.
10184
10185         * docs/libs/gstreamer-libs-sections.txt:
10186         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10187         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10188         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10189         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10190         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10191         (gst_base_sink_get_position), (gst_base_sink_query),
10192         (gst_base_sink_change_state):
10193         * libs/gst/base/gstbasesink.h:
10194         API: gst_base_sink_query_latency() to let subclasses query the upstream
10195         latency.
10196         API: gst_base_sink_get_latency() to let subclasses query the configured
10197         latency in the sink.
10198         Implement query and set latency.
10199         Update some docs.
10200         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10201         don't continue preroll when we are flushing. Fixes #405284.
10202
10203         * tests/check/pipelines/stress.c: (change_state_timeout),
10204         (quit_timeout), (GST_START_TEST), (stress_suite):
10205         Test for #405284.
10206
10207 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10208
10209         Patch by: René Stadler <mail at renestadler de>
10210
10211         * docs/gst/gstreamer-sections.txt:
10212         * gst/gsttaglist.c: (_gst_tag_initialize):
10213         * gst/gsttaglist.h:
10214           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10215
10216 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10217
10218         * docs/libs/Makefile.am:
10219           Fix path to core docs.
10220
10221         * gst/gstbin.c: (gst_bin_get_by_interface),
10222         (gst_bin_iterate_all_by_interface):
10223           Refix docs by also renaming 'interface' to 'iface' in implementation.
10224
10225         * docs/gst/gstreamer-sections.txt:
10226         * gst/gstcaps.c:
10227         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10228         * gst/gstchildproxy.h:
10229         * gst/gstelementfactory.c:
10230         * gst/gstpadtemplate.h:
10231         * libs/gst/controller/gstcontroller.c:
10232         (gst_controlled_property_new):
10233           Document more.
10234
10235 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10236
10237         * gst/gstbin.h:(gst_bin_get_by_interface),
10238         (gst_bin_iterate_all_by_interface):
10239         Replace interface parameter name by iface as interface is 
10240         a reserved keyword in Visual Studio for C++ projects so it removes
10241         a build error for application developpers using VS.
10242         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10243         Fix a bug on Windows in uri format check. Now the prefix checked
10244         is file:// and next we check if the path after file:// is absolute.
10245         * win32/common/libgstbase.def:
10246         * win32/common/libgstdataprotocol.def:
10247         * win32/common/libgstgstreamer.def:
10248         Add new exported functions.
10249
10250 2007-02-09  Andy Wingo  <wingo@pobox.com>
10251
10252         * tests/check/pipelines/simple-launch-lines.c
10253         (simple_launch_lines_suite, test_tee): Disable tee test until I
10254         have time to fix it :-(
10255
10256         * tests/check/Makefile.am (noinst_HEADERS): 
10257         * tests/check/libs/libsabi.c: 
10258         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10259         * tests/check/gst/gstabi.c: 
10260         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10261
10262         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10263         tests for push and pull tee behavior.
10264
10265         * plugins/elements/gsttee.h: 
10266         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10267         mark as deprecated as well as unimplemented. It was a crack idea.
10268         Add support for tee operating in pull mode, off by default.
10269
10270         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10271         normal-case logs down to LOG, raise errors to WARNING.
10272         (gst_registry_xml_read_cache): Don't log before calling a function
10273         that logs.
10274
10275         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10276         exit (registry finalize).
10277         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10278         DEBUG log when we emit signals that people don't even have the
10279         chance to connect to.
10280         (gst_registry_scan_path_level): Less logging in the normal case.
10281
10282 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10283
10284         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10285
10286         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10287         Correctly generate EOS for non-seekable files. We don't have a total
10288         length for them and would get an unexpected end of file if we only
10289         special-cased for regular files. (Fixes: #404569)
10290
10291 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10292
10293         * tests/check/elements/filesrc.c: (GST_START_TEST),
10294         (filesrc_suite):
10295         Add unit test for the GstURIHandler interface in filesrc. This also
10296         tests the newly added file://localhost/foo/bar support.
10297
10298 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10299
10300         * gst/gstelementfactory.h:
10301           The klass string is not a hierarchy. Add reference to the design doc
10302           for more information and common types.
10303
10304 2007-02-02  Wim Taymans  <wim@fluendo.com>
10305
10306         * gst/gstquery.c: (gst_query_new_latency):
10307         Remove old structure field.
10308
10309 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10310
10311         * tools/gst-launch.1.in:
10312           Give example for network streaming (#351998)
10313
10314 2007-02-02  Wim Taymans  <wim@fluendo.com>
10315
10316         * docs/gst/gstreamer-sections.txt:
10317         Add docs for new methods.
10318
10319         * gst/gstevent.c: (gst_event_new_latency),
10320         (gst_event_parse_latency):
10321         * gst/gstevent.h:
10322         Add new LATENCY event to configure latency in a pipeline.
10323         API: gst_event_new_latency
10324         API: gst_event_parse_latency
10325
10326         * gst/gstmessage.c: (gst_message_new_buffering),
10327         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10328         (gst_message_new_latency), (gst_message_parse_buffering),
10329         (gst_message_parse_lost_preroll):
10330         * gst/gstmessage.h:
10331         Added messages used in draft-latency.
10332         API: gst_message_new_lost_preroll
10333         API: gst_message_parse_lost_preroll
10334         API: gst_message_new_prerolled
10335         API: gst_message_new_latency
10336
10337         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10338         (gst_query_parse_latency):
10339         * gst/gstquery.h:
10340         Implemented new latency query as in design doc.
10341         API: gst_query_new_latency
10342         API: gst_query_set_latency
10343         API: gst_query_parse_latency
10344
10345 2007-02-02  Wim Taymans  <wim@fluendo.com>
10346
10347         * docs/design/draft-latency.txt:
10348         Slight redesign to allow for dynamic latency adjustments.
10349
10350         * docs/design/part-negotiation.txt:
10351         Fix some typos.
10352
10353 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10354
10355         reviewed by: Wim Taymans <wim@fluendo.com>
10356
10357         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10358         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10359         Allow file://localhost/foo/bar URLs and correctly fail for every other
10360         hostname that one sets. This was gnomevfssrc is linked for those if
10361         installed as it can handle it (#403172)
10362
10363 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10364
10365         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10366
10367         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10368         (unref_data), (gst_collect_pads_add_pad_full):
10369         * libs/gst/base/gstcollectpads.h:
10370         Don't put the previously added destroy notify in the GstCollectData
10371         struct as all it's padding is already used and we don't want to break
10372         ABI. Instead put in the pad's GObject data for now. This should be
10373         cleaned up for 0.11 (#402393).
10374
10375 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10376
10377         reviewed by: Wim Taymans <wim@fluendo.com>
10378
10379         * docs/libs/gstreamer-libs-sections.txt:
10380         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10381         (unref_data), (gst_collect_pads_add_pad),
10382         (gst_collect_pads_add_pad_full):
10383         * libs/gst/base/gstcollectpads.h:
10384         API: Add function to specify a destroy notification for custom
10385         GstCollectData when adding new pads in GstCollectPads (#402393).
10386
10387 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10388
10389         * po/sv.po:
10390           Update Swedish translation (#378255).
10391
10392 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10393
10394         * docs/design/draft-klass.txt:
10395           Fix the previous change, this is a list of categories and not a hierarchy.
10396
10397 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10398
10399         * docs/design/draft-klass.txt:
10400           Add info about how to get a list of used classes.
10401
10402 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10403
10404         * plugins/elements/gsttypefindelement.c:
10405         (gst_type_find_element_chain_do_typefinding),
10406         (gst_type_find_element_change_state):
10407           Don't leak found caps in chain function (no idea why that never
10408           showed up as a leak anywhere).
10409
10410 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10411
10412         * gst/gstplugin.h:
10413           Fix and expand GstPluginDesc API docs.
10414
10415 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10416
10417         * gst/gstcaps.c:
10418         * gst/gstelementfactory.c:
10419         * gst/gstpadtemplate.h:
10420           api doc fixes
10421
10422         * libs/gst/controller/gstcontroller.c:
10423         (gst_controlled_property_new):
10424         * tests/examples/controller/audio-example.c:
10425           comment fixes
10426
10427 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10428
10429         * configure.ac:
10430           comment about refining the xml deps
10431
10432         * docs/manuals.mak:
10433           comments about moving away from jade for docs
10434         
10435         * gst/gst.c:
10436           recommit the ifdefs to use the binary registry
10437         
10438         * gst/gstbin.c: (gst_bin_change_state_func):
10439           this break is obsolete
10440
10441         * gst/gstelementfactory.h:
10442           better GST_ELEMENT_DETAILS docs, add comment about translation
10443
10444         * gst/gstinfo.h:
10445           remove eol slash
10446
10447         * gst/gstobject.c: (gst_signal_object_get_type):
10448           add G_UNLIKELY as usual
10449
10450         * gst/gstpad.c: (gst_pad_event_default):
10451           add fall trhu comment
10452
10453         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10454         (gst_registry_binary_initialize_magic),
10455         (gst_registry_binary_save_string),
10456         (gst_registry_binary_save_pad_template),
10457         (gst_registry_binary_save_feature),
10458         (gst_registry_binary_save_plugin),
10459         (gst_registry_binary_write_cache),
10460         (gst_registry_binary_check_magic),
10461         (gst_registry_binary_load_pad_template),
10462         (gst_registry_binary_load_feature),
10463         (gst_registry_binary_load_plugin),
10464         (gst_registry_binary_read_cache):
10465           comment typo and formatting
10466
10467         * gst/gstutils.c: (gst_element_state_get_name),
10468         (gst_element_state_change_return_get_name):
10469           remove obsolete breaks
10470
10471         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10472           add FIXME 0.11 and remove cpp comment
10473
10474 2007-01-29  Edward Hervey  <edward@fluendo.com>
10475
10476         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10477         Fix print statement in an even more portable way.
10478
10479 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10480
10481         * docs/gst/gstreamer-sections.txt:
10482         * gst/gstutils.h:
10483           API: add GST_ROUND_DOWN_* macros (#401781).
10484
10485 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10486
10487         * docs/gst/gstreamer.types.in:
10488         * gst/gstregistry.c: (gst_registry_class_init):
10489           Document registry signals and make gtk-doc pick them up (#401381).
10490
10491 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10492
10493         * docs/pwg/building-testapp.xml:
10494           Add some audioconverts and audioresample to the pipeline, and some
10495           more comments and error handling.
10496
10497 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10498
10499         * docs/manual/manual.xml:
10500         * docs/pwg/pwg.xml:
10501           Fix typo (#400987).
10502
10503 2007-01-26  Wim Taymans  <wim@fluendo.com>
10504
10505         * gst/gstcaps.c: (gst_static_caps_get):
10506         Init caps flags too.
10507
10508 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10509
10510         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10511
10512         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10513         If not using mmap'ed files try to seek to the end instead of the
10514         start to determine whether we can seek at all. This fixes the case
10515         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10516         seeks for everything afterwards fail. Fixes #400656
10517
10518 2007-01-25  Wim Taymans  <wim@fluendo.com>
10519
10520         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10521         Add some refcount debugging.
10522         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10523         in multiple streaming threads.
10524
10525 2007-01-25  Wim Taymans  <wim@fluendo.com>
10526
10527         Patch by: David Schleef <ds at schleef dot org>
10528
10529         * docs/libs/gstreamer-libs-sections.txt:
10530         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10531         * libs/gst/base/gstadapter.h:
10532         API: gst_adapter_copy() that can reduce the amount of memcpy when
10533         getting data from the adapter. Fixes #388201.
10534
10535 2007-01-25  Edward Hervey  <edward@fluendo.com>
10536
10537         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10538         In print statements, "%x" is for guint. Fixes build on macosx.
10539
10540 2007-01-24  Edward Hervey  <edward@fluendo.com>
10541
10542         * plugins/elements/gstmultiqueue.c:
10543         (gst_multi_queue_loop):
10544         Small fix.
10545         (single_queue_overrun_cb), (single_queue_underrun_cb),
10546         (single_queue_check_full), (gst_single_queue_new):
10547         Implement single queue growth system.
10548         This uses the extra-size properties, and will grow single queues by
10549         that much if one goes full whereas there are others empty. This is
10550         called extra-mode in the code.
10551         When a single queue's levels go back below the initial max-size
10552         limits, it is no longer in extra-mode. This is to ensure we don't
10553         consume too much memory.
10554         Fixes #399875
10555
10556 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10557
10558         * gst/gst.c: (gst_init_get_option_group):
10559           Make warning about late g_thread_init() calls a bit more explicit,
10560           so that it's more obvious to application developers what they need
10561           to do if a user files a bug against their application.
10562
10563 2007-01-22  Edward Hervey  <edward@fluendo.com>
10564
10565         * plugins/elements/gstmultiqueue.c:
10566         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10567         Remove previous hack of unsetting the flushing flag for the source pad
10568         instead of activating it. Instead, fix the source pad activate function
10569         so that it no longer depends on having a parent set or not.
10570
10571 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10572
10573         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10574
10575         * docs/manual/basics-bus.xml:
10576           Fix example code, gst_element_unref() doesn't exist any longer.
10577
10578 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10579
10580         Patch by: Mark Nauwelaerts <manauw at skynet be>
10581
10582         * gst/gstpad.c:
10583           Fix two docs typoes (#399094).
10584
10585 2007-01-19  Edward Hervey  <edward@fluendo.com>
10586
10587         * docs/faq/gst-uninstalled:
10588         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10589         depending on libgstbaseutils can work in uninstalled environment.
10590
10591 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10592
10593         * gst/gsttaglist.h:
10594         * gst/gsttagsetter.c:
10595         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10596         statement for new tag.
10597
10598 2007-01-17  Edward Hervey  <edward@fluendo.com>
10599
10600         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10601         When dynamically creating single queues, activate sinkpad before adding
10602         it.
10603         We should be doing the same thing for the source pad, but we can't
10604         since it would call a method which needs the parent to be set in order
10605         to work propertly. Instead of activating the source pad, we just unset
10606         the flushing flag, which is the minimal requirement for adding a pad
10607         to an element in a state greater than READY.
10608
10609 2007-01-17  Edward Hervey  <edward@fluendo.com>
10610
10611         * docs/faq/gst-uninstalled:
10612         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10613         Mac OS X.
10614
10615 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10616
10617         * tests/check/gst/gstabi.c:
10618         * tests/check/gst/struct_hppa.h:
10619         * tests/check/libs/libsabi.c:
10620         * tests/check/libs/struct_hppa.h:
10621           Add ABI structs for HPPA (see #393796).
10622
10623 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10624
10625         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10626           Actually write ABI structs to the file specified in the GST_ABI
10627           environment variable, as the message we print claims we would.
10628
10629 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10630
10631         * tests/check/gst/gsttask.c:
10632           Fix header comment.
10633
10634 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10635
10636         * gst/gsttaglist.c: (_gst_tag_initialize):
10637           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10638           previous two entries.
10639
10640 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10641
10642         * docs/gst/gstreamer-sections.txt:
10643         * gst/gsttaglist.c: (_gst_tag_initialize):
10644         * gst/gsttaglist.h:
10645           Add tag support for beat-per-minute.
10646
10647 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10648
10649         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10650         (gst_registry_binary_initialize_magic),
10651         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10652         (gst_registry_binary_save_pad_template),
10653         (gst_registry_binary_save_feature),
10654         (gst_registry_binary_save_plugin),
10655         (gst_registry_binary_write_cache),
10656         (gst_registry_binary_check_magic),
10657         (gst_registry_binary_load_pad_template),
10658         (gst_registry_binary_load_feature),
10659         (gst_registry_binary_load_plugin),
10660         (gst_registry_binary_read_cache):
10661         * gst/gstregistrybinary.h:
10662           Use glib types, cleanup comments, impement interfaces and uri-types.
10663
10664 2007-01-13  Andy Wingo  <wingo@pobox.com>
10665
10666         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10667         getrange() to return buffers with other caps, while we fix
10668         demuxers and typefind, or otherwise change part-negotiation.txt.
10669
10670 2007-01-12  Andy Wingo  <wingo@pobox.com>
10671
10672         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10673         Factor start/stop into this private function instead of partially
10674         in activate functions and partially in the change_state function.
10675         Fixes setup before the element has changed from READY->PAUSED, as
10676         is the case in pull-mode pipelines.
10677         (gst_base_transform_sink_activate_push)
10678         (gst_base_transform_src_activate_pull): Refactor to use
10679         gst_base_transform_activate().
10680         (gst_base_transform_change_state): Removed, not needed any more.
10681
10682         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10683         Truncate before fixating.
10684         
10685         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10686         Don't set_caps() if the result of fixating is ANY, as it's not
10687         supported, and not necessary in the case of a link with no
10688         template caps on either side. Fixes tests/check/libs/basesrc in
10689         some pull-mode tests.
10690
10691         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10692         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10693         (gst_base_transform_src_activate_pull): 
10694         Track the activation mode.
10695         (gst_base_transform_setcaps): In pull mode, when activating the
10696         src pad, after activating the sink pad, activate the sink pad's
10697         peer, as discussed in part-negotiation.txt.
10698
10699         * libs/gst/base/gstbasesrc.h: 
10700         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10701         vmethod, as in basesink.
10702
10703         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10704
10705         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10706         mode, first proxy the setcaps to the peer pad.
10707         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10708         new fixate vmethod.
10709         (gst_base_sink_default_activate_pull): Rename from
10710         gst_base_sink_activate_pull.
10711         (gst_base_sink_negotiate_pull): New function, performs negotiation
10712         in pull mode before calling ::activate_pull().
10713         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10714         vmethod instead of the default implementation. I have no idea how
10715         this worked before. Negotiate before calling activate_pull.
10716
10717         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10718         sink pads in pull mode. In addition to being correct, fixes
10719         filesrc ! decodebin ! identity ! fakesink.
10720         (gst_pad_get_range, gst_pad_pull_range): Don't call
10721         gst_pad_set_caps() if the caps changes; instead error out with
10722         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10723
10724 2007-01-12  Andy Wingo  <wingo@pobox.com>
10725
10726         * docs/design/part-negotiation.txt: Update with more policy.
10727
10728 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10729
10730         * libs/gst/check/gstbufferstraw.h:
10731         * libs/gst/check/gstcheck.h:
10732           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10733           belongs.
10734
10735 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10736
10737         * tests/check/Makefile.am:
10738         * tests/check/gst/.cvsignore:
10739         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10740         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10741         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10742         (GST_START_TEST), (gst_tag_setter_suite):
10743           Add minimal unit test for beforementioned GstTagSetter bug.
10744
10745 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10746
10747         Patch by: René Stadler <mail at renestadler dot de>
10748
10749         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10750           gst_tag_list_merge() returns a new list, so it's not the best idea
10751           to ingore its return value. Effectively meant that tags could only
10752           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10753           Also add function guard to require a non-NULL taglist as input (has
10754           always been so due to gst_tag_list_copy(), just making it explicit).
10755
10756 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10757
10758         * docs/random/draft-missing-plugins.txt:
10759           Some additions: mention new API that is supposed to be used at the
10760           various stages; short blob about new gst-inspect introspection
10761           option; mention potential future problem with plugins that have
10762           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10763
10764 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10765
10766         * tools/gst-inspect.c:
10767         (print_plugin_automatic_install_info_codecs),
10768         (print_plugin_automatic_install_info_protocols),
10769         (print_plugin_automatic_install_info), (main):
10770         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10771         introspect plugin files and get machine-parsable output that corresponds
10772         to the last bit of the missing-plugin installer string (small gotcha:
10773         doesn't take into account ranks).
10774
10775 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10776
10777         * configure.ac:
10778         * docs/gst/gstreamer-sections.txt:
10779         * gst/Makefile.am:
10780         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10781         (gst_registry_lookup_locked):
10782         * gst/gstregistry.h:
10783         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10784         (gst_registry_binary_initialize_magic),
10785         (gst_registry_binary_save_string),
10786         (gst_registry_binary_save_pad_template),
10787         (gst_registry_binary_save_feature),
10788         (gst_registry_binary_save_plugin),
10789         (gst_registry_binary_write_cache),
10790         (gst_registry_binary_check_magic),
10791         (gst_registry_binary_load_pad_template),
10792         (gst_registry_binary_load_feature),
10793         (gst_registry_binary_load_plugin),
10794         (gst_registry_binary_read_cache):
10795         * gst/gstregistrybinary.h:
10796         * gst/gstregistryxml.c: (load_feature),
10797         (gst_registry_xml_read_cache):
10798           commit binary registry (disabled by default, see #359653)
10799
10800 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10801
10802         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10803           Fix 'make check' too.
10804
10805 2007-01-10  Andy Wingo  <wingo@pobox.com>
10806
10807         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10808         notes.
10809         
10810         * docs/design/part-negotiation.txt: Update with, um, one way that
10811         pull-mode negotiation might work?
10812
10813         * gst/gstpad.h: 
10814         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10815         that the pad must be a src pad; makes sense to call it the other
10816         way in pull mode, and the logic is symmetric anyway.
10817
10818 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10819
10820         * plugins/elements/gstfilesink.c:
10821           Include <stdio.h> for fseeko().
10822
10823 2007-01-10  Wim Taymans  <wim@fluendo.com>
10824
10825         * gst/gstevent.c:
10826         * gst/gstevent.h:
10827         Reserve LATENCY event.
10828
10829 2007-01-09  Wim Taymans  <wim@fluendo.com>
10830
10831         * docs/design/draft-latency.txt:
10832         Updates.
10833
10834 2007-01-09  Wim Taymans  <wim@fluendo.com>
10835
10836         * docs/design/draft-latency.txt:
10837         Updates.
10838
10839         * gst/gstelement.h:
10840         * gst/gststructure.c:
10841         * gst/gsttrace.c:
10842         Small typo fixes.
10843
10844 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10845
10846         * tests/check/.cvsignore:
10847           Ignore test-registry.xml as well.
10848
10849 2007-01-09  Wim Taymans  <wim@fluendo.com>
10850
10851         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10852         unref data at the end when we are done with the pad.
10853
10854 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10855
10856         * docs/gst/gstreamer-sections.txt:
10857         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10858         (init_post), (gst_deinit), (gst_update_registry):
10859         * gst/gst.h:
10860           API: add gst_update_registry() (#391296).
10861
10862         * tests/check/Makefile.am:
10863         * tests/check/gst/gstregistry.c:
10864         * tests/check/gst/.cvsignore:
10865           Simple unit test for the above.
10866
10867 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10868
10869         * gst/gstregistry.c: (gst_registry_scan_path_level):
10870           Plugin extension on HP-UX is .sl, add that to the list of approved
10871           plugin extensions (see #393796).
10872
10873         * tests/check/gst/gstpad.c: (GST_START_TEST):
10874           ulong => gulong. Fixes compilation with HP-UX compiler.
10875
10876         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10877           Fix compilation if valgrind headers are not available.
10878
10879 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10880
10881         * win32/common/libgstreamer.def: 
10882           Add new exported function.
10883         * win32/vs6/libgstbase.dsp: 
10884           Add gstdataqueue.c to the build.
10885         * win32/vs6/libgstcoreelements.dsp:
10886           Add gstmultiqueue.c to the build.
10887         
10888 2007-01-06  Andy Wingo  <wingo@pobox.com>
10889
10890         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10891         activate_pull(), providing for a way to specialize the process of
10892         spawning a thread to pull on the sink pad. There is a default
10893         implementation.
10894
10895         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10896         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10897         (gst_base_sink_init): Renamed pad activation functions (inserting
10898         "_pad" in their names). Refactor to use the new activate_pull
10899         vmethod, as appropriate.
10900         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10901         default activate_pull function to start a task pulling from the
10902         sink pad, as before.
10903
10904         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10905         on the pads if necessary, as in push()/chain(). Update docs.
10906         Shouldn't affect existing pull() usage as it is currently only
10907         being used on buffers without caps.
10908
10909 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10910
10911         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10912         (init_pre):
10913           Call g_thread_init() first thing in gst_init() / gst_check_init().
10914           When initialisation is done via gst_init_get_option_group() and
10915           GOption parsing, issue a warning if the GLib thread system has not
10916           been initialised yet by the time gst_init_get_option_group() is
10917           called, as it's quite likely other GLib functions such as
10918           g_option_context_new() have been called already then, and
10919           g_thread_init() must be called before any other GLib function. The
10920           application in question must be fixed in that case, since memory
10921           corruption might happen otherwise.
10922           We issue the warning because even if the GLib folks decide to work
10923           around the problem on their end in future, this is still an issue
10924           with all GLib versions >= 2.10.0, so we should warn until we depend
10925           on a GLib version we know to be safe.
10926           Update documentation as well.
10927           Closes bug #391278.
10928
10929 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10930
10931         * tools/gst-inspect.c: (main):
10932         * tools/gst-launch.c: (main):
10933         * tools/gst-typefind.c: (main):
10934         * tools/gst-xmlinspect.c: (main):
10935           Call g_thread_init() really really early, before any other GLib
10936           function (see #342564 and recent discussion on gtk-devel-list).
10937
10938 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10939
10940         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10941
10942         * gst/gst_private.h:
10943         * gst/gstconfig.h.in:
10944         * gst/gstinfo.h:
10945           On win32, all the __declspec stuff for symbol exporting is
10946           apparently only needed with MSVC, but doesn't work with MingW.
10947           Fixes compilation with MingW and #391909.
10948
10949 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10950
10951         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10952           Change some GST_ERROR_OBJECT that aren't really errors to
10953           GST_WARNING_OBJECT in order to reduce terminal spam.
10954
10955 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10956
10957         * tests/check/Makefile.am:
10958           disable test again, as there seem to be still race problems
10959
10960 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10961
10962         * tests/check/Makefile.am:
10963         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10964         (GST_START_TEST), (queue_suite):
10965           enable queue test again, add tests for the leaky behaviour
10966
10967 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10968
10969         * configure.ac:
10970         * tests/examples/Makefile.am:
10971           Compile adapter test/example only if the required headers are
10972           available (fixes #391915).
10973
10974 2007-01-01  David Schleef  <ds@schleef.org>
10975
10976         * gst/gstplugin.c:
10977           Restore the previous signal handler for SIGSEGV instead of
10978           setting to default, since we may have stolen it away from
10979           someone.  (i.e., Mono)
10980
10981 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10982
10983         * docs/random/draft-missing-plugins.txt:
10984           Some small additions and clarifications.
10985
10986 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10987
10988         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10989           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10990           since that can lead to random memory corruptions and crashes
10991           (may or may not be related to #383244, #386711, and #386711).
10992
10993 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10994
10995         * tests/check/.cvsignore:
10996         * tests/check/Makefile.am:
10997           sync .cvsignome and CLEANFILES
10998
10999 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11000
11001         * tests/check/Makefile.am:
11002           fix distcheck
11003
11004 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11005
11006         * docs/design/part-states.txt:
11007           two tiny additional comments
11008         
11009         * gst/gststructure.c:
11010           doc fixing
11011
11012         * tests/check/Makefile.am:
11013         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11014         (GST_START_TEST):
11015           disable test for now, unless it gets fixed
11016
11017 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11018
11019         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11020         (GST_START_TEST):
11021           fix race in underrun test
11022
11023 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11024
11025         * tests/check/elements/.cvsignore:
11026           ignore more
11027
11028         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11029         (GST_START_TEST):
11030           try to narrow test failure
11031
11032 2006-12-21  David Schleef  <ds@schleef.org>
11033
11034         * plugins/elements/gstfakesrc.c:
11035           Use g_random_int_range(), since it produces better random
11036           numbers in a range than almost-correct floating point code.
11037
11038 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11039
11040         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11041         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11042         (gst_check_teardown_sink_pad):
11043           do not automatically (de)activate pads
11044
11045         * tests/check/Makefile.am:
11046         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11047         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11048           add new, yet simple tests for queue
11049
11050         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11051         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11052         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11053         (GST_START_TEST):
11054         * tests/check/elements/identity.c: (cleanup_identity):
11055           consistent pad (de)activation
11056
11057 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11058
11059         Patch by: Sebastian Dröge  <slomo ubuntu com>
11060
11061         * libs/gst/base/gstcollectpads.c:
11062           Fix two doc typos (#387866).
11063
11064 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11065
11066         * docs/manual/advanced-dparams.xml:
11067           Fix typo (g_object_control_properties() doesn't exist).
11068
11069 2006-12-19  Edward Hervey  <edward@fluendo.com>
11070
11071         * gst/gstsegment.c: (gst_segment_set_seek):
11072         Fine tune the cases where the segment start/stop values are really
11073         updated.
11074         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11075         Add tests for the return values of gst_segment_set_seek().
11076
11077 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11078
11079         * gst/gst.c:
11080           Docs typo fix.
11081
11082         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11083         (gst_queue_init):
11084           Fix incorrect documentation and flesh it out a bit more.
11085           Set default values for the max properties on the GParamSpec as well,
11086           so it shows up correctly in gst-inspect.
11087
11088 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11089
11090         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11091           Correct docs of queue, add more detail and crosslink it more.
11092
11093 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11094
11095         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11096           Print additional debug info when the stream isn't perfectly
11097           timestamped; don't try to use invalid durations.
11098
11099 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11100
11101         * docs/design/Makefile.am:
11102           Dist new design docs.
11103
11104 2006-12-16  Wim Taymans  <wim@fluendo.com>
11105
11106         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11107
11108         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11109         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11110         (gst_collect_pads_stop), (gst_collect_pads_event),
11111         (gst_collect_pads_chain):
11112         * libs/gst/base/gstcollectpads.h:
11113         Add refcounting to the collectpads data so we can track when it's safe
11114         to free the data. Fixes #383382.
11115
11116 2006-12-15  Wim Taymans  <wim@fluendo.com>
11117
11118         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11119         (gst_collect_pads_remove_pad):
11120         Automatically activate/deactivate pads when they are added to a
11121         started/stoped collectpads.
11122
11123 2006-12-15  Wim Taymans  <wim@fluendo.com>
11124
11125         * gst/gstelement.c: (gst_element_add_pad):
11126         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11127         * gst/gstpad.c: (gst_pad_init):
11128         Set pads to FLUSHING when they are created. Check, warn and fix when a
11129         demuxer adds an inactive pad to itself when running. Fixes #339326.
11130
11131 2006-12-15  Wim Taymans  <wim@fluendo.com>
11132
11133         * gst/gstelement.c: (gst_element_class_init),
11134         (gst_element_default_send_event), (gst_element_send_event),
11135         (gst_element_default_query), (gst_element_query):
11136         Expose default element send_event and query handling as vmethods that
11137         subclasses can chain up to.
11138
11139 2006-12-15  Wim Taymans  <wim@fluendo.com>
11140
11141         * gst/gstelement.c: (gst_element_set_state_func):
11142         Small documentation fixes.
11143
11144 2006-12-15  Wim Taymans  <wim@fluendo.com>
11145
11146         * docs/design/draft-latency.txt:
11147         Checked in draft for handling latency in pipelines.
11148
11149 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11150
11151         * Makefile.am:
11152         * gstreamer.doap:
11153         * gstreamer.spec.in:
11154           adding .doap file
11155
11156 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11157
11158         * gst/gst.c: (init_pre), (init_post):
11159           init_pre() and init_post() might be called via our GOptionGroup or
11160           from gst_init(), and we should skip both of them if we've already
11161           been initialised, otherwise we will init some things twice or add
11162           two default log functions.
11163
11164 2006-12-13  Edward Hervey  <edward@fluendo.com>
11165
11166         * docs/manual/basics-bus.xml:
11167         No, gst_main_loop does not exist. Its g_main_loop.
11168         Discovered by somebody who abused the copy-paste technique of coding :)
11169
11170 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11171
11172         * gst/gstghostpad.c:
11173           Log ghostpad debug stuff to the GST_PADS category as well rather
11174           than just to the default category.
11175
11176 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11177
11178         * configure.ac:
11179         * gst/gst.c: (init_pre):
11180           Add some basic system details such as OS and architecture
11181           to the debug output if possible, courtesy of uname().
11182
11183 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11184
11185         * docs/gst/running.xml:
11186           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11187           environment variables.
11188
11189 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11190
11191         * tests/check/gst/gstbin.c: (GST_START_TEST):
11192         It is acceptable to have a refcount of 2 or 3 at this point in the
11193         test, because the pipeline might be just posting its state_change
11194         message. The next line then waits for that message to appear using
11195         bus_poll, so that should be fine too.
11196
11197 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11198
11199         * gst/gst.c: (ensure_current_registry_forking):
11200         Ignore EINTR when reading from the child registry pipe.
11201         Explicitly ignore the return value from close, since it makes no
11202         difference.
11203
11204         * gst/gstminiobject.c: (gst_mini_object_ref),
11205         (gst_mini_object_unref):
11206         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11207
11208         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11209         When removing cached plugins, remove their features too, so they're
11210         not visible after they've disappeared.
11211
11212         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11213         In the unlikely case that we are linking pads with no parents, don't
11214         crash trying to get the non-existent parent bin.
11215
11216         * gst/parse/grammar.y:
11217         Output debug in the PIPELINE category
11218
11219 2005-03-08  Wim Taymans  <wim@fluendo.com>
11220
11221         Patch by: René Stadler <mail at renestadler dot de>
11222
11223         * gst/gstclock.c: (gst_clock_new_periodic_id):
11224         Reject invalid clock times for interval of periodic ids.
11225         Fixes ##383506.
11226
11227 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11228
11229         * gst/gstelementfactory.c: (gst_element_factory_create):
11230         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11231         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11232         * tools/gst-inspect.c: (print_element_info):
11233         Fix refcounting of gst_plugin_feature_load to match the docs. 
11234         Fixes: #380129
11235
11236 2006-12-07  Wim Taymans  <wim@fluendo.com>
11237
11238         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11239         (gst_base_sink_get_position):
11240         Improve debugging of events.
11241
11242 2006-12-07  Wim Taymans  <wim@fluendo.com>
11243
11244         Patch by: René Stadler <mail at renestadler dot de>
11245
11246         * gst/gstclock.c: (gst_clock_id_wait):
11247         Make period ids add the interval to the origial requested time instead
11248         of the possibly updated time which can be wrong when there are multiple
11249         waiters for the same id. Fixes #382592.
11250
11251         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11252         (gst_system_clock_id_wait_jitter_unlocked),
11253         (gst_system_clock_id_wait_jitter):
11254         Fix restart in the async notify thread when an async entry is added to
11255         the front of the list. Fixes #381492. 
11256
11257         * tests/check/gst/gstsystemclock.c: (store_callback),
11258         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11259         Added test for multiple async waits.
11260         Added test for async wait order.
11261
11262 2006-12-07  Wim Taymans  <wim@fluendo.com>
11263
11264         * gst/gstbin.c: (gst_bin_query):
11265         Add some more docs about the POSITION query.
11266
11267 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11268
11269         * configure.ac:
11270         Bump version nano - back to CVS.
11271
11272 === release 0.10.11 ===
11273
11274 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11275
11276         * configure.ac:
11277           releasing 0.10.11, "Love never runs on time"
11278
11279 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11280
11281         * win32/common/libgstbase.def:
11282         * win32/common/libgstreamer.def:
11283         * win32/vs8/libgstbase.vcproj:
11284         * win32/vs8/libgstcoreelements.vcproj:
11285         * win32/vs8/libgstreamer.vcproj:
11286         Fix compilation on win32 under VS8
11287         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11288         Partially fixes #381175
11289
11290 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11291
11292         * gst/gstvalue.c: (gst_value_compare_fraction):
11293         If someone is foolish enough to compare 2 fractions with denominator =
11294         0, return UNORDERED rather than aborting.
11295
11296 2006-11-28  Edward Hervey  <edward@fluendo.com>
11297
11298         * libs/gst/base/Makefile.am:
11299         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11300         (gst_data_queue_base_init), (gst_data_queue_class_init),
11301         (gst_data_queue_init), (gst_data_queue_new),
11302         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11303         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11304         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11305         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11306         (gst_data_queue_set_flushing), (gst_data_queue_push),
11307         (gst_data_queue_pop), (gst_data_queue_drop_head),
11308         (gst_data_queue_set_property), (gst_data_queue_get_property):
11309         * libs/gst/base/gstdataqueue.h:
11310         New GstDataQueue object for threadsafe queueing. Most useful for
11311         elements that need some queueing functionnality.
11312         * docs/libs/gstreamer-libs-docs.sgml:
11313         * docs/libs/gstreamer-libs-sections.txt:
11314         Insert documentation for GstDataQueue
11315         * plugins/elements/Makefile.am:
11316         * plugins/elements/gstelements.c:
11317         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11318         (gst_multi_queue_class_init), (gst_multi_queue_init),
11319         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11320         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11321         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11322         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11323         (gst_multi_queue_loop), (gst_multi_queue_chain),
11324         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11325         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11326         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11327         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11328         (wake_up_next_non_linked), (compute_next_non_linked),
11329         (single_queue_overrun_cb), (single_queue_underrun_cb),
11330         (single_queue_check_full), (gst_single_queue_new):
11331         * plugins/elements/gstmultiqueue.h:
11332         New multiqueue element, using GstDataQueue. Used for queuing multiple
11333         streams.
11334         Closes #344639 and #347785
11335
11336 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11337
11338         * docs/pwg/advanced-types.xml:
11339           add more missing type details
11340
11341         * tools/gst-run.c: (main):
11342           remove unused variable
11343
11344 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11345
11346         * docs/libs/Makefile.am:
11347         * docs/libs/gstreamer-libs.types:
11348           add types of base classes to enable gobject specific stuff in the docs
11349
11350         * docs/random/ensonic/embedded.txt:
11351           more ideas about isolating platform specific things
11352
11353 2006-11-20  Wim Taymans  <wim@fluendo.com>
11354
11355         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11356
11357         * libs/gst/check/gstcheck.h:
11358         Fix compilation and running against 0.9.4. Fixes #377332.
11359
11360 2006-11-20  Wim Taymans  <wim@fluendo.com>
11361
11362         * gst/gstsegment.c: (gst_segment_set_seek),
11363         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11364         (gst_segment_to_running_time):
11365         Fix boundary checking in to_running_time() and to_stream_time().
11366         Fixes #377183.
11367
11368         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11369         stream and running time can now be calculated for the complete
11370         clipped segment.
11371
11372 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11373
11374         * gst/gstpad.c: (gst_pad_push_event):
11375           Can't access event structure after giving away ownership of
11376           the event.
11377
11378 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11379
11380         * docs/random/ensonic/embedded.txt:
11381         * docs/random/ensonic/profiling.txt:
11382         * docs/random/ensonic/receipies.txt:
11383           more thinking
11384
11385 2006-11-13  Wim Taymans  <wim@fluendo.com>
11386
11387         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11388
11389         * gst/gstpad.c:
11390         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11391
11392 2006-11-13  Wim Taymans  <wim@fluendo.com>
11393
11394         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11395
11396         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11397         Store new length in segment duration so we don't keep on calling the
11398         potentially expensize get_size() call. Fixes #370865.
11399
11400 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11401
11402         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11403
11404         * win32/common/libgstreamer.def:
11405           Add two missing symbols (#366492).
11406
11407 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11408
11409         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11410         (gst_adapter_take_buffer):
11411         Fix format string to use all its arguments.
11412         Remove useless >= check on a guint
11413
11414 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11415
11416         * tests/examples/adapter/.cvsignore:
11417         Ignore build file as commanded by the build-bot
11418
11419 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11420
11421         * tests/examples/adapter/Makefile.am:
11422         * tests/examples/adapter/adapter_test.c: (run_test_take),
11423         (run_test_take_buffer), (run_tests), (main):
11424
11425         Add new files from the previous commit
11426
11427 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11428
11429         * Makefile.am:
11430         * configure.ac:
11431         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11432         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11433         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11434         * libs/gst/base/gstadapter.h:
11435         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11436         (GST_START_TEST), (gst_adapter_suite):
11437         * tests/examples/Makefile.am:
11438         Do some optimisation work in GstAdapter to avoid copies in more cases.
11439         It could still do slightly better by merging buffers when
11440         gst_buffer_is_span_fast is true, but is already faster. 
11441
11442         Also, avoid traversing a single-linked list to append each incoming 
11443         buffer inside the adapter.
11444
11445         Add simple test app that times the adapter behaviour in different
11446         situations, and extend the unit test to check that bytes enter and
11447         exit the adapter in their original order.
11448
11449 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11450
11451         * docs/random/draft-missing-plugins.txt:
11452           Update: use element message instead of adding a new message
11453           type to the core; don't provide GStreamer API to initiate the
11454           plugin download, just provide API to compose the strings needed
11455           and let an external libgimmestuff handle the rest.
11456
11457 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11458
11459         * tools/gst-inspect.c: (print_element_properties_info):
11460         Print a string instead of 'unknown type' for GValueArray properties
11461
11462 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11463
11464         * docs/random/draft-missing-plugins.txt:
11465         More small fixes.
11466
11467 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11468
11469         * tests/examples/typefind/typefind.c: (type_found), (main):
11470           Make typefind element example work again (#371894); add a
11471           license header.
11472
11473 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11474
11475         * docs/random/draft-missing-plugins.txt:
11476           Commit initial draft about how to deal with missing plugins,
11477           needs work (API too).
11478
11479 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11480
11481         * docs/pwg/advanced-types.xml:
11482           documents the new caps elements (see #363118)
11483
11484 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11485
11486         * gst/gstplugin.c: (gst_plugin_load_file):
11487         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11488         (gst_file_src_map_region), (gst_file_src_start):
11489         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11490         (gst_file_index_commit):
11491           Use g_strerror() instead of strerror() - we want UTF-8.
11492
11493 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11494
11495         Patch by: Peter Kjellerstedt <pkj at axis com>
11496
11497         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11498           Another printf fix (#371493).
11499
11500 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11501
11502         * tests/check/gst/gsttag.c:
11503           relicence (okay with author=company)
11504
11505 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11506
11507         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11508         (gst_pad_push_event):
11509           Enhance debug and improve docs
11510         
11511         * gst/gsturi.c:
11512           Fix docs
11513
11514 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11515
11516         * docs/random/ensonic/distributed.txt:
11517         * docs/random/ensonic/profiling.txt:
11518           more ideas
11519
11520 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11521
11522         * docs/gst/gstreamer-sections.txt:
11523           add new API and fix the build
11524           
11525         * gst/gstbin.c: (gst_bin_recalc_state):
11526         * gst/gstelement.c: (gst_element_message_full),
11527         (gst_element_get_state_func), (gst_element_set_state_func):
11528           use new API and improve logging
11529         
11530         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11531         * gst/gstutils.h:
11532           API: add function to get StateChangereturn names to improve logs 
11533
11534 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11535
11536         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11537           I'm considering shooting the next person to put strerror stuff
11538           in the translateable part of the message.
11539
11540 2006-11-03  Wim Taymans  <wim@fluendo.com>
11541
11542         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11543         Get the type and printf conversion specifiers right.
11544
11545 2006-11-03  Wim Taymans  <wim@fluendo.com>
11546
11547         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11548
11549         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11550         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11551         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11552         Some small cleanups. Improve debugging.
11553         * gst/gstpad.h:
11554         Signal all waiting threads with a broadcast instead of just one.
11555         Fixes #369942.
11556
11557 2006-11-03  Wim Taymans  <wim@fluendo.com>
11558
11559         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11560         (gst_fd_src_create):
11561         Add some debugging. 
11562         Only update fd when it's different from the old.
11563
11564 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11565
11566         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11567           Printf fixes for PPC/OSX, take two (#369366).
11568
11569 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11570
11571         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11572
11573         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11574         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11575         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11576           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11577           don't cast to long long for portability reasons, but use
11578           GLib's types instead.
11579
11580 2006-10-30  Michael Smith  <msmith@fluendo.com>
11581
11582         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11583           Get the arguments to lseek() the right way around.
11584           Fixes 367677.
11585
11586 2006-10-30  Wim Taymans  <wim@fluendo.com>
11587
11588         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11589
11590         * gst/gstinfo.h:
11591         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11592
11593 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11594
11595         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11596
11597         * docs/design/part-MT-refcounting.txt:
11598         * docs/random/wtay/capsnego2-docs:
11599         * gst/gstclock.c:
11600         * gst/gstxml.c:
11601           Typo fixes (#366212).
11602
11603 2006-10-28  Wim Taymans  <wim@fluendo.com>
11604
11605         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11606
11607         * gst/gst.c:
11608         * win32/common/libgstbase.def:
11609         * win32/common/libgstreamer.def:
11610         * win32/vs8/libgstbase.vcproj:
11611         * win32/vs8/libgstcontroller.vcproj:
11612         Add needed entries in .def files.
11613         Use HAVE_UNISTD_H.
11614         Rearrange def files in vs8 solutions. Fixes #366286.
11615
11616 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11617
11618         * win32/common/gstconfig.h:
11619           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11620           hand-made win32 gstconfig.h. Fixes #366321.
11621
11622 2006-10-27  Wim Taymans  <wim@fluendo.com>
11623
11624         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11625         (gst_ghost_pad_new_full):
11626         Make acceptcaps return TRUE when we don't have a target, just like
11627         setcaps does.
11628
11629 2006-10-27  Wim Taymans  <wim@fluendo.com>
11630
11631         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11632         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11633
11634 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11635
11636         * gst/gststructure.c: (gst_structure_id_set_value):
11637           If someone tries to set a non-UTF8 string field on a structure,
11638           don't just print a warning, but also ignore the request and do
11639           not change/add that field to the structure.
11640
11641         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11642           Test for the above.
11643
11644 2006-10-25  David Schleef  <ds@schleef.org>
11645
11646         * gst/gstinfo.c:
11647           g_hash_table_insert() needs a cast to a non-const pointer duh.
11648
11649 2006-10-25  David Schleef  <ds@schleef.org>
11650
11651         * gst/gstinfo.c:
11652         * gst/gstinfo.h:
11653           Change name parameter of _gst_debug_register_funcptr to const
11654           to reflect the constness of its use in the function as well
11655           as to quiet a gcc warning.
11656
11657 2006-10-25  Edward Hervey  <edward@fluendo.com>
11658
11659         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11660         Don't push the buffer if it's empty.
11661         Closes #363095
11662
11663 2006-10-24  Wim Taymans  <wim@fluendo.com>
11664
11665         * gst/gstevent.h:
11666         Add small comment.
11667
11668         * libs/gst/base/gstbasetransform.c:
11669         (gst_base_transform_sink_eventfunc):
11670         Debug segment values *after* updating them as this is more
11671         interesting.
11672
11673 2006-10-23  Wim Taymans  <wim@fluendo.com>
11674
11675         * docs/design/part-events.txt:
11676         Update some docs.
11677
11678         * docs/design/part-block.txt:
11679         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11680         (gst_pad_push_event):
11681         Revert BLOCKING patch, it tries to be smart without really having a
11682         clear idea what or how. So, now we discard all FLUSHING events again on
11683         a blocking pad. Should fix gnonlin again.
11684
11685 2006-10-23  Wim Taymans  <wim@fluendo.com>
11686
11687         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11688
11689         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11690         (gst_base_src_start), (gst_base_src_activate_push):
11691         Make sure size is always initialized. Fixes #364388.
11692
11693 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11694
11695         * docs/random/ensonic/distributed.txt:
11696           add some ideas about doing distributed processing
11697
11698         * docs/random/ensonic/profiling.txt:
11699           get_rusage look promising
11700
11701 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11702
11703         * docs/manual/basics-helloworld.xml:
11704           Add a cast in example to fix compile warning
11705
11706 2006-10-18  Wim Taymans  <wim@fluendo.com>
11707
11708         * gst/gstsegment.c: (gst_segment_set_last_stop),
11709         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11710         Relax arg checking again, -1 is allowed.
11711
11712 2006-10-18  Wim Taymans  <wim@fluendo.com>
11713
11714         * gst/gstsegment.c: (gst_segment_set_last_stop),
11715         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11716         _set_last_stop() must be with a value != -1
11717         A _TYPE_SET to -1 means seek to 0.
11718         Calc last_stop correctly for negative rates.
11719         Make sure we work with positive durations when updating a segment.
11720
11721 2006-10-18  Wim Taymans  <wim@fluendo.com>
11722
11723         * docs/design/part-live-source.txt:
11724         * gst/gstclock.h:
11725         Small docs fixes.
11726
11727 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11728
11729         * gst/gstbuffer.h:
11730           Add an explicit cast to GstBuffer** to keep old code that added an
11731           explicit cast to GstMiniObject** for gst_mini_object_replace()
11732           compiling without warning.
11733
11734 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11735
11736         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11737           check for validity of dates
11738
11739 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11740
11741         * docs/gst/gstreamer-sections.txt:
11742           Forgot this one, makes gtk-doc shut up.
11743
11744 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11745
11746         Patch by: Peter Kjellerstedt <pkj at axis com>
11747
11748         * gst/gstobject.h:
11749           Don't define xmlNodePtr to gpointer if the core was built with
11750           --disable-loadsave and --disable-registry, this will break
11751           applications that want to use libxml2 but are buildling against a
11752           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11753           instead so we don't have to mess with the libxml2 namespace
11754           (#361675).
11755
11756 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11757
11758         * gst/gstbuffer.h:
11759           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11760           type-punned pointer warnings.
11761
11762 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11763
11764         * gst/gstelement.h:
11765           Add casts to the correct return type to state <=> state transition
11766           macros.
11767
11768 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11769
11770         * docs/design/part-live-source.txt:
11771           describe howto handle latency
11772         
11773         * docs/random/ensonic/profiling.txt:
11774           more ideas
11775
11776         * tools/gst-plot-timeline.py:
11777           fix log parsing for solaris, remove unused function
11778
11779 2006-10-16  Wim Taymans  <wim@fluendo.com>
11780
11781         * docs/design/part-trickmodes.txt:
11782         * gst/gstevent.c:
11783         Update some docs regarding reverse playback.
11784
11785 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11786
11787         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11788
11789         * win32/vs8/grammar.vcproj:
11790           Error out with a warning if glib-genmarshal.exe is not in path,
11791           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11792
11793 2006-10-13  Wim Taymans  <wim@fluendo.com>
11794
11795         * gst/gstsegment.c: (gst_segment_set_seek):
11796         When seeking to stop -1, set last_stop (current position) to the
11797         duration of the segment.
11798
11799 2006-10-13  Wim Taymans  <wim@fluendo.com>
11800
11801         * gst/gstelement.h:
11802         Clarify _NO_PREROLL a bit more.
11803
11804         * gst/gstevent.c:
11805         Fix docs.
11806
11807         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11808         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11809         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11810         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11811         due to wrong locking order. Fixes #361769.
11812         Remove some redundant/misplaced checks in pad_block.
11813
11814         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11815         For negative rates, count backwards from the duration.
11816
11817 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11818
11819         * gst/gsterror.c: (_gst_library_errors_init):
11820           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11821           up with something better).
11822
11823 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11824
11825         * win32/vs6/libgstreamer.dsp:
11826         * win32/vs7/libgstreamer.vcproj:
11827         * win32/vs8/libgstreamer.vcproj:
11828           Don't reference glib-compat.c which is currently not used and not
11829           disted; add gstquark.c which was recently added. Fixes #361730.
11830
11831 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11832
11833         * win32/common/libgstbase.def:
11834         * win32/common/libgstcontroller.def:
11835         * win32/common/libgstreamer.def:
11836           Add gst_caps_merge() and a bunch of other recently-added functions.
11837           Fixes #361732.
11838
11839 2006-10-11  Wim Taymans  <wim@fluendo.com>
11840
11841         * docs/plugins/gstreamer-plugins.args:
11842         * docs/plugins/inspect/plugin-coreelements.xml:
11843         * docs/plugins/inspect/plugin-coreindexers.xml:
11844         Update element args.
11845
11846         * gst/gstsystemclock.c:
11847         Small comment update.
11848
11849         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11850         (gst_tee_request_new_pad), (gst_tee_release_pad),
11851         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11852         (gst_tee_sink_activate_pull):
11853         * plugins/elements/gsttee.h:
11854         Some tee loving:
11855         Add default property defines.
11856         Implement release pad function.
11857         Give properties better blubs etc.
11858         Activate pads before adding them to a running tee.
11859         Do simple buffer_alloc on the first requested pad.
11860         Post error when activation fails.
11861
11862 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11863
11864         * gst/gst.c: (ensure_current_registry_forking):
11865           Check return value of write() to make compiler happy.
11866
11867 2006-10-11  Wim Taymans  <wim@fluendo.com>
11868
11869         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11870
11871         * plugins/elements/gstqueue.c: (gst_queue_chain):
11872         Recheck queue filledness after signalling the overrun when we're about
11873         to leak downstream because we released the lock when emitting the signal
11874         and the queue could be empty again. Fixes #352345.
11875
11876 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11877
11878         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11879           Fix refcounting here too, just like we did for _new_valist() a few
11880           days ago (#357180) (thanks to René Stadler). Also remove all those
11881           'Since: 0.9' from the gtk-doc blobs.
11882
11883         * tests/check/libs/controller.c: (controller_refcount_new_list),
11884         (gst_controller_suite):
11885           Unit test for the above.
11886
11887 2006-10-10  Wim Taymans  <wim@fluendo.com>
11888
11889         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11890
11891         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11892         (gst_pad_save_thyself):
11893         Update some docs.
11894         Write pad direction in XML output. Fixes #345496.
11895
11896 2006-10-10  Wim Taymans  <wim@fluendo.com>
11897
11898         Patch by: René Stadler <mail at renestadler dot de>
11899
11900         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11901         (gst_controller_new_list), (_gst_controller_dispose),
11902         (_gst_controller_finalize), (_gst_controller_class_init):
11903         Take ref to controlled object so that it cannot disappear. 
11904         Fixes #357432.
11905
11906 2006-10-10  Wim Taymans  <wim@fluendo.com>
11907
11908         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11909         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11910         (gst_check_teardown_sink_pad):
11911         Activate/deactivate pads in setup/teardown respectively.
11912
11913 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11914
11915         Patch by: Josep Torra Valles <josep@fluendo.com>
11916
11917         * gst/Makefile.am:
11918         Cast values when making gstenumtypes.h.  This pacifies Forte
11919         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11920         in the enumeration.
11921
11922 2006-10-09  Wim Taymans  <wim@fluendo.com>
11923
11924         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11925         Rename some more @cur to @start to fix docs. 
11926
11927         * gst/gstsegment.c: (gst_segment_set_seek):
11928         Fix typo.
11929         time and start must always stay in sync as defined in design doc.
11930
11931         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11932         Rename param to fix docs.
11933
11934         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11935         Check that start and time are in sync.
11936
11937         * tests/check/pipelines/parse-launch.c:
11938         (gst_parse_test_element_change_state):
11939         Activate pad before adding to the element.
11940
11941 2006-10-09  Wim Taymans  <wim@fluendo.com>
11942
11943         * docs/design/part-qos.txt:
11944         Fix typo.
11945
11946         * gst/gstevent.c:
11947         * gst/gstevent.h:
11948         Update seek event docs regarding negative rates.
11949         Rename @cur to @start. 
11950
11951         * gst/gstsegment.c: (gst_segment_set_seek):
11952         * gst/gstsegment.h:
11953         Update set_seek docs regarding negative rates.
11954         Correctly update last_stop to @stop when dealing with negative
11955         rates.
11956         Rename @cur to @start. 
11957
11958         * tests/check/gst/gstpad.c: (GST_START_TEST):
11959         Activate pads before trying to use them.
11960
11961         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11962         (gst_segment_suite):
11963         Add simple check for segments and negative rates.
11964
11965 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11966
11967         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11968         * gst/gsttaglist.h:
11969         * docs/gst/gstreamer-sections.txt:
11970           API: add gst_tag_list_is_empty() (#360467).
11971
11972         * tests/check/gst/gsttag.c: (GST_START_TEST):
11973           And a test case.
11974
11975 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11976
11977         * gst/gstmessage.h:
11978         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11979         a value that doesn't fit on enumeration.
11980
11981 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11982
11983         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11984         Remove local debugging system and use Gstreamer's instead.
11985
11986 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11987
11988         Patch by: Josep Torra Valles <josep@fluendo.com>
11989
11990         * common/m4/gst-error.m4:
11991         Disable warning of statement not reached on Forte.
11992         * gst/gstmessage.h:
11993         Fix warning on Forte (value doesn't fit on enumeration).
11994         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11995         Fix warning on Forte (value doesn't fit on enumeration).
11996         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11997         DEBUG macro says it takes minimum of 2 args and so Forte
11998         complains about the use with just 1 arg.
11999         * plugins/elements/gstfdsink.c:
12000         * plugins/elements/gstfdsrc.c:
12001         * plugins/elements/gstfilesink.c:
12002         * plugins/elements/gstfilesrc.c:
12003         Use correct return type for the uri handler implementations.
12004
12005         All these fix warnings in Forte.  Fixes bug #360860.
12006
12007 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12008
12009         * gst/gstelement.h:
12010           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12011           format string, so don't use G_GNUC_PRINTF for those versions.
12012
12013 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12014
12015         * gst/gsttaglist.c: (gst_is_tag_list):
12016         * gst/gsttaglist.h:
12017           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12018
12019         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12020           Small test for the above.
12021
12022 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12023
12024         * gst/gsttaglist.h:
12025           Less tabs, more spaces.
12026
12027 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12028
12029         * gst/gstinfo.h:
12030           Those two function declarations do actually belong there, revert
12031           commit from yesterday that turned them intro macros.
12032
12033 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12034
12035         Patch by: Josep Torra Valles <josep@fluendo.com>
12036
12037         * gst/gst.c: (gst_init_get_option_group):
12038         Fix empty declaration and type mismatch.
12039         * gst/gstbin.c: (gst_bin_change_state_func):
12040         Fix type mismatch.
12041         * gst/gstelement.c: (gst_element_continue_state),
12042         (gst_element_set_state_func), (gst_element_change_state),
12043         (gst_element_change_state_func):
12044         Fix type mismatches.
12045         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12046         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12047         Cast as appropriate.
12048         * gst/gstobject.c: (gst_class_signal_connect):
12049         Cast as appropriate.  The function pointer parameter really
12050         has the wrong type but would break API if we change it.
12051         * gst/gstquery.c:
12052         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12053         order of including string.h.
12054         * gst/gstutils.c: (gst_element_state_get_name):
12055         Remove unreachable line.
12056         * gst/gstxml.c: (gst_xml_parse_doc):
12057         Fix type mismatch.
12058         All these caught by Forte.
12059
12060 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12061
12062         Patch by: Josep Torra Valles <josep@fluendo.com>
12063
12064         * common/m4/gst-error.m4:
12065         Fixed bug #360151.
12066         We need to disable warnings on Forte for empty declarations
12067         due to gst-indent adding ;s to lines that just use macros
12068         where the macro actually doesn't need a ; at end to end
12069         statement.
12070
12071 2006-10-06  Wim Taymans  <wim@fluendo.com>
12072
12073         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12074         (gst_file_sink_close_file), (gst_file_sink_event),
12075         (gst_file_sink_render):
12076         Add some FIXME for the NEWSEGMENT handling.
12077
12078 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12079
12080         * gst/parse/grammar.y:
12081         Remove static function gst_parse_element_lock as all it does
12082         is return.  Looks like cruft from 0.8.
12083
12084 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12085
12086         Patch by: Josep Torra Valles <josep@fluendo.com>
12087
12088         * common/m4/gst-error.m4:
12089         * configure.ac:
12090         * libs/gst/net/Makefile.am:
12091         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12092         libresolv.
12093
12094 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12095
12096         * gst/gstpad.c: (pre_activate):
12097         * gst/gstregistry.c: (gst_registry_scan_path_level):
12098         * gst/gstregistryxml.c: (load_plugin):
12099         * libs/gst/controller/gstcontroller.c:
12100         (gst_controlled_property_set_interpolation_mode):
12101         * libs/gst/dataprotocol/dataprotocol.c:
12102         (gst_dp_packet_from_event_1_0):
12103         * libs/gst/net/gstnetclientclock.c:
12104         (gst_net_client_clock_observe_times):
12105         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12106           Printf fixes.
12107
12108 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12109
12110         * configure.ac:
12111         * docs/gst/gstreamer-sections.txt:
12112         * gst/gstconfig.h.in:
12113         * gst/gstelement.h:
12114         * gst/gstinfo.h:
12115           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12116           whether we can use G_GNUC_PRINTF in other header files and at
12117           least check the printf format/arguments of debug messages and
12118           GST_ELEMENT_ERROR messages when the printf extension is not
12119           being used.
12120           Replace more tabs with spaces in gstinfo.h and remove two spurious
12121           function declarations in GST_DISABLE_DEBUG part with macros.
12122
12123 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12124
12125         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12126           More docs for the sync-message signal (mention that it is not
12127           emitted by default); log message structures of messages posted on
12128           the bus as well.
12129
12130 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12131
12132         * gst/gst.c: (ensure_current_registry_forking):
12133         Use a pipe pair to receive status results from the forked child, and
12134         ignore the result from waitpid. Fixes #355499
12135
12136 2006-10-02  Wim Taymans  <wim@fluendo.com>
12137
12138         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12139         (gst_ghost_pad_suite):
12140         Fix leak in check.
12141
12142 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12143
12144         * gst/gstpad.c:
12145           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12146
12147 2006-10-02  Edward Hervey  <edward@fluendo.com>
12148
12149         * docs/design/part-block.txt:
12150         Further explain the use of flushing on blocked pads.
12151         * docs/gst/gstreamer-sections.txt:
12152         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12153         (gst_pad_push_event):
12154         * gst/gstpad.h:
12155         Added new GstPadFlag : GST_PAD_BLOCKING.
12156         Adds the notion of pads really blocking, which enables to properly
12157         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12158         Fixes #358999
12159         API: gst_pad_is_blocking()
12160         API: GST_PAD_IS_BLOCKING() macro
12161         API: GST_PAD_BLOCKING GstPadFlag
12162         
12163 2006-10-02  Wim Taymans  <wim@fluendo.com>
12164
12165         Patch by: mrcgran <mrc.gran at gmail dot com>
12166
12167         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12168         Filter the proxied caps against the padtemplate if we have one.
12169
12170         * gst/gstquery.c: (gst_query_new_segment):
12171         Add include for gstinfo.h so that compilation with
12172         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12173
12174 2006-10-02  Wim Taymans  <wim@fluendo.com>
12175
12176         Patch by: Alessandro Decina  <alessandro at nnva org>
12177
12178         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12179         (gst_file_sink_set_location), (gst_file_sink_open_file),
12180         (gst_file_sink_close_file), (gst_file_sink_event),
12181         (gst_file_sink_render):
12182         Set file to NULL when closing filesink so that we can set a new filename
12183         in READY. Fixes #358613.
12184
12185 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12186
12187         Patch by: Alessandro Decina  <alessandro at nnva org>
12188
12189         * gst/gstevent.c: (_gst_event_copy):
12190           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12191           with event structures by setting the parent refcount address of the
12192           copied structure to the address of the refcount member of the newly
12193           copied event rather than the address of the refcount member of the
12194           original event. Fixes #358737.
12195
12196         * tests/check/gst/gstevent.c: (GST_START_TEST):
12197           Unit test for the above.
12198
12199 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12200
12201         * docs/design/Makefile.am:
12202           Dist some more files.
12203
12204 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12205
12206         * tests/check/libs/controller.c: (GST_START_TEST),
12207         (gst_controller_suite):
12208           Add test for the previous fix; add some more tests
12209           for correct refcounting behaviour; fix a few leaks
12210           in test cases; call gst_controller_init() at start
12211           of all tests.
12212
12213 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12214
12215         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12216         (gst_controller_set_from_list):
12217           Don't g_return_val_if_fail() on timed values with invalid timestamps
12218           inside a critical section without unlocking the mutex. Spotted by
12219           René Stadler. (#357617)
12220           Also, fix up refcounting properly: when returning an existing
12221           controller, we should increase the reference only once and not
12222           once per property and when trying to control a property again
12223           we should also increase the refcount.
12224
12225 2006-09-29  Wim Taymans  <wim@fluendo.com>
12226
12227         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12228         * libs/gst/net/gstnettimeprovider.c:
12229         (gst_net_time_provider_thread):
12230         Stop reading commands when EOF as well.
12231
12232         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12233         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12234         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12235         Unify description of the dump property.
12236
12237 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12238
12239         * tests/examples/manual/.cvsignore:
12240         OK, so it's actually cvsignore that needs changing. Stop laughing.
12241
12242 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12243
12244         * tests/examples/manual/Makefile.am:
12245         Gah, declare vars *before* using them
12246
12247 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12248
12249         * gst/gst.c: (init_pre), (scan_and_update_registry),
12250         (ensure_current_registry_nonforking),
12251         (ensure_current_registry_forking), (ensure_current_registry),
12252         (init_post), (gst_debug_help), (gst_deinit):
12253         * gst/gst_private.h:
12254         * gst/gstregistry.c: (gst_registry_finalize),
12255         (gst_registry_remove_features_for_plugin_unlocked),
12256         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12257         (gst_registry_scan_path),
12258         (_priv_gst_registry_remove_cache_plugins),
12259         (_priv_gst_registry_cleanup):
12260         * gst/gstregistry.h:
12261         Re-commit the registry changes, along with an extra fix:
12262           When a cached plugin is encountered at a different file path,
12263           update the stored path in the registry cache so that the parent
12264           process knows where it actually is now when it re-reads the registry
12265           cache. Fixes the thing that broke distcheck with the previous commit.
12266
12267         * tests/check/Makefile.am:
12268         Clean up files named 'core' too when running make clean.
12269
12270         * tests/examples/manual/Makefile.am:
12271         Set up a registry path for running these tests, and clean it properly
12272         for distcheck.
12273
12274 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12275
12276         * configure.ac:
12277         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12278         want gmodule-no-export-2.0.pc instead so that we don't drag in
12279         --export-dynamic on every project that links to GStreamer.
12280
12281         Also, make our export regex only match the start of symbols, rather 
12282         than any symbol that contains '_gst' somewhere.
12283
12284         * libs/gst/check/Makefile.am:
12285         The libgstcheck we build does however need export-dynamic, as it
12286         produces some symbols that don't match our _gst... style regex.
12287         Fixes: #318031
12288
12289 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12290
12291         * gst/gst.c: (init_pre), (scan_and_update_registry),
12292         (ensure_current_registry_nonforking),
12293         (ensure_current_registry_forking), (ensure_current_registry),
12294         (init_post), (gst_debug_help), (gst_deinit):
12295         * gst/gst_private.h:
12296         * gst/gstregistry.c: (gst_registry_finalize),
12297         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12298         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12299         (_gst_registry_cleanup):
12300         * gst/gstregistry.h:
12301           Revert previous change until I figure out why it breaks distcheck.
12302
12303 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12304
12305         * gst/gst.c: (init_pre), (scan_and_update_registry),
12306         (ensure_current_registry_nonforking),
12307         (ensure_current_registry_forking), (ensure_current_registry),
12308         (init_post), (gst_debug_help), (gst_deinit):
12309
12310           Make init_pre and init_post take the full complement of GOptionFunc
12311           args so they can return useful GErrors. Make the registry updating
12312           functions do so.
12313
12314           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12315           ensure that the registry we're about to write out doesn't contain
12316           stale information about old-deleted plugin files.
12317
12318           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12319           that deletion of plugin files is considered a registry change.
12320
12321         * gst/gst_private.h:
12322         * gst/gstregistry.c: (gst_registry_finalize),
12323         (gst_registry_remove_features_for_plugin_unlocked),
12324         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12325         (gst_registry_scan_path),
12326         (_priv_gst_registry_remove_cache_plugins),
12327         (_priv_gst_registry_cleanup):
12328         * gst/gstregistry.h:
12329         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12330         by adding _priv prefix, so that they won't appear in the global
12331         symbol table. They still do atm though because of #318031. Move the
12332         prototypes to gst_private.h
12333
12334         When removing a plugin, remove all features for that plugin too. 
12335         Fixes #340878.
12336
12337 2006-09-27  Wim Taymans  <wim@fluendo.com>
12338
12339         * docs/random/moving-plugins:
12340         Make it clear that the "compiled-in descriptions" really mean
12341         the element details.
12342
12343         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12344         (gst_base_sink_wait_preroll):
12345         Update docs.
12346
12347         * docs/libs/gstreamer-libs-sections.txt:
12348         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12349         (gst_base_src_get_range), (gst_base_src_activate_push):
12350         * libs/gst/base/gstbasesrc.h:
12351         Added function to block while waiting for PLAYING, this function
12352         is used by live sources that block on the clock.
12353         API: gst_base_src_wait_playing()
12354
12355 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12356
12357         Patch by: Peter Kjellerstedt <pkj at axis com>
12358
12359         * Makefile.am:
12360           gst-element-check.m4 is generated and should therefore be
12361           copied from the build dir rather than the source dir (#357593).
12362           'make distcheck' hasn't noticed this because we were disting
12363           the file as well, so stop doing that.
12364
12365 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12366
12367         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12368           Add some tests for gst_caps_intersect().
12369
12370         * tools/gst-launch.c: (event_loop):
12371           Print all buffering percentages we get, even the 100% one.
12372
12373 2006-09-26  Wim Taymans  <wim@fluendo.com>
12374
12375         * tools/gst-inspect.c: (print_element_properties_info),
12376         (print_signal_info):
12377         Fix printing of flags to match the look of enums.
12378
12379 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12380
12381         * gst/gstelementfactory.c:
12382           Fix typo in docs blurb.
12383
12384 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12385
12386         * gst/gsturi.c: (search_by_entry):
12387           Don't assert/crash here if a uri handler doesn't return any
12388           supported protocols. The list of protocols could be generated
12389           dynamically at runtime or at plugin registration, and an error
12390           in the underlying library shouldn't be fatal (#353301).
12391
12392 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12393
12394         * gst/gstinfo.c:
12395           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12396           (spotted by Peter Kjellerstedt).
12397
12398 2006-09-23  Wim Taymans  <wim@fluendo.com>
12399
12400         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12401
12402         * libs/gst/base/gstbasesrc.c:
12403         (gst_base_src_default_check_get_range), (gst_base_src_start),
12404         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12405         (gst_base_src_change_state):
12406         Match _start/_stop calls in the activate functions. Remove redundant
12407         _stop call from the state change function. Fixes #356910.
12408         Turn failure DEBUG into ERROR. 
12409
12410 2006-09-22  Wim Taymans  <wim@fluendo.com>
12411
12412         * docs/design/part-buffering.txt:
12413         * gst/gstmessage.c: (gst_message_new_buffering),
12414         (gst_message_parse_buffering):
12415         Update docs about buffering.
12416
12417         * docs/design/part-trickmodes.txt:
12418         Fix typo.
12419
12420 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12421
12422         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12423         (gst_controller_new_list):
12424           Ref instances when returning them again (fixes #357180)
12425
12426 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12427
12428         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12429           Don't forget to release proxy lock when there's an error.
12430
12431 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12432
12433         * gst/gstcaps.h:
12434           Add extra initialisers for Caps things, to fix some plugin warnings
12435           when using -Wextra
12436
12437 2006-09-18  Wim Taymans  <wim@fluendo.com>
12438
12439         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12440           Also set template on the internal pad so that a getcaps from the 
12441           target pad returns the template caps.
12442
12443 2006-09-18  Wim Taymans  <wim@fluendo.com>
12444
12445         * gst/gstelement.c: (gst_element_post_message),
12446         (gst_element_dispose):
12447         Use _DEBUG_OBJECT some more.
12448
12449         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12450         Avoid typechecks.
12451
12452         * tools/gst-launch.c: (main):
12453         If the toplevel element is not a GstPipeline, it must be put in a
12454         pipeline so that a bus and clock is selected.
12455
12456 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12457
12458         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12459           JITTER, RATE, and LATENCY query should be handled by the
12460           default case and not by the CONVERT query code.
12461
12462 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12463
12464         * gst/gstformat.c: (gst_format_register):
12465           Fix locking order (must take lock before using n_values).
12466
12467         * gst/gstvalue.c: (gst_value_serialize_enum),
12468         (gst_value_deserialize_enum_iter_cmp),
12469         (gst_value_deserialize_enum):
12470           Fix serialisation/deserialisation of custom registered GstFormats.
12471
12472         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12473           Unit test for custom format serialisation/deserialisation.
12474
12475 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12476
12477         * docs/pwg/building-boiler.xml:
12478         * plugins/elements/gstcapsfilter.c:
12479         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12480         section.
12481
12482 2006-09-16  Edward Hervey  <edward@fluendo.com>
12483
12484         * libs/gst/base/gstbasetransform.c:
12485         (gst_base_transform_buffer_alloc):
12486         Check if requested caps are the same as the sinks caps IF
12487         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12488         is FALSE.
12489         This fixes the renegotiation issues stated in #352827.
12490
12491 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12492
12493         * configure.ac:
12494         * docs/manual/advanced-autoplugging.xml:
12495         * tests/examples/Makefile.am:
12496         * tests/examples/manual/.cvsignore:
12497         * tests/examples/manual/Makefile.am:
12498         * tests/examples/manual/extract.pl:
12499           Extract the manual examples again like we used to do.
12500           Fix one of them.
12501
12502 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12503
12504         * win32/common/config.h:
12505           update for version
12506
12507 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12508
12509         * gst/gsterror.c:
12510           Documents how to receive errors.
12511
12512 2006-09-15  Wim Taymans  <wim@fluendo.com>
12513
12514         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12515         (event_loop), (main):
12516         Added some comments here and there.
12517         Post an application message when an interrupt is caught instead of doing
12518         an uncontrolled state change.
12519         Clean up the event loop.
12520         Handle buffering messages, pause/resume the pipeline.
12521         Make shutdown because of an interrupt more reliable.
12522
12523 2006-09-15  Wim Taymans  <wim@fluendo.com>
12524
12525         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12526         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12527         (gst_base_sink_preroll_object):
12528         Make sure that our internal state is correct when we commit our state
12529         asynchronously. This solves a race where a state change to PLAYING
12530         could cause the sink to remain blocked in preroll in some situations.
12531
12532 2006-09-15  Wim Taymans  <wim@fluendo.com>
12533
12534         * tools/gst-inspect.c: (print_element_properties_info),
12535         (print_signal_info):
12536         List flags as hex so it's easier to deal with.
12537
12538 2006-09-15  Wim Taymans  <wim@fluendo.com>
12539
12540         * docs/libs/gstreamer-libs-sections.txt:
12541         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12542         (gst_base_sink_do_sync):
12543         * libs/gst/base/gstbasesink.h:
12544         Expose logic to wait for preroll so that subclasses such as audiosink
12545         can also use this method.
12546         API: gst_base_sink_wait_preroll()
12547
12548 2006-09-15  Wim Taymans  <wim@fluendo.com>
12549
12550         * gst/gstobject.c: (gst_object_set_parent):
12551         * gst/gstpipeline.c: (do_pipeline_seek):
12552         Small cleanups in docs and code.
12553
12554         * gst/gstsegment.c: (gst_segment_clip):
12555         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12556         if stop == start and start is in the segment, no clipping should be
12557         done. Also add a test for this.
12558
12559 2006-09-15  Wim Taymans  <wim@fluendo.com>
12560
12561         * docs/design/part-buffering.txt:
12562         * docs/gst/gstreamer-sections.txt:
12563         * gst/gstmessage.c: (gst_message_new_buffering),
12564         (gst_message_parse_buffering):
12565         * gst/gstmessage.h:
12566         Added methods to create and parse BUFFERING messages.
12567         Added preliminary docs about buffering.
12568         API: gst_message_new_buffering
12569         API: gst_message_parse_buffering
12570
12571 2006-09-06  Wim Taymans  <wim@fluendo.com>
12572
12573         * gst/gstbin.c:
12574         Update documentation.
12575
12576         * gst/gstelement.c: (gst_element_class_init),
12577         (gst_element_release_request_pad), (gst_element_set_clock),
12578         (gst_element_get_index), (gst_element_add_pad),
12579         (gst_element_remove_pad), (gst_element_get_random_pad),
12580         (gst_element_send_event), (gst_element_get_query_types),
12581         (gst_element_query), (gst_element_post_message),
12582         (gst_element_message_full), (gst_element_continue_state),
12583         (gst_element_lost_state), (gst_element_save_thyself),
12584         (gst_element_restore_thyself):
12585         Documentation updates.
12586         Rename last bit of the new-pad -> pad-added signal rename.
12587         Fix the case where an element query would only work if the source
12588         pad was linked.
12589         Avoid some useless type checking in message handling.
12590
12591         * gst/gstevent.c:
12592         * gst/gstevent.h:
12593         * gst/gstutils.c:
12594         Documentation updates.
12595
12596 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12597
12598         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12599           add an INFO line for when we actually update the fd
12600
12601 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12602
12603         * configure.ac:
12604           back to TRUNK
12605
12606 === release 0.10.10 ===
12607
12608 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12609
12610         * configure.ac:
12611           releasing 0.10.10, "Pais"
12612
12613 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12614
12615         * docs/manual/advanced-position.xml:
12616           Fix typo in sample code.
12617
12618 2006-09-05  Wim Taymans  <wim@fluendo.com>
12619
12620         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12621         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12622         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12623         * libs/gst/net/gstnetclientclock.h:
12624         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12625         * libs/gst/net/gstnettimepacket.h:
12626         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12627         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12628         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12629         * libs/gst/net/gstnettimeprovider.h:
12630         Make stuff compile on windows. Fixes #345295.
12631
12632 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12633
12634         * gst/gst.c: (ensure_current_registry_forking):
12635           Print better details when child was terminated by signal.
12636
12637 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12638
12639         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12640           Print a warning rather than g_assert() if a plugin feature
12641           is a URI handler but returns no protocols (#353976).
12642
12643 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12644
12645         * docs/random/moving-plugins:
12646         Fix two typos.         
12647
12648 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12649
12650         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12651           Fix locking order, handle NULL function values properly.
12652
12653         * gst/gstinfo.h:
12654           Fix docs.
12655
12656         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12657           Initialise variable before using it and fix debug statement to
12658           print the address of the function rather than the address of the
12659           variable on the stack holding the address of the function.
12660
12661 2006-09-01  Wim Taymans  <wim@fluendo.com>
12662
12663         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12664         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12665         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12666         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12667         (gst_ghost_pad_parent_unset),
12668         (gst_ghost_pad_internal_do_activate_push),
12669         (gst_ghost_pad_internal_do_activate_pull),
12670         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12671         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12672         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12673         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12674         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12675         (gst_ghost_pad_new_no_target_from_template),
12676         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12677         More cleanups.
12678         Avoid needless typechecking in macros.
12679         Since the internal pad is always present and never changes, there is
12680         no need to locking or ref when retrieving it.
12681         Improve debugging a bit.
12682         Handle link errors when setting the target. Fixes #341029.
12683
12684 2006-09-01  Wim Taymans  <wim@fluendo.com>
12685
12686         * docs/libs/gstreamer-libs-sections.txt:
12687         * docs/plugins/gstreamer-plugins-sections.txt:
12688         Fix docs some more.
12689
12690         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12691         (gst_collect_pads_event):
12692         * libs/gst/base/gstcollectpads.h:
12693         Documentation updates.
12694         Free queued buffer when removing a pad.
12695
12696 2006-08-31  Michael Smith  <msmith@fluendo.com>
12697
12698         * gst/gstutils.c: (gst_element_link_pads),
12699         (gst_element_link_pads_filtered):
12700           Ensure that we set a capsfilter to NULL if we failed to link it
12701           when doing filtered linking, to avoid criticals.
12702
12703           No need to check for unreffing srcpad, which is explicly NULLed
12704           above (a trivial code cleanup).
12705
12706 2006-08-31  Wim Taymans  <wim@fluendo.com>
12707
12708         * docs/design/part-gstghostpad.txt:
12709         Update ascii art in documentation.
12710
12711         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12712         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12713         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12714         (gst_ghost_pad_internal_do_activate_push),
12715         (gst_ghost_pad_internal_do_activate_pull),
12716         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12717         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12718         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12719         (gst_ghost_pad_set_target):
12720         Small cleanups and leak fixes.
12721         Remove some checks now that the internal pad is never NULL.
12722         Fix the case where linking pads without a target would create nasty
12723         criticals. Fixes #341029.
12724         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12725         value of _set_target().
12726
12727         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12728         (gst_ghost_pad_suite):
12729         Some more tests for creating and linking untargeted ghostpads.
12730
12731 2006-08-31  Edward Hervey  <edward@fluendo.com>
12732
12733         * docs/gst/gstreamer-sections.txt:
12734         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12735         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12736         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12737         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12738         (gst_ghost_pad_new_from_template),
12739         (gst_ghost_pad_new_no_target_from_template):
12740         * gst/gstghostpad.h:
12741         Refactored *_new() functions.
12742         Templates are now used as a g_object_new() parameter.
12743         Use template in _do_getcaps() if we don't have a target.
12744         Small documentation cleanups.
12745         Added two new constructors:
12746         gst_ghost_pad_new_from_template()
12747         gst_ghost_pad_new_no_target_from_template()
12748         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12749         (gst_ghost_pad_suite):
12750         Added tests for new ghostpad instanciation functions.
12751
12752         API additions: gst_ghost_pad_new_from_template,
12753         gst_ghost_pad_new_no_target_from_template
12754
12755 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12756
12757         * docs/random/ensonic/profiling.txt:
12758           Ideas about qos profiling.
12759
12760 2006-08-29  Wim Taymans  <wim@fluendo.com>
12761
12762         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12763         Code cleanups.
12764         Fix memleak.
12765
12766 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12767
12768         * gst/gstxml.c:
12769           Improve and detypofy docs.
12770
12771         * tests/check/Makefile.am:
12772         * tests/check/gst/.cvsignore:
12773         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12774           Add a basic test suite for GstXML.
12775
12776 2006-08-29  Wim Taymans  <wim@fluendo.com>
12777
12778         * gst/gstelement.c: (activate_pads), (clear_caps),
12779         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12780         Clear the pad caps when the element shut down all of the pads and
12781         is not streaming data that could modify the caps. 
12782         Fixes #352958.
12783
12784 2006-08-28  Michael Smith  <msmith@fluendo.com>
12785
12786         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12787           Revert previous change; I misunderstood single-segment mode.
12788
12789 2006-08-28  Michael Smith  <msmith@fluendo.com>
12790
12791         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12792           Unset DISCONT on buffers when using single-segment mode.
12793
12794 2006-08-28  Wim Taymans  <wim@fluendo.com>
12795
12796         * gst/gstcaps.c: (gst_caps_merge_structure):
12797         * gst/gstcaps.h:
12798         Fix docs and indentation again.
12799
12800         * tests/check/gst/gstquery.c: (GST_START_TEST):
12801         Fix leak in tests and add some more tests.
12802
12803 2006-08-28  Edward Hervey  <edward@fluendo.com>
12804
12805         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12806         Inform GstSegment of the last stop position in order for the current
12807         segment to have a proper duration if it doesn't have a specific stop
12808         position from which a duration could be calculated.
12809         This bug was noticeable when a non-flushing, non-update new segment was
12810         followed by another segment (all buffers from the new segment were being
12811         dropped).
12812
12813 2006-08-28  Wim Taymans  <wim@fluendo.com>
12814
12815         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12816         Small comment update.
12817
12818         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12819         (gst_identity_transform_ip):
12820         Drop-probability is broken, mention this in the code with a 
12821         FIXME and also in the property description.
12822         Make silent also be silent about the drop messages.
12823
12824 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12825
12826         * docs/manual/appendix-win32.xml:
12827           Remove mention of popt, we don't depend on that any
12828           longer (#353136). Add some comments pointing out that
12829           this section is slightly outdated.
12830
12831 2006-08-28  Wim Taymans  <wim@fluendo.com>
12832
12833         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12834
12835         * gst/gstquery.c: (gst_query_new_segment):
12836         * tests/check/gst/gstquery.c: (GST_START_TEST):
12837         Initialize variables when creating a new segment query.
12838         Fixes #353121.
12839
12840 2006-08-28  Wim Taymans  <wim@fluendo.com>
12841
12842         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12843
12844         * gst/gstelement.c: (gst_element_get_bus):
12845         * tests/check/gst/gstelement.c: (GST_START_TEST):
12846         Check for NULL before _reffing the bus. Fixes #353122.
12847
12848 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12849
12850         * docs/manual/basics-bus.xml:
12851           Docs update: fix wrong callback return value explanation; add
12852           some lines about the implicit relationship between main loop
12853           and main context; remove duplicate main loop variable declaration.
12854
12855 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12856
12857         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12858           Don't leak caps in unit test; add a few more simple
12859           checks. 
12860
12861 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12862
12863         * docs/gst/gstreamer-sections.txt:
12864         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12865         (gst_caps_structure_is_subset), (gst_caps_merge),
12866         (gst_caps_merge_structure):
12867         * gst/gstcaps.h:
12868         * libs/gst/base/gstbasetransform.c:
12869         (gst_base_transform_transform_caps):
12870         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12871           implement caps merging (fixes #352580)
12872
12873 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12874
12875         * tools/Makefile.am:
12876         * tools/gst-plot-timeline.py:
12877           add debug-log plotting developer tool (#340674)
12878
12879 2006-08-23  Wim Taymans  <wim@fluendo.com>
12880
12881         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12882         (gst_pad_stop_task):
12883         Improve debugging for task functions.
12884
12885         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12886         (gst_task_start), (gst_task_pause), (gst_task_join):
12887         Make sure that the task function started and finished after a 
12888         join(). 
12889         Don't try to push the task function on the threadpool multiple
12890         times.
12891         Improve the g_warning message with some useful suggestions
12892         about how to fix the problem. 
12893
12894 2006-08-23  Wim Taymans  <wim@fluendo.com>
12895
12896         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12897         Handle RESYNC correctly in _proxy_getcaps.
12898
12899 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12900
12901         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12902         (gst_xml_parse_memory), (gst_xml_get_element):
12903           Chain up to parent class in dispose function and also
12904           unref the elements in the toplevel_elements GList.
12905           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12906           Always return a reference in gst_xml_get_element() rather
12907           than only sometimes.
12908
12909         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12910           Don't leak GstXml object.
12911
12912 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12913
12914         * docs/gst/gstreamer-sections.txt:
12915         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12916         (gst_caps_merge):
12917         * gst/gstcaps.h:
12918         * libs/gst/base/gstbasetransform.c:
12919         (gst_base_transform_transform_caps):
12920           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12921           in a better way
12922
12923 2006-08-21  Edward Hervey  <edward@fluendo.com>
12924
12925         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12926         Implement GObject::dispose virtual method in GstXML so we can free the
12927         top_elements GList.
12928
12929 2006-08-21  Wim Taymans  <wim@fluendo.com>
12930
12931         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12932         (gst_buffer_create_sub):
12933         Copy duration/offset_end/caps when creating a subbuffer of the
12934         complete parent.
12935         Make the subbuffer read-only when we make the metadata writable for
12936         now. Fixes #351768.
12937
12938         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12939         Added check for metadata copy when creating subbuffers.
12940
12941 2006-08-21  Edward Hervey  <edward@fluendo.com>
12942
12943         * libs/gst/base/gstbasetransform.c:
12944         (gst_base_transform_buffer_alloc):
12945         Only call downstream buffer_alloc if transform element is passthrough
12946         or always_in_place. Closes #350449.
12947
12948 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12949
12950         * ChangeLog:
12951           ChangeLog surgery to add comments to previous changes
12952
12953 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12954
12955         * gst/gst.c:
12956           Add comments
12957
12958         * gst/gstpad.c: (gst_pad_set_active):
12959           Be more verbose in the log
12960
12961         * libs/gst/base/gstbasetransform.c:
12962         (gst_base_transform_transform_caps):
12963           Simplify caps to get rid of duplicates, fixes #345444
12964
12965 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12966
12967         * gst/gstvalue.c:
12968         * gst/gstvalue.h:
12969           Use these optimizations only internally.
12970
12971 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12972
12973         * gst/gstvalue.c: (gst_value_compare_list),
12974         (gst_value_compare_fraction_range),
12975         (gst_value_intersect_fraction_fraction_range),
12976         (gst_value_intersect_fraction_range_fraction_range),
12977         (gst_value_subtract_fraction_fraction_range),
12978         (gst_value_subtract_fraction_range_fraction_range),
12979         (gst_value_get_compare_func), (gst_value_compare),
12980         (gst_value_compare_with_func):
12981         * gst/gstvalue.h:
12982           Saves the expensive lookup of the compare function in many cases
12983          (#345444)
12984
12985 2006-08-18  Edward Hervey  <edward@fluendo.com>
12986
12987         * tests/check/gst/gstinfo.c: (gst_info_suite):
12988         Disable test that require gstdebug if it wasn't built in core.
12989
12990 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12991
12992         * docs/random/ensonic/logging.txt:
12993           update ideas
12994           
12995         * gst/gstinfo.c: (gst_debug_log_default):
12996           reorder fields, save some columns, add optional color codes for log
12997           levels
12998
12999 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13000
13001         * docs/random/ensonic/logging.txt:
13002           add ideas about making the logs a bit more useful
13003
13004 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13005
13006         * docs/pwg/advanced-events.xml:
13007         * docs/pwg/titlepage.xml:
13008           Update for 0.10 API (#340627). Add myself
13009           to authors list.
13010
13011 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13012
13013         * docs/libs/gstreamer-libs-docs.sgml:
13014         * docs/libs/gstreamer-libs-sections.txt:
13015         * libs/gst/check/gstbufferstraw.c:
13016           Make gstcheck stuff show up in docs (still needs to
13017           be documented properly though).
13018
13019 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13020
13021         * docs/gst/gstreamer-sections.txt:
13022         * gst/Makefile.am:
13023         * gst/gst.c: (init_post):
13024         * gst/gst_private.h:
13025         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13026         * gst/gstquark.h:
13027         * gst/gstquery.c: (gst_query_new_position),
13028         (gst_query_set_position), (gst_query_parse_position),
13029         (gst_query_new_duration), (gst_query_set_duration),
13030         (gst_query_parse_duration), (gst_query_new_convert),
13031         (gst_query_set_convert), (gst_query_parse_convert),
13032         (gst_query_new_segment), (gst_query_set_segment),
13033         (gst_query_parse_segment), (gst_query_new_seeking),
13034         (gst_query_set_seeking), (gst_query_parse_seeking):
13035         Add internal helpers for pre-registering quarks from static strings
13036         and using the quark values directly instead of looking them up when
13037         creating and parsing queries. Can be used for event construction too.
13038         Closes #350432.
13039
13040 2006-08-16  Wim Taymans  <wim@fluendo.com>
13041
13042         * gst/gstbin.c:
13043         Fix bogus docs.
13044
13045 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13046
13047         * gst/gstutils.c: (gst_util_set_value_from_string):
13048           Fix memleak (#351502).
13049
13050         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13051           Add unit test for most of gst_util_set_value_from_string()
13052           (not that one would want to encourage use of this function).
13053
13054 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13055
13056         * libs/gst/check/gstcheck.h:
13057           Use const gchar * variables in fail_unless_equals_string
13058           macro to avoid compiler warnings (and don't use tabs for
13059           indenting).
13060
13061 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13062
13063         * tools/gst-launch.c: (print_tag):
13064           More space on the left for the tag names, to cater
13065           for the 'extended comment' tag (not touching the
13066           string for the first line since it's translated).
13067
13068 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13069
13070         * libs/gst/check/gstcheck.h:
13071           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13072           print something when they fail.
13073
13074 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13075
13076         * docs/gst/gstreamer-sections.txt:
13077         * gst/gsttaglist.c: (_gst_tag_initialize):
13078         * gst/gsttaglist.h:
13079           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13080           Also change merge function for GST_TAG_COMMENT to
13081           use_first.
13082
13083 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13084
13085         * gst/gstinfo.c: (gst_debug_print_object):
13086           Make GST_PTR_FORMAT print messages as well.
13087
13088         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13089         (GST_START_TEST), (gst_info_suite):
13090           More tests.
13091
13092 2006-08-14  Edward Hervey  <edward@fluendo.com>
13093
13094         * gst/gstelementfactory.c: (gst_element_register):
13095         If the GstElementClass doesn't have a GstElementDetails with all fields
13096         filled up correctly (longname, description AND author), then error out
13097         nicely instead of crashing.
13098
13099 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13100
13101         * gst/gststructure.c:
13102           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13103
13104         * gst/gstvalue.h:
13105           Expand on the difference between arrays and lists as we use them.
13106           
13107 2006-08-14  Wim Taymans  <wim@fluendo.com>
13108
13109         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13110         If the parent state change function failed, don't assume we can safely
13111         stop the source, this will be done when the pads are deactivated.
13112
13113 2006-08-14  Wim Taymans  <wim@fluendo.com>
13114
13115         * gst/gstbuffer.c:
13116         * gst/gsttask.c: (gst_task_join):
13117         Small doc updates.
13118
13119         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13120         (gst_pad_stop_task):
13121         When pad (de)activation failed for some reason, restore the old
13122         activation mode and set the pad to flushing instead of assuming the
13123         pad is deactivated.
13124         If the _task_join() failed, reinstall the task on the pad so that it can
13125         be stopped later and return an error.
13126
13127 2006-08-11  Andy Wingo  <wingo@pobox.com>
13128
13129         * configure.ac:
13130         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13131         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13132         is only for users of API that don't want to see deprecated
13133         functions in the headers; people that want to compile out
13134         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13135         CFLAGS. Fixes the build of multifdsink, or will soon..
13136
13137 2006-08-11  Wim Taymans  <wim@fluendo.com>
13138
13139         * docs/gst/gstreamer-sections.txt:
13140         Add GstClockClass vmethod docs.
13141
13142         * gst/gstcaps.h:
13143         Mark #endif with comment for associated #if
13144
13145         * gst/gstclock.c: (gst_clock_id_wait):
13146         * gst/gstclock.h:
13147         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13148         most clock implementations.
13149         Document vmethods.
13150         Flesh out docs about resolution methods.
13151         API: GstClockClass::wait_jitter
13152
13153         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13154         (gst_system_clock_async_thread),
13155         (gst_system_clock_id_wait_jitter_unlocked),
13156         (gst_system_clock_id_wait_jitter):
13157         Use base class wait_jitter variant for improved performance
13158         due to less clock polling.
13159
13160 2006-08-11  Edward Hervey  <edward@fluendo.com>
13161
13162         * gst/gst.c: (gst_init_check), (init_post):
13163         Set gst as being initialized before scanning/updating the registry,
13164         since there might be my python plugin loader that calls gst_init() and
13165         we don't want to loop back in.
13166         Closes #350879
13167
13168 2006-08-11  Wim Taymans  <wim@fluendo.com>
13169
13170         * docs/design/part-qos.txt:
13171         Bring docs in line with the code. Mostly the sign of the jitter was
13172         wrong in the docs. Fixes #349943.
13173
13174         * gst/gstclock.c:
13175         Fix the docs for the jitter.
13176
13177         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13178         (gst_event_parse_tag), (gst_event_new_buffer_size),
13179         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13180         (gst_event_new_seek), (gst_event_parse_seek),
13181         (gst_event_new_navigation):
13182         Make sure the GstStructure has no parent when creating custom
13183         events.
13184         Add some more argument checking so that we avoid 0.0 rates.
13185         Flesh out the docs for the QoS event some more.
13186
13187 2006-08-11  Wim Taymans  <wim@fluendo.com>
13188
13189         * docs/gst/gstreamer-sections.txt:
13190         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13191         (ensure_current_registry_forking), (ensure_current_registry),
13192         (parse_one_option), (parse_goption_arg), (gst_deinit),
13193         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13194         * gst/gst.h:
13195         Doc updates.
13196         Added API and command line option to disable registry forking in
13197         addition to the environment variable.
13198         Constify some static arrays.
13199         Added some more debug.
13200         Don't deinit twice.
13201         API: gst_registry_fork_is_enabled()
13202         API: gst_registry_fork_set_enabled()
13203         API: --gst-disable-registry-fork command line option
13204         Fixes #348918.
13205
13206 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13207
13208         * gst/gst.c: (gst_init):
13209           Fix typo in error message.
13210
13211 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13212
13213         * libs/gst/controller/gstcontroller.h:
13214           fix ABI size-correction
13215
13216         * tests/check/libs/gdp.c: (gst_dp_suite):
13217           make tests that use deprecated API conditional
13218
13219 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13220
13221         * docs/libs/gstreamer-libs-sections.txt:
13222         * libs/gst/controller/gstcontroller.c:
13223         (_gst_controller_get_property), (_gst_controller_set_property),
13224         (_gst_controller_init), (_gst_controller_class_init):
13225         * libs/gst/controller/gstcontroller.h:
13226         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13227         (gst_object_set_control_rate):
13228           API: add gst_object_{s,g}et_control_rate(), add private data section,
13229           fix docs
13230
13231         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13232         * libs/gst/dataprotocol/dataprotocol.h:
13233           add deprecation guards to make gtk-doc happy and allow disabling cruft
13234
13235 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13236
13237         * tests/check/Makefile.am:
13238         * tests/check/gst/.cvsignore:
13239           Let's enable the new unit test as well.
13240
13241 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13242
13243         * configure.ac:
13244         * docs/gst/gstreamer-sections.txt:
13245         * gst/gstconfig.h.in:
13246         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13247         (_gst_info_printf_extension_ptr),
13248         (_gst_info_printf_extension_segment):
13249           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13250           register that lets us easily dump GstSegments into debug
13251           logs (#350419).
13252
13253         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13254         (info_segment_format_printf_extension), (gst_info_suite):
13255           Add simple unit test that logs a bunch of different segments (not
13256           valgrinded at the moment because of leaks in
13257           gst_debug_add_log_function).
13258
13259 2006-08-09  Edward Hervey  <edward@fluendo.com>
13260
13261         * libs/gst/base/gstbasetransform.c:
13262         (gst_base_transform_buffer_alloc):
13263         Even if we can't figure out the proper format to request downstream,
13264         call buffer_alloc() downstream with the input parameters without setting
13265         the caps on the srcpad. This will force negotiation in the chain
13266         function.
13267         Closes #350449
13268
13269 2006-08-08  Edward Hervey  <edward@fluendo.com>
13270
13271         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13272         Unlinking from a pad without a target is now a perfectly valid case
13273         which should NOT raise an assertion.
13274         This case would happen if a linked ghostpad its target set to NULL after
13275         it was previously linked.
13276
13277 2006-08-08  Edward Hervey  <edward@fluendo.com>
13278
13279         * tests/check/libs/gdp.c:
13280         Also comment out the test (see below).
13281
13282 2006-08-08  Edward Hervey  <edward@fluendo.com>
13283
13284         * tests/check/libs/gdp.c: (gst_dp_suite):
13285         Use the architecture information from config.h and not gcc macros
13286         in order to properly disable a test that fails on PPC64.
13287
13288 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13289
13290         * gst/gstelement.c: (gst_element_remove_pad):
13291           Don't crash printing the warning if the pad has no parent.
13292
13293 2006-08-02  Wim Taymans  <wim@fluendo.com>
13294
13295         * libs/gst/dataprotocol/dataprotocol.c:
13296         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13297         (gst_dp_crc), (gst_dp_header_payload_length),
13298         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13299         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13300         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13301         (gst_dp_event_from_packet), (gst_dp_validate_header),
13302         (gst_dp_validate_payload):
13303         Make debug category static
13304         Constify the crc table.
13305         Do some more arg checking in public functions.
13306         Fix some docs and do some small cleanups.
13307
13308         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13309         Add some more checks to see if GDP deals with bogus input.
13310
13311 2006-07-31  Wim Taymans  <wim@fluendo.com>
13312
13313         * gst/gstvalue.c: (gst_value_compare_list):
13314         Fix GstValueList comparison code. Fixes #347293.
13315
13316         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13317         Check to test GstValueList comparison.
13318
13319 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13320
13321         * gst/gstelementfactory.c: (gst_element_factory_create):
13322         Remove unnecessary ref/unref pair
13323
13324         * gst/parse/grammar.y:
13325         Make sure to free the parse buffer on all code paths.
13326         Move a g_free up to the error handler where it's easier to see.
13327
13328         * tests/check/gst/gstevent.c: (test_event):
13329         Extending timeout for downstream travelling events to 10 seconds to
13330         hopefully avoid intermittent failure on the buildbots.
13331
13332         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13333         Don't manually set the state of the src element - it will happen as a
13334         natural consequence of the pipeline changing state, and that way it
13335         will do it in the right order too.
13336
13337 2006-07-31  Wim Taymans  <wim@fluendo.com>
13338
13339         * libs/gst/base/gstbasetransform.c:
13340         (gst_base_transform_buffer_alloc):
13341         Use OBJECT_LOCK and refcounting to get the pad caps in the
13342         buffer_alloc function because the caps could change while we are
13343         busy with them. Fixes #349105
13344
13345 2006-07-31  Wim Taymans  <wim@fluendo.com>
13346
13347         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13348         Protect _PAD_CAPS with OBJECT_LOCK.
13349
13350 2006-07-31  Wim Taymans  <wim@fluendo.com>
13351
13352         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13353         (gst_pad_get_property), (gst_pad_activate_pull),
13354         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13355         (gst_pad_set_activate_function),
13356         (gst_pad_set_activatepull_function),
13357         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13358         (gst_pad_set_getrange_function),
13359         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13360         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13361         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13362         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13363         (gst_pad_set_acceptcaps_function),
13364         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13365         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13366         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13367         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13368         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13369         (gst_pad_configure_sink), (gst_pad_configure_src),
13370         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13371         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13372         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13373         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13374         (gst_pad_send_event):
13375         Use _DEBUG_OBJECT when it makes sense.
13376         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13377         Small cleanups and code reflows.
13378         Avoid caps refcounting in _accept_caps.
13379         Refactor alloc_buffer so that the code performed on the peer is in a
13380         separate function. Also if the pad does not implement a buffer alloc
13381         function, we should still check if the pad is flushing before falling
13382         back to the default allocator.
13383
13384 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13385
13386         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13387         Make all uses of identity and fakesink have silent=true to avoid
13388         serialising every passing data structure, which is breaking tests
13389         on FC4 for some unknown reason.
13390
13391 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13392
13393         * gst/parse/Makefile.am:
13394         * gst/parse/grammar.y:
13395         * gst/parse/parse.l:
13396           Reverted previous patch as it required to bump the flex dependency to
13397           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13398
13399 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13400
13401         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13402
13403         * gst/parse/Makefile.am:
13404         * gst/parse/grammar.y:
13405         * gst/parse/parse.l:
13406           push & pop the state of the lexer for reentrant use case
13407           Fixes #349180
13408
13409 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13410
13411         * libs/gst/base/gstbasesrc.h:
13412           Note in the docs that the ::newsegment vfunc is not actually used by
13413           GstBaseSrc.
13414
13415 2006-07-28  Wim Taymans  <wim@fluendo.com>
13416
13417         * libs/gst/base/gstcollectpads.c:
13418         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13419         (gst_collect_pads_clear), (gst_collect_pads_flush),
13420         (gst_collect_pads_event), (gst_collect_pads_chain):
13421         When flushing a pad, also clear the queued buffer so that we don't
13422         accidentally use it when we shouldn't.
13423         Fix leaks by inreffing incomming buffer.
13424         Flush out queued buffers in case of errors.
13425         Fixes #347452.
13426
13427 2006-07-28  Wim Taymans  <wim@fluendo.com>
13428
13429         * docs/random/phonon-gst:
13430         Random notes about a Phonon backend.
13431
13432 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13433
13434         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13435         Extra debug output
13436         * tests/check/libs/gdp.c: (gst_dp_suite):
13437         Take a whack at fixing the ppc compile using a different define to
13438         disable the broken test.
13439
13440         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13441         Remove excess g_print()
13442
13443 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13444
13445         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13446         Oops, meant to uncomment this line too to dampen the noise a bit.
13447
13448 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13449
13450         * gst/parse/grammar.y:
13451         * gst/parse/parse.l:
13452         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13453         (GST_START_TEST), (parse_suite):
13454         Fix some of the leaks exposed by extending the parse-launch testsuite,
13455         and move the 3 I can't figure out into a separate test that won't run
13456         the pipelines unless the appropriate line is uncommented.
13457
13458 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13459
13460         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13461           Requesting 0 bytes before the end of the file should result in
13462           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13463           unit test.
13464
13465 2006-07-27  Wim Taymans  <wim@fluendo.com>
13466
13467         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13468         Fix useless assert, a uint is always positive.
13469
13470         * gst/gststructure.c: (gst_structure_nth_field_name),
13471         (gst_structure_foreach), (gst_structure_map_in_place):
13472         Check input arguments for public functions to avoid obvious crashes.
13473
13474         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13475         * plugins/elements/gstfakesink.h:
13476         Do less useless typechecking.
13477
13478 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13479
13480         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13481           Do not use mmap() by default since there are a number of error
13482           conditions that we would like to handle in a non-fatal way that
13483           will result in a SIGBUS if we use mmap(). Examples: external
13484           devices (USB harddrive, portable music player) being unplugged
13485           while in use; file on mounted CD/DVD that can't be read because
13486           the medium is partly damaged. Fixes #348455 and #348475.
13487
13488 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13489
13490         * gst/gstquery.h:
13491         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13492         rates are a gdouble
13493
13494 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13495
13496         * gst/gstregistry.c:
13497           Move big documentation comment into class section header, so that it
13498           appears in the API docs.
13499
13500 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13501
13502         * docs/gst/gstreamer-sections.txt:
13503         Oops. Commit the docs additions too for new API.
13504         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13505
13506 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13507
13508         * gst/gststructure.c: (gst_structure_id_set),
13509         (gst_structure_id_set_valist):
13510         * gst/gststructure.h:
13511         Add API for setting values into structures without performing
13512         a quark lookup, if the appropriate quark is already known.
13513
13514         API: gst_structure_id_set
13515         API: gst_structure_id_set_valist
13516
13517         * gst/parse/grammar.y:
13518         * gst/parse/parse.l:
13519         Remove some dead code shown by the coverage information.
13520         Don't throw a critical g_warning when encountering a syntax error,
13521         just warn and let the normal error path handle it.
13522
13523         * plugins/elements/gstelements.c:
13524         Bump the rank of filesink up to PRIMARY so that it is preferred over
13525         gnomevfssink for file:// sink uri's
13526
13527         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13528         (GST_START_TEST), (run_delayed_test),
13529         (gst_parse_test_element_base_init),
13530         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13531         (gst_parse_test_element_change_state),
13532         (gst_register_parse_element), (parse_suite):
13533         Beef up the tests for parse syntax to check that more error cases
13534         fail as they are supposed to. Increases the test coverage a bit.
13535
13536 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13537
13538         * docs/manual/basics-elements.xml:
13539           Fix gst_element_link() example.
13540
13541         * gst/gstutils.c:
13542           Mention in API docs that one should usually gst_bin_add()
13543           elements to a bin or pipeline before doing the linking.
13544           
13545 2006-07-26  Wim Taymans  <wim@fluendo.com>
13546
13547         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13548         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13549         Avoid function call for known types by keeping the buffer and
13550         subbuffer GType global.
13551
13552         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13553         Random silly optimisations in read() path.
13554
13555 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13556
13557         * tools/gst-launch.c: (main):
13558           If the top-level of the parse is a normal bin, it doesn't do the
13559           right logic to run as a top-level element, so place it inside a
13560           pipeline.
13561
13562 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13563
13564         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13565           Remove superfluous g_object_notify() calls, GObject does
13566           that for us automatically.
13567
13568 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13569
13570         * gst/gstinfo.h:
13571           on Win32, use dllspec to export the debug category symbols
13572
13573 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13574
13575         * gst/gsttaglist.c: (_gst_tag_initialize):
13576           Allow more than one GST_TAG_IMAGE per taglist.
13577
13578 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13579
13580         * gst/gstminiobject.c:
13581           update docs
13582         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13583         (gst_fd_src_create):
13584           log recurring events at LOG level
13585           add more debug for when the fd gets set
13586
13587 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13588
13589         * gst/gstparse.c: (gst_parse_launch):
13590           Also remove reentrance checks if flex is MT safe (#348179)
13591          Fix my empty ChangeLog entry below
13592
13593 2006-07-21  Andy Wingo  <wingo@pobox.com>
13594
13595         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13596
13597         * libs/gst/check/Makefile.am
13598         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13599         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13600         * libs/gst/check/gstbufferstraw.h:
13601         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13602         functions, thus proving I am still a GStreamer haxor. OK I wrote
13603         them a long time ago, but anyways.
13604
13605 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13606
13607         * configure.ac:
13608         * gst/gstparse.c: (gst_parse_launch):
13609           Check for flex version and omit mutex if we have a MT save flex
13610           (fixes #348179)
13611
13612 2006-07-21  Wim Taymans  <wim@fluendo.com>
13613
13614         * gst/gstparse.c: (gst_parse_launch):
13615         Protect recursive calls to _parse with a recursive mutex
13616         and busy flag.
13617
13618 2006-07-21  Wim Taymans  <wim@fluendo.com>
13619
13620         * tests/check/gst/gstpad.c: (GST_START_TEST):
13621         Fix leak in test.
13622
13623 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13624
13625         * gst/gstparse.c: (gst_parse_launch):
13626           Do not hang on recursive usage of gst_parse_launch()
13627
13628 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13629
13630         * gst/gsttaglist.c:
13631           Add some more docs, comments and FIXME 0.11s here and there
13632           and also fix some typos.
13633
13634 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13635
13636         * gst/gstsegment.h:
13637           Convert tabs to spaces for better readability. 
13638
13639 2006-07-20  Edward Hervey  <edward@fluendo.com>
13640
13641         * tests/check/libs/gdp.c: (gst_dp_suite):
13642         the test_buffer test fails at line 140 on ppc64 at the following
13643         check:
13644         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13645                 GST_BUFFER_FLAG_IN_CAPS),
13646                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13647         See bug #348114 for more details.
13648
13649 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13650
13651         * docs/pwg/advanced-scheduling.xml:
13652         * gst/gstpad.c:
13653           Fix typos (#348000).
13654
13655 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13656
13657         * docs/pwg/intro-basics.xml:
13658           Fix wrong links (#347927).
13659
13660 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13661
13662         * gst/gstregistry.h:
13663         * gst/gstregistryxml.c: (load_feature),
13664         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13665         * win32/common/config.h:
13666           make --disable-index work (#342564)
13667
13668 2006-07-18  Wim Taymans  <wim@fluendo.com>
13669
13670         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13671
13672         * gst/Makefile.am:
13673         * gst/gsttrace.h:
13674         The attached patch adds two missing defines to gsttrace.h when tracing
13675         is disabled.  It also corrects one existing define.
13676         Fixes #347756.
13677
13678 2006-07-17  Wim Taymans  <wim@fluendo.com>
13679
13680         * docs/gst/gstreamer-sections.txt:
13681         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13682         * gst/gst.h:
13683         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13684         Add two functions to check and change the SIGSEGV behaviour
13685         when loading plugins.
13686         Don't mess with the SIGSEGV handler when we were told not to.
13687         Fixes #347794.
13688         API: gst_segtrap_is_enabled
13689         API: gst_segtrap_set_enabled
13690
13691 2006-07-14  Wim Taymans  <wim@fluendo.com>
13692
13693         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13694         * tests/check/elements/filesrc.c: (GST_START_TEST):
13695         Revert fix for regression in #347408 after release.
13696
13697 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13698
13699         Patch by: Antoine Tremblay <hexa00 at gmail com>
13700
13701         * gst/gstutils.c: (gst_element_unlink):
13702           Free iterator when done (#347311).
13703
13704         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13705           And add a test case for this.
13706
13707 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13708
13709         * configure.ac:
13710         Bump nano back to CVS
13711
13712 === release 0.10.9 ===
13713
13714 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13715
13716         * configure.ac:
13717           releasing 0.10.9, "On the road again"
13718
13719 2006-07-13  Wim Taymans  <wim@fluendo.com>
13720
13721         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13722         * tests/check/elements/filesrc.c: (GST_START_TEST):
13723         Revert pull-0 fix for release. Disable check. Fixes #347408.
13724
13725 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13726
13727         * libs/gst/dataprotocol/dataprotocol.c:
13728         (gst_dp_event_from_packet_1_0):
13729           Fixes #347337: failure to deserialize event packets with
13730           empty payload (only event type)
13731
13732 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13733
13734         * gst/Makefile.am:
13735           do not install a .c file in the header directory
13736
13737 2006-07-13  Edward Hervey  <edward@fluendo.com>
13738
13739         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13740         GhostPad no longer implicitely use the padtemplates of the targets.
13741         Fixes #347384
13742
13743 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13744
13745         * gst/gstvalue.c: (gst_value_compare_list),
13746         (gst_value_compare_array), (_gst_value_initialize):
13747         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13748         Make GstValueArray comparison be order dependent as designed.
13749         Add checks for value lists and value array comparisons.
13750         Fixes #347221
13751
13752 2006-07-11  Edward Hervey  <edward@fluendo.com>
13753
13754         * gst/gstbin.c: (activate_pads),
13755         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13756         (gst_bin_change_state_func):
13757         (de)activate src pads before calling state_change on the childs.
13758         This is to avoid the case where a src ghostpad is blocked (holding the
13759         stream lock), which would block the deactivation of the ghostpad's
13760         target pad.
13761         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13762         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13763         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13764         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13765         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13766         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13767         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13768         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13769         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13770         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13771         (gst_ghost_pad_class_init),
13772         (gst_ghost_pad_internal_do_activate_push),
13773         (gst_ghost_pad_internal_do_activate_pull),
13774         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13775         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13776         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13777         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13778         GhostPads now create their internal GstProxyPad at creation (and not
13779         when they're linked, as it was being done previously).
13780         The internal and target pads are linked straight away.
13781         The data will also travel through the other pad in order to make
13782         pad blocking and probes non-hackish (the probe/block now really happens
13783         on the GhostPad and not on the target).
13784         * gst/gstpad.c: (gst_pad_set_blocked_async),
13785         (gst_pad_link_prepare), (gst_pad_push_event):
13786         Remove previous ghostpad cruft.
13787         * gst/gstutils.c: (gst_pad_add_data_probe),
13788         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13789         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13790         (gst_pad_remove_buffer_probe):
13791         Remove previous ghost pad cruft.
13792         Added more detailed debug statements.
13793         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13794         Fix the testsuite for refcounting changes.
13795         The comments about who has references were correct, but the refcount
13796         being checked wasn't the same (!?!).
13797
13798         Fixes #341029
13799
13800 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13801
13802         * docs/gst/gstreamer-sections.txt:
13803         * gst/gstconfig.h.in:
13804         More docs for configuration options, add docs to gtk-doc.
13805
13806 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13807
13808         * gst/Makefile.am:
13809         * gst/gstconfig.h.in:
13810         * win32/common/config.h:
13811         Fix build when disabling tracing (fixes #344016). Also start to document
13812         the defines that disable the sub-systems.
13813
13814 2006-07-10  Edward Hervey  <edward@fluendo.com>
13815
13816         * gst/gst.c: (ensure_current_registry_forking):
13817         let's make valgrind happy...
13818
13819 2006-07-09  Wim Taymans  <wim@fluendo.com>
13820
13821         * gst/gstelement.c: (activate_pads),
13822         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13823         Better pad activation code: Reset the collect value too on resync.
13824         Add some comments.
13825
13826 2006-07-09  Wim Taymans  <wim@fluendo.com>
13827
13828         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13829         (gst_pad_activate_push):
13830         Use some more macros where it makes sense.
13831         Allow pad mode switching instead of asserting. When a pad
13832         is activated in one mode and we activate it in another, 
13833         deactivate it first before activating it in a different mode.
13834         Fixes #329198.
13835
13836 2006-07-08  Andy Wingo  <wingo@pobox.com>
13837
13838         * tools/gst-launch.c (main): Handle err == NULL.
13839
13840         * gst/gst.c (init_post, ensure_current_registry)
13841         (ensure_current_registry_forking)
13842         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13843         factoring out the registry scanning into separate functions. Don't
13844         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13845         Better environment var name/interface suggestions accepted.
13846
13847 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13848
13849         * gst/gstobject.c: (gst_object_set_name_default),
13850         (gst_object_set_name):
13851           Random micro-optimisation: don't use a hash table
13852           with strings as keys and the usual strdup/strcmp
13853           involved, but rather just use the GQuark of the
13854           type name as key, since it needs to be looked up
13855           anyway to get the type name string.
13856
13857         * tests/check/gst/gstobject.c: (GST_START_TEST):
13858           Fix various leaks.
13859
13860 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13861
13862         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13863         (gst_bin_iterate_all_by_interface):
13864           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13865           GTypes are gulongs and thus the top 4 bytes might be cut
13866           off on some platforms when doing GPOINTER_TO_INT, leading
13867           to invalid GTypes and bad things happening (see RH bug #179654).
13868           Also add a check to make sure the type passed in is really
13869           an interface type.
13870
13871 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13872
13873         * .cvsignore:
13874           Ignore more.
13875
13876 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13877
13878         * Makefile.am:
13879         * configure.ac:
13880         * gst-element-check.m4:
13881         * gst-element-check.m4.in:
13882           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13883           instead of the unversioned gst-inspect (#324176, #168659).
13884
13885 2006-07-06  Wim Taymans  <wim@fluendo.com>
13886
13887         * gst/gstmessage.h:
13888         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13889         warnings.
13890
13891 2006-07-06  Wim Taymans  <wim@fluendo.com>
13892
13893         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13894         (gst_base_src_wait), (gst_base_src_update_length),
13895         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13896         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13897         (gst_base_src_loop), (gst_base_src_start),
13898         (gst_base_src_activate_pull):
13899         Update docs.
13900         blocksize == 0 now means the default blocksize when working in push
13901         based mode.
13902         Remove some pointless asserts in _wait function.
13903         Fix offset/length calculations and EOS handling. We can now pull 0
13904         bytes as well, which is allowed.
13905         use _check_get_range() to decide if we can operate in _pull based
13906         mode.
13907         Fix refcounting leak when check_get_range function was not 
13908         implemented.
13909         API GstBaseSrc::blocksize range can be 0 too now (default)
13910
13911         * tests/check/elements/filesrc.c: (GST_START_TEST),
13912         (filesrc_suite):
13913         Added check to test _get_range() behaviour.
13914
13915 2006-07-06  Wim Taymans  <wim@fluendo.com>
13916
13917         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13918         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13919         (gst_pad_pull_range):
13920         * gst/gstpad.h:
13921         Lots of comments and docs added to the pad functions.
13922         Flesh out the expected behaviour of the get_range() functions.
13923
13924 2006-07-06  Wim Taymans  <wim@fluendo.com>
13925
13926         * gst/gstbus.h:
13927         * gst/gstclock.h:
13928         * gst/gstevent.h:
13929         * gst/gstiterator.h:
13930         * gst/gstpad.h:
13931         * gst/gstplugin.h:
13932         * gst/gsttask.h:
13933         Remove comma at end of enumerator list. 
13934
13935 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13936
13937         * win32/common/libgstbase.def:
13938         * win32/common/libgstdataprotocol.def:
13939         * win32/common/libsgtreamer.def:
13940         Add new exported functions.
13941
13942 2006-07-05  Wim Taymans  <wim@fluendo.com>
13943
13944         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13945         Add some more docs here and there.
13946
13947 2006-07-05  Wim Taymans  <wim@fluendo.com>
13948
13949         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13950         (gst_base_sink_loop), (gst_base_sink_get_position):
13951         When operating in pull mode update the offset so that we
13952         read sequentially.
13953
13954 2006-07-05  Wim Taymans  <wim@fluendo.com>
13955
13956         * gst/gstregistryxml.c: (read_string):
13957         Avoid strdup. (will happen in libxml, but hey!)
13958
13959         * gst/gsturi.c:
13960         Add some more docs.
13961
13962 2006-07-05  Wim Taymans  <wim@fluendo.com>
13963
13964         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13965         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13966         (gst_buffer_suite):
13967         No point in checking if the size of the subbuffer > 0, the
13968         code handles it correclty as demonstrated by unit test.
13969         Also add a unit test for the zero sized _new_and_alloc and
13970         _copy. Fixes #346663.
13971
13972 2006-07-05  Wim Taymans  <wim@fluendo.com>
13973
13974         * libs/gst/base/gstbasetransform.c:
13975         (gst_base_transform_prepare_output_buffer),
13976         (gst_base_transform_buffer_alloc),
13977         (gst_base_transform_handle_buffer):
13978         Make sure the buffer we pass to transform_ip has a refcount of
13979         1 and thus is writable. Fixes #343196
13980
13981 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13982
13983         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13984         (gst_file_src_init), (gst_file_src_set_property),
13985         (gst_file_src_get_property), (gst_file_src_map_region):
13986         * plugins/elements/gstfilesrc.h:
13987         Add "sequential" property, off by default, to use madvise and hint
13988         to the kernel that sequential access is desired.
13989         Touch all retrieved pages by default to ensure they are pulled
13990         into memory. (Closes #345720)
13991
13992 2006-07-03  Wim Taymans  <wim@fluendo.com>
13993
13994         * docs/design/part-block.txt:
13995         * docs/design/part-dynamic.txt:
13996         Small docs updates.
13997
13998 2006-07-03  Wim Taymans  <wim@fluendo.com>
13999
14000         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14001         (gst_caps_unref), (gst_static_caps_get),
14002         (gst_caps_append_structure):
14003         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14004         Use GSlice when the glib we build against is >= 2.10
14005
14006 2006-07-03  Wim Taymans  <wim@fluendo.com>
14007
14008         * gst/gstelement.c: (gst_element_pads_activate):
14009         Small cleanup in pad activation code.
14010
14011 2006-07-03  Wim Taymans  <wim@fluendo.com>
14012
14013         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14014
14015         * gst/gst-i18n-app.h:
14016         * gst/gst-i18n-lib.h:
14017         * tools/gst-inspect.c: (print_signal_info):
14018         The attached patch will make the inclusion of gettext.h unconditional in
14019         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14020         libintl.h in tools/gst-inspect.c.
14021         This allows use of --disable-nls again and fixes #344642.
14022
14023 2006-07-03  Edward Hervey  <edward@fluendo.com>
14024
14025         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14026         Implement pad blocking on events according to part-block.txt.
14027         More comments on behaviour.
14028         * tests/check/gst/gstevent.c: (test_event):
14029         Send event to peer pad of blocked pad (else it will block).
14030
14031 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14032
14033         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14034         (gst_check_run_suite):
14035           if we get the wrong message, give us the types as string
14036         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14037           Fix a translatable
14038         * tests/check/elements/filesrc.c: (GST_START_TEST):
14039           add a test for trying to open a non-existing file
14040
14041 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14042
14043         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14044           add a test for adding self
14045
14046 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14047
14048         * libs/gst/check/gstcheck.h:
14049           add some assert_ as alias for fail_unless_*
14050         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14051           increase test coverage
14052
14053 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14054
14055         * Makefile.am:
14056           include lcov.mak for lcov coverage generation
14057         * tools/Makefile.am:
14058           add to CLEANFILES
14059
14060 2006-07-02  Edward Hervey  <edward@fluendo.com>
14061
14062         * tests/check/elements/.cvsignore:
14063         moaping
14064
14065 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14066
14067         * configure.ac:
14068           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14069         * tests/check/Makefile.am:
14070           clean up gcov files
14071
14072 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14073
14074         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14075           remove gst_caps_simplify; it was not declared and not used
14076           and deprecated in 0.8
14077
14078 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14079
14080         * docs/faq/gst-uninstalled:
14081           don't put empty paths on PYTHONPATH
14082         * docs/gst/gstreamer-sections.txt:
14083           remove some symbols that are not there
14084
14085 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14086
14087         * gst/gstcaps.c: (gst_caps_compare_structures):
14088           whitespace fixes
14089         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14090         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14091           add more tests
14092
14093 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14094
14095         * libs/gst/dataprotocol/Makefile.am:
14096           build dataprotocol test by linking to the lib, instead of
14097           compiling the source, so we get coverage
14098         * tests/check/Makefile.am:
14099         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14100         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14101           add a test for filesrc
14102
14103 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14104
14105         * tests/check/gst/gststructure.c: (GST_START_TEST),
14106         (gst_structure_suite):
14107           Push coverage from 59.04% to 70.00%
14108
14109 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14110
14111         * tests/check/Makefile.am:
14112           gst-inspect every element; this makes sure that we also get
14113           coverage on element's get/set functions
14114
14115 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14116
14117         * configure.ac:
14118           set CFLAGS and friends to -O0 if gcov is being used
14119           add GCOV LIBS
14120         * gst/Makefile.am:
14121         * libs/gst/base/Makefile.am:
14122         * libs/gst/check/Makefile.am:
14123         * libs/gst/controller/Makefile.am:
14124         * libs/gst/dataprotocol/Makefile.am:
14125         * libs/gst/net/Makefile.am:
14126         * plugins/elements/Makefile.am:
14127         * plugins/indexers/Makefile.am:
14128           add makefile rules to generate gcov data and clean up
14129         * tests/check/Makefile.am:
14130           add a coverage target that generates an html overview
14131           of coverage data
14132
14133 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14134
14135         * tests/check/elements/fakesink.c:
14136         * tests/check/elements/fakesrc.c:
14137         * tests/check/elements/fdsrc.c:
14138         * tests/check/elements/identity.c:
14139         * tests/check/generic/sinks.c: (gst_sinks_suite):
14140         * tests/check/generic/states.c:
14141         * tests/check/gst/gst.c:
14142         * tests/check/gst/gstabi.c:
14143         * tests/check/gst/gstbin.c:
14144         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14145         * tests/check/gst/gstbus.c: (gst_bus_suite):
14146         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14147         * tests/check/gst/gstelement.c:
14148         * tests/check/gst/gstevent.c: (gst_event_suite):
14149         * tests/check/gst/gstghostpad.c:
14150         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14151         * tests/check/gst/gstmessage.c: (gst_message_suite):
14152         * tests/check/gst/gstminiobject.c:
14153         * tests/check/gst/gstobject.c:
14154         * tests/check/gst/gstpad.c:
14155         * tests/check/gst/gstpipeline.c:
14156         * tests/check/gst/gstplugin.c:
14157         * tests/check/gst/gstquery.c: (gst_query_suite):
14158         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14159         * tests/check/gst/gststructure.c:
14160         * tests/check/gst/gstsystemclock.c:
14161         * tests/check/gst/gsttag.c:
14162         * tests/check/gst/gsttask.c: (gst_task_suite):
14163         * tests/check/gst/gstutils.c:
14164         * tests/check/gst/gstvalue.c:
14165         * tests/check/libs/adapter.c:
14166         * tests/check/libs/basesrc.c:
14167         * tests/check/libs/collectpads.c:
14168         * tests/check/libs/controller.c:
14169         * tests/check/libs/gdp.c: (gst_dp_suite):
14170         * tests/check/libs/gstnetclientclock.c:
14171         * tests/check/libs/gstnettimeprovider.c:
14172         * tests/check/libs/libsabi.c: (libsabi_suite):
14173         * tests/check/libs/typefindhelper.c:
14174         * tests/check/pipelines/cleanup.c:
14175         * tests/check/pipelines/parse-launch.c:
14176         * tests/check/pipelines/simple-launch-lines.c:
14177         * tests/check/pipelines/stress.c: (stress_suite):
14178           use the new macro
14179
14180 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14181
14182         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14183         * libs/gst/check/gstcheck.h:
14184           create a macro and function so that the simple unit test
14185           case can be just one macro to create main()
14186
14187 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14188
14189         * gst/gstbin.c: (gst_bin_restore_thyself):
14190         * gst/gstxml.c: (gst_xml_make_element):
14191           Fix deserialisation from XML. Set parent manually
14192           instead of using gst_bin_add(), since gst_bin_add()
14193           will unlink all pads of the element being added.
14194           Fixes #341667.
14195
14196 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14197
14198         Patch by: Peter Kjellerstedt <pkj at axis com>
14199
14200         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14201           Fix missing g_strdup() and double free when using the
14202           --gst-plugin-load command line option (#346097).
14203
14204 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14205
14206         * gst/gstinfo.c:
14207           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14208
14209         * libs/gst/net/gstnetclientclock.c:
14210         * libs/gst/net/gstnettimeprovider.c:
14211           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14212
14213 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14214
14215         * docs/manual/advanced-dataaccess.xml:
14216           Fix buffer probe example compilation in
14217           ADM (#345708).
14218         
14219 2006-06-22  Edward Hervey  <edward@fluendo.com>
14220
14221         * gst/gstelement.c: (gst_element_pads_activate):
14222         We need to deactivate src pads first and then sink pads.
14223         The reason is the src pads might be blocking while holding the streaming
14224         lock, so we need to deactivate them first so that deactivating the sink
14225         pads doesn't block (since it will require the streaming lock).
14226
14227 2006-06-22  Wim Taymans  <wim@fluendo.com>
14228
14229         * libs/gst/base/gstbasetransform.c:
14230         (gst_base_transform_buffer_alloc):
14231         Forgot to remove two unneeded unrefs.
14232         Simplify a check _is_equal allready checks the obvious case.
14233
14234 2006-06-22  Wim Taymans  <wim@fluendo.com>
14235
14236         * docs/design/part-block.txt:
14237         Some docs about what pad_block should do.
14238
14239 2006-06-22  Wim Taymans  <wim@fluendo.com>
14240
14241         * gst/gstcaps.c: (gst_caps_replace):
14242         Fix crasher when passed NULL. Doc clarification.
14243         Optimize for the trivial case.
14244
14245         * gst/gstpipeline.c: (gst_pipeline_change_state):
14246         Small cleanups.
14247
14248         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14249         Small documentation cleanup.
14250
14251         * libs/gst/base/gstbasetransform.c:
14252         (gst_base_transform_buffer_alloc):
14253         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14254         is what we need and it avoids a whole lot of redundant 
14255         refcount operations.
14256
14257 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14258
14259         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14260
14261         * docs/manual/advanced-dataaccess.xml:
14262           Fix 'Embedding static elements' section to use
14263           GST_PLUGIN_DEFINE_STATIC (#345607).
14264
14265 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14266
14267         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14268           Attempt to 'fix' spuriously failing test case: it seems like the
14269           timeout of half a second is simply too small when the system is under
14270           load otherwise, and the timeout doesn't really seem to serve any
14271           particular purpose here. Give the pipeline a few seconds to preroll
14272           first, and then give it another half a second to go from PAUSED to
14273           PLAYING and marshal the message into the main thread.
14274
14275 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14276
14277         * tools/gst-feedback-m.m:
14278           Don't only use unversioned tools, try versioned tools as well
14279           (#345086).
14280
14281 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14282
14283         * gst/gstbus.c: (gst_bus_class_init):
14284           Fix some typos, make docs more explicit.
14285
14286 2006-06-20  Wim Taymans  <wim@fluendo.com>
14287
14288         * tests/check/gst/gstghostpad.c: (block_callback),
14289         (GST_START_TEST), (gst_ghost_pad_suite):
14290         Added some more ghostpad tests, mainly blocking
14291         and probes.
14292
14293 2006-06-16  Wim Taymans  <wim@fluendo.com>
14294
14295         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14296         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14297         (gst_file_sink_event), (gst_file_sink_render):
14298         * plugins/elements/gstfilesink.h:
14299         Check if we can seek in the file instead of assuming
14300         we always can. Post an error when we are asked to seek in a
14301         non-seekable file (like a fifo). Fixes #343312.
14302         Some cleanups.
14303
14304 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14305
14306         * tools/gst-launch.1.in:
14307           Un-garble (fourcc) bit in filtered caps section.
14308
14309 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14310
14311         * docs/manual/advanced-autoplugging.xml:
14312         * docs/manual/basics-helloworld.xml:
14313         * docs/manual/highlevel-components.xml:
14314           Don't leak bus reference in sample code.
14315
14316 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14317
14318         * autogen.sh:
14319           Add default for new --enable-plugin-docs switch.
14320
14321         * configure.ac:
14322           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14323           Fixes #344039.
14324
14325         * docs/Makefile.am:
14326           Use new ENABLE_PLUGIN_DOCS conditional.
14327
14328 2006-06-14  Wim Taymans  <wim@fluendo.com>
14329
14330         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14331         Make it clear with a FIXME and a real define what the #if 0
14332         previously disabled.
14333
14334 2006-06-14  Wim Taymans  <wim@fluendo.com>
14335
14336         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14337         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14338         * libs/gst/base/gstbasetransform.c:
14339         (gst_base_transform_sink_eventfunc):
14340         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14341         Don't randomly and silently reset a segment when the format 
14342         changes as this is a bug somewhere upstream. Fixes #330379.
14343
14344 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14345
14346         Patch by: Wouter Paesen  <wouter at kangaroot net>
14347
14348         * libs/gst/controller/gstcontroller.c:
14349         (gst_controlled_property_new):
14350           Fix controlling of float properties (#344849).
14351
14352         * tests/check/libs/controller.c:
14353         (gst_test_mono_source_get_property),
14354         (gst_test_mono_source_set_property),
14355         (gst_test_mono_source_class_init), (GST_START_TEST):
14356           While we're at it, add some float stuff to unit test.
14357
14358 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14359
14360         * docs/README:
14361         * docs/images/gdp-header.svg:
14362           add a gdp image
14363         * docs/libs/Makefile.am:
14364         * docs/libs/gdp-header.png:
14365         * libs/gst/dataprotocol/dataprotocol.c:
14366           add it to the API docs
14367         * docs/manual/intro-motivation.xml:
14368           fix typo
14369
14370 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14371
14372         * gst/gst.c: (scan_and_update_registry), (init_post):
14373           If the fork()'ed child process can't write the updated registry cache
14374           file to disk for some reason, make it exit with a failure exit code,
14375           so that the parent can then re-scan the plugins itself and update the
14376           registry structures in memory and work with that (rather than failing
14377           when creating elements because seemingly no plugins are available).
14378           Refactor registry scanning code into separate function for this and
14379           also separate fork() and non-fork() code paths. Fixes #344748.
14380
14381 2006-06-13  Wim Taymans  <wim@fluendo.com>
14382
14383         * docs/manual/advanced-dataaccess.xml:
14384         Fix wrong PluginDesc. Fixes #344755.
14385
14386 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14387
14388         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14389           Fix silly bug that prevented us from creating
14390           ~/.gstreamer-0.10 and writing the registry in one
14391           go (the first call to g_mkstemp() would overwrite the
14392           placeholder in the template string, so the second call
14393           to g_mkstemp() after creating the missing directory
14394           would then error out with 'invalid argument').
14395
14396 2006-06-13  Edward Hervey  <edward@fluendo.com>
14397
14398         * gst/gst.c: (init_post):
14399         Free string.
14400
14401 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14402
14403         * gst/glib-compat-private.h:
14404         * gst/glib-compat.c:
14405         * gst/glib-compat.h:
14406         * gst/gstvalue.c: (gst_value_serialize_flags):
14407           remove GLib 2.6 compatibility code
14408
14409 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14410
14411         * gst/parse/Makefile.am:
14412           Fix build with 'make -j N' even more (#340016).
14413
14414 2006-06-12  Wim Taymans  <wim@fluendo.com>
14415
14416         * docs/gst/gstreamer-sections.txt:
14417         Fix docs.
14418
14419 2006-06-12  Wim Taymans  <wim@fluendo.com>
14420
14421         * gst/gstsegment.c: (gst_segment_set_duration),
14422         (gst_segment_set_last_stop), (gst_segment_set_seek),
14423         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14424         (gst_segment_to_running_time), (gst_segment_clip):
14425         Use G_UNLIKELY to help the compiler a bit.
14426
14427 2006-06-12  Wim Taymans  <wim@fluendo.com>
14428
14429         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14430
14431         * gst/gstevent.c: (gst_event_get_type):
14432         * gst/gstmessage.c:
14433         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14434         (gst_pad_push):
14435         constify quark registration strings. Fixes #344115
14436         Avoid unneeded type checking is _pad_push() by internally
14437         calling gst_pad_chain_unchecked().
14438
14439 2006-06-12  Wim Taymans  <wim@fluendo.com>
14440
14441         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14442         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14443         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14444         (gst_buffer_is_span_fast), (gst_buffer_span):
14445         Init _type for consistency.
14446         Use _FLAGS macro to avoid type check.
14447         Avoid unneeded type checks in subbufer code.
14448
14449 2006-06-12  Wim Taymans  <wim@fluendo.com>
14450
14451         * gst/gst.c: (gst_debug_help):
14452         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14453         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14454         (gst_plugin_feature_list_free):
14455         * gst/gstregistry.c: (gst_registry_add_plugin),
14456         (gst_registry_add_feature), (gst_registry_plugin_filter),
14457         (gst_registry_feature_filter), (gst_registry_find_plugin),
14458         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14459         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14460         * gst/gstregistryxml.c: (load_feature),
14461         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14462         * gst/gstminiobject.c: (gst_mini_object_unref),
14463         (gst_mini_object_replace), (gst_value_mini_object_free),
14464         (gst_value_mini_object_copy):
14465         Use _CAST macros to avoid unneeded type checking.
14466         Added some more G_UNLIKELY.
14467
14468 2006-06-12  Wim Taymans  <wim@fluendo.com>
14469
14470         * gst/gstbuffer.h:
14471         Avoid unneeded type checking.
14472         API: GST_BUFFER_IS_DISCONT
14473
14474         * gst/gstminiobject.h:
14475         Avoid type check in flag accessor.
14476
14477         * gst/gstelementfactory.h:
14478         * gst/gstplugin.h:
14479         * gst/gstpluginfeature.h:
14480         Add _CAST macros.
14481         API: GST_ELEMENT_FACTORY_CAST
14482         API: GST_PLUGIN_CAST
14483         API: GST_PLUGIN_FEATURE_CAST
14484
14485 2006-06-12  Wim Taymans  <wim@fluendo.com>
14486
14487         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14488         (gst_object_unref):
14489         Add G_UNLIKELY in type registration.
14490         Avoid type check in _ref/_unref since that is also
14491         done in glib.
14492
14493 2006-06-12  Wim Taymans  <wim@fluendo.com>
14494
14495         * gst/gsterror.c: (gst_g_error_get_type):
14496         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14497         (gst_static_pad_template_get_type):
14498         * gst/gsttaglist.c: (gst_tag_list_get_type):
14499         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14500         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14501         * gst/gsturi.c: (gst_uri_handler_get_type):
14502         * gst/gstvalue.c: (gst_date_get_type):
14503         * gst/gstxml.c: (gst_xml_get_type):
14504         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14505         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14506         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14507         Add G_UNLIKELY in type registration.
14508
14509 2006-06-12  Wim Taymans  <wim@fluendo.com>
14510
14511         * tools/gst-inspect.c: (print_signal_info):
14512         Properly print enum values.
14513
14514 2006-06-12  Wim Taymans  <wim@fluendo.com>
14515
14516         * gst/gstinfo.c: (gst_debug_set_active),
14517         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14518         * gst/gstinfo.h:
14519         Add some G_[UN]LIKELY.
14520         Maintain __gst_debug_min to avoid formatting the arguments of
14521         debug messages that will be dropped anyway to avoid a lot of 
14522         overhead from the debugging system.
14523
14524 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14525
14526         * po/POTFILES.in:
14527         * po/POTFILES.skip:
14528           add missing files containing translatable strings, tell intltool about
14529           one exception
14530
14531 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14532
14533         * tests/check/libs/.cvsignore:
14534         add test-binary to ignore list
14535
14536 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14537
14538         * docs/libs/gstreamer-libs-docs.sgml:
14539         reorder (put dp into a chapter) and indent
14540
14541 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14542
14543         * configure.ac:
14544           back to HEAD
14545
14546 === release 0.10.8 ===
14547
14548 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14549
14550         * configure.ac:
14551           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14552
14553 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14554
14555         * gst/gst.c: (init_post):
14556           move pid declaration to declaration block
14557
14558 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14559
14560         * gst/gst.c: (init_post):
14561           use _exit() instead of exit() in our forked child; this ensures
14562           that none of the registered exit handlers from whatever is using
14563           GStreamer get executed.  This fixes gnome-mixer-applet failing
14564           to load, because ORBit would shut down.
14565           Spotted by: Edward Hervey  <edward@fluendo.com>
14566           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14567           Fixes #344474
14568
14569 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14570
14571         * configure.ac:
14572           back to TRUNK
14573
14574 === release 0.10.7 ===
14575
14576 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14577
14578         * configure.ac:
14579           releasing 0.10.7, "Soepeke, ik zie ou"
14580
14581 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14582
14583         * configure.ac:
14584         * po/af.po:
14585         * po/az.po:
14586         * po/bg.po:
14587         * po/ca.po:
14588         * po/cs.po:
14589         * po/de.po:
14590         * po/en_GB.po:
14591         * po/fr.po:
14592         * po/it.po:
14593         * po/nb.po:
14594         * po/nl.po:
14595         * po/ru.po:
14596         * po/sq.po:
14597         * po/sr.po:
14598         * po/sv.po:
14599         * po/tr.po:
14600         * po/uk.po:
14601         * po/vi.po:
14602         * po/zh_CN.po:
14603         * po/zh_TW.po:
14604         * win32/common/config.h:
14605           0.10.6.2 prerelease
14606
14607 2006-06-07  Wim Taymans  <wim@fluendo.com>
14608
14609         * gst/gstindex.c: (gst_index_gtype_resolver):
14610         * tools/gst-xmlinspect.c: (print_plugin_info):
14611         Fix leak spotted by coverity checker. Fixes #343827
14612         Fix another other leak found by paolo borelli.
14613
14614 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14615
14616         * libs/gst/dataprotocol/dataprotocol.c:
14617         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14618         (gst_dp_version_get_type), (gst_dp_init),
14619         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14620         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14621         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14622         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14623         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14624         (gst_dp_packetizer_free):
14625         * libs/gst/dataprotocol/dataprotocol.h:
14626           API: add a GstDPPacketizer object, and create/free functions
14627           API: add GstDPVersion enum
14628           Add 1.0 event function that uses the string serialization
14629           Serialize more useful buffer flags
14630           Fixes #343988
14631
14632 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14633
14634         * tests/check/Makefile.am:
14635         * tests/check/gst/gstabi.c:
14636         * tests/check/gst/struct_ppc64.h:
14637         * tests/check/libs/libsabi.c:
14638         * tests/check/libs/struct_ppc64.h:
14639           add ppc64 structure sizes
14640
14641 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14642
14643         * tests/check/Makefile.am:
14644         * tests/check/gst/gstabi.c:
14645         * tests/check/gst/struct_x86_64.h:
14646         * tests/check/libs/libsabi.c:
14647         * tests/check/libs/struct_x86_64.h:
14648           generate and add structure size lists for x86_64
14649
14650 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14651
14652         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14653         * libs/gst/check/gstcheck.h:
14654           factor out the method from tests that checks size of structures,
14655           and add code to generate the header containing these sizes
14656         * tests/check/gst/gstabi.c: (GST_START_TEST):
14657         * tests/check/gst/struct_i386.h:
14658         * tests/check/libs/libsabi.c: (GST_START_TEST):
14659         * tests/check/libs/struct_i386.h:
14660           use it
14661
14662 2006-06-06  Michael Smith  <msmith@fluendo.com>
14663
14664         * gst/gstsegment.h:
14665           Don't use c++-style comments, fixes #343929
14666
14667 2006-06-05  Edward Hervey  <edward@fluendo.com>
14668
14669         * gst/gst.c:
14670         plugin_paths is not used if we build without registry support.
14671
14672         * gst/gstsegment.c: (gst_segment_copy): 
14673         _copy() was always returning NULL...
14674
14675 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14676
14677         * libs/gst/dataprotocol/dataprotocol.c:
14678         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14679         (gst_dp_packet_from_event):
14680           factor out CRC code
14681
14682 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14683
14684         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14685           make sure we unset caps
14686
14687 2006-06-02  Michael Smith  <msmith@fluendo.com>
14688
14689         * libs/gst/check/gstcheck.c: (gst_check_init),
14690         (gst_check_chain_func):
14691         * libs/gst/check/gstcheck.h:
14692           Add a cond/mutex to the check support lib, signal this whenever we
14693           add to the buffers list. This will allow tests to not busy-wait on
14694           the buffer-list.
14695
14696 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14697
14698         * libs/gst/dataprotocol/dataprotocol.c:
14699         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14700         (gst_dp_packet_from_event):
14701           factor out some common header init code
14702
14703 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14704
14705         * docs/libs/gstreamer-libs-sections.txt:
14706         * docs/libs/tmpl/gstdataprotocol.sgml:
14707         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14708         * libs/gst/dataprotocol/dataprotocol.h:
14709           API: make gst_dp_crc() public
14710
14711 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14712
14713         * plugins/indexers/gstindexers.c: (plugin_init):
14714         conditionally register fileindexer (fixes #343598)
14715
14716 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14717
14718         * gst/gsttagsetter.h:
14719         Can't cast ifaces to a class
14720
14721         * libs/gst/net/gstnetclientclock.h:
14722         * libs/gst/net/gstnettimeprovider.h:
14723         * plugins/elements/gstfakesink.h:
14724         * plugins/elements/gstfakesrc.h:
14725         * plugins/elements/gstfdsink.h:
14726         * plugins/elements/gstfdsrc.h:
14727         * plugins/elements/gstfilesink.h:
14728         * plugins/elements/gstfilesrc.h:
14729         * plugins/elements/gstidentity.h:
14730         * plugins/elements/gstqueue.h:
14731         * plugins/elements/gsttee.h:
14732         * plugins/indexers/gstfileindex.c:
14733         * plugins/indexers/gstmemindex.c:
14734         * tests/old/examples/plugins/example.h:
14735         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14736
14737 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14738
14739         * libs/gst/dataprotocol/dataprotocol.c:
14740         (gst_dp_header_from_buffer):
14741           make sure we zero the whole ABI-compatible area
14742
14743 2006-06-01  Wim Taymans  <wim@fluendo.com>
14744
14745         Patch by: Alessandro Decina <alessandro at nnva dot org>
14746
14747         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14748         Make sure the EOS flag is cleared from pads after a flush
14749         or stop. Fixes #343538.
14750
14751         * tests/check/libs/collectpads.c: (GST_START_TEST),
14752         (gst_collect_pads_suite):
14753         Added test for collectpads reusage after EOS.
14754
14755 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14756
14757         * gst/gst.c:
14758          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14759         * win32/common/libgstbase.def:
14760          export gst_collect_pads_set_flushing
14761         * win32/common/libgstreamer.def:
14762          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14763          gst_value_fraction_multiply
14764         * win32/vs6/gst_inspect.dsp:
14765          add a link to intl.lib
14766
14767 2006-05-30  Wim Taymans  <wim@fluendo.com>
14768
14769         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14770         (gst_collect_pads_chain):
14771         Handle the case where a pad is removed from the collection
14772         that could cause the other pads to become collectable.
14773
14774 2006-05-30  Wim Taymans  <wim@fluendo.com>
14775
14776         * gst/gstelement.c:
14777         Clarify the use of _release_request_pad() and
14778         _get_request_pad() a bit better.
14779
14780         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14781         (gst_adapter_take_buffer):
14782         Fix some doc and comment typos.
14783
14784 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14785
14786         * docs/gst/gstreamer-sections.txt:
14787         * docs/libs/gstreamer-libs-sections.txt:
14788           add declared symbols
14789
14790 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14791
14792         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14793         Add debug that can be enabled using a #define at the top of the file,
14794         for dumping stats about how late/early we were when waking up from
14795         waiting on the clock.
14796
14797 2006-05-30  Wim Taymans  <wim@fluendo.com>
14798
14799         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14800         When rebuilding the pad list, don't leak the previous list.
14801
14802 2006-05-30  Wim Taymans  <wim@fluendo.com>
14803
14804         Patch by: Lutz Mueller <lutz at topfrose dot de>
14805
14806         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14807         (gst_base_src_get_query_types), (gst_base_src_update_length):
14808         Publish supported query types.
14809         Update last_stop field in get_range mode so the position
14810         query works. Fixes #342321.
14811
14812 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14813
14814         * docs/gst/gstreamer-sections.txt:
14815         * gst/gsttaglist.c: (_gst_tag_initialize):
14816         * gst/gsttaglist.h:
14817           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14818
14819 2006-05-30  Wim Taymans  <wim@fluendo.com>
14820
14821         Patch by: Alessandro Decina <alessandro at nnva dot org>
14822
14823         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14824         Unlock mutex when removing an unknown pad.
14825         Fixes #343334.
14826
14827         * tests/check/Makefile.am:
14828         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14829         (push_event), (setup), (teardown), (GST_START_TEST),
14830         (gst_collect_pads_suite), (main):
14831         Added collecpads check, disabled for now as check crashes for
14832         some reason.
14833
14834 2006-05-29  Wim Taymans  <wim@fluendo.com>
14835
14836         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14837         Don't leak pads lists.
14838
14839 2006-05-29  Wim Taymans  <wim@fluendo.com>
14840
14841         * docs/libs/gstreamer-libs-sections.txt:
14842         * libs/gst/base/gstcollectpads.c:
14843         (gst_collect_pads_set_flushing_unlocked),
14844         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14845         (gst_collect_pads_stop):
14846         * libs/gst/base/gstcollectpads.h:
14847         API: gst_collect_pads_set_flushing()
14848         Added api to set the pads to flushing, useful for seeking
14849         code in elements using collectpads.
14850         Clear segment when receiving a flush.
14851
14852 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14853
14854         * gst/gst.c: (add_path_func), (init_post):
14855           Don't scan registry paths passed via --gst-plugin-path immediately
14856           (will crash, because absolutely nothing is set up and no types are
14857           registered etc.); do this later in init_post(). Fixes #343057.
14858
14859 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14860
14861         * gst/gst.c: (init_post):
14862           if we have fork, fork while reading/rebuilding the registry
14863           so the parent doesn't take the hit of having all plugins loaded
14864           in memory.  Fixes #342777.
14865         * configure.ac:
14866           Check if we have fork()
14867         * win32/common/config.h.in:
14868           no fork() on win32
14869
14870 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14871
14872         * plugins/elements/gstelements.c:
14873         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14874         (gst_file_src_init), (gst_file_src_set_property),
14875         (gst_file_src_get_property), (gst_file_src_start):
14876         * plugins/elements/gstfilesrc.h:
14877           API: GstFileSrc::use-mmap
14878
14879         Add a use-mmap property to enable easier testing of all code paths.
14880         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14881         in the absence of gnomevfssrc. (Closes #340501)
14882
14883 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14884
14885         * tools/gst-inspect.c:
14886         Add missing include, removes warning of ngettext not being defined on
14887         some arches.
14888
14889 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14890
14891         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14892         Handle NULL input and output pointers silently as a failed conversion,
14893         rather than g_warnings.
14894
14895 2006-05-25  Wim Taymans  <wim@fluendo.com>
14896
14897         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14898         Initialize variable before using. Fixes #342820.
14899
14900 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14901
14902         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14903           Fix off-by-one bug that would only allow peeks of N-1 bytes
14904           from the start even if the buffer to typefind on contains
14905           in fact N bytes of data (makes vorbis typefinding from a
14906           vorbis identification header buffer work).
14907
14908         * tests/check/Makefile.am:
14909         * tests/check/libs/.cvsignore:
14910         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14911         (gst_typefindhelper_suite), (main), (foobar_typefind),
14912         (plugin_init):
14913           Add very basic unit test for gst_type_find_helper_for_buffer()
14914           that checks for the problem fixed above.
14915
14916 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14917
14918         * tools/gst-inspect.c: (print_interfaces),
14919         (print_element_properties_info), (print_element_list), (main):
14920           add more translatable strings
14921
14922 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14923
14924         Patch by: Julien Moutte  <julien at moutte net>
14925
14926         * docs/gst/gstreamer-sections.txt:
14927           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14928           
14929         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14930         (gst_fake_sink_preroll):
14931         * plugins/elements/gstfakesink.h:
14932           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14933
14934 2006-05-23  Wim Taymans  <wim@fluendo.com>
14935
14936         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14937         * gst/gstpad.h:
14938         Added _CUSTOM error and success GstFlowReturn that can be
14939         used be elements internally. 
14940         Added macro to check for SUCCESS flowreturns.
14941         API: GST_FLOW_CUSTOM_SUCCESS
14942         API: GST_FLOW_CUSTOM_ERROR
14943         API: GST_FLOW_IS_SUCCESS
14944
14945         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14946         Added check for GstFlowReturn sanity.
14947
14948 2006-05-23  Wim Taymans  <wim@fluendo.com>
14949
14950         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14951
14952         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14953         (gst_collect_pads_event):
14954         clear/reset segment info in FLUSH_STOP.
14955         Fixes #336929.
14956
14957 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14958
14959         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14960         (gst_collect_pads_check_collected):
14961         Flush queued buffer on _stop(), fixes playing again (#342454)
14962
14963 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14964
14965         * tests/check/gst/gststructure.c: (GST_START_TEST),
14966         (gst_structure_suite):
14967           add a test for a complete structure
14968
14969 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14970
14971         * docs/faq/developing.xml:
14972         * docs/faq/faq.xml:
14973         * docs/faq/troubleshooting.xml:
14974         * docs/faq/using.xml:
14975           Some minor FAQ updates that won't change the fact that
14976           our FAQ is badly structured, full of information hardly
14977           anyone new to GStreamer needs to know and lacking lots
14978           of information people constantly ask for.
14979           
14980 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14981
14982         * gst/gstpad.c: (gst_pad_set_caps):
14983           Short-circuit gst_pad_set_caps if setting the existing
14984           caps pointer again, and avoid printing debug and 
14985           reffing/unreffing the caps.
14986
14987         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14988           There's actually no need to set the caps before pushing -
14989           the acceptcaps method will handle it anyway.
14990
14991 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14992
14993         * docs/gst/gstreamer-sections.txt:
14994         * win32/common/libgstreamer.def:
14995         * gst/gstutils.c: (gst_element_seek_simple):
14996         * gst/gstutils.h:
14997           API: add gst_element_seek_simple() (#342238).
14998
14999 2006-05-18  Edward Hervey  <edward@fluendo.com>
15000
15001         * gst/gsttypefind.c: (gst_type_find_get_type):
15002         * gst/gsttypefind.h:
15003         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15004         registered for GstTypeFind pointers. This allows wrapping the structure
15005         in bindings (i.e. gst-python).
15006
15007 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15008
15009         * gst/gsttagsetter.c:
15010           Docs additions and fixes (see #339918).
15011
15012 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15013
15014         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15015         The caps intersection algorithm can produce multiple copies of the
15016         caps. Until that is fixed, we need to simplify the result to be
15017         sure whether the allowed caps are fixed or not.
15018
15019         * plugins/elements/gstqueue.c: (gst_queue_init),
15020         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15021         (gst_queue_push_one):
15022         Proxied buffer alloc should not set the caps on the source pad.
15023         When pushing buffers, we always accept the caps change that triggers.
15024         This prevents negotiation errors caused by caps changing mid-stream 
15025         and then being refused on our source pad (because upstream is now
15026         refusing those caps).
15027
15028 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15029
15030         * tests/examples/helloworld/helloworld.c: (main):
15031           Must plug audioconvert and audioresample between decoder
15032           and audio sink.
15033
15034 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15035
15036         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15037         (load_feature), (load_plugin):
15038         Allow empty strings for some of the plugin fields so we don't 
15039         drop valid plugin entries that were written out correctly
15040         (Fixes #341479)
15041
15042 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15043         
15044         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15045           Use g_remove and g_rename instead of remove and rename that don't 
15046           handle utf8 characters. rename was failing for users who had specific
15047           characters in their name then the registry was built at each 
15048           gstreamer init.
15049         * win32/vs6/gst_inspect.dsp:
15050         * win32/vs6/gst_launch.dsp:
15051         * win32/vs6/libgstbase.dsp:
15052         * win32/vs6/libgstcoreelements.dsp:
15053         * win32/vs6/libgstreamer.dsp:
15054           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15055           build of libgstreamer and clean unused libraries in projects link 
15056           settings.
15057
15058 2006-05-17  Edward Hervey  <edward@fluendo.com>
15059
15060         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15061         The queue is not responsible for pushing an EOS when receiving a fatal
15062         flow error. It's up to the real element driving the pipeline to do that.
15063
15064 2006-05-16  Edward Hervey  <edward@fluendo.com>
15065
15066         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15067         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15068         buffer returned a fatal error. It should just send an EOS and stop
15069         its task.
15070         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15071         when pushing buffers on the queue and will be able to handle the event.
15072
15073 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15074
15075         * docs/manual/basics-bins.xml:
15076         * docs/manual/basics-init.xml:
15077           Fix typos and minor errors in sample code (#341856).
15078
15079 2006-05-16  Wim Taymans  <wim@fluendo.com>
15080
15081         * docs/design/part-qos.txt:
15082         Fix indexes in formulas to make more sense.
15083
15084 2006-05-15  Wim Taymans  <wim@fluendo.com>
15085
15086         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15087         Don't report POSITION based on clock time if sync is
15088         disabled in a sink.
15089
15090 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15091
15092         * gst/gstobject.h:
15093           Add cast to make compiler happy - refcount variable was a gint
15094           in GstObject but is a guint in GObject and g_atomic_int_get()
15095           wants a gint *.
15096
15097 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15098
15099         * gst/parse/Makefile.am:
15100           chain commands using &&, which also makes parallel make work
15101
15102 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15103
15104         * docs/gst/gstreamer-sections.txt:
15105         * gst/gstevent.c:
15106         * gst/gstevent.h:
15107         * gst/gstmessage.h:
15108           Minor docs fixes.
15109
15110 === release 0.10.6 ===
15111
15112 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15113
15114         * configure.ac:
15115           releasing 0.10.6, "Take the cannoli"
15116
15117 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15118
15119         * tools/gst-launch.c: (print_tag):
15120           Fix use of uninitialized variable in the hypothetical
15121           case that some broken plugin creates a GST_TAG_IMAGE
15122           tag containing a NULL buffer (#341667).
15123
15124 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15125
15126         * tools/gst-launch.c: (print_tag):
15127           Print something more intelligible for image tags when
15128           using the -t switch (#341556).
15129
15130 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15131
15132         * Makefile.am:
15133           updates for win32
15134         * configure.ac:
15135           define GST_MAJORMINOR so we have it available in win32/common/config.h
15136           Possibly remove it from our Makefile.am files later
15137         * win32/common/config.h:
15138         * win32/common/config.h.in:
15139           added GST_MAJORMINOR
15140         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15141         * win32/common/gstversion.h:
15142           updated
15143
15144 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15145
15146         * win32/MANIFEST:
15147           Update win32 files listing.
15148         * win32/common/gstversion.h:
15149           Add GST_MAJORMINOR definition.
15150         * win32/common/libgstreamer.def:
15151           Add new exported functions.
15152           
15153 2006-05-12  Michael Smith  <msmith@fluendo.com>
15154
15155         * gst/gstplugin.c: (gst_plugin_load_file):
15156           If an so file has no plugin entry point, unload the module.
15157
15158 2006-05-11  Wim Taymans  <wim@fluendo.com>
15159
15160         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15161         (gst_queue_set_property):
15162         Don't forget to signal the _chain or _loop function 
15163         when the queue size or thresholds change since that might
15164         cause them to make progres again.
15165
15166 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15167
15168         * gst/gstclock.c: (gst_clock_class_init):
15169         * gst/gstindex.c: (gst_index_class_init):
15170         * gst/gstobject.c: (gst_object_class_init):
15171         * gst/gstpad.c: (gst_pad_class_init):
15172         * gst/gstpipeline.c: (gst_pipeline_class_init):
15173         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15174         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15175         * libs/gst/base/gstbasetransform.c:
15176         (gst_base_transform_class_init):
15177         * libs/gst/net/gstnetclientclock.c:
15178         (gst_net_client_clock_class_init):
15179         * libs/gst/net/gstnettimeprovider.c:
15180         (gst_net_time_provider_class_init):
15181         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15182         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15183         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15184         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15185         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15186         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15187         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15188         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15189         * plugins/elements/gsttee.c: (gst_tee_class_init):
15190         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15191         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15192           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15193
15194 2006-05-11  Wim Taymans  <wim@fluendo.com>
15195
15196         * gst/gstbuffer.c: (_gst_buffer_initialize):
15197         Register subbufer along with the buffer type so that
15198         it does not accidentally gets registered from N
15199         different streaming threads in a non threadsafe way.
15200
15201 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15202
15203         * gst/gstbuffer.h:
15204         * gst/gstevent.h:
15205         * gst/gstmessage.h:
15206           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15207           gst_event_ref() and gst_message_ref() functions again
15208           (ugly hack, please do fix if there's a better way besides
15209           overrides.txt, which doesn't seem to work).
15210
15211 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15212
15213         * libs/gst/check/gstcheck.h:
15214           add an assert for setting state to avoid lots of repetitive code
15215           in the future
15216
15217 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15218
15219         * gst/gstvalue.c: (gst_value_serialize_flags):
15220           fix a leak if no flags are set
15221         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15222           fix leak in tests
15223
15224 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15225
15226         * docs/manual/basics-pads.xml:
15227           Expand a bit on caps and filtered links and update
15228           examples that were still using the no longer existing
15229           gst_pad_link_filtered() (#338206).
15230
15231 2006-05-10  Wim Taymans  <wim@fluendo.com>
15232
15233         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15234         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15235         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15236         (gst_collect_pads_stop):
15237         * libs/gst/base/gstcollectpads.h:
15238         No need to call _stop in _finalize.
15239         Iterate the main pad list in _finalize.
15240         Added some more debug.
15241         Free lists and data in the right order.
15242         Also free data whem doing _remove_pad when stopped for
15243         backward compatibility protect ::started with PAD_LOCK as
15244         well.
15245
15246 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15247
15248         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15249         (gst_structure_parse_value):
15250           add some comments
15251           rename a method so that it actually says what it does better
15252
15253 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15254
15255         * gst/gstevent.c: (_gst_event_initialize):
15256         * gst/gstformat.c: (_gst_format_initialize):
15257           make sure some essential types used by events are registered
15258           as part of gst_init()
15259         * gst/gstvalue.c: (gst_value_serialize_flags):
15260           if no flags are set, serialize them to a value that represents NONE
15261           so that deserializing them works
15262         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15263           add tests for serialization and deserialization of flags
15264
15265 2006-05-10  Wim Taymans  <wim@fluendo.com>
15266
15267         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15268         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15269         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15270         (gst_collect_pads_event), (gst_collect_pads_chain):
15271         Update docs.
15272         Better debug info.
15273         Catch and return errors from the collect function
15274         Refuse data on eos pads.
15275
15276 2006-05-10  Edward Hervey  <edward@fluendo.com>
15277
15278         * gst/gstinterface.h:
15279         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15280         GInterface type checking.
15281         They were previously using non-defined macros.
15282
15283 2006-05-09  Wim Taymans  <wim@fluendo.com>
15284
15285         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15286         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15287         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15288         (gst_collect_pads_start), (gst_collect_pads_stop),
15289         (gst_collect_pads_peek), (gst_collect_pads_pop),
15290         (gst_collect_pads_available), (gst_collect_pads_read),
15291         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15292         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15293         (gst_collect_pads_chain):
15294         * libs/gst/base/gstcollectpads.h:
15295         Clean up the mess that is collectpads, add comments and
15296         FIXMEs where needed.
15297         Maintain a separate pad list so we can add pads while
15298         collecting the other ones. For this we need a new separate 
15299         lock (see comics).
15300         Fix memory leak in finalize.
15301         Refactor some weird code to set/unset pad flushing flags, mark
15302         with comments.
15303         Don't crash in _available, _read, _flush when we're EOS.
15304
15305         * tests/check/libs/.cvsignore:
15306         Ignore adapter check binary.
15307
15308 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15309
15310         * gst/gstindex.c: (gst_index_resolver_get_type):
15311         * plugins/elements/gstfakesink.c:
15312         (gst_fake_sink_state_error_get_type):
15313         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15314         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15315         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15316           Const-ify GEnumValue arrays.
15317
15318 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15319
15320         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15321           Add test case for flags + gst_buffer_make_metadata_writable().
15322
15323 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15324
15325         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15326           gst_buffer_make_metadata_writable() should maintain the
15327           buffer flags (those that make sense at least) (see #340859).
15328
15329 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15330
15331         * tools/gst-inspect.c:
15332         * tools/gst-launch.c:
15333         * tools/gst-typefind.c:
15334         * tools/gst-xmlinspect.c:
15335         * tools/tools.h:
15336           Fix up includes: need to include stdlib.h in tools.h for exit().
15337
15338 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15339
15340         * gst/gsttaglist.c: (_gst_tag_initialize):
15341         * gst/gsttaglist.h:
15342           API: add GST_TAG_IMAGE tag (#340721).
15343
15344 2006-05-08  Wim Taymans  <wim@fluendo.com>
15345
15346         * gst/gstquery.c:
15347         Added some docs for the segment query.
15348
15349 2006-05-08  Wim Taymans  <wim@fluendo.com>
15350
15351         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15352         (gst_base_src_loop), (gst_base_src_change_state):
15353         Always push non-flushing serialized events in the streaming 
15354         thread.
15355
15356 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15357
15358         * gst/gsterror.c: (_gst_stream_errors_init):
15359           Add a missing error string.
15360
15361 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15362
15363         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15364         Add applied_rate to the debug
15365
15366         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15367         Copy applied_rate into the outgoing NEWSEGMENT event
15368
15369 2006-05-08  Wim Taymans  <wim@fluendo.com>
15370
15371         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15372
15373         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15374         (gst_base_sink_change_state):
15375         call ::unlock before taking the PREROLL_LOCK so we can safely
15376         handle elements that lock in ::render.
15377         Fixes #340174.
15378
15379 2006-05-08  Edward Hervey  <edward@fluendo.com>
15380
15381         * autogen.sh: (CONFIGURE_DEF_OPT): 
15382         Darwin's libtoolize is in fact called glibtoolize.
15383         Adding glibtoolize to the list of accepted names for libtoolize.
15384
15385 2006-05-08  Wim Taymans  <wim@fluendo.com>
15386
15387         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15388         Unify error handling, don't post an error message
15389         when a push() returns EOS but perform our normal EOS
15390         handling code. Fixes #340772.
15391
15392 2006-05-08  Wim Taymans  <wim@fluendo.com>
15393
15394         * docs/design/part-overview.txt:
15395         Make upsteam/downstream concepts more clear.
15396         Give an example of serialized/non-serialized events.
15397
15398         * docs/design/part-events.txt:
15399         * docs/design/part-streams.txt:
15400         Mention applied_rate.
15401
15402         * docs/design/part-trickmodes.txt:
15403         Mention applied rate, flesh out some more use cases.
15404
15405         * gst/gstevent.c: (gst_event_new_new_segment),
15406         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15407         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15408         (gst_event_parse_tag), (gst_event_new_buffer_size),
15409         (gst_event_parse_buffer_size), (gst_event_new_qos),
15410         (gst_event_parse_qos), (gst_event_parse_seek),
15411         (gst_event_new_navigation):
15412         * gst/gstevent.h:
15413         Add applied_rate field to NEWSEGMENT event.
15414         API: gst_event_new_new_segment_full()
15415         API: gst_event_parse_new_segment_full()
15416
15417         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15418         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15419         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15420         * gst/gstsegment.h:
15421         Add applied_rate to GstSegment structure.
15422         Make calculation of stream_time and running_time more correct
15423         wrt rate/applied_rate.
15424         Add some more docs.
15425         API: GstSegment::applied_rate field
15426         API: gst_segment_set_newsegment_full();
15427
15428         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15429         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15430         * libs/gst/base/gstbasetransform.c:
15431         (gst_base_transform_sink_eventfunc),
15432         (gst_base_transform_handle_buffer):
15433         Parse and use applied_rate in the GstSegment field.
15434
15435         * tests/check/gst/gstevent.c: (GST_START_TEST):
15436         Add check for applied_rate field.
15437
15438         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15439         (gstsegments_suite):
15440         Add more checks for various GstSegment operations.
15441
15442 2006-05-08  Wim Taymans  <wim@fluendo.com>
15443
15444         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15445         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15446         (gst_base_sink_get_position), (gst_base_sink_change_state):
15447         Store the sync time of the buffer end position separatly in a
15448         new variable eos_rtime so we can properly sync the EOS event.
15449         Fixes #340697.
15450         Fix the docs for gst_base_sink_set_qos_enabled().
15451         Don't set segment start to invalid value when we receive a 
15452         non TIME newsegment.
15453         get closer to handling position reporting for negative rates 
15454         correctly.
15455
15456 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15457
15458         * gst/gstcaps.c:
15459         Docs about how to print caps for debug purposes.
15460
15461         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15462         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15463
15464 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15465
15466         * gst/gstelement.c:
15467           use full enum names and preprend a '%' in docs strings to make recent 
15468           gtk-doc turn that into a link
15469
15470 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15471
15472         * docs/manual/basics-bins.xml:
15473         * docs/manual/basics-bus.xml:
15474         * docs/manual/basics-pads.xml:
15475           Some typo fixes, some additions, some clarifications. 
15476
15477 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15478
15479         * tools/gst-inspect.c: (main):
15480         * tools/gst-launch.c: (main):
15481         * tools/gst-run.c: (main):
15482         * tools/gst-typefind.c: (main):
15483         * tools/gst-xmlinspect.c: (main):
15484           Use the string passed to g_option_context_new() for
15485           what it's intended for - the program name is already
15486           printed elsewhere.
15487
15488 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15489
15490         * tools/Makefile.am:
15491         * tools/gst-inspect.c: (main):
15492         * tools/gst-launch.c: (main):
15493         * tools/gst-xmlinspect.c: (main):
15494         * tools/tools.h:
15495           Add back --version command line option (#340460).
15496
15497         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15498           Add --version option and use GOption for argument parsing; refactor a
15499           bit; accept directories as arguments and recurse into them; lastly,
15500           print a decent error message when things go wrong.
15501
15502 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15503
15504         * docs/manual/basics-bins.xml:
15505         Don't mention GstThread (#340611)
15506         * docs/manual/basics-elements.xml:
15507         Update link to GObject tutorial (#340607)
15508         
15509 2006-05-05  Wim Taymans  <wim@fluendo.com>
15510
15511         * gst/gstbuffer.h:
15512         * gst/gstminiobject.c:
15513         Add note about refcounting and miniobject/buffer writeability
15514         to docs. Fixes #340604
15515
15516         * gst/gstelementfactory.h:
15517         Added some explanation about @klass.
15518
15519 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15520
15521         * docs/manual/intro-motivation.xml:
15522         * docs/manual/manual.xml:
15523         Avoid CORBA & Bonobo references (#340598)
15524
15525 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15526
15527         * docs/manual/basics-bus.xml:
15528         * docs/manual/basics-pads.xml:
15529         Fix up some inaccuracies and omissions (#340609)
15530         
15531 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15532
15533         * gst/gstghostpad.c:
15534           Small typo in docs (#340625)
15535
15536 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15537
15538         * gst/parse/Makefile.am:
15539           Make 'make -j' proof (see #340698).
15540
15541 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15542
15543         * configure.ac:
15544           Require GLib-2.8 here as well.
15545
15546 2006-05-05  Wim Taymans  <wim@fluendo.com>
15547
15548         * gst/glib-compat.c:
15549         * gst/gst.c: (init_pre):
15550         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15551         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15552         (gst_object_dispatch_properties_changed):
15553         * gst/gstobject.h:
15554         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15555         * gst/gststructure.c: (gst_structure_set_valist):
15556         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15557         Remove pre glib2.8 compatibility, fixes #340508
15558
15559 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15560
15561         * gst/gsttaglist.h:
15562           Mention type of tags in doc blurbs.
15563
15564 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15565
15566         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15567         (gst_pad_configure_src), (gst_pad_push):
15568         Restore acceptcaps checking behaviour now that good plugins have
15569         been released.
15570
15571 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15572
15573         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15574
15575         * gst/gst.c:
15576         * gst/gstbus.c:
15577         * gst/gstclock.c:
15578         * gst/gstevent.c:
15579         * gst/gstformat.c:
15580         * gst/gstmessage.c:
15581         * gst/gstparse.c:
15582         * gst/gstquery.c:
15583         * gst/gstutils.c:
15584         * gst/parse/Makefile.am:
15585         * libs/gst/base/gstadapter.c:
15586         * libs/gst/base/gstbasesrc.c:
15587         * libs/gst/base/gstpushsrc.c:
15588         * libs/gst/base/gsttypefindhelper.c:
15589         * plugins/elements/gstfakesrc.c:
15590         * plugins/elements/gstidentity.c:
15591           Make sure gstprivate.h and/or config.h are
15592           always included first, otherwise some of our
15593           defines (like _FILE_OFFSET_BITS) might be
15594           redefined in the system headers. Fixes build
15595           on opensolaris (#340016).
15596
15597 2006-05-04  Wim Taymans  <wim@fluendo.com>
15598
15599         * docs/libs/gstreamer-libs-sections.txt:
15600         API: addition: gst_adapter_take_buffer()
15601         
15602         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15603         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15604         (gst_adapter_available_fast):
15605         * libs/gst/base/gstadapter.h:
15606         Prepare for optimizing the hell out of this hugely inefficient
15607         piece of code. 
15608         Added gst_adapter_take_buffer() so we can at least start thinking
15609         about subbuffering and merging.
15610         Added some comments.
15611
15612         * tests/check/Makefile.am:
15613         * tests/check/libs/adapter.c: (GST_START_TEST),
15614         (gst_adapter_suite), (main):
15615         Added GstAdapter check.
15616
15617 2006-05-04  Wim Taymans  <wim@fluendo.com>
15618
15619         * docs/design/part-overview.txt:
15620         Fix some typos, add blurb about buffer flags.
15621
15622 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15623
15624         * docs/libs/gstreamer-libs-sections.txt:
15625           make sure GstBaseTransformClass shows up in the docs
15626         * libs/gst/base/gstbasetransform.c:
15627         * libs/gst/base/gstbasetransform.h:
15628           move docs so gtk-doc picks it up now
15629
15630 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15631
15632         * docs/libs/gstreamer-libs-sections.txt:
15633           add missing symbols to docs
15634
15635 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15636
15637         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15638           back out the newsegment handling change, see #340060 for ongoing
15639           discussion
15640
15641 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15642
15643         * tools/gst-run.c: (get_candidates), (main):
15644           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15645           work); fix typo in error message. Fixes #340079.
15646
15647 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15648
15649         * common/Makefile.am:
15650         * docs/Makefile.am:
15651         * docs/faq/Makefile.am:
15652         * docs/gst/Makefile.am:
15653         * docs/libs/Makefile.am:
15654         * docs/manual/Makefile.am:
15655         * docs/plugins/Makefile.am:
15656         * docs/pwg/Makefile.am:
15657         * docs/slides/Makefile.am:
15658         * docs/upload.mak:
15659         * common/upload.mak:
15660           move upload.mak to common
15661
15662 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15663
15664         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15665           add more asserts on refcounts
15666           do more cleanup at end of tests
15667           fix test leaks showing in FC5
15668
15669 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15670
15671         * plugins/elements/gsttypefindelement.c:
15672         (gst_type_find_element_handle_event):
15673         reverted wrong change and reflowed code to avoid others falling into
15674         this trap
15675
15676 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15677
15678         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15679           fix changelog entry about last collectpads change,
15680           add notes about proper fix
15681
15682 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15683
15684         * gst/gst.c:
15685         * gst/gstregistry.c: (gst_registry_scan_path_level),
15686         (gst_registry_scan_path):
15687         * gst/gstregistry.h:
15688           only write out registry if it has changed, fixes #338339
15689
15690 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15691
15692         * gst/gstbin.c:
15693         * gst/gstpipeline.c:
15694         * plugins/elements/gstcapsfilter.c:
15695         * plugins/elements/gstfakesink.c:
15696         * plugins/elements/gstfakesrc.c:
15697         * plugins/elements/gstfdsink.c:
15698         * plugins/elements/gstfdsrc.c:
15699         * plugins/elements/gstfilesink.c:
15700         * plugins/elements/gstfilesrc.c:
15701         * plugins/elements/gstidentity.c:
15702         * plugins/elements/gstqueue.c:
15703         * plugins/elements/gsttee.c:
15704         * plugins/elements/gsttypefindelement.c:
15705         (gst_type_find_element_handle_event):
15706           make GstElementDetails const
15707
15708 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15709
15710         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15711         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15712         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15713           more detailed debug and formatting cleanup,
15714           forward newsegments to src-pad (so that e.g. adder not eats them)
15715
15716 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15717
15718         * gst/gstutils.c: (gst_element_link_pads):
15719           cleanup double code
15720
15721 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15722
15723         * libs/gst/controller/gstcontroller.c:
15724         (gst_controller_sync_values):
15725           some little tuning
15726         * tests/check/libs/controller.c: (GST_START_TEST),
15727         (gst_controller_suite):
15728           a new test for live value handling
15729
15730 2006-04-28  Wim Taymans  <wim@fluendo.com>
15731
15732         * gst/gstutils.c: (push_and_ref):
15733         Added some more docs.
15734         Fix refcount issue whith gst_element_found_tags() helper 
15735         function. Fixes #338335
15736
15737         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15738         Added testsuite for gst_element_found_tags().
15739
15740 2006-04-28  Michael Smith  <msmith@fluendo.com>
15741
15742         * gst/gstvalue.c: (gst_value_serialize_flags):
15743           Avoid NULL dereference when trying to serialize flags containing
15744           invalid values.
15745
15746 2006-04-28  Michael Smith  <msmith@fluendo.com>
15747
15748         * plugins/elements/gsttypefindelement.c:
15749         (gst_type_find_element_handle_event):
15750           If we get EOS before any data is accumulated, don't use
15751           uninitialised local variables.
15752
15753 2006-04-28  Michael Smith  <msmith@fluendo.com>
15754
15755         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15756         (gst_dp_event_from_packet):
15757           Fixes in reading/writing events over GDP (not currently used?) - 
15758           dereferencing NULL events for unknown/invalid event types, memory
15759           leak, and change g_warning to GST_WARNING.
15760
15761 2006-04-28  Wim Taymans  <wim@fluendo.com>
15762
15763         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15764         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15765         (gst_base_sink_get_position), (gst_base_sink_change_state):
15766         When frame dropping is enabled, we should not ignore frames
15767         without a duration.
15768         Update some documentation.
15769
15770 2006-04-28  Wim Taymans  <wim@fluendo.com>
15771
15772         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15773         (gst_base_src_send_event), (gst_base_src_change_state):
15774         Documentation updates.
15775
15776 2006-04-28  Wim Taymans  <wim@fluendo.com>
15777
15778         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15779         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15780         handle EAGAIN, EINTR and short writes correctly. Also clean
15781         up some error cases, avoid a deadlock on bad file descriptors and
15782         use GST_DEBUG_OBJECT.
15783         Fixes #339843
15784
15785 2006-04-28  Wim Taymans  <wim@fluendo.com>
15786
15787         * gst/gstvalue.c: (gst_value_serialize_buffer),
15788         (gst_value_deserialize_buffer):
15789         Don't try to serialize a GValue with a NULL buffer. 
15790         Fixes #339821.
15791
15792         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15793         Added check for serialisation of NULL buffers.
15794
15795 2006-04-28  Wim Taymans  <wim@fluendo.com>
15796
15797         * gst/gstminiobject.c: (gst_value_take_mini_object):
15798         Taking a NULL miniobject is valid, fix the case where
15799         we try to unref the NULL miniobject.
15800
15801 2006-04-28  Wim Taymans  <wim@fluendo.com>
15802
15803         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15804
15805         * gst/gstbin.c: (gst_bin_handle_message_func):
15806         Update docs.
15807         Don't leak bin refcount when a state recalc is
15808         in progress and we delay another one #339808.
15809
15810 2006-04-28  Wim Taymans  <wim@fluendo.com>
15811
15812         * docs/design/part-TODO.txt:
15813         Mention QoS as an ongoing work item.
15814
15815         * docs/design/part-buffering.txt:
15816         New doc about buffering that needs to be fleshed out
15817         at some point.
15818
15819         * docs/design/part-qos.txt:
15820         More QoS policy for decoders/demuxers/transforms
15821
15822         * docs/design/part-trickmodes.txt:
15823         Small update.
15824
15825 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15826
15827         * configure.ac:
15828           back to HEAD
15829
15830 === release 0.10.5 ===
15831
15832 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15833
15834         * configure.ac:
15835           releasing 0.10.5, "Fogo"
15836
15837 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15838
15839         patch by: Wim Taymans
15840
15841         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15842         (gst_pad_configure_src), (gst_pad_push):
15843         * gst/gstpipeline.c: (gst_pipeline_init):
15844           Fix internal data flow errors.  Fixes #338711.
15845
15846 2006-04-12  Wim Taymans  <wim@fluendo.com>
15847
15848         * tests/check/gst/gstelement.c: (GST_START_TEST):
15849         Don't leak the factory.
15850
15851 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15852
15853         * configure.ac:
15854         * win32/common/config.h:
15855           prerelease
15856
15857 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15858
15859         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15860         (gst_controller_unset_all):
15861           Free allocated GstTimedValues when freeing list nodes.
15862           Should fix leaks 'make check-valgrind' complains about.
15863
15864         * win32/common/libgstcontroller.def:
15865           Add gst_controller_unset_all.
15866
15867 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15868
15869         * docs/libs/gstreamer-libs-sections.txt:
15870         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15871         (gst_controller_unset_all):
15872         * libs/gst/controller/gstcontroller.h:
15873         API: Added new method gst_controller_unset_all()
15874         fixed gst_controller_unset()
15875         * tests/check/libs/controller.c: (GST_START_TEST),
15876         (gst_controller_suite):
15877         Added two testcases for new and fixed method
15878
15879 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15880
15881         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15882           MSG_DONTWAIT is not defined on Cygwin, so work
15883           around that (fixes #317048).
15884           
15885 2006-04-11  Wim Taymans  <wim@fluendo.com>
15886
15887         * gst/gstelementfactory.c: (gst_element_register),
15888         (gst_element_factory_create), (gst_element_factory_make):
15889         Some cleanups.
15890         Fixed a FIXME.
15891         Updated docs (Fixes #131079)
15892
15893         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15894         Small cleanups.
15895
15896         * tests/check/gst/gstelement.c: (GST_START_TEST),
15897         (gst_element_suite):
15898         Added testcase for elementfactory class field.
15899
15900 2006-04-10  Wim Taymans  <wim@fluendo.com>
15901
15902         * gst/gstsegment.c:
15903         Added some more docs.
15904
15905         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15906         (gst_base_sink_reset_qos):
15907         Calculate more accurate rate values.
15908
15909 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15910
15911         * gst/gst_private.h:
15912           add a new #ifdef to use __declspec(dllimport) only for
15913           other modules and not for gstreamer core
15914         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15915           use gst_guint64_to_gdouble for conversion
15916         * win32/common/libgstreamer.def:
15917           add new exported functions
15918         * win32/vs6/gst_inspect.dsp:
15919         * win32/vs6/gst_launch.dsp:
15920         * win32/vs6/libgstbase.dsp:
15921         * win32/vs6/libgstcontroller.dsp:
15922         * win32/vs6/libgstcoreelements.dsp:
15923         * win32/vs6/libgstdataprotocol.dsp:
15924         * win32/vs6/libgstnet.dsp:
15925           update project files
15926
15927 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15928
15929         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15930         * gst/gstclock.c: (gst_clock_class_init):
15931         * gst/gstelement.c: (gst_element_class_init):
15932         * gst/gstindex.c: (gst_index_class_init):
15933         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15934         * gst/gstobject.c: (gst_object_class_init),
15935         (gst_signal_object_class_init):
15936         * gst/gstpad.c: (gst_pad_class_init):
15937         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15938         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15939         * gst/gstregistry.c: (gst_registry_class_init):
15940         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15941         * gst/gsttask.c: (gst_task_class_init):
15942         * gst/gstxml.c: (gst_xml_class_init):
15943         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15944         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15945         (gst_base_src_loop):
15946         * libs/gst/controller/gstcontroller.c:/
15947         (_gst_controller_class_init):
15948         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15949         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15950         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15951         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15952         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15953         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15954
15955 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15956
15957         * gst/gstpad.c: (gst_pad_link):
15958           Must set peer pads before calling the link function, otherwise
15959           a task started from a link function might get a flow-not-linked
15960           result when trying to push because the other thread where the
15961           linking happens hasn't had a chance to set the peers yet. This
15962           might happen for example when a queue gets linked to a downstream
15963           element, as queue starts a streaming task when its source pad
15964           gets linked. Happens in real life when playing back flac/musepack
15965           files in playbin (#332390).
15966           
15967 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15968
15969         * gst/gstindex.h:
15970         * gst/gstxml.h:
15971         * libs/gst/base/gstadapter.h:
15972         * libs/gst/base/gstbasesink.h:
15973         * libs/gst/base/gstbasesrc.h:
15974         * libs/gst/base/gstbasetransform.h:
15975         * libs/gst/base/gstcollectpads.h:
15976         * libs/gst/base/gstpushsrc.h:
15977         Fix broken GObject macros
15978
15979 2006-04-07  Wim Taymans  <wim@fluendo.com>
15980
15981         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15982         Initialize start and stop times, thanks valgrind.
15983
15984 2006-04-07  Wim Taymans  <wim@fluendo.com>
15985
15986         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15987         Be a bit nicer to badly behaving upstream elements that expect
15988         us to deal with non TIME segments and timestamps (such as fakesrc
15989         in the testsuite).
15990
15991 2006-04-07  Wim Taymans  <wim@fluendo.com>
15992
15993         * gst/gstbus.c:
15994         Small documentation clarification about the signal watch.
15995
15996         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15997         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15998         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15999         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16000         (gst_base_sink_get_position_last),
16001         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16002         Convert and store timestamps in stream time and running time, the
16003         raw timestamps are not useful, also document this better.
16004         Use different window sizes for good and bad QoS observations so
16005         we react to badness a little quicker.
16006         Keep track of the amount of rendered and dropped buffers.
16007         Send QoS timestamps in running time.
16008
16009         * libs/gst/base/gstbasetransform.c:
16010         (gst_base_transform_sink_eventfunc),
16011         (gst_base_transform_handle_buffer):
16012         Compare QoS timestamps against running time.
16013
16014 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16015
16016         * gst/gstpad.c:
16017           Typo fixes in docs.
16018
16019 2006-04-06  Michael Smith  <msmith@fluendo.com>
16020
16021         * gst/gstpad.c: (gst_pad_set_property):
16022           Use g_value_get_object() instead of g_value_dup_gst_object(),
16023           to avoid double-reffing the pad template (which we then sink,
16024           so this worked previously if (and only if) the pad template
16025           was floating.
16026
16027         * gst/gstpadtemplate.c: (gst_pad_template_init),
16028         (gst_pad_template_pad_created):
16029           Never return floating references to pad templates, create
16030           them as initially-sunken.
16031
16032           Document an extra function (and make this stop sinking our
16033           pad template, since that is now guaranteed to do nothing,
16034           since we created it sunken).
16035
16036         * gst/gstghostpad.c:
16037           Fix docs typo.
16038
16039 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16040
16041         * gst/gstinfo.c: (__gst_in_valgrind):
16042           Add some newlines.
16043
16044         * plugins/elements/gsttypefindelement.c:
16045         (gst_type_find_element_chain):
16046           Don't leak buffer caps.
16047
16048 2006-04-06  Michael Smith  <msmith@fluendo.com>
16049
16050         * gst/parse/grammar.y:
16051           Fix a leak in parse-launch for any source-or-sink named element 
16052           references used.
16053
16054         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16055           Unref the pipeline if it exists after we've failed parsing.
16056
16057 2006-04-05  Michael Smith  <msmith@fluendo.com>
16058
16059         * gst/gstpipeline.c: (gst_pipeline_init):
16060           When we create a pipeline bus, initially create it in flushing mode.
16061           Fixes leaks in at least one test, and makes a new pipeline work the
16062           same as one that has gone to READY and then back to NULL.
16063
16064         * gst/gstelement.c:
16065           Typo fix in docs.
16066
16067 2006-04-05  Michael Smith  <msmith@fluendo.com>
16068
16069         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16070           Unref a pad we reffed.
16071         * tests/check/gst/gstutils.c: (GST_START_TEST):
16072           Unref bins
16073
16074 2006-04-05  Michael Smith  <msmith@fluendo.com>
16075
16076         * gst/gstquery.c: (gst_query_set_formats),
16077         (gst_query_set_formatsv):
16078           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16079
16080 2006-04-05  Michael Smith  <msmith@fluendo.com>
16081
16082         * tests/check/generic/sinks.c: (GST_START_TEST):
16083           Fix a variety of memleaks in sinks check, which are only sometimes 
16084           shown by running the tests under valgrind (weird?).
16085
16086 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16087
16088         * docs/version.entities.in:
16089           Fix the substituted entity name after thomas' changes on the
16090           weekend.
16091
16092 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16093
16094         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16095         VALGRIND_PRINTF
16096         
16097 2006-04-05  Andy Wingo  <wingo@pobox.com>
16098
16099         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16100
16101         * libs/gst/base/gstbasetransform.c
16102         (gst_base_transform_sink_eventfunc): When resetting our segment on
16103         FLUSH_STOP, also update the flag saying we haven't seen a
16104         newsegment.
16105
16106 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16107
16108         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16109
16110         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16111         (gst_plugin_check_license):
16112           minor clean-ups: G_DEFINE_TYPE already takes care of the
16113           parent_class stuff, no need to do it twice. Mark array of
16114           license strings as constant. (#337103)
16115           
16116 2006-04-04  Michael Smith  <msmith@fluendo.com>
16117
16118         * tools/gst-inspect.c: (print_element_list):
16119           Free the right plugin list; fixes a memory leak.
16120
16121 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16122
16123         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16124
16125         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16126           Don't error out on empty buffers (#336945).
16127           
16128 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16129
16130         * docs/libs/gstreamer-libs-sections.txt:
16131         * gst/gsttaglist.c:
16132         * libs/gst/base/gstbasesink.c:
16133         * libs/gst/base/gstbasesink.h:
16134         * libs/gst/base/gstbasesrc.c:
16135         * libs/gst/base/gstbasesrc.h:
16136           Documentation updates. Make BaseSink and BaseSrc docs contain the
16137           class structure so that people can actually see the prototypes for
16138           virtual functions they're supposed to be overriding.
16139
16140 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16141
16142         * plugins/elements/gsttypefindelement.c:
16143         (gst_type_find_element_chain):
16144           More debug info; when skipping typefinding, send cached
16145           events in all cases.
16146
16147 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16148
16149         * configure.ac:
16150           use new AS_VERSION and AS_NANO macros
16151         * gst/gst-i18n-lib.h:
16152         * gst/gst.c:
16153         * gst/gsterror.c:
16154         * gst/gstversion.h.in:
16155         * win32/common/config.h:
16156         * win32/common/config.h.in:
16157           update accordingly
16158
16159 2006-03-31  Michael Smith  <msmith@fluendo.com>
16160
16161         * plugins/elements/gsttypefindelement.c:
16162         (gst_type_find_element_chain):
16163           Do not typefind content if the buffers already have caps.
16164           Neccesary for icydemux (#333657), and the right thing to do anyway.
16165
16166 2006-03-30  Wim Taymans  <wim@fluendo.com>
16167
16168         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16169         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16170         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16171         (gst_base_sink_record_qos_observation),
16172         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16173         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16174         (gst_base_sink_change_state):
16175         More QoS measurements as described in the design doc.
16176         Get rid of ringbuffer with observations, running average is
16177         more simple and equally good.
16178         Calculates valid proportion now.
16179         Added beginning of flood measurement.
16180
16181 2006-03-29  Wim Taymans  <wim@fluendo.com>
16182
16183         * docs/design/part-qos.txt:
16184         * gst/gstclock.c:
16185         Small documentation updates and additions.
16186
16187 2006-03-29  Wim Taymans  <wim@fluendo.com>
16188
16189         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16190         (gst_base_src_send_event), (gst_base_src_loop),
16191         (gst_base_src_change_state):
16192         Perform the EOS logic when we reach the segment stop position.
16193         Fix compilation on gcc4.1
16194
16195 2006-03-29  Wim Taymans  <wim@fluendo.com>
16196
16197         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16198
16199         * plugins/elements/gstqueue.c: (gst_queue_init),
16200         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16201         (gst_queue_set_property):
16202         * plugins/elements/gstqueue.h:
16203         In queue, when EOS is received, if minimum threshold > max_size -
16204         current_level, there is chance that queue blocks forever in conditional
16205         item del wait. This is because the queue is not emptied completely due
16206         to minimum threshold.  Here is another approach. Instead of setting
16207         cur_levels to max in EOS, just zero all minimum threshold levels. This
16208         should make sure that queue gives out all data. When going to READY
16209         (stop) state, just reset the original minimum threshold levels.
16210         Fixes #336336.
16211
16212 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16213
16214         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16215         (gst_type_find_element_handle_event),
16216         (gst_type_find_element_send_cached_events),
16217         (gst_type_find_element_change_state):
16218         * plugins/elements/gsttypefindelement.h:
16219           When typefinding is done in push mode, we should cache
16220           events we receive during typefinding instead of just
16221           dropping them (e.g. newsegment, custom events from
16222           dvdreadsrc etc.) and then send them out once we've
16223           determined the type of the stream (and decodebin
16224           has had a chance to plug in a decoder/demuxer).
16225           
16226 2006-03-27  Wim Taymans  <wim@fluendo.com>
16227
16228         * docs/design/part-qos.txt:
16229         First QoS ideas.
16230
16231 2006-03-27  Wim Taymans  <wim@fluendo.com>
16232
16233         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16234
16235         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16236         (gst_base_src_send_event), (gst_base_src_change_state):
16237         Handle element seek correctly when we are streaming.
16238         Fixes #326998.
16239
16240 2006-03-24  Michael Smith  <msmith@fluendo.com>
16241
16242         * docs/faq/gst-uninstalled:
16243           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16244           allow you to correctly run intalled applications built against old 
16245           core, using plugins that require updated core (e.g. running
16246           installed totem against a full uninstalled gstreamer stack)
16247
16248 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16249
16250         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16251         more debug details
16252
16253 2006-03-24  Wim Taymans  <wim@fluendo.com>
16254
16255         * docs/gst/gstreamer-sections.txt:
16256         Rearrange the order of the methods so that related methods
16257         are grouped together in sections.
16258
16259 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16260
16261         * gst/gstelement.c:
16262           Little clarification in the docs
16263
16264 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16265
16266         * docs/README:
16267         formatting fix
16268         * plugins/elements/gstidentity.c:
16269         * plugins/elements/gstqueue.c:
16270         * plugins/elements/gsttee.c:
16271         * plugins/elements/gsttypefindelement.c:
16272         GST_ELEMENT_DETAILS formatting
16273
16274 2006-03-24  Wim Taymans  <wim@fluendo.com>
16275
16276         * libs/gst/base/gstbasesink.h:
16277         Only add fields, not insert or we break ABI.
16278
16279 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16280
16281         * win32/common/libgstbase.def:
16282         * win32/common/libgstreamer.def:
16283           Update, add recently added functions.
16284
16285 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16286
16287         * docs/gst/gstreamer-sections.txt:
16288         * gst/gstutils.c: (gst_pad_query_peer_position),
16289         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16290         * gst/gstutils.h:
16291           API: add some new utility functions:
16292            - gst_pad_query_peer_position()
16293            - gst_pad_query_peer_duration()
16294            - gst_pad_query_peer_convert()
16295           
16296 2006-03-23  Wim Taymans  <wim@fluendo.com>
16297
16298         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16299         (gst_base_sink_init), (gst_base_sink_finalize),
16300         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16301         (gst_base_sink_set_property), (gst_base_sink_get_property),
16302         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16303         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16304         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16305         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16306         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16307         (gst_base_sink_preroll_object), (gst_base_sink_event),
16308         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16309         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16310         (gst_base_sink_query), (gst_base_sink_change_state):
16311         Decouple max-lateness and the fact that QoS messages are generated
16312         with a new property (qos).
16313         added API: GstBaseSink::async_play()
16314         Add vmethod so subclasses can be notified of ASYNC playing
16315         state changes.
16316         Collect timestamp start and stop to report better current
16317         position in EOS/PLAYING/PAUSED/READY/NULL.
16318         Refactor QoS/frame dropping and other measurements.
16319         API: GstBaseSrc::qos
16320         Fixes #326311
16321
16322         * libs/gst/base/gstbasesink.h:
16323         Added Private struct.
16324         API: gst_base_sink_set_qos_enabled()
16325         API: gst_base_sink_is_qos_enabled()
16326
16327 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16328
16329         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16330           If compiling against GLib-2.8 or newer, try to read the
16331           registry file using GMappedFile first before falling back
16332           to fopen() + fread() (#332151).
16333
16334 2006-03-22  Wim Taymans  <wim@fluendo.com>
16335
16336         * gst/gstinfo.c: (gst_debug_set_active),
16337         (gst_debug_category_set_threshold):
16338         Disable debugging unless explicitly activated.
16339         Fixes #335480.
16340
16341 2006-03-22  Wim Taymans  <wim@fluendo.com>
16342
16343         * gst/gstelement.c: (gst_element_set_locked_state),
16344         (gst_element_dispose):
16345         Cleanup the error case.
16346
16347         * gst/gstobject.c: (gst_object_dispose):
16348         print a critical when some object was disposed with
16349         a parent, also revive the object since it might
16350         crash the parent.
16351
16352 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16353
16354         * tools/gst-launch.1.in:
16355           Fix another typo.
16356
16357 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16358
16359         * configure.ac:
16360         * tests/check/Makefile.am:
16361           disable some tests when we don't have a registry
16362         * tests/check/gst/gstutils.c: (gst_utils_suite):
16363           don't build the part that needs parsing
16364
16365 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16366
16367         * gst/Makefile.am
16368         * tests/examples/Makefile.am:
16369           fix --disable-parse build
16370
16371 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16372
16373         * tools/gst-feedback.1.in:
16374           Fix typo: s/feeback/feedback/ (#133494).
16375
16376 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16377
16378         * tools/Makefile.am:
16379         * tools/gst-launch.1.in:
16380           Add FILES section and correct entry about GST_REGISTRY_PATH
16381           environment variable (#133495; #133494).
16382
16383 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16384
16385         * tools/Makefile.am:
16386         * tools/gst-md5sum.1.in:
16387         * tools/gst-md5sum.c:
16388           Remove gst-md5sum and man page (the md5sink element
16389           required was removed ages ago)
16390
16391 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16392
16393         * gst/gststructure.c: (gst_structure_id_set_value):
16394           Make sure that string fields in structures/taglists
16395           contain valid UTF-8 - we don't want to pass rubbish to
16396           applications because of a buggy plugin (cp. #334167).
16397
16398 2006-03-21  Edward Hervey  <edward@fluendo.com>
16399
16400         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16401         (gst_bin_handle_message_func):
16402         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16403         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16404         (gst_element_set_bus_func):
16405         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16406         * gst/gstminiobject.c: (gst_value_set_mini_object),
16407         (gst_value_take_mini_object):
16408         * gst/gstpad.c: (gst_pad_set_pad_template):
16409         * gst/gstpipeline.c: (gst_pipeline_dispose),
16410         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16411         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16412         (gst_collect_pads_chain):
16413         * libs/gst/net/gstnettimeprovider.c:
16414         (gst_net_time_provider_set_property):
16415         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16416         It's in fact all issues with gst_*object_replace().
16417
16418 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16419
16420         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16421         
16422         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16423         * pkgconfig/gstreamer-check.pc.in:
16424           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16425
16426 2006-03-21  Edward Hervey  <edward@fluendo.com>
16427
16428         * gst/gstbuffer.h:
16429         * gst/gstevent.h:
16430         * gst/gstmessage.h:
16431         gst_[buffer|event|message]_ref() macros are replaced by a static
16432         inline functions because gcc-4.1 will about if the return value
16433         isn't used.
16434         * tests/check/gst/gstevent.c: (event_probe):
16435         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16436
16437 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16438
16439         * gst/gstutils.h:
16440         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16441         the type' case. (Closes: #335195 for now). In the future, when we
16442         depend on GLib 2.10, we could also intern the type name using
16443         g_intern_static_string()
16444
16445 2006-03-20  Wim Taymans  <wim@fluendo.com>
16446
16447         * gst/gstbin.c: (gst_bin_handle_message_func),
16448         (bin_query_max_init), (bin_query_position_fold),
16449         (bin_query_position_done), (gst_bin_query):
16450         Position query should also take max of all streams.
16451
16452 2006-03-20  Wim Taymans  <wim@fluendo.com>
16453
16454         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16455         (gst_fake_src_finalize):
16456         Fix leaks in fakesrc.
16457
16458         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16459         Fix leaks in the testcase.
16460
16461 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16462
16463         * gst/gst_private.h:
16464           add win32 specific import decoration(__declspec(dllimport)) 
16465           for all extern GstDebugCategory * variables
16466         * win32/common/libgstbase.def:
16467         * win32/common/libgstcontroller.def:
16468         * win32/common/libgstreamer.def:
16469           Add some exports, remove empty lines
16470         * win32/common/libgstdataprotocol.def:
16471         * win32/common/libgstdataprotocol.dsp:
16472         * win32/common/libgstnet.def:
16473         * win32/common/libgstnet.dsp:
16474           new project files and exportation files added
16475         
16476 2006-03-19  Wim Taymans  <wim@fluendo.com>
16477
16478         * tests/check/libs/basesrc.c: (eos_event_counter):
16479         Use proper return value for probe.
16480
16481 2006-03-17  Wim Taymans  <wim@fluendo.com>
16482
16483         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16484         (gst_pad_push):
16485         Don't leak buffers, caps and pads on negotiation errors.
16486
16487 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16488
16489         * docs/faq/cvs.xml:
16490         * docs/faq/dependencies.xml:
16491         * docs/faq/developing.xml:
16492         * docs/faq/faq.xml:
16493         * docs/faq/general.xml:
16494         * docs/faq/getting.xml:
16495         * docs/faq/legal.xml:
16496         * docs/faq/troubleshooting.xml:
16497         * docs/faq/using.xml:
16498         Faq review and update.
16499
16500 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16501
16502         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16503         (gst_pad_push):
16504         Don't pound the cpu to pieces by checking get_caps when accept_caps
16505         is called with the same caps as the pad already has.
16506         Use GST_DEBUG_OBJECT when outputting caps change information.
16507
16508 2006-03-15  Wim Taymans  <wim@fluendo.com>
16509
16510         * gst/gstclock.c: (gst_clock_class_init):
16511         Fix docs.
16512
16513 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16514
16515         * gst/gstbuffer.h:
16516         Documentation fix.
16517
16518         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16519         (gst_pad_accept_caps), (gst_pad_configure_sink),
16520         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16521         Make the default acceptcaps behaviour be to check the requested 
16522         caps against the gst_pad_get_caps output. 
16523
16524         Ensure that gst_pad_accept_caps is used to check caps when a pad
16525         doesn't have a setcaps function, so that pads automatically refuse 
16526         caps that they don't allow in their pad template. (Fixes #332986)
16527
16528         When a buffer with attached caps is pushed, ensure that the source 
16529         pad receives those caps even if the element didn't call
16530         gst_pad_set_caps first.
16531
16532 2006-03-15  Wim Taymans  <wim@fluendo.com>
16533
16534         * libs/gst/base/gstadapter.c:
16535         Add some docs.
16536
16537 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16538
16539         * win32/common/libgstbase.def:
16540         * win32/common/libgstcontroller.def:
16541         * win32/common/libgstreamer.def:
16542           Add a whole bunch of missing functions (#334434).
16543
16544 2006-03-14  Wim Taymans  <wim@fluendo.com>
16545
16546         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16547         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16548         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16549         Better debug info when we receive a segment event.
16550         Reorganize a bit so we can pass the get_times() results around.
16551         Use the segment format when calculating the running time.
16552         Don't do QoS is sync is disabled or we have no clock or the
16553         element does not want us to sync to the clock.
16554         Don't drop buffers if QoS is disabled for now.
16555
16556 2006-03-14  Wim Taymans  <wim@fluendo.com>
16557
16558         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16559         Marked the stats property as unimplemented so people don't get
16560         wild ideas.
16561         Add debug message when regression goes wrong.
16562         Added some more docs.
16563
16564 2006-03-14  Wim Taymans  <wim@fluendo.com>
16565
16566         * gst/gstsegment.c: (gst_segment_to_stream_time):
16567         Return correct return type in case of errors.
16568
16569 2006-03-14  Wim Taymans  <wim@fluendo.com>
16570
16571         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16572           Don't segfault on invalid formats.
16573
16574 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16575
16576         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16577           Can't use gst_segment_to_running_time() when the segment
16578           is not in GST_TIME_FORMAT (like with filesink, for example).
16579           Stops flac encoding pipelines from spewing critical warnings
16580           at EOS (#331248).
16581           
16582 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16583
16584         * gst/gstpipeline.c: (gst_pipeline_class_init):
16585           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16586
16587         * plugins/elements/gsttypefindelement.c:
16588         (gst_type_find_element_handle_event):
16589           Don't try to typefind empty streams.
16590
16591 2006-03-14  Wim Taymans  <wim@fluendo.com>
16592
16593         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16594         (gst_base_sink_do_qos):
16595         Separate QoS calculation.
16596         Only drop buffers when lateness is bigger than the 
16597         duration of the buffer.
16598
16599 2006-03-13  Wim Taymans  <wim@fluendo.com>
16600
16601         * gst/gstpipeline.c: (gst_pipeline_set_property),
16602         (gst_pipeline_get_property), (do_pipeline_seek),
16603         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16604         (gst_pipeline_get_delay):
16605         Don't deadlock when reading properties.
16606
16607 2006-03-13  Wim Taymans  <wim@fluendo.com>
16608
16609         * libs/gst/base/gstbasetransform.c:
16610         (gst_base_transform_class_init), (gst_base_transform_init),
16611         (gst_base_transform_sink_event),
16612         (gst_base_transform_sink_eventfunc),
16613         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16614         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16615         (gst_base_transform_set_property),
16616         (gst_base_transform_get_property),
16617         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16618         (gst_base_transform_set_qos_enabled),
16619         (gst_base_transform_is_qos_enabled):
16620         * libs/gst/base/gstbasetransform.h:
16621         Make basetransform virtual method for src events too.
16622         Handle QOS in basetransform.
16623         API: gst_base_transform_update_qos()
16624         API: gst_base_transform_set_qos_enabled()
16625         API: gst_base_transform_is_qos_enabled()
16626
16627 2006-03-13  Wim Taymans  <wim@fluendo.com>
16628
16629         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16630         (gst_base_sink_do_sync):
16631         Small cleanups.
16632         Use QOS debug category.
16633
16634 2006-03-13  Wim Taymans  <wim@fluendo.com>
16635
16636         * plugins/elements/gstqueue.c:
16637         Very small doc update.
16638
16639 2006-03-13  Wim Taymans  <wim@fluendo.com>
16640
16641         * gst/gst_private.h:
16642         * gst/gstinfo.c: (_gst_debug_init):
16643         Added QOS debug category
16644
16645 2006-03-13  Wim Taymans  <wim@fluendo.com>
16646
16647         * docs/gst/gstreamer-sections.txt:
16648         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16649         * gst/gstbin.h:
16650         * gst/gstbus.c: (gst_bus_class_init):
16651         * gst/gstbus.h:
16652         * gst/gstclock.c:
16653         * gst/gstelement.c: (gst_element_set_locked_state):
16654         * gst/gstsegment.c:
16655         Documentation updates.
16656
16657         * gst/gstpipeline.c: (gst_pipeline_get_type),
16658         (gst_pipeline_class_init), (gst_pipeline_init),
16659         (gst_pipeline_dispose), (gst_pipeline_set_property),
16660         (gst_pipeline_get_property), (do_pipeline_seek),
16661         (gst_pipeline_send_event), (gst_pipeline_change_state),
16662         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16663         (gst_pipeline_get_delay):
16664         * gst/gstpipeline.h:
16665         Added methods for setting the delay.
16666         API: gst_pipeline_set_delay()
16667         API: gst_pipeline_get_delay()
16668         Add pipeline debug category
16669         Various cleanups.
16670         Updated docs.
16671         Don't reset stream time when seek failed.
16672
16673 2006-03-13  Wim Taymans  <wim@fluendo.com>
16674
16675         * docs/design/draft-klass.txt:
16676         * docs/design/part-clocks.txt:
16677         * docs/design/part-events.txt:
16678         * docs/design/part-gstbin.txt:
16679         * docs/design/part-gstpipeline.txt:
16680         * docs/design/part-messages.txt:
16681         * docs/design/part-negotiation.txt:
16682         * docs/design/part-overview.txt:
16683         * docs/design/part-preroll.txt:
16684         * docs/design/part-seeking.txt:
16685         * docs/design/part-states.txt:
16686         * docs/design/part-streams.txt:
16687         Documentation updates.
16688
16689 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16690
16691         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16692         us to leak strings...
16693
16694 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16695
16696         * libs/gst/net/gstnettimeprovider.c:
16697           fix docs
16698         * win32/common/config.h:
16699           update
16700
16701 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16702
16703         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16704
16705         * configure.ac:
16706           Don't check for libgnomeui (leftover from old examples
16707           that aren't built or disted any longer) (#334303).
16708           
16709 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16710
16711         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16712         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16713           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16714           there's no space left on the device.
16715
16716 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16717
16718         * gst/gstclock.h:
16719           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16720           to cast the input to GstClockTime before comparing with
16721           another GstClockTime value.
16722
16723 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16724
16725         * configure.ac:
16726           back to trunk
16727
16728 === release 0.10.4 ===
16729
16730 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16731
16732         * configure.ac:
16733           releasing 0.10.4, "Light"
16734
16735 2006-03-10  Michael Smith  <msmith@fluendo.com>
16736
16737         * libs/gst/dataprotocol/dataprotocol.c:
16738           Fix docs for dataprocotol to not get the return types completely
16739           wrong for a few functions.
16740
16741 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16742
16743         * docs/gst/gstreamer-sections.txt:
16744         * gst/gstpipeline.c: (gst_pipeline_class_init),
16745         (gst_pipeline_init), (gst_pipeline_set_property),
16746         (gst_pipeline_get_property), (gst_pipeline_change_state),
16747         (gst_pipeline_set_auto_flush_bus),
16748         (gst_pipeline_get_auto_flush_bus):
16749         * gst/gstpipeline.h:
16750           Add new API: gst_pipeline_set_auto_flush_bus() and
16751           gst_pipeline_get_auto_flush_bus() to disable automatic
16752           flushing of the pipeline's GstBus when going from READY
16753           to NULL state (#332045).
16754
16755 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16756
16757         * docs/gst/gstreamer-sections.txt:
16758         * gst/gsturi.c: (gst_uri_has_protocol):
16759         * gst/gsturi.h:
16760            Add new API: gst_uri_has_protocol() (#333779).
16761
16762 2006-03-09  Wim Taymans  <wim@fluendo.com>
16763
16764         * gst/gstclock.c: (gst_clock_entry_new),
16765         (gst_clock_id_compare_func), (gst_clock_id_wait),
16766         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16767         (gst_clock_init), (gst_clock_get_internal_time),
16768         (gst_clock_set_master), (do_linear_regression),
16769         (gst_clock_add_observation), (gst_clock_set_property):
16770         * gst/gstclock.h:
16771         Review docs.
16772         Small cleanups.
16773         Fix a possible segfault when the window-size is made smaller.
16774         Calculate jitter before performing the clock wait. Ideally
16775         the clock implementation should calculate jitter but we need
16776         API breakage for that.
16777
16778         * gst/gstsystemclock.c: (gst_system_clock_init):
16779         Docs review.
16780         
16781         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16782         Remove leftover else
16783
16784         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16785         (gst_systemclock_suite):
16786         Added check to test GST_CLOCK_DIFF.
16787
16788 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16789
16790         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16791         (gst_type_find_helper_get_range):
16792           If we are provided with the size, we should implement
16793           GstTypeFind::get_length, so that typefind functions who
16794           want to can actually peek at the middle of a file.
16795
16796 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16797
16798         * docs/manual/advanced-dataaccess.xml:
16799           Add some very very basic error checking.
16800
16801         * docs/pwg/appendix-checklist.xml:
16802           Some updates to the list of things to check when writing an element.
16803
16804 2006-03-08  Wim Taymans  <wim@fluendo.com>
16805
16806         * docs/design/part-element-transform.txt:
16807         Added some docs about the design of tranform elements.
16808
16809         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16810         (gst_base_src_loop), (gst_base_src_change_state):
16811         Mark buffers with the DISCONT flag.
16812
16813 2006-03-08  Michael Smith  <msmith@fluendo.com>
16814
16815         * gst/gstregistry.h:
16816         * gst/gstregistryxml.c: (gst_registry_save),
16817         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16818         (gst_registry_xml_save_pad_template),
16819         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16820         (gst_registry_xml_write_cache):
16821           Rewrite registry-saving to avoid race conditions and check for
16822           failed writes.
16823
16824 2006-03-08  Wim Taymans  <wim@fluendo.com>
16825
16826         * libs/gst/base/gstbasetransform.c:
16827         (gst_base_transform_transform_caps),
16828         (gst_base_transform_transform_size),
16829         (gst_base_transform_prepare_output_buffer),
16830         (gst_base_transform_get_unit_size),
16831         (gst_base_transform_buffer_alloc),
16832         (gst_base_transform_handle_buffer),
16833         (gst_base_transform_change_state):
16834         Cleanups, separate normal flow from errors, add sensible
16835         DEBUG lines.
16836         Don't try to renegotiate when allocating an output buffer.
16837         Also copy DISCONT buffer flag when copying a buffer.
16838         Reset the transform after we finish streaming, not during.
16839
16840 2006-03-08  Wim Taymans  <wim@fluendo.com>
16841
16842         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16843         Use last buffer timestamp in qos message.
16844
16845 2006-03-07  Wim Taymans  <wim@fluendo.com>
16846
16847         Patch by: Christophe Fergeau
16848
16849         * docs/pwg/advanced-tagging.xml:
16850         * docs/pwg/building-pads.xml:
16851           fixes #333416
16852
16853 2006-03-07  Wim Taymans  <wim@fluendo.com>
16854
16855         * docs/libs/gstreamer-libs-sections.txt:
16856         Added basesink new methods.
16857
16858         * gst/gstevent.c:
16859         * gst/gstevent.h:
16860         Docs updates. Flesh out the QoS docs.
16861
16862         * libs/gst/base/gstadapter.c:
16863         Small doc clarification about ownership and flushing.
16864
16865         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16866         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16867         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16868         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16869         * libs/gst/base/gstbasesink.h:
16870         API additions: 
16871         Added new methods to allow subclass to control max-lateness 
16872         and sync.
16873         Generate very basic QoS events based on last sync observation.
16874         Updated docs, fix typo, added some QoS blurb.
16875
16876         * libs/gst/base/gstbasesrc.c:
16877         Remove obsolete _get_state() calls from docs.
16878
16879 2006-03-07  Wim Taymans  <wim@fluendo.com>
16880
16881         * docs/libs/gstreamer-libs-sections.txt:
16882         * libs/gst/base/gstbasetransform.h:
16883         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16884         Fix docs for GstBaseSrc.
16885
16886 2006-03-07  Wim Taymans  <wim@fluendo.com>
16887
16888         * docs/gst/gstreamer-sections.txt:
16889         * gst/gstbuffer.h:
16890         * gst/gstvalue.c:
16891         * libs/gst/base/gstbasetransform.h:
16892         Small documentation fixes.
16893
16894 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16895
16896         * gst/gstvalue.c:
16897           Document thread-unsafety of gst_value_register_foo_func()
16898           when used at the same time as gst_value_foo() (#322628).
16899
16900 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16901
16902         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16903         (gst_push_src_check_get_range):
16904           Push sources don't support pull mode by default.
16905
16906 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16907
16908         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16909         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16910         (gst_base_src_default_check_get_range):
16911         * libs/gst/base/gstbasesrc.h:
16912           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16913           provide default implementation, and rename
16914           gst_base_src_check_get_range() to
16915           gst_base_src_pad_check_get_range() for clarity.
16916
16917 2006-03-06  Wim Taymans  <wim@fluendo.com>
16918
16919         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16920         Make property overridable.
16921
16922 2006-03-06  Wim Taymans  <wim@fluendo.com>
16923
16924         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16925         (gst_base_sink_init), (gst_base_sink_set_property),
16926         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16927         * libs/gst/base/gstbasesink.h:
16928         API addition: Make max-lateness a property.
16929
16930 2006-03-06  Wim Taymans  <wim@fluendo.com>
16931
16932         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16933         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16934         Don't ever draw a frame that is >10ms late.
16935
16936 2006-03-06  Michael Smith  <msmith@fluendo.com>
16937
16938         * gst/gstmessage.c: (_gst_message_copy):
16939           When copying a message, set the parent_refcount of the enclosed
16940           structure to point at the copy, not the original message.
16941
16942 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16943
16944         Patch by: Christophe Fergeau
16945
16946         * gst/gstutils.h:
16947           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16948           usable in c++ code (#333417)
16949
16950 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16951
16952         * gst/gstclock.h:
16953           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16954
16955 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16956
16957         * libs/gst/base/gstbasetransform.c:
16958         (gst_base_transform_transform_caps):
16959           Make sure caps are writable before passing them to
16960           gst_caps_append().
16961
16962 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16963
16964         * gst/gsterror.h:
16965           Fix some minor docs errors.
16966
16967 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16968
16969           Patch by: Ross Burton <ross at burtonini dot com>
16970
16971         * gst/gsterror.c: (_gst_resource_errors_init):
16972         * gst/gsterror.h:
16973           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16974
16975 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16976
16977         * gst/gst.c:
16978         Add a check and output a g_warning when GStreamer is built
16979         against GLib 2.6 but running against 2.8 or higher, and vice 
16980         versa. (Closes: #323542)
16981
16982 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16983
16984         * gst/parse/parse.l:
16985           Commit patch for parse_launch syntax from #331255. Removes 
16986           support for quoted strings and mimetypes when writing filtered 
16987           caps. See the bug report for more details - I'm pretty sure this
16988           obscure feature is not in use by _anyone_ anywhere.
16989
16990           With this simple change, the size of the gstreamer.so here 
16991           drops from 2193KB to 1565KB.
16992
16993 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16994
16995         * plugins/elements/gsttypefindelement.h:
16996         * plugins/elements/gsttypefindelement.c:
16997         (gst_type_find_element_src_event), (start_typefinding),
16998         (stop_typefinding), (gst_type_find_element_handle_event),
16999         (gst_type_find_element_chain),
17000         (gst_type_find_element_chain_do_typefinding):
17001           Use gst_type_find_helper_for_buffer() for chain-based
17002           typefinding.
17003
17004 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17005
17006         * plugins/elements/gsttypefindelement.c:
17007         (gst_type_find_element_class_init),
17008         (gst_type_find_element_set_property),
17009         (gst_type_find_element_get_property):
17010           Deprecate "maximum" property (not only was it only taken into
17011           account for typefinding in push-mode anyway, it also was never
17012           actually possible to set it in the first place because the
17013           property was registered with the numeric property ID for the
17014           "minimum" property). Register "maximum" property correctly,
17015           for the sake of future copy'n'pasters. Remove some cruft
17016           from property get/set functions.
17017
17018 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17019
17020         * plugins/elements/gsttypefindelement.c:
17021         (gst_type_find_element_activate):
17022           Use gst_type_find_helper_get_range() here, so we
17023           can honour the "minimum" property and also emit
17024           the signal with the correct probability of the found caps.
17025
17026 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17027
17028         * docs/libs/gstreamer-libs-sections.txt:
17029         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17030         (helper_find_suggest), (gst_type_find_helper_get_range),
17031         (gst_type_find_helper):
17032         * libs/gst/base/gsttypefindhelper.h:
17033           New API: gst_type_find_helper_get_range() (#333042).
17034
17035 2006-03-02  Michael Smith  <msmith@fluendo.com>
17036
17037         * gst/gstregistryxml.c: (load_feature):
17038           Asserting on a failure to read part of the registry is Not Cool.
17039           Just log a warning and return NULL (which is already handled)
17040
17041 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17042
17043         * win32/common/libgstbase.def:
17044           added export of gst_type_find_helper_for_buffer
17045         * win32/common/libgstbase.def:
17046           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17047           gst_ghost_pad_get_target
17048
17049 2006-02-28  Wim Taymans  <wim@fluendo.com>
17050
17051         * docs/design/draft-klass.txt:
17052         We use Filter now.
17053         Added Connector to mark elements that are only used to
17054         allow pipeline connections.
17055         Moved Debug to extra feature since most of them are 
17056         functionally something else.
17057
17058 2006-02-28  Wim Taymans  <wim@fluendo.com>
17059
17060         * docs/design/draft-klass.txt:
17061         Some updates and clarifications.
17062
17063 2006-02-28  Wim Taymans  <wim@fluendo.com>
17064
17065         * docs/design/draft-klass.txt:
17066         Proposal for klass field values.
17067
17068         * docs/design/part-streams.txt:
17069         Start of a doc describing stream anatomy.
17070
17071 2006-02-28  Wim Taymans  <wim@fluendo.com>
17072
17073         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17074         Help the compiler a bit with type registration.
17075         Use existing forward cod path instead of duplicating it when 
17076         handling a message.
17077         
17078         * gst/gstbus.c: (gst_bus_get_type):
17079         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17080         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17081         * gst/gstclock.c: (gst_clock_get_type):
17082         * gst/gstelement.c: (gst_element_get_type),
17083         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17084         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17085         * gst/gstminiobject.c: (gst_mini_object_get_type):
17086         * gst/gstpad.c: (gst_pad_get_type):
17087         * gst/gstsegment.c: (gst_segment_get_type):
17088         * gst/gststructure.c: (gst_structure_get_type):
17089         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17090         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17091         * gst/gstvalue.c:
17092         Help compiler with type registration.
17093
17094         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17095         Small doc update.
17096
17097 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17098
17099         * plugins/elements/gsttypefindelement.c:
17100         (gst_type_find_element_handle_event):
17101           When we get an EOS event and have not found a type yet
17102           (most likely because we had not yet accumulated
17103           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17104           type given the data we have so far. Fixes typefinding
17105           for very short streams again, most notably quicktime
17106           redirections as used on Apple's trailer site (#331701).
17107
17108 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17109
17110         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17111         (gst_type_find_helper):
17112           Try typefinding factories with the highest rank first.
17113
17114 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17115
17116         * docs/libs/gstreamer-libs-docs.sgml:
17117         * docs/libs/gstreamer-libs-sections.txt:
17118         * libs/gst/base/gsttypefindhelper.c:
17119           Add section for typefind helper and add documentation
17120           for the old and the new function.
17121
17122 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17123
17124         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17125         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17126         (gst_type_find_helper_for_buffer):
17127         * libs/gst/base/gsttypefindhelper.h:
17128           New API: gst_type_find_helper_for_buffer() (#332723).
17129           
17130 2006-02-27  Michael Smith  <msmith@fluendo.com>
17131
17132         Patch by: Loïc Minier
17133
17134         * configure.ac:
17135         * docs/Makefile.am:
17136         * docs/slides/Makefile.am:
17137           prevent CVS directories getting disted.
17138
17139 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17140
17141         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17142           Use the REFCOUNTING category for caps refcounting.
17143           
17144 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17145
17146         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17147           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17148
17149 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17150
17151         * plugins/elements/gsttypefindelement.c:
17152         (gst_type_find_element_activate):
17153           Use gst_pad_check_pull_range() before _activate_pull()
17154           to avoid unnecessary open/close (see #331690).
17155
17156 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17157
17158         * gst/gstutils.c:
17159           Docs enhancement: make it crystal clear what the
17160           gst_pad_add_*_probe() callbacks should look like.
17161
17162 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17163
17164         * libs/gst/base/gstbasesrc.c:
17165           Document how applications can stop recording from
17166           live sources (see #330996).
17167
17168 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17169
17170         * tests/check/Makefile.am:
17171         * tests/check/libs/basesrc.c: (eos_event_counter),
17172         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17173         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17174         (gst_basesrc_suite), (main):
17175           ... and add some tests for the base source EOS stuff.
17176
17177 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17178
17179         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17180           Test case originally showed the problem fixed below,
17181           but was then amended. Add checks back at the place
17182           where they used to be.
17183
17184 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17185
17186         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17187         (gst_base_src_init), (gst_base_src_loop),
17188         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17189         (gst_base_src_change_state):
17190         * libs/gst/base/gstbasesrc.h:
17191           Don't unconditionally send EOS when going from PAUSED to
17192           READY state, esp. make sure we don't send two EOS events
17193           in some cases (e.g. one when reaching EOS and one when
17194           going from PAUSED to READY). Also, we don't want to send
17195           EOS events when operating in pull mode. However, we do
17196           want to send an EOS event when shutting down a live
17197           source explicitly, for example (fixes #330996).
17198           
17199 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17200
17201         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17202           Update src->read_position after a seek when not using mmap.
17203           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17204
17205 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17206
17207         * gst/Makefile.am:
17208         * gst/gstparse.h:
17209         * gst/gstutils.c:
17210         * gst/gstutils.h:
17211         Make things work with --disable-parse as they do with 
17212         --disable-load-save - the symbols involved disappear, but the
17213         header is still installed and GST_DISABLE_PARSE is included via
17214         gstconfig.h
17215
17216 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17217
17218         * libs/gst/base/gstbasetransform.c:
17219         (gst_base_transform_change_state): Fix a stupid bug. I was 
17220         sure I compiled that.
17221
17222 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17223
17224         * gst/gstpad.c: (gst_pad_set_blocked_async):
17225         * gst/gstutils.c: (gst_pad_add_data_probe),
17226         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17227         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17228         (gst_pad_remove_buffer_probe): Make those function act on the
17229         ghostpad target when it's a ghostpad. (Closes #331727)
17230
17231 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17232
17233         * libs/gst/base/gstbasetransform.c:
17234         (gst_base_transform_change_state): Make basetransform reusable.
17235         (Closes #331898)
17236
17237 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17238
17239         * docs/random/release:
17240         Move the current documentation of how to do a release to the top
17241         of the file.
17242
17243         * gst/gstbin.c: (gst_bin_class_init),
17244         (gst_bin_handle_message_func):
17245         Allow multiple state-recalculation threads. (Closes #328873)
17246
17247 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17248
17249         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17250         * gst/gstpad.c: (gst_pad_set_event_function),
17251         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17252         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17253         2 strings. You can't use the STR_NULL macro on that.
17254
17255 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17256
17257         * gst/gstpad.c: (gst_pad_set_event_function),
17258         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17259         (gst_pad_set_getcaps_function)
17260         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17261           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17262           So now, we can use --gst-debug-level=5 on Windows
17263         * win32/common/libgstcontroller.def:
17264           Added export of gst_controller_init
17265         * win32/vs6/libgstcontroller.dsp:
17266           Fixed Release post build configuration
17267
17268 2006-02-17  Wim Taymans  <wim@fluendo.com>
17269
17270         * tests/check/gst/gstquery.c: (GST_START_TEST):
17271         Added another check.
17272
17273 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17274
17275         * plugins/elements/gsttypefindelement.c: (find_peek):
17276           We can do peeks at non-zero offsets, as long as they
17277           fall within the buffer we have.
17278
17279 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17280
17281         * tests/check/Makefile.am:
17282         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17283         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17284         (parse_suite), (main):
17285           Add testsuite for parse launch syntax
17286
17287 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17288
17289         * plugins/elements/gsttypefindelement.c:
17290         (gst_type_find_element_chain):
17291           When typefinding is unsuccessful in the chain function, don't
17292           error out immediately. Only error out with NO_CAPS_FOUND if
17293           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17294           otherwise simply wait for more data so we can try typefinding
17295           again with more data later. Also, don't attempt to typefind
17296           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17297           this should improve typefinding from network sources where the
17298           size of the first buffer can be somewhat random.
17299
17300 2006-02-14  Wim Taymans  <wim@fluendo.com>
17301
17302         * docs/gst/gstreamer-sections.txt:
17303         * gst/gstpadtemplate.c:
17304         * gst/gstpadtemplate.h:
17305         Fix padtemplate docs, fixes #328805.
17306
17307 2006-02-14  Wim Taymans  <wim@fluendo.com>
17308
17309         * tools/gst-launch.c: (main):
17310         NO_PREROLL is not an ERROR so don't send confusing messages
17311         to the user.
17312
17313 2006-02-14  Wim Taymans  <wim@fluendo.com>
17314
17315         Patch by: Torsten Schoenfeld
17316
17317         * gst/gstregistry.c: (gst_registry_get_default),
17318         (_gst_registry_cleanup):
17319         Protect default registry with lock and ref/sink it.
17320         Fixes #324818
17321
17322 2006-02-14  Wim Taymans  <wim@fluendo.com>
17323
17324         * gst/gstbuffer.c:
17325         * gst/gstquery.c: (gst_query_list_add_format),
17326         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17327         (gst_query_parse_formats_nth):
17328         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17329         Docs fixes.
17330
17331 2006-02-14  Wim Taymans  <wim@fluendo.com>
17332
17333         * docs/gst/gstreamer-sections.txt:
17334         Reworked query docs.
17335
17336         * gst/gstquery.c: (gst_query_new_formats),
17337         (gst_query_list_add_format), (gst_query_set_formats),
17338         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17339         (gst_query_parse_formats_nth):
17340         * gst/gstquery.h:
17341         Flesh out formats query, added some new methods.
17342         Fix part of #324398.
17343
17344         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17345         Added query creation tests.
17346
17347 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17348
17349         * gst/gstpad.c: (fixate_value):
17350         Add a default fixation for fraction lists.
17351
17352 2006-02-13  Wim Taymans  <wim@fluendo.com>
17353
17354         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17355         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17356         (gst_task_join):
17357         * gst/gsttask.h:
17358         Detect and warn for obvious deadlocks. fixes #320340
17359         Fix error case where lock was not released.
17360
17361         * tests/check/Makefile.am:
17362         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17363         (task_func), (gst_element_suite), (main):
17364         Add task check.
17365
17366 2006-02-13  Wim Taymans  <wim@fluendo.com>
17367
17368         * docs/gst/gstreamer-sections.txt:
17369         * gst/gstbus.c:
17370         Add new functions to docs.
17371
17372 2006-02-13  Wim Taymans  <wim@fluendo.com>
17373
17374         * docs/design/part-TODO.txt:
17375         Updated TODO list, basesrc supports seeking to non-bytes
17376         formats.
17377
17378         * docs/design/part-element-sink.txt:
17379         Update docs.
17380
17381         * gst/gstbin.c: (bin_replace_message),
17382         (gst_bin_handle_message_func):
17383         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17384         * gst/gstevent.c: (gst_event_finalize):
17385         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17386         (gst_pad_send_event):
17387         Use shiny new _TYPE_NAME macros.
17388
17389         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17390         Move debug statement up.
17391
17392         * gst/gstelement.c: (gst_element_set_locked_state):
17393         Add some debugging.
17394
17395 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17396
17397         * docs/gst/gstreamer-sections.txt:
17398         * gst/gstmessage.h:
17399         * gst/gstquery.h:
17400           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17401           macros (#330906). Also, document the already existing
17402           GST_QUERY_TYPE macro.
17403
17404 2006-02-13  Wim Taymans  <wim@fluendo.com>
17405
17406         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17407         (event_probe), (GST_START_TEST):
17408         Only events up to the pipeline EOS are counted, there are
17409         some more when going to NULL currently which we don't care
17410         about for now.
17411
17412 2006-02-13  Wim Taymans  <wim@fluendo.com>
17413
17414         * gst/gstpad.c: (gst_pad_send_event):
17415         Correctly check flushing and emit probes. fixes #330125
17416
17417 2006-02-10  Andy Wingo  <wingo@pobox.com>
17418
17419         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17420         structure.
17421         (gst_bus_init): Cache the location of the private data in the
17422         instance structure.
17423         (gst_bus_enable_sync_message_emission) 
17424         (gst_bus_disable_sync_message_emission): Implement new public
17425         functions.
17426         (gst_bus_post): Emit the sync-message signal if the user asked for
17427         it. Fixes #330684.
17428
17429         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17430         location of the bus-private structure.
17431         (gst_bus_enable_sync_message_emission)
17432         (gst_bus_disable_sync_message_emission): API addition
17433
17434 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17435
17436         Patch by: Vincent Torri
17437
17438         * docs/pwg/building-boiler.xml:
17439         PWG patch from #326800
17440
17441 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17442
17443         * configure.ac:
17444         * docs/Makefile.am:
17445         * docs/design/Makefile.am:
17446           Dist design docs.
17447
17448 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17449
17450         * configure.ac:
17451           back to CVS
17452
17453 === release 0.10.3 ===
17454
17455 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17456
17457         * configure.ac:
17458           releasing 0.10.3, "Like a virgin"
17459
17460 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17461
17462         * configure.ac:
17463           2nd prerelease of 0.10.3
17464           Bump libtool versioning.
17465
17466 2006-02-07  Andy Wingo  <wingo@pobox.com>
17467
17468         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17469         update last_stop if we're in TIME format and the timestamp is
17470         valid.
17471
17472         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17473         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17474         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17475         If we get a new newsegment with a different format, adapt
17476         accordingly.
17477
17478         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17479         of 0. Not a problem, really.
17480
17481         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17482         warn if sync=true.
17483
17484 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17485
17486         * configure.ac:
17487           Prelease of 0.10.3
17488
17489 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17490
17491         * win32/vs7:
17492           project files updated to the default vs7 configuration
17493         * win32/common/libgstbase.def:
17494         * win32/common/libgstreamer.def:
17495           added new symbols,
17496           removed empty lines,
17497           sorted all exported symbols alphabetically
17498         * win32/common/dirent.c:
17499         * win32/common/dirent.h:
17500         * win32/common/gchar.h:
17501           use windows line end.
17502           
17503 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17504
17505         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17506           Send EOS event when stopping.
17507
17508 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17509
17510         * docs/README:
17511           Tell folks what to do if the plugin-foobar.xml file
17512           hasn't been generated for a newly-added plugin.
17513
17514 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17515
17516         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17517         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17518         (gst_collect_pads_start), (gst_collect_pads_stop),
17519         (gst_collect_pads_event): Collectpads now holds a reference
17520         to the GstPad that was added. Indeed we don't want to look
17521         at pads that might just go away with no warning...
17522
17523 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17524
17525         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17526         (gst_collect_pads_start), (gst_collect_pads_stop),
17527         (gst_collect_pads_event), (gst_collect_pads_chain):
17528         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17529         Mark Nauwelaerts's patch on bug #328491.
17530
17531 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17532
17533         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17534         (gst_utils_suite):
17535           Add some simple tests for gst_parse_bin_from_description() and
17536           gst_bin_find_unconnected_pad() (#329069).
17537
17538 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17539
17540         * tools/gst-launch.c: (event_loop), (main):
17541           Catch errors during preroll (#320084).
17542
17543 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17544
17545         * plugins/elements/gsttypefindelement.c:
17546         (gst_type_find_element_activate):
17547           Post TYPE_NOT_FOUND error message when typefinding
17548           is unsuccessful in the activate function as well.
17549
17550 2006-02-02  Wim Taymans  <wim@fluendo.com>
17551
17552         * docs/design/part-element-sink.txt:
17553         Updated doc.
17554
17555 2006-02-02  Wim Taymans  <wim@fluendo.com>
17556
17557         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17558         (gst_base_sink_render_object),
17559         (gst_base_sink_queue_object_unlocked):
17560         Only keep track of prerollable items when we are 
17561         prerolling.
17562         Before rendering after preroll, always check if we
17563         have queued items.
17564         Added some more debugging.
17565
17566 2006-02-02  Wim Taymans  <wim@fluendo.com>
17567
17568         * gst/gstelement.c: (gst_element_continue_state),
17569         (gst_element_set_state_func), (gst_element_change_state):
17570         Fixed #326576, been running this for quite some time with
17571         no regressions at all.
17572
17573 2006-02-02  Wim Taymans  <wim@fluendo.com>
17574
17575         * common/gst.supp:
17576         Added more suppressions
17577
17578 2006-02-02  Wim Taymans  <wim@fluendo.com>
17579
17580         * docs/design/part-element-sink.txt:
17581         Updated document.
17582
17583         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17584         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17585         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17586         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17587         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17588         (gst_base_sink_preroll_object),
17589         (gst_base_sink_queue_object_unlocked),
17590         (gst_base_sink_queue_object), (gst_base_sink_event),
17591         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17592         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17593         (gst_base_sink_get_position), (gst_base_sink_change_state):
17594         * libs/gst/base/gstbasesink.h:
17595         Totally refactored matching the design doc.
17596         Use two segments, one to clip incomming buffers and another to
17597         perform sync.
17598         Handle queueing correctly, bypass the queue when playing.
17599         Make EOS cancelable.
17600         Handle errors correctly when operating in pull based mode.
17601
17602         * tests/check/elements/fakesink.c: (GST_START_TEST),
17603         (fakesink_suite):
17604         Added new check for sinks.
17605
17606 2006-02-02  Wim Taymans  <wim@fluendo.com>
17607
17608         * gst/gstsegment.c: (gst_segment_clip):
17609         No reason to refuse to clip when start == -1
17610
17611 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17612
17613         * docs/README:
17614         * docs/manual/intro-basics.xml:
17615         * docs/manual/intro-preface.xml:
17616         * docs/manual/manual.xml:
17617         * docs/pwg/advanced-dparams.xml:
17618         * docs/pwg/intro-basics.xml:
17619         * docs/pwg/intro-preface.xml:
17620         * docs/pwg/pwg.xml:
17621           describe dparams (controller) for plugins
17622           unify docs a little more
17623
17624 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17625
17626         * docs/gst/gstreamer-sections.txt:
17627         * gst/gstutils.c: (element_find_unconnected_pad),
17628         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17629         * gst/gstutils.h:
17630           Add new API: gst_parse_bin_from_description() and
17631           gst_bin_find_unconnected_pad() (#329069).
17632
17633 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17634
17635         * docs/manual/README:
17636           uncover a nasty detail of the docs build
17637
17638 2006-01-31  Wim Taymans  <wim@fluendo.com>
17639
17640         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17641         Don't cache duration messages if we're not going to use or
17642         free them.
17643
17644 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17645
17646         * docs/manual/advanced-dparams.xml:
17647         * docs/pwg/advanced-dparams.xml:
17648           more dparam docs
17649         * gst/gstindex.c:
17650           fix docs
17651         * libs/gst/controller/lib.c: (gst_controller_init):
17652           init just once
17653
17654 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17655
17656         * gst/gstelement.c: (gst_element_message_full):
17657           also show file/line/func if no additional debug was given
17658
17659 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17660         
17661         * win32/vs7/grammar.vcproj:
17662           activate copy of autogenerated files for Release mode
17663
17664 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17665         
17666         * win32/common/libgstreamer.def:
17667           export gst_value_compare
17668
17669 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17670
17671         * plugins/elements/Makefile.am:
17672         * plugins/elements/gstelements.c:
17673         * plugins/elements/gstfdsink.c: (_do_init),
17674         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17675         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17676         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17677         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17678         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17679         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17680         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17681         * plugins/elements/gstfdsink.h:
17682         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17683
17684 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17685
17686         * docs/manual/advanced-dparams.xml:
17687           describe controller
17688         * docs/manual/advanced-position.xml:
17689         * docs/manual/basics-init.xml:
17690         * docs/manual/manual.xml:
17691         * docs/manual/titlepage.xml:
17692         * docs/pwg/pwg.xml:
17693         * docs/pwg/titlepage.xml:
17694           cleanup xml (more to come)
17695         * libs/gst/controller/gstcontroller.c:
17696           fix typo
17697
17698 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17699         
17700         * win32/vs6/grammar.dsp:
17701           add autogen of gstmarshal.c,h for Release mode
17702                 
17703 2006-01-30  Wim Taymans  <wim@fluendo.com>
17704
17705         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17706         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17707         (gst_base_sink_handle_object), (gst_base_sink_event),
17708         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17709         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17710         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17711         (gst_base_sink_deactivate), (gst_base_sink_activate),
17712         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17713         (gst_base_sink_query), (gst_base_sink_change_state):
17714         Basesink cleanups, remove some old code.
17715         Handle the case where a subclass can preroll in the render
17716         method (mostly audiosinks).
17717         Handle more events.
17718         Remove some locks around variables that are now protected
17719         with the PREROLL_LOCK (clock_id, flushing, ..).
17720         Optimize position query some more, do correct locking.
17721         Remove old code to push queue in state change, this is not
17722         needed anymore since preroll blocks on all prerollable items 
17723         now.
17724         Almost implemented as described in design doc.
17725
17726 2006-01-30  Wim Taymans  <wim@fluendo.com>
17727
17728         * tests/check/gst/gstbin.c: (GST_START_TEST):
17729         Wait for refcount to settle down before checking.
17730
17731 2006-01-30  Wim Taymans  <wim@fluendo.com>
17732
17733         * docs/design/part-element-sink.txt:
17734         Pseudo code overview of desired sink behaviour regarding
17735         preroll.
17736
17737 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17738         * win32/vs6/grammar.dsp:
17739           fix some bugs in Release mode for autogenerated files
17740                 
17741 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17742         * win32/common/libgstbase.def:
17743         * win32/common/libgstreamer.def:
17744           export some new symbols: gst_base_src_set_format,
17745           gst_iterator_next, gst_structure_set_valist
17746
17747 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17748
17749         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17750         Set pad functions unconditionally. Fixes #329105.
17751
17752 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17753         * win32/vs8:
17754           add vs8 project files created by Sergey Scobich
17755
17756 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17757
17758         * gst/gstutils.c: (gst_element_unlink_pads):
17759         Don't leak pad references.
17760
17761         * tests/check/elements/fakesink.c: (GST_START_TEST):
17762         * tests/check/generic/sinks.c: (GST_START_TEST):
17763         * tests/check/generic/states.c: (GST_START_TEST):
17764         * tests/check/gst/gstbin.c: (GST_START_TEST):
17765         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17766         * tests/check/gst/gstelement.c: (GST_START_TEST):
17767         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17768         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17769         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17770         Fix a bunch of leaks. Make generic/sinks.c
17771         use a bit less cpu by slowing the buffer rate
17772         between fakesrc and fakesink.
17773         
17774 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17775         * gst/gstcaps.c:
17776         * gst/gstelement.c: (gst_element_send_event):
17777         * gst/gstevent.c:
17778         * gst/gstinfo.c:
17779         * gst/gstiterator.c:
17780         * gst/gstiterator.h:
17781         * gst/gstpad.c: (gst_pad_send_event):
17782         * gst/gststructure.c:
17783         * gst/gsturi.c:
17784         * gst/gstutils.c:
17785         * gst/gstvalue.c:
17786         * libs/gst/base/gstadapter.c:
17787           doc fixes, to link to function, just write gst_cool_function(), don't
17788           prefix with '#'
17789
17790 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17791
17792         * plugins/elements/gsttee.c: (gst_tee_do_push),
17793         (gst_tee_handle_buffer):
17794         Always prefer an actual return value from a src
17795         pad in place of NOT_LINKED. This means we return
17796         WRONG_STATE when all src pads are WRONG_STATE
17797         instead of NOT_LINKED.
17798
17799         Lock when replacing the last message to prevent
17800         racing with the get_property method.
17801
17802         Add debug output
17803
17804 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17805
17806         * tests/check/Makefile.am:
17807         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17808         (main):
17809         Add a very simple check that should have caught the memleak I fixed
17810         last night (if not for the slice allocator hiding it)
17811
17812 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17813
17814         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17815         (gst_bin_remove_func), (gst_bin_handle_message_func),
17816         (bin_query_duration_fold), (bin_query_generic_fold):
17817         Clean up references to the clock provider when disposed or when
17818         handling a clock-lost message from it.
17819
17820         Unref sinks when performing a query via gst_iterator_fold, as the
17821         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17822
17823         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17824         (gst_clock_set_master):
17825         Drop our reference to the master clock, if any, when we are disposed.
17826
17827         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17828         Chain up in dispose. 
17829
17830 2006-01-26  Wim Taymans  <wim@fluendo.com>
17831
17832         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17833         Add some debugging.
17834
17835 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17836
17837         * plugins/elements/gsttee.c: (gst_tee_do_push),
17838         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17839         handles pad being NOT_LINKED or in WRONG_STATE.
17840
17841 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17842
17843         * win32/MANIFEST:
17844           more updating
17845
17846 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17847
17848         * win32/MANIFEST:
17849           remove obsolete entry
17850
17851 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17852
17853         * docs/gst/gstreamer-sections.txt:
17854         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17855         (gst_bin_iterate_sources), (gst_bin_send_event):
17856         * gst/gstbin.h:
17857         * gst/gstelement.c: (gst_element_send_event):
17858         * gst/gstevent.c:
17859         * gst/gstpad.c: (gst_pad_send_event):
17860           added code for downstream events, reviewed docs in gstevent.c
17861
17862 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17863
17864         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17865         We only query position using the clock in the playing state.
17866         Query peer in the other cases.
17867         * win32/common/config.h: Updates.
17868
17869 2006-01-24  Wim Taymans  <wim@fluendo.com>
17870
17871         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17872         A clock entry that is scheduled for the exact time of the
17873         clock is still in time.
17874
17875         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17876         (gst_base_sink_do_sync):
17877         Add some more debug info.
17878
17879 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17880
17881         * win32/vs7:
17882           Add new vs7 project files and solution.
17883
17884 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17885
17886         * win32/vs7:
17887           all files removed as they were out-dated.
17888
17889 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17890
17891         * docs/random/release:
17892           update notes
17893         * gst/gstbin.c: (gst_bin_init):
17894         * gst/gstbus.c: (gst_bus_new):
17895         * gst/gstbus.h:
17896         * gst/gstpipeline.c: (gst_pipeline_init):
17897           use gst_bus_new(), improve logging, fix docs
17898         * win32/common/config.h:
17899           update for cvs build
17900
17901 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17902
17903         * autogen.sh:
17904           up required version of automake to 1.7
17905
17906 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17907
17908         * win32/common/libgstreamer.def:
17909           export gst_buffer_is_metadata_writable
17910
17911 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17912
17913         * docs/gst/gstreamer-sections.txt:
17914         * gst/gstevent.h:
17915           Add gst_event_replace() (#327001)
17916
17917 2006-01-20  Wim Taymans  <wim@fluendo.com>
17918
17919         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17920         Make it actually compile too..
17921
17922 2006-01-20  Wim Taymans  <wim@fluendo.com>
17923
17924         * gst/gstcaps.c:
17925         Clarify behaviour of _is_equal() when passing NULL parameters.
17926
17927         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17928         (gst_pad_set_caps):
17929         Cleanups. Don't unref NULL caps.
17930         When setting the same caps, protect caps of the pad with
17931         proper lock.
17932         Use full functionality of _is_equal() when comparing caps.
17933
17934 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17935
17936         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17937         Don't loop infinitely if there are no buffers to present. Partially
17938         fixes #327197, but collectpads is just broken for reusing elements
17939         to do multiple encodes atm.
17940
17941 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17942
17943         * tools/gst-inspect.c: (print_element_features):
17944         * tools/gst-xmlinspect.c: (main):
17945         URL_HANDLER is not a plugin feature we can search for in
17946         the registry.
17947
17948 2006-01-19  Edward Hervey  <edward@fluendo.com>
17949
17950         * gst/gstelement.c: (gst_element_pads_activate): 
17951         When activating, do src pads first, then sink pads.
17952         When de-activating, do sink pads first, then src pads.
17953
17954 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17955
17956         * docs/gst/gstreamer-sections.txt:
17957         Add gst_index_add_associationv to the docs
17958
17959 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17960
17961         * gst/gstevent.c:
17962           Fix docs typo
17963
17964         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17965         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17966           Do some refactoring. Doesn't actually change functionality,
17967           but makes landing the DRAIN event easier later.
17968
17969 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17970
17971         * docs/pwg/advanced-scheduling.xml:
17972           Update from 0.9.x to 0.10 API and make example a bit
17973           clearer.
17974
17975 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17976
17977         * docs/gst/gstreamer-sections.txt:
17978         Add gst_buffer_(is|make)_metadata_writable methods.
17979
17980 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17981
17982         * docs/design/part-sparsestreams.txt:
17983         Update sparse streams doc, hopefully for greater clarity
17984
17985 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17986
17987         * docs/design/part-events.txt:
17988         Remove mention of FILLER events.
17989         Add DRAIN event.
17990
17991         * docs/design/part-sparsestreams.txt:
17992         Write some things about using NEWSEGMENT to keep sparse streams
17993         flowing.
17994
17995 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17996
17997         * gst/gstbin.c: (gst_bin_dispose):
17998           Guard gst_object_unref call against a NULL object (dispose
17999           can theoretically be called multiple times).
18000           
18001 2006-01-18  Wim Taymans  <wim@fluendo.com>
18002
18003         * gst/gstbin.c: (gst_bin_element_set_state):
18004         * gst/gstclock.c: (gst_clock_id_wait):
18005         Added some more debug info.
18006
18007         * libs/gst/base/gstadapter.c:
18008         Added more docs.
18009
18010         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18011         (gst_base_sink_do_sync), (gst_base_sink_chain):
18012         Added some comments.
18013
18014 2006-01-18  Wim Taymans  <wim@fluendo.com>
18015
18016         * tests/check/Makefile.am:
18017         * tests/check/elements/fakesink.c: (chain_async_buffer),
18018         (chain_async), (chain_async_return), (GST_START_TEST),
18019         (fakesink_suite), (main):
18020         Added fakesink test that checks prerolling and clipping
18021         behaviour.
18022
18023         * tests/check/gst/gstutils.c: (GST_START_TEST):
18024         Make check run faster so that buildbots don't timeout.
18025
18026 2006-01-18  Wim Taymans  <wim@fluendo.com>
18027
18028         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18029         (gst_base_sink_do_sync):
18030         Some cleanups.
18031         When the sink finishes blocking on the preroll buffer, it can
18032         immediatly render it instead of rendering when the next buffer
18033         arrives.
18034
18035 2006-01-18  Wim Taymans  <wim@fluendo.com>
18036
18037         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18038         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18039         (gst_base_sink_chain):
18040         Small cleanups.
18041         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18042         Don't store _last_stop if the buffer is dropped.
18043
18044 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18045
18046         * plugins/elements/gsttypefindelement.c:
18047         (gst_type_find_element_class_init):
18048           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18049           object method handler that sets the caps on the pad and we want
18050           that to happen before we emit the signal (fixes e.g. feeding a
18051           plain text file to decodebin).
18052
18053 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18054
18055         * gst/gstplugin.c: Add MPL and Proprietary as license options
18056
18057 2006-01-18  Andy Wingo  <wingo@pobox.com>
18058
18059         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18060         symbol was exported before, it appears this was just an oversight.
18061         Fixes #168703.
18062         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18063
18064         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18065         prototype to gint. OK since this prototype was not in the header.
18066
18067 2006-01-17  Andy Wingo  <wingo@pobox.com>
18068
18069         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18070         registry while we remove plugins.
18071
18072         * tools/gst-inspect.c (print_element_info): Don't unref the
18073         factory arg, that should be the responsibility of whatever code
18074         received the ref. Fixes a double-free when called from
18075         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18076         (main): Unref the factory if we have one.
18077         (print_element_list): No change -- relies on the
18078         plugin_feature_list_free to free the list of features.
18079
18080 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18081
18082         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18083         (gst_buffer_make_metadata_writable):
18084         * gst/gstbuffer.h:
18085         * libs/gst/base/gstbasetransform.c:
18086         (gst_base_transform_prepare_output_buf):
18087         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18088         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18089           Replace gst_buffer_(make|is)_metadata_writable patch now
18090           that the release is out.
18091
18092 2006-01-17  Andy Wingo  <wingo@pobox.com>
18093
18094         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18095         in the present tense without reference to versions.
18096
18097         * gst/gstregistry.c (gst_registry_add_plugin)
18098         (gst_registry_remove_plugin, gst_registry_remove_feature)
18099         (gst_registry_find_feature, gst_registry_get_feature_list)
18100         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18101         (gst_registry_lookup, gst_registry_scan_path)
18102         (_gst_registry_remove_cache_plugins)
18103         (gst_registry_get_feature_list_by_plugin): Add argument
18104         validation.
18105
18106 === release 0.10.2 ===
18107
18108 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18109
18110         * configure.ac:
18111           releasing 0.10.2, "If man is five"
18112
18113 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18114
18115         * gst/gstbuffer.c:
18116         * gst/gstbuffer.h:
18117         * libs/gst/base/gstbasetransform.c:
18118         (gst_base_transform_prepare_output_buf):
18119         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18120         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18121           Back out patch until after the release.
18122
18123 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18124
18125         * gst/gstminiobject.c:
18126           Spelling fix in docs.
18127         * ChangeLog - remove conflict indicator
18128
18129 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18130
18131         Reviewed By: Andy Wingo
18132
18133         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18134         (gst_buffer_make_metadata_writable):
18135         * gst/gstbuffer.h:
18136           Add gst_buffer_(is|make)_metadata_writable as analogues of
18137           gst_buffer_(is|make)_writable.
18138
18139         * libs/gst/base/gstbasetransform.c:
18140         (gst_base_transform_prepare_output_buf):
18141         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18142           Use name gst_buffer_(is|make)_metadata_writable functions.
18143
18144         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18145           Test gst_buffer_(is|make)_metadata_writable
18146         
18147           (Closes: #324162)
18148
18149 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18150
18151         * docs/manual/Makefile.am:
18152           don't do parallel make
18153         * configure.ac:
18154           AC_SUBST HOST_CPU
18155         * win32/common/config.h.in:
18156           add generations for HOST_CPU and GST_MAJORMINOR
18157         * win32/common/config.h:
18158           commit generated result
18159
18160 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18161
18162         * docs/manual/appendix-integration.xml:
18163           Update GNOME integration section to use gst_init_get_option_group()
18164           instead of the old popt stuff (#322911). Also, GNOME applications
18165           should  now use gconf*sink and gconf*src instead of the old gconf
18166           helper lib we had.
18167
18168 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18169
18170
18171         * docs/gst/gstreamer-docs.sgml:
18172         * docs/gst/gstreamer-sections.txt:
18173         * docs/libs/gstreamer-libs-sections.txt:
18174           add new API entries to the docs
18175         * libs/gst/controller/Makefile.am:
18176         * libs/gst/controller/gstcontroller.c:
18177         * libs/gst/controller/gstcontroller.h:
18178         * libs/gst/controller/gstcontrollerprivate.h:
18179         * libs/gst/controller/gsthelper.c:
18180         * libs/gst/controller/gstinterpolation.c:
18181           move private structs to private header
18182         * po/README:
18183           gstreamer-0.7 -> gstreamer-0.10
18184         * tests/check/libs/struct_i386.h:
18185           remove private structs
18186
18187 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18188
18189         * plugins/indexers/Makefile.am:
18190           Fixes as part of #317048
18191
18192 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18193
18194         * plugins/indexers/Makefile.am:
18195           fix #316086 - compilation when mmap is missing
18196
18197 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18198
18199         * libs/gst/base/gstbasesink.c:
18200           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18201           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18202         * win32/common/config.h:
18203           added some defines GST_MAJORMINOR and HOST_CPU
18204         * win32/common/libgstbase.def:
18205         * win32/common/libgstreamer.def:
18206           added some exported functions.
18207
18208 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18209
18210         * libs/gst/controller/gstcontroller.c:
18211         (gst_controlled_property_set_interpolation_mode),
18212         (gst_controlled_property_new):
18213         * libs/gst/controller/gstcontroller.h:
18214         * libs/gst/controller/gstinterpolation.c:
18215         (interpolate_none_get_string_value_array):
18216           make G_TYPE_STRING controlable
18217
18218 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18219
18220         * tools/README:
18221         * tools/gst-feedback.1.in:
18222         * tools/gst-inspect.1.in:
18223         * tools/gst-launch.1.in:
18224         * tools/gst-md5sum.1.in:
18225         * tools/gst-typefind.1.in:
18226         * tools/gst-xmlinspect.1.in:
18227         * tools/gst-xmllaunch.1.in:
18228           cleanup man-pages, remove reference to gst-register, document env-vars
18229
18230 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18231
18232         * gst/gstbuffer.c: (gst_buffer_span):
18233           gst_buffer_span should copy the timestamp of the first buffer
18234           if they were both originally overlapping subbuffers of the 
18235           same parent, using the same logic as the 'slow copy' case.
18236
18237 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18238
18239         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18240           Need to awaken ALL the pads when we pop a buffer, otherwise
18241           collectpads only works when there is 2 input streams.
18242
18243 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18244
18245         * docs/random/ensonic/media-device-daemon.txt:
18246           more ideas (dbus)
18247         * gst/gstbuffer.c:
18248           fix doc example, add clarification
18249         * tools/gst-launch.1.in:
18250           add initial info about GST_PLUGIN_PATH, needs more work
18251
18252 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18253
18254         * docs/manual/basics-bins.xml:
18255         * docs/manual/basics-elements.xml:
18256         * docs/manual/intro-basics.xml:
18257           Some more minor docs additions and updates.
18258
18259 2006-01-11  Wim Taymans  <wim@fluendo.com>
18260
18261         * docs/manual/basics-bins.xml:
18262         * docs/manual/basics-elements.xml:
18263         Some small fixes as pointed out by Ser-ver on IRC.
18264
18265 2006-01-10  Edward Hervey  <edward@fluendo.com>
18266
18267         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18268         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18269         the single-segment mode.
18270
18271 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18272
18273         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18274
18275         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18276         (gst_base_src_perform_seek), (gst_base_src_send_event),
18277         (gst_base_src_set_property), (gst_base_src_get_property),
18278         (gst_base_src_loop), (gst_base_src_start),
18279         (gst_base_src_activate_push):
18280         * libs/gst/base/gstbasesrc.h:
18281           Name (private) union; makes Sun's Forte compiler happy (#324900).
18282
18283 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18284
18285         * README:
18286           gst-register is gone.
18287
18288 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18289
18290         * gst/gstvalue.c: (_gst_value_initialize):
18291           make the G_TYPE_DATE instantiation work if debug is disabled
18292
18293 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18294
18295         * gst/gstmessage.c: (gst_message_parse_tag),
18296         (gst_message_parse_error), (gst_message_parse_warning):
18297           Don't crash when return location for error/warning debug
18298           string is NULL; add fact that return locations can be
18299           NULL to docs where appropriate.
18300
18301 2006-01-05  Wim Taymans  <wim@fluendo.com>
18302
18303         * gst/gstplugin.c: (gst_plugin_load_file):
18304         Replace strdup by g_strdup.
18305
18306 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18307
18308         * docs/pwg/advanced-types.xml:
18309           fix doc borkage
18310
18311 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18312
18313         submitted by: Abel Cheung
18314
18315         * po/LINGUAS:
18316         * po/zh_TW.po:
18317           Added Chinese (traditional) translation
18318
18319 2006-01-04  Wim Taymans  <wim@fluendo.com>
18320
18321         * docs/manual/basics-pads.xml:
18322         * docs/plugins/Makefile.am:
18323         * docs/plugins/gstreamer-plugins-docs.sgml:
18324         * docs/plugins/gstreamer-plugins-sections.txt:
18325         * docs/pwg/advanced-clock.xml:
18326         * docs/pwg/advanced-scheduling.xml:
18327         * docs/pwg/advanced-types.xml:
18328         * plugins/elements/gstfdsink.c:
18329         * plugins/elements/gstfdsrc.c:
18330         * plugins/elements/gstfdsrc.h:
18331         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18332         * plugins/elements/gstidentity.h:
18333         * plugins/elements/gstqueue.h:
18334         * plugins/elements/gsttee.c:
18335         * plugins/elements/gsttee.h:
18336         * plugins/elements/gsttypefindelement.c:
18337         (gst_type_find_element_class_init):
18338         * plugins/elements/gsttypefindelement.h:
18339         Small updates to various docs.
18340         Added core plugins to docs.
18341
18342 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18343
18344         * common/gst.supp:
18345           add a suppression for liboil's uninitialized variable
18346
18347 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18348
18349         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18350
18351         * gst/gstutils.h:
18352           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18353           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18354           compiler switch is being used (#325429).
18355
18356 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18357
18358         * gst/gstbin.c: (gst_bin_query):
18359           Disable duration query caching in bins until it gets
18360           fixed (see #324807).
18361
18362 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18363
18364         * tools/gst-inspect.c: (print_element_properties_info):
18365           Handle properties of POINTER and BOXED type.
18366
18367 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18368
18369         * gst/gst.c: (init_post):
18370           Init tags stuff and some other things before loading
18371           any static plugins (there may be other static plugins
18372           than just the GStreamer ones, and they may want to
18373           register their own tags or formats or whatever, and
18374           preferably without segfaulting).
18375
18376         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18377           Print at least a warning in the debug logs if we drop a
18378           query just because we don't know how to adjust the value
18379           in the particular format.
18380
18381 2005-12-24  David Schleef  <ds@schleef.org>
18382
18383         * tools/gstreamer-completion:
18384           Replacement for gst-complete written in sh and sed.  Only
18385           completes names of features, but that's 90% of what I want
18386           it for.  Properties are not available in registry.xml.  (Maybe
18387           they should be...)
18388
18389 === release 0.10.1 ===
18390
18391 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18392
18393         * configure.ac:
18394           releasing 0.10.1, "Nollaig chridheil"
18395
18396 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18397
18398         * docs/faq/cvs.xml:
18399           Add missing quote, should be make ERROR_CFLAGS="".
18400
18401 2005-12-20  Wim Taymans  <wim@fluendo.com>
18402
18403         * docs/design/part-trickmodes.txt:
18404         More documentation on trickmodes.
18405
18406 2005-12-20  Edward Hervey  <edward@fluendo.com>
18407
18408         * gst/gstcaps.c: (gst_static_caps_get_type):
18409         * gst/gstcaps.h:
18410           API addition: GST_TYPE_STATIC_CAPS
18411         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18412         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18413         * gst/gstpadtemplate.h:
18414           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18415         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18416         bindings.
18417
18418 2005-12-18  Wim Taymans  <wim@fluendo.com>
18419
18420         * libs/gst/base/gstadapter.c:
18421         * libs/gst/base/gstadapter.h:
18422         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18423         (gst_base_sink_get_position):
18424         * libs/gst/base/gstbasesink.h:
18425         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18426         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18427         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18428         (gst_base_src_send_event), (gst_base_src_update_length),
18429         (gst_base_src_get_range), (gst_base_src_loop),
18430         (gst_base_src_start):
18431         * libs/gst/base/gstbasesrc.h:
18432         * libs/gst/base/gstbasetransform.h:
18433         * libs/gst/base/gstcollectpads.h:
18434         * libs/gst/base/gstpushsrc.c:
18435         * libs/gst/base/gstpushsrc.h:
18436         * libs/gst/dataprotocol/dataprotocol.c:
18437         * libs/gst/dataprotocol/dataprotocol.h:
18438         * libs/gst/net/gstnetclientclock.h:
18439         * libs/gst/net/gstnettimeprovider.h:
18440         Documentation updates.
18441
18442 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18443
18444         * docs/manual/basics-helloworld.xml:
18445           Remove superfluous closing bracket in helloworld example.
18446
18447 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18448
18449         * tools/gst-launch.1.in:
18450           Update gst-launch man page; add a section with useful
18451           environment variables. Fixes #323882.
18452
18453 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18454
18455         * gst/gst.c:
18456         * gst/gst_private.h:
18457           change some char* into char[]
18458
18459 2005-12-16  Wim Taymans  <wim@fluendo.com>
18460
18461         * gst/gstregistryxml.c: (load_feature):
18462         Cleanups.
18463         Don't use g_object_unref on GstObjects so that we avoid
18464         leaks on unsafe glibs.
18465
18466 2005-12-16  Wim Taymans  <wim@fluendo.com>
18467
18468         * gst/gstbin.c: (gst_bin_recalc_state):
18469         Small doc updates.
18470
18471 2005-12-16  Wim Taymans  <wim@fluendo.com>
18472
18473         * common/check.mak:
18474         Added make forever target for check.
18475
18476 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18477
18478         * gst/gst.c: (init_post):
18479           make the registry cache file HOST_CPU-dependent
18480
18481 2005-12-16  Andy Wingo  <wingo@pobox.com>
18482
18483         * plugins/elements/gstbufferstore.c
18484         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18485         return value.
18486
18487         * tests/check/gst/gstobject.c
18488         (test_fake_object_name_threaded_unique): Pay attention to
18489         g_list_sort return value.
18490
18491 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18492
18493         * tools/gst-feedback-m.m:
18494           Update for 0.9/0.10 (fixes #323870).
18495
18496 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18497
18498         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18499           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18500           
18501         * tests/check/gst/gstminiobject.c: (my_foo_init),
18502         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18503         (test_value_collection), (gst_mini_object_suite):
18504           Add test to ensure refcounts end up as expected when passing
18505           GstMiniObjects through g_object_get() and g_object_set().
18506
18507 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18508
18509         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18510         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18511         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18512         of collectpads. This version removes a lot of races without
18513         touching API/ABI. Yay !
18514
18515 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18516
18517         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18518           Don't allow activation of a srcpad in pull_range if it has no
18519           getrange function.
18520           Change some debug statements to be a little clearer
18521
18522         * plugins/elements/gsttypefindelement.c:
18523         (gst_type_find_handle_src_query):
18524           Check that we have a peer before executing queries thereupon.
18525
18526         * tests/examples/metadata/read-metadata.c: (message_loop):
18527           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18528           immediately return us any available message with 0 timeout.
18529
18530 2005-12-12  Michael Smith  <msmith@fluendo.com>
18531
18532         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18533           Don't unref factories after calling them.
18534         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18535         * plugins/elements/gsttypefindelement.c:
18536         (gst_type_find_element_chain):
18537           Free lists of factories after using them. Fixing typefinding memory
18538           leaks.
18539
18540 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18541
18542         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18543         (gst_plugin_feature_load):
18544           more meaningful debug output
18545         * configure.ac:
18546         * tests/Makefile.am:
18547         * tests/old/examples/Makefile.am:
18548           make make distcheck happy again
18549
18550 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18551
18552         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18553           Catch the special case where we are operating chain-based,
18554           but the downstream peer pad has no chain function. Emit a
18555           custom error message in this case instead of letting the
18556           core generate one implying that this is some sort of core
18557           bug. It's not, it just means that whatever got plugged
18558           into the pipeline downstream when we announced the type
18559           can only operate pull-based, while our source can only
18560           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18561           Error string has not been marked for translation yet, as
18562           it probably needs some more work first.
18563
18564         (gst_type_find_element_get_best_possibility):
18565           Add helper function to find the best of all available
18566           found possibilities that qualify given the min. threshold.
18567
18568         (gst_type_find_element_handle_event):
18569           Fix the case where we get an EOS while still in TYPEFIND
18570           mode (we want to chose the best of all possible types,
18571           not just the first type that happens to be in our unsorted
18572           list of possible types).
18573
18574         (gst_type_find_element_chain):
18575           Make sure we return GST_FLOW_ERROR when we errored out
18576           in stop_typefinding(); also, don't just find the best of
18577           all found type entries and then use the last examined
18578           type entry, but actually use the best entry.
18579
18580 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18581
18582         * tests/examples/typefind/typefind.c: (type_found):
18583         * tests/examples/xml/runxml.c: (xml_loaded):
18584           More gcc4 fixes and a mem leak fix.
18585
18586 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18587
18588         * tests/examples/xml/createxml.c: (object_saved):
18589           gcc 4 fixes
18590
18591 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18592
18593         * tests/Makefile.am:
18594           enable the examples even more
18595
18596 2005-12-12  Andy Wingo  <wingo@pobox.com>
18597
18598         * libs/gst/net/gstnettimeprovider.c
18599         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18600         (gst_net_time_provider_set_property)
18601         (gst_net_time_provider_get_property):
18602         API addition: Export "active" as a GObject property.
18603         (gst_net_time_provider_thread): Only respond to time queries if
18604         the time provider is active.
18605
18606         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18607         NetTimeProvider, preserving binary compat.
18608
18609 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18610
18611         * tests/examples/controller/audio-example.c: (main):
18612         * tests/examples/launch/Makefile.am:
18613           convert comments again
18614
18615 2005-12-12  Wim Taymans  <wim@fluendo.com>
18616
18617         * libs/gst/base/gstpushsrc.c:
18618         Fix typo.
18619
18620 2005-12-12  Wim Taymans  <wim@fluendo.com>
18621
18622         * docs/libs/gstreamer-libs-sections.txt:
18623         Added new symbol to docs.
18624
18625         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18626         (gst_base_src_init), (gst_base_src_set_format),
18627         (gst_base_src_default_query), (gst_base_src_query),
18628         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18629         (gst_base_src_perform_seek), (gst_base_src_send_event),
18630         (gst_base_src_default_event), (gst_base_src_event_handler),
18631         (gst_base_src_set_property), (gst_base_src_get_property),
18632         (gst_base_src_wait), (gst_base_src_do_sync),
18633         (gst_base_src_update_length), (gst_base_src_get_range),
18634         (gst_base_src_check_get_range), (gst_base_src_loop),
18635         (gst_base_src_default_negotiate), (gst_base_src_start),
18636         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18637         (gst_base_src_change_state):
18638         * libs/gst/base/gstbasesrc.h:
18639         Implement seeking to other formats than _BYTES.
18640         Implement more seeking methods correctly.
18641         Doc updates.
18642         Added query vmethod.
18643         Added do_seek vmethod to make life easier for subclasses
18644         when seeking.
18645         API addition: gst_base_src_set_format()
18646
18647 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18648
18649         * tests/examples/Makefile.am:
18650           added that too
18651
18652 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18653
18654         * configure.ac:
18655         * docs/random/ensonic/media-device-daemon.txt:
18656         * tests/examples/controller/.cvsignore:
18657         * tests/examples/controller/Makefile.am:
18658         * tests/examples/controller/audio-example.c: (main):
18659         * tests/examples/helloworld/.cvsignore:
18660         * tests/examples/helloworld/Makefile.am:
18661         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18662         * tests/examples/launch/.cvsignore:
18663         * tests/examples/launch/Makefile.am:
18664         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18665         * tests/examples/metadata/.cvsignore:
18666         * tests/examples/metadata/Makefile.am:
18667         * tests/examples/metadata/read-metadata.c: (message_loop),
18668         (make_pipeline), (print_tag), (main):
18669         * tests/examples/queue/.cvsignore:
18670         * tests/examples/queue/Makefile.am:
18671         * tests/examples/queue/queue.c: (event_loop), (main):
18672         * tests/examples/typefind/.cvsignore:
18673         * tests/examples/typefind/Makefile.am:
18674         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18675         (main):
18676         * tests/examples/xml/.cvsignore:
18677         * tests/examples/xml/Makefile.am:
18678         * tests/examples/xml/createxml.c: (object_saved), (main):
18679         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18680         * tests/old/examples/Makefile.am:
18681         * tests/old/examples/TODO:
18682         * tests/old/examples/controller/.cvsignore:
18683         * tests/old/examples/controller/Makefile.am:
18684         * tests/old/examples/controller/audio-example.c:
18685         * tests/old/examples/helloworld/.cvsignore:
18686         * tests/old/examples/helloworld/Makefile.am:
18687         * tests/old/examples/helloworld/helloworld.c:
18688         * tests/old/examples/launch/.cvsignore:
18689         * tests/old/examples/launch/Makefile.am:
18690         * tests/old/examples/launch/mp3parselaunch.c:
18691         * tests/old/examples/launch/mp3play:
18692         * tests/old/examples/manual/Makefile.am:
18693         * tests/old/examples/metadata/Makefile.am:
18694         * tests/old/examples/metadata/read-metadata.c:
18695         * tests/old/examples/queue/.cvsignore:
18696         * tests/old/examples/queue/Makefile.am:
18697         * tests/old/examples/queue/queue.c:
18698         * tests/old/examples/typefind/.cvsignore:
18699         * tests/old/examples/typefind/Makefile.am:
18700         * tests/old/examples/typefind/typefind.c:
18701         * tests/old/examples/xml/.cvsignore:
18702         * tests/old/examples/xml/Makefile.am:
18703         * tests/old/examples/xml/createxml.c:
18704         * tests/old/examples/xml/runxml.c:
18705           applied some simple fixing to some examples
18706           re-enabled the working examples
18707
18708 2005-12-12  Wim Taymans  <wim@fluendo.com>
18709
18710         * gst/gstsegment.c: (gst_segment_init),
18711         (gst_segment_set_last_stop), (gst_segment_set_seek),
18712         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18713         (gst_segment_to_running_time):
18714         Added more documentation.
18715         Make sure the last_pos value is updated properly.
18716         Make sure to_stream_time and to_running_time don't
18717         operate on wrong values.
18718
18719         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18720         Update check.
18721
18722 2005-12-12  Michael Smith  <msmith@fluendo.com>
18723
18724         * plugins/elements/gsttypefindelement.c: (free_entry),
18725         (gst_type_find_element_chain):
18726           Now that we're not leaking factories, make sure we keep references
18727           to them while we need them.
18728
18729 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18730
18731         * tests/check/gst/struct_i386.h:
18732           ifdef out the XML structs
18733
18734 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18735
18736         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18737           floor is not needed, F is always positive; this obviates the
18738           need for adding -lm when building without libxml
18739
18740 2005-12-12  Wim Taymans  <wim@fluendo.com>
18741
18742         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18743         Take current playback rate into account when reporting
18744         the position.
18745
18746 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18747
18748         * docs/manual/mime-world.fig:
18749           Let's try this again, this time with a file that is
18750           actually in XFig format.
18751
18752 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18753
18754         * docs/manual/mime-world.fig:
18755           Add audioconvert element to diagram so that it
18756           matches the text and the code (fixes #319526).
18757
18758 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18759
18760         * docs/pwg/building-chainfn.xml:
18761         * docs/pwg/building-pads.xml:
18762         * docs/pwg/building-state.xml:
18763         * docs/pwg/other-source.xml:
18764           Update state change stuff for 0.10 (fixes #322969).
18765
18766 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18767
18768         * docs/manual/advanced-dataaccess.xml:
18769         * docs/manual/appendix-checklist.xml:
18770         * docs/manual/appendix-programs.xml:
18771         * docs/manual/basics-pads.xml:
18772         * docs/manual/highlevel-components.xml:
18773         * docs/manual/manual.xml:
18774           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18775           add converters in front of pipelines; remove curly
18776           brackets for threads stuff, they no longer exist; use
18777           GST_TYPE_FRACTION for framerates; update some pieces of
18778           code to 0.10, but there's plenty more to do.
18779
18780         * docs/manual/appendix-porting.xml:
18781           Expand on asynchroneous state changes; s/0.9/0.10/;
18782           mention disappearance of gst_init_get_popt_table()
18783           (fixes #322916).
18784
18785 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18786
18787         * docs/faq/using.xml:
18788           Spider no longer exists, and neither does gst-launch-ext.
18789           Update examples to use decodebin and playbin and put
18790           converters in front of sinks (fixes #323726).
18791
18792 2005-12-09  Michael Smith  <msmith@fluendo.com>
18793
18794         * plugins/elements/gsttypefindelement.c: (find_peek),
18795         (gst_type_find_element_chain):
18796           Fix leaking element factories in typefinding.
18797           Fix problem where we forgot about a probable type on non-seekable
18798           files, and thus later mis-typefound it.
18799
18800 2005-12-09  Michael Smith  <msmith@fluendo.com>
18801
18802         * common/m4/gst-makecontext.m4:
18803         * common/m4/gst-mcsc.m4:
18804         * configure.ac:
18805         * win32/common/config.h:
18806         * win32/common/config.h.in:
18807           Remove makecontext stuff; not used in 0.10 and causes problems on
18808           HPUX according to bug #322441
18809
18810 2005-12-07  Wim Taymans  <wim@fluendo.com>
18811
18812         * tests/check/Makefile.am:
18813         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18814         (main):
18815         * tests/check/libs/struct_i386.h:
18816         Added ABI check for libs
18817
18818 2005-12-07  Wim Taymans  <wim@fluendo.com>
18819
18820         * tests/check/Makefile.am:
18821         And add the struct_i386.h to dist.
18822
18823 2005-12-07  Wim Taymans  <wim@fluendo.com>
18824
18825         * tests/check/Makefile.am:
18826         * tests/check/gst/.cvsignore:
18827         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18828         (main):
18829         * tests/check/gst/struct_i386.h:
18830         Added check for ABI compatibility.
18831
18832 2005-12-07  Wim Taymans  <wim@fluendo.com>
18833
18834         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18835         (gst_fake_src_get_times), (gst_fake_src_create):
18836         Fix broken sync option, fixes #323259
18837
18838 2005-12-07  Wim Taymans  <wim@fluendo.com>
18839
18840         * gst/gstbuffer.c:
18841         Small docs update.
18842
18843         * gst/gstcaps.c: (gst_caps_is_equal):
18844         Don't assert on NULL <--> X. Fixes #323260
18845
18846         * gst/gstminiobject.c: (gst_mini_object_replace):
18847         If we're doing atomic operations, we might just as well use
18848         the proper way to get an atomic pointer.
18849
18850         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18851         Clean up debugging.
18852
18853 2005-12-07  Michael Smith  <msmith@fluendo.com>
18854
18855         * gst/parse/grammar.y:
18856           Remove handling of { } for threads.
18857
18858 2005-12-06  David Schleef  <ds@schleef.org>
18859
18860         * libs/gst/base/gstbasetransform.c: speling fix.
18861
18862 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18863
18864         * docs/libs/tmpl/gstdataprotocol.sgml:
18865         * docs/random/omega/testing/gstobject.c:
18866         * gst/gst.c:
18867         * gst/gstclock.c:
18868         * gst/gstelement.c:
18869         * gst/gstelementfactory.c:
18870         * gst/gsterror.c:
18871         * gst/gstevent.c:
18872         * gst/gstghostpad.c:
18873         * gst/gstinfo.c:
18874         * gst/gstpadtemplate.c:
18875         * gst/gstregistryxml.c:
18876         * gst/gsttaglist.c:
18877         * gst/gsttagsetter.c:
18878         * gst/gsttypefind.c:
18879         * gst/gstvalue.c:
18880         * libs/gst/base/gstbasesrc.c:
18881         * libs/gst/net/gstnetclientclock.c:
18882         * libs/gst/net/gstnettimeprovider.c:
18883         * plugins/elements/gstfakesrc.c:
18884         * plugins/elements/gstfdsrc.c:
18885         * plugins/elements/gstfilesrc.c:
18886         * plugins/elements/gstidentity.c:
18887         * plugins/elements/gstqueue.c:
18888         * plugins/elements/gsttypefindelement.c:
18889         * plugins/indexers/gstfileindex.c:
18890         * plugins/indexers/gstmemindex.c:
18891         * tests/check/gst/gsttag.c:
18892         * tests/old/examples/cutter/cutter.c:
18893         * tests/old/examples/mixer/mixer.c:
18894         * tests/old/examples/xml/runxml.c: (main):
18895         * tests/old/testsuite/caps/normalisation.c:
18896         * tests/old/testsuite/debug/global.c:
18897         * tests/old/testsuite/parse/parse1.c:
18898         * tools/gst-xmlinspect.c:
18899         * win32/common/dirent.c:
18900           expand tabs
18901
18902 === release 0.10.0 ===
18903
18904 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18905
18906         * configure.ac:
18907           releasing 0.10.0, "Maroilles"
18908
18909 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18910
18911         submitted by: Funda Wang <fundawang@linux.net.cn>
18912
18913         * po/LINGUAS:
18914         * po/zh_CN.po:
18915           added Chinese (Traditional) translation
18916
18917 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18918
18919         * docs/gst/gstreamer-sections.txt:
18920         * docs/libs/tmpl/gstdataprotocol.sgml:
18921         * docs/random/thomasvs/TODO:
18922         * gst/gstutils.c:
18923         * gst/gstutils.h:
18924           fix docs
18925
18926 2005-12-05  Andy Wingo  <wingo@pobox.com>
18927
18928         patch by: Wim Taymans <wim@fluendo.com>
18929
18930         * libs/gst/base/gstbasetransform.c
18931         (gst_base_transform_prepare_output_buf)
18932         (gst_base_transform_buffer_alloc):
18933         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18934         alloc_buffer_and_set_caps.
18935
18936         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18937         set_caps on the source pad.
18938         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18939         alloc_buffer used to do. Fixes #322874.
18940
18941         * docs/gst/gstreamer-sections.txt: 
18942         * docs/design/part-negotiation.txt: 
18943         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18944         changes.
18945
18946 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18947
18948         patch by: Sebastien Moutte
18949
18950         * win32/MANIFEST:
18951         * win32/common/config.h.in:
18952         * win32/vs6/libgstcontroller.dsp:
18953           win32 build fixes
18954
18955 2005-12-05  Wim Taymans  <wim@fluendo.com>
18956
18957         * gst/gstcaps.c: (gst_caps_is_equal):
18958         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18959         (gst_fake_src_create):
18960         Back out previous code changes, leave doc updates, file bugs 
18961         instead. 
18962
18963 2005-12-05  Wim Taymans  <wim@fluendo.com>
18964
18965         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18966         (gst_fake_src_get_times), (gst_fake_src_create):
18967         * plugins/elements/gstfakesrc.h:
18968         Fix broken sync code.
18969
18970 2005-12-05  Wim Taymans  <wim@fluendo.com>
18971
18972         * gst/gstcaps.c: (gst_caps_is_equal):
18973         Comparing NULL against !NULL yields different caps, not a
18974         failure.
18975
18976 2005-12-05  Wim Taymans  <wim@fluendo.com>
18977
18978         * gst/gstpipeline.c:
18979         Fix small typo in docs.
18980
18981 2005-12-05  Andy Wingo  <wingo@pobox.com>
18982
18983         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18984
18985         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18986         registries/plugins with a MAJORMINOR one.
18987         (plugin_desc): Rename library from gstcoreleements to
18988         staticelements. Fixes #323222.
18989
18990 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18991
18992         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18993           Change debug category to 'collectpads' from 'collect_pads'
18994           (fixes #323250).
18995
18996 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18997
18998         patch by: Sebastien Moutte
18999
19000         * libs/gst/controller/gstinterpolation.c:
19001           use convert function for uint64/double
19002         * win32/vs6/libgstcontroller.dsp:
19003           link to GLib
19004
19005 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19006
19007         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19008         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19009         * gst/gstutils.h:
19010         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19011           add tests that seem to show that the guint64/gdouble conversions
19012           are correct.
19013
19014 2005-12-02  Wim Taymans  <wim@fluendo.com>
19015
19016         * gst/gstregistry.c: (gst_registry_add_path):
19017         * gst/gstregistry.h:
19018         * gst/gstregistryxml.c:
19019         Fix docs again.
19020
19021 2005-12-02  Wim Taymans  <wim@fluendo.com>
19022
19023         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19024         (gst_util_uint64_scale_int):
19025         Small cleanup.
19026
19027         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19028         Add debug log line.
19029
19030         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19031         Add FIXME.
19032
19033 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19034
19035         * win32/MANIFEST:
19036         * win32/common/config.h:
19037         * win32/vs6/gstreamer.dsw:
19038         * win32/vs6/libgstcoreelements.dsp:
19039         * win32/vs6/libgstelements.dsp:
19040           renamed core elements plugin
19041
19042 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19043
19044         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19045         (get_candidates):
19046           do piece-wise major/minor comparison so 0.9 < 0.10
19047           also allow .exe extensions for tools
19048
19049 2005-12-02  Michael Smith  <msmith@fluendo.com>
19050
19051         * gst/gst.c:
19052           Escape a % to make gtkdoc happier; bug 322958.
19053
19054 === release 0.9.7 ===
19055
19056 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19057
19058         * configure.ac:
19059           releasing 0.9.7, "My Dog Has No Nose"
19060
19061 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19062
19063         * common/gst-xmlinspect.py:
19064         * configure.ac:
19065         * docs/libs/tmpl/gstdataprotocol.sgml:
19066         * docs/random/release:
19067         * po/af.po:
19068         * po/az.po:
19069         * po/bg.po:
19070         * po/ca.po:
19071         * po/cs.po:
19072         * po/de.po:
19073         * po/en_GB.po:
19074         * po/fr.po:
19075         * po/it.po:
19076         * po/nb.po:
19077         * po/nl.po:
19078         * po/ru.po:
19079         * po/sq.po:
19080         * po/sr.po:
19081         * po/sv.po:
19082         * po/tr.po:
19083         * po/uk.po:
19084         * po/vi.po:
19085         * win32/common/config.h:
19086         * win32/common/config.h.in:
19087         * win32/vs6/gst_inspect.dsp:
19088         * win32/vs6/gst_launch.dsp:
19089         * win32/vs6/libgstbase.dsp:
19090         * win32/vs6/libgstelements.dsp:
19091         * win32/vs6/libgstreamer.dsp:
19092         * win32/vs7/GStreamer.vcproj:
19093         * win32/vs7/gst-inspect.vcproj:
19094         * win32/vs7/gst-launch.vcproj:
19095         * win32/vs7/libgstbase.vcproj:
19096           bump GST_MAJORMINOR to 0.10
19097           reset libtool version
19098
19099 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19100
19101         * po/LINGUAS:
19102         * po/bg.po:
19103           Added Bulgarian translation by (Alexander Shopov)
19104
19105 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19106
19107         * tests/check/gst/gstplugin.c:
19108           fix test
19109
19110 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19111
19112         * common/gst-xmlinspect.py:
19113         * common/gtk-doc-plugins.mak:
19114         * configure.ac:
19115         * docs/Makefile.am:
19116         * docs/gst/Makefile.am:
19117         * docs/gst/gstreamer-docs.sgml:
19118         * docs/gst/gstreamer-sections.txt:
19119         * docs/gst/gstreamer.types:
19120         * docs/gst/gstreamer.types.in:
19121         * docs/plugins/Makefile.am:
19122         * docs/plugins/gstreamer-plugins-docs.sgml:
19123         * docs/plugins/gstreamer-plugins-sections.txt:
19124         * docs/plugins/gstreamer-plugins.types:
19125         * docs/plugins/inspect.stamp:
19126         * docs/plugins/inspect/plugin-coreelements.xml:
19127         * docs/plugins/inspect/plugin-coreindexers.xml:
19128         * docs/plugins/scanobj-build.stamp:
19129         * gstreamer.spec.in:
19130         * plugins/elements/Makefile.am:
19131         * plugins/elements/gstelements.c:
19132         * plugins/elements/gstfakesink.c:
19133         * plugins/elements/gstfakesrc.c:
19134         * plugins/elements/gstfilesink.c:
19135         * plugins/elements/gstfilesrc.c:
19136         * plugins/elements/gstqueue.c:
19137         * plugins/indexers/Makefile.am:
19138         * plugins/indexers/gstindexers.c:
19139           document core plugins in a separate document just like all the
19140           others
19141           rename these plugins to something starting with core
19142
19143 2005-12-01  Andy Wingo  <wingo@pobox.com>
19144
19145         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19146         padding here before, but it missed the commit.
19147
19148 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19149
19150         * libs/gst/controller/gstinterpolation.c:
19151           whitespace prices have crashed, we should feel free to use some now
19152           use gst_guint64_to_gdouble
19153
19154 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19155
19156         * libs/gst/controller/gstcontroller.c:
19157         * libs/gst/controller/gsthelper.c:
19158         * libs/gst/controller/gstinterpolation.c:
19159         * libs/gst/controller/lib.c:
19160           wrap config.h include
19161
19162 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19163
19164         * docs/gst/gstreamer-sections.txt:
19165           update docs
19166
19167 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19168
19169         * plugins/elements/gstelements.c:
19170         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19171         (gst_fd_sink__class_init), (gst_fd_sink__init),
19172         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19173         (gst_fd_sink__get_property):
19174         * plugins/elements/gstfdsink.h:
19175         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19176         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19177         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19178         (gst_fd_src_unlock), (gst_fd_src_set_property),
19179         (gst_fd_src_get_property), (gst_fd_src_create),
19180         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19181         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19182         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19183         (gst_fd_src_uri_handler_init):
19184         * plugins/elements/gstfdsrc.h:
19185         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19186           more anal cleanup
19187
19188 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19189
19190         * docs/gst/Makefile.am:
19191         * docs/gst/gstreamer.types.in:
19192         * gst/Makefile.am:
19193           fix the docs build
19194
19195 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19196
19197         * configure.ac:
19198         * gst/Makefile.am:
19199         * gst/gst.c:
19200         * gst/gstplugin.h:
19201         * gst/gstregistry.h:
19202         * tests/benchmarks/complexity.c:
19203         * tests/benchmarks/mass-elements.c:
19204         * tests/check/Makefile.am:
19205         * tools/Makefile.am:
19206         * tools/gst-inspect.c:
19207         * tools/gst-xmlinspect.c:
19208           various fixes to make
19209           --disable-nls --disable-registry --disable-loadsave
19210           --disable-parse --disable-gst-debug
19211           work and get the core .so down to 360444 bytes after stripping
19212
19213 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19214
19215         * Makefile.am:
19216         * configure.ac:
19217           descend into tests
19218         * docs/random/thomasvs/TODO:
19219         * tests/Makefile.am:
19220         * tests/README:
19221           add a README
19222
19223 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19224
19225         * win32/GStreamer.vcproj:
19226         * win32/MANIFEST:
19227         * win32/Makefile:
19228         * win32/Makefile.inspect:
19229         * win32/Makefile.launch:
19230         * win32/Makefile.register:
19231         * win32/README.txt:
19232         * win32/gst-inspect.vcproj:
19233         * win32/gst-launch.vcproj:
19234         * win32/gst-register.vcproj:
19235         * win32/gstelements.vcproj:
19236         * win32/gstgetbits.def:
19237         * win32/gstgetbits.vcproj:
19238         * win32/gstreamer-dbg.def:
19239         * win32/gstreamer.def:
19240         * win32/libgstbase.def:
19241         * win32/libgstbase.vcproj:
19242         * win32/link_oldruntime.c:
19243         * win32/mman.c:
19244         * win32/mman.h:
19245         * win32/mman.inl:
19246         * win32/msvc71.sln:
19247           move even more stuff, win32/ is nice and clean now
19248
19249 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19250
19251         * libs/gst/control/.cvsignore:
19252         * win32/MANIFEST:
19253         * win32/config.h:
19254         * win32/dirent.c:
19255         * win32/dirent.h:
19256         * win32/gstbytestream.def:
19257         * win32/gstbytestream.vcproj:
19258         * win32/gstconfig.h:
19259         * win32/gstenumtypes.c:
19260         * win32/gstenumtypes.h:
19261         * win32/gstoptimalscheduler.vcproj:
19262         * win32/gstversion.h:
19263         * win32/gtchar.h:
19264         * win32/testsuite/bins.vcproj:
19265         * win32/testsuite/bytestream.vcproj:
19266         * win32/testsuite/caps.vcproj:
19267         * win32/testsuite/cleanup.vcproj:
19268         * win32/testsuite/clock.vcproj:
19269         * win32/testsuite/debug.vcproj:
19270         * win32/testsuite/dlopen.vcproj:
19271         * win32/testsuite/dynparams.vcproj:
19272         * win32/testsuite/elements.vcproj:
19273         * win32/testsuite/ghostpads.vcproj:
19274         * win32/testsuite/indexers.vcproj:
19275         * win32/testsuite/negotiation.vcproj:
19276         * win32/testsuite/parse.vcproj:
19277         * win32/testsuite/plugin.vcproj:
19278         * win32/testsuite/refcounting.vcproj:
19279         * win32/testsuite/schedulers.vcproj:
19280         * win32/testsuite/states.vcproj:
19281         * win32/testsuite/tags.vcproj:
19282         * win32/testsuite/threads.vcproj:
19283           remove old win32 stuff that isn't maintained and should be
19284           reorganized
19285
19286 2005-11-30  Andy Wingo  <wingo@pobox.com>
19287
19288         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19289         loading the gst.interfaces python module bork.
19290
19291         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19292         available since GLib 2.2. Fixes #318031.
19293
19294 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19295
19296         * Makefile.am:
19297         * check/.cvsignore:
19298         * check/Makefile.am:
19299         * check/elements/.cvsignore:
19300         * check/elements/fakesrc.c:
19301         * check/elements/fdsrc.c:
19302         * check/elements/identity.c:
19303         * check/generic/.cvsignore:
19304         * check/generic/states.c:
19305         * check/gst-libs/.cvsignore:
19306         * check/gst-libs/controller.c:
19307         * check/gst-libs/gdp.c:
19308         * check/gst/.cvsignore:
19309         * check/gst/capslist.h:
19310         * check/gst/gst.c:
19311         * check/gst/gstbin.c:
19312         * check/gst/gstbuffer.c:
19313         * check/gst/gstbus.c:
19314         * check/gst/gstcaps.c:
19315         * check/gst/gstelement.c:
19316         * check/gst/gstevent.c:
19317         * check/gst/gstghostpad.c:
19318         * check/gst/gstiterator.c:
19319         * check/gst/gstmessage.c:
19320         * check/gst/gstminiobject.c:
19321         * check/gst/gstobject.c:
19322         * check/gst/gstpad.c:
19323         * check/gst/gstpipeline.c:
19324         * check/gst/gstplugin.c:
19325         * check/gst/gstsegment.c:
19326         * check/gst/gststructure.c:
19327         * check/gst/gstsystemclock.c:
19328         * check/gst/gsttag.c:
19329         * check/gst/gstutils.c:
19330         * check/gst/gstvalue.c:
19331         * check/net/.cvsignore:
19332         * check/net/gstnetclientclock.c:
19333         * check/net/gstnettimeprovider.c:
19334         * check/pipelines/.cvsignore:
19335         * check/pipelines/cleanup.c:
19336         * check/pipelines/simple_launch_lines.c:
19337         * check/pipelines/stress.c:
19338         * check/states/.cvsignore:
19339         * check/states/sinks.c:
19340         * configure.ac:
19341         * examples/Makefile.am:
19342         * examples/appreader/.cvsignore:
19343         * examples/appreader/Makefile.am:
19344         * examples/appreader/appreader.c:
19345         * examples/controller/.cvsignore:
19346         * examples/controller/Makefile.am:
19347         * examples/controller/audio-example.c:
19348         * examples/cutter/.cvsignore:
19349         * examples/cutter/Makefile.am:
19350         * examples/cutter/cutter.c:
19351         * examples/cutter/cutter.h:
19352         * examples/events/Makefile.am:
19353         * examples/events/seek.c:
19354         * examples/helloworld/.cvsignore:
19355         * examples/helloworld/Makefile.am:
19356         * examples/helloworld/helloworld.c:
19357         * examples/helloworld2/.cvsignore:
19358         * examples/helloworld2/Makefile.am:
19359         * examples/helloworld2/helloworld2.c:
19360         * examples/launch/.cvsignore:
19361         * examples/launch/Makefile.am:
19362         * examples/launch/mp3parselaunch.c:
19363         * examples/launch/mp3play:
19364         * examples/manual/.cvsignore:
19365         * examples/manual/Makefile.am:
19366         * examples/manual/extract.pl:
19367         * examples/metadata/Makefile.am:
19368         * examples/metadata/read-metadata.c:
19369         * examples/mixer/.cvsignore:
19370         * examples/mixer/Makefile.am:
19371         * examples/mixer/mixer.c:
19372         * examples/mixer/mixer.h:
19373         * examples/pingpong/.cvsignore:
19374         * examples/pingpong/Makefile.am:
19375         * examples/pingpong/pingpong.c:
19376         * examples/plugins/.cvsignore:
19377         * examples/plugins/Makefile.am:
19378         * examples/plugins/example.c:
19379         * examples/plugins/example.h:
19380         * examples/pwg/.cvsignore:
19381         * examples/pwg/Makefile.am:
19382         * examples/pwg/extract.pl:
19383         * examples/queue/.cvsignore:
19384         * examples/queue/Makefile.am:
19385         * examples/queue/queue.c:
19386         * examples/queue2/.cvsignore:
19387         * examples/queue2/Makefile.am:
19388         * examples/queue2/queue2.c:
19389         * examples/queue3/.cvsignore:
19390         * examples/queue3/Makefile.am:
19391         * examples/queue3/queue3.c:
19392         * examples/queue4/.cvsignore:
19393         * examples/queue4/Makefile.am:
19394         * examples/queue4/queue4.c:
19395         * examples/retag/.cvsignore:
19396         * examples/retag/Makefile.am:
19397         * examples/retag/retag.c:
19398         * examples/retag/transcode.c:
19399         * examples/thread/.cvsignore:
19400         * examples/thread/Makefile.am:
19401         * examples/thread/thread.c:
19402         * examples/typefind/.cvsignore:
19403         * examples/typefind/Makefile.am:
19404         * examples/typefind/typefind.c:
19405         * examples/xml/.cvsignore:
19406         * examples/xml/Makefile.am:
19407         * examples/xml/createxml.c:
19408         * examples/xml/runxml.c:
19409         * tests/Makefile.am:
19410         * tests/check/Makefile.am:
19411         * testsuite/.cvsignore:
19412         * testsuite/Makefile.am:
19413         * testsuite/Rules:
19414         * testsuite/caps/.cvsignore:
19415         * testsuite/caps/Makefile.am:
19416         * testsuite/caps/app_fixate.c:
19417         * testsuite/caps/audioscale.c:
19418         * testsuite/caps/caps.c:
19419         * testsuite/caps/caps.h:
19420         * testsuite/caps/caps_strings:
19421         * testsuite/caps/compatibility.c:
19422         * testsuite/caps/deserialize.c:
19423         * testsuite/caps/enumcaps.c:
19424         * testsuite/caps/eratosthenes.c:
19425         * testsuite/caps/filtercaps.c:
19426         * testsuite/caps/fixed.c:
19427         * testsuite/caps/fraction-convert.c:
19428         * testsuite/caps/fraction-multiply-and-zero.c:
19429         * testsuite/caps/intersect2.c:
19430         * testsuite/caps/intersection.c:
19431         * testsuite/caps/normalisation.c:
19432         * testsuite/caps/random.c:
19433         * testsuite/caps/renegotiate.c:
19434         * testsuite/caps/sets.c:
19435         * testsuite/caps/simplify.c:
19436         * testsuite/caps/string-conversions.c:
19437         * testsuite/caps/structure.c:
19438         * testsuite/caps/subtract.c:
19439         * testsuite/caps/union.c:
19440         * testsuite/debug/.cvsignore:
19441         * testsuite/debug/Makefile.am:
19442         * testsuite/debug/category.c:
19443         * testsuite/debug/commandline.c:
19444         * testsuite/debug/global.c:
19445         * testsuite/debug/output.c:
19446         * testsuite/debug/printf_extension.c:
19447         * testsuite/dlopen/.cvsignore:
19448         * testsuite/dlopen/Makefile.am:
19449         * testsuite/dlopen/dlopen_gst.c:
19450         * testsuite/dlopen/loadgst.c:
19451         * testsuite/elements/.cvsignore:
19452         * testsuite/elements/Makefile.am:
19453         * testsuite/elements/gst-inspect-check.in:
19454         * testsuite/elements/struct_i386.h:
19455         * testsuite/elements/struct_size.c:
19456         * testsuite/indexers/.cvsignore:
19457         * testsuite/indexers/Makefile.am:
19458         * testsuite/indexers/cache1.c:
19459         * testsuite/indexers/indexdump.c:
19460         * testsuite/parse/.cvsignore:
19461         * testsuite/parse/Makefile.am:
19462         * testsuite/parse/parse1.c:
19463         * testsuite/parse/parse2.c:
19464         * testsuite/plugin/.cvsignore:
19465         * testsuite/plugin/Makefile.am:
19466         * testsuite/plugin/README:
19467         * testsuite/plugin/dynamic.c:
19468         * testsuite/plugin/linked.c:
19469         * testsuite/plugin/loading.c:
19470         * testsuite/plugin/registry.c:
19471         * testsuite/plugin/static.c:
19472         * testsuite/plugin/static2.c:
19473         * testsuite/plugin/testplugin.c:
19474         * testsuite/plugin/testplugin2.c:
19475         * testsuite/plugin/testplugin2_s.c:
19476         * testsuite/plugin/testplugin_s.c:
19477         * testsuite/refcounting/.cvsignore:
19478         * testsuite/refcounting/Makefile.am:
19479         * testsuite/refcounting/bin.c:
19480         * testsuite/refcounting/element.c:
19481         * testsuite/refcounting/element_pad.c:
19482         * testsuite/refcounting/mainloop.c:
19483         * testsuite/refcounting/mem.c:
19484         * testsuite/refcounting/mem.h:
19485         * testsuite/refcounting/object.c:
19486         * testsuite/refcounting/pad.c:
19487         * testsuite/refcounting/sched.c:
19488         * testsuite/refcounting/thread.c:
19489         * testsuite/states/.cvsignore:
19490         * testsuite/states/Makefile.am:
19491         * testsuite/states/bin.c:
19492         * testsuite/states/locked.c:
19493         * testsuite/states/parent.c:
19494         * testsuite/threads/.cvsignore:
19495         * testsuite/threads/159566.c:
19496         * testsuite/threads/159852.c:
19497         * testsuite/threads/Makefile.am:
19498         * testsuite/threads/queue.c:
19499         * testsuite/threads/signals.c:
19500         * testsuite/threads/staticrec.c:
19501         * testsuite/threads/thread.c:
19502         * testsuite/threads/threadb.c:
19503         * testsuite/threads/threadc.c:
19504         * testsuite/threads/threadd.c:
19505         * testsuite/threads/threade.c:
19506         * testsuite/threads/threadf.c:
19507         * testsuite/threads/threadg.c:
19508         * testsuite/threads/threadh.c:
19509         * testsuite/threads/threadi.c:
19510           move all of these under tests
19511
19512 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19513
19514         * configure.ac:
19515         * tests/Makefile.am:
19516           fix distcheck
19517
19518 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19519
19520         * docs/gst/gstreamer-sections.txt:
19521         * tests/sched/.cvsignore:
19522         * tests/sched/Makefile.am:
19523         * tests/sched/cases/(fs-fs).xml:
19524         * tests/sched/cases/(fs-i-fs).xml:
19525         * tests/sched/cases/(fs-i-i-fs).xml:
19526         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19527         * tests/sched/dynamic-pipeline.c:
19528         * tests/sched/interrupt1.c:
19529         * tests/sched/interrupt2.c:
19530         * tests/sched/interrupt3.c:
19531         * tests/sched/runtestcases:
19532         * tests/sched/runxml.c:
19533         * tests/sched/sched-stress.c:
19534         * tests/sched/sort.c:
19535         * tests/sched/testcases:
19536         * tests/sched/testcases1.tc:
19537         * tests/seeking/.cvsignore:
19538         * tests/seeking/Makefile.am:
19539         * tests/seeking/seeking1.c:
19540         * tests/threadstate/.cvsignore:
19541         * tests/threadstate/Makefile.am:
19542         * tests/threadstate/test1.c:
19543         * tests/threadstate/test2.c:
19544         * tests/threadstate/threadstate1.c:
19545         * tests/threadstate/threadstate2.c:
19546         * tests/threadstate/threadstate3.c:
19547         * tests/threadstate/threadstate4.c:
19548         * tests/threadstate/threadstate5.c:
19549           remove obsolete tests
19550         * configure.ac:
19551         * tests/bench-complexity.scm:
19552         * tests/bench-mass_elements.scm:
19553         * tests/complexity.c:
19554         * tests/complexity.gnuplot:
19555         * tests/instantiate/.cvsignore:
19556         * tests/instantiate/Makefile.am:
19557         * tests/instantiate/caps.c:
19558         * tests/mass_elements.c:
19559         * tests/network-clock-utils.scm:
19560         * tests/network-clock.scm:
19561         * tests/plot-data:
19562         First pass at cleaning up tests/ dir before moving the rest
19563         Combined with CVS surgery
19564
19565 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19566
19567         * po/POTFILES.in:
19568           queue has moved, update
19569
19570 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19571
19572         * docs/gst/gstreamer-sections.txt:
19573           remove double entries from the docs
19574         * gst/gst_private.h:
19575         * gst/gstinfo.c: (_gst_debug_init):
19576           remove the THREAD debug category
19577         * gst/Makefile.am:
19578         * gst/gstqueue.c:
19579         * gst/gstqueue.h:
19580         * docs/gst/gstreamer.types:
19581         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19582         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19583           completely move queue and fix up debugging categories
19584
19585 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19586
19587         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19588           make initialization portable, using LL is not
19589
19590 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19591
19592         * win32/common/gstconfig.h:
19593           add large padding
19594
19595 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19596
19597         * win32/common/libgstreamer.def:
19598           rename symbols; sort base section
19599
19600 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19601
19602         * gst/gstclock.c: (do_linear_regression):
19603           remove crack non-portable handrolled DEBUG macro
19604
19605 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19606
19607         * docs/random/release:
19608           update notes
19609         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19610         (gst_object_flags_get_type), (register_gst_bin_flags),
19611         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19612         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19613         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19614         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19615         (gst_caps_flags_get_type), (register_gst_clock_return),
19616         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19617         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19618         (gst_clock_flags_get_type), (register_gst_state),
19619         (gst_state_get_type), (register_gst_state_change_return),
19620         (gst_state_change_return_get_type), (register_gst_state_change),
19621         (gst_state_change_get_type), (register_gst_element_flags),
19622         (gst_element_flags_get_type), (register_gst_core_error),
19623         (gst_core_error_get_type), (register_gst_library_error),
19624         (gst_library_error_get_type), (register_gst_resource_error),
19625         (gst_resource_error_get_type), (register_gst_stream_error),
19626         (gst_stream_error_get_type), (register_gst_event_type_flags),
19627         (gst_event_type_flags_get_type), (register_gst_event_type),
19628         (gst_event_type_get_type), (register_gst_seek_type),
19629         (gst_seek_type_get_type), (register_gst_seek_flags),
19630         (gst_seek_flags_get_type), (register_gst_format),
19631         (gst_format_get_type), (register_gst_index_certainty),
19632         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19633         (gst_index_entry_type_get_type),
19634         (register_gst_index_lookup_method),
19635         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19636         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19637         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19638         (gst_index_flags_get_type), (register_gst_debug_level),
19639         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19640         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19641         (gst_iterator_result_get_type), (register_gst_iterator_item),
19642         (gst_iterator_item_get_type), (register_gst_message_type),
19643         (gst_message_type_get_type), (register_gst_mini_object_flags),
19644         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19645         (gst_pad_link_return_get_type), (register_gst_flow_return),
19646         (gst_flow_return_get_type), (register_gst_activate_mode),
19647         (gst_activate_mode_get_type), (register_gst_pad_direction),
19648         (gst_pad_direction_get_type), (register_gst_pad_flags),
19649         (gst_pad_flags_get_type), (register_gst_pad_presence),
19650         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19651         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19652         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19653         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19654         (gst_plugin_flags_get_type), (register_gst_rank),
19655         (gst_rank_get_type), (register_gst_query_type),
19656         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19657         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19658         (gst_tag_flag_get_type), (register_gst_task_state),
19659         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19660         (gst_alloc_trace_flags_get_type),
19661         (register_gst_type_find_probability),
19662         (gst_type_find_probability_get_type), (register_gst_uri_type),
19663         (gst_uri_type_get_type), (register_gst_parse_error),
19664         (gst_parse_error_get_type):
19665         * win32/common/gstenumtypes.h:
19666         * win32/common/gstversion.h:
19667           update visual studio generated files
19668
19669 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19670
19671         * win32/vs6/libgstbase.dsp:
19672         * win32/vs6/libgstelements.dsp:
19673           update project files for new locations
19674
19675 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19676
19677         * Makefile.am:
19678           remove some files
19679         * README:
19680           reinstate and update
19681         * DEVEL:
19682         * REQUIREMENTS:
19683           removed
19684         * LICENSE:
19685         * docs/random/LICENSE:
19686           moved to random
19687
19688 2005-11-30  Edward Hervey  <edward@fluendo.com>
19689
19690         * gst/gsttypefind.c: (gst_type_find_register):
19691         * gst/gsttypefind.h:
19692         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19693         (gst_type_find_factory_dispose):
19694         * gst/gsttypefindfactory.h:
19695         Fix memory leak in GstTypeFindFactory.
19696
19697 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19698
19699         * gst/gst.c:
19700         * plugins/elements/Makefile.am:
19701         * plugins/elements/gstelements.c:
19702         * plugins/elements/gstqueue.c:
19703           move queue from core to the elements plugin
19704
19705 2005-11-29  Andy Wingo  <wingo@pobox.com>
19706
19707         * libs/gst/base/gstbasetransform.h: 
19708         * libs/gst/base/gstbasesrc.h: 
19709         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19710
19711         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19712         of pointers by which to pad very extensible base classes (like the
19713         ones in libs/gst/base).
19714
19715 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19716
19717         * docs/gst/gstreamer-docs.sgml:
19718         * docs/gst/gstreamer-sections.txt:
19719         * docs/libs/gstreamer-libs-docs.sgml:
19720         * docs/libs/gstreamer-libs-sections.txt:
19721           moving documentation from core to lib
19722
19723 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19724
19725         * check/Makefile.am:
19726         * configure.ac:
19727         * docs/gst/Makefile.am:
19728         * gst/Makefile.am:
19729         * gst/base/.cvsignore:
19730         * gst/base/Makefile.am:
19731         * gst/base/README:
19732         * gst/base/gstadapter.c:
19733         * gst/base/gstadapter.h:
19734         * gst/base/gstbasesink.c:
19735         * gst/base/gstbasesink.h:
19736         * gst/base/gstbasesrc.c:
19737         * gst/base/gstbasesrc.h:
19738         * gst/base/gstbasetransform.c:
19739         * gst/base/gstbasetransform.h:
19740         * gst/base/gstcollectpads.c:
19741         * gst/base/gstcollectpads.h:
19742         * gst/base/gstpushsrc.c:
19743         * gst/base/gstpushsrc.h:
19744         * gst/base/gsttypefindhelper.c:
19745         * gst/base/gsttypefindhelper.h:
19746         * gst/check/Makefile.am:
19747         * gst/check/gstcheck.c:
19748         * gst/check/gstcheck.h:
19749         * gst/net/Makefile.am:
19750         * gst/net/gstnet.h:
19751         * gst/net/gstnetclientclock.c:
19752         * gst/net/gstnetclientclock.h:
19753         * gst/net/gstnettimepacket.c:
19754         * gst/net/gstnettimepacket.h:
19755         * gst/net/gstnettimeprovider.c:
19756         * gst/net/gstnettimeprovider.h:
19757         * libs/gst/Makefile.am:
19758         * libs/gst/base/Makefile.am:
19759         * libs/gst/base/gstbasetransform.c:
19760         * libs/gst/check/Makefile.am:
19761         * plugins/elements/Makefile.am:
19762         * po/POTFILES.in:
19763           CVS surgery + support to move base, check, and net out of gst
19764           and into libs/gst
19765
19766 2005-11-29  Andy Wingo  <wingo@pobox.com>
19767
19768         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19769
19770         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19771         padding.
19772
19773         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19774
19775         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19776
19777         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19778
19779         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19780         padding; reduces object size by about 30%. We don't expect
19781         anything else to go into gstobject.
19782
19783         * gst/gstminiobject.h (struct _GstMiniObject)
19784         (struct _GstMiniObjectClass): Only one pointer of padding; the
19785         payload is only a pointer and two ints anyway. For the class there
19786         are only two methods as well.
19787         
19788         * gst/gstelement.h (struct _GstElementClass): Removed
19789         the state_changed signal callback, it is not used.
19790
19791 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19792
19793         * docs/gst/gstreamer.types:
19794           fix includes, though they are a little dinky
19795
19796 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19797
19798         * check/Makefile.am:
19799           look in the right place for elements, a lot more chance of
19800           success
19801         * gst/Makefile.am:
19802           remove indexers and elements subdirs
19803         * plugins/Makefile.am:
19804           make indexers conditional
19805
19806 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19807
19808         * Makefile.am:
19809         * configure.ac:
19810         * plugins/elements/Makefile.am:
19811         * plugins/elements/gstcapsfilter.c:
19812         * plugins/elements/gstfilesink.c:
19813         * plugins/elements/gstfilesrc.c:
19814         * plugins/elements/gstidentity.c:
19815         * plugins/indexers/Makefile.am:
19816           do CVS surgery and related build fixery to move elements
19817           and indexers in a new gstreamer/plugins directory, out of the
19818           gst/ directory
19819
19820 2005-11-29  Andy Wingo  <wingo@pobox.com>
19821
19822         * check/Makefile.am:
19823         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19824         * pkgconfig/gstreamer-net.pc.in:
19825         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19826         #322257.
19827
19828 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19829
19830         * tools/Makefile.am:
19831         * tools/gst-complete.1.in:
19832         * tools/gst-complete.c:
19833         * tools/gst-compprep.1.in:
19834         * tools/gst-compprep.c:
19835           removing -compprep and -complete
19836
19837 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19838
19839         * gst/gstevent.c: (gst_event_new_new_segment),
19840         (gst_event_parse_new_segment):
19841         * gst/gstevent.h:
19842           fix #320529 - clean up new_segment API and structure.
19843           Let's hope everyone was using the methods, and not the structure.
19844
19845 2005-11-29  Edward Hervey  <edward@fluendo.com>
19846
19847         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19848         (gst_base_sink_event), (gst_base_sink_do_sync),
19849         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19850         Properly handle non GST_FORMAT_TIME segment
19851         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19852         Properly handle non GST_FORMAT_TIME segment
19853         * gst/gstsegment.c:
19854         This function is valid if the accumulator is 0 and the format
19855         is different from the requested format.
19856         
19857 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19858
19859         * docs/gst/gstreamer-sections.txt:
19860         Add gst_query_new_seeking and gst_query_parse_seeking to the
19861         docs.
19862
19863 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19864
19865         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19866           Treat a pad alloc with new caps the same as if we were not
19867           negotiated, in order to allow a changing upstream output
19868           to produce a new format of data.
19869
19870 2005-11-29  Edward Hervey  <edward@fluendo.com>
19871
19872         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19873         (gst_base_transform_event), (gst_base_transform_eventfunc):
19874         The event virtual method is now properly implemented, with a default
19875         handler
19876         Sub classes should call the parent_class event method. They should
19877         return FALSE if they had a problem handling the given event, or don't
19878         want GstBaseTransform to send that even downstream
19879         * gst/elements/gstidentity.c: (gst_identity_class_init),
19880         (gst_identity_init), (gst_identity_event),
19881         (gst_identity_transform_ip), (gst_identity_set_property),
19882         (gst_identity_get_property):
19883         * gst/elements/gstidentity.h:
19884         Added the single-segment boolean property.
19885         If set to TRUE, it will output a single segment of data, starting from
19886         0, will eat up all incoming newsegment, and modify the timestamp of the
19887         buffers accordingly
19888
19889 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19890
19891         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19892           Don't ref NULL target pad (#322751). Improve docs.
19893
19894 2005-11-29  Michael Smith  <msmith@fluendo.com>
19895
19896         * gst/gstregistryxml.c: (load_plugin):
19897           Don't crash if we failed to load a feature from a plugin. 
19898
19899 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19900
19901         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19902         (GST_START_TEST):
19903           use more check API and less GLib API
19904
19905 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19906
19907         * Makefile.am:
19908           don't run checks if we don't have check
19909         * common/check.mak:
19910           remove the registry when running make torture
19911         * docs/gst/gstreamer-sections.txt:
19912           remove second multiply
19913         * gst/gstqueue.c: (gst_queue_loop):
19914           fix a compile warning when disabling debug
19915
19916 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19917
19918         * gst/gstinfo.h:
19919         Hey! Let's print the pad name if the pointer != NULL instead
19920         of when it == NULL :-)
19921
19922 2005-11-28  Wim Taymans  <wim@fluendo.com>
19923
19924         * check/gst/gstutils.c: (GST_START_TEST):
19925         Updated check, add some scaling accuracy checking code.
19926
19927         * gst/gstutils.c: (gst_util_div128_64),
19928         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19929         (gst_util_uint64_scale_int):
19930         Fix 6 times faster division code. Optimize for common 
19931         1/1 and less common X/1 cases.
19932
19933 2005-11-28  Wim Taymans  <wim@fluendo.com>
19934
19935         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19936         More checks.
19937
19938         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19939         (do_linear_regression), (gst_clock_add_observation):
19940         Cleanups.
19941         Release lock when the clock cannot be slaved.
19942         Catch the case where the regression returned an invalid denominator.
19943
19944         * gst/gstutils.c: (gst_util_div128_64_iterate),
19945         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19946         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19947         Add protentially more performant non-iterative 128/64 divide function
19948         that unfortunatly does not work yet.
19949         Shortcut the trivial 0/X = 0 case.
19950         Remove the warnings on overflow.
19951
19952 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19953
19954         * gst/gstplugin.c: (gst_plugin_register_func):
19955           everything causing a plugin not to load should be at least a WARNING
19956
19957 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19958
19959         * docs/random/ensonic/dparams.txt:
19960           some TODOs for the next dev cycle
19961         * libs/gst/controller/gstcontroller.c:
19962         (gst_controlled_property_set_interpolation_mode),
19963         (gst_controlled_property_new):
19964         * libs/gst/controller/gstcontroller.h:
19965           use base type to assign acccessor functions
19966
19967 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19968
19969         * check/Makefile.am:
19970         Oops, that should have been top_srcdir
19971
19972 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19973
19974         * check/Makefile.am:
19975         * check/elements/fdsrc.c: (GST_START_TEST):
19976         Use a cmdline define to specify the location of a file to use for
19977         testing, to avoid breaking distcheck.
19978
19979 2005-11-28  Andy Wingo  <wingo@pobox.com>
19980
19981         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19982
19983 2005-11-28  Edward Hervey  <edward@fluendo.com>
19984
19985         * tools/gst-launch.c: (main):
19986         Clarify the output strings, makes it easier to translate.
19987         Fixes #322626
19988
19989 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19990
19991         * gst/Makefile.am:
19992           don't try and build net if we don't even have <sys/socket.h>
19993
19994 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19995
19996         * check/Makefile.am:
19997         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19998         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19999           Add tests for fdsrc seekability
20000
20001         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20002         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20003         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20004         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20005         * gst/elements/gstfdsrc.h:
20006           fdsrc should not be a 'live' source.
20007           Implement seeking on seekable fd's.
20008
20009         * gst/gstquery.c: (gst_query_new_seeking),
20010         (gst_query_parse_seeking):
20011         * gst/gstquery.h:
20012           Implement SEEKING query functions: 
20013             *_new_seeking and *_parse_seeking
20014
20015 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20016
20017         * gst/gstelement.c: (gst_element_dispose):
20018           don't loop forever
20019
20020         * gst/gstiterator.c:
20021         * gst/gststructure.c:
20022           doc fixes
20023
20024         * libs/gst/controller/gstcontroller.c:
20025         (gst_controlled_property_set_interpolation_mode):
20026         * libs/gst/controller/gstcontroller.h:
20027         * libs/gst/controller/gstinterpolation.c:
20028         (interpolate_none_get_enum_value_array):
20029           support controlling enums
20030
20031 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20032
20033         * gst/gstvalue.c:
20034           Improve documentation for gst_value_union().
20035
20036         * gst/gstvalue.h:
20037           Change return value for union, intersect and subtract functions
20038           from gint to gboolean.
20039
20040 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20041
20042         * gst/gstvalue.c: (gst_value_serialize_any_list),
20043         (gst_value_transform_any_list_string),
20044         (gst_value_deserialize_list), (gst_value_deserialize_array),
20045         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20046         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20047         (gst_value_set_fraction_range_full),
20048         (gst_value_deserialize_fraction_range),
20049         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20050         (gst_value_deserialize_boolean),
20051         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20052         (gst_value_serialize_float), (gst_value_deserialize_float),
20053         (gst_string_wrap), (gst_value_deserialize_string),
20054         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20055         (gst_value_union_int_range_int_range),
20056         (gst_value_intersect_int_range_int_range),
20057         (gst_value_intersect_double_range_double_range),
20058         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20059         (gst_value_subtract_int_range_int_range),
20060         (gst_value_subtract_double_double_range),
20061         (gst_value_subtract_double_range_double_range),
20062         (gst_value_deserialize_fraction):
20063         * gst/gstvalue.h:
20064           Use gint, gdouble and gchar in our API instead of int, double and
20065           char (and make usage in gstvalue.c more consistent).
20066
20067 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20068
20069         * check/Makefile.am:
20070         * libs/gst/controller/Makefile.am:
20071         * libs/gst/dataprotocol/Makefile.am:
20072           fix up Makefile.am and remove GST_ENABLE_NEW
20073
20074 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20075
20076         * configure.ac:
20077         * gst/Makefile.am:
20078         * gst/base/Makefile.am:
20079         * gst/check/Makefile.am:
20080         * gst/elements/Makefile.am:
20081         * gst/net/Makefile.am:
20082           update LDFLAGS use some more
20083
20084 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20085
20086         * common/m4/gst-doc.m4:
20087           Fixes #312589
20088
20089 2005-11-26  Edward Hervey  <edward@fluendo.com>
20090
20091         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20092         This shouldn't issue a g_warning since it returns NULL if it
20093         couldn't find the plugin, and all functions using this behave
20094         properly on a NULL return. Switching to a GST_WARNING.
20095
20096 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20097
20098         * gst/gstbin.c: (gst_bin_handle_message_func):
20099         Don't leak clock messages.
20100
20101 2005-11-25  Wim Taymans  <wim@fluendo.com>
20102
20103         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20104         (gst_util_uint64_scale_int):
20105         Optimisations, remove unneeded vars.
20106
20107 2005-11-25  Wim Taymans  <wim@fluendo.com>
20108
20109         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20110         Added more checks for the high precision uint64 cases.
20111
20112         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20113         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20114         Implement high precision (guint64 * guint64) / guint64.
20115
20116 2005-11-24  Wim Taymans  <wim@fluendo.com>
20117
20118         * gst/base/gstbasesrc.c: (gst_base_src_query):
20119         Fix wrong percentage query.
20120
20121         * gst/gstutils.c: (gst_util_uint64_scale),
20122         (gst_util_uint64_scale_int):
20123         Add some more common cases that can be handled 
20124         efficiently to _scale.
20125
20126 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20127
20128         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20129         (gst_mini_object_suite):
20130           don't use check calls from threads; check probably isn't
20131           threadsafe and using a lock to make it threadsafe would
20132           defeat the purpose of this check
20133         * gst/check/gstcheck.c:
20134         * gst/check/gstcheck.h:
20135           use GST_DEBUG some more
20136
20137 2005-11-24  Wim Taymans  <wim@fluendo.com>
20138
20139         * gst/gstutils.c: (gst_util_uint64_scale),
20140         (gst_util_uint64_scale_int):
20141         Chain trivial case to _scale_int.
20142
20143 2005-11-24  Wim Taymans  <wim@fluendo.com>
20144
20145         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20146         Added test for scaling.
20147
20148         * gst/gstclock.h:
20149         Small doc fix.
20150
20151         * gst/gstutils.c: (gst_util_uint64_scale_int):
20152         Implemented high precision scaling code.
20153
20154 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20155
20156         * gst/gstinfo.h:
20157           do not crash on pad==NULL
20158
20159 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20160
20161         Patch by: Stefan Kost
20162
20163         * common/gtk-doc.mak:
20164         * docs/gst/Makefile.am:
20165         * docs/libs/Makefile.am:
20166           Fix distcheck issues for the libraries docs build
20167           Closes #319599.
20168
20169 2005-11-24  Michael Smith <msmith@fluendo.com>
20170
20171         * docs/manual/basics-helloworld.xml:
20172           Fix bug #315027: memory leak in example code in docs.
20173
20174 2005-11-24  Michael Smith <msmith@fluendo.com>
20175
20176         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20177           Unlock the PREROLL_LOCK in a failure case.
20178
20179 2005-11-24  Wim Taymans  <wim@fluendo.com>
20180
20181         * docs/gst/gstreamer-sections.txt:
20182         * gst/base/gstadapter.h:
20183         * gst/base/gstbasesink.h:
20184         * gst/base/gstbasesrc.h:
20185         * gst/base/gstbasetransform.h:
20186         * gst/base/gstpushsrc.h:
20187         * gst/elements/gstfakesink.h:
20188         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20189         * gst/elements/gstfakesrc.h:
20190         * gst/elements/gstfilesink.h:
20191         * gst/elements/gstfilesrc.h:
20192         * gst/gst.c:
20193         * gst/gstbin.c:
20194         * gst/gstbuffer.c: (_gst_buffer_copy):
20195         * gst/gstbus.h:
20196         * gst/gstcaps.c:
20197         * gst/gstchildproxy.c:
20198         * gst/gstclock.c:
20199         * gst/gstelement.c:
20200         * gst/gstelementfactory.c:
20201         * gst/gstelementfactory.h:
20202         * gst/gstevent.c:
20203         * gst/gstghostpad.h:
20204         * gst/gstindex.h:
20205         * gst/gstinterface.h:
20206         * gst/gstminiobject.c:
20207         * gst/gstminiobject.h:
20208         * gst/gstpad.c:
20209         * gst/gstpad.h:
20210         * gst/gstpadtemplate.h:
20211         * gst/gstpipeline.h:
20212         * gst/gstpluginfeature.h:
20213         * gst/gstquery.h:
20214         * gst/gstqueue.h:
20215         * gst/gsttaglist.c:
20216         * gst/gsttaglist.h:
20217         * gst/gsttagsetter.c:
20218         * gst/gsttagsetter.h:
20219         * gst/gsttrace.c:
20220         * gst/gsttrace.h:
20221         * gst/gsttypefind.h:
20222         * gst/gsturi.h:
20223         * gst/gstvalue.c:
20224         * gst/net/gstnetclientclock.c:
20225         * gst/net/gstnetclientclock.h:
20226         * gst/net/gstnettimepacket.c:
20227         * gst/net/gstnettimeprovider.c:
20228         * gst/net/gstnettimeprovider.h:
20229         Doc fixes.
20230
20231 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20232
20233         * configure.ac: back to HEAD
20234
20235 === release 0.9.6 ===
20236
20237 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20238
20239         * configure.ac:
20240           releasing 0.9.6, "Always On Time"
20241
20242 2005-11-23  Wim Taymans  <wim@fluendo.com>
20243
20244         * docs/gst/gstreamer-sections.txt:
20245         * gst/glib-compat.c:
20246         * gst/gsttagsetter.c:
20247         * gst/gstvalue.c:
20248         * gst/net/gstnetclientclock.c:
20249         * gst/net/gstnettimepacket.h:
20250         Doc updates.
20251
20252 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20253
20254         * docs/faq/using.xml:
20255         * docs/libs/tmpl/gstcontrol.sgml:
20256         * docs/manual/advanced-dparams.xml:
20257         * docs/manual/appendix-checklist.xml:
20258         * docs/manual/basics-elements.xml:
20259         * docs/pwg/other-source.xml:
20260         * docs/random/moving-plugins:
20261         * gst/gstpad.c:
20262         * tools/gst-launch.1.in:
20263           remove mentions of sinesrc
20264
20265 2005-11-23  Michael Smith <msmith@fluendo.com>
20266
20267         * docs/gst/gstreamer-sections.txt:
20268           Update for new API and API changes.
20269         * gst/gstobject.h:
20270           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20271         * gst/gstvalue.c:
20272           Documentation typo fix.
20273         * gst/net/gstnettimepacket.c:
20274           Documentation fixes for arguments.
20275
20276 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20277
20278         * gst/gststructure.c: (gst_structure_get_fraction),
20279         (gst_structure_parse_value),
20280         (gst_structure_fixate_field_nearest_fraction):
20281         * gst/gststructure.h:
20282         * gst/gstutils.c: (gst_util_uint64_scale_int):
20283         * gst/gstutils.h:
20284         * scripts/update-funcnames:
20285         API Changes. 
20286         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20287         Make gst_structure_fixate_field_nearest_fraction take a numerator
20288         and denominator argument instead of a GValue
20289         add gst_structure_get_fraction helper function.
20290
20291 2005-11-23  Wim Taymans  <wim@fluendo.com>
20292
20293         * docs/design/part-TODO.txt:
20294         Update TODO.
20295
20296         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20297         * gst/net/gstnetclientclock.h:
20298         Use parent fields for timeout and window_size.
20299
20300 2005-11-23  Andy Wingo  <wingo@pobox.com>
20301
20302         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20303         rate_num/rate_denom change.
20304
20305         * gst/net/gstnetclientclock.c
20306         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20307         OBJECT_LOCK. Don't call add_observation with the lock.
20308
20309         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20310         fraction.
20311         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20312         rate fraction.
20313         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20314         deal with rate as a fraction whose numerator and denominator are
20315         GstClockTime values.
20316         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20317         master; the other fields are protected by the SLAVE_LOCK.
20318         (do_linear_regression): Note that this must be called with the
20319         SLAVE_LOCK.
20320         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20321         OBJECT_LOCK. Call set_calibration instead of touching the
20322         variables directly.
20323         (gst_clock_set_property, gst_clock_get_property): Protect
20324         master/slave parameters with the SLAVE_LOCK.
20325
20326         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20327         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20328         note that all of the instance variables that add_observation and
20329         the set_master functions use are protected by that lock and not
20330         the OBJECT_LOCK.
20331         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20332
20333         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20334         the caller to take the object lock.
20335
20336 2005-11-23  Wim Taymans  <wim@fluendo.com>
20337
20338         * gst/gsterror.c: (_gst_core_errors_init):
20339         * gst/gsterror.h:
20340         Add error for clock stuff.
20341
20342         * gst/gstpipeline.c: (gst_pipeline_change_state),
20343         (gst_pipeline_set_clock):
20344         Post clock error when clock cannot be used in a pipeline.
20345
20346 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20347
20348         * docs/gst/gstreamer-sections.txt:
20349           make two symbols from gstinfo private for the docs
20350         * gst/base/gstcollectpads.h:
20351         * gst/gstutils.c:
20352           fix doc typos, update docs
20353
20354 2005-11-22  Wim Taymans  <wim@fluendo.com>
20355
20356         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20357         (gst_base_sink_wait), (gst_base_sink_do_sync),
20358         (gst_base_sink_handle_event):
20359         * gst/base/gstbasesink.h:
20360         No need to store the clock, the parent element class already
20361         has it.
20362
20363         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20364         Updates for clock_set returning a gboolean
20365
20366         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20367         (gst_clock_id_wait_async), (gst_clock_class_init),
20368         (gst_clock_init), (gst_clock_finalize),
20369         (gst_clock_get_internal_time), (gst_clock_get_time),
20370         (gst_clock_slave_callback), (gst_clock_set_master),
20371         (gst_clock_get_master), (do_linear_regression),
20372         (gst_clock_add_observation), (gst_clock_set_property),
20373         (gst_clock_get_property):
20374         * gst/gstclock.h:
20375         Implement master/slave. When setting a clock as a slave, a
20376         periodic timeout is scheduled to sample master and slave times.
20377         Then the slave clock is recalibrated to match offset and rate
20378         of the master clock.
20379         Update logging a bit.
20380         Add flag so that a clock can state that is cannot be slaved to
20381         another clock.
20382
20383         * gst/gstelement.c: (gst_element_set_clock):
20384         * gst/gstelement.h:
20385         The set clock returns a gboolean for when an element cannot
20386         deal with the selected clock in the pipeline. 
20387
20388         * gst/gstpipeline.c: (gst_pipeline_change_state),
20389         (gst_pipeline_set_clock):
20390         * gst/gstpipeline.h:
20391         Handle the case where the selected clock cannot be set on
20392         the pipeline.
20393
20394         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20395         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20396         (gst_net_client_clock_set_property),
20397         (gst_net_client_clock_get_property),
20398         (gst_net_client_clock_observe_times):
20399         * gst/net/gstnetclientclock.h:
20400         Use regression code in GstClock parent, remove duplicated
20401         functionality.
20402
20403 2005-11-22  Michael Smith <msmith@fluendo.com>
20404
20405         * gst/gstutils.c: (gst_util_clock_time_scale):
20406         * gst/gstutils.h:
20407         * docs/gst/gstreamer-sections.txt:
20408           Rename method to have extra underscore.
20409
20410 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20411
20412         * gst/elements/Makefile.am:
20413         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20414         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20415         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20416         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20417         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20418         * gst/elements/gstfakesrc.h:
20419         * gst/gstqueue.c: (queue_leaky_get_type):
20420           correctly fix GEnumValues so that nick is the short lowercase
20421           dashed tag
20422         * tools/gst-inspect.c: (print_element_properties_info):
20423           also show the nick, since it's useful to use from parse_launch
20424           syntax
20425           Fixes #322139
20426
20427 2005-11-22  Michael Smith <msmith@fluendo.com>
20428
20429         * gst/gstutils.c: (gst_util_clocktime_scale):
20430         * gst/gstutils.h:
20431         * docs/gst/gstreamer-sections.txt:
20432           Add util method for scaling a clocktime by a fraction. Useful 
20433           implementation is left as an exercise for the reader.
20434
20435 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20436
20437         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20438         If needed, allocate storage in the destination value during
20439         collection.
20440
20441 2005-11-22  Edward Hervey  <edward@fluendo.com>
20442
20443         * docs/gst/gstreamer-sections.txt:
20444         * gst/Makefile.am:
20445         * gst/gst.h:
20446         * gst/gsturitype.c:
20447         * gst/gsturitype.h:
20448         * gst/gstutils.c: (gst_util_set_object_arg):
20449         * tools/gst-compprep.c: (main):
20450         * tools/gst-inspect.c: (print_element_properties_info):
20451         Removed GstURI, closes bug #321061
20452
20453 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20454
20455         * check/gst/gststructure.c: (GST_START_TEST):
20456         * gst/gststructure.c: (gst_structure_parse_value):
20457           Oops, broke automatic string type parsing.
20458           Add a test to catch it in future.
20459
20460 2005-11-22  Andy Wingo  <wingo@pobox.com>
20461
20462         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20463         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20464         Actually rename the function implementations. Grr.
20465
20466 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20467
20468         * check/gst/capslist.h:
20469           Comment test cases
20470         * check/gst/gststructure.c: (GST_START_TEST),
20471         (gst_structure_suite):
20472           Test automatic value type detection in gst_structure_from_string.
20473         * gst/gststructure.c: (gst_structure_parse_value):
20474           Add fraction as a type we try and guess automatically in
20475           caps/structure strings.
20476
20477 2005-11-22  Andy Wingo  <wingo@pobox.com>
20478
20479         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20480
20481         * gst/gsttagsetter.h:
20482         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20483         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20484         (gst_tag_setter_add_tag_valist)
20485         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20486         _add_values, _add_valist, and _add_valist_values. Since this is an
20487         interface the function suffixes should be more explicit so
20488         language binding don't end up with element.add_valist ->
20489         gst_tag_setter_add_valist, for example. Fixes #322069.
20490
20491 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20492
20493         * check/gst/gstcaps.c: (GST_START_TEST):
20494           Extend caps string tests to check that a caps to string
20495           conversion is reversible and produces the same caps.
20496
20497         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20498           Output "fraction" as the generic type fraction range, so caps
20499           serialisation and deserialisation works.
20500         * check/gst/capslist.h:
20501         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20502           Support 'MIN' and 'MAX' for deserialising fractions.
20503
20504 2005-11-22  Andy Wingo  <wingo@pobox.com>
20505
20506         * gst/gstevent.h (gst_event_new_new_segment)
20507         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20508         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20509         Renamed from *_newsegment, *_buffersize, *_notarget.
20510
20511         * scripts/update-funcnames: New script, performs the changes
20512         listed above.
20513
20514 2005-11-22  Wim Taymans  <wim@fluendo.com>
20515
20516         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20517         Make sure the GstFlowReturn is returned.
20518
20519         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20520         (gst_bus_add_signal_watch):
20521         * gst/gstbus.h:
20522         add gst_bus_add_signal_watch_full.
20523
20524         * gst/gstplugin.c: (gst_plugin_load_file):
20525         Small style cleanup.
20526
20527 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20528
20529         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20530           Block the fakesrc srcpad when we send an event, to avoid
20531           contention on the stream_lock causing random test failures.
20532
20533 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20534
20535         * check/gst/gstvalue.c: (GST_START_TEST):
20536         * gst/gstvalue.c: (gst_value_fraction_subtract):
20537           Fix subtraction.
20538
20539 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20540
20541         * gst/gst.h:
20542           include "gstchildproxy.h"
20543         * gst/gstchildproxy.h:
20544         * libs/gst/controller/gstcontroller.h:
20545           use G_GNUC_NULL_TERMINATED
20546
20547 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20548
20549         * check/gst/capslist.h:
20550         * check/gst/gstcaps.c: (GST_START_TEST):
20551         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20552         * gst/gststructure.c: (gst_structure_parse_range),
20553         (gst_structure_fixate_field_nearest_fraction):
20554         * gst/gststructure.h:
20555         * gst/gstvalue.c: (gst_value_init_fraction_range),
20556         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20557         (gst_value_collect_fraction_range),
20558         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20559         (gst_value_set_fraction_range_full),
20560         (gst_value_get_fraction_range_min),
20561         (gst_value_get_fraction_range_max),
20562         (gst_value_serialize_fraction_range),
20563         (gst_value_transform_fraction_range_string),
20564         (gst_value_compare_fraction_range),
20565         (gst_value_deserialize_fraction_range),
20566         (gst_value_intersect_fraction_fraction_range),
20567         (gst_value_intersect_fraction_range_fraction_range),
20568         (gst_value_subtract_fraction_fraction_range),
20569         (gst_value_subtract_fraction_range_fraction),
20570         (gst_value_subtract_fraction_range_fraction_range),
20571         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20572         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20573         (gst_value_transform_string_fraction), (_gst_value_initialize):
20574         * gst/gstvalue.h:
20575           Implement fraction ranges and extend GstFraction to support
20576           arithmetic subtraction, as well as deserialization from integer
20577           strings such as "100"
20578           Add a testsuite as for int and double range set operations
20579
20580 2005-11-21  Andy Wingo  <wingo@pobox.com>
20581
20582         * gst/gsttaglist.h: 
20583         * gst/gstcaps.h: 
20584         * gst/gststructure.h: Add glib-compat.h.
20585
20586 2005-11-21  Wim Taymans  <wim@fluendo.com>
20587
20588         * gst/gstbin.c: (gst_bin_change_state_func):
20589         Fix for #321595
20590
20591 2005-11-21  Wim Taymans  <wim@fluendo.com>
20592
20593         * gst/gstsegment.h:
20594         And add a nice define too.
20595
20596 2005-11-21  Wim Taymans  <wim@fluendo.com>
20597
20598         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20599         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20600         (gst_segment_set_duration), (gst_segment_set_last_stop),
20601         (gst_segment_set_seek), (gst_segment_set_newsegment),
20602         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20603         (gst_segment_clip):
20604         * gst/gstsegment.h:
20605         Make binding friendly.
20606
20607 2005-11-21  Andy Wingo  <wingo@pobox.com>
20608
20609         * gst/gsttagsetter.h: 
20610         * gst/gsttaglist.h: 
20611         * gst/gststructure.h: 
20612         * gst/gstcaps.h: 
20613         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20614         #319940.
20615
20616         * gst/gsterror.c (_gst_core_errors_init):
20617         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20618         category.
20619
20620         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20621         (noinst_HEADERS): noinst the -private.
20622
20623 2005-11-21  Michael Smith <msmith@fluendo.com>
20624
20625         * gst/gstplugin.h:
20626         * gst/gstregistry.h:
20627           Remove unimplemented declarations for which we can see no sensible
20628           use.
20629
20630 2005-11-21  Andy Wingo  <wingo@pobox.com>
20631
20632         * gst/gst.h: Include glib-compat.h.
20633
20634         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20635
20636         * gst/glib-compat.c: Include the public and the private header.
20637
20638         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20639
20640         * gst/gstvalue.c: 
20641         * gst/gstpad.c: 
20642         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20643
20644         * check/gst/gstevent.c (create_custom_events): Check that
20645         FLUSH_STOP is serialized.
20646
20647         * check/elements/identity.c (event_func): 
20648         * check/elements/fakesrc.c (event_func): No stream lock, the core
20649         takes it.
20650
20651         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20652         stream lock taking, yay.
20653
20654         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20655         ensure that core takes the stream lock.
20656
20657         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20658         lock name change.
20659
20660         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20661         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20662         it already. For the flush start we do take it though so we get the
20663         right preroll state change messages.
20664
20665         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20666         the stream lock here, the core does it for us.
20667
20668         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20669         GST_STREAM_GET_LOCK.
20670         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20671         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20672         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20673         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20674         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20675         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20676
20677         * gst/gstpad.c: Update for stream lock name change.
20678
20679         * gst/base/gstbasesink.c: Update for preroll lock name change.
20680
20681 2005-11-21  Wim Taymans  <wim@fluendo.com>
20682
20683         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20684         (gst_clock_get_master):
20685         * gst/gstclock.h:
20686         * gst/gstsystemclock.c: (gst_system_clock_init):
20687         Convert Clock flags to object flags.
20688         Added methods to manage master/slave clocks.
20689
20690 2005-11-21  Wim Taymans  <wim@fluendo.com>
20691
20692         * check/gst/gstsegment.c: (GST_START_TEST):
20693         * docs/design/part-TODO.txt:
20694         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20695         (gst_base_sink_event), (gst_base_sink_do_sync),
20696         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20697         (gst_base_sink_query), (gst_base_sink_change_state):
20698         * gst/base/gstbasesink.h:
20699         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20700         (gst_base_src_default_newsegment),
20701         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20702         (gst_base_src_get_range), (gst_base_src_loop),
20703         (gst_base_src_change_state):
20704         * gst/base/gstbasesrc.h:
20705         * gst/base/gstbasetransform.c:
20706         (gst_base_transform_prepare_output_buf),
20707         (gst_base_transform_event), (gst_base_transform_change_state):
20708         * gst/base/gstbasetransform.h:
20709         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20710         (gst_collect_pads_event):
20711         * gst/base/gstcollectpads.h:
20712         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20713         (gst_fake_src_create):
20714         * gst/elements/gstfakesrc.h:
20715         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20716         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20717         (gst_segment_set_last_stop), (gst_segment_set_seek),
20718         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20719         (gst_segment_to_running_time), (gst_segment_clip):
20720         * gst/gstsegment.h:
20721         More segment updates, replace code in plugins with segment
20722         helper functions.
20723
20724 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20725
20726         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20727         Don't ignore sscanf results
20728
20729 2005-11-21  Andy Wingo  <wingo@pobox.com>
20730
20731         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20732
20733         * *.h:
20734         * *.c: Ran scripts/update-macros. Oh yes.
20735
20736         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20737         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20738         GST_GET_LOCK, etc.
20739
20740         * scripts/update-macros: New script. Run it on your files to
20741         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20742         well.
20743
20744 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20745
20746         * docs/gst/Makefile.am:
20747         * docs/gst/gstreamer-docs.sgml:
20748         * docs/gst/gstreamer-sections.txt:
20749         * docs/gst/gstreamer.types:
20750         * gst/gstinfo.h:
20751           more docs fixes, add new api to the docs
20752
20753 2005-11-21  Andy Wingo  <wingo@pobox.com>
20754
20755         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20756         state_broadcast call.
20757
20758         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20759
20760 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20761
20762         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20763         function calls for arrays.
20764
20765 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20766
20767         * docs/random/ensonic/media-device-daemon.txt:
20768           wild idea, can this be done?
20769         * docs/gst/gstreamer-sections.txt:
20770         * gst/gsterror.h:
20771         * gst/gstfilter.c:
20772         * gst/gstfilter.h:
20773         * gst/gstplugin.h:
20774         * gst/gstpluginfeature.c:
20775         * gst/gsttrace.c:
20776         * gst/gstvalue.c:
20777         * gst/gstvalue.h:
20778           doc fixes and additions
20779
20780 2005-11-21  Andy Wingo  <wingo@pobox.com>
20781
20782         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20783         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20784         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20785         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20786         private to the basesrc implementation.
20787
20788         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20789         behalf of event function if necessary. It should no longer be
20790         necessary to take the stream lock in pad's event functions. Fixes
20791         #320299.
20792
20793 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20794         * docs/gst/gstreamer-sections.txt:
20795         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20796         (gst_structure_fixate_field_nearest_double),
20797         (gst_structure_fixate_field_boolean):
20798         * gst/gststructure.h:
20799         * win32/common/libgstreamer.def:
20800         * win32/gstreamer.def:
20801
20802         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20803         (#322027)
20804
20805 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20806
20807         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20808         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20809         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20810         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20811         (gst_fdsrc_uri_handler_init):
20812         * gst/elements/gstfdsrc.h:
20813           Port fd:// URI handler from 0.8 to fdsrc
20814
20815 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20816
20817         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20818         (gst_value_serialize_fourcc):
20819         * gst/gstvalue.h:
20820           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20821           consistent with our other format defines (#320324).
20822
20823 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20824
20825         * gst/gstvalue.c: (gst_value_is_fixed):
20826           Revert previous commit. Value lists are by definition
20827           not fixed, as they are a list of possible values.
20828
20829 2005-11-21  Andy Wingo  <wingo@pobox.com>
20830
20831         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20832         during the stable series if we need it. Fixes #319178.
20833
20834         * gst/gstevent.c (gst_event_new_filler): Removed.
20835
20836         * check/gst/gstevent.c: Update comment about filler events.
20837
20838 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20839
20840         * gst/gstvalue.c: (gst_value_is_fixed):
20841           Should handle both value arrays and value lists.
20842
20843 2005-11-21  Andy Wingo  <wingo@pobox.com>
20844
20845         patch by: Alessandro Dessina <alessandro nnva org>
20846
20847         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20848         functions to access arrays. Fixes #321962.
20849
20850 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20851
20852         * docs/gst/gstreamer.types:
20853           gst_collectpads_get_type => gst_collect_pads_get_type.
20854           
20855         * gst/base/gstbasetransform.c:
20856           Remove unused SIGNAL_HANDOFF enum.
20857
20858 2005-11-21  Andy Wingo  <wingo@pobox.com>
20859
20860         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20861         the event type (upstream, downstream, serialized). Renamed
20862         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20863         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20864         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20865
20866         * gst/gstevent.c: Update for new CUSTOM event names.
20867
20868         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20869
20870         * gst/gstevent.h:
20871         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20872         bug #319392.
20873
20874 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20875
20876         * docs/gst/gstreamer-sections.txt:
20877         * win32/common/libgstbase.def:
20878         * win32/libgstbase.def:
20879         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20880         (gst_collect_pads_class_init), (gst_collect_pads_init),
20881         (gst_collect_pads_finalize), (gst_collect_pads_new),
20882         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20883         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20884         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20885         (gst_collect_pads_start), (gst_collect_pads_stop),
20886         (gst_collect_pads_peek), (gst_collect_pads_pop),
20887         (gst_collect_pads_available), (gst_collect_pads_read),
20888         (gst_collect_pads_flush), (gst_collect_pads_event),
20889         (gst_collect_pads_chain):
20890         * gst/base/gstcollectpads.h:
20891           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20892           unimplemented functions as unimplemented. Add padding to
20893           GstCollectData. (#320766, #320423)
20894
20895 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20896
20897         * gst/gstmessage.c:
20898           Improve docs for DURATION message (usage of duration parameter)
20899           (#320113)
20900
20901 2005-11-20  Wim Taymans  <wim@fluendo.com>
20902
20903         * check/Makefile.am:
20904         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20905         (main):
20906         * gst/Makefile.am:
20907         * gst/gst.h:
20908         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20909         (gst_segment_set_seek), (gst_segment_set_newsegment),
20910         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20911         (gst_segment_clip):
20912         * gst/gstsegment.h:
20913         Added segment helper structure and methods. Not fully implemented
20914         yet.
20915         Added segment check.
20916
20917 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20918
20919         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20920           Add a deserialisation test for fractions
20921         * examples/metadata/read-metadata.c: (message_loop),
20922         (make_pipeline), (main):
20923           Fix up metadata reading sample.
20924         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20925           Debug format fix
20926         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20927           Don't try and fixate empty caps
20928         * gst/gst_private.h:
20929           Wrap in G_BEGIN_DECLS/G_END_DECLS
20930         * gst/gstvalue.c: (gst_value_collect_fraction),
20931         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20932         (gst_value_transform_string_fraction),
20933         (gst_value_compare_fraction):
20934           Add some extra guards to ensure that we don't end up 
20935           with an invalid denominator of 0 in a gstfraction and
20936           that fractions always get reduced.
20937
20938 2005-11-20  Wim Taymans  <wim@fluendo.com>
20939
20940         * docs/gst/gstreamer-sections.txt:
20941         * gst/gstbuffer.h:
20942         * gst/gstelement.c:
20943         * gst/gstformat.c:
20944         * gst/gstformat.h:
20945         * gst/gstindex.h:
20946         * gst/gstquery.c:
20947         * gst/gstquery.h:
20948         * gst/gstvalue.c:
20949         Doc fixes.
20950
20951 2005-11-20  Wim Taymans  <wim@fluendo.com>
20952
20953         * docs/design/part-TODO.txt:
20954         * gst/gstcaps.h:
20955         Make a proper enum of the flag.
20956
20957 2005-11-19  Wim Taymans  <wim@fluendo.com>
20958
20959         * docs/design/part-TODO.txt:
20960         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20961         (gst_format_to_quark), (gst_format_register):
20962         * gst/gstformat.h:
20963         * gst/gstquery.c: (_gst_query_initialize),
20964         (gst_query_type_get_name), (gst_query_type_to_quark),
20965         (gst_query_type_register):
20966         * gst/gstquery.h:
20967         Add type to quark and type to string conversions.
20968
20969 2005-11-19  Andy Wingo  <wingo@pobox.com>
20970
20971         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20972         #320097.
20973
20974 2005-11-19  Wim Taymans  <wim@fluendo.com>
20975
20976         * docs/design/part-TODO.txt:
20977         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20978         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20979         (gst_bin_handle_message_func):
20980         * gst/gstbin.h:
20981         Make message handling overridable.
20982
20983 2005-11-19  Andy Wingo  <wingo@pobox.com>
20984
20985         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20986
20987         * gst/gstclock.h:
20988         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20989         be a GstClockTime.
20990         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20991         is a GstClockTime. Fixes #321710.
20992
20993         * gst/gstclock.h (GstClock): Remove offset property. Add
20994         internal_calibration and external_calibration. Fix padding. Pad
20995         also by GstClockTime so we don't run into problems.
20996
20997         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20998         (gst_clock_get_rate_offset): Remove.
20999         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21000
21001         * gst/gstutils.h:
21002         * gst/gstutils.c (g_static_rec_cond_wait)
21003         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21004
21005         * gst/gstbin.c: Remove terrible continue_state prototype.
21006
21007         * gst/gstelement.h (gst_element_continue_state): Make public.
21008
21009         * gst/gstelement.h:
21010         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21011         by continue_state. Fixes #319389.
21012
21013         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21014         Really fixes #168438. However I don't see anywhere where the
21015         filter function is called... stupid GStreamer...
21016         
21017         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21018         don't have a dispose function, so it won't get called when the
21019         object is unreffed, but oh well!
21020
21021         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21022         allows a destroy function to be set so user_data can be freed.
21023         Fixes #168438.
21024         (gst_index_set_filter): Call gst_index_set_filter_full.
21025
21026         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21027
21028         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21029         string should produce an error, given the lack of a way to
21030         represent NULL strings. Fixes #165650.
21031         
21032         * gst/gstvalue.h: 
21033         * gst/gstvalue.c (gst_value_array_append_value) 
21034         (gst_value_array_prepend_value, gst_value_array_get_size) 
21035         (gst_value_array_get_value): New API, copied from
21036         gst_value_list_*, only operates on arrays.
21037         (gst_value_list_append_value, gst_value_list_prepend_value) 
21038         (gst_value_list_concat, gst_value_list_get_size) 
21039         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21040
21041         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21042         init_list, because it works on both.
21043         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21044         (gst_value_copy_list_or_array): Renamed from copy_list.
21045         (gst_value_free_list_or_array): Renamed from free_list.
21046         (gst_value_collect_list_or_array): Renamed from collect_list.
21047         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21048         (gst_value_list_or_array_peek_pointer): Renamed from
21049         list_peek_pointer.
21050         (_gst_value_array_value_table, _gst_value_list_value_table):
21051         Update value table functions.
21052         (gst_value_compare_list_or_array): Renamed from compare_list.
21053
21054         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21055         some constness.
21056
21057         * gst/gsttaglist.c:
21058         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21059         GstTagList*. Fixes #143472.
21060
21061         * gst/gststructure.h: Clarify what the foreach/map functions can
21062         or can't do to their arguments.
21063
21064 2005-11-18  Wim Taymans  <wim@fluendo.com>
21065
21066         * gst/gstclock.c: (gst_clock_set_calibration),
21067         (gst_clock_get_calibration):
21068         Doc and API fixes.
21069         Calibration can be set with internal time equal to current
21070         internal time too.
21071
21072 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21073
21074         * gst/gsterror.c:
21075         * gst/gsterror.h:
21076           document
21077
21078 2005-11-18  Andy Wingo  <wingo@pobox.com>
21079
21080         * configure.ac: 
21081         * pkgconfig/gstreamer-net.pc.in:
21082         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21083         * pkgconfig/Makefile.am: Add net pkgconfig files.
21084
21085 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21086
21087         * gst/gstcaps.c:
21088         * gst/gstghostpad.c:
21089         * gst/gsttrace.c:
21090         * gst/gstvalue.c:
21091         * gst/gstvalue.h:
21092           docs fixes
21093
21094 2005-11-18  Andy Wingo  <wingo@pobox.com>
21095
21096         * gst/net/gstnetclientclock.c: Turn off debugging.
21097
21098         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21099         times connverge somewhat. Can't make a real test.
21100
21101         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21102         integer arithmetic. Return the minimum of the domain, which can be
21103         set as "internal" for gst_clock_set_calibration.
21104         (gst_net_client_clock_observe_times): Call _set_calibration.
21105         (gst_net_client_clock_new): Call _set_calibration instead of
21106         rate_offset.
21107
21108         * check/net/gstnetclientclock.c (test_functioning): Use the right
21109         adjustment api.
21110
21111         * gst/gstclock.h:
21112         * gst/gstclock.c (gst_clock_get_calibration) 
21113         (gst_clock_set_calibration): New functions, obsolete the ones I
21114         added yesterday. Doh. Precision issues mean we have to extrapolate
21115         from a point in the more recent past than 1970.
21116         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21117         obsolete.
21118         (gst_clock_adjust_unlocked): Use the right calibration data.
21119
21120 2005-11-18  Edward Hervey  <edward@fluendo.com>
21121
21122         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21123         Also reset the ->current_* values in READY->PAUSED
21124
21125 2005-11-18  Andy Wingo  <wingo@pobox.com>
21126
21127         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21128         Whoops, check the right fd. Also add some debugging.
21129         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21130         (do_linear_regression): Add a crapload of debugging. Subtract off
21131         the minimum values from the input series to discard unneeded bits.
21132         Use only int arithmetic. There is still double arithmetic when
21133         calculating the intercept that needs fixing. Return boolean to
21134         indicate success; FALSE would mean the domain or range is too
21135         great. Still needs fixes.
21136
21137 2005-11-18  Wim Taymans  <wim@fluendo.com>
21138
21139         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21140         For the current position in stream time, we need to subtract
21141         accumulated time.
21142         
21143         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21144         Release lock before calling the callback function of async
21145         entries.
21146
21147 2005-11-18  Andy Wingo  <wingo@pobox.com>
21148
21149         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21150         Port goes all the way to MAXUINT16.
21151
21152         * gst/net/gstnettimeprovider.c: Make the port range the same as
21153         for the kernel: 0 assigns, otherwise ports are less than
21154         MAXUINT16.
21155
21156         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21157         port change.
21158
21159         * check/net/gstnetclientclock.c (test_functioning): Add the start
21160         of another test. 
21161
21162 2005-11-18  Wim Taymans  <wim@fluendo.com>
21163
21164         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21165         (gst_bin_remove_func), (bin_bus_handler):
21166         * gst/gstbin.h:
21167         Removing a clock provider from a bin, triggers a clock lost message
21168         so that a new clock will be selected.
21169         Adding a clock to a bin triggers a clock provider message.
21170         Make sure we reselect a clock when we received a clock lost message.
21171         Keep a reference to the element that provided the clock.
21172
21173 2005-11-18  Andy Wingo  <wingo@pobox.com>
21174
21175         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21176         the clock initially so it produces values around the base time.
21177         (gst_net_client_clock_class_init): Typo fix.
21178         (gst_net_client_clock_thread): Add note on when the socket gets
21179         closed.
21180
21181 2005-11-17  Wim Taymans  <wim@fluendo.com>
21182
21183         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21184         Free remote and local time arrays.
21185
21186 2005-11-17  Wim Taymans  <wim@fluendo.com>
21187
21188         * gst/net/gstnetclientclock.c: (do_linear_regression),
21189         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21190         Fix compilation, uninitialized vars and a forgotten continue.
21191
21192 2005-11-17  Andy Wingo  <wingo@pobox.com>
21193
21194         * check/Makefile.am (check_PROGRAMS): 
21195         * check/net/gstnetclientclock.c: Add a most minimal test for the
21196         net client clock. More to come later.
21197
21198         * gst/net/gstnet.h: 
21199         * gst/net/Makefile.am: Add netclientclock.
21200
21201         * gst/net/gstnetclientclock.h:
21202         * gst/net/gstnetclientclock.c: New files, implement an untested
21203         GstClock that takes its time from a network time provider.
21204         Implements the algorithm in network-clock.scm.
21205
21206         * tests/network-clock.scm (*window-size*): Rename from
21207         *queue-length*.
21208         * tests/network-clock.scm (network-time): 
21209         * tests/network-clock-utils.scm (q-push): Update callers.
21210
21211 2005-11-17  Wim Taymans  <wim@fluendo.com>
21212
21213         * gst/gstbin.c: (gst_bin_provide_clock_func),
21214         (gst_bin_sort_iterator_new):
21215         And unref the child too..
21216
21217 2005-11-17  Wim Taymans  <wim@fluendo.com>
21218
21219         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21220         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21221         Refactor the sort iterator so it can be used while holding the
21222         LOCK too.
21223         Make clock selection select a clock closest to the source.
21224
21225 2005-11-17  Michael Smith <msmith@fluendo.com>
21226
21227         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21228         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21229         * gst/gstclock.h:
21230           Anonymous structs are a gcc (and some other compilers) extension, so
21231           don't use them. Since this is only for ABI-compatibility, and our
21232           API/ABI freeze is over in a few days, this whole thing will only
21233           last a few days, so don't bother trying to think up a meaningful
21234           name for the struct.
21235
21236 2005-11-17  Andy Wingo  <wingo@pobox.com>
21237
21238         * gst/gstclock.h (GstClock): Add rate and offset properties,
21239         preserving ABI stability. Add rate/offset accessors. Will file bug
21240         for the freeze break.
21241
21242         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21243         and offset, trying to keep precision and avoiding
21244         underflow/overflow.
21245         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21246         functions. Make gst_clock_set_time_adjust obsolete.
21247         (gst_clock_set_time_adjust): Note that this function is obsolete.
21248         Will file bug soon.
21249
21250         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21251         greppable by using GST_PADDING-1+1.
21252
21253 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21254
21255         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21256
21257         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21258           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21259
21260         * gst/gstpadtemplate.h:
21261         * gst/gstpluginfeature.h:
21262           Don't use c++ style comments in headers (#321638).
21263
21264 2005-11-16  Andy Wingo  <wingo@pobox.com>
21265
21266         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21267         buffer.
21268
21269         * check/net/gstnettimeprovider.c: Check to see that the time
21270         provider actually provides times. Works, yo!
21271
21272 2005-11-16  Wim Taymans  <wim@fluendo.com>
21273
21274         * check/Makefile.am:
21275         Enable more tests.
21276
21277         * check/elements/fakesrc.c: (GST_START_TEST):
21278         Set element to NULL before disposing it.
21279
21280 2005-11-16  Andy Wingo  <wingo@pobox.com>
21281
21282         * gst/net/Makefile.am:
21283         * gst/net/gstnet.h:
21284         * gst/net/gstnettimeprovider.c: 
21285         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21286         provider, include it from gstnet.h, and add it to the build.
21287
21288         * gst/net/gstnettimepacket.h: 
21289         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21290         sending and receiving.
21291
21292 2005-11-16  Wim Taymans  <wim@fluendo.com>
21293
21294         * check/Makefile.am:
21295         Enable valgrind check.
21296
21297         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21298         (gst_fake_src_alloc_buffer):
21299         Fix memleak.
21300
21301 2005-11-16  Wim Taymans  <wim@fluendo.com>
21302
21303         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21304         Call parent finalize too.
21305
21306 2005-11-16  Wim Taymans  <wim@fluendo.com>
21307
21308         * check/Makefile.am:
21309         Enable valgrind check that should work fine now.
21310
21311         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21312         * gst/gstqueue.c: (gst_queue_init):
21313         Fix memleaks in pad allocation.
21314
21315 2005-11-16  Andy Wingo  <wingo@pobox.com>
21316
21317         * gst/net/Makefile.am:
21318         * gst/net/gstnet.h: New part of core to hold network elements and
21319         objects. Put in core because it exposes API that applications want
21320         to use. The library is named libgstnet-tempname right now because
21321         of the existing libgstnet in gst-plugins-base. Solution is
21322         probably to rename the one in plugins-base; will file a bug for
21323         the freeze break.
21324
21325         * gst/net/gstnettimeprovider.c: 
21326         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21327         get_time call over the network.
21328
21329         * configure.ac: 
21330         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21331
21332         * check/Makefile.am:
21333         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21334         get additions shortly.
21335
21336 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21337
21338         * gst/gstpad.c: (gst_pad_new_from_static_template):
21339         * gst/gstpad.h:
21340           add gst_pad_new_from_static_template functions
21341         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21342         (gst_check_setup_sink_pad):
21343         * gst/elements/gsttee.c: (gst_tee_init):
21344           and use them
21345
21346 2005-11-16  Wim Taymans  <wim@fluendo.com>
21347
21348         * gst/gstpad.c: (gst_pad_pause_task):
21349         Removed warning, it's not really an error either.
21350
21351 2005-11-16  Wim Taymans  <wim@fluendo.com>
21352
21353         * gst/base/gstbasetransform.c:
21354         (gst_base_transform_prepare_output_buf),
21355         (gst_base_transform_event):
21356         Check if the caps are NULL, this can happen if the element
21357         is shutting down and the pad caps are set to NULL.
21358
21359 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21360
21361         * gst/elements/gsttee.c: (gst_tee_init):
21362           fix pad template leak in tee
21363
21364 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21365
21366         * gst/glib-compat.c: (g_value_dup_gst_object):
21367         * gst/glib-compat.h:
21368         * gst/gstpad.c: (gst_pad_set_property):
21369           use gst_object_ref when setting the pad template; this will
21370           trigger the pad template leaks on GLib 2.6 and the slaves
21371
21372 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21373
21374         * gst/glib-compat.c: (gst_flags_get_first_value):
21375         * gst/glib-compat.h:
21376         * gst/gstregistryxml.c:
21377           remove functions copied from GLib 2.6
21378
21379 2005-11-16  Michael Smith <msmith@fluendo.com>
21380
21381         * gst/Makefile.am:
21382           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21383           do, but only breaks with newer valgrind versions. We're not a
21384           valgrind tool, we have no link-time dependencies on libcoregrind.
21385
21386 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21387
21388         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21389           some debug changes
21390         * gst/gstmessage.h:
21391           typo fixes
21392
21393 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21394
21395         * gst/base/gstbasesrc.c: (gst_base_src_init):
21396         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21397         * gst/gstqueue.c: (gst_queue_init):
21398         * gst/gstregistryxml.c: (load_feature):
21399           Revert all these unrefs, they don't even pass make check !
21400
21401 2005-11-15  Johan Dahlin  <johan@gnome.org>
21402
21403         * gst/base/gstbasesrc.c: (gst_base_src_init):
21404         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21405         * gst/gstqueue.c: (gst_queue_init): 
21406         Free pad templates, fixes a couple of leaks.
21407
21408 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21409
21410         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21411
21412         * gst/gstpad.c: (gst_pad_get_property):
21413           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21414           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21415           (#321452)
21416
21417 2005-11-15  Wim Taymans  <wim@fluendo.com>
21418
21419         * gst/gstevent.c:
21420         Small doc update.
21421
21422 2005-11-15  Andy Wingo  <wingo@pobox.com>
21423
21424         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21425
21426         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21427         using GST_CLOCK_TIME_NONE to disable base time management.
21428         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21429         time if it was NONE before.
21430         (gst_pipeline_change_state): Only munge the base time if
21431         stream_time != GST_CLOCK_TIME_NONE.
21432
21433         * check/gst/gstpipeline.c (test_base_time): Punt around the
21434         problem of the probe not being called, because that's not the
21435         issue I'm looking at. Add a check that setting stream_time to NONE
21436         disables base time management.
21437         
21438 2005-11-15  Wim Taymans  <wim@fluendo.com>
21439
21440         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21441         segment_stop == -1 at startup.
21442
21443         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21444         (gst_base_transform_change_state):
21445         Init segment values at start.
21446
21447 2005-11-15  Wim Taymans  <wim@fluendo.com>
21448
21449         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21450         0 segment values are 0 in any format.
21451
21452         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21453         * gst/base/gstbasetransform.h:
21454         Parse newsegment correctly in basetransform
21455
21456         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21457         Sync to clock using updated segment values.
21458
21459 2005-11-15  Andy Wingo  <wingo@pobox.com>
21460
21461         * check/gst/gstpipeline.c (test_base_time): Add check that the
21462         base time and stream time are reset correctly.
21463
21464 2005-11-15  Wim Taymans  <wim@fluendo.com>
21465
21466         * docs/design/part-TODO.txt:
21467         Some more TODO items.
21468
21469 2005-11-15  Andy Wingo  <wingo@pobox.com>
21470
21471         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21472         error if the user selected "no clock" as the clocking method.
21473
21474         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21475         timestamps with live capture.
21476
21477         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21478         is 0 but we are a live source, timestamp the buffers using the
21479         element's clock.
21480
21481 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21482
21483         * docs/gst/gstreamer-sections.txt:
21484         * gst/gsterror.c:
21485         * gst/gstghostpad.c:
21486         * gst/gstobject.h:
21487         * gst/gstxml.c:
21488           more section docs
21489
21490 2005-11-14  Wim Taymans  <wim@fluendo.com>
21491
21492         * common/gst.supp:
21493           add suppressions from Wim's Debian machine
21494
21495 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21496
21497         * common/gst.supp:
21498           add suppressions from Andy's AMD64 Ubuntu machine
21499
21500 2005-11-14  Andy Wingo  <wingo@pobox.com>
21501
21502         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21503         STATE_LOCK not necessary. Fixes #311489.
21504
21505         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21506         #305291.
21507
21508         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21509         this function is not implemented.
21510
21511 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21512
21513         * gst/base/gstbasetransform.c:
21514         (gst_base_transform_prepare_output_buf):
21515         Ref the source pad caps while we need them.
21516         Fixes (#321386)
21517
21518 2005-11-11  Wim Taymans  <wim@fluendo.com>
21519
21520         * docs/gst/gstreamer-sections.txt:
21521         Added some docs for GstCollectData.
21522
21523         * gst/base/gstadapter.c:
21524         Some small code example fix.
21525
21526         * gst/base/gstcollectpads.c:
21527         * gst/base/gstcollectpads.h:
21528         Document some more.
21529
21530 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21531
21532         * configure.ac: back to HEAD
21533
21534 === release 0.9.5 ===
21535
21536 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21537
21538         * configure.ac:
21539           releasing 0.9.5, "Bike Lunch Day"
21540
21541 2005-11-11  Wim Taymans  <wim@fluendo.com>
21542
21543         * gst/gstbuffer.c: (_gst_buffer_copy):
21544         Copy more flags.
21545
21546         * gst/gstcaps.c: (gst_caps_is_equal):
21547         Fix some docs.
21548         Make _is_equal fast in the trivial cases.
21549
21550         * gst/gstminiobject.c:
21551         * gst/gstminiobject.h:
21552         More docs. Spifify .h file.
21553
21554         * gst/gstutils.c:
21555         Small doc update.
21556
21557 2005-11-11  Wim Taymans  <wim@fluendo.com>
21558
21559         * gst/base/gstbasetransform.c:
21560         (gst_base_transform_prepare_output_buf),
21561         (gst_base_transform_handle_buffer):
21562         Small cleanups.
21563         If we're processing a buffer and need to allocate an output
21564         buffer, we cannot accept a format change. If we did get a 
21565         format change, we have to alloc a buffer ourselves of the 
21566         right size.
21567
21568 2005-11-11  Wim Taymans  <wim@fluendo.com>
21569
21570         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21571         While checking the flag for reentrancy in the gstcaps function
21572         is nice to detect recursive invocations, it also makes it 
21573         impossible to call getcaps from multiple threads, which must be
21574         possible. So, checking for recursive calls has to go.
21575
21576 2005-11-11  Michael Smith <msmith@fluendo.com>
21577
21578         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21579           Don't sync on buffers that fall partially outside our current
21580           segment. Prevents an assertion failure/abort playing some files.
21581
21582 2005-11-10  Andy Wingo  <wingo@pobox.com>
21583
21584         * check/gst/gstbin.c (test_message_state_changed_children): Style
21585         fix..
21586
21587         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21588         gst_bus_poll with the signal watch. Ensures that poll and a signal
21589         watch see the same messages.
21590
21591         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21592         a poll and a watch at the same time get the same messages.
21593
21594 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21595
21596         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21597         * gst/gstcaps.c: (gst_caps_intersect):
21598           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21599           and it's not needed.
21600
21601 2005-11-10  Wim Taymans  <wim@fluendo.com>
21602
21603         * docs/design/part-TODO.txt:
21604         Updated todo.
21605
21606 2005-11-10  Wim Taymans  <wim@fluendo.com>
21607
21608         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21609         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21610         (gst_base_src_do_sync), (gst_base_src_get_range):
21611         Implement clock sync in base class.
21612
21613 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21614
21615         patch by: Tim-Philipp Müller <tim at centricular dot net>
21616
21617         * gst/gststructure.c: (gst_structure_parse_field),
21618         (gst_structure_from_string):
21619           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21620           so that gst_parse_launch() can deal with spaces in filtered link
21621           caps (fixes #164479)
21622         * check/gst/capslist.h:
21623         * check/gst/gststructure.c: (GST_START_TEST):
21624           add unit tests for this change
21625
21626 2005-11-10  Wim Taymans  <wim@fluendo.com>
21627
21628         * docs/gst/gstreamer-sections.txt:
21629         * gst/gstelement.c:
21630         * gst/gstelement.h:
21631         Fix docs, move some STATE macros to private.
21632
21633 2005-11-10  Wim Taymans  <wim@fluendo.com>
21634
21635         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21636         Added check for bug #317341
21637
21638         * gst/gstbuffer.c:
21639         * gst/gstbuffer.h:
21640         Some more spiffifying.
21641
21642         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21643         Call peer linkfunction if we are a source pad. Totally fixes
21644         #317341
21645
21646         * gst/gstpad.c:
21647         Update docs, source pads should call the peer linkfunction
21648         so they can atomically perform the pad link.
21649
21650 2005-11-09  Wim Taymans  <wim@fluendo.com>
21651
21652         * gst/gstbuffer.c:
21653         * gst/gstbuffer.h:
21654         Uber-spiffy-spiffify some more.
21655
21656 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21657
21658         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21659         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21660         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21661         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21662         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21663         * gst/gstpad.c: (gst_pad_init):
21664           Use GST_DEBUG_FUNCPTR() more extensively.
21665
21666 2005-11-09  Wim Taymans  <wim@fluendo.com>
21667
21668         * gst/gstobject.c: (gst_object_class_init):
21669         * gst/gstobject.h:
21670         Documentation fixes.
21671
21672 2005-11-09  Edward Hervey  <edward@fluendo.com>
21673
21674         * gst/gsttypefindfactory.c:
21675         Fix docs.
21676         
21677 2005-11-09  Edward Hervey  <edward@fluendo.com>
21678
21679         * gst/base/gsttypefindhelper.c:
21680         * gst/gsttypefind.c:
21681         * gst/gsttypefind.h:
21682         Fix docs.
21683
21684 2005-11-09  Wim Taymans  <wim@fluendo.com>
21685
21686         * gst/gstiterator.c:
21687         Fix revision data.
21688
21689         * gst/gsttask.c:
21690         * gst/gsttask.h:
21691         Fix docs.
21692
21693 2005-11-09  Wim Taymans  <wim@fluendo.com>
21694
21695         * gst/gstevent.h:
21696         * gst/gsturi.h:
21697         Fix docs.
21698
21699 2005-11-09  Wim Taymans  <wim@fluendo.com>
21700
21701         * docs/gst/gstreamer-sections.txt:
21702         Moved the message async delivery private lock and cond
21703         to the private section.
21704
21705         * gst/gstmessage.c:
21706         * gst/gstmessage.h:
21707         Fixed docs.
21708
21709 2005-11-09  Edward Hervey  <edward@fluendo.com>
21710
21711         * docs/gst/gstreamer-sections.txt:
21712         * gst/gsturi.c:
21713         * gst/gsturi.h:
21714         Document GstURIHandler
21715
21716 2005-11-09  Wim Taymans  <wim@fluendo.com>
21717
21718         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21719         (gst_iterator_find_custom):
21720         * gst/gstiterator.h:
21721         Fix iterator docs.
21722
21723 2005-11-09  Wim Taymans  <wim@fluendo.com>
21724
21725         * gst/gstbin.h:
21726         Document another field.
21727
21728         * gst/gststructure.c:
21729         * gst/gststructure.h:
21730         Document.
21731
21732 2005-11-09  Wim Taymans  <wim@fluendo.com>
21733
21734         * gst/gstbin.h:
21735         Documented structs.
21736
21737 2005-11-09  Wim Taymans  <wim@fluendo.com>
21738
21739         * docs/gst/gstreamer-sections.txt:
21740         Added some new macros.
21741
21742         * gst/gstclock.c:
21743         * gst/gstclock.h:
21744         * gst/gstobject.h:
21745         Docs updates.
21746
21747 2005-11-09  Wim Taymans  <wim@fluendo.com>
21748
21749         * docs/design/part-TODO.txt:
21750         Some more items for the TODO
21751
21752         * gst/gstcaps.c:
21753         * gst/gstcaps.h:
21754         Document GstCaps.
21755
21756 2005-11-09  Andy Wingo  <wingo@pobox.com>
21757
21758         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21759         to work on something else now tho...
21760
21761         * gst/base/gstadapter.c: More adapter docs.
21762
21763         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21764         (gst_file_sink_stop): New functions, replace the state change
21765         handler.
21766         (gst_file_sink_class_init): Hook up the start and stop functions.
21767         (gst_file_sink_base_init): Don't set the state change handler any
21768         more. It was a bit ugly too, being set from here...
21769         (gst_file_sink_get_property, gst_file_sink_set_property):
21770         Cleanups...
21771         (gst_file_sink_set_location): More robust check that doesn't call
21772         GST_STATE. Ugggggg.
21773
21774 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21775
21776         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21777           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21778
21779 2005-11-08  Wim Taymans  <wim@fluendo.com>
21780
21781         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21782         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21783         (gst_base_sink_chain), (gst_base_sink_change_state):
21784         * gst/base/gstbasesink.h:
21785         * gst/base/gstbasesrc.h:
21786         * gst/gstelement.h:
21787         * gst/gstevent.h:
21788         Avoid excessive typechecking in macros.
21789
21790         * gst/gstminiobject.c: (gst_mini_object_get_type),
21791         (gst_mini_object_init), (gst_mini_object_new),
21792         (gst_mini_object_free):
21793         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21794         (gst_object_finalize):
21795         Remove cruft code, optimize alloc_trace.
21796
21797 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21798
21799         * docs/faq/gst-uninstalled:
21800           fix up PS1 for systems that try to reset it
21801
21802 2005-11-07  Wim Taymans  <wim@fluendo.com>
21803
21804         * gst/base/gstbasesrc.c: (gst_base_src_init),
21805         (gst_base_src_get_range):
21806         Set the segment_end to -1 initially. Fixed typefind.
21807
21808 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21809
21810         * gst/base/gstadapter.c:
21811           Debug category should be 'adapter', not 'GstAdapter'.
21812           
21813         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21814         (gst_collectpads_class_init), (gst_collectpads_init),
21815         (gst_collectpads_peek), (gst_collectpads_pop),
21816         (gst_collectpads_event), (gst_collectpads_chain):
21817           Add debug category and some debugging output. Use boilerplate
21818           macros. Remove some extraneous words from docs.
21819
21820 2005-11-05  Andy Wingo  <wingo@pobox.com>
21821
21822         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21823         macro.
21824
21825 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21826
21827         * docs/gst/gstreamer-sections.txt:
21828         * gst/gstcaps.h:
21829         * gst/gstinfo.c:
21830         * gst/gstminiobject.h:
21831         * gst/gstobject.h:
21832         * gst/gstutils.h:
21833           more docs added
21834
21835 2005-11-04  Wim Taymans  <wim@fluendo.com>
21836
21837         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21838         Small update to stop at the configured segment_end
21839         position.
21840
21841 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21842
21843         * gst/gstregistry.c:
21844         * gst/gstregistry.h:
21845           added missing docs
21846
21847 2005-11-04  Edward Hervey  <edward@fluendo.com>
21848
21849         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21850         Check if we are doing a segment seek and have arrived at the
21851         end of that segment.
21852
21853 2005-11-04  Wim Taymans  <wim@fluendo.com>
21854
21855         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21856         Don't leak a mutex unlock in case of an error.
21857
21858         * gst/gstbus.h:
21859         Doc fixes.
21860
21861 2005-11-04  Wim Taymans  <wim@fluendo.com>
21862
21863         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21864         (gst_bus_post):
21865         Get the context to wake up only once.
21866
21867 2005-11-03  Wim Taymans  <wim@fluendo.com>
21868
21869         * check/states/sinks.c: (GST_START_TEST):
21870         Uncomment fixed check.
21871
21872         * docs/design/part-TODO.txt:
21873         Updated TODO.
21874
21875         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21876         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21877         (gst_base_sink_get_position):
21878         If we are going to PLAYING, post the right pending state
21879         when we post the intermediate paused message.
21880
21881         * gst/gstelement.c: (gst_element_continue_state),
21882         (gst_element_set_state_func), (gst_element_change_state):
21883         Don't post state changes that were between the same state
21884         and were not ASYNC.
21885
21886 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21887
21888         * docs/gst/gstreamer-sections.txt:
21889         * gst/gstcaps.h:
21890         * gst/gstinfo.c:
21891         * gst/gstminiobject.h:
21892         * gst/gstobject.h:
21893         * gst/gstutils.h:
21894           more docs and doc style fixes
21895
21896 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21897
21898         * docs/gst/gstreamer-sections.txt:
21899         * gst/gstelement.c:
21900         * gst/gstminiobject.c:
21901         doc fixes
21902
21903 2005-11-03  Andy Wingo  <wingo@pobox.com>
21904
21905         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21906         state-changed messages actually have the right order and the right
21907         values.
21908
21909 2005-11-03  Wim Taymans  <wim@fluendo.com>
21910
21911         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21912         Added some more checks. Specifically the case where NO_PREROLL
21913         elements are in the pipeline.
21914
21915         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21916         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21917         (gst_base_sink_get_position):
21918         Post READY->PAUSED state change messages too.
21919         Fix bug where VOID was posted as pending state...
21920
21921         * gst/gstbin.c: (gst_bin_recalc_state):
21922         use _element_continue_state() to continue the state change.
21923
21924         * gst/gstelement.c: (gst_element_continue_state),
21925         (gst_element_commit_state), (gst_element_set_state_func),
21926         (gst_element_change_state), (gst_element_change_state_func):
21927         Lots of state change cleanups, assign the STATE_RETURN in
21928         a new continue_state() function that also propagates the
21929         last return value from a state change to the app.
21930         Update some debug statements with proper category.
21931
21932 2005-11-03  Wim Taymans  <wim@fluendo.com>
21933
21934         * docs/design/part-events.txt:
21935         * docs/design/part-gstpipeline.txt:
21936         * docs/design/part-messages.txt:
21937         * docs/design/part-overview.txt:
21938         * docs/design/part-seeking.txt:
21939         * docs/design/part-states.txt:
21940         * docs/design/part-trickmodes.txt:
21941         * docs/manual/advanced-position.xml:
21942         Small docs updates.
21943
21944         * gst/gstobject.h:
21945         People think !! is ugly, this looks better.
21946
21947         * gst/gstpad.c: (gst_pad_set_blocked_async):
21948         Remove !! since it's fixed elsewhere now.
21949
21950 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21951
21952         * gst/gstminiobject.h:
21953         * gst/gstobject.h:
21954           Add !! to _FLAG_IS_SET macros to make the result boolean.
21955
21956 2005-11-03  Edward Hervey  <edward@fluendo.com>
21957
21958         * gst/gstpad.c: (gst_pad_set_blocked_async):
21959         comparing a flag and a gboolean rarely returns coherent results...
21960         Added two characters (!!) to make that work correctly.
21961         
21962 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21963
21964         * gst/gstbus.c: (gst_bus_class_init):
21965           Fix some typos.
21966           
21967         * gst/gstqueue.c: (gst_queue_loop):
21968           Don't assume a miniobject that isn't a buffer is an
21969           event (it could be that there is a refcounting
21970           problem somewhere and the pointer is stale and
21971           refers to an already destroyed miniobject).
21972
21973 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21974
21975         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21976
21977 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21978
21979         * docs/manual/advanced-position.xml:
21980           Update seek example and explanations to current 0.9 API.
21981
21982         * gst/elements/gsttypefindelement.c:
21983         (gst_type_find_element_activate):
21984           Remove FIXME comment now that the found caps
21985           are unreffed.
21986
21987 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21988
21989         * gst/gstregistryxml.c: (load_feature):
21990           Add another GST_STR_NULL instance
21991
21992 2005-11-02  Edward Hervey  <edward@fluendo.com>
21993
21994         * gst/gstpad.c: (handle_pad_block):
21995         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21996         
21997 2005-11-02  Wim Taymans  <wim@fluendo.com>
21998
21999         * gst/gstbin.c:
22000         Fix typo in docs.
22001
22002         * gst/gstelement.c: (gst_element_commit_state):
22003         Remove unused value.
22004
22005         * gst/gstiterator.c:
22006         Mention that the returned element is reffed in the docs.
22007
22008 2005-11-02  Wim Taymans  <wim@fluendo.com>
22009
22010         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22011         (gst_pad_push), (gst_pad_push_event):
22012         Unlock blocked pads when they are flushed.
22013
22014 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22015
22016         * docs/README:
22017         * docs/gst/gstreamer-sections.txt:
22018         * gst/gstbin.c:
22019           doc updates
22020         * gst/gstregistry.c: (gst_registry_scan_path_level):
22021           fix for a nasty little missed situation where an installed plug-in
22022           which was in the cache did not get overridden by an uninstalled one
22023           which was earlier in the plugin path because the newly created plugin
22024           for the uninstalled one (not in the registry) didn't get its
22025           ->registered set to TRUE
22026
22027 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22028
22029         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22030         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22031         (gst_collectpads_is_active), (gst_collectpads_collect),
22032         (gst_collectpads_collect_range), (gst_collectpads_start),
22033         (gst_collectpads_stop), (gst_collectpads_peek),
22034         (gst_collectpads_pop), (gst_collectpads_available),
22035         (gst_collectpads_read), (gst_collectpads_flush):
22036           Guard public API with assertions.
22037         
22038         * gst/gstpad.c:
22039           Fix docs for gst_pad_set_link_function().
22040
22041 2005-11-02  Johan Dahlin  <johan@gnome.org>
22042
22043         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22044         Unref found_caps after we used it.
22045
22046 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22047
22048         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22049           Don't try to ref NULL.
22050
22051 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22052
22053         * win32/common/config.h.in:
22054           provide a GST_FUNCTION that just gives a string for now
22055
22056 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22057
22058         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22059         (gst_object_flags_get_type), (register_gst_bin_flags),
22060         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22061         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22062         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22063         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22064         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22065         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22066         (gst_clock_flags_get_type), (register_gst_state),
22067         (gst_state_get_type), (register_gst_state_change_return),
22068         (gst_state_change_return_get_type), (register_gst_state_change),
22069         (gst_state_change_get_type), (register_gst_element_flags),
22070         (gst_element_flags_get_type), (register_gst_core_error),
22071         (gst_core_error_get_type), (register_gst_library_error),
22072         (gst_library_error_get_type), (register_gst_resource_error),
22073         (gst_resource_error_get_type), (register_gst_stream_error),
22074         (gst_stream_error_get_type), (register_gst_event_type),
22075         (gst_event_type_get_type), (register_gst_seek_type),
22076         (gst_seek_type_get_type), (register_gst_seek_flags),
22077         (gst_seek_flags_get_type), (register_gst_format),
22078         (gst_format_get_type), (register_gst_index_certainty),
22079         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22080         (gst_index_entry_type_get_type),
22081         (register_gst_index_lookup_method),
22082         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22083         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22084         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22085         (gst_index_flags_get_type), (register_gst_debug_level),
22086         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22087         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22088         (gst_iterator_result_get_type), (register_gst_iterator_item),
22089         (gst_iterator_item_get_type), (register_gst_message_type),
22090         (gst_message_type_get_type), (register_gst_mini_object_flags),
22091         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22092         (gst_pad_link_return_get_type), (register_gst_flow_return),
22093         (gst_flow_return_get_type), (register_gst_activate_mode),
22094         (gst_activate_mode_get_type), (register_gst_pad_direction),
22095         (gst_pad_direction_get_type), (register_gst_pad_flags),
22096         (gst_pad_flags_get_type), (register_gst_pad_presence),
22097         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22098         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22099         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22100         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22101         (gst_plugin_flags_get_type), (register_gst_rank),
22102         (gst_rank_get_type), (register_gst_query_type),
22103         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22104         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22105         (gst_tag_flag_get_type), (register_gst_task_state),
22106         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22107         (gst_alloc_trace_flags_get_type),
22108         (register_gst_type_find_probability),
22109         (gst_type_find_probability_get_type), (register_gst_uri_type),
22110         (gst_uri_type_get_type), (register_gst_parse_error),
22111         (gst_parse_error_get_type):
22112         * win32/common/gstversion.h:
22113           update win32 copies
22114
22115 2005-11-01  Luca Ognibene  <luogni@tin.it>
22116
22117         * gst/gst.c:
22118           fix docs. popt is dead, long live GOption.
22119
22120 2005-10-31  Wim Taymans  <wim@fluendo.com>
22121
22122         * gst/gstbuffer.h:
22123         Small doc fix.
22124
22125 2005-10-31  Andy Wingo  <wingo@pobox.com>
22126
22127         * Boo!
22128
22129         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22130
22131         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22132         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22133         the possibility of deadlocks here if code calling notify() or
22134         set() has a lock that can be taken in another notify handler (ABBA
22135         with class lock and e.g. python GIL state lock).
22136
22137 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22138
22139         * gst/gstbus.c: Doc updates.
22140
22141 2005-10-28  Wim Taymans  <wim@fluendo.com>
22142
22143         * docs/design/part-TODO.txt:
22144         * gst/gstiterator.c:
22145         * gst/gstsystemclock.c:
22146         * gst/gstsystemclock.h:
22147         Doc updates.
22148
22149 2005-10-28  Edward Hervey  <edward@fluendo.com>
22150
22151         * docs/gst/gstreamer-docs.sgml:
22152         * docs/gst/gstreamer-sections.txt:
22153         the GstURIType documentation page is private, it only defines GstURIType
22154         which should be defined in the GstURIHandler page
22155         
22156 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22157
22158         * gst/gstbin.c: (gst_bin_class_init):
22159         * gst/gstbin.h:
22160         * gst/gstutils.c:
22161         Documentation updates.
22162
22163 2005-10-28  Wim Taymans  <wim@fluendo.com>
22164
22165         * docs/gst/gstreamer-sections.txt:
22166         * gst/gstclock.c:
22167         * gst/gstclock.h:
22168         Documented the clocks.
22169
22170 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22171
22172         * docs/gst/gstreamer-sections.txt:
22173           move some macros to private sections
22174         * gst/gstminiobject.c:
22175         * gst/gstminiobject.h:
22176           add descriptions provided by ds and some more
22177         * gst/gstpad.h:
22178           mark macro as to be removed
22179
22180 2005-10-28  Wim Taymans  <wim@fluendo.com>
22181
22182         * docs/design/part-TODO.txt:
22183         Add an item to TODO.
22184
22185         * gst/gstiterator.c: (gst_iterator_fold),
22186         (gst_iterator_find_custom):
22187         * gst/gstiterator.h:
22188         Add iterator docs.
22189
22190 2005-10-28  Wim Taymans  <wim@fluendo.com>
22191
22192         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22193         (gst_base_transform_init):
22194         Don't leak class.
22195
22196         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22197         An EOS event marks the queue as completely filled.
22198
22199 2005-10-27  Wim Taymans  <wim@fluendo.com>
22200
22201         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22202         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22203         Some more debugging.
22204
22205         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22206         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22207         (gst_base_transform_event), (gst_base_transform_getrange),
22208         (gst_base_transform_chain):
22209         * gst/base/gstbasetransform.h:
22210         Fix debugging,
22211         Protect transform and concurrent buffer alloc with a new lock.
22212         Try not to break ABI/API.
22213
22214 2005-10-27  Wim Taymans  <wim@fluendo.com>
22215
22216         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22217         (gst_base_src_init), (gst_base_src_query),
22218         (gst_base_src_default_newsegment),
22219         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22220         (gst_base_src_send_event), (gst_base_src_event_handler),
22221         (gst_base_src_pad_get_range), (gst_base_src_loop),
22222         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22223         (gst_base_src_start), (gst_base_src_deactivate),
22224         (gst_base_src_activate_push), (gst_base_src_change_state):
22225         Move some stuff around and cleanup things.
22226
22227 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22228
22229         * gst/base/gstbasesrc.c: (gst_base_src_query):
22230           Add missing break statements.
22231
22232 2005-10-27  Wim Taymans  <wim@fluendo.com>
22233
22234         * check/gst/gstbin.c: (GST_START_TEST):
22235         An extra refcount is taken in basesrc.
22236
22237         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22238         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22239         (gst_base_src_loop):
22240         Small cleanups, check for flushing after being unlocked from the 
22241         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22242         Don't send out EOS when going to READY.
22243
22244 2005-10-27  Wim Taymans  <wim@fluendo.com>
22245
22246         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22247         (gst_base_sink_get_position):
22248         Some more debug.
22249
22250         * gst/gstbin.c: (message_check), (bin_replace_message),
22251         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22252         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22253         (bin_query_duration_init), (bin_query_duration_fold),
22254         (bin_query_duration_done), (bin_query_generic_fold),
22255         (gst_bin_query):
22256         * tools/gst-launch.c: (main):
22257         Remove old option.
22258
22259 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22260
22261         * examples/controller/audio-example.c: (main):
22262         * examples/queue/queue.c: (event_loop):
22263         * gst/base/gstbasetransform.h:
22264         * gst/gstelement.c: (gst_element_send_event):
22265         * gst/gstevent.h:
22266         * gst/gstpad.c: (gst_pad_send_event):
22267           fixing examples
22268           fixing docs typos
22269           changing log priority in error situations
22270
22271 2005-10-25  Wim Taymans  <wim@fluendo.com>
22272
22273         * gst/gstbin.c: (message_check), (bin_replace_message),
22274         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22275         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22276         (bin_query_duration_init), (bin_query_duration_fold),
22277         (bin_query_duration_done), (bin_query_generic_fold),
22278         (gst_bin_query):
22279         Some doc and debug updates.
22280         Cache previously requested query DURATION for speed. invalidate
22281         cached duration if element posts a DURATION message.
22282
22283 2005-10-25  Wim Taymans  <wim@fluendo.com>
22284
22285         * docs/design/part-TODO.txt:
22286         Update TODO.
22287
22288         * gst/gstbin.c: (message_check), (bin_replace_message),
22289         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22290         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22291         (bin_query_duration_init), (bin_query_duration_fold),
22292         (bin_query_duration_done), (bin_query_generic_fold),
22293         (gst_bin_query):
22294         Handle SEGMENT_START/DONE messages correctly.
22295         More evolved query algorithm that handles duration queries
22296         correctly.
22297
22298         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22299         (gst_element_get_state_func), (gst_element_abort_state),
22300         (gst_element_commit_state), (gst_element_lost_state):
22301         Some more debugging.
22302
22303         * gst/gstmessage.h:
22304         Added doc.
22305
22306 2005-10-25  Wim Taymans  <wim@fluendo.com>
22307
22308         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22309         Don't use invalid stream_time.
22310
22311         * gst/gstevent.c: (gst_event_new_newsegment):
22312         stream_time in newsegment cannot be undefined.
22313
22314 2005-10-24  Wim Taymans  <wim@fluendo.com>
22315
22316         * gst/gstbus.c:
22317         Doc fix.
22318
22319         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22320         (gst_queue_loop):
22321         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22322
22323 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22324
22325         * docs/libs/tmpl/gstdparam.sgml:
22326         * docs/libs/tmpl/gstdplinint.sgml:
22327         * docs/libs/tmpl/gstdpman.sgml:
22328         * docs/libs/tmpl/gstdpsmooth.sgml:
22329         * docs/libs/tmpl/gstunitconvert.sgml:
22330           these are obsolete
22331
22332 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22333
22334         * configure.ac:
22335           back to HEAD
22336
22337 === release 0.9.4 ===
22338
22339 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22340
22341         * configure.ac:
22342           releasing 0.9.4, "Tyrannosaurus Rex"
22343
22344 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22345
22346         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22347         (gst_file_sink_get_current_offset):
22348           Use fseeko() and ftello() if available. When falling back on
22349           lseek() to get the current offset, fflush() first to make sure
22350           everything is up-to-date and we get the right offset.
22351
22352 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22353
22354         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22355         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22356         * gst/gsterror.c: (_gst_stream_errors_init):
22357         * gst/gsterror.h:
22358         * gst/gstqueue.c: (gst_queue_loop):
22359         * po/POTFILES.in:
22360           remove prematurely added error category and clean up the instances
22361
22362 2005-10-21  Wim Taymans  <wim@fluendo.com>
22363
22364         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22365         (gst_base_sink_get_position), (gst_base_sink_query),
22366         (gst_base_sink_change_state):
22367         Simply set the right flag when going to playing, that's all
22368         we need to do instead of calling a function inside the object
22369         lock (that could take the lock as well and deadlock)
22370
22371 2005-10-21  Wim Taymans  <wim@fluendo.com>
22372
22373         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22374         (gst_base_src_loop):
22375         Don't warn, the peer element knows what to do best when
22376         the seek failed, it might try something else.
22377
22378 2005-10-21  Wim Taymans  <wim@fluendo.com>
22379
22380         * gst/base/gstbasesrc.c: (gst_base_src_init),
22381         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22382         Fix seeking.
22383
22384 2005-10-21  Wim Taymans  <wim@fluendo.com>
22385
22386         * docs/design/part-segments.txt:
22387         More docs.
22388
22389         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22390         Correctly set caps, even on the subbufer.
22391
22392 2005-10-21  Wim Taymans  <wim@fluendo.com>
22393
22394         * docs/gst/gstreamer-docs.sgml:
22395         * docs/gst/gstreamer-sections.txt:
22396         * gst/gstelement.h:
22397         * gst/gstevent.c:
22398         * gst/gstevent.h:
22399         * gst/gstmessage.h:
22400         * gst/gstpad.h:
22401         * gst/gstparse.h:
22402         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22403         * gst/gsttask.h:
22404         * gst/gstutils.c:
22405         * gst/gstutils.h:
22406         And 2% more doc coverage.
22407
22408 2005-10-21  Andy Wingo  <wingo@pobox.com>
22409
22410         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22411         position reporting.
22412
22413 2005-10-20  Wim Taymans  <wim@fluendo.com>
22414
22415         * gst/gsterror.c: (gst_error_get_message):
22416         * gst/gstparse.h:
22417         * gst/gstquery.h:
22418         * gst/gststructure.c:
22419         * gst/gsttrace.c:
22420         * gst/gstutils.c:
22421         More docs.
22422
22423 2005-10-20  Wim Taymans  <wim@fluendo.com>
22424
22425         * gst/gstbuffer.h:
22426         * gst/gstpad.c:
22427         * gst/gstparse.c:
22428         Another 1% more coverage.
22429
22430 2005-10-20  Wim Taymans  <wim@fluendo.com>
22431
22432         * docs/gst/gstreamer-sections.txt:
22433         * gst/gstelement.c: (gst_element_get_state_func),
22434         (gst_element_abort_state), (gst_element_commit_state),
22435         (gst_element_lost_state):
22436         * gst/gstevent.h:
22437         * gst/gstquery.c: (gst_query_set_position),
22438         (gst_query_parse_position), (gst_query_set_duration),
22439         (gst_query_parse_duration), (gst_query_new_convert):
22440         * gst/gstutils.c:
22441         Yay! 1% more docs coverage.
22442
22443 2005-10-20  Wim Taymans  <wim@fluendo.com>
22444
22445         * gst/gstpad.h:
22446         * gst/gstquery.c: (gst_query_set_position),
22447         (gst_query_parse_position), (gst_query_set_duration),
22448         (gst_query_parse_duration), (gst_query_new_convert):
22449         * gst/gstquery.h:
22450         * gst/gstutils.c: (gst_element_query_convert):
22451         * gst/gstutils.h:
22452         Docs and consistency fixes.
22453
22454 2005-10-20  Wim Taymans  <wim@fluendo.com>
22455
22456         * gst/gsttask.c:
22457         * gst/gsttask.h:
22458         More docs.
22459
22460 2005-10-20  Wim Taymans  <wim@fluendo.com>
22461
22462         * gst/gstbin.c: (message_check), (bin_replace_message),
22463         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22464         (update_degree), (gst_bin_sort_iterator_next),
22465         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22466         Reworked the message handling a bit, cache the messages instead of
22467         only the senders. alows us to do more in the future.
22468
22469 2005-10-20  Wim Taymans  <wim@fluendo.com>
22470
22471         * docs/design/part-TODO.txt:
22472         Update TODO
22473
22474         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22475         (gst_base_sink_query):
22476         Don't use clock time to report position when in EOS.
22477
22478 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22479
22480         * tools/gst-inspect.c: (print_interfaces),
22481         (print_element_properties_info), (print_element_info):
22482           Fix interface output with gst-inspect -a; don't print
22483           newlines after double/float properties.
22484
22485 2005-10-20  Wim Taymans  <wim@fluendo.com>
22486
22487         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22488         (gst_base_sink_query):
22489         Speed up current position calculation.
22490
22491         * gst/base/gstbasesrc.c: (gst_base_src_query),
22492         (gst_base_src_default_newsegment):
22493         Correctly set stream position in newsegment.
22494
22495         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22496         (update_degree), (gst_bin_sort_iterator_next),
22497         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22498         * gst/gstmessage.c: (gst_message_new_custom):
22499         Clean up debugging info
22500
22501         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22502         (gst_queue_loop), (gst_queue_handle_src_query):
22503         Pause task faster.
22504
22505 2005-10-19  Wim Taymans  <wim@fluendo.com>
22506
22507         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22508         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22509         Fix query handling again.
22510
22511 2005-10-19  Wim Taymans  <wim@fluendo.com>
22512
22513         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22514         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22515         * gst/base/gstbasesrc.c: (gst_base_src_query):
22516         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22517         * gst/elements/gsttypefindelement.c:
22518         (gst_type_find_handle_src_query), (find_element_get_length),
22519         (gst_type_find_element_activate):
22520         API change fix.
22521
22522         * gst/gstquery.c: (gst_query_new_position),
22523         (gst_query_set_position), (gst_query_parse_position),
22524         (gst_query_new_duration), (gst_query_set_duration),
22525         (gst_query_parse_duration), (gst_query_set_segment),
22526         (gst_query_parse_segment):
22527         * gst/gstquery.h:
22528         Bundling query position/duration is not a good idea since duration
22529         does not change much and we don't want to recalculate it for every
22530         position query, so they are separated again..
22531         Base value in segment query is not needed.
22532
22533         * gst/gstqueue.c: (gst_queue_handle_src_query):
22534         * gst/gstutils.c: (gst_element_query_position),
22535         (gst_element_query_duration), (gst_pad_query_position),
22536         (gst_pad_query_duration):
22537         * gst/gstutils.h:
22538         Updates for query API change.
22539         Added some docs here and there.
22540
22541 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22542
22543         * check/gst/gstbin.c: (GST_START_TEST):
22544         * check/gst/gstghostpad.c: (GST_START_TEST):
22545         * check/pipelines/cleanup.c: (GST_START_TEST):
22546           wait on thread to die so we can check refcount correctly
22547
22548 2005-10-18  Wim Taymans  <wim@fluendo.com>
22549
22550         * check/pipelines/stress.c: (GST_START_TEST):
22551         Make check a little more time consuming.
22552
22553 2005-10-18  Wim Taymans  <wim@fluendo.com>
22554
22555         * check/Makefile.am:
22556         * check/pipelines/stress.c: (GST_START_TEST),
22557         (simple_launch_lines_suite), (main):
22558         Small state change torture test.
22559
22560         * docs/design/part-states.txt:
22561         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22562         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22563         (gst_base_sink_change_state):
22564         Never take state lock from streaming thread, clean up ugly
22565         hacks. Unfortunatly core does not yet support nice ways to
22566         async commit state.
22567         
22568         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22569         (bin_bus_handler):
22570         Start state recalc if a STATE_DIRTY message is posted, but only
22571         on the toplevel bin.
22572
22573         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22574         (gst_element_get_state_func), (gst_element_abort_state),
22575         (gst_element_commit_state), (gst_element_lost_state),
22576         (gst_element_set_state_func), (gst_element_change_state):
22577         * gst/gstelement.h:
22578         State variables are now protected with the LOCK, the state
22579         lock is only used to serialize _set_state().
22580
22581 2005-10-18  Wim Taymans  <wim@fluendo.com>
22582
22583         * check/gst/gstbin.c: (GST_START_TEST):
22584         * check/gst/gstmessage.c: (GST_START_TEST):
22585         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22586         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22587         (bin_bus_handler):
22588         * gst/gstelement.c: (gst_element_abort_state),
22589         (gst_element_commit_state), (gst_element_lost_state):
22590         * gst/gstmessage.c: (gst_message_new_state_changed),
22591         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22592         (gst_message_new_segment_done), (gst_message_new_duration),
22593         (gst_message_parse_state_changed),
22594         (gst_message_parse_segment_start),
22595         (gst_message_parse_segment_done), (gst_message_parse_duration):
22596         * gst/gstmessage.h:
22597         * tools/gst-launch.c: (event_loop):
22598         Seriously, this is better than a previous commit as we only need
22599         to notify the fact that an element changed state in a streaming
22600         thread, marking the state of the parents dirty, hence the 
22601         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22602         message.
22603
22604 2005-10-18  Wim Taymans  <wim@fluendo.com>
22605
22606         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22607         (gst_bin_recalc_func):
22608         * gst/gstelement.c: (gst_element_set_clock),
22609         (gst_element_abort_state), (gst_element_lost_state):
22610         Cleanups, prepare for state change fixes.
22611
22612 2005-10-18  Wim Taymans  <wim@fluendo.com>
22613
22614         * gst/gstbin.h:
22615         * gst/gstelement.c: (gst_element_class_init),
22616         (gst_element_set_state), (gst_element_set_state_func):
22617         * gst/gstelement.h:
22618         Pending ABI changes.
22619         GThreadPool in GstBinClass to monitor async state changes.
22620         state_cookie in GstElement to detect concurrent gst/set state.
22621         set_state is now virtual too in case a very complicated element
22622         has to be constructed.
22623
22624 2005-10-18  Wim Taymans  <wim@fluendo.com>
22625
22626         * check/gst/gstbin.c: (GST_START_TEST):
22627         * check/gst/gstmessage.c: (GST_START_TEST):
22628         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22629         * gst/gstbin.c: (bin_bus_handler):
22630         * gst/gstelement.c: (gst_element_commit_state),
22631         (gst_element_lost_state):
22632         * gst/gstmessage.c: (gst_message_new_state_changed),
22633         (gst_message_new_segment_start), (gst_message_new_segment_done),
22634         (gst_message_new_duration), (gst_message_parse_state_changed),
22635         (gst_message_parse_segment_start),
22636         (gst_message_parse_segment_done), (gst_message_parse_duration):
22637         * gst/gstmessage.h:
22638         * tools/gst-launch.c: (event_loop):
22639         Make messages future proof.
22640         state-change gets a flag if it was a message comming from the
22641         streaming thread.
22642         segment-start/stop can also be specified in other formats.
22643         A message to notify an app that a pipeline changed playback 
22644         duration.
22645         Also fix a GstMessage leak in -launch
22646
22647 2005-10-18  Andy Wingo  <wingo@pobox.com>
22648
22649         * gst/gstelement.c (gst_element_dispose): More helpful message.
22650
22651 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22652
22653         reviewed by: <delete if not using a buddy>
22654
22655         * common/gtk-doc.mak:
22656
22657 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22658
22659         * gst/gstregistry.c: (gst_registry_scan_path_level):
22660           unref a plug-in we get that was already initialized
22661
22662 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22663
22664         * docs/gst/gstreamer-sections.txt:
22665         * docs/libs/gstreamer-libs-sections.txt:
22666         * gst/gstelement.h:
22667           add new api entries
22668           hide internal macro
22669
22670 2005-10-17  Andy Wingo  <wingo@pobox.com>
22671
22672         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22673         cleanup.
22674
22675         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22676
22677         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22678
22679         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22680         (gst_element_get_state_func): Better debug message.
22681         (gst_element_commit_state): s/INFO/DEBUG/.
22682         (gst_element_lost_state, gst_element_change_state): 
22683
22684         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22685         (gst_message_new_custom): s/INFO/LOG/.
22686
22687 2005-10-17  Michael Smith <msmith@fluendo.com>
22688
22689         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22690           Check if end time is valid using end time, not start time.
22691
22692 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22693
22694         * check/gst-libs/controller.c: (GST_START_TEST),
22695         (gst_controller_suite):
22696         * libs/gst/controller/gstcontroller.c:
22697         (gst_controlled_property_set_interpolation_mode):
22698         * libs/gst/controller/gstcontroller.h:
22699         * libs/gst/controller/gstinterpolation.c:
22700         * testsuite/controller/.cvsignore:
22701         * testsuite/controller/Makefile.am:
22702         * testsuite/controller/interpolator.c:
22703           merge controller testsuites
22704           fix broken tests
22705           remove mem-chunk from docs
22706
22707 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22708
22709         * gst/gstmemchunk.c:
22710         * gst/gstmemchunk.h:
22711         * gst/gsttrashstack.c:
22712         * gst/gsttrashstack.h:
22713           out.  get out.  you're fired.  to the Attic !
22714
22715 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22716
22717         * gst/gstcaps.c: (gst_caps_intersect):
22718           fix signedness issues in a (hopefully) correct way
22719         * gst/gstelement.c: (gst_element_pads_activate):
22720           some debugging
22721         * gst/gstobject.c: (gst_object_set_parent):
22722           some debugging
22723
22724 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22725
22726         * gst/gstvalue.h: Fix prototypes.
22727
22728 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22729
22730         * docs/gst/gstreamer-sections.txt:
22731         * gst/gst.c: (gst_version_string):
22732         * gst/gst.h:
22733         * gst/gstversion.h.in:
22734         * win32/common/libgstreamer.def:
22735           add gst_version_string ()
22736
22737 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22738
22739         * configure.ac:
22740           clean up further
22741         * gst/gst.c: (init_post):
22742         * win32/common/config.h.in:
22743           it's PLUGINDIR now
22744         * gst/gstcaps.c: (gst_caps_intersect):
22745           use gint64, the range could be bigger than a guint
22746
22747 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22748
22749         * gst/gstclock.h:
22750           document potential problem in 2038
22751
22752 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22753
22754         * gst/gstcaps.c: (gst_caps_intersect):
22755           Fix guint j diving under 0
22756
22757 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22758
22759         * configure.ac:
22760         * win32/common/config.h:
22761         * win32/common/config.h.in:
22762           check for process.h, declares getpid() on Windows
22763         * gst/gstinfo.c:
22764           include process.h if we have it
22765         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22766         * gst/gstmemchunk.h:
22767           fix signedness issues
22768         * win32/common/libgstreamer.def:
22769           fix get_type's
22770
22771 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22772
22773         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22774         fix. Because of unsigned ints, caps intersection was going nuts and
22775         trying to access structures with G_MAXUINT index. That fixes
22776         videotestsrc ! ffmpegcolorspace ! fakesink
22777         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22778         consistency.
22779
22780 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22781
22782         * configure.ac:
22783           use the gettext macro
22784         * gst/elements/gstelements.c:
22785         * gst/gst.c:
22786         * gst/indexers/gstindexers.c:
22787           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22788         * win32/common/config.h:
22789           updated config.h
22790         * win32/common/config.h.in:
22791           add the template to generate config.h
22792         * win32/common/gstenumtypes.c:
22793         * win32/common/gstversion.h:
22794           updated copies
22795
22796 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22797
22798         * gst/gst.c: (gst_version):
22799         * gst/gstversion.h.in:
22800           add the nano
22801
22802 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22803
22804         * gst/gstevent.h:
22805           Oops, add missing closing bracket.
22806
22807 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22808
22809         * configure.ac:
22810           use common m4's for argument checking
22811
22812 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22813
22814         * docs/gst/gstreamer-sections.txt:
22815         * gst/gstevent.h:
22816           Add GST_EVENT_TYPE_NAME() macro.
22817
22818 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22819
22820         * gst/gstinfo.c:
22821         * gst/gstpluginfeature.c:
22822         * gst/gsttask.c:
22823           privatize more symbols
22824
22825 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22826
22827         * configure.ac:
22828           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22829           everything that uses GStreamer API should have the includes
22830
22831 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22832
22833         * docs/gst/gstreamer-sections.txt:
22834         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22835         * gst/gstvalue.h:
22836           give each value a _get_type, removes the DATA exports
22837
22838 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22839
22840         * gst/gst.c:
22841         * gst/gst.h:
22842           remove _gst_registry_auto_load, not used anymore
22843         * gst/gstbin.c: (gst_bin_get_type):
22844         * gst/gstbin.h:
22845         * gst/gstelement.c: (gst_element_get_type):
22846         * gst/gstelement.h:
22847         * gst/gstobject.c: (gst_object_get_type):
22848         * gst/gstobject.h:
22849         * gst/gstpad.c: (gst_pad_get_type):
22850         * gst/gstpad.h:
22851           make _get_type functions similar, fixes data export from library
22852
22853 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22854
22855         * configure.ac:
22856           correctly make conditionals
22857         * gst/elements/Makefile.am:
22858         * gst/elements/gstelements.c:
22859           fix typo causing fdsrc not to build
22860
22861 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22862
22863         * testsuite/Makefile.am:
22864         * testsuite/bytestream/.cvsignore:
22865         * testsuite/bytestream/Makefile.am:
22866         * testsuite/bytestream/filepadsink.c:
22867         * testsuite/bytestream/gstbstest.c:
22868         * testsuite/bytestream/test1.c:
22869         * testsuite/bytestream/testfile1:
22870         * testsuite/caps/normalisation.c:
22871         * testsuite/caps/random.c: (main):
22872         * testsuite/cleanup/.cvsignore:
22873         * testsuite/cleanup/Makefile.am:
22874         * testsuite/cleanup/cleanup1.c:
22875         * testsuite/cleanup/cleanup2.c:
22876         * testsuite/cleanup/cleanup3.c:
22877         * testsuite/cleanup/cleanup4.c:
22878         * testsuite/cleanup/cleanup5.c:
22879         * testsuite/controller/interpolator.c:
22880         * testsuite/debug/printf_extension.c: (main):
22881         * testsuite/elements/tee.c:
22882         * testsuite/negotiation/.cvsignore:
22883         * testsuite/negotiation/Makefile.am:
22884         * testsuite/negotiation/pad_link.c:
22885         * testsuite/pad/Makefile.am:
22886         * testsuite/pad/chainnopull.c:
22887         * testsuite/pad/getnopush.c:
22888         * testsuite/pad/link.c:
22889         * testsuite/refcounting/sched.c: (create_pipeline):
22890         * testsuite/registry/Makefile.am:
22891         * testsuite/registry/gst-print-formats.c:
22892         * testsuite/schedulers/.cvsignore:
22893         * testsuite/schedulers/142183-2.c:
22894         * testsuite/schedulers/142183.c:
22895         * testsuite/schedulers/143777-2.c:
22896         * testsuite/schedulers/143777.c:
22897         * testsuite/schedulers/147713.c:
22898         * testsuite/schedulers/147819.c:
22899         * testsuite/schedulers/147894-2.c:
22900         * testsuite/schedulers/147894.c:
22901         * testsuite/schedulers/Makefile.am:
22902         * testsuite/schedulers/group_link.c:
22903         * testsuite/schedulers/queue_link.c:
22904         * testsuite/schedulers/relink.c:
22905         * testsuite/schedulers/unlink.c:
22906         * testsuite/schedulers/unref.c:
22907         * testsuite/schedulers/useless_iteration.c:
22908         * testsuite/states/bin.c:
22909           clean out/remove some stuff from the testsuite directories
22910
22911 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22912
22913         * configure.ac:
22914           check for some headers
22915         * gst/elements/Makefile.am:
22916         * gst/elements/gstelements.c:
22917           don't compile fdsrc without sys/socket.h
22918         * gst/indexers/Makefile.am:
22919         * gst/indexers/gstindexers.c: (plugin_init):
22920           don't compile fileindex without mmap
22921
22922 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22923
22924         * configure.ac:
22925           reorganize
22926           clean up
22927           document more
22928           remove cruft
22929         * check/Makefile.am:
22930         * docs/gst/Makefile.am:
22931         * examples/helloworld/Makefile.am:
22932         * gst/Makefile.am:
22933         * gst/base/Makefile.am:
22934         * gst/check/Makefile.am:
22935         * gst/elements/Makefile.am:
22936         * gst/indexers/Makefile.am:
22937         * gst/parse/Makefile.am:
22938         * libs/gst/controller/Makefile.am:
22939         * libs/gst/dataprotocol/Makefile.am:
22940         * examples/helloworld/helloworld.c: (event_loop):
22941           compile fixes, though it's not being compiled currently
22942
22943 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22944
22945         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22946           Add some simple tests for the new taglist date API.
22947
22948 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22949
22950         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22951         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22952           Beautify 'last-message' output: print 'none' for buffer timestamps
22953           and durations if none is set; improve alignment with next messages.
22954
22955 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22956
22957         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22958         * gst/gstpluginfeature.h:
22959         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22960         * gst/gstregistry.h:
22961         * docs/gst/gstreamer-sections.txt:
22962           Add new API to check plugin feature version requirements.
22963
22964         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22965           Some basic tests for the above.         
22966
22967 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22968
22969         * gst/gststructure.c: (gst_structure_to_string):
22970           guard against NULL printf - happens when for example
22971           a message structure with GstClock gets serialized
22972
22973 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22974
22975         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22976           Fix presumable copy'n'pasto.
22977
22978 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22979
22980         * gst/elements/gstfakesrc.h:
22981         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22982         * gst/elements/gsttypefindelement.c:
22983           fix some signedness
22984         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22985           I wonder if this could actually write +2GB files before
22986
22987 2005-10-13  Andy Wingo  <wingo@pobox.com>
22988
22989         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22990         Fix Timmeke Waymans bug.
22991         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22992         string of the proper length to gst_caps_from_string. There's a
22993         potential for, before this fix, that this could cause someone
22994         connecting over the network to cause a segfault if the payload is
22995         not NUL-terminated.
22996
22997 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22998
22999         * docs/design/draft-push-pull.txt:
23000         * docs/design/part-overview.txt:
23001         * docs/random/TODO-pre-0.9:
23002         * docs/random/old/ChangeLog.gstreamer:
23003         * gst/base/gstpushsrc.c:
23004         * gst/gstclock.c:
23005           fixed typos
23006
23007 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23008
23009         * gst/glib-compat.c: (gst_flags_get_first_value):
23010         * gst/glib-compat.h:
23011         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23012         (gst_value_compare_double), (gst_value_serialize_flags):
23013           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23014           infinite loop
23015
23016 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23017
23018         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23019         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23020           fix up debugging
23021         * tools/gst-launch.c: (event_loop):
23022           print out clock nicely
23023
23024 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23025
23026         * docs/gst/gstreamer-sections.txt:
23027         * gst/gsttaglist.h:
23028         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23029         (gst_tag_list_get_date_index):
23030           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23031           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23032
23033 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23034
23035         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23036         (gst_collectpads_chain):
23037         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23038         in CollectData.
23039
23040 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23041
23042         * docs/gst/gstreamer-sections.txt:
23043         * gst/gst.c:
23044         * gst/gsterror.h:
23045         * tools/gst-inspect.c: (main):
23046         * tools/gst-launch.c: (main):
23047         * tools/gst-run.c: (main):
23048         * tools/gst-xmlinspect.c: (main):
23049           fix GOption context leaks
23050           doc fixes
23051
23052 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23053
23054         * gst/gstbus.c:
23055           use HAVE_UNISTD_H
23056         * win32/common/config.h:
23057           update config
23058         * win32/vs6/grammar.dsp:
23059         * win32/vs6/libgstelements.dsp:
23060         * win32/vs6/libgstreamer.dsp:
23061           update vs6 files
23062
23063 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23064
23065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23066         * gst/base/gstbasesrc.c: (gst_base_src_query):
23067           fix more guint64<->gdouble conversions
23068
23069 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23070
23071         * Makefile.am:
23072           add win32-update target
23073         * win32/common/gstconfig.h:
23074         * win32/common/gstenumtypes.c:
23075         * win32/common/gstenumtypes.h:
23076         * win32/common/gstversion.h:
23077           add files that visual studio can't generate
23078
23079 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23080
23081         * Makefile.am:
23082           add a win32-update target
23083         * configure.ac:
23084
23085 2005-10-12  Wim Taymans  <wim@fluendo.com>
23086
23087         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23088         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23089         * gst/gstelement.c: (gst_element_commit_state),
23090         (gst_element_set_state):
23091         Protect flags with proper lock.
23092         unref provided cached clock in dispose.
23093
23094 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23095
23096         * gst/gst.c:
23097         * gst/gstminiobject.h:
23098         * gst/gstpad.h:
23099         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23100           removed unused flags from miniobject
23101           doc fixes
23102
23103 2005-10-12  Wim Taymans  <wim@fluendo.com>
23104
23105         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23106         (gst_file_sink_event), (gst_file_sink_render):
23107         Flush before seeking.
23108
23109 2005-10-12  Andy Wingo  <wingo@pobox.com>
23110
23111         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23112         always been the case.
23113
23114 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23115
23116         * check/gst/gstbin.c: (GST_START_TEST):
23117         * docs/gst/gstreamer-sections.txt:
23118         * gst/base/gstbasesink.c: (gst_base_sink_init):
23119         * gst/base/gstbasesrc.c: (gst_base_src_init),
23120         (gst_base_src_get_range), (gst_base_src_check_get_range),
23121         (gst_base_src_start), (gst_base_src_stop):
23122         * gst/base/gstbasesrc.h:
23123         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23124         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23125         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23126         (bin_bus_handler):
23127         * gst/gstbin.h:
23128         * gst/gstbuffer.h:
23129         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23130         * gst/gstbus.h:
23131         * gst/gstelement.c: (gst_element_is_locked_state),
23132         (gst_element_set_locked_state), (gst_element_commit_state),
23133         (gst_element_set_state):
23134         * gst/gstelement.h:
23135         * gst/gstindex.c: (gst_index_init):
23136         * gst/gstindex.h:
23137         * gst/gstminiobject.h:
23138         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23139         (gst_object_set_parent):
23140         * gst/gstobject.h:
23141         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23142         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23143         * gst/gstpad.h:
23144         * gst/gstpadtemplate.h:
23145         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23146         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23147         * gst/gstpipeline.h:
23148         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23149         (gst_file_index_commit):
23150         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23151         * testsuite/pad/link.c: (gst_test_src_init),
23152         (gst_test_filter_init), (gst_test_sink_init):
23153         * testsuite/states/locked.c: (main):
23154           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23155           moved bitshift from macro to enum definition
23156
23157 2005-10-12  Wim Taymans  <wim@fluendo.com>
23158
23159         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23160         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23161         (gst_file_sink_render):
23162         Some more debugging info.
23163
23164 2005-10-12  Wim Taymans  <wim@fluendo.com>
23165
23166         * docs/design/part-states.txt:
23167         * tools/gst-launch.c: (main):
23168         Some doc updates.
23169         Revert non-intentional change.
23170
23171 2005-10-12  Wim Taymans  <wim@fluendo.com>
23172
23173         * check/gst/gstbin.c: (GST_START_TEST):
23174         * check/gst/gstelement.c: (GST_START_TEST):
23175         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23176         * check/gst/gstghostpad.c: (GST_START_TEST):
23177         * check/gst/gstpipeline.c: (GST_START_TEST):
23178         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23179         * check/states/sinks.c: (GST_START_TEST):
23180         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23181         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23182         (gst_bin_remove_func), (gst_bin_get_state_func),
23183         (gst_bin_recalc_state), (gst_bin_change_state_func),
23184         (bin_bus_handler):
23185         * gst/gstelement.c: (gst_element_get_state_func),
23186         (gst_element_get_state), (gst_element_abort_state),
23187         (gst_element_commit_state), (gst_element_set_state),
23188         (gst_element_change_state), (gst_element_change_state_func):
23189         * gst/gstelement.h:
23190         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23191         (gst_pipeline_provide_clock_func):
23192         * gst/gstutils.c: (gst_element_link_pads_filtered):
23193         * tools/gst-launch.c: (main):
23194         * tools/gst-typefind.c: (main):
23195         Use GstClockTime in _get_state() instead of GTimeVal.
23196         Remove old code in gstutils.c
23197
23198 2005-10-12  Andy Wingo  <wingo@pobox.com>
23199
23200         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23201         removed.
23202
23203         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23204         there is no task. Shouldn't affect any code, as nothing in our
23205         plugins checks this return value.
23206         (gst_pad_stop_task): Also take the stream lock if the pad has no
23207         task. Docs updated.
23208
23209 2005-10-12  Wim Taymans  <wim@fluendo.com>
23210
23211         * gst/gstpad.c: (pre_activate), (post_activate),
23212         (gst_pad_activate_pull), (gst_pad_activate_push):
23213         Cleanup activation code. Reset old state if
23214         activation failed.
23215
23216 2005-10-12  Wim Taymans  <wim@fluendo.com>
23217
23218         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23219         (gst_base_sink_change_state):
23220         No need to prerol after receiving EOS.
23221
23222         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23223         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23224         * gst/elements/gstidentity.c: (gst_identity_event):
23225         Print events more verbosely.
23226
23227 2005-10-12  Wim Taymans  <wim@fluendo.com>
23228
23229         * check/Makefile.am:
23230         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23231         * check/states/sinks2.c:
23232         Moved sinks2 testcode in sinks check.
23233
23234         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23235         (gst_bin_remove_func), (gst_bin_recalc_state),
23236         (gst_bin_change_state_func), (bin_bus_handler):
23237         Fix potential race condition when _get_state() iterated over an
23238         ASYNC element right before it posted a state completion.
23239
23240         * gst/gstclock.h:
23241         Do proper cast here.
23242
23243         * gst/gstevent.c: (gst_event_new_newsegment),
23244         (gst_event_parse_newsegment):
23245         A playback rate of 0.0 is not allowed.
23246
23247 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23248
23249         * win32/common/config.h:
23250         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23251         (_trewinddir), (_ttelldir), (_tseekdir):
23252         * win32/common/dirent.h:
23253         * win32/common/gtchar.h:
23254         * win32/common/libgstbase.def:
23255         * win32/common/libgstreamer.def:
23256         * win32/vs6/grammar.dsp:
23257         * win32/vs6/gst_inspect.dsp:
23258         * win32/vs6/gst_launch.dsp:
23259         * win32/vs6/gstreamer.dsw:
23260         * win32/vs6/libgstbase.dsp:
23261         * win32/vs6/libgstelements.dsp:
23262         * win32/vs6/libgstreamer.dsp:
23263           Visual Studio 6 project files, and a new common directory.
23264           Phear.
23265
23266 2005-10-11  Wim Taymans  <wim@fluendo.com>
23267
23268         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23269         (gst_base_sink_do_sync), (gst_base_sink_query),
23270         (gst_base_sink_change_state):
23271         * gst/base/gstbasesink.h:
23272         Correctly parse newsegment info.
23273
23274 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23275
23276         * gst/gst.c: (init_post):
23277           split plugin paths correctly
23278
23279 2005-10-11  Wim Taymans  <wim@fluendo.com>
23280
23281         * check/gst/gstevent.c: (GST_START_TEST):
23282         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23283         (gst_base_sink_change_state):
23284         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23285         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23286         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23287         * gst/gstevent.c: (gst_event_new_newsegment),
23288         (gst_event_parse_newsegment):
23289         * gst/gstevent.h:
23290         Added extra flag to newsegment for future API freeze.
23291         Updated check and base elements.
23292
23293 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23294
23295         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23296         (gst_collectpads_add_pad), (gst_collectpads_pop),
23297         (gst_collectpads_event), (gst_collectpads_chain):
23298         * gst/base/gstcollectpads.h: Handle EOS correctly.
23299
23300 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23301
23302         * tools/gst-launch.c: (main):
23303           more null protecting
23304
23305 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23306
23307         * gst/gst-i18n-lib.h:
23308           check for ENABLE_NLS, not GETTEXT_PACKAGE
23309         * gst/gstregistry.c: (gst_registry_add_plugin),
23310         (gst_registry_scan_path_level),
23311         (_gst_registry_remove_cache_plugins):
23312           protect possibly NULL strings
23313         * gst/parse/types.h:
23314           config.h already included before
23315         * tools/gst-inspect.c: (main):
23316           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23317           check for ENABLE_NLS, not GETTEXT_PACKAGE
23318         * tools/gst-launch.c: (main):
23319           check for ENABLE_NLS, not GETTEXT_PACKAGE
23320
23321 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23322
23323         * configure.ac:
23324           if we don't have glib, fail before testing 2.8
23325         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23326           fix a leak, should fix plugins-base testsuite
23327
23328 2005-10-11  Andy Wingo  <wingo@pobox.com>
23329
23330         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23331         take the mode we're going to as an arg. Go head and set the mode
23332         and flushing flags now, so that if the activate function starts a
23333         thread all the flags will be in the right state.
23334         (post_activate): Renamed also. Just handle making sure streaming
23335         finishes for the deactivation case, and setting the deactivated
23336         mode.
23337         (gst_pad_set_active): Complain loudly if deactivation fails.
23338         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23339         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23340         remove the terrible hack.
23341
23342 2005-10-11  Wim Taymans  <wim@fluendo.com>
23343
23344         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23345         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23346         (gst_bin_recalc_state), (gst_bin_change_state_func),
23347         (gst_bin_dispose), (bin_bus_handler):
23348         * gst/gstbin.h:
23349         Prepare to make current EOS message queue more generic.
23350         Fix some typos.
23351
23352         * gst/gstevent.c: (gst_event_new_newsegment),
23353         (gst_event_parse_newsegment):
23354         * gst/gstevent.h:
23355         Rename base to stream_time.
23356
23357         * gst/gstmessage.h:
23358         Fix typo in docs.
23359
23360 2005-10-11  Wim Taymans  <wim@fluendo.com>
23361
23362         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23363         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23364         (gst_bin_change_state_func), (bin_bus_handler):
23365         * gst/gstbin.h:
23366         Work on proper clock selection.
23367
23368 2005-10-11  Edward Hervey  <edward@fluendo.com>
23369
23370         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23371         * libs/gst/controller/gstcontroller.h:
23372         Added GList* version of _remove_properties() in order to be able to wrap
23373         it in bindings.
23374
23375 2005-10-11  Wim Taymans  <wim@fluendo.com>
23376
23377         * docs/design/part-states.txt:
23378         Some more docs.
23379
23380         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23381         (gst_bin_change_state_func), (bin_bus_handler):
23382         Doc updates. Don't distribute the same clock over and over again.
23383
23384         * gst/gstclock.c:
23385         * gst/gstclock.h:
23386         Doc updates.
23387
23388         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23389         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23390         (gst_pad_send_event):
23391         * gst/gstpad.h:
23392         Make probe emission threadsafe again.
23393         Register quarks and move _get_name() from utils.
23394         Doc updates.
23395
23396         * gst/gstpipeline.c: (gst_pipeline_class_init),
23397         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23398         Only redistribute the clock of it changed.
23399
23400         * gst/gstsystemclock.h:
23401         Doc updates. 
23402
23403         * gst/gstutils.c:
23404         * gst/gstutils.h:
23405         Moved the _flow_get_name() to GstPad.
23406
23407 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23408
23409         * check/gst-libs/gdp.c: (GST_START_TEST):
23410         * check/gst/gstcaps.c: (GST_START_TEST):
23411         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23412         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23413         (gst_dp_packet_from_caps):
23414           fix more valgrind warnings before turning up the heat
23415
23416 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23417
23418         * gst/parse/grammar.y:
23419           some cleanup before the hacking
23420
23421 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23422
23423         * gst/base/gstbasesrc.c: (gst_base_src_query):
23424           use conversions
23425         * gst/gstutils.c: (gst_guint64_to_gdouble),
23426         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23427         * gst/gstutils.h:
23428           externalize, basesrc uses it
23429           obviously the implementation needs testing
23430
23431 2005-10-10  Wim Taymans  <wim@fluendo.com>
23432
23433         * tests/sched/Makefile.am:
23434         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23435         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23436
23437 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23438
23439         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23440           apparently converting from guint64 to double is not implemented
23441           on MSVC
23442
23443 2005-10-10  Wim Taymans  <wim@fluendo.com>
23444
23445         * check/Makefile.am:
23446         * check/generic/states.c: (GST_START_TEST):
23447         * check/gst/gstbin.c: (GST_START_TEST):
23448         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23449         * check/states/sinks.c: (GST_START_TEST):
23450         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23451         (main):
23452         Check fixes, use API as stated in design docs, remove hacks.
23453
23454         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23455         (gst_base_sink_change_state):
23456         Catch stopping our task while we're shutting down.
23457
23458         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23459         (gst_bin_remove_func), (gst_bin_get_state_func),
23460         (gst_bin_recalc_state), (gst_bin_change_state_func),
23461         (bin_bus_handler):
23462         * gst/gstbin.h:
23463         * gst/gstelement.c: (gst_element_init),
23464         (gst_element_get_state_func), (gst_element_abort_state),
23465         (gst_element_commit_state), (gst_element_lost_state),
23466         (gst_element_set_state), (gst_element_change_state),
23467         (gst_element_change_state_func):
23468         * gst/gstelement.h:
23469         New state change algorithm (see #318116)
23470
23471         * gst/gstpipeline.c: (gst_pipeline_class_init),
23472         (gst_pipeline_init), (gst_pipeline_set_property),
23473         (gst_pipeline_get_property), (do_pipeline_seek),
23474         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23475         * gst/gstpipeline.h:
23476         Remove crude state change hacks.
23477
23478         * gst/gstutils.h:
23479         Remove crude hacks.
23480
23481         * tools/gst-launch.c: (main):
23482         Fixes for state change. Needs some more work to fully use the
23483         new stuff.
23484
23485 2005-10-10  Andy Wingo  <wingo@pobox.com>
23486
23487         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23488
23489         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23490         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23491         issue.
23492
23493 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23494
23495         * gst/gstiterator.c: (gst_iterator_new):
23496           Fix my previous commit: GTypes passed to gst_iterator_new()
23497           can be fundamental types.
23498
23499 2005-10-10  Wim Taymans  <wim@fluendo.com>
23500
23501         * gst/gstelement.c: (gst_element_iterate_pad_list),
23502         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23503         (gst_element_iterate_sink_pads):
23504         Use src/sink pads lists for the respective iterators instead
23505         of filtering.
23506
23507 2005-10-10  Andy Wingo  <wingo@pobox.com>
23508
23509         Merged in popt removal + GOption addition patch from Ronald, bug
23510         #169772.
23511
23512         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23513         GstElement macros around, remove popt-related symbols, add goption
23514         stuff.
23515
23516         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23517         
23518         * docs/gst/Makefile.am:
23519         * docs/libs/Makefile.am: No POPT_CFLAGS.
23520         
23521         * examples/manual/Makefile.am:
23522         * docs/manual/basics-init.xml: Doc updates with an example.
23523         
23524         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23525         (gst_init), (parse_one_option), (parse_goption_arg):
23526         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23527         bit of hand merging and debugging to get the GOption stuff working
23528         tho.
23529         
23530         * tests/Makefile.am:
23531         * tools/Makefile.am:
23532         * tools/gst-inspect.c: (main):
23533         * tools/gst-launch.c: (main):
23534         * tools/gst-run.c: (main):
23535         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23536
23537 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23538
23539         * gst/gstiterator.c: (gst_iterator_new):
23540           Add assertions to make sure passed GType is likely to really
23541           be a GType (as the compiler won't catch it if the size and
23542           GType arguments get mixed up, see #318447).
23543
23544 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23545
23546         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23547
23548         * gst/gstbin.c: (gst_bin_iterate_sorted):
23549           Pass GType and size arguments to gst_iterator_new() in the right
23550           order (maybe we should make _new() take the GType as first argument
23551           just like _new_list()?) (#318447).
23552           
23553
23554 2005-10-10  Wim Taymans  <wim@fluendo.com>
23555
23556         * gst/gstelement.c: (gst_element_finalize):
23557         And free the GStaticRecMutex too
23558
23559 2005-10-10  Andy Wingo  <wingo@pobox.com>
23560
23561         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23562         Allocate and free the mutex properly.
23563
23564         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23565         New macros.
23566         (GstElement): The state_lock is now recursive. Rebuild your
23567         plugins, suckers. Old macros adapted.
23568
23569         * docs/gst/gstreamer-sections.txt: Doc updates.
23570
23571         * gst/gstutils.h:
23572         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23573         (g_static_rec_cond_wait): Ported from state changes patch, while
23574         we wait on bug #317802 to be solved in a well-distributed GLib.
23575
23576         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23577         gst_element_change_state, variable name changes.
23578         (gst_element_change_state): Split out of gst_element_set_state in
23579         preparation for the state change merge. Doesn't pay attention to
23580         the 'transition' argument.
23581         (gst_element_set_state): Updates, hopefully purely cosmetic.
23582         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23583         state change patch.
23584         (gst_element_get_state_func): Renamed from get_state, cosmetic
23585         changes.
23586
23587 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23588
23589         * gst/elements/gstelements.c:
23590         * win32/GStreamer.vcproj:
23591         * win32/config.h:
23592         * win32/dirent.c: (_tseekdir):
23593         * win32/gst-inspect.vcproj:
23594         * win32/gst-launch.vcproj:
23595         * win32/gstconfig.h:
23596         * win32/gstelements.vcproj:
23597         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23598         * win32/gstreamer.def:
23599         * win32/msvc71.sln:
23600           updates for the win32 build (patch from Sebastien Moutte)
23601
23602 2005-10-10  Andy Wingo  <wingo@pobox.com>
23603
23604         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23605         gst_bin_get_state, cleaned up (but no logic changes).
23606         (bin_element_is_sink): Comment updates.
23607         (sink_iterator_filter): Remove needless cast.
23608         (gst_bin_iterate_sinks): Doc update.
23609         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23610         cleaned up (but no logic changes).
23611
23612         * check/states/sinks.c (test_src_sink): Cleanups from the state
23613         change patch.
23614         (test_livesrc_sink): Sync on the state.
23615
23616         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23617         the state change patch.
23618
23619         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23620         change patch.
23621
23622         * check/gst/gstbin.c: Merge in some style fixes and additional
23623         checks from Wim's state change patch.
23624
23625 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23626
23627         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23628         (gst_type_find_helper):
23629           Check whether we have the requested data already in our list of
23630           cached buffers before pulling a new buffer; also make the buffer
23631           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23632
23633 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23634
23635         * gst/gstcaps.c:
23636         * gst/gstevent.c:
23637           doc updates
23638         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23639           don't use long long, it's not portable.  Replacing with
23640           gint64 seems to work; let's hope no skeletons fall out of the closet.
23641
23642 2005-10-10  Andy Wingo  <wingo@pobox.com>
23643
23644         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23645
23646 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23647
23648         * docs/gst/gstreamer-sections.txt:
23649         * gst/gstevent.c:
23650         * gst/gstevent.h:
23651         * gst/gstinfo.c:
23652         * gst/gstinfo.h:
23653         * gst/gstmessage.c: (gst_message_parse_state_changed):
23654         * gst/gstpad.c:
23655         * gst/gstpad.h:
23656           more docs, fix compilation
23657
23658 2005-10-09  Philippe Khalaf <burger@speedy.org>
23659         * gst/gstmessage.c:
23660           Fixed a few forgotten variables on previous commit
23661
23662 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23663
23664         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23665           Fix evil typefind crasher: getrange() might return a short
23666           buffer at the end of a file, but gst_type_find_peek() must
23667           either return the full data as requested or NULL, but
23668           never a short buffer.
23669
23670 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23671
23672         * gst/gstmessage.c: (gst_message_new_state_changed),
23673         (gst_message_parse_state_changed):
23674         * gst/gstmessage.h:
23675           don't use "new", it's a C++ keyword
23676
23677 2005-10-08  Wim Taymans  <wim@fluendo.com>
23678
23679         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23680         * gst/gstelement.c: (gst_element_post_message):
23681         * gst/gstpipeline.c: (gst_pipeline_change_state):
23682         Small docs and debug updates.
23683
23684 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23685
23686         * docs/gst/gstreamer-sections.txt:
23687         * gst/gstelementfactory.c:
23688         * gst/gstevent.c:
23689         * gst/gsttaglist.c:
23690           more docs
23691
23692 2005-10-08  Wim Taymans  <wim@fluendo.com>
23693
23694         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23695         (gst_bin_dispose), (bin_bus_handler):
23696         Fix typos, add comments.
23697         Clear EOS list when going to PAUSED from any direction and do it
23698         in a threadsafe way.
23699         Get base time in a threadsafe way too.
23700         Fix confusing debug in the change_state function.
23701         Various other small cleanups.
23702         
23703         * gst/gstelement.c: (gst_element_post_message):
23704         Fix very verbose bus posting code.
23705
23706         * gst/gstpipeline.c: (gst_pipeline_class_init),
23707         (gst_pipeline_set_property), (gst_pipeline_get_property),
23708         (gst_pipeline_change_state):
23709         Small ARG_ -> PROP_ cleanup
23710
23711 2005-10-08  Wim Taymans  <wim@fluendo.com>
23712
23713         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23714         Do a less CPU demanding EOS check because we can.
23715
23716 2005-10-08  Wim Taymans  <wim@fluendo.com>
23717
23718         * libs/gst/dataprotocol/dataprotocol.c:
23719         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23720         (gst_dp_packet_from_event):
23721         * libs/gst/dataprotocol/dataprotocol.h:
23722         * libs/gst/dataprotocol/dp-private.h:
23723         It's about time we bump the version number.
23724         Since event types don't fit in the guint8 anymore describing
23725         the payload type, make payload type 16 bits wide.
23726
23727 2005-10-08  Wim Taymans  <wim@fluendo.com>
23728
23729         * docs/design/part-TODO.txt:
23730         * docs/design/part-clocks.txt:
23731         * docs/design/part-events.txt:
23732         * docs/design/part-gstbin.txt:
23733         * docs/design/part-gstelement.txt:
23734         * docs/design/part-gstpipeline.txt:
23735         * docs/design/part-live-source.txt:
23736         * docs/design/part-messages.txt:
23737         * docs/design/part-overview.txt:
23738         * docs/design/part-states.txt:
23739         Many doc updates.
23740
23741 2005-10-08  Wim Taymans  <wim@fluendo.com>
23742
23743         * gst/gstevent.c:
23744         * gst/gstevent.h:
23745         Fix event quark registration.
23746         Add some space between events so we can insert them in the
23747         right groups.
23748
23749 2005-10-08  Wim Taymans  <wim@fluendo.com>
23750
23751         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23752         (gst_base_sink_handle_buffer):
23753         Better log message.
23754
23755         * gst/gstbus.h:
23756         * gst/gstelement.h:
23757         More docs.
23758
23759         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23760         (gst_queue_set_property), (gst_queue_get_property):
23761         * gst/gstqueue.h:
23762         Remove old unused properties.
23763
23764 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23765         * docs/gst/gstreamer-sections.txt:
23766         * gst/gstmessage.c:
23767         * gst/gstmessage.h:
23768         * gst/gstminiobject.c:
23769         * gst/gstminiobject.h:
23770         * gst/gstobject.h:
23771         * gst/gstpad.h:
23772         * gst/gstutils.h:
23773           lots of new docs and doc fixes
23774
23775 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23776
23777         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23778         * gst/gstplugin.h:
23779         * gst/gstregistry.c: (gst_registry_lookup_locked),
23780         (gst_registry_scan_path_level):
23781         * gst/gstregistryxml.c: (load_plugin):
23782           Only ever load one plugin for a given plugin basename.
23783           This ensures correct overriding of GST_PLUGIN_PATH over
23784           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23785           system installed plugins.
23786
23787 2005-10-08  Wim Taymans  <wim@fluendo.com>
23788
23789         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23790         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23791         Prepare for doing QOS.
23792
23793 2005-10-08  Wim Taymans  <wim@fluendo.com>
23794
23795         * check/gst/gstbin.c: (GST_START_TEST):
23796         * check/pipelines/cleanup.c: (GST_START_TEST):
23797         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23798         Allow new clock message too.
23799
23800 2005-10-08  Wim Taymans  <wim@fluendo.com>
23801
23802         * gst/gstmessage.c: (gst_message_new_error),
23803         (gst_message_new_warning), (gst_message_new_tag),
23804         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23805         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23806         (gst_message_new_segment_start), (gst_message_new_segment_done),
23807         (gst_message_parse_state_changed),
23808         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23809         (gst_message_parse_new_clock):
23810         * gst/gstmessage.h:
23811         Also carry the clock in question.
23812
23813 2005-10-08  Wim Taymans  <wim@fluendo.com>
23814
23815         * gst/gstmessage.c: (gst_message_new_custom),
23816         (gst_message_new_eos), (gst_message_new_error),
23817         (gst_message_new_warning), (gst_message_new_tag),
23818         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23819         (gst_message_new_new_clock), (gst_message_new_segment_start),
23820         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23821         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23822         * gst/gstmessage.h:
23823         Clean up.
23824         Added clock related messages.
23825
23826         * gst/gstpipeline.c: (gst_pipeline_change_state):
23827         Post message when the clock changed.
23828
23829         * tools/gst-launch.c: (event_loop):
23830         Print new clock.
23831
23832 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23833
23834         * tools/gst-inspect.c: (print_element_properties_info):
23835           Can't pass NULL strings to g_print() on windows.
23836
23837 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23838
23839         * docs/Makefile.am:
23840         * docs/gst/Makefile.am:
23841         * docs/gst/gstreamer-docs.sgml:
23842         * docs/gst/running.xml:
23843         * docs/version.entities.in:
23844           add a chapter on running GStreamer.
23845           document GST_DEBUG and GST_PLUGIN* env vars
23846
23847 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23848
23849         * Makefile.am:
23850           remove include dir
23851         * configure.ac:
23852           remove PLUGINS_BUILDDIR stuff
23853         * gst/gst.c: (init_post):
23854           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23855         * idiottest.mak:
23856           remove, it was condescending and not needed
23857
23858 2005-10-08  Wim Taymans  <wim@fluendo.com>
23859
23860         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23861         (gst_base_sink_handle_object), (gst_base_sink_event),
23862         (gst_base_sink_wait), (gst_base_sink_handle_event),
23863         (gst_base_sink_change_state):
23864         * gst/base/gstbasesink.h:
23865         Repost EOS message while going to PLAYING if still EOS.
23866         Make sure that when receiving a FLUSH_START we don't attempt
23867         to sync on the clock anymore.
23868
23869 2005-10-08  Wim Taymans  <wim@fluendo.com>
23870
23871         * tools/gst-launch.c: (event_loop):
23872         Better message printout.
23873
23874 2005-10-08  Wim Taymans  <wim@fluendo.com>
23875
23876         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23877         (gst_bin_child_proxy_get_children_count):
23878         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23879         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23880         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23881         (gst_child_proxy_set_valist):
23882         * gst/parse/grammar.y:
23883         Make ChildProxy threadsafe and fix mem leaks.
23884
23885 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23886
23887         * gst/gst.c: (init_post):
23888           debug the GST_PLUGIN_ env vars
23889
23890 2005-10-08  Wim Taymans  <wim@fluendo.com>
23891
23892         * check/gst/gstbin.c: (GST_START_TEST):
23893         * check/gst/gstmessage.c: (GST_START_TEST):
23894         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23895         * gst/gstelement.c: (gst_element_commit_state),
23896         (gst_element_lost_state):
23897         * gst/gstmessage.c: (gst_message_new_state_changed),
23898         (gst_message_parse_state_changed):
23899         * gst/gstmessage.h:
23900         * tools/gst-launch.c: (event_loop):
23901         Added extra field to STATE_CHANGE message with the pending
23902         state, which will be different from the new state soon.
23903
23904 2005-10-08  Wim Taymans  <wim@fluendo.com>
23905
23906         * gst/gstbus.c: (gst_bus_pop):
23907         * gst/gstclock.c:
23908         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23909         Small cleanups and doc updates.
23910
23911 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23912
23913         * gst/gst.c: (init_pre):
23914         * gst/gstbin.c: (gst_bin_add_func):
23915           log distributing clocks and base time
23916         * gst/gstregistry.c: (gst_registry_add_plugin),
23917         (gst_registry_scan_path_level), (gst_registry_scan_path):
23918           clean up the debugging output a little
23919         * gst/gstutils.c: (gst_element_state_get_name):
23920           warn about a memleak (I've actually seen this be used, though
23921           it was probably a bug)
23922
23923 2005-10-07  Wim Taymans  <wim@fluendo.com>
23924
23925         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23926         (gst_base_src_init), (gst_base_src_default_newsegment),
23927         (gst_base_src_newsegment), (gst_base_src_do_seek),
23928         (gst_base_src_loop), (gst_base_src_start):
23929         * gst/base/gstbasesrc.h:
23930         Make the newsegment event customizable by subclasses.
23931
23932 2005-10-07  Wim Taymans  <wim@fluendo.com>
23933
23934         * gst/gstevent.c: (gst_event_new_buffersize),
23935         (gst_event_parse_buffersize):
23936         * gst/gstevent.h:
23937         New event for future idea.
23938
23939 2005-10-07  Andy Wingo  <wingo@pobox.com>
23940
23941         * gst/gstelement.c (gst_element_post_message): Doc update.
23942
23943         * docs/gst/gstreamer-sections.txt: Update.
23944
23945         * gst/gstmessage.c (gst_message_new_application): Made into a
23946         function like honest API calls.
23947         (gst_message_new_element): New message type.
23948
23949         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23950
23951         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23952         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23953         times.
23954
23955         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23956         NO_PREROLL from gst_element_change_state to fall through.
23957
23958 2005-10-07  Wim Taymans  <wim@fluendo.com>
23959
23960         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23961         (gst_ghost_pad_do_activate_push):
23962         Activating a ghostpad with no internal pad in push mode
23963         is ok.
23964
23965 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23966
23967         * gst/gstobject.h:
23968           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23969           Fixes compilation on Windows.
23970
23971 2005-10-07  Michael Smith <msmith@fluendo.com>
23972
23973         * tools/gst-inspect.c:
23974           Print out feature and plugin count at the end when printing out
23975           all features.
23976
23977 2005-10-04  Michael Smith <msmith@fluendo.com>
23978
23979         * gst/gsterror.c: (_gst_stream_errors_init):
23980           Add another error string used in a few existing plugins.
23981
23982         * gst/gstplugin.c:
23983         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23984         * tools/gst-inspect.c: (print_element_info):
23985           When a feature disappears from a plugin (and the feature exists in
23986           the cached registry file), things went horribly wrong. This isn't a
23987           complete fix, we should actually be removing the 'missing' features
23988           from the features list when we load the actual plugin. That's not
23989           yet implemented. 
23990
23991 2005-10-04  Johan Dahlin  <johan@gnome.org>
23992
23993         * check/gst/gstiterator.c: (GST_START_TEST):
23994         * gst/gstbin.c: (gst_bin_iterate_elements),
23995         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23996         * gst/gstelement.c: (gst_element_iterate_pads):
23997         * gst/gstformat.c: (gst_format_iterate_definitions):
23998         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23999         (gst_iterator_new_list), (gst_iterator_filter):
24000         * gst/gstiterator.h:
24001         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24002         Add a GType to GstIterator, update callsites and tests.
24003
24004 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24005
24006         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24007           give events a chance to be handled by event probes when the pad
24008           is not linked
24009
24010 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24011
24012         * gst/gstevent.c: (gst_event_type_get_name),
24013         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24014         * gst/gstevent.h:
24015           add string representations for event types
24016
24017 2005-10-06  Wim Taymans  <wim@fluendo.com>
24018
24019         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24020         Don't use NULL pointers.
24021
24022 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24023
24024         * gst/gst_private.h:
24025         * gst/gstbus.c:
24026         * gst/gstelement.c:
24027         * gst/gstinfo.c:
24028         * gst/gstpluginfeature.c:
24029           widen the debug category in output to fit the biggest one we have
24030           add a bus category and use it
24031           play with the colors
24032           fix up some categories
24033
24034 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24035
24036         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24037           add push activation of sink ghost pads.
24038           Andye, please verify
24039
24040 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24041
24042         * gst/gstutils.c: (gst_element_link_pads):
24043           fix a bug in the case where neither element has a pad
24044         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24045           add a test for that case
24046
24047 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24048
24049         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24050           emit have-data before checking for peers.  This allows
24051           for probe handlers to connect elements.  This helps autopluggers.
24052         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24053         (gst_pad_suite):
24054           add six checks, linked/unlinked with no/true/false probe
24055
24056 2005-10-04  Wim Taymans  <wim@fluendo.com>
24057
24058         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24059         (gst_fake_sink_event), (gst_fake_sink_preroll),
24060         (gst_fake_sink_render), (gst_fake_sink_change_state):
24061         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24062         (gst_fake_src_get_property), (gst_fake_src_create),
24063         (gst_fake_src_stop):
24064         * gst/elements/gstidentity.c: (gst_identity_stop):
24065         Protect last_message with lock.
24066
24067 2005-10-04  Edward Hervey  <edward@fluendo.com>
24068
24069         * gst/gstformat.h: 
24070         Added precision in the comments for GST_FORMAT_DEFAULT
24071
24072 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24073
24074         * tools/gst-launch.c: (main):
24075           Don't try to run erroneous pipelines.
24076
24077 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24078
24079         * gst/gstbus.c: We don't need this header.
24080
24081 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24082
24083         * configure.ac:
24084           back to development
24085
24086 === release 0.9.3 ===
24087
24088 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24089
24090         * README:
24091         * configure.ac:
24092           Releasing 0.9.3, "Unregistered"
24093
24094 2005-10-03  Andy Wingo  <wingo@pobox.com>
24095
24096         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24097         whereby calling a pad's activatepush() function can start a thread
24098         that starts to push or pull before the pad gets the FLUSHING flag
24099         unset. Hack around it by holding the stream lock until the flag is
24100         set. Need to replace this with a proper solution. Together with
24101         the ghost pad fixes, this fixes mp3 playing/tagreading.
24102
24103         * docs/design/part-gstghostpad.txt: Add a note about activation of
24104         proxy pads outside of ghost pads.
24105
24106         * gst/gstghostpad.c: Implement the ghost pad activation design.
24107
24108 2005-10-02  Andy Wingo  <wingo@pobox.com>
24109
24110         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24111         It is volatile, after all.
24112
24113         * docs/design/part-gstghostpad.txt: Flesh out activation with
24114         ghost pads.
24115
24116         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24117         GST_DEBUG_FUNCPTR.
24118
24119 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24120
24121         * configure.ac:
24122           Fix (unused) AM_CONDITIONAL tests.
24123
24124 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24125
24126         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24127
24128         * gst/gstutils.c: (gst_pad_query_convert):
24129           Add assertion that makes sure src_val is >=0, just like
24130           gst_query_new_convert() has. (#315895)
24131
24132 2005-09-30  Edward Hervey  <edward@fluendo.com>
24133
24134         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24135         Let's not iterate pads we're not interested in, it avoids getting 
24136         sky-high refcounts on sinkpad.
24137
24138 2005-09-30  Wim Taymans  <wim@fluendo.com>
24139
24140         * gst/gstelement.c: (gst_element_set_state),
24141         (gst_element_change_state):
24142         Small tweak, element in ASYNC remains ASYNC.
24143
24144 2005-09-30  Wim Taymans  <wim@fluendo.com>
24145
24146         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24147         Only error is an error.
24148
24149         * gst/gstbin.c: (gst_bin_change_state):
24150         Better debugging.
24151
24152         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24153         Also call pad_block in pad alloc.
24154
24155         * gst/gstutils.c: (gst_flow_get_name):
24156         Better debugging.
24157
24158 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24159
24160         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24161         (gst_base_src_get_range):
24162           Fix documentation typos. Add some more debug info.
24163
24164 2005-09-29  David Schleef  <ds@schleef.org>
24165
24166         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24167           more end-user friendly.
24168         * tools/gst-inspect.c: (main): Check if command-line argument is
24169           a file and attempt to load that file as a plugin.
24170
24171 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24172
24173         * check/gst/gstbin.c:
24174         * check/states/sinks.c:
24175           fix tests for the new warning
24176         * check/gst/gstpipeline.c:
24177           add a test for pipeline and bus interaction
24178         * gst/gstelement.c:
24179           elements should be NULL if they get disposed; add a warning if not
24180
24181 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24182
24183         * gst/gstobject.c:
24184           for 2.6 refcounting, make debug log more correct by printing
24185           the actual refcounts at the time of swap (Wim)
24186
24187 2005-09-29  Andy Wingo  <wingo@pobox.com>
24188
24189         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24190         removes signal watches previously added via
24191         gst_bus_add_signal_watch.
24192         (gst_bus_add_signal_watch): Don't return the source id, just store
24193         it on the bus if there wasn't an id already.
24194
24195         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24196         add_signal_watch and remove_signal_watch.
24197
24198 2005-09-29  Edward Hervey  <edward@fluendo.com>
24199
24200         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24201         Better if we actually iterate the list :)
24202
24203 2005-09-29  Wim Taymans  <wim@fluendo.com>
24204
24205         * check/gst/gstbin.c: (GST_START_TEST):
24206         Change for new bus API.
24207
24208         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24209         (send_messages), (GST_START_TEST), (gstbus_suite):
24210         Change for new bus signal API.
24211
24212         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24213         (gst_bus_source_prepare), (gst_bus_source_check),
24214         (gst_bus_create_watch), (gst_bus_add_watch_full),
24215         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24216         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24217         * gst/gstbus.h:
24218         Remove support for multiple GSources operating on different
24219         message types as it is too complex and unneeded when using
24220         signals.
24221         Added support for receiving signals from the bus.
24222
24223 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24224
24225         * docs/libs/tmpl/gstdataprotocol.sgml:
24226         * docs/manual/advanced-dataaccess.xml:
24227         * gst/elements/gstcapsfilter.c:
24228         * gst/gstutils.c:
24229           rename filter-caps to caps property
24230
24231 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24232
24233         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24234           More robust fraction string parsing.
24235
24236         * docs/pwg/appendix-porting.xml:
24237           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24238
24239 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24240
24241         * gst/gstcaps.c: (gst_caps_do_simplify):
24242           Thou shalt not free a structure and then continue using it
24243           in the next loop iteration.
24244
24245         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24246         (gst_caps_suite):
24247           Add test case for caps simplification.
24248
24249 2005-09-29  Wim Taymans  <wim@fluendo.com>
24250
24251         * check/gst/gstbin.c: (GST_START_TEST):
24252         Oops.
24253
24254 2005-09-29  Wim Taymans  <wim@fluendo.com>
24255
24256         * check/gst/gstbin.c: (GST_START_TEST):
24257         Add bus to bin.
24258
24259         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24260         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24261         (find_element), (gst_bin_sort_iterator_next),
24262         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24263         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24264         (gst_bin_change_state), (gst_bin_dispose):
24265         A bin does not have a bus, it gets the bus from the parent.
24266
24267         * gst/gstelement.c: (gst_element_requires_clock),
24268         (gst_element_provides_clock), (gst_element_is_indexable),
24269         (gst_element_is_locked_state), (gst_element_change_state),
24270         (gst_element_set_bus_func):
24271         Small cleanups.
24272
24273         * gst/gstpipeline.c: (gst_pipeline_class_init),
24274         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24275         The pipeline provides a bus.
24276
24277 2005-09-28  Johan Dahlin  <johan@gnome.org>
24278
24279         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24280         gst_structure_get_enum instead of gst_structure_get_int
24281
24282         * gst/gststructure.c (gst_structure_get_enum): Impl.
24283
24284         * gst/gststructure.h (gst_structure_get_enum): Add
24285
24286         * docs/gst/gstreamer-sections.txt: Ditto
24287
24288         * gst/gstmessage.c (gst_message_new_state_changed): Use
24289         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24290         which does introspection.
24291         Reviewed by Christian Schaller
24292
24293 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24294
24295         * gst/gstinfo.c: (gst_debug_log_default):
24296           don't do dummy g_strdup()s
24297         * libs/gst/controller/gstcontroller.c:
24298         (on_object_controlled_property_changed),
24299         (gst_controlled_property_new), (gst_controller_new_valist),
24300         (gst_controller_new_list),
24301         (gst_controller_remove_properties_valist), (gst_controller_set),
24302         (gst_controller_get), (gst_controller_sync_values),
24303         (gst_controller_get_value_array), (_gst_controller_class_init),
24304         (gst_controller_get_type):
24305         * libs/gst/controller/gstcontroller.h:
24306         * libs/gst/controller/gstinterpolation.c:
24307         (gst_controlled_property_find_timed_value_node):
24308           convert // to /**/ comments
24309
24310 2005-09-28  Wim Taymans  <wim@fluendo.com>
24311
24312         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24313         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24314         (gst_bus_sync_signal_handler):
24315         * gst/gstbus.h:
24316         Added async-message and sync-message signals to the bus.
24317         Added helper BusFunc to emit signals for all posted messages.
24318
24319         * gst/gstmessage.c: (gst_message_type_get_name),
24320         (gst_message_type_to_quark), (gst_message_get_type):
24321         * gst/gstmessage.h:
24322         Register quarks for message names.
24323
24324 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24325
24326         * docs/libs/gstreamer-libs-sections.txt:
24327         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24328         (gst_controller_new_list):
24329         * libs/gst/controller/gstcontroller.h:
24330           added another constructor for language bindings
24331
24332 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24333
24334         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24335           add another check
24336         * gst/gstbus.c:
24337           add some doc
24338         * gst/gstinfo.c: (_gst_debug_init):
24339           slightly more readable color for refcount debugging
24340
24341 2005-09-28  Wim Taymans  <wim@fluendo.com>
24342
24343         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24344         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24345         (find_element), (gst_bin_sort_iterator_next),
24346         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24347         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24348         (gst_bin_change_state), (gst_bin_dispose):
24349         Small doc fixes. get_clock -> provide_clock.
24350
24351         * gst/gstelement.c: (gst_element_class_init),
24352         (gst_element_provides_clock), (gst_element_provide_clock),
24353         (gst_element_get_clock), (gst_element_commit_state),
24354         (gst_element_lost_state):
24355         * gst/gstelement.h:
24356         Make get/set_clock() symetric. Add provide_clock vmethod since
24357         that is actually what this function does.
24358
24359         * gst/gstpipeline.c: (gst_pipeline_class_init),
24360         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24361         (gst_pipeline_get_clock):
24362         get_clock -> provide_clock.
24363
24364 2005-09-28  Andy Wingo  <wingo@pobox.com>
24365
24366         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24367         lieu of real docs...
24368
24369         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24370
24371 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24372
24373         * gst/elements/gstcapsfilter.c:
24374         * gst/elements/gstfakesink.c:
24375         * gst/elements/gstfakesrc.c:
24376         * gst/elements/gstfdsink.c:
24377         * gst/elements/gstfdsrc.c:
24378         * gst/elements/gstfilesink.c:
24379         * gst/elements/gstfilesrc.c:
24380         * gst/elements/gstidentity.c:
24381         * gst/elements/gsttee.c:
24382         * gst/elements/gsttypefindelement.c:
24383           Make element details static.
24384
24385 2005-09-28  Wim Taymans  <wim@fluendo.com>
24386
24387         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24388         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24389         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24390         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24391         (gst_bin_change_state), (gst_bin_dispose):
24392         Some documentation updates.
24393         Clean up dispose handlers.
24394
24395         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24396         * gst/gstpad.c: (gst_pad_dispose):
24397         Clean up dispose handler.
24398
24399         * gst/gstpipeline.c: (gst_pipeline_change_state):
24400         Removed spurious UNLOCK.
24401
24402 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24403
24404         * docs/gst/gstreamer-sections.txt:
24405         * gst/base/gstbasesrc.h:
24406         * gst/gstelement.h:
24407         * gst/gstevent.h:
24408         * gst/gstobject.h:
24409         * gst/gstpad.h:
24410         * gst/gstpipeline.c:
24411         * gst/gstpipeline.h:
24412         * gst/gstutils.h:
24413         * gst/gstxml.h:
24414           added two new functions to the docs
24415                 documents all undocumented GstXXXFlags
24416                 completed some incomplete docs 
24417
24418 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24419
24420         * gst/gstbin.c: (gst_bin_dispose):
24421         * gst/gstelement.c: (gst_element_dispose):
24422           remove now useless and leaky resurrection code in dispose
24423         * gst/base/gstbasesrc.c: (gst_base_src_init):
24424         * gst/gstelementfactory.c: (gst_element_factory_create):
24425         * gst/gstobject.c: (gst_object_set_parent):
24426           add some debugging
24427
24428 2005-09-27  Wim Taymans  <wim@fluendo.com>
24429
24430         * docs/design/part-TODO.txt:
24431         Update TODO.
24432
24433         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24434         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24435         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24436         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24437         (gst_bin_change_state):
24438         * gst/gstelement.h:
24439         Remove element variable, we keep element info in the iterator now.
24440
24441 2005-09-27  Andy Wingo  <wingo@pobox.com>
24442
24443         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24444         values.
24445
24446 2005-09-27  Wim Taymans  <wim@fluendo.com>
24447
24448         * check/gst/gstbin.c: (GST_START_TEST):
24449         Enable check that works now.
24450
24451         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24452         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24453         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24454         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24455         (gst_bin_change_state):
24456         * gst/gstbin.h:
24457         Redid the state change algorithm using a topological sort algo.
24458         Handles all cases correctly.
24459         Exposed iterator for state change order.
24460
24461         * gst/gstelement.h:
24462         Temp storage for state changes. Need to get rid of this soon.
24463
24464 2005-09-27  Wim Taymans  <wim@fluendo.com>
24465
24466         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24467         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24468         (link_fold_func), (gst_pad_proxy_setcaps):
24469         Leak fixes, the fold functions need to unref the passed object and
24470         _get_parent_*() returns ref to parent.
24471
24472 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24473
24474         * check/gst/gstbuffer.c: (test_make_writable):
24475           Plug leak in test case and fix 'make check-valgrind'
24476
24477 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24478
24479         * gst/gstbuffer.c: (gst_subbuffer_init):
24480           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24481           works correctly in all circumstances (we could have just copied
24482           the parent buffer's readonly flag, but conceptually it seems
24483           cleaner to mark all subbuffers as read-only). (based on patch
24484           by Alessandro Decina, #314710).
24485         
24486         * check/gst/gstbuffer.c: (create_read_only_buffer),
24487         (test_make_writable), (test_subbuffer_make_writable),
24488         (gst_test_suite):
24489           Add some tests for gst_buffer_make_writable().
24490
24491 2005-09-27  Wim Taymans  <wim@fluendo.com>
24492
24493         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24494         use gst_object_has_ancestor().
24495
24496         * gst/gstobject.c: (gst_object_has_ancestor):
24497         * gst/gstobject.h:
24498         gst_object_has_ancestor() copied from gstbin.c as it is a
24499         useful function.
24500
24501         * tests/instantiate/create.c: (create_all_elements):
24502         * tests/lat.c: (handoff_src), (handoff_sink):
24503         * tests/sched/runxml.c: (main):
24504         * tests/seeking/seeking1.c: (main):
24505         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24506         (main):
24507         Fix compilation of some tests.
24508
24509 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24510
24511         * gst/gsterror.h:
24512           Remove comment. GST_TYPE_G_ERROR is here to stay,
24513           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24514           (#316961, #300610).
24515
24516 2005-09-26  Wim Taymans  <wim@fluendo.com>
24517
24518         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24519         Added check that shows error in state change order.
24520
24521 2005-09-26  Wim Taymans  <wim@fluendo.com>
24522
24523         * gst/gstbin.c: (gst_bin_change_state):
24524         Make state change function use 3 queues again, we were
24525         adding elements in the wrong order.
24526
24527         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24528         Some debug info,
24529
24530         * gst/gstpad.c: (gst_pad_dispose):
24531         Added some debug info first.
24532
24533 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24534
24535         * docs/design/draft-push-pull.txt:
24536         * docs/design/part-events.txt:
24537         * docs/design/part-overview.txt:
24538         * docs/design/part-scheduling.txt:
24539           Replace all _pull_region() with _pull_range()
24540           
24541 2005-09-26  Andy Wingo  <wingo@pobox.com>
24542
24543         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24544
24545         * check/gst-libs/controller.c: Update for controller api change.
24546
24547         * configure.ac: 
24548         * tests/Makefile.am:
24549         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24550         over by GLib bug 118439.
24551         
24552         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24553         routines to a function.
24554
24555         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24556
24557         * libs/gst/controller/gsthelper.c:
24558         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24559         (gst_object_sync_values): Renamed from sink_values. Ugh.
24560
24561         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24562
24563         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24564         Renamed from controller_key, as it is exported.
24565
24566         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24567
24568 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24569
24570         * gst/Makefile.am:
24571         * gst/gst.h:
24572         * gst/gstpad.h:
24573         * gst/gstpadtemplate.h:
24574         * gst/gstquery.c:
24575         * gst/gstquery.h:
24576         * gst/gstqueryutils.c:
24577         * gst/gstqueryutils.h:
24578           remove queryutils headers after moving the two used functions
24579           to gstquery.  also fixes build problem for gstsiddec
24580
24581 2005-09-26  Michael Smith <msmith@fluendo.com>
24582
24583         * tools/gst-launch.1.in:
24584         Correct documentation in manpage of debug syntax
24585
24586 2005-09-26  Wim Taymans  <wim@fluendo.com>
24587
24588         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24589         (gst_base_src_is_seekable), (gst_base_src_change_state):
24590         Some more debugging info.
24591
24592 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24593
24594         * docs/gst/gstreamer-sections.txt:
24595         * gst/base/gstbasetransform.h:
24596         * gst/gstindex.h:
24597           added more docs
24598
24599 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24600
24601         * docs/gst/.cvsignore:
24602         * docs/gst/tmpl/.cvsignore:
24603         * docs/gst/tmpl/gstpipeline.sgml:
24604         * docs/gst/tmpl/gstplugin.sgml:
24605         * gst/gstpipeline.c:
24606         * gst/gstplugin.c:
24607         * gst/gstplugin.h:
24608           inlined the last two docs files
24609           removed the tmpl directory from cvs (no more conflicts here!)
24610
24611 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24612
24613         * docs/gst/gstreamer-sections.txt:
24614         * docs/gst/tmpl/.cvsignore:
24615         * docs/gst/tmpl/gstpad.sgml:
24616         * docs/gst/tmpl/gstpadtemplate.sgml:
24617         * gst/Makefile.am:
24618         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24619         (gst_pad_finalize), (gst_pad_set_pad_template):
24620         * gst/gstpad.h:
24621         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24622         (gst_pad_template_class_init), (gst_pad_template_init),
24623         (gst_pad_template_dispose), (name_is_valid),
24624         (gst_static_pad_template_get), (gst_pad_template_new),
24625         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24626         (gst_pad_template_pad_created):
24627         * gst/gstpadtemplate.h:
24628           inlined two more docs
24629           factored gstpadtemplate out of gstpad
24630
24631 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24632
24633         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24634         (test_children_state_change_order_semi_sink):
24635           Fix test case: we can't rely on a fixed state change order when
24636           going from READY => PAUSED because the sink might commit its 
24637           new state first when the first buffer created by the source 
24638           reaches the sink before the source has finished its change state.
24639           (Test case still fails at times, see #316856, comment 5 onwards)
24640
24641 2005-09-24  Wim Taymans  <wim@fluendo.com>
24642
24643         * docs/design/part-events.txt:
24644         * docs/design/part-gstbus.txt:
24645         * docs/design/part-gstpipeline.txt:
24646         * docs/design/part-messages.txt:
24647         * docs/design/part-overview.txt:
24648         * docs/design/part-segments.txt:
24649         * gst/gstbin.c:
24650         * gst/gstbuffer.c:
24651         * gst/gstclock.c:
24652         * gst/gstelement.c:
24653         * gst/gstevent.c:
24654         * gst/gstfilter.c:
24655         * gst/gstiterator.c:
24656         Various documentation updates.
24657
24658 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24659
24660         * gst/gstclock.h:
24661           Well, that's embarassing.  Luckily we weren't using
24662           GST_CLOCK_DIFF anywhere.
24663
24664 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24665
24666         * common/gtk-doc.mak:
24667           don't fail on building XML, FC4 slave shows a bunch of doc
24668           missing bits that I don't get
24669         * gst/gstpad.c:
24670         * gst/gstpipeline.c:
24671         * gst/gststructure.c:
24672           some doc updates
24673
24674 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24675
24676         * docs/design/part-gstbin.txt:
24677         * docs/design/part-gstbus.txt:
24678         * gst/gstbus.c:
24679           Add blurb about how the bus goes into flushing mode and
24680           drops all messages when its bin goes from READY into NULL 
24681           state.
24682
24683 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24684
24685         * docs/gst/gstreamer-sections.txt:
24686         * gst/gststructure.c: (gst_structure_get_clock_time):
24687         * gst/gststructure.h:
24688           add a method to get a GstClockTime out of a structure
24689
24690 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24691
24692         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24693         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24694           Added test to check state change order in bins (can still be made
24695           to fail here under heavy disk load; bails out with 'Push on pad
24696           fakesink:sink0, but it was not activated in push mode').
24697
24698         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24699           Fix state change order when there is only a semi sink (#316856)
24700
24701         * gst/gstbus.c: (gst_bus_class_init):
24702           Use _class_peek_parent(), not _class_ref(); fix docs to say
24703           'default main context' instead of 'mainloop' where that is
24704           what's meant.
24705
24706         * gst/gstelement.c: (gst_element_commit_state),
24707         (gst_element_set_state):
24708           Fix typos in debug messages
24709
24710 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24711
24712         * docs/README:
24713         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24714         * gst/gstpluginfeature.c:
24715         * gst/gstutils.c:
24716           various doc updates
24717         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24718           change an assert into an error until it gets fixed properly
24719
24720 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24721
24722         * docs/gst/gstreamer-sections.txt:
24723         * docs/gst/tmpl/.cvsignore:
24724         * docs/gst/tmpl/gstelement.sgml:
24725         * docs/gst/tmpl/gstinfo.sgml:
24726         * docs/gst/tmpl/gstobject.sgml:
24727         * gst/gstelement.c:
24728         * gst/gstelement.h:
24729         * gst/gstinfo.c:
24730         * gst/gstinfo.h:
24731         * gst/gstobject.c: (gst_object_class_init):
24732         * gst/gstobject.h:
24733           inlined 3 more biiiig doc files and added some missing docs on the fly
24734
24735 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24736
24737         * check/gst/.cvsignore:
24738         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24739         * gst/gstregistryxml.c: (load_plugin),
24740         (gst_registry_xml_save_plugin):
24741           put back source in registry.  add checks for find_plugin.
24742         * testsuite/states/bin.c: (assert_state), (empty_bin),
24743         (test_adding_one_element), (main):
24744         * testsuite/states/locked.c: (main):
24745           some compile/run fixes
24746
24747 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24748
24749         * check/gst/gstvalue.c: (GST_START_TEST):
24750           fix leaks in the test itself
24751
24752 2005-09-22  Wim Taymans  <wim@fluendo.com>
24753
24754         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24755         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24756         (gst_base_sink_query):
24757         Prepare for more accurate position reporting and query
24758         handling.
24759
24760         * gst/gstelement.c: (gst_element_send_event),
24761         (gst_element_set_state):
24762         Add some comment.
24763
24764 2005-09-22  Wim Taymans  <wim@fluendo.com>
24765
24766         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24767         (gst_query_parse_segment):
24768         * gst/gstquery.h:
24769         More documentation.
24770         Add segment query for future use.
24771
24772 2005-09-22  Wim Taymans  <wim@fluendo.com>
24773
24774         * gst/gstbin.c: (gst_bin_add_func):
24775         Some more debug info.
24776
24777         * gst/gstelement.c: (gst_element_send_event):
24778         Simplify send_event
24779
24780         * gst/gstelement.h:
24781         Don't know how flags got broken.
24782
24783         * gst/gstquery.h:
24784         Added new query.
24785
24786 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24787
24788         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24789           Add simplistic test suite for GST_TYPE_DATE serialisation and
24790           deserialisation.
24791
24792 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24793
24794         * docs/gst/gstreamer-sections.txt:
24795         * gst/gststructure.c: (gst_structure_set_valist),
24796         (gst_structure_get_date):
24797         * gst/gststructure.h:
24798         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24799         (gst_date_copy), (gst_value_compare_date),
24800         (gst_value_serialize_date), (gst_value_deserialize_date),
24801         (gst_value_transform_date_string),
24802         (gst_value_transform_string_date), (_gst_value_initialize):
24803         * gst/gstvalue.h:
24804           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24805           bunch of utility functions along with a hack that checks that
24806           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24807           is required. Part of the grand scheme in #170777.
24808
24809 2005-09-22  Andy Wingo  <wingo@pobox.com>
24810
24811         * gst/gstconfig.h.in: Psych out gtk-doc.
24812
24813         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24814
24815         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24816
24817         * tools/gst-inspect.c (print_element_list): Plug some
24818         inconsequential leaks.
24819
24820         * gst/gstregistry.c (gst_registry_get_default): Doc.
24821
24822         * check/gst/gstplugin.c: 
24823         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24824         * gst/gstelementfactory.c (gst_element_factory_create): 
24825         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24826         refcount changes.
24827
24828         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24829         (gst_plugin_feature_load): Doc, don't eat refs.
24830
24831         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24832         (gst_plugin_list_free): Doc.
24833         (gst_plugin_load_file): Doc updates.
24834
24835         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24836         accessors returning refcounted objects, return a ref.
24837
24838         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24839         accessor for caps. IDEMPOTENCE. Oh yes.
24840
24841 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24842
24843         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24844
24845         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24846         (_gst_debug_register_funcptr):
24847           Add mutex to serialise access to the hash table with
24848           the function pointer => function name string mapping;
24849           make that hash table static scope (#316809).
24850
24851         * gst/registries/.cvsignore:
24852           Remove left-over file.
24853
24854 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24855
24856         * docs/pwg/appendix-porting.xml:
24857           And something about newsegment events and caps-on-buffers to
24858           the porting guide (feel free to improve).
24859
24860 2005-09-21  Andy Wingo  <wingo@pobox.com>
24861
24862         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24863         data and event probes on the same pad.
24864         (test_buffer_probe_once): Test that removing probes from within
24865         the probe functions works.
24866
24867 2005-09-21  Andy Wingo  <wingo@pobox.com>
24868
24869         * check/gst/gstutils.c: New file.
24870         (test_buffer_probe_n_times): A simple buffer probe test. More to
24871         come, foolios.
24872
24873         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24874         have-data::buffer, not have-data.
24875         (gst_pad_add_event_probe): Likewise for have-data::event.
24876         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24877         peer' isn't quite right yet though.
24878         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24879         (gst_pad_remove_data_probe): Change to take the guint handler_id
24880         as their arg, not the function+data, which is more glib-like.
24881
24882         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24883         the signal emission to indicate if the data is a buffer or an
24884         event.
24885         (gst_pad_get_type): Initialize buffer and event quarks.
24886         (gst_pad_class_init): have-data is now a detailed signal, yes it
24887         is.
24888
24889 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24890
24891         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24892         * gst/gstutils.c: (gst_util_set_value_from_string),
24893         (gst_util_set_object_arg):
24894           Don't put functional code in g_return_if_fail() or
24895           g_return_val_if_fail() statements, otherwise things will 
24896           break when G_DISABLE_CHECKS is defined during compilation.
24897
24898 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24899
24900         * docs/gst/tmpl/.cvsignore:
24901         * docs/gst/tmpl/gstvalue.sgml:
24902         * gst/gstvalue.c:
24903         * gst/gstvalue.h:
24904           inlied another one and added  some obvious docs
24905
24906 2005-09-21  Wim Taymans  <wim@fluendo.com>
24907
24908         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24909         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24910         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24911         (gst_fdsrc_get_property), (gst_fdsrc_create):
24912         * gst/elements/gstfdsrc.h:
24913         Properly implement fdsrc. Removed signal and timeout,
24914         better implemented somewhere else.
24915
24916 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24917
24918         * docs/gst/tmpl/.cvsignore:
24919         * docs/gst/tmpl/gstimplementsinterface.sgml:
24920         * gst/gstinterface.c:
24921           inlined more docs
24922
24923 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24924
24925         * docs/gst/gstreamer-sections.txt:
24926         * docs/gst/tmpl/.cvsignore:
24927         * docs/gst/tmpl/gstenumtypes.sgml:
24928           remove obsolete doc file
24929
24930 2005-09-21  David Schleef  <ds@schleef.org>
24931
24932         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24933         little beer, fix a little leak.
24934
24935 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24936
24937         * docs/gst/gstreamer-docs.sgml:
24938         * docs/gst/gstreamer-sections.txt:
24939         * docs/gst/tmpl/.cvsignore:
24940         * gst/Makefile.am:
24941         * gst/gst.h:
24942         * gst/gstbin.c:
24943         * gst/gstelement.h:
24944         * gst/gstindex.c: (gst_index_class_init):
24945         * gst/gstindex.h:
24946         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24947         (gst_index_factory_class_init), (gst_index_factory_init),
24948         (gst_index_factory_finalize), (gst_index_factory_new),
24949         (gst_index_factory_destroy), (gst_index_factory_find),
24950         (gst_index_factory_create), (gst_index_factory_make):
24951         * gst/gstindexfactory.h:
24952         * gst/gstpluginfeature.c:
24953         * gst/gstpluginfeature.h:
24954         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24955           more docs inlined, splitted gstindex.{c,h}
24956
24957 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24958
24959         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24960           fix a leak
24961
24962 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24963
24964         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24965           Set sync to FALSE by default.
24966
24967 2005-09-20  Wim Taymans  <wim@fluendo.com>
24968
24969         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24970         (gst_base_sink_init):
24971         Make sync property settable from subclass.
24972
24973         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24974         (gst_fake_sink_change_state):
24975         Set sync to FALSE by default.
24976
24977 2005-09-20  Wim Taymans  <wim@fluendo.com>
24978
24979         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24980         * tools/gst-launch.c: (main):
24981         The timeout handler should have lower priority than the source
24982         so we don't timeout before popping a message with 0 timeout.
24983         Dump error messages after failed state change.
24984
24985 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24986
24987         * tools/gst-inspect.c: (print_element_properties_info):
24988           Fix two typos.
24989
24990 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24991
24992         * check/gst/gstevent.c:
24993         * gst/elements/gstfakesink.c:
24994         * gst/elements/gstfakesink.h:
24995           remove the sync property from fakesink.
24996           has the side effect of setting sync TRUE
24997           for fakesink, which is a change.  Anyone who knows how
24998           to fix this nicely in a GObject-y way, feel free.
24999
25000 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25001
25002         * docs/gst/gstreamer-docs.sgml:
25003           remove probe refsection
25004
25005 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25006
25007         * check/Makefile.am:
25008           disable valgrinding the controller test again
25009         * docs/gst/gstreamer-sections.txt:
25010           update for api-changes
25011
25012 2005-09-20  Wim Taymans  <wim@fluendo.com>
25013
25014         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25015         (gst_base_sink_set_property), (gst_base_sink_get_property),
25016         (gst_base_sink_do_sync):
25017         * gst/base/gstbasesink.h:
25018         Added sync property to basesink to disable clock sync.
25019
25020 2005-09-20  Andy Wingo  <wingo@pobox.com>
25021
25022         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25023         eating the caller's refcount.
25024
25025         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25026         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25027         refcount.
25028
25029         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25030         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25031         of GLib 2.8 public, so we can know which refcount to check in
25032         tests.
25033
25034         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25035         (gst_object_init): Only set the gst refcount if we're going ahead
25036         with the refcount hack.
25037
25038 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25039
25040         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25041         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25042           more leaks plumbed, added more debug-logging
25043         * gst/gstmacros.h:
25044           whitespace fix
25045
25046 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25047
25048         * gst/gstmessage.c:
25049           remove include of gstmemchunk.h
25050
25051 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25052
25053         * gst/gstclock.c: (_gst_clock_id_free):
25054           Commit from the Political Party For More Atomic CVS Commits,
25055           so that people don't waste too much of their day fishing
25056           out obvious leaks out of massive commits.
25057           Oh, and fix a pretty damn obvious leak in the memchunk
25058           removal code.
25059
25060 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25061
25062         * check/Makefile.am:
25063         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25064           plug mem-leak, re-add to valgrindable tests
25065
25066 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25067
25068         * gst/gstplugin.h:
25069           unbreak the build for those who have chronic arthritis
25070           and typing "make check" is just too taxing on the hands
25071
25072 2005-09-20  Andy Wingo  <wingo@pobox.com>
25073
25074         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25075         really want it out, you should fix plugins at the same time.
25076
25077 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25078
25079         * configure.ac:
25080         * docs/gst/gstreamer-sections.txt:
25081         * gst/gstobject.c:
25082           added missing symbols to api docs
25083           disable ref-count hack if we have glib >= 2.8
25084
25085 2005-09-19  David Schleef  <ds@schleef.org>
25086
25087         * docs/gst/Makefile.am: Ignore a few more internal headers
25088         * docs/gst/gstreamer-docs.sgml: Remove old sections
25089         * docs/gst/gstreamer-sections.txt: Remove old sections
25090         * docs/gst/tmpl/gstobject.sgml: update
25091         * docs/gst/tmpl/gstplugin.sgml: update
25092         * docs/gst/tmpl/gstpluginfeature.sgml: update
25093         * docs/random/ds/0.9-suggested-changes: update.
25094         * gst/Makefile.am: remove memchunk and trashstack, since they're
25095           not used.
25096         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25097         * gst/gst.h: don't include some headers
25098         * gst/gstchildproxy.c: add gstmarshal.h
25099         * gst/gstclock.c: Don't use memchunks
25100         * gst/gstminiobject.c: Add some docs
25101         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25102         * gst/gstobject.h: same
25103         * gst/gstplugin.c: include gstmacros.h
25104         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25105         * gst/gstquery.c: don't use memchunks
25106         * gst/gstregistry.c: rename gst_registry_deinit()
25107         * gst/gstregistry.h: same
25108
25109 2005-09-19  David Schleef  <ds@schleef.org>
25110
25111         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25112         * docs/libs/gstreamer-libs-sections.txt:
25113         * docs/libs/tmpl/gstgetbits.sgml:
25114         * docs/libs/tmpl/gstputbits.sgml:
25115
25116 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25117
25118         * win32/gstenumtypes.c:
25119         * win32/gstenumtypes.h:
25120           Update.
25121
25122 2005-09-19  Wim Taymans  <wim@fluendo.com>
25123
25124         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25125         Automatically PAUSE and RESUME a pipeline when a flushing seek
25126         is performed.
25127
25128 2005-09-19  Andy Wingo  <wingo@pobox.com>
25129
25130         * gst/gstregistry.h: Spacing fixen.
25131
25132 2005-09-19  Wim Taymans  <wim@fluendo.com>
25133
25134         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25135         Handle state change failure more correctly.
25136
25137 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25138
25139         * check/Makefile.am:
25140         * check/pipelines/cleanup.c: (run_pipeline):
25141         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25142         (GST_START_TEST):
25143           enable cleanup again after fixing the leak
25144         * docs/README:
25145           some more info on docs
25146
25147 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25148
25149         * check/Makefile.am:
25150           re-enable tests now that leaks are plugged
25151         * check/gst/gst.c:
25152         * check/gst/gstbin.c:
25153         * check/gst/gstpipeline.c:
25154           add some more tests while fixing leaks
25155         * common/check.mak:
25156           make sure binaries are uptodate when valgrinding/gdbing
25157         * gst/gst.c:
25158         * gst/gstelementfactory.c:
25159           remove a ref too many, and add a FIXME for when we get
25160           round to disposing of classes
25161         * gst/gstplugin.c:
25162           fix the refcounting when loading a plugin from a file and
25163           the code pretends that the pointer is the same even though
25164           of course it can change
25165         * gst/gstpluginfeature.c:
25166           unref plugins marked cached (a bit confusing as a name)
25167           as the docs state should be done
25168           various doc additions to explain refcounting
25169         * gst/gstregistry.c:
25170         * gst/gstregistryxml.c:
25171           debugging
25172
25173 2005-09-19  Wim Taymans  <wim@fluendo.com>
25174
25175         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25176         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25177         (send_messages), (GST_START_TEST), (gstbus_suite):
25178         * check/gst/gstpipeline.c: (GST_START_TEST):
25179         * check/pipelines/cleanup.c: (run_pipeline):
25180         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25181         (GST_START_TEST):
25182         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25183         (gst_bus_source_check), (gst_bus_source_dispatch),
25184         (gst_bus_create_watch), (gst_bus_add_watch_full),
25185         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25186         * gst/gstbus.h:
25187         * tools/gst-launch.c: (event_loop):
25188         * tools/gst-md5sum.c: (event_loop):
25189         GstBusHandler -> GstBusFunc, return value has the same meaning as
25190         any other GSource (FALSE == remove source).
25191         _add_watch() and _add_watch_full() now take a MessageType mask to
25192         only handle specific types of messages.
25193         _poll() returns the GstMessage instead of the message type to avoid
25194         race conditions.
25195         _have_pending() takes a MessageType mask now too.
25196         Added testsuite for multiple bus watches.
25197         Fix testsuites and applications for new bus API.
25198
25199 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25200
25201         * check/Makefile.am:
25202           mark a bunch of the tests as to fix until we fix them
25203
25204 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25205
25206         * common/check.mak:
25207           use GST_PLUGIN settings for valgrind tests as well, so we're
25208           valgrinding the correct thing
25209         * gst/gst.c: (init_post):
25210           plug another leak
25211
25212 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25213
25214         * gst/gst.c: (init_post), (gst_deinit):
25215         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25216         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25217         * gst/gstindex.c: (gst_index_factory_class_init),
25218         (gst_index_factory_finalize):
25219         * gst/gstobject.c: (gst_object_dispose):
25220         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25221         (gst_plugin_load_file), (gst_plugin_desc_free):
25222         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25223         (gst_plugin_feature_finalize):
25224         * gst/gstregistry.c: (gst_registry_class_init),
25225         (gst_registry_init), (gst_registry_finalize),
25226         (gst_registry_get_default), (gst_registry_deinit):
25227         * gst/gstregistry.h:
25228         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25229           various cleanups and memleak plugging.  make valgrind is happy now.
25230
25231 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25232
25233         * common/check.mak:
25234           add a check-valgrind target
25235
25236 2005-09-18  David Schleef  <ds@schleef.org>
25237
25238         * tools/gst-inspect.c: Revert the GOption code.
25239
25240 2005-09-17  David Schleef  <ds@schleef.org>
25241
25242         * check/Makefile.am: Fix environment variables.
25243         * check/gst/gstplugin.c: Fix for API changes.
25244         * tools/gst-inspect.c: Fix for API changes.
25245         * tools/gst-xmlinspect.c: Fix for API changes.
25246         * gst/gstelementfactory.c:
25247         * gst/gstplugin.c:
25248         * gst/gstplugin.h:
25249         * gst/gstpluginfeature.c:
25250         * gst/gstpluginfeature.h:
25251         * gst/gstregistry.c:
25252         * gst/gstregistry.h:
25253         * gst/gstregistryxml.c:
25254         * gst/gsttypefind.c:
25255         * gst/gsttypefindfactory.c:
25256         * gst/indexers/gstfileindex.c:
25257         * gst/indexers/gstmemindex.c:
25258         * gst/schedulers/Makefile.am:
25259           Change registry to keep track of both plugins and features,
25260           removing the feature tracking from plugins themselves.
25261
25262 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25263
25264         * check/Makefile.am:
25265         * tools/gst-register.1.in:
25266           remove gst-register
25267
25268 2005-09-15  David Schleef  <ds@schleef.org>
25269
25270         * check/gst/gstplugin.c:
25271         * gst/gstelementfactory.c:
25272         * gst/gstplugin.c:
25273         * gst/gstpluginfeature.c:
25274         * gst/gstregistry.c:
25275           Getting tired of debugging.  Disabled all the unreffing of
25276           plugins and features, which fixes the segfaults, but of
25277           course leaks like crazy.  At least playbin works.
25278
25279 2005-09-15  David Schleef  <ds@schleef.org>
25280
25281         * check/gst/gstplugin.c: (register_check_elements),
25282         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25283         More testing
25284         * gst/elements/gsttypefindelement.c: Fix refcounting.
25285         * gst/gsttypefind.c:
25286         * gst/gsttypefindfactory.c:
25287         * gst/gsttypefindfactory.h:
25288
25289 2005-09-15  David Schleef  <ds@schleef.org>
25290
25291         * gst/gstindex.c: get refcounting correct.
25292         * gst/gstregistry.c: Handle the case where a feature/plugin is
25293           not found.
25294
25295 2005-09-15  David Schleef  <ds@schleef.org>
25296
25297         * check/Makefile.am:
25298         * check/gst/gstplugin.c: Add test
25299         * gst/gstplugin.c: Fix problems noticed by testsuite
25300         * gst/gstplugin.h:
25301         * gst/gstregistry.c: 
25302         * gst/gstregistry.h:
25303
25304 2005-09-15  David Schleef  <ds@schleef.org>
25305
25306         * gst/gstplugin.c: Implement semi-decent recounting and locking
25307           in plugins and plugin features.
25308         * gst/gstplugin.h:
25309         * gst/gstpluginfeature.c:
25310         * gst/gstpluginfeature.h:
25311         * gst/gstregistry.c:
25312
25313 2005-09-15  Michael Smith <msmith@fluendo.com>
25314
25315         * gst/gstregistry.c: (gst_registry_get_feature_list):
25316           Implement this. Makes oggdemux work; decodebin still broken.
25317
25318 2005-09-14  David Schleef  <ds@schleef.org>
25319
25320         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25321           #316076)
25322         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25323         * gst/check/Makefile.am:
25324         * libs/gst/controller/Makefile.am:
25325         * libs/gst/dataprotocol/Makefile.am:
25326
25327 2005-09-14  David Schleef  <ds@schleef.org>
25328
25329         * configure.ac: Remove getbits library.  Nothing uses it, and
25330           it should be in something like liboil if someone did want
25331           to use it.
25332         * libs/gst/Makefile.am:
25333         * libs/gst/getbits/Makefile.am:
25334         * libs/gst/getbits/gbtest.c:
25335         * libs/gst/getbits/getbits.c:
25336         * libs/gst/getbits/getbits.h:
25337         * libs/gst/getbits/gstgetbits_generic.c:
25338         * libs/gst/getbits/gstgetbits_i386.s:
25339         * libs/gst/getbits/gstgetbits_inl.h:
25340
25341 2005-09-14  David Schleef  <ds@schleef.org>
25342
25343         * gst/Makefile.am: Dist glib-compat.h
25344
25345 2005-09-14  David Schleef  <ds@schleef.org>
25346
25347         * configure.ac: Remove gst/registries, since it's no longer used.
25348         * gst/registries/Makefile.am:
25349         * gst/registries/gstlibxmlregistry.c:
25350         * gst/registries/gstlibxmlregistry.h:
25351         * gst/registries/gstxmlregistry.c:
25352         * gst/registries/gstxmlregistry.h:
25353         * gst/registries/registrytest.c:
25354
25355 2005-09-14  David Schleef  <ds@schleef.org>
25356
25357         * gst/glib-compat.h:
25358         * gst/gstregistryxml.c:
25359           Convergence is near.  Seriously.
25360
25361 2005-09-14  David Schleef  <ds@schleef.org>
25362
25363         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25364         * gst/glib-compat.h:
25365           Attempt #4 to appease the buildbots.
25366
25367 2005-09-14  David Schleef  <ds@schleef.org>
25368
25369         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25370           Attempt #3.
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 #2.
25376
25377 2005-09-14  David Schleef  <ds@schleef.org>
25378
25379         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25380           the new functions.
25381
25382 2005-09-14  David Schleef  <ds@schleef.org>
25383
25384         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25385         * gst/glib-compat.h: Add some functions that are in newer versions
25386           of glib than we care to require.
25387         * gst/gstregistryxml.c: Use them.
25388
25389 2005-09-14  David Schleef  <ds@schleef.org>
25390
25391         * po/POTFILES.in: remove gst-register.c
25392
25393 2005-09-14  David Schleef  <ds@schleef.org>
25394
25395         * docs/gst/gstreamer-docs.sgml:
25396         * docs/gst/gstreamer-sections.txt:
25397         * docs/gst/gstreamer.types:
25398         * docs/gst/tmpl/gstelement.sgml:
25399         * docs/gst/tmpl/gstplugin.sgml:
25400         * docs/gst/tmpl/gstpluginfeature.sgml:
25401           Documentation updates for registry changes.
25402
25403 2005-09-14  David Schleef  <ds@schleef.org>
25404
25405         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25406           because we don't require glib-2.8.
25407
25408 2005-09-14  David Schleef  <ds@schleef.org>
25409
25410         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25411           registries directory.
25412
25413 2005-09-14  David Schleef  <ds@schleef.org>
25414
25415         * check/Makefile.am:
25416         * check/generic/states.c:
25417         * gst/Makefile.am:
25418         * gst/gst.c:
25419         * gst/gst.h:
25420         * gst/gst_private.h:
25421         * gst/gstelementfactory.c:
25422         * gst/gstindex.c:
25423         * gst/gstinfo.c:
25424         * gst/gstplugin.c:
25425         * gst/gstplugin.h:
25426         * gst/gstpluginfeature.c:
25427         * gst/gstpluginfeature.h:
25428         * gst/gstregistry.c:
25429         * gst/gstregistry.h:
25430         * gst/gstregistrypool.c: remove
25431         * gst/gstregistrypool.h: remove
25432         * gst/gsttypefind.c:
25433         * gst/gsttypefindfactory.c:
25434         * gst/gsturi.c:
25435         * tools/Makefile.am:
25436         * tools/gst-compprep.c:
25437         * tools/gst-inspect.c:
25438         * tools/gst-register.c: remove
25439         * tools/gst-xmlinspect.c:
25440           Registry rewrite.  Changes registry from being a file created
25441           by a tool into a simple cache file created automatically by 
25442           libgstreamer.  Removed gst-register (because it's no longer
25443           needed).  Remove registry pools, because we only have one
25444           registry implementation (XML).  Fix up other subsystems as
25445           necessary.
25446
25447 2005-09-13  Michael Smith <msmith@fluendo.com>
25448
25449         * gst/gstconfig.h.in:
25450           Don't Use windows linking attributes for MinGW. Fixes #316157
25451
25452 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25453
25454         * gst/gstutils.c: (set_state_async_thread_func),
25455         (gst_element_set_state_async):
25456           Apparently people think it's better if this function doesn't
25457           try to set the state to whatever state was asked for on the first
25458           call to this function for any object.  Seriously.
25459
25460 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25461
25462         * check/gst/gstpipeline.c: (GST_START_TEST):
25463         * docs/gst/gstreamer-sections.txt:
25464         * gst/gstutils.c: (set_state_async_thread_func),
25465         (gst_element_set_state_async):
25466         * gst/gstutils.h:
25467           add a "gst_element_set_state_async" method that
25468           sets the state and starts a thread to make sure the state
25469           change completes as best as it can
25470
25471 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25472
25473         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25474           codify design+behaviour in testsuite after discussion
25475
25476 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25477
25478         * docs/gst/tmpl/gstelement.sgml:
25479         * docs/manual/appendix-quotes.xml:
25480           add a quote
25481         * gst/gstelement.c: (gst_element_set_state):
25482           add some debug
25483
25484 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25485
25486         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25487         (gst_base_transform_prepare_output_buf),
25488         (gst_base_transform_handle_buffer):
25489         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25490         (gst_capsfilter_prepare_buf):
25491           Remove the requirement for sub-classes to call the parent
25492           implementation of prepare_output_buffer with a wrapper function.
25493           
25494         * gst/gsttaglist.h:
25495         * gst/gsttagsetter.h:
25496           Fix #define wrapper
25497
25498 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25499
25500         * docs/gst/gstreamer-sections.txt:
25501           more doc cleanups
25502
25503 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25504
25505         * docs/gst/gstreamer-sections.txt:
25506         * docs/gst/tmpl/gstelement.sgml:
25507         * docs/gst/tmpl/gstplugin.sgml:
25508         * gst/gstminiobject.c:
25509         * gst/gstvalue.h:
25510           docs now stop throwing warnings
25511
25512 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25513
25514         * docs/gst/gstreamer-sections.txt:
25515         * docs/gst/gstreamer.types:
25516         * docs/gst/tmpl/gstpad.sgml:
25517         * docs/gst/tmpl/gsttypes.sgml:
25518         * gst/base/gstadapter.h:
25519         * gst/base/gstbasesink.h:
25520         * gst/base/gstbasesrc.h:
25521         * gst/gstbin.h:
25522         * gst/gstbuffer.h:
25523         * gst/gstbus.h:
25524         * gst/gstcaps.h:
25525         * gst/gstclock.h:
25526         * gst/gstelement.h:
25527         * gst/gstevent.h:
25528         * gst/gstmessage.h:
25529         * gst/gstpad.h:
25530         * gst/gststructure.c:
25531         * gst/registries/gstlibxmlregistry.h:
25532           various documentation fixes
25533
25534 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25535
25536         * docs/gst/gstreamer-sections.txt:
25537         * docs/gst/tmpl/gstvalue.sgml:
25538           rearrange gstvalue section
25539         * gst/gstutils.c: (gst_element_state_get_name):
25540           NONE -> VOID
25541         * gst/gstvalue.c: (_gst_value_initialize):
25542         * gst/gstvalue.h:
25543           doc updates
25544
25545 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25546
25547         * check/gst-libs/controller.c:
25548           Header include fix.
25549         * gst/base/gstbasetransform.c:
25550         (gst_base_transform_default_prepare_buf),
25551         (gst_base_transform_handle_buffer):
25552         * gst/base/gstbasetransform.h:
25553           Some more basetransform changes and fixes to enable sub-classes
25554           that modify buffer metadata only.
25555         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25556         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25557         (gst_capsfilter_prepare_buf):
25558           If the output pad has fixed allowed caps and input buffers 
25559           don't have any, set the fixed caps on outgoing buffers.
25560
25561 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25562         * check/elements/identity.c: (GST_START_TEST):
25563           Make the error a little clearer when the test fails because
25564           identity made a copy of the buffer.
25565         * docs/gst/gstreamer-sections.txt:
25566           New symbols in gstbasetransform.h
25567         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25568         (gst_base_transform_init), (gst_base_transform_transform_size),
25569         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25570         (gst_base_transform_default_prepare_buf),
25571         (gst_base_transform_get_unit_size),
25572         (gst_base_transform_buffer_alloc),
25573         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25574         (gst_base_transform_change_state),
25575         (gst_base_transform_set_passthrough),
25576         (gst_base_transform_set_in_place),
25577         (gst_base_transform_is_in_place):
25578         * gst/base/gstbasetransform.h:
25579           Change BaseTransform to separate in_place operate from same_caps
25580           output. in_place implies that the element can perform the transform
25581           on incoming buffers in-place, even if the caps on the output are
25582           different.
25583           Sub-class elements can now implement special buffer allocation
25584           methods for outgoing buffers if they wish to.
25585           Big documentation addition.
25586         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25587         * gst/elements/gstelements.c:
25588           Changes for basetransform modifications.
25589         * gst/elements/Makefile.am:
25590         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25591           Compile fix. Extra debug output.
25592
25593 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25594
25595         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25596         (gst_pad_suite):
25597           add tests for valid pad naming
25598         * gst/check/gstcheck.c: (gst_check_log_message_func),
25599         (gst_check_log_critical_func):
25600           add ASSERT_WARNING
25601           remove printing of code, it is fragile when the code contains
25602           % and the line number is enough info
25603         * gst/check/gstcheck.h:
25604         * gst/gstpad.c: (gst_pad_template_new):
25605           fix memleaks
25606
25607 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25608
25609         * configure.ac:
25610           say what CHECK flags we use
25611         * docs/libs/gstreamer-libs.types:
25612         * libs/gst/controller/Makefile.am:
25613         * libs/gst/controller/gst-controller.c:
25614         * libs/gst/controller/gst-controller.h:
25615         * libs/gst/controller/gst-helper.c:
25616         * libs/gst/controller/gst-interpolation.c:
25617         * libs/gst/controller/gstcontroller.c:
25618         * libs/gst/controller/gsthelper.c:
25619         * libs/gst/controller/gstinterpolation.c:
25620         * tools/gst-inspect.c: (print_plugin_info):
25621           we don't use dashes in header names
25622
25623 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25624
25625         * check/Makefile.am:
25626         * check/gst/.cvsignore:
25627         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25628         (gst_pipeline_suite), (main):
25629           adding a test for pipelines and state changes
25630         * gst/gstutils.c: (get_state_func):
25631           add some debugging
25632         * gstreamer.spec.in:
25633           fix up spec file
25634
25635 2005-09-08  Michael Smith <msmith@fluendo.com>
25636
25637         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25638         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25639         (gst_file_src_is_seekable), (gst_file_src_get_size),
25640         (gst_file_src_start):
25641         * gst/elements/gstfilesrc.h:
25642           Various fixes for unseekable, unmmapable, and non-normal files, so
25643           that fallback to read() rather than mmap() works.
25644         * gst/gstevent.c: (gst_event_new_newsegment):
25645           Allow newsegment events with segment_start == segment_end, as will
25646           correctly happen if you use filesrc on a zero-size file, for
25647           example.
25648
25649 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25650
25651         * gst/gstplugin.c: (gst_plugin_load_file):
25652           Call g_module_close when we don't load the module
25653
25654         * gst/registries/gstlibxmlregistry.c:
25655         (gst_xml_registry_get_property):
25656           Port leak fix from 0.8
25657
25658 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25659
25660         * docs/gst/gstreamer-docs.sgml:
25661         * docs/gst/tmpl/.cvsignore:
25662         * docs/gst/tmpl/gsttrace.sgml:
25663         * docs/gst/tmpl/gsttrashstack.sgml:
25664         * gst/Makefile.am:
25665         * gst/gst.h:
25666         * gst/gstelement.h:
25667         * gst/gstevent.h:
25668         * gst/gstmessage.c:
25669         * gst/gstmessage.h:
25670         * gst/gsttag.c:
25671         * gst/gsttag.h:
25672         * gst/gsttaginterface.c:
25673         * gst/gsttaginterface.h:
25674         * gst/gsttaglist.c:
25675         * gst/gsttaglist.h:
25676         * gst/gsttagsetter.c:
25677         * gst/gsttagsetter.h:
25678         * gst/gsttrace.c:
25679         * gst/gsttrace.h:
25680         * gst/gsttrashstack.c:
25681           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25682           inlined docs for gsttrace, gsttrashstack
25683
25684 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25685
25686         * gst/Makefile.am:
25687         * gst/elements/gstbufferstore.h:
25688         * gst/elements/gsttypefindelement.c:
25689         * gst/elements/gsttypefindelement.h:
25690         * gst/gst.h:
25691         * gst/gsttypefind.c:
25692         * gst/gsttypefind.h:
25693         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25694         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25695         (gst_type_find_factory_dispose),
25696         (gst_type_find_factory_unload_thyself),
25697         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25698         (gst_type_find_factory_get_caps),
25699         (gst_type_find_factory_get_extensions),
25700         (gst_type_find_factory_call_function):
25701         * gst/gsttypefindfactory.h:
25702         * gst/registries/gstlibxmlregistry.c:
25703         * gst/registries/gstxmlregistry.c:
25704           splitted gsttypefind into gsttypefind, gsttypefindfactory
25705
25706 2005-09-07  Andy Wingo  <wingo@pobox.com>
25707
25708         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25709         condition whereby the pad's task function is entered before the
25710         pad_mode variable was set.
25711
25712 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25713
25714         * gst/gstpad.c: (gst_pad_alloc_buffer):
25715           Catch misbehaving pad_alloc functions that don't
25716           set up caps and do it for them.
25717
25718 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25719
25720         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25721           test for pipe!=NULL
25722         * docs/gst/tmpl/.cvsignore:
25723         * docs/gst/tmpl/gstmemchunk.sgml:
25724         * docs/gst/tmpl/gstparse.sgml:
25725         * docs/gst/tmpl/gsttaglist.sgml:
25726         * docs/gst/tmpl/gsttagsetter.sgml:
25727         * docs/gst/tmpl/gsttypefind.sgml:
25728         * docs/gst/tmpl/gsttypefindfactory.sgml:
25729         * gst/gstmemchunk.c:
25730         * gst/gstparse.c:
25731         * gst/gsttag.c:
25732         * gst/gsttaginterface.c:
25733         * gst/gsttypefind.c:
25734         * gst/gsttypefind.h:
25735           inlined more docs
25736
25737 === release 0.9.2 ===
25738
25739 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25740
25741         * NEWS:
25742         * RELEASE:
25743         * configure.ac:
25744           releasing 0.9.2, "South"
25745
25746 2005-09-05  Andy Wingo  <wingo@pobox.com>
25747
25748         * gst/registries/gstxmlregistry.h:
25749         * gst/registries/gstxmlregistry.c: Um... resurrect...
25750         
25751         * gst/registries/gstxmlregistry.h:
25752         * gst/registries/gstxmlregistry.c: and update to newer API.
25753         Incidentally they should be a bit faster now that they don't have
25754         to parse the caps.
25755         
25756 2005-09-05  Andy Wingo  <wingo@pobox.com>
25757
25758         * gst/registries/gstxmlregistry.h:
25759         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25760         replaced by the libxml registry a while back
25761
25762 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25763
25764         * docs/gst/tmpl/gstplugin.sgml:
25765         * gst/elements/gstelements.c:
25766         * gst/gst.c:
25767         * gst/gstplugin.c: (gst_plugin_register_func),
25768         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25769         (gst_plugin_get_source):
25770         * gst/gstplugin.h:
25771         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25772         (gst_xml_registry_save_plugin):
25773         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25774         (gst_xml_registry_save_plugin):
25775         * tools/gst-inspect.c: (print_plugin_info):
25776           add a "source" plugin description field, to represent the source
25777           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25778           will set it to PACKAGE, which is automake's idea of the name of
25779           the source project.
25780
25781 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25782
25783         * Makefile.am:
25784         * autogen.sh:
25785         * configure.ac:
25786         * docs/Makefile.am:
25787         * docs/faq/Makefile.am:
25788         * docs/gst/tmpl/gstelement.sgml:
25789         * docs/gst/tmpl/gsttypes.sgml:
25790         * docs/htmlinstall.mak:
25791         * docs/manual/Makefile.am:
25792         * docs/pwg/Makefile.am:
25793           reorganize doc build a little
25794           split out docbook and gtk-doc stuff
25795           have two separate --enable's and enable them through autogen
25796           but disable by default in configure (to be similar to other
25797           projects)
25798         * gstreamer.spec.in:
25799           clean up docs install
25800         * po/af.po:
25801         * po/az.po:
25802         * po/ca.po:
25803         * po/cs.po:
25804         * po/de.po:
25805         * po/en_GB.po:
25806         * po/fr.po:
25807         * po/it.po:
25808         * po/nb.po:
25809         * po/nl.po:
25810         * po/ru.po:
25811         * po/sq.po:
25812         * po/sr.po:
25813         * po/sv.po:
25814         * po/tr.po:
25815         * po/uk.po:
25816         * po/vi.po:
25817           translation updates
25818
25819 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25820
25821         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25822           Add comment.
25823           
25824         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25825         (gst_fake_sink_change_state):
25826           Make state change function thread-safe.
25827           
25828         * gst/gstpad.c: (gst_pad_alloc_buffer):
25829           Set offset on generic buffer allocated by fallback.
25830
25831 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25832
25833         * docs/gst/gstreamer-sections.txt:
25834         * docs/gst/tmpl/gstelement.sgml:
25835         * gst/gstpad.c:
25836         * libs/gst/controller/gst-controller.c:
25837         (gst_controlled_property_set_interpolation_mode),
25838         (gst_controlled_property_new),
25839         (gst_controller_find_controlled_property):
25840          run the wingo-magic script against the docs
25841
25842 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25843
25844         * docs/gst/gstreamer-docs.sgml:
25845         * docs/gst/gstreamer-sections.txt:
25846         * docs/gst/tmpl/.cvsignore:
25847         * docs/gst/tmpl/gstelementdetails.sgml:
25848         * docs/gst/tmpl/gstelementfactory.sgml:
25849         * gst/gst.c:
25850         * gst/gstbus.c:
25851         * gst/gstelementfactory.c:
25852         * gst/gstelementfactory.h:
25853           merged elementdetails docs into elementfactory docs
25854           inlined both
25855
25856 2005-09-02  Andy Wingo  <wingo@pobox.com>
25857
25858         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25859         consider this enum an enum and not a flags.
25860
25861 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25862
25863         * docs/gst/gstreamer-docs.sgml:
25864         * docs/gst/tmpl/.cvsignore:
25865         * docs/gst/tmpl/gstghostpad.sgml:
25866         * docs/gst/tmpl/gstiterator.sgml:
25867         * docs/gst/tmpl/gstmacros.sgml:
25868         * docs/gst/tmpl/gstrealpad.sgml:
25869         * docs/gst/tmpl/gstregistry.sgml:
25870         * docs/gst/tmpl/gstregistrypool.sgml:
25871         * docs/gst/tmpl/gststructure.sgml:
25872         * docs/gst/tmpl/gstsystemclock.sgml:
25873         * docs/gst/tmpl/gsttrace.sgml:
25874         * gst/gstghostpad.c:
25875         * gst/gstmacros.h:
25876         * gst/gstmemchunk.c:
25877         * gst/gstmemchunk.h:
25878         * gst/gstqueue.c:
25879         * gst/gstregistry.c:
25880         * gst/gstregistrypool.c:
25881         * gst/gststructure.c:
25882         * gst/gstsystemclock.c:
25883           more docs inlined
25884
25885 2005-09-02  Andy Wingo  <wingo@pobox.com>
25886
25887         * gst/gstelement.h (GstState): Renamed from GstElementState,
25888         changed to be a normal enum instead of flags.
25889         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25890         munged to be GST_STATE_CHANGE_*.
25891         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25892         work with the new state representation.
25893         (GstStateChange): New enumeration of possible state transitions.
25894         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25895         (GstElementClass::change_state): Pass the GstStateChange along as
25896         an argument. Helps language bindings, so they don't have to use
25897         tricky lock-needing macros like GST_STATE_CHANGE ().
25898
25899         * scripts/update-states (file): New script. Run it on a file to
25900         update it for state naming and API changes. Updates files in
25901         place.
25902
25903         * All files updated for the new API.
25904
25905 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25906
25907         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25908         * gst/gstutils.c: (gst_util_set_value_from_string),
25909         (gst_util_set_object_arg):
25910           fix a bunch of unchecked return values
25911         * tools/gst-complete.c: (main):
25912         * gstreamer.spec.in:
25913           clean up a little
25914
25915 2005-09-01  Wim Taymans  <wim@fluendo.com>
25916
25917         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25918         (gst_base_sink_event), (gst_base_sink_do_sync),
25919         (gst_base_sink_handle_event):
25920         * gst/base/gstbasesink.h:
25921         Handle newsegments more correctly.
25922
25923         * gst/gstbus.c:
25924         Fix docs.
25925
25926         * gst/gstevent.c: (gst_event_new_newsegment):
25927         A newsegment cannot have a start_time of -1
25928
25929 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25930
25931         * win32/gstenumtypes.c:
25932         * win32/gstenumtypes.h:
25933           Update
25934
25935 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25936
25937         * libs/gst/controller/gst-controller.c:
25938         (gst_controlled_property_set_interpolation_mode),
25939         (gst_controlled_property_new):
25940          fixed boolean again
25941
25942 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25943
25944         * docs/faq/gst-uninstalled:
25945           add -good
25946         * gst/gstevent.c:
25947         * gst/gstevent.h:
25948           remove wrong docs
25949         * gst/gstutils.c: (gst_element_link_filtered):
25950         * gst/gstutils.h:
25951           add gst_element_link_filtered
25952
25953 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25954
25955         * docs/gst/gstreamer-docs.sgml:
25956         * docs/gst/gstreamer-sections.txt:
25957         * docs/gst/tmpl/.cvsignore:
25958         * docs/gst/tmpl/gsterror.sgml:
25959         * docs/gst/tmpl/gstfilter.sgml:
25960         * docs/gst/tmpl/gsturihandler.sgml:
25961         * docs/gst/tmpl/gsturitype.sgml:
25962         * docs/gst/tmpl/gstutils.sgml:
25963         * docs/gst/tmpl/gstxml.sgml:
25964         * gst/gsterror.c:
25965         * gst/gsterror.h:
25966         * gst/gstfilter.c:
25967         * gst/gsturi.c:
25968         * gst/gsturitype.c:
25969         * gst/gstutils.c:
25970         * gst/gstxml.c:
25971           inlined more docs, fixed double id-ref
25972
25973 2005-08-31  Wim Taymans  <wim@fluendo.com>
25974
25975         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25976         (gst_base_transform_handle_buffer):
25977         Passthrough elements don't need the caps as they don't care.
25978
25979 2005-08-31  Wim Taymans  <wim@fluendo.com>
25980
25981         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25982         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25983         Don't leak refcounts on buffers.
25984
25985 2005-08-31  Wim Taymans  <wim@fluendo.com>
25986
25987         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25988         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25989         (gst_base_transform_chain), (gst_base_transform_change_state):
25990         * gst/base/gstbasetransform.h:
25991         Handle the case where we are not negotiated more gracefully.
25992
25993 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25994
25995         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25996         (gst_file_src_map_region):
25997           Set READONLY flag on mmap'ed buffers, otherwise
25998           gst_buffer_make_writable() won't work properly (#314708).
25999
26000 2005-08-31  Wim Taymans  <wim@fluendo.com>
26001
26002         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26003         passthrough elements can even do inplace on non writable
26004         buffers (as they don't touch them).
26005
26006 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26007
26008         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26009         (gst_test_mono_source_set_property),
26010         (gst_test_mono_source_class_init), (GST_START_TEST),
26011         (gst_controller_suite):
26012           more tests (hehe I have the most)
26013         * gst/gstbus.c:
26014           describe popping messages whenusing mulltiple sources
26015         * libs/gst/controller/gst-controller.c:
26016         (gst_controlled_property_set_interpolation_mode),
26017         (gst_controlled_property_new):
26018         * libs/gst/controller/gst-controller.h:
26019         * libs/gst/controller/gst-interpolation.c:
26020           implement boolean properties
26021
26022 2005-08-31  Wim Taymans  <wim@fluendo.com>
26023
26024         * gst/gstminiobject.c: (gst_mini_object_ref):
26025         Cannot assert that the refcount has to be positive
26026         since a disposed object can be resurrected.
26027
26028 2005-08-31  Wim Taymans  <wim@fluendo.com>
26029
26030         * gst/gstpad.c: (gst_pad_init):
26031         Revert change, need to first fix badly behaving 
26032         apps.
26033
26034 2005-08-30  Wim Taymans  <wim@fluendo.com>
26035
26036         * check/elements/fakesrc.c: (setup_fakesrc):
26037         * check/elements/identity.c: (setup_identity):
26038         Activate pads before using them.
26039
26040 2005-08-30  Wim Taymans  <wim@fluendo.com>
26041
26042         * gst/base/gstadapter.c: (gst_adapter_flush):
26043         Flushing out 0 bytes is ok for this function.
26044
26045         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26046         no newsegment gives a warning and sets the start/stop to 
26047         invalid.
26048
26049         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26050         (gst_base_transform_set_passthrough):
26051         Some debug info.
26052
26053         * gst/gstminiobject.c: (gst_mini_object_ref):
26054         Check refcount here too.
26055
26056         * gst/gstpad.c: (gst_pad_init):
26057         Pads are initially flushing and refusing data.
26058
26059         * gst/gstutils.c: (gst_element_link_pads_filtered):
26060         When adding a capsfilter element make sure it has the
26061         same state as the parent bin.
26062
26063 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26064
26065         * docs/gst/tmpl/.cvsignore:
26066         * docs/gst/tmpl/gstformat.sgml:
26067         * docs/gst/tmpl/gstversion.sgml:
26068         * gst/gstbus.h:
26069         * gst/gstformat.c:
26070         * gst/gstformat.h:
26071         * gst/gstversion.h.in:
26072           more docs and two more inlined
26073
26074 2005-08-30  Wim Taymans  <wim@fluendo.com>
26075
26076         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26077         Don't sync to clock.
26078
26079 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26080
26081         * docs/gst/gstreamer-sections.txt:
26082           ultral33t func10ns deserve to appear in the docs actually
26083         * docs/gst/tmpl/.cvsignore:
26084         * docs/gst/tmpl/gstcompat.sgml:
26085         * docs/gst/tmpl/gstconfig.sgml:
26086         * gst/check/gstcheck.c:
26087         * gst/gstcompat.h:
26088         * gst/gstconfig.h.in:
26089           inlined more docs
26090
26091 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26092
26093         * docs/gst/tmpl/.cvsignore:
26094         * docs/gst/tmpl/gstquery.sgml:
26095         * docs/gst/tmpl/gstutils.sgml:
26096         * gst/gstquery.c:
26097         * gst/gstquery.h:
26098           inlined and extended docs
26099
26100 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26101
26102         * check/gst-libs/controller.c: (GST_START_TEST),
26103         (gst_controller_suite):
26104           more tests
26105         * docs/gst/tmpl/gstutils.sgml:
26106         * docs/libs/gstreamer-libs-sections.txt:
26107         * docs/libs/tmpl/gstdataprotocol.sgml:
26108           include path fixes
26109         * examples/controller/audio-example.c: (main):
26110           controller example works now
26111         * gst/gstclock.h:
26112           doc fixes
26113         * tools/gst-inspect.c: (print_element_properties_info):
26114           show param spec flags
26115
26116 2005-08-29  Andy Wingo  <wingo@pobox.com>
26117
26118         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26119
26120 2005-08-28  Andy Wingo  <wingo@pobox.com>
26121
26122         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26123         as having two arguments instead of just one. Allows superclasses
26124         to access information on subclasses -- see the terrible for() loop
26125         in gtype.c:g_type_create_instance for the reason why. All callers
26126         changed.
26127
26128 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26129
26130         * docs/design/part-messages.txt:
26131           update info
26132         * docs/gst/tmpl/.cvsignore:
26133         * docs/gst/tmpl/gstcaps.sgml:
26134         * docs/gst/tmpl/gstclock.sgml:
26135         * gst/gstbus.c:
26136         * gst/gstcaps.c:
26137         * gst/gstcaps.h:
26138         * gst/gstclock.c:
26139         * gst/gstclock.h:
26140         * gst/gstmessage.c:
26141           added descriptions for bus and message
26142           inline caps and clock docs
26143
26144 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26145
26146         * gst/gstmessage.c:
26147         * gst/gstmessage.h:
26148           doc fixes
26149
26150 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26151
26152         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26153           fix div-by-zero
26154
26155 2005-08-26  Andy Wingo  <wingo@pobox.com>
26156
26157         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26158         element_set_state's return val.
26159         (test_2_elements): Add test that's been disabled for months.
26160
26161         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26162         can-activate-pull properties.
26163
26164         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26165         can-activate-pull properties. Implement is_seekable so fakesrc can
26166         operate in pull mode.
26167
26168         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26169         properties.
26170         (gst_base_sink_activate, gst_base_sink_activate_pull)
26171         (gst_base_sink_activate_push): Make activation mode choosing work.
26172         Cleanups.
26173         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26174         is right. Make pull mode work. Post an eos before pausing in pull
26175         mode.
26176         (gst_base_sink_change_state): Pay attention to the core's
26177         change_state() return val.
26178         
26179         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26180         has-getrange properties. Cleanups.
26181         
26182         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26183         has_getrange and replace with can_activate_pull and
26184         can_activate_push.
26185
26186         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26187         locking comments. Remove has_loop, has_chain and replace with
26188         can_activate_pull and can_activate_push.
26189
26190 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26191
26192         * configure.ac:
26193         * examples/Makefile.am:
26194         * examples/metadata/Makefile.am:
26195         * examples/metadata/read-metadata.c: (message_loop),
26196         (have_pad_handler), (make_pipeline), (print_tag), (main):
26197           Add metadata reading example that loops over a list of filenames,
26198           dumping any tags found.
26199
26200         * gst/gstbus.c: (gst_bus_dispose):
26201         * gst/gstelement.c: (gst_element_dispose):
26202           Release a few potentially-held references in dispose.
26203
26204 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26205
26206         * docs/gst/tmpl/gstminiobject.sgml:
26207           do *not* add tmpl/*.sgml files to CVS!
26208
26209 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26210
26211         * libs/gst/bytestream/.cvsignore:
26212         * libs/gst/bytestream/Makefile.am:
26213         * libs/gst/bytestream/adapter.c:
26214         * libs/gst/bytestream/adapter.h:
26215         * libs/gst/bytestream/bytestream.c:
26216         * libs/gst/bytestream/bytestream.h:
26217         * libs/gst/bytestream/filepad.c:
26218         * libs/gst/bytestream/filepad.h:
26219           removing obsolete files
26220
26221 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26222
26223         * docs/gst/gstreamer-docs.sgml:
26224         * docs/libs/gstreamer-libs-docs.sgml:
26225           disabed additional index entries again, as this makes docs-gen just
26226           slow and they aren't useful yet
26227         * docs/libs/gstreamer-libs-sections.txt:
26228           little -section.txt cleanup for libs
26229
26230 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26231
26232         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26233         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26234           fix up some debugging
26235         (gst_base_transform_get_unit_size),
26236         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26237         (gst_base_transform_handle_buffer):
26238         * gst/base/gstbasetransform.h:
26239           handle and store timed NEWSEGMENT events so that subclasses that
26240           calculate time by counting samples have a segment_start time they
26241           need to add to their timestamps - see audioresample
26242
26243 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26244
26245         * gst/gstbin.h:
26246           removed ';' from the end of macro defs
26247         * docs/gst/gstreamer-docs.sgml:
26248         * docs/gst/gstreamer-sections.txt:
26249         * docs/gst/tmpl/.cvsignore:
26250         * gst/gstbus.h:
26251         * gst/gstelement.c: (gst_element_class_init),
26252         (gst_element_set_state), (activate_pads),
26253         (gst_element_save_thyself):
26254         * gst/gstevent.c: (gst_event_new_newsegment):
26255         * gst/gstevent.h:
26256         * gst/gstiterator.c:
26257         * gst/gstiterator.h:
26258         * gst/gstpad.c:
26259         * gst/gstprobe.h:
26260         * gst/gstutils.c: (gst_pad_query_convert):
26261         * gst/gstutils.h:
26262           fixed parameter name mismatches between source, header and docs
26263           added some more docs, resolved the last batch of unused elements in
26264           docs (now someone needs to doc them)
26265
26266 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26267
26268         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26269         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26270           don't walk through the plugins backwards.  Where is all this
26271           reversed logic coming from ?
26272
26273 2005-08-25  Wim Taymans  <wim@fluendo.com>
26274
26275         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26276         (gst_base_transform_transform_size),
26277         (gst_base_transform_configure_caps),
26278         (gst_base_transform_get_unit_size),
26279         (gst_base_transform_buffer_alloc),
26280         (gst_base_transform_change_state):
26281         * gst/base/gstbasetransform.h:
26282         Cache caps unit_size.
26283         Make sure we cannot negotiate up and downstream at the
26284         same time.
26285
26286 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26287
26288         * gst/gst.c: (init_pre), (init_post):
26289           register the installed plugin path after the env var
26290         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26291         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26292           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26293           directories, so the tests can prefer uninstalled over installed
26294
26295 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26296
26297         * gst/base/gstbasetransform.h:
26298           comment
26299         * gst/gstpad.c:
26300           add to docs
26301
26302 2005-08-25  Wim Taymans  <wim@fluendo.com>
26303
26304         * gst/gstbin.c: (bin_bus_handler):
26305         Be a bit more conservative about the posted message.
26306         
26307         * gst/gstbus.c: (gst_bus_post):
26308         Some cleanups, warn wrong return values.
26309
26310 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26311
26312         * check/gst/gstbin.c: (GST_START_TEST):
26313         * gst/gstbin.c: (bin_bus_handler):
26314         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26315         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26316         (gst_message_new_warning), (gst_message_new_tag),
26317         (gst_message_new_state_changed), (gst_message_new_segment_start),
26318         (gst_message_new_segment_done), (gst_message_new_custom):
26319         * gst/gstmessage.h:
26320         * tools/gst-launch.c: (event_loop):
26321         * tools/gst-md5sum.c: (event_loop):
26322           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26323
26324 2005-08-25  Wim Taymans  <wim@fluendo.com>
26325
26326         * check/generic/states.c: (GST_START_TEST):
26327         Cleanup can be done at the end.
26328
26329         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26330         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26331         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26332         Oh boy.. Thanks for finding this, Thomas. 
26333
26334 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26335
26336         * docs/gst/gstreamer.types:
26337           added missing types
26338
26339 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26340
26341         * docs/gst/gstreamer-docs.sgml:
26342         * docs/gst/gstreamer-sections.txt:
26343         * docs/gst/tmpl/.cvsignore:
26344         * gst/gstbin.c:
26345         * gst/gstiterator.c:
26346         * gst/gstutils.c:
26347         * gst/registries/gstxmlregistry.h:
26348           added missing classes and symbols (123 more to go)
26349           removed removed symbols from section file
26350           fixed many doc-comments
26351
26352 2005-08-24  Wim Taymans  <wim@fluendo.com>
26353
26354         * check/generic/states.c: (GST_START_TEST):
26355         Make sure all tasks are stopped.
26356
26357         * check/gst/gstbin.c: (GST_START_TEST):
26358         Unref after usage for proper valgrinding.
26359
26360         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26361         Really wait for the task to stop before destroying the
26362         mutex.
26363
26364         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26365         (gst_queue_src_activate_push):
26366         Small cleanups. Don't stop the task when we did not start
26367         it.
26368
26369         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26370         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26371         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26372         (gst_task_join):
26373         * gst/gsttask.h:
26374         Protect the stream lock with the object lock.
26375         Disallow setting the stream lock when running.
26376         Add cleanup_all to wait for the threadpool to finish.
26377         Remove code to autoallocate a mutex if none was provided.
26378         Add _join() to wait for a task to stop.
26379         Protect the thread pool with a global lock.
26380
26381 2005-08-24  Wim Taymans  <wim@fluendo.com>
26382
26383         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26384         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26385         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26386         * gst/base/gstbasesink.h:
26387         Handle newsegment events correctly.
26388         Drop buffers out of the segment range.
26389
26390 2005-08-22  Andy Wingo  <wingo@pobox.com>
26391
26392         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26393         macro, implements an interface and gstimplementsinterface for a
26394         new type.
26395
26396 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26397
26398         * check/Makefile.am:
26399         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26400           add a test that does a bunch of state changes on elements
26401           needs some fixing for valgrind
26402         * check/states/sinks.c: (gst_object_suite):
26403           whitespace
26404         * gst/gstcaps.h:
26405           add prototype for gst_caps_is_equal_fixed
26406         * gst/gstplugin.c:
26407         * gst/gstregistrypool.c:
26408           doc fixes
26409
26410 2005-08-24  Andy Wingo  <wingo@pobox.com>
26411
26412         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26413         convert a negative value. Doesn't make much sense. Mostly this is
26414         here to force callers to ensure -1 maps to -1.
26415
26416 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26417
26418         * docs/pwg/advanced-types.xml:
26419           Well done to Michael for catching my deliberate introduction
26420           of this spelling mistake. 
26421         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26422         * gst/gstelement.h:
26423           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26424           unlink pads before removing the element from the bin.
26425
26426 2005-08-24  Andy Wingo  <wingo@pobox.com>
26427
26428         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26429         the same thing as GST_DEBUG=*:4.
26430         (parse_debug_level, parse_debug_category): New helper parsers.
26431
26432 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26433
26434         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26435         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26436         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26437         (gst_base_transform_buffer_alloc),
26438         (gst_base_transform_handle_buffer):
26439           use gboolean return values and pointers to size so we can use the
26440           full GST_BUFFER_SIZE range (guint) for buffer sizes
26441           use GstPadDirection for transform_caps
26442         * gst/base/gstbasetransform.h:
26443           rename get_size to get_unit_size since that's what it is
26444         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26445           use GstPadDirection for transform_caps
26446         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26447         * gst/gstutils.h:
26448           cleanup and debugging
26449
26450 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26451
26452         * gst/gstelement.c: (gst_element_class_init),
26453         (gst_element_set_state), (activate_pads),
26454         (gst_element_save_thyself):
26455         * tools/gst-compprep.c: (main):
26456         * tools/gst-inspect.c: (print_element_properties_info):
26457         * tools/gst-xmlinspect.c: (print_element_properties):
26458           Fixed long standing mem-leak
26459
26460 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26461
26462         * check/gst/gstbin.c: (GST_START_TEST):
26463         * gst/gstbin.c: (bin_bus_handler):
26464         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26465         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26466         (gst_message_new_warning), (gst_message_new_tag),
26467         (gst_message_new_state_changed), (gst_message_new_segment_start),
26468         (gst_message_new_segment_done), (gst_message_new_custom):
26469         * gst/gstmessage.h:
26470         * tools/gst-launch.c: (event_loop):
26471         * tools/gst-md5sum.c: (event_loop):
26472           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26473           that applications can sensibly post custom messages with references
26474           to their own objects.
26475
26476 2005-08-24  Andy Wingo  <wingo@pobox.com>
26477
26478         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26479         already.
26480
26481 2005-08-24  Wim Taymans  <wim@fluendo.com>
26482
26483         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26484         (gst_base_transform_transform_caps),
26485         (gst_base_transform_transform_size),
26486         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26487         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26488         (gst_base_transform_handle_buffer):
26489         * gst/base/gstbasetransform.h:
26490         Many fixes and new features added by Thomas. Can now also do
26491         transforms with variable sizes and a custom fixate_caps function.
26492
26493 2005-08-24  Wim Taymans  <wim@fluendo.com>
26494
26495         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26496         Some debugging.
26497
26498         * gst/gstclock.h:
26499         Cast to ClockTime before formatting to time.
26500
26501         * gst/gstutils.h:
26502         Cleanups.
26503
26504 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26505
26506         * check/gst-libs/controller.c: (GST_START_TEST),
26507         (gst_controller_suite):
26508         * docs/gst/tmpl/gstcaps.sgml:
26509         * docs/gst/tmpl/gstghostpad.sgml:
26510         * docs/gst/tmpl/gstquery.sgml:
26511         * docs/gst/tmpl/gstutils.sgml:
26512         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26513         (gst_object_sink_values), (gst_object_get_value_arrays),
26514         (gst_object_get_value_array):
26515           gracefully handle helper method calls to objects that are not beeing
26516           controlled, added test case for that          
26517
26518 2005-08-23  Wim Taymans  <wim@fluendo.com>
26519
26520         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26521         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26522         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26523         (gst_event_parse_qos), (gst_event_new_seek),
26524         (gst_event_parse_seek):
26525         * gst/gstevent.h:
26526         Some more debugging output and doc cleanups.
26527
26528         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26529         Fix possible deadlock.
26530
26531 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26532
26533         * docs/gst/gstreamer-docs.sgml:
26534         * docs/gst/gstreamer-sections.txt:
26535         * docs/gst/gstreamer.types:
26536         * docs/gst/tmpl/.cvsignore:
26537         * gst/gstbin.h:
26538         * gst/gstbus.c:
26539         * gst/gstelement.c:
26540         * gst/gstevent.h:
26541           added 100 symbols from gstreamer-unused.txt to the right sections
26542           fixed more broken comments
26543           added GstBus to docs
26544
26545 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26546
26547         * docs/gst/gstreamer-sections.txt:
26548         * docs/gst/tmpl/.cvsignore:
26549         * docs/gst/tmpl/gstbin.sgml:
26550         * docs/gst/tmpl/gstbuffer.sgml:
26551         * gst/base/gstbasesrc.c:
26552         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26553         * gst/gstbuffer.c:
26554         * gst/gstbuffer.h:
26555         * tools/gst-launch.1.in:
26556           inlined more doc comments, added missing comments and fixed comments
26557           fixed typos
26558
26559 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26560
26561         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26562           some debugging
26563         * gst/gstcaps.h:
26564           whitespace fixes
26565         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26566           more debugging
26567         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26568         * gst/gststructure.h:
26569           add a fixate function for booleans; add a FIXME that these func
26570           names should probably be gst_structure_fixate_*
26571
26572 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26573
26574         * docs/gst/gstreamer-docs.sgml:
26575         * docs/gst/gstreamer-sections.txt:
26576         * gst/Makefile.am:
26577         * gst/gstbin.c: (gst_bin_get_type),
26578         (gst_bin_child_proxy_get_child_by_index),
26579         (gst_bin_child_proxy_get_children_count),
26580         (gst_bin_child_proxy_init):
26581         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26582         (gst_child_proxy_get_child_by_index),
26583         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26584         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26585         (gst_child_proxy_get), (gst_child_proxy_set_property),
26586         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26587         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26588         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26589         * gst/gstchildproxy.h:
26590         * gst/parse/grammar.y:
26591         * tools/gst-inspect.c: (print_interfaces),
26592         (print_element_properties_info), (print_element_info):
26593           ported gstchildproxy over from 0.8
26594           ported gst-inspect fixes and enhancements over from 0.8
26595
26596 2005-08-22  Wim Taymans  <wim@fluendo.com>
26597
26598         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26599         (gst_base_transform_handle_buffer):
26600         Also call the transform function if we have ANY caps.
26601
26602         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26603         Fix debug info.
26604
26605 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26606
26607         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26608           Don't pretend to handle seek events if the source is not seekable
26609
26610 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26611
26612         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26613           Remove extra parameter to debug output
26614
26615         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26616         (gst_base_src_do_seek), (gst_base_src_activate_push):
26617           Fix seek event handling.
26618
26619         * gst/gstpipeline.c: (gst_pipeline_change_state):
26620         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26621         (gst_queue_src_activate_push):
26622           Don't start the src pad task on FLUSH_STOP if the pad
26623           isn't linked.
26624           Debug changes.
26625
26626 2005-08-22  Wim Taymans  <wim@fluendo.com>
26627
26628         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26629         Added check for gst_static_caps_get() refcounting.
26630
26631 2005-08-22  Wim Taymans  <wim@fluendo.com>
26632
26633         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26634         Make _static_caps_get() refcounting sane.
26635         
26636         * gst/gstelement.c: (gst_element_set_state):
26637         Add g_return_val_if_fail() to protect against segfaults.
26638
26639 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26640
26641         * docs/gst/tmpl/gstevent.sgml:
26642         * gst/gstevent.c:
26643         * gst/gstevent.h:
26644           inlined remaining docs, added missing doc comments
26645
26646 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26647
26648         * check/gst/gstbin.c: (GST_START_TEST):
26649           since we don't know when preroll is done, use refcount range
26650           check for the sink
26651         * gst/check/gstcheck.h:
26652           add macro for checking refcount range
26653
26654 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26655
26656         * check/Makefile.am:
26657           clean up environment for when registry gets built versus
26658           when actual tests are run; valgrind seems to not report
26659           leaks if GST_PLUGIN_PATH is set to some specific values
26660         * check/gst/gstbin.c: (GST_START_TEST):
26661           add more refcounting checks; maybe this exposes a
26662           preroll lock bug ?
26663         * common/check.mak:
26664         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26665         * gst/check/gstcheck.h:
26666         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26667         (gst_bin_change_state):
26668         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26669           add/fix debugging/whitespace
26670
26671 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26672
26673         * check/gst/gstevent.c: (event_probe), (test_event),
26674         (GST_START_TEST):
26675          Er, don't call gst_bin_watch_for_state_change you idiot.
26676
26677 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26678
26679         * check/Makefile.am:
26680           Use CHECK_CFLAGS and CHECK_LIBS
26681         * check/gst/gstevent.c: (event_probe), (test_event),
26682         (GST_START_TEST):
26683           Don't leak events.
26684         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26685         (gst_base_src_start), (gst_base_src_stop),
26686         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26687         (gst_base_src_change_state):
26688           Sprinkle gst_base_src_stop liberally around error paths to fix
26689           problems reusing a source after failed state changes.
26690         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26691         (helper_find_suggest), (gst_type_find_helper):
26692           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26693         * gst/gstevent.h:
26694         * docs/gst/tmpl/gstevent.sgml:
26695           Migrate part of the docs from the SGML file. Wait for ensonic to
26696           tell me how I did it wrong ;)
26697         * tools/gst-typefind.c: (main):
26698           Extra robustness to state changes between files.
26699
26700 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26701
26702         * check/Makefile.am:
26703           don't valgrind the controller test - it's leaking - Stefan, HELP
26704         * gst/check/gstcheck.c: (gst_check_message_error),
26705         (gst_check_chain_func), (gst_check_setup_element),
26706         (gst_check_teardown_element), (gst_check_setup_src_pad),
26707         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26708         (gst_check_teardown_sink_pad):
26709         * gst/check/gstcheck.h:
26710           add a bunch of methods to set up elements, and src and sink pads
26711         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26712         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26713         (GST_START_TEST):
26714           use them
26715         * gst/gstmessage.c:
26716         * gst/gsttag.h:
26717           whitespace/doc fixes
26718
26719 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26720
26721         * gst/gstelement.h:
26722           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26723           be handled by the application and not always printed as well
26724
26725 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26726
26727         * check/Makefile.am:
26728           set GST_TOOLS_DIR
26729         * gst/check/gstcheck.c: (gst_check_message_error):
26730         * gst/check/gstcheck.h:
26731           add a fail_unless_equals_int
26732           add fail_unless for error messages
26733
26734 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26735
26736         * check/Makefile.am:
26737         * check/gst.supp:
26738         * common/Makefile.am:
26739         * common/check.mak:
26740         * common/gst.supp:
26741           factor out some of the common stuff so we can use it
26742
26743 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26744
26745         * check/Makefile.am:
26746         * check/gst/gstiterator.c: (GST_START_TEST):
26747         * check/gst/gstsystemclock.c: (GST_START_TEST),
26748         (gst_systemclock_suite):
26749         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26750         * gst/gstclock.c:
26751           valgrind more tests
26752
26753 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26754
26755         * check/elements/.cvsignore:
26756         * check/elements/gstfakesrc.c:
26757           rename to name of element
26758         * check/elements/identity.c: (chain_func), (event_func),
26759         (setup_identity), (cleanup_identity), (GST_START_TEST),
26760         (identity_suite), (main):
26761           add a test for identity
26762         * check/Makefile.am:
26763         * pkgconfig/Makefile.am:
26764         * pkgconfig/gstreamer-check.pc.in:
26765         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26766         * gst/check:
26767         * gst/Makefile.am:
26768         * configure.ac:
26769           move the check stuff to a library that gets installed
26770         * check/gst-libs/controller.c: (GST_START_TEST):
26771         * check/gst-libs/gdp.c:
26772         * check/gst/gst.c: (GST_START_TEST):
26773         * check/gst/gstbin.c:
26774         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26775         * check/gst/gstbus.c:
26776         * check/gst/gstcaps.c: (GST_START_TEST):
26777         * check/gst/gstelement.c:
26778         * check/gst/gstghostpad.c:
26779         * check/gst/gstiterator.c:
26780         * check/gst/gstmessage.c:
26781         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26782         * check/gst/gstobject.c:
26783         * check/gst/gstpad.c: (GST_START_TEST):
26784         * check/gst/gststructure.c: (GST_START_TEST):
26785         * check/gst/gstsystemclock.c: (GST_START_TEST),
26786         (gst_systemclock_suite):
26787         * check/gst/gsttag.c: (gst_tag_suite):
26788         * check/gst/gstvalue.c:
26789         * check/pipelines/cleanup.c:
26790         * check/pipelines/simple_launch_lines.c:
26791         * check/states/sinks.c:
26792           change include statement
26793
26794         * docs/gst/gstreamer-sections.txt:
26795         * docs/gst/tmpl/gstpad.sgml:
26796           document more pad stuff
26797         * gst/gstminiobject.c: (gst_mini_object_ref),
26798         (gst_mini_object_unref):
26799           debug refcounting
26800
26801 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26802
26803         * docs/gst/tmpl/gst.sgml:
26804         * gst/gst.c:
26805           eliminate another tmpl file, fix spelling in the long-description
26806
26807 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26808
26809         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26810         (test_event), (timediff), (gstevents_suite):
26811           Should fix build on 64-bit arch's
26812
26813 2005-08-18  Andy Wingo  <wingo@pobox.com>
26814
26815         Make sure that when a pipeline goes to PLAYING, that data has
26816         actually hit the sink.
26817
26818         * check/states/sinks.c (test_sink): A sink that doesn't get any
26819         data shouldn't return SUCCESS for going to either PLAYING or
26820         PAUSED. Test also the return values on the way back down.
26821
26822         * gst/gstelement.c (gst_element_set_state): When changing the
26823         state of an element currently changing state asynchronously, go to
26824         lost-state after commiting the pending state. Makes future calls
26825         to get_state continue to return ASYNC.
26826
26827         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26828         ASYNC when going to PLAYING if we still don't have preroll, as can
26829         happen with live sources.
26830
26831 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26832
26833         * docs/pwg/advanced-types.xml:
26834           Hack long paragraph into 2 chunks as a workaround for buggy
26835           jadetex version in sid and breezy that loops infinitely and
26836           eats all RAM.
26837
26838 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26839
26840         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26841         (test_event), (timediff), (gstevents_suite):
26842           Provide more error margin in clock measurements to allow for 
26843           g_get_current_time inaccuracies.
26844
26845 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26846
26847         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26848         (test_event), (timediff), (gstevents_suite):
26849            Fix error message output so I might be able to tell why the
26850            test works here but fails on the build farm.
26851
26852 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26853
26854         * check/Makefile.am:
26855         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26856         (test_event), (timediff), (gstevents_suite), (main):
26857           I wrote a test!
26858
26859         * docs/design/part-seeking.txt:
26860           Spelling correction
26861
26862         * docs/gst/tmpl/gstevent.sgml:
26863         * docs/gst/tmpl/gstfakesrc.sgml:
26864           Docs updates.
26865
26866         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26867           Treat a buffer-without-newsegment the same as a receiving 
26868           a newsegment not in time format, and disable syncing to the clock
26869           with a warning.
26870
26871         * gst/gstbus.c: (gst_bus_set_sync_handler):
26872           Assert if anyone tries to replace the existing sync_handler for bus, 
26873           as only the owner should be setting it.
26874
26875         * gst/gstevent.h:
26876           Have a fixed set of custom event enums with events identified by
26877           their structure name (as in 0.8), rather than a free-for-all
26878           allowing collisions between enum values from different plugins.
26879
26880         * gst/gstpad.c: (gst_pad_class_init):
26881           Docs change.
26882           
26883         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26884           Handle out-of-band downstream events from the sending thread.
26885
26886 2005-08-17  Andy Wingo  <wingo@pobox.com>
26887
26888         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26889         play-timeout==0 to mean no timeout at all. In that case, don't
26890         bother with a get_state or a warning, just return directly, even
26891         if it's ASYNC.
26892
26893         * gst/base/gstbasetransform.c: Debug changes.
26894
26895         * gst/gstutils.h:
26896         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26897         ensure bins post state change messages. A bit of a hack but I can't
26898         think of a way to avoid it.
26899
26900         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26901
26902 2005-08-16  Andy Wingo  <wingo@pobox.com>
26903
26904         * gst/base/gstadapter.h:
26905         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26906         peek() but you own the data. Not terribly efficient atm.
26907
26908 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26909
26910         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26911         (gst_element_found_tags):
26912         * gst/gstutils.h:
26913           Add two utility functions for tag handling.
26914
26915 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26916
26917         * docs/manual/advanced-dataaccess.xml:
26918         * docs/manual/basics-helloworld.xml:
26919           Fix docs to use _bin_add() before _link(), which fixes the examples
26920           with recent core versions (reported by Madhan Raj M
26921           <raj_madan@rediffmail.com>, #313199).
26922
26923 2005-08-16  Wim Taymans  <wim@fluendo.com>
26924
26925         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26926         Added subtract checks.
26927
26928         * docs/design/part-events.txt:
26929         Some more docs about newsegment
26930
26931         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26932         Fix FIXME
26933
26934         * gst/gstcaps.c: (gst_caps_to_string):
26935         Add comments, cleanups.
26936         
26937         * gst/gstelement.c: (gst_element_save_thyself):
26938         cleanups
26939         
26940         * gst/gstvalue.c: (gst_value_collect_int_range),
26941         (gst_string_unwrap), (gst_value_union_int_int_range),
26942         (gst_value_union_int_range_int_range),
26943         (gst_value_intersect_int_int_range),
26944         (gst_value_intersect_int_range_int_range),
26945         (gst_value_intersect_double_double_range),
26946         (gst_value_intersect_double_range_double_range),
26947         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26948         (gst_value_subtract_int_range_int),
26949         (gst_value_subtract_double_range_double),
26950         (gst_value_subtract_double_range_double_range),
26951         (gst_value_subtract_from_list), (gst_value_subtract_list),
26952         (gst_value_can_compare), (gst_value_compare_fraction):
26953         Cleanups, add comments, remove unneeded asserts.
26954
26955 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26956
26957         * tools/gst-launch.c: (event_loop):
26958           don't convert NULL structures to strings
26959
26960 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26961
26962         * docs/gst/gstreamer-sections.txt:
26963           made some defines private
26964         * docs/gst/tmpl/gstconfig.sgml:
26965         * docs/gst/tmpl/gstqueue.sgml:
26966         * docs/gst/tmpl/gsttaglist.sgml:
26967         * docs/gst/tmpl/gsttypes.sgml:
26968         * docs/gst/tmpl/gstutils.sgml:
26969         * docs/pwg/appendix-porting.xml:
26970         * gst/base/gstbasesink.h:
26971         * gst/base/gstbasesrc.c:
26972         * gst/base/gstbasesrc.h:
26973         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26974         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26975         * gst/gstelement.c: (gst_element_class_init):
26976         * gst/gstpad.c: (gst_pad_class_init):
26977         * gst/gstqueue.c: (gst_queue_class_init):
26978         * gst/gstxml.c: (gst_xml_class_init):
26979           documented all undocumented signal inline
26980         * libs/gst/controller/gst-controller.h:
26981           added padding
26982
26983 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26984
26985         * docs/pwg/appendix-porting.xml:
26986           Document _set_link_function -> _set_setcaps_function.
26987
26988 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26989
26990         * check/Makefile.am:
26991           add a .check target for running the check
26992         * check/gst-libs/controller.c: (GST_START_TEST):
26993           cosmetic fixups
26994         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26995           complete checks for gstbuffer; would be nice if I could get the
26996           gcov stuff to work so I can see if I actually completed gstbuffer.c
26997         * check/gstcheck.h:
26998           add ASSERT_BUFFER_REFCOUNT
26999
27000 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27001
27002         * docs/gst/gstreamer-sections.txt:
27003         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27004         * gst/gsttag.h:
27005           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27006           spew out a warning if a tag that is already registered
27007           is re-registered, unless it is re-registered with a 
27008           different type (#308438).
27009
27010 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27011
27012         * docs/pwg/appendix-porting.xml:
27013         * docs/pwg/building-state.xml:
27014           Add some paragraphs about state changes in 0.9 to the PWG
27015           and the porting guide, in particular about the new meaning
27016           of GST_STATE_PAUSED and how to write state change functions
27017           with concurrent access by multiple threads in mind.
27018
27019 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27020
27021         * docs/gst/gstreamer-docs.sgml:
27022         * docs/libs/gstreamer-libs-docs.sgml:
27023           added deprecation and since indexes
27024         * libs/gst/controller/gst-controller.c:
27025         * libs/gst/controller/gst-helper.c:
27026           added since tags
27027
27028
27029 2005-08-11  Wim Taymans  <wim@fluendo.com>
27030
27031         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27032         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27033         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27034         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27035         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27036         (gst_ghost_pad_set_target):
27037         Actually implement (re)setting the target on a ghostpad
27038         as described in the docs.
27039
27040 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27041
27042         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27043           Check whether GST_DEBUG_NO_COLOR environment variable is
27044           set and disable coloured debug output if that is the case.
27045
27046 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27047
27048         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27049         (gst_type_find_helper):
27050           The memory returned by gst_type_find_peek() needs to
27051           stay valid until the end of a typefind function, and
27052           typefind functions may keep results from different 
27053           offsets around, so we can't just unref the buffer from
27054           the previous _peek(), but have to save all buffers 
27055           returned by _peek() until typefinding is done and only
27056           free them then.
27057
27058 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27059
27060         * docs/gst/gstreamer-sections.txt:
27061         * gst/gstutils.h:
27062           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27063
27064 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27065
27066         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27067           Fix a pretty good memleak.
27068
27069 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27070
27071         * gst/gstiterator.h:
27072           Fix wrong include and 'make distcheck'.
27073
27074 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27075
27076         * gst/gstbin.c: (bin_bus_handler):
27077           Use gst_element_post_message() instead.
27078
27079 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27080
27081         * gst/base/gstadapter.h:
27082         * gst/base/gstbasesink.h:
27083         * gst/base/gstbasesrc.h:
27084         * gst/base/gstbasetransform.h:
27085         * gst/base/gstcollectpads.h:
27086         * gst/base/gstpushsrc.h:
27087         * gst/gstiterator.h:
27088           Add padding to our base elements' class and instance structs and
27089           to GstIterator (you will need to rebuild all plugins and apps!)
27090
27091 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27092
27093         * gst/gstbin.c: (bin_bus_handler):
27094           Make default message forwarding from child->bus to bin->bus
27095           threadsafe and make it not emit warnings if the parent has no bus.
27096
27097 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27098
27099         * gst/gstelement.c: (activate_pads):
27100           On paused->ready, set pad->caps to NULL, as is the documented
27101           behaviour in this state change. Fixes playback of series of
27102           media files when visualization is enabled in Totem.
27103
27104 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27105
27106         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27107           Allow NULL as filter-caps (which means "any").
27108
27109 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27110
27111         * docs/libs/gstreamer-libs-sections.txt:
27112         * libs/gst/controller/gst-controller.c:
27113         * libs/gst/controller/gst-controller.h:
27114         * libs/gst/controller/gst-helper.c:
27115           adding more entries to the docs and fix small doc-bugs
27116
27117 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27118
27119         * docs/gst/gstreamer-docs.sgml:
27120         * docs/gst/gstreamer-sections.txt:
27121         * docs/gst/gstreamer.types:
27122         * docs/gst/tmpl/gstbasesink.sgml:
27123         * docs/gst/tmpl/gstbasesrc.sgml:
27124         * docs/gst/tmpl/gstbasetransform.sgml:
27125         * docs/gst/tmpl/gstfakesrc.sgml:
27126         * gst/base/gstcollectpads.c:
27127         * gst/base/gstcollectpads.h:
27128         * libs/gst/controller/gst-controller.c:
27129         * libs/gst/controller/gst-controller.h:
27130         * libs/gst/controller/gst-helper.c:
27131         * libs/gst/controller/gst-interpolation.c:
27132         * libs/gst/controller/lib.c:
27133           added long/short desc for controller docs
27134           added collectpads base class docs
27135           added correct includes to base-class docs
27136
27137 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27138
27139         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27140         (gst_test_mono_source_set_property),
27141         (gst_test_mono_source_class_init), (GST_START_TEST),
27142         (gst_controller_suite):
27143         * docs/gst/gstreamer-docs.sgml:
27144         * docs/gst/gstreamer-sections.txt:
27145         * docs/gst/gstreamer.types:
27146         * docs/libs/gstreamer-libs-docs.sgml:
27147         * docs/libs/gstreamer-libs-sections.txt:
27148         * gst/base/gstadapter.c:
27149         * libs/gst/controller/gst-controller.c:
27150         (gst_controlled_property_new), (gst_controlled_property_free),
27151         (gst_controller_new_valist),
27152         (gst_controller_remove_properties_valist),
27153         (gst_controller_sink_values), (_gst_controller_finalize):
27154         * libs/gst/controller/gst-controller.h:
27155         * libs/gst/controller/gst-helper.c:
27156         (gst_object_control_properties), (gst_object_uncontrol_properties),
27157         (gst_object_get_controller), (gst_object_set_controller),
27158         (gst_object_sink_values), (gst_object_get_value_arrays),
27159         (gst_object_get_value_array):
27160           more tests (and fixes) for the controller
27161           more docs for the controller
27162           integrated companies docs for the adapter 
27163
27164 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27165
27166         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27167         (GST_START_TEST), (fakesrc_suite):
27168           add tests for sizetype
27169
27170 2005-08-04  Andy Wingo  <wingo@pobox.com>
27171
27172         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27173         fixes buffer_alloc proxying among other things.
27174
27175         * gst/base/gstbasetransform.c:
27176         * gst/base/gstbasetransform.h:
27177         Revert patch to gstbasetransform from 7-28 removing
27178         delay_configure.
27179
27180         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27181         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27182         Semantics changed, should return not the size of the output buffer
27183         but the byte size of a buffer with a given caps.
27184
27185         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27186         debug object.
27187         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27188         out) are not the pad caps until setcaps finishes.
27189         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27190         not-in-place case as well. Deal with changing from in-place to
27191         not-in-place within calling pad_alloc_buffer. Still a bit
27192         concerned about the overhead here...
27193
27194 2005-08-03  Andy Wingo  <wingo@pobox.com>
27195
27196         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27197         fixating is an error.
27198
27199 2005-08-04  Edward Hervey  <edward@fluendo.com>
27200
27201         * gst/base/gstadapter.h: 
27202         Added gst_adapter_get_type() to the header
27203
27204 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27205
27206         * check/Makefile.am:
27207         * check/gst-libs/controller.c:
27208         * libs/gst/controller/gst-controller.c:
27209         (gst_controller_new_valist):
27210           added check test suite for the controller
27211         * gst/base/gstpushsrc.c:
27212           fixed a doc typo
27213
27214 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27215
27216         * docs/gst/Makefile.am:
27217         * docs/gst/gstreamer-docs.sgml:
27218         * docs/gst/gstreamer-sections.txt:
27219         * docs/gst/gstreamer.types:
27220         * docs/gst/tmpl/gstfakesrc.sgml:
27221         * gst/base/README:
27222         * gst/base/gstbasesink.c:
27223         * gst/base/gstbasesink.h:
27224         * gst/base/gstbasesrc.c:
27225         * gst/base/gstbasesrc.h:
27226         * gst/base/gstbasetransform.c:
27227         * gst/base/gstpushsrc.c:
27228         * gst/base/gstpushsrc.h:
27229           add short/long description docs to base classes
27230           add pushsrc to the docs
27231           remove consolidated doc fragments
27232
27233 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27234
27235         * configure.ac:
27236         * docs/libs/Makefile.am:
27237         * docs/libs/gstreamer-libs-docs.sgml:
27238         * docs/libs/gstreamer-libs-sections.txt:
27239         * docs/libs/gstreamer-libs.types:
27240         * examples/Makefile.am:
27241         * examples/controller/.cvsignore:
27242         * examples/controller/Makefile.am:
27243         * examples/controller/audio-example.c: (main):
27244         * libs/gst/Makefile.am:
27245         * libs/gst/controller/.cvsignore:
27246         * libs/gst/controller/Makefile.am:
27247         * libs/gst/controller/gst-controller.c:
27248         (on_object_controlled_property_changed), (gst_timed_value_compare),
27249         (gst_timed_value_find),
27250         (gst_controlled_property_set_interpolation_mode),
27251         (gst_controlled_property_new), (gst_controlled_property_free),
27252         (gst_controller_find_controlled_property),
27253         (gst_controller_new_valist), (gst_controller_new),
27254         (gst_controller_remove_properties_valist),
27255         (gst_controller_remove_properties), (gst_controller_set),
27256         (gst_controller_set_from_list), (gst_controller_unset),
27257         (gst_controller_get), (gst_controller_get_all),
27258         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27259         (gst_controller_get_value_array),
27260         (gst_controller_set_interpolation_mode),
27261         (_gst_controller_finalize), (_gst_controller_init),
27262         (_gst_controller_class_init), (gst_controller_get_type):
27263         * libs/gst/controller/gst-controller.h:
27264         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27265         (g_object_uncontrol_properties), (g_object_get_controller),
27266         (g_object_set_controller), (g_object_sink_values),
27267         (g_object_get_value_arrays), (g_object_get_value_array):
27268         * libs/gst/controller/gst-interpolation.c:
27269         (gst_controlled_property_find_timed_value_node),
27270         (interpolate_none_get), (interpolate_trigger_get),
27271         (interpolate_trigger_get_value_array):
27272         * libs/gst/controller/lib.c: (gst_controller_init):
27273         * pkgconfig/Makefile.am:
27274         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27275         * pkgconfig/gstreamer-control.pc.in:
27276         * testsuite/Makefile.am:
27277         * testsuite/controller/.cvsignore:
27278         * testsuite/controller/Makefile.am:
27279         * testsuite/controller/interpolator.c: (main):
27280           added controller code
27281           removed dparam pc files
27282
27283 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27284         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27285         (gst_collectpads_stop):
27286           Broadcast the condition when shutting down, to make sure we wake all
27287           threads up. Shut down pads on finalize, for safety.
27288
27289 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27290         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27291         (gst_base_transform_handle_buffer),
27292         (gst_base_transform_change_state):
27293           Handle PAUSED->READY->PAUSED transition after negotiation
27294           occurred already.
27295         * gst/gstmessage.c: (gst_message_init):
27296           Extra piece of debug for new messages.
27297
27298 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27299
27300         * configure.ac:
27301         * docs/gst/tmpl/gstbasesrc.sgml:
27302         * docs/gst/tmpl/gstelement.sgml:
27303         * docs/gst/tmpl/gstevent.sgml:
27304         * docs/gst/tmpl/gstfakesrc.sgml:
27305         * docs/gst/tmpl/gstformat.sgml:
27306         * docs/gst/tmpl/gstghostpad.sgml:
27307         * docs/gst/tmpl/gstpad.sgml:
27308         * docs/gst/tmpl/gstquery.sgml:
27309         * docs/gst/tmpl/gststructure.sgml:
27310         * docs/gst/tmpl/gsttaglist.sgml:
27311         * docs/gst/tmpl/gstvalue.sgml:
27312         * docs/libs/gstreamer-libs-docs.sgml:
27313         * docs/libs/gstreamer-libs-sections.txt:
27314         * docs/libs/gstreamer-libs.types:
27315         * libs/gst/Makefile.am:
27316         * libs/gst/control/.cvsignore:
27317         * libs/gst/control/Makefile.am:
27318         * libs/gst/control/control.c:
27319         * libs/gst/control/control.h:
27320         * libs/gst/control/dparam.c:
27321         * libs/gst/control/dparam.h:
27322         * libs/gst/control/dparam_smooth.c:
27323         * libs/gst/control/dparam_smooth.h:
27324         * libs/gst/control/dparamcommon.h:
27325         * libs/gst/control/dparammanager.c:
27326         * libs/gst/control/dparammanager.h:
27327         * libs/gst/control/dplinearinterp.c:
27328         * libs/gst/control/dplinearinterp.h:
27329         * libs/gst/control/unitconvert.c:
27330         * libs/gst/control/unitconvert.h:
27331         * testsuite/Makefile.am:
27332         * testsuite/dynparams/.cvsignore:
27333         * testsuite/dynparams/Makefile.am:
27334         * testsuite/dynparams/dparamstest.c:
27335         * tools/Makefile.am:
27336         * tools/gst-inspect.c: (print_element_info), (main):
27337         * tools/gst-xmlinspect.c: (print_element_info), (main):
27338           deactivate and remove dparams (libgstcontrol)
27339
27340 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27341
27342         * gst/elements/gsttypefindelement.c:
27343         (gst_type_find_element_have_type), (gst_type_find_element_init),
27344         (stop_typefinding), (gst_type_find_element_handle_event),
27345         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27346         * gst/elements/gsttypefindelement.h:
27347           Set caps on all outgoing buffers, not just the first one.
27348
27349 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27350
27351         * gst/elements/gsttypefindelement.c:
27352         (gst_type_find_element_have_type),
27353         (gst_type_find_element_check_set_buffer_caps),
27354         (gst_type_find_element_init), (stop_typefinding),
27355         (gst_type_find_element_handle_event),
27356         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27357         * gst/elements/gsttypefindelement.h:
27358           Set caps on first outgoing buffer when we've found the type.
27359
27360 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27361
27362         * docs/gst/gstreamer-docs.sgml:
27363         * docs/gst/gstreamer-sections.txt:
27364         * docs/gst/tmpl/gstscheduler.sgml:
27365         * docs/gst/tmpl/gstschedulerfactory.sgml:
27366           Remove some old cruft from docs.
27367
27368 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27369
27370         * gst/gstpad.h:
27371           Fix inline docs for GstPadLinkReturn.
27372           
27373         * gst/gststructure.c: (gst_structure_has_name):
27374         * gst/gststructure.h:
27375         * docs/gst/gstreamer-sections.txt:
27376           New API: gst_structure_has_name().
27377
27378 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27379
27380         * configure.ac:
27381           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27382           and _LARGEFILE_SOURCE in config.h as required. Do not 
27383           export those flags in our .pc files any longer (#142209).
27384
27385           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27386
27387         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27388         (gst_file_sink_do_seek), (gst_file_sink_event),
27389         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27390           Redo seek/tell calls with large file support in mind; add some
27391           debugging messages; add log message that tells us when large
27392           file support is unavailable or not enabled for some reason.
27393
27394         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27395           Add log message that tells us when large file support 
27396           is unavailable or not enabled for some reason.
27397
27398 2005-07-29  Wim Taymans  <wim@fluendo.com>
27399
27400         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27401         Added test for removing an element with ghostpad from a bin.
27402         Fixed test as current implementation does the right thing.
27403
27404         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27405         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27406         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27407         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27408         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27409         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27410         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27411         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27412         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27413         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27414         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27415         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27416         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27417         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27418         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27419         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27420         * gst/gstghostpad.h:
27421         Clean up ghostpads, remove properties for internal stuff.
27422         Make threadsafe.
27423         Fix refcounting.
27424         Prepare for switching targets, not all use cases work yet.
27425
27426 2005-07-29  Wim Taymans  <wim@fluendo.com>
27427
27428         * docs/design/part-gstghostpad.txt:
27429         Small update.
27430
27431         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27432         (gst_bin_remove_func):
27433         Unlinking pads while holding the bin LOCK is not a good
27434         idea.
27435
27436         * gst/gstpad.c: (gst_pad_class_init),
27437         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27438         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27439         No prob setting template after creating the pad.
27440
27441 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27442
27443         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27444         (gst_bus_peek), (gst_bus_source_dispatch),
27445         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27446         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27447           gst_bus_poll may be called from other threads. Handle
27448           this nicely by not making poll_data disappear off the
27449           stack once gst_bus_poll returns.
27450           gst_bus_peek now increments the refcount on the returned
27451           message.
27452
27453 2005-07-29  Wim Taymans  <wim@fluendo.com>
27454
27455         * docs/design/part-gstghostpad.txt:
27456         Overview of current GhostPad datastructures and use
27457         cases for changing the target.
27458
27459 2005-07-28  Wim Taymans  <wim@fluendo.com>
27460
27461         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27462         Added checks for hierarchy consistency whan adding linked
27463         elements to bins.
27464
27465         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27466         Added check to test element scheduling without bin/pipeline.
27467
27468         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27469         First add elements to bin, then link.
27470         
27471         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27472         (gst_bin_remove_func):
27473         Unlink pads from elements added/removed from bin to maintain
27474         hierarchy consistency.
27475
27476 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27477
27478         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27479         (gst_base_transform_handle_buffer):
27480         * gst/base/gstbasetransform.h:
27481           Remove broken delay_configure (fixes renegotiation of software
27482           scaling pipelines); remove some leftover printf()s.
27483
27484 2005-07-28  Wim Taymans  <wim@fluendo.com>
27485
27486         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27487         Added some more tests for wrong hierarchy
27488
27489         * docs/design/part-overview.txt:
27490         Some updates.
27491
27492         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27493         Cleanups.
27494
27495         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27496         (gst_element_dispose):
27497         Some more cleanups.
27498
27499         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27500         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27501         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27502         (gst_pad_set_caps), (gst_pad_send_event):
27503         Check for correct hierarchy when linking pads. Moving to
27504         strict requirement for ghostpads when linking elements in
27505         different bins.
27506
27507         * gst/gstpad.h:
27508         Clean ups. Added WRONG_HIERARCHY return value.
27509
27510 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27511
27512         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27513           Better debug if no transform is possible.
27514
27515 2005-07-27  Wim Taymans  <wim@fluendo.com>
27516
27517         * docs/random/wtay/network-transp:
27518         Some old doc I had.
27519
27520 2005-07-27  Wim Taymans  <wim@fluendo.com>
27521
27522         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27523         (gst_dp_event_from_packet):
27524         Fix serialization of seek events.
27525
27526 2005-07-27  Wim Taymans  <wim@fluendo.com>
27527
27528         * check/gst-libs/gdp.c: (GST_START_TEST):
27529         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27530         Fix compilation and fix event serialization.
27531
27532 2005-07-27  Wim Taymans  <wim@fluendo.com>
27533
27534         * CHANGES-0.9:
27535         * docs/design/part-TODO.txt:
27536         * docs/design/part-events.txt:
27537         Some docs updates
27538
27539         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27540         (gst_base_sink_event), (gst_base_sink_do_sync),
27541         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27542         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27543         (gst_base_src_do_seek), (gst_base_src_event_handler),
27544         (gst_base_src_loop):
27545         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27546         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27547         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27548         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27549         (gst_base_transform_set_passthrough),
27550         (gst_base_transform_is_passthrough):
27551         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27552         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27553         Event updates.
27554
27555         * gst/gstbuffer.h:
27556         Use faster casts.
27557
27558         * gst/gstelement.c: (gst_element_seek):
27559         * gst/gstelement.h:
27560         Update gst_element_seek.
27561
27562         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27563         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27564         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27565         (gst_event_new_eos), (gst_event_new_newsegment),
27566         (gst_event_parse_newsegment), (gst_event_new_tag),
27567         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27568         (gst_event_parse_qos), (gst_event_new_seek),
27569         (gst_event_parse_seek), (gst_event_new_navigation):
27570         * gst/gstevent.h:
27571         Make GstEvent use GstStructure. Add parsing code, make sure the
27572         API is sufficiently generic.
27573         Mark possible directions of events and serialization.
27574
27575         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27576         (_gst_message_copy), (gst_message_new_segment_start),
27577         (gst_message_new_segment_done), (gst_message_new_custom),
27578         (gst_message_parse_segment_start),
27579         (gst_message_parse_segment_done):
27580         Small cleanups.
27581
27582         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27583         (gst_pad_set_caps), (gst_pad_send_event):
27584         Update for new events. 
27585         Catch events sent in wrong directions.
27586
27587         * gst/gstqueue.c: (gst_queue_link_src),
27588         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27589         (gst_queue_handle_src_query):
27590         Event updates.
27591
27592         * gst/gsttag.c:
27593         * gst/gsttag.h:
27594         Remove event code from this file.
27595
27596         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27597         (gst_dp_event_from_packet):
27598         Event updates.
27599
27600 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27601
27602         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27603         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27604         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27605           Make debugging actually useful.
27606
27607 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27608
27609         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27610         (gst_pad_fixate_caps):
27611           Implement default fixation once again, so that gst_pad_fixate()
27612           actually does anything at all. This probably needs to be some
27613           sort of a last resort, and use profile-based fixation first, but
27614           since that doesn't exist yet, this is the best we have. Fixes
27615           visualization in Totem.
27616
27617 2005-07-22  Wim Taymans  <wim@fluendo.com>
27618
27619         * docs/design/part-events.txt:
27620         Small update.
27621
27622         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27623         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27624         (gst_base_sink_activate_pull):
27625         Some more comments.
27626
27627         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27628         (gst_fake_src_create):
27629         Fix handoff marshall.
27630
27631         * gst/elements/gstidentity.c: (gst_identity_class_init),
27632         (gst_identity_transform_ip):
27633         We're a real inplace element.
27634
27635         * gst/gstbus.c: (gst_bus_post):
27636         Added some comments.
27637
27638         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27639         * tests/muxing/case1.c: (main):
27640         * tests/sched/dynamic-pipeline.c: (main):
27641         * tests/sched/interrupt1.c: (main):
27642         * tests/sched/interrupt2.c: (main):
27643         * tests/sched/interrupt3.c: (main):
27644         * tests/sched/runxml.c: (main):
27645         * tests/sched/sched-stress.c: (main):
27646         * tests/seeking/seeking1.c: (event_received), (main):
27647         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27648         (main):
27649         * tests/threadstate/threadstate3.c: (main):
27650         * tests/threadstate/threadstate4.c: (main):
27651         * tests/threadstate/threadstate5.c: (main):
27652         Fix the tests.
27653
27654 2005-07-21  Wim Taymans  <wim@fluendo.com>
27655
27656         * docs/design/part-seeking.txt:
27657         Some small additions.
27658
27659         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27660         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27661         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27662         * gst/base/gstbasesink.h:
27663         discont values are gint64, handle the math correctly.
27664
27665         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27666         Make the basesrc report error if the source pad is not linked.
27667
27668         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27669         (gst_queue_loop), (gst_queue_handle_src_query),
27670         (gst_queue_src_activate_push):
27671         Make queue collect data even if the srcpad is not linked.
27672         Start pushing out data as soon as it is linked.
27673
27674         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27675         * gst/gstutils.h:
27676         Added gst_flow_get_name() to ease error reporting.
27677
27678 2005-07-20  Wim Taymans  <wim@fluendo.com>
27679
27680         * gst/gstmessage.c: (gst_message_new_segment_start),
27681         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27682         (gst_message_parse_segment_done):
27683         * gst/gstmessage.h:
27684         Added a bunch of messages for advanced seeking.
27685
27686         * gst/parse/grammar.y:
27687         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27688         (gst_dpman_state_changed):
27689         Fix some new-pad -> pad-added signals
27690
27691 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27692
27693         * docs/manual/appendix-porting.xml:
27694         * docs/pwg/appendix-porting.xml:
27695           Document new-pad/state-change signal renames and the FixedList
27696           type rename.
27697
27698 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27699
27700         * docs/manual/advanced-autoplugging.xml:
27701         * docs/manual/basics-helloworld.xml:
27702         * docs/manual/basics-pads.xml:
27703         * docs/random/ds/0.9-suggested-changes:
27704         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27705         * gst/gstelement.h:
27706         * gst/gstevent.h:
27707         * gst/gstformat.h:
27708         * gst/gstquery.h:
27709         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27710         (gst_structure_parse_array), (gst_structure_parse_value):
27711         * gst/gstvalue.c: (gst_type_is_fixed),
27712         (gst_value_list_prepend_value), (gst_value_list_append_value),
27713         (gst_value_list_get_size), (gst_value_list_get_value),
27714         (gst_value_transform_array_string), (gst_value_serialize_array),
27715         (gst_value_deserialize_array), (gst_value_intersect_array),
27716         (gst_value_is_fixed), (_gst_value_initialize):
27717         * gst/gstvalue.h:
27718           GstElement::new-pad -> pad-added, GstElement::state-change ->
27719           state-changed, GstValueFixedList -> GstValueArray, add format and
27720           flags as their own arguments in gst_element_seek() (should improve
27721           "bindeability"), remove function generators since they don't work
27722           under a whole bunch of compilers (they were deprecated already
27723           anyway).
27724
27725 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27726
27727         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27728         (_gst_debug_register_funcptr):
27729         * gst/gstinfo.h:
27730           Fix illegal cast on some platforms (#309253).
27731
27732 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27733
27734         * gst/gstmessage.c: (gst_message_new_custom):
27735         * gst/gstmessage.h:
27736           Add _new_custom, make _new_application a macro to _new_custom.
27737
27738 2005-07-20  Wim Taymans  <wim@fluendo.com>
27739
27740         * gst/base/gstbasesrc.c: (gst_base_src_init),
27741         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27742         * gst/base/gstbasesrc.h:
27743         Add a gboolean to decide when to push out a discont.
27744
27745         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27746         (gst_queue_loop), (gst_queue_handle_src_query),
27747         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27748         (gst_queue_set_property), (gst_queue_get_property):
27749         Some cleanups.
27750
27751         * tests/threadstate/threadstate1.c: (main):
27752         Make a thread test compile and run... very silly..
27753
27754
27755 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27756
27757         * docs/manual/appendix-porting.xml:
27758           Mention removal of libgstgconf-0.9.la and existence of gconf
27759           elements.
27760
27761 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27762
27763         * docs/pwg/advanced-clock.xml:
27764         * docs/pwg/appendix-porting.xml:
27765         * docs/pwg/intro-preface.xml:
27766         * docs/pwg/other-base.xml:
27767         * docs/pwg/other-manager.xml:
27768         * docs/pwg/other-nton.xml:
27769         * docs/pwg/other-ntoone.xml:
27770         * docs/pwg/other-oneton.xml:
27771         * docs/pwg/pwg.xml:
27772           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27773           demuxer), remove n-to-n (was never written), fix some code examples
27774           and links and update the porting section to include all this.
27775
27776 2005-07-19  Wim Taymans  <wim@fluendo.com>
27777
27778         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27779         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27780         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27781         (gst_queue_src_activate_push), (gst_queue_change_state),
27782         (gst_queue_get_property):
27783         * gst/gstqueue.h:
27784         Propagate GstFlowReturn more intelligently upstream and output
27785         an ERROR/EOS when streaming stopped due to fatal error.
27786
27787 2005-07-19  Wim Taymans  <wim@fluendo.com>
27788
27789         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27790         Don't block forever for the state change to complete, the
27791         pipeline already did with a sensible timeout.
27792
27793 2005-07-19  Wim Taymans  <wim@fluendo.com>
27794
27795         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27796         Make sure we never call the create function is we
27797         got deactivated.
27798
27799 2005-07-19  Andy Wingo  <wingo@pobox.com>
27800
27801         * gst/parse/parse.l: Attempt to solve bug #172815.
27802
27803 2005-07-19  Wim Taymans  <wim@fluendo.com>
27804
27805         * docs/design/part-clocks.txt:
27806         * docs/design/part-events.txt:
27807         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27808         Small docs updates.
27809         Only update the seeking values when we are not
27810         busy streaming.
27811
27812 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27813
27814         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27815           Oops, ignore the result of gst_pad_push_event here.
27816
27817 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27818
27819         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27820         (gst_base_src_activate_push):
27821           Send discont event from the loop function, as pads
27822           aren't activated yet in the activate_push handler.
27823
27824         * gst/gstbin.c: (bin_bus_handler):
27825           Don't leak element name.
27826
27827 2005-07-18  Andy Wingo  <wingo@pobox.com>
27828
27829         * configure.ac: Use AS_LIBTOOL_TAGS.
27830
27831 2005-07-18  Wim Taymans  <wim@fluendo.com>
27832
27833         * docs/gst/gstreamer.types:
27834         Remove deleted types.
27835
27836 2005-07-18  Wim Taymans  <wim@fluendo.com>
27837
27838         * check/elements/gstfakesrc.c: (GST_START_TEST):
27839         * configure.ac:
27840         * gst/Makefile.am:
27841         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27842         (init_popt_callback):
27843         * gst/gst.h:
27844         * gst/gst_private.h:
27845         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27846         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27847         * gst/gstbin.h:
27848         * gst/gstbus.h:
27849         * gst/gstconfig.h.in:
27850         * gst/gstelement.c: (gst_element_class_init),
27851         (gst_element_set_base_time), (gst_element_get_base_time),
27852         (iterator_fold_with_resync), (gst_element_change_state),
27853         (gst_element_dispose), (gst_element_get_bus):
27854         * gst/gstelement.h:
27855         * gst/gstelementfactory.h:
27856         * gst/gsterror.c: (_gst_core_errors_init):
27857         * gst/gsterror.h:
27858         * gst/gstevent.h:
27859         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27860         * gst/gstindex.c:
27861         * gst/gstinfo.c: (_gst_debug_init):
27862         * gst/gstmessage.c: (_gst_message_copy):
27863         * gst/gstmessage.h:
27864         * gst/gstminiobject.h:
27865         * gst/gstobject.c:
27866         * gst/gstobject.h:
27867         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27868         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27869         * gst/gstpad.h:
27870         * gst/gstparse.h:
27871         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27872         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27873         (gst_pipeline_get_last_stream_time):
27874         * gst/gstpipeline.h:
27875         * gst/gstpluginfeature.h:
27876         * gst/gstquery.h:
27877         * gst/gstscheduler.c:
27878         * gst/gstscheduler.h:
27879         * gst/gststructure.h:
27880         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27881         (gst_task_finalize), (gst_task_func), (gst_task_create),
27882         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27883         (gst_task_stop), (gst_task_pause):
27884         * gst/gsttask.h:
27885         * gst/gsttypefind.h:
27886         * gst/gsttypes.h:
27887         * gst/registries/gstlibxmlregistry.c: (load_feature),
27888         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27889         * gst/registries/gstxmlregistry.c:
27890         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27891         * gst/schedulers/threadscheduler.c:
27892         * libs/gst/control/dparammanager.h:
27893         * tools/gst-inspect.c: (print_element_list),
27894         (print_plugin_features), (print_element_features):
27895         * tools/gst-xmlinspect.c: (print_element_list),
27896         (print_plugin_info), (main):
27897         Removed plugable schedulers.
27898         Removed Scheduler/Manager from elements.
27899         Removed gsttypes.h, rearranged includes.
27900         Removed dependency pad<->element, element<>pipeline, and
27901         various others,  fix includes.
27902         implement gst_pad_get_parent() with gst_object_get_parent()
27903         Make GstTask sefcontained.
27904         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27905         timeout.
27906         Fix endless loop in iterator_fold_with_resync.
27907
27908
27909 2005-07-18  Wim Taymans  <wim@fluendo.com>
27910
27911         * gst/Makefile.am:
27912         * gst/gstarch.h:
27913         Remove old file.
27914
27915 2005-07-18  Wim Taymans  <wim@fluendo.com>
27916
27917         * gst/Makefile.am:
27918         No more cothreads.h
27919
27920 2005-07-18  Wim Taymans  <wim@fluendo.com>
27921
27922         * gst/cothreads.c:
27923         * gst/cothreads.h:
27924         Let's remove these.
27925
27926 2005-07-18  Wim Taymans  <wim@fluendo.com>
27927
27928         * docs/design/part-dynamic.txt:
27929         * docs/design/part-events.txt:
27930         * docs/design/part-seeking.txt:
27931         Some more docs in the works.
27932
27933         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27934         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27935         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27936         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27937         (gst_base_transform_handle_buffer),
27938         (gst_base_transform_sink_activate_push),
27939         (gst_base_transform_src_activate_pull),
27940         (gst_base_transform_set_passthrough),
27941         (gst_base_transform_is_passthrough):
27942         Refcounting fixes.
27943
27944         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27945         Cleanups.
27946
27947         * gst/gstevent.c: (gst_event_finalize):
27948         Set SRC to NULL.
27949
27950         * gst/gstutils.c: (gst_element_unlink),
27951         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27952         (gst_pad_proxy_setcaps):
27953         * gst/gstutils.h:
27954         Add _get_parent_element() to get a pads parent as an element.
27955
27956 2005-07-18  Wim Taymans  <wim@fluendo.com>
27957
27958         * check/gst/gstbin.c: (GST_START_TEST):
27959         Remove bogus test.
27960
27961 2005-07-18  Wim Taymans  <wim@fluendo.com>
27962
27963         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27964         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27965         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27966         (gst_base_sink_event), (gst_base_sink_do_sync),
27967         (gst_base_sink_chain), (gst_base_sink_loop),
27968         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27969         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27970         Refcounting fixes.
27971         Fix logic for returning ASYNC when not prerolled.
27972
27973 2005-07-18  Wim Taymans  <wim@fluendo.com>
27974
27975         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27976         Fix nasty refcount bug.
27977
27978 2005-07-16 Philippe Khalaf <burger@speedy.org>
27979
27980         * gst/elements/gstfdsrc.c:
27981         * gst/elements/gstfdsrc.h:
27982         * gst/elements/gstelements.c:
27983         * gst/elements/Makefile.am:
27984         Ported fdsrc to 0.9.
27985
27986 2005-07-16  Wim Taymans  <wim@fluendo.com>
27987
27988         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27989         (gst_base_sink_do_sync):
27990         Fix compile error.
27991
27992 2005-07-16  Wim Taymans  <wim@fluendo.com>
27993
27994         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27995         (gst_base_sink_event), (gst_base_sink_get_times),
27996         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27997         * gst/base/gstbasesink.h:
27998         Store and use discont values when syncing buffers as described
27999         in design docs.
28000         
28001         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28002         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28003         (gst_base_src_activate_push):
28004         Push discont event when starting.
28005
28006         * gst/elements/gstidentity.c: (gst_identity_transform):
28007         Small cleanups.
28008
28009         * gst/gstbin.c: (gst_bin_change_state):
28010         Small cleanups in base_time  distribution.
28011
28012         * gst/gstelement.c: (gst_element_set_base_time),
28013         (gst_element_get_base_time), (gst_element_change_state):
28014         * gst/gstelement.h:
28015         Added methods for the base_time of the element.
28016         Some MT fixes.
28017
28018         * gst/gstpipeline.c: (gst_pipeline_send_event),
28019         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28020         (gst_pipeline_get_last_stream_time):
28021         * gst/gstpipeline.h:
28022         MT fixes.
28023         Handle seeking as described in design doc, remove stream_time
28024         hack.
28025         Cleanups clock and stream_time selection code. Added accessors
28026         for the stream_time.
28027         
28028
28029 2005-07-16  Andy Wingo  <wingo@pobox.com>
28030
28031         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28032         (#305291).
28033
28034 2005-07-16  Wim Taymans  <wim@fluendo.com>
28035
28036         * check/gst/gstbin.c: (GST_START_TEST):
28037         Make elements silent as the deep_notify refs the
28038         parent, which might make the test fail.
28039
28040         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28041         Don't hold the lock for too long.
28042
28043 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28044
28045         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28046           Don't unref the caps we passed to gst_caps_make_writable() after
28047           passing them. gst_caps_make_writable() will do that for us.
28048
28049 2005-07-15  Andy Wingo  <wingo@pobox.com>
28050
28051         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28052         (#157311).
28053
28054         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28055         own marshalling function for the handoff signal. Properly type the
28056         buffer as a buffer. Fixes some warnings. Should do a more general
28057         solution.
28058         (gst_identity_class_init): Plug into the right marshaller.
28059
28060 2005-07-15  Wim Taymans  <wim@fluendo.com>
28061
28062         * docs/design/part-TODO.txt:
28063         * docs/design/part-clocks.txt:
28064         * docs/design/part-element-sink.txt:
28065         * docs/design/part-events.txt:
28066         * docs/design/part-gstpipeline.txt:
28067         Updated docs, mostly DISCONT related.
28068
28069 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28070
28071         * docs/pwg/building-pads.xml:
28072           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28073
28074 2005-07-15  Andy Wingo  <wingo@pobox.com>
28075
28076         * tools/gst-typefind.c: Update, add copyright block.
28077
28078         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28079         Normalize and truncate caps before fixation.
28080
28081         * gst/gstcaps.h:
28082         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28083         discards all but the first structure from its argument.
28084
28085 2005-07-15  Wim Taymans  <wim@fluendo.com>
28086
28087         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28088         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28089         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28090         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28091         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28092         (gst_base_transform_chain), (gst_base_transform_change_state),
28093         (gst_base_transform_set_passthrough),
28094         (gst_base_transform_is_passthrough):
28095         * gst/base/gstbasetransform.h:
28096         Make passthrough work using the bufferpools.
28097         Changed API a bit, subclasses have to write into a buffer
28098         provided by the base class.
28099         More debug info in nego functions.
28100         
28101         * gst/elements/gstidentity.c: (gst_identity_init),
28102         (gst_identity_transform):
28103         Port to new base class.
28104
28105 2005-07-15  Wim Taymans  <wim@fluendo.com>
28106
28107         * gst/gstmessage.c: (gst_message_new_state_changed):
28108         * tools/gst-launch.c: (event_loop), (main):
28109         Totally dump messages in -launch with the -m option.
28110         Fix message name for State messages,
28111
28112 2005-07-14  Wim Taymans  <wim@fluendo.com>
28113
28114         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28115         Post error messages on errors.
28116
28117 2005-07-14  Wim Taymans  <wim@fluendo.com>
28118
28119         * gst/gstcaps.c: (gst_caps_do_simplify):
28120         Remove debug info.
28121
28122         * gst/gsterror.h:
28123         Define error for stream stopped.
28124
28125         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28126         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28127         Do proper return values.
28128
28129         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28130         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28131         (gst_pad_get_range):
28132         Better return values.
28133
28134         * gst/gstpad.h:
28135         Reorganise return values, add macro to check for fatal errors.
28136
28137         * gst/gstqueue.c: (gst_queue_chain):
28138         Return proper GstFlowReturn values,
28139
28140 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28141
28142         * docs/gst/gstreamer-sections.txt:
28143         * docs/gst/gstreamer.types:
28144         * docs/gst/tmpl/gst.sgml:
28145         * docs/gst/tmpl/gstbasesink.sgml:
28146         * docs/gst/tmpl/gstbasesrc.sgml:
28147         * docs/gst/tmpl/gstbasetransform.sgml:
28148         * docs/gst/tmpl/gstbin.sgml:
28149         * docs/gst/tmpl/gstbuffer.sgml:
28150         * docs/gst/tmpl/gstcaps.sgml:
28151         * docs/gst/tmpl/gstclock.sgml:
28152         * docs/gst/tmpl/gstcompat.sgml:
28153         * docs/gst/tmpl/gstconfig.sgml:
28154         * docs/gst/tmpl/gstelement.sgml:
28155         * docs/gst/tmpl/gstelementdetails.sgml:
28156         * docs/gst/tmpl/gstelementfactory.sgml:
28157         * docs/gst/tmpl/gstenumtypes.sgml:
28158         * docs/gst/tmpl/gsterror.sgml:
28159         * docs/gst/tmpl/gstevent.sgml:
28160         * docs/gst/tmpl/gstfakesink.sgml:
28161         * docs/gst/tmpl/gstfakesrc.sgml:
28162         * docs/gst/tmpl/gstfilesink.sgml:
28163         * docs/gst/tmpl/gstfilesrc.sgml:
28164         * docs/gst/tmpl/gstfilter.sgml:
28165         * docs/gst/tmpl/gstformat.sgml:
28166         * docs/gst/tmpl/gstghostpad.sgml:
28167         * docs/gst/tmpl/gstimplementsinterface.sgml:
28168         * docs/gst/tmpl/gstindex.sgml:
28169         * docs/gst/tmpl/gstindexfactory.sgml:
28170         * docs/gst/tmpl/gstinfo.sgml:
28171         * docs/gst/tmpl/gstiterator.sgml:
28172         * docs/gst/tmpl/gstmacros.sgml:
28173         * docs/gst/tmpl/gstmemchunk.sgml:
28174         * docs/gst/tmpl/gstminiobject.sgml:
28175         * docs/gst/tmpl/gstobject.sgml:
28176         * docs/gst/tmpl/gstpad.sgml:
28177         * docs/gst/tmpl/gstpadtemplate.sgml:
28178         * docs/gst/tmpl/gstparse.sgml:
28179         * docs/gst/tmpl/gstpipeline.sgml:
28180         * docs/gst/tmpl/gstplugin.sgml:
28181         * docs/gst/tmpl/gstpluginfeature.sgml:
28182         * docs/gst/tmpl/gstquery.sgml:
28183         * docs/gst/tmpl/gstqueue.sgml:
28184         * docs/gst/tmpl/gstregistry.sgml:
28185         * docs/gst/tmpl/gstregistrypool.sgml:
28186         * docs/gst/tmpl/gstscheduler.sgml:
28187         * docs/gst/tmpl/gstschedulerfactory.sgml:
28188         * docs/gst/tmpl/gststructure.sgml:
28189         * docs/gst/tmpl/gstsystemclock.sgml:
28190         * docs/gst/tmpl/gsttaglist.sgml:
28191         * docs/gst/tmpl/gsttagsetter.sgml:
28192         * docs/gst/tmpl/gsttrace.sgml:
28193         * docs/gst/tmpl/gsttrashstack.sgml:
28194         * docs/gst/tmpl/gsttypefind.sgml:
28195         * docs/gst/tmpl/gsttypefindfactory.sgml:
28196         * docs/gst/tmpl/gsttypes.sgml:
28197         * docs/gst/tmpl/gsturihandler.sgml:
28198         * docs/gst/tmpl/gsturitype.sgml:
28199         * docs/gst/tmpl/gstutils.sgml:
28200         * docs/gst/tmpl/gstvalue.sgml:
28201         * docs/gst/tmpl/gstversion.sgml:
28202         * docs/gst/tmpl/gstxml.sgml:
28203         * docs/libs/tmpl/gstcontrol.sgml:
28204         * docs/libs/tmpl/gstdataprotocol.sgml:
28205         * docs/libs/tmpl/gstdparam.sgml:
28206         * docs/libs/tmpl/gstdplinint.sgml:
28207         * docs/libs/tmpl/gstdpman.sgml:
28208         * docs/libs/tmpl/gstdpsmooth.sgml:
28209         * docs/libs/tmpl/gstgetbits.sgml:
28210         * docs/libs/tmpl/gstunitconvert.sgml:
28211         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28212         (gst_push_src_base_init), (gst_push_src_class_init),
28213         (gst_push_src_init), (gst_push_src_create):
28214         * gst/base/gstpushsrc.h:
28215         * gst/elements/gstelements.c:
28216         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28217         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28218         (gst_fake_sink_init), (gst_fake_sink_set_property),
28219         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28220         (gst_fake_sink_event), (gst_fake_sink_preroll),
28221         (gst_fake_sink_render), (gst_fake_sink_change_state):
28222         * gst/elements/gstfakesink.h:
28223         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28224         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28225         (gst_fake_src_base_init), (gst_fake_src_class_init),
28226         (gst_fake_src_init), (gst_fake_src_event_handler),
28227         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28228         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28229         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28230         (gst_fake_src_create_buffer), (gst_fake_src_create),
28231         (gst_fake_src_start), (gst_fake_src_stop):
28232         * gst/elements/gstfakesrc.h:
28233         * gst/elements/gstfilesink.c: (_do_init),
28234         (gst_file_sink_base_init), (gst_file_sink_class_init),
28235         (gst_file_sink_init), (gst_file_sink_dispose),
28236         (gst_file_sink_set_location), (gst_file_sink_set_property),
28237         (gst_file_sink_get_property), (gst_file_sink_open_file),
28238         (gst_file_sink_close_file), (gst_file_sink_query),
28239         (gst_file_sink_event), (gst_file_sink_render),
28240         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28241         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28242         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28243         * gst/elements/gstfilesink.h:
28244         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28245         (gst_file_src_class_init), (gst_file_src_init),
28246         (gst_file_src_finalize), (gst_file_src_set_location),
28247         (gst_file_src_set_property), (gst_file_src_get_property),
28248         (gst_file_src_map_region), (gst_file_src_map_small_region),
28249         (gst_file_src_create_mmap), (gst_file_src_create_read),
28250         (gst_file_src_create), (gst_file_src_is_seekable),
28251         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28252         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28253         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28254         (gst_file_src_uri_handler_init):
28255         * gst/elements/gstfilesrc.h:
28256           more autistic cleanliness in functions/names/defines
28257
28258 2005-07-13  Andy Wingo  <wingo@pobox.com>
28259
28260         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28261         source couldn't negotiate.
28262
28263         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28264         connections again.
28265
28266         * gst/gstutils.h:
28267         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28268         function. I am channeling Hades. Put your boots on suckers!!!
28269
28270 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28271
28272         * testsuite/caps/Makefile.am:
28273         * testsuite/caps/value_compare.c:
28274         * testsuite/caps/value_intersect.c:
28275         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28276           move two testsuite apps over to the check dir
28277
28278 2005-07-12  Wim Taymans  <wim@fluendo.com>
28279
28280         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28281         Added more debug info in the negotiate process.
28282
28283         * gst/gstmessage.h:
28284         Prepare for segment playback.
28285
28286         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28287         Better debugging.
28288
28289         * gst/gstutils.c:
28290         Some more docs.
28291
28292         * tools/gst-launch.c: (main):
28293         NULL pipeline on errors.
28294
28295 2005-07-12  Andy Wingo  <wingo@pobox.com>
28296
28297         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28298         not it comes from a malloc region. Make sure our copy gets freed.
28299
28300 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28301
28302         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28303         * check/gst/gstmessage.c: (GST_START_TEST):
28304         * check/gst/gststructure.c: (GST_START_TEST),
28305         (gst_structure_suite), (main):
28306           more testing
28307         * gst/gstelement.c: (gst_element_message_full):
28308           clean up GError and debug string now that they get copied
28309         * gst/gstmessage.c: (gst_message_new_error),
28310         (gst_message_new_warning), (gst_message_parse_error),
28311         (gst_message_parse_warning):
28312           use GST_TYPE_G_ERROR for structure_new, and take copies of
28313           arguments, so that we don't mess up refcounting
28314
28315 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28316
28317         * check/Makefile.am:
28318           add per-test valgrind targets
28319         * check/gst-libs/gdp.c: (GST_START_TEST),
28320         (gst_data_protocol_suite), (main):
28321           clean up
28322
28323 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28324
28325         * check/Makefile.am:
28326           instate more valgrindable tests
28327         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28328         (GST_START_TEST), (fakesrc_suite):
28329         * check/gst/gstpad.c: (GST_START_TEST):
28330         * check/gst/gststructure.c: (GST_START_TEST):
28331           fix test leaks
28332         * docs/gst/tmpl/gstminiobject.sgml:
28333         * gst/gstpad.c: (gst_pad_finalize):
28334           fix the static mutex leak
28335
28336 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28337
28338         * check/Makefile.am:
28339           add two more tests for valgrinding
28340         * check/gst/gstvalue.c: (GST_START_TEST):
28341           test refcount of deserialized buffer, found a leak
28342         * docs/gst/gstreamer-docs.sgml:
28343         * docs/gst/gstreamer-sections.txt:
28344         * docs/gst/gstreamer.types:
28345         * docs/gst/tmpl/gstminiobject.sgml:
28346           add miniobject to docs
28347         * gst/gstminiobject.c:
28348           add some docs
28349         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28350         (gst_string_unwrap):
28351           fix a hard-to-find invalid write for one of the tests
28352           fix a leak for deserialized buffers
28353
28354 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28355
28356         * docs/pwg/advanced-events.xml:
28357         * docs/pwg/advanced-request.xml:
28358         * docs/pwg/advanced-scheduling.xml:
28359         * docs/pwg/appendix-porting.xml:
28360         * docs/pwg/building-boiler.xml:
28361         * docs/pwg/intro-preface.xml:
28362         * docs/pwg/other-ntoone.xml:
28363           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28364           of example code and explanation for pad activation, loop() and
28365           getrange() functions and a bit more. Remove old comments pointing
28366           to loop-functions.
28367         * examples/pwg/Makefile.am:
28368           Add loop/getrange examples.
28369
28370 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28371
28372         * configure.ac:
28373           check for valgrind binary + some fixes
28374         * check/gst.supp:
28375           valgrind suppressions for the tests
28376         * check/Makefile.am:
28377           add a valgrind: target that valgrinds the unit tests
28378         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28379         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28380         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28381         * check/gst/gstghostpad.c:
28382           added some cleanup
28383         * check/gst/gstdata.c:
28384           removed
28385         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28386         (thread_unref), (gst_mini_object_suite), (main):
28387           added
28388         * gst/gst.c: (gst_deinit):
28389         * gst/gst.h:
28390           add a method to clean up.
28391         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28392         (gst_system_clock_obtain):
28393           allow for disposing the system clock.
28394         * tools/gst-launch.c: (main):
28395           deinit
28396
28397 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28398
28399         * docs/gst/tmpl/gstbasesrc.sgml:
28400         * docs/gst/tmpl/gstfakesrc.sgml:
28401         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28402         (gst_base_src_init), (gst_base_src_set_property),
28403         (gst_base_src_get_property), (gst_base_src_get_range),
28404         (gst_base_src_start):
28405         * gst/base/gstbasesrc.h:
28406           add num-buffers property
28407         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28408         (gst_fakesrc_init), (gst_fakesrc_set_property),
28409         (gst_fakesrc_get_property), (gst_fakesrc_create),
28410         (gst_fakesrc_start):
28411           remove num-buffers property
28412
28413 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28414
28415         * docs/gst/gstreamer-sections.txt:
28416         * docs/gst/tmpl/gstbasesink.sgml:
28417         * docs/gst/tmpl/gstbasesrc.sgml:
28418         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28419         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28420         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28421         (gst_base_sink_set_property), (gst_base_sink_get_property),
28422         (gst_base_sink_handle_object), (gst_base_sink_event),
28423         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28424         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28425         (gst_base_sink_loop), (gst_base_sink_deactivate),
28426         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28427         (gst_base_sink_change_state):
28428         * gst/base/gstbasesink.h:
28429         * gst/base/gstbasesrc.h:
28430         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28431         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28432         (gst_filesink_init):
28433           more macro splitting
28434
28435 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28436
28437         * gst/gstelement.c: (gst_element_get_bus):
28438           add debug
28439         * tools/gst-launch.c: (check_intr), (event_loop):
28440           fix bus leaks
28441
28442 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28443
28444         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28445           fix a caps leak
28446
28447 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28448
28449         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28450         (gst_base_src_finalize):
28451           add finalize method and clean up properly
28452         * gst/gstpipeline.c: (gst_pipeline_dispose):
28453           add debug
28454
28455 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28456
28457         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28458         (gst_bin_suite):
28459           add more things to check
28460         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28461         * gst/gstelement.c:
28462           more debug
28463
28464 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28465
28466         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28467         (GST_START_TEST), (fakesrc_suite):
28468         * check/gst-libs/gdp.c: (GST_START_TEST):
28469         * check/gst/gst.c: (GST_START_TEST):
28470         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28471         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28472         * check/gst/gstbus.c: (GST_START_TEST):
28473         * check/gst/gstcaps.c: (GST_START_TEST):
28474         * check/gst/gstdata.c: (GST_START_TEST):
28475         * check/gst/gstelement.c: (GST_START_TEST):
28476         * check/gst/gstghostpad.c: (GST_START_TEST):
28477         * check/gst/gstiterator.c: (GST_START_TEST):
28478         * check/gst/gstmessage.c: (GST_START_TEST):
28479         * check/gst/gstobject.c: (GST_START_TEST):
28480         * check/gst/gstpad.c: (GST_START_TEST):
28481         * check/gst/gststructure.c: (GST_START_TEST):
28482         * check/gst/gstsystemclock.c: (GST_START_TEST),
28483         (gst_systemclock_suite):
28484         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28485         * check/gst/gstvalue.c: (GST_START_TEST):
28486         * check/pipelines/cleanup.c: (GST_START_TEST):
28487         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28488         * check/states/sinks.c: (GST_START_TEST):
28489         * check/gstcheck.c: (gst_check_init):
28490         * check/gstcheck.h:
28491           add debugging category
28492           use GST_START_TEST now, so we add a debug line
28493
28494 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28495
28496         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28497           add test for state change message on a bin
28498         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28499           add another test
28500         * gst/gstbin.c: (gst_bin_init):
28501         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28502         * gst/gstelement.c: (gst_element_post_message),
28503         (gst_element_set_state):
28504         * gst/gstelementfactory.c: (gst_element_factory_create):
28505         * gst/gstmessage.c: (gst_message_new):
28506         * gst/gstscheduler.c:
28507           various debugging additions and cleanups
28508
28509 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28510
28511         * check/Makefile.am:
28512         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28513         (main):
28514           adding tests for elements
28515         * gst/gstelement.c: (gst_element_dispose):
28516
28517 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28518
28519         * gst/registries/gstlibxmlregistry.c: (load_feature):
28520           plug more leaks.  A simple gst_init() now is leakfree, yay.
28521
28522 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28523
28524         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28525         (gst_xml_registry_load):
28526           plug another memleak
28527
28528 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28529
28530         * configure.ac:
28531           use GST_SET_ERROR_CFLAGS
28532         * docs/faq/cvs.xml:
28533           change to ERROR_CFLAGS
28534
28535 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28536
28537         * configure.ac:
28538           make GST_ERROR_CFLAGS overridable and re-enable Werror
28539         * docs/faq/cvs.xml:
28540           add a note about error CFLAGS
28541         * docs/gst/tmpl/gstfakesrc.sgml:
28542         * gst/elements/gstfakesrc.c:
28543           comment out some unused code
28544         * gst/gst.c: (split_and_iterate):
28545         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28546         (load_feature):
28547           plug some memleaks
28548
28549 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28550
28551         * common/Makefile.am:
28552         * common/gtk-doc.mak:
28553         * docs/gst/Makefile.am:
28554           factor out gtk-doc.mak
28555
28556 2005-07-07  Wim Taymans  <wim@fluendo.com>
28557
28558         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28559         (gst_thread_scheduler_dispose):
28560         Unlock the STREAM_LOCK completely.
28561
28562 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28563
28564         * check/Makefile.am:
28565         * check/elements/.cvsignore:
28566         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28567         (START_TEST), (fakesrc_suite), (main):
28568         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28569         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28570         (gst_fakesrc_create), (gst_fakesrc_start):
28571         * gst/elements/gstfakesrc.h:
28572           adding a first element test
28573
28574 2005-07-07  Andy Wingo  <wingo@pobox.com>
28575
28576         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28577         debug message.
28578
28579 2005-07-07  Wim Taymans  <wim@fluendo.com>
28580
28581         * gst/gstquery.c:
28582         * gst/gstquery.h:
28583         Remove old types
28584
28585 2005-07-07  Wim Taymans  <wim@fluendo.com>
28586
28587         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28588         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28589         Allow subclasses to implement their own negotiation.
28590
28591 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28592
28593         * docs/design/part-gstbin.txt:
28594         * docs/design/part-gstpipeline.txt:
28595           Update design notes to reflect the movement of
28596           responsibility for bus handling from GstPipeline to
28597           GstBin
28598
28599 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28600
28601         * configure.ac:
28602           Remove unnecessary queue2/3/4 examples.
28603
28604 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28605
28606         * examples/Makefile.am:
28607         * examples/helloworld/helloworld.c: (event_loop), (main):
28608         * examples/queue/queue.c: (event_loop), (main):
28609         * examples/queue2/queue2.c: (main):
28610           Update a couple of the examples to work again.
28611
28612         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28613         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28614          Spelling corrections and extra debug.
28615         
28616         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28617         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28618         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28619         * gst/gstbin.h:
28620         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28621         (gst_pipeline_change_state):
28622         * gst/gstpipeline.h:
28623           Move the bus handler for children to the GstBin, and create a
28624           separate bus for receiving messages from children to the one the
28625           bus sends 'upwards' on.
28626
28627 2005-07-06  Wim Taymans  <wim@fluendo.com>
28628
28629         * gst/base/README:
28630         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28631         (gst_base_sink_handle_object), (gst_base_sink_loop),
28632         (gst_base_sink_change_state):
28633         * gst/base/gstbasesink.h:
28634         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28635         (gst_base_src_init), (gst_base_src_setcaps),
28636         (gst_base_src_getcaps), (gst_base_src_loop),
28637         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28638         (gst_base_src_start), (gst_base_src_change_state):
28639         * gst/base/gstbasesrc.h:
28640         Make basesrc negotiate.
28641         Handle the case where preroll fails in basesink.
28642         Update README.
28643
28644 2005-07-06  Wim Taymans  <wim@fluendo.com>
28645
28646         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28647         Implement the fixate function.
28648         Clean up acceptcaps.
28649
28650 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28651
28652         * docs/pwg/building-filterfactory.xml:
28653         * docs/pwg/pwg.xml:
28654           Remove never-written filter-factory chapter; I'll add the various
28655           base classes to part 4 ("other element types") later on.
28656
28657 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28658
28659         * docs/pwg/advanced-negotiation.xml:
28660         * docs/pwg/building-boiler.xml:
28661         * docs/pwg/building-pads.xml:
28662         * docs/pwg/pwg.xml:
28663         * examples/pwg/Makefile.am:
28664           Add a chapter on caps negotiation, simplify the original code
28665           samples a bit w.r.t. caps negotiation, add link to the advanced
28666           section. Add a bunch of examples showing different use cases of
28667           different types of caps negotiation. Upstream renegotiation isn't
28668           fully documented yet since nobody knows how that works.
28669
28670 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28671
28672         * check/gst/gstpad.c:
28673         * check/gstcheck.c:
28674         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28675           if pad has no parent, return NULL as list of internal links
28676
28677 2005-07-05  Andy Wingo  <wingo@pobox.com>
28678
28679         * gst/elements/gstfilesrc.c:
28680         * gst/elements/gstfakesrc.c: 
28681         * gst/base/gstpushsrc.c:
28682         * gst/base/gstbasesrc.h: 
28683         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28684         
28685 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28686
28687         * Makefile.am:
28688           better report generation target (lcov needs a patch)
28689
28690 2005-07-05  Andy Wingo  <wingo@pobox.com>
28691
28692         * gst/elements, testsuite: Null if we got it...
28693
28694 2005-07-05  Wim Taymans  <wim@fluendo.com>
28695
28696         * configure.ac:
28697         * libs/gst/dataprotocol/Makefile.am:
28698         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28699         * libs/gst/dataprotocol/dataprotocol.h:
28700         * pkgconfig/Makefile.am:
28701         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28702         * pkgconfig/gstreamer-dataprotocol.pc.in:
28703         Ported dataprotol to 0.9. 
28704         Added pkgconfig files.
28705
28706 2005-07-05  Andy Wingo  <wingo@pobox.com>
28707
28708         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28709         Default to returning TRUE for the case when tranform_caps returns
28710         a fixed caps, like for identity or volume.
28711
28712         * check/gst/gstbus.c (pound_bus_with_messages): 
28713         * check/gst/gstmessage.c (START_TEST): 
28714         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28715         message API change.
28716
28717         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28718         logic weaks here: always run transform_caps, trying passthrough
28719         operation only if the original caps intersects with the transform.
28720
28721         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28722         source and sink caps.
28723
28724         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28725         Intersect the peer caps with the pad template before going into
28726         transform_caps.
28727         (gst_base_transform_transform_caps): More debugging.
28728
28729         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28730         src argument.
28731
28732 2005-07-04  Edward Hervey  <edward@fluendo.com>
28733
28734         * gst/gstutils.c:
28735         * gst/gstutils.h:
28736         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28737         in bindings.
28738
28739 2005-07-04  Andy Wingo  <wingo@pobox.com>
28740
28741         * check/gst/gstpad.c: Only set explicit caps on pads.
28742
28743 2005-07-01  Andy Wingo  <wingo@pobox.com>
28744
28745         * tests/network-clock.scm: Commentary update.
28746
28747         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28748         Didn't really make sense, not implementable with basetransform,
28749         etc.
28750         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28751         attempt at implementing the sync property, needs an unlock method.
28752
28753         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28754         New func, by default returns the same caps (the identity
28755         transformation).
28756         (gst_base_transform_getcaps): Uses transform_caps to return
28757         something sensible.
28758         (gst_base_transform_setcaps): Complicated logic to get caps on
28759         both pads, even if they are different, and to call set_caps once
28760         for every time both pads get their caps set.
28761         (gst_base_transform_handle_buffer): Give the ref to the transform
28762         function. Allows in-place modification of the buffer.
28763
28764         * gst/base/gstbasetransform.h (transform_caps): New class method.
28765         Given caps on one side, what can I do on the other.
28766         (set_caps): Take two caps, one for each side of the element.
28767
28768         * gst/gstpad.h:
28769         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28770         caps in place. This is safe because we can check the mutability of
28771         the caps, and a good idea because fixate functions are just called
28772         as a matter of last resort. (Not actually implemented.)
28773         (gst_pad_set_caps): If the caps we're setting is actually the same
28774         as the existing pad caps, just update the pointer without calling
28775         setcaps. Assert that caps is either NULL or fixed, as per the
28776         docs.
28777
28778         * gst/gstghostpad.c: Update for fixate changes.
28779
28780 2005-07-02  Andy Wingo  <wingo@pobox.com>
28781
28782         * gst/gstcaps.c:
28783         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28784         two refcounts makes it immutable, which is enough. Doc more.
28785
28786 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28787
28788         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28789           Put the mini_object into GValue as a mini_object,
28790           not a gpointer, since that's how we declared
28791           the signal.
28792
28793 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28794
28795         * examples/pwg/Makefile.am:
28796           Fix buildbot again.
28797
28798 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28799
28800         * docs/pwg/building-testapp.xml:
28801           Add extra check.
28802         * examples/pwg/Makefile.am:
28803           Fix buildbot.
28804
28805 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28806
28807         * configure.ac:
28808         * examples/Makefile.am:
28809         * examples/pwg/Makefile.am:
28810         * examples/pwg/extract.pl:
28811           Enable building the PWG examples.
28812         * docs/pwg/advanced-interfaces.xml:
28813           Add URI interface stub.
28814         * docs/pwg/advanced-types.xml:
28815         * docs/pwg/other-autoplugger.xml:
28816         * docs/pwg/appendix-porting.xml:
28817         * docs/pwg/pwg.xml:
28818           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28819         * docs/pwg/building-boiler.xml:
28820         * docs/pwg/building-chainfn.xml:
28821         * docs/pwg/building-pads.xml:
28822         * docs/pwg/building-props.xml:
28823         * docs/pwg/building-state.xml:
28824         * docs/pwg/building-testapp.xml:
28825           Update the building-*.xml parts for 0.9 changes. All examples
28826           code blocks compile in examples/pwg/*.
28827
28828 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28829
28830         * docs/manual/advanced-autoplugging.xml:
28831         * docs/manual/appendix-checklist.xml:
28832         * docs/manual/appendix-integration.xml:
28833         * docs/manual/highlevel-components.xml:
28834           Fix playbin/decodebin examples, update docs a bit, mention bus
28835           instead of signals in various places, mention kmplayer and
28836           kaffeine since they have a working GStreamer backend in the KDE
28837           section.
28838
28839 2005-06-30  Wim Taymans  <wim@fluendo.com>
28840
28841         * CHANGES-0.9:
28842         * docs/design/draft-ghostpads.txt:
28843         * docs/design/draft-push-pull.txt:
28844         * docs/design/draft-query.txt:
28845         * docs/design/part-TODO.txt:
28846         * docs/design/part-query.txt:
28847         Added CHANGES-0.9 doc, updated status of other docs.
28848         
28849         * gst/gstquery.h:
28850         Remove "hmm" macro
28851
28852 2005-06-30  Wim Taymans  <wim@fluendo.com>
28853
28854         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28855         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28856         (gst_base_sink_change_state):
28857         * gst/base/gstbasesink.h:
28858         Some tweaks, only EOS and a buffer complete a preroll.
28859
28860 2005-06-30  Andy Wingo  <wingo@pobox.com>
28861
28862         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28863         activate_push down to the internal pad as well.
28864
28865 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28866
28867         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28868
28869         * gst/gsttaginterface.c:
28870           Some documentation fixes (#307394 and #307397).
28871
28872 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28873
28874         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28875
28876         * gst/gstvalue.c: (gst_value_intersect_list):
28877           Fix memleak (#309125).
28878
28879 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28880
28881         * docs/manual/advanced-dataaccess.xml:
28882           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28883         * docs/manual/basics-pads.xml:
28884           Add reference for filtered caps to above chapter.
28885
28886 2005-06-30  Wim Taymans  <wim@fluendo.com>
28887
28888         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28889         (gst_bin_change_state):
28890         Probes are gone.
28891         Lame attempt at making the state change function a bit
28892         more readable.
28893
28894 2005-06-30  Wim Taymans  <wim@fluendo.com>
28895
28896         * docs/design/part-clocks.txt:
28897         * docs/design/part-element-sink.txt:
28898         * docs/design/part-events.txt:
28899         * docs/design/part-preroll.txt:
28900         * docs/design/part-states.txt:
28901         Some more tweeks and additions to the docs.
28902
28903 2005-06-30  Wim Taymans  <wim@fluendo.com>
28904
28905         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28906         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28907         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28908         (gst_pad_check_pull_range), (gst_pad_get_range),
28909         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28910         * gst/gstpad.h:
28911         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28912         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28913         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28914         (gst_pad_remove_buffer_probe):
28915         Removed atomic operations, use existing LOCK.
28916         Move exception handling out of main code path.
28917
28918 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28919
28920         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28921         (silly_return_true_function), (gst_pad_class_init),
28922         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28923         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28924         (gst_pad_send_event):
28925           Fix accumulator, add default value by using _emitv() instead
28926           of _emit() for signal emission.
28927
28928 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28929
28930         * docs/manual/advanced-dataaccess.xml:
28931         * examples/manual/Makefile.am:
28932           Add probe example.
28933         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28934           Make work (??).
28935
28936 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28937
28938         * gst/elements/gstfilesink.c: (gst_filesink_render):
28939           Simplify code so that we don't have to handle short
28940           writes and return GST_FLOW_ERROR if an error occured.
28941
28942 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28943
28944         * docs/gst/gstreamer-docs.sgml:
28945           Remove probes more.
28946
28947 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28948
28949         * docs/gst/gstreamer-sections.txt:
28950         * docs/gst/tmpl/gstpad.sgml:
28951         * docs/gst/tmpl/gstprobe.sgml:
28952         * gst/Makefile.am:
28953         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28954         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28955         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28956         (gst_pad_push_event), (gst_pad_send_event):
28957         * gst/gstpad.h:
28958         * gst/gstutils.c: (gst_pad_add_data_probe),
28959         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28960         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28961         (gst_pad_remove_buffer_probe):
28962         * gst/gstutils.h:
28963           Remove old probes, add new g-signal-based probes and some utility
28964           functions.
28965
28966 2005-06-29  Edward Hervey  <edward@fluendo.com>
28967
28968         * gst/gstelementfactory.c:
28969         * gst/gstutils.h:
28970         * gst/gstutils.c:
28971         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28972         the definition to the header file.
28973
28974 2005-06-29  Andy Wingo  <wingo@pobox.com>
28975
28976         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28977         plugins from the source directory.
28978
28979 2005-06-29  Wim Taymans  <wim@fluendo.com>
28980
28981         * docs/gst/tmpl/gstbuffer.sgml:
28982         * docs/gst/tmpl/gstclock.sgml:
28983         Some fixings for blantently wrong text.
28984
28985 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28986
28987         * check/Makefile.am:
28988         * gst/gst.c: (add_path_func), (init_pre):
28989         * gst/gstregistry.c: (gst_registry_add_path):
28990           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28991           only scan the GST_PLUGIN_PATH locations, and not add
28992           system locations
28993
28994 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28995
28996         * docs/gst/gstreamer-sections.txt:
28997         * docs/gst/tmpl/gstbasesrc.sgml:
28998         * gst/gstelement.c:
28999         * gst/gstelement.h:
29000         * gst/gstevent.c:
29001         * gst/gstutils.c:
29002           doc fixes
29003
29004 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29005
29006         * docs/manual/advanced-autoplugging.xml:
29007           Fix autoplugging example.
29008
29009 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29010
29011         * docs/manual/advanced-autoplugging.xml:
29012         * docs/manual/mime-world.fig:
29013           Try to get autoplugging working, fix type detection. Fix text
29014           in hello-world image.
29015
29016 2005-06-29  Wim Taymans  <wim@fluendo.com>
29017
29018         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29019         (gst_base_sink_change_state):
29020         Small debug line.
29021
29022         * gst/gstclock.h:
29023         map SIGNAL and BROADCAST to the right function.
29024
29025         * gst/gstobject.h:
29026         Remove redundant braces.
29027
29028         * gst/gstpad.c: (gst_pad_set_caps):
29029         Don't call setcaps function when reseting caps to NULL.
29030
29031         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29032         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29033         (gst_system_clock_id_unschedule):
29034         Use BROADCAST as this is what we do.
29035
29036 2005-06-29  Wim Taymans  <wim@fluendo.com>
29037
29038         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29039         We are actually prerolling before commiting the state
29040         change. 
29041
29042 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29043
29044         * docs/manual/advanced-clocks.xml:
29045         * docs/manual/advanced-interfaces.xml:
29046         * docs/manual/advanced-metadata.xml:
29047         * docs/manual/advanced-position.xml:
29048         * docs/manual/advanced-schedulers.xml:
29049         * docs/manual/advanced-threads.xml:
29050         * docs/manual/appendix-porting.xml:
29051         * docs/manual/basics-bins.xml:
29052         * docs/manual/basics-bus.xml:
29053         * docs/manual/basics-elements.xml:
29054         * docs/manual/basics-helloworld.xml:
29055         * docs/manual/basics-pads.xml:
29056         * docs/manual/highlevel-components.xml:
29057         * docs/manual/manual.xml:
29058         * docs/manual/thread.fig:
29059           Update (until threads/scheduling) Application Development Manual;
29060           remove GstThread, add GstBus, add simple porting checklist, add
29061           documentation for tag writing, clocks, make all examples until this
29062           part compile and run.
29063         * examples/manual/Makefile.am:
29064           Update from changes to Application Development Manual; add bus
29065           example, remove thread example.
29066
29067 2005-06-28  Wim Taymans  <wim@fluendo.com>
29068
29069         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29070         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29071         (gst_bus_source_dispatch):
29072         Add debugging messages.
29073         Make internal methods static.
29074         Handle the case where the bus is flushed in the handler.
29075         
29076         * gst/gstelement.c: (gst_element_get_bus):
29077         Fix refcount in _get_bus();
29078
29079         * gst/gstpipeline.c: (gst_pipeline_change_state),
29080         (gst_pipeline_get_clock_func):
29081         Clock refcounting fixes.
29082         Handle the case where preroll timed out more gracefully.
29083         
29084         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29085         Clean up the internal thread in dispose. This is needed
29086         for subclasses that actually get disposed.
29087         
29088         * gst/schedulers/threadscheduler.c:
29089         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29090         (gst_thread_scheduler_dispose):
29091         Free thread pool in dispose.
29092
29093 2005-06-28  Andy Wingo  <wingo@pobox.com>
29094
29095         * tests/network-clock-utils.scm (debug, print-event): New utils.
29096
29097         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29098         (*packet-loss*): Unified loss probability.
29099         (network-time): Report out-of-band events.
29100
29101         * tests/plot-data: Add support for out-of-band events. Hack it
29102         into this script instead of passing it down the pipe; should fix
29103         this later.
29104
29105 2005-06-28  Wim Taymans  <wim@fluendo.com>
29106
29107         * docs/gst/gstreamer.types:
29108         * docs/gst/tmpl/gstbasesrc.sgml:
29109         * docs/gst/tmpl/gstpad.sgml:
29110         Docs fixes.
29111
29112 2005-06-28  Wim Taymans  <wim@fluendo.com>
29113
29114         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29115         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29116         (gst_proxy_pad_do_fixatecaps):
29117         Correctly proxy the check_pull_range function.
29118
29119 2005-06-28  Andy Wingo  <wingo@pobox.com>
29120
29121         * tests/network-clock.scm: Removed need for slib.
29122         
29123 2005-06-28  Wim Taymans  <wim@fluendo.com>
29124
29125         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29126         (gst_basesink_preroll_queue_flush):
29127         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29128         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29129         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29130         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29131         (gst_proxy_pad_set_property):
29132         * gst/gstpad.c:
29133         * gst/gstpad.h:
29134         * gst/gstqueue.c: (gst_queue_init):
29135         The deprecated pad loop function is removed now.
29136
29137 2005-06-28  Andy Wingo  <wingo@pobox.com>
29138
29139         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29140         New parameters, simulate network packet loss.
29141
29142         * tests/network-clock-utils.scm: Initialize the RNG.
29143
29144 2005-06-28  Wim Taymans  <wim@fluendo.com>
29145
29146         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29147         (gst_basesink_event), (gst_basesink_deactivate):
29148         Flushing the preroll queue always needs to unlock the waiters.
29149
29150 2005-06-28  Edward Hervey  <edward@fluendo.com>
29151
29152         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29153         Wheen a seek was successful on a pipeline, set the stream_time to the
29154         seek offset in order to have a synchronized stream_time.
29155
29156 2005-06-28  Wim Taymans  <wim@fluendo.com>
29157
29158         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29159         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29160         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29161         (gst_proxy_pad_do_fixatecaps):
29162         Call wrapper function instead of just calling the function
29163         pointers. This takes care of any locking and whatmore.
29164
29165 2005-06-28  Wim Taymans  <wim@fluendo.com>
29166
29167         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29168         (gst_pad_pull_range):
29169         * gst/gstpad.h:
29170         CONNECTED -> LINKED.
29171
29172 2005-06-28  Andy Wingo  <wingo@pobox.com>
29173
29174         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29175         source-munging commit!!!
29176
29177         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29178         (gst_object_sink): Take gpointer arguments, not GstObject --
29179         avoids casts. Like GLib.
29180
29181         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29182         activate.
29183
29184 2005-06-27  Andy Wingo  <wingo@pobox.com>
29185
29186         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29187         remaining buffer.
29188
29189         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29190         returns a sorted copy of the trace list.
29191         (gst_alloc_trace_print_live): New API, only prints traces with
29192         live objects. Sort the list.
29193         (gst_alloc_trace_print_all): Sort the list.
29194         (gst_alloc_trace_print): Align columns.
29195
29196         * gst/elements/gstttypefindelement.c:
29197         * gst/elements/gsttee.c:
29198         * gst/base/gstbasesrc.c:
29199         * gst/base/gstbasesink.c:
29200         * gst/base/gstbasetransform.c:
29201         * gst/gstqueue.c: Adapt for pad activation changes.
29202
29203         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29204         sched.
29205         (gst_pipeline_dispose): Drop ref on sched.
29206
29207         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29208         (gst_pad_activate_default): Push mode by default.
29209         (pre_activate_switch, post_activate_switch): New stubs, things to
29210         do before and after switching activation modes on pads.
29211         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29212         the pad's activate function to choose which mode to activate.
29213         Shortcut on deactivation and call the right function directly.
29214         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29215         mode.
29216         (gst_pad_activate_push): New API, same for push mode.
29217         (gst_pad_set_activate_function) 
29218         (gst_pad_set_activatepull_function) 
29219         (gst_pad_set_activatepush_function): Setters for new API.
29220
29221         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29222         Trace all miniobjects.
29223         (gst_mini_object_make_writable): Unref the arg if we copy, like
29224         gst_caps_make_writable.
29225
29226         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29227
29228         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29229         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29230         Adapt for new pad API.
29231
29232         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29233
29234         * gst/gstelement.h:
29235         * gst/gstelement.c (gst_element_iterate_src_pads) 
29236         (gst_element_iterate_sink_pads): New API functions.
29237         
29238         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29239         should fold into gstiterator.c in some form.
29240         (gst_element_pads_activate): Simplified via use of fold and
29241         delegation of decisions to gstpad->activate.
29242
29243         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29244         help in debugging.
29245
29246         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29247         class once in init, like gstmessage. Didn't run into this issue
29248         but it seems correct. Don't initialize a trace, gstminiobject does
29249         that.
29250
29251         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29252         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29253         to the bus.
29254         (assert_live_count): New util function, uses alloc traces to check
29255         cleanup.
29256
29257         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29258         To be modified when unlink drops the internal pad.
29259
29260 2005-06-27  Wim Taymans  <wim@fluendo.com>
29261
29262         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29263         (gst_bin_change_state):
29264         Cleanup the get_state() function a little, make sure it
29265         iterates the same set of elements.
29266         Added stub iterate_state_order().
29267
29268 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29269
29270         * docs/gst/gstreamer-docs.sgml:
29271         * docs/gst/gstreamer-sections.txt:
29272         * docs/gst/gstreamer.types:
29273         * docs/gst/tmpl/gstbasesink.sgml:
29274         * docs/gst/tmpl/gstbasesrc.sgml:
29275         * docs/gst/tmpl/gstbasetransform.sgml:
29276         * docs/gst/tmpl/gstelement.sgml:
29277         * docs/gst/tmpl/gstiterator.sgml:
29278         * gst/base/gstbasesrc.c:
29279         * gst/base/gstbasesrc.h:
29280         * gst/base/gstbasetransform.h:
29281         * gst/gstelement.c:
29282         * gst/gstiterator.h:
29283           adding basetransform and iterator docs
29284
29285 2005-06-27  Andy Wingo  <wingo@pobox.com>
29286
29287         * docs/design/part-activation.txt: Notes on how activation should
29288         work -- not quite implemented yet.
29289
29290 2005-06-25  Wim Taymans  <wim@fluendo.com>
29291
29292         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29293         At least get the chain function correct, needs more
29294         fixing.
29295
29296 2005-06-25  Wim Taymans  <wim@fluendo.com>
29297
29298         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29299         (gst_basesink_handle_object), (gst_basesink_event),
29300         (gst_basesink_do_sync), (gst_basesink_handle_event),
29301         (gst_basesink_change_state):
29302         * gst/gsttask.h:
29303         Right, two problems here: ghostpads don't take locks and
29304         glib _rec_mutex_lock_full() with depth==0 still locks.
29305         Catch illegal locking and g_warn them.
29306
29307 2005-06-25  Wim Taymans  <wim@fluendo.com>
29308
29309         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29310         Have to check for completion now...
29311
29312 2005-06-25  Wim Taymans  <wim@fluendo.com>
29313
29314         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29315         (gst_basesink_handle_object), (gst_basesink_event),
29316         (gst_basesink_do_sync), (gst_basesink_handle_event),
29317         (gst_basesink_change_state):
29318         * gst/gstpad.h:
29319         Unlock STREAM_LOCK whatever the recursion was.
29320
29321 2005-06-25  Wim Taymans  <wim@fluendo.com>
29322
29323         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29324         (gst_basesink_preroll_queue_empty),
29325         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29326         (gst_basesink_event), (gst_basesink_do_sync),
29327         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29328         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29329         (gst_basesink_change_state):
29330         Reworked the base sink, handle event and buffer serialisation
29331         correctly and removed possible deadlock.
29332         Handle EOS correctly.
29333
29334 2005-06-25  Wim Taymans  <wim@fluendo.com>
29335
29336         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29337         (gst_pipeline_change_state):
29338         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29339         Allow elements to post EOS in the state change function.
29340         Fix up -launch, make it exit the poll loop when the
29341         pipeline actually changed state.
29342         Fix up warning parsing in -launch.
29343
29344 2005-06-25  Wim Taymans  <wim@fluendo.com>
29345
29346         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29347         (gst_tee_sink_activate):
29348         Core takes STREAM_LOCK for us now.
29349
29350 2005-06-25  Wim Taymans  <wim@fluendo.com>
29351
29352         * gst/gstelement.c: (gst_element_get_state_func),
29353         (gst_element_set_state):
29354         * gst/gstelement.h:
29355         * gst/gstmessage.c: (gst_message_parse_error),
29356         (gst_message_parse_warning):
29357         Keep track of current target state while performing a state
29358         change so that subclasses can do something interesting.
29359         Fix parsing of warning/error messages when GError is NULL.
29360
29361 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29362
29363         * docs/gst/Makefile.am:
29364         * docs/gst/gstreamer-docs.sgml:
29365         * docs/gst/gstreamer-sections.txt:
29366         * docs/gst/gstreamer.types:
29367         * docs/gst/tmpl/gstbasesink.sgml:
29368         * docs/gst/tmpl/gstbasesrc.sgml:
29369         * docs/gst/tmpl/gstbin.sgml:
29370         * docs/gst/tmpl/gstcompat.sgml:
29371         * docs/gst/tmpl/gstfakesink.sgml:
29372         * docs/gst/tmpl/gstfakesrc.sgml:
29373         * docs/gst/tmpl/gstfilesink.sgml:
29374         * docs/gst/tmpl/gstfilesrc.sgml:
29375         * docs/gst/tmpl/gstindex.sgml:
29376         * docs/manual/appendix-quotes.xml:
29377         * gst/base/gstbasesrc.h:
29378         * gst/elements/gstfakesrc.h:
29379         * gst/gstmessage.h:
29380           start pulling in base classes and elements in our docs
29381
29382 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29383
29384         * docs/gst/Makefile.am:
29385         * docs/libs/Makefile.am:
29386           fixed make distcheck with gtk-doc 1.3
29387
29388 2005-06-23  Wim Taymans  <wim@fluendo.com>
29389
29390         * gst/gstelement.c: (gst_element_get_state_func),
29391         (gst_element_set_state), (gst_element_change_state):
29392         When the state did not change, also report NO_PREROLL
29393         when it matters.
29394
29395 2005-06-23  Wim Taymans  <wim@fluendo.com>
29396
29397         * gst/gstpad.c: (gst_pad_event_default):
29398         * gst/gstqueue.c: (gst_queue_loop):
29399         No unsafe task pausing please.
29400
29401 2005-06-23  Wim Taymans  <wim@fluendo.com>
29402
29403         * gst/schedulers/threadscheduler.c:
29404         (gst_thread_scheduler_task_start),
29405         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29406         Ref the task before pushing it on the threadpool. This
29407         makes sure that we have a ref when the threadfunction is
29408         actually called.
29409
29410 2005-06-23  Andy Wingo  <wingo@pobox.com>
29411
29412         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29413         offset is greater than the file's size.
29414
29415         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29416         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29417         * gst/gstobject.c (gst_object_class_init): Make the class lock
29418         recursive. Wim won't let me drop deep_notify. Decodebin works
29419         again, whoopdy doo.
29420
29421         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29422         internal pad, and hacks accordingly. Doesn't do it on the target
29423         pad because we change its caps. Probably catches all cases of
29424         interest tho.
29425         (gst_ghost_pad_set_property): Connect to notify::caps as
29426         appropritate.
29427
29428         * tests/network-clock.scm (plot-simulation): Pipe data to the
29429         elite python skript.
29430
29431         * tests/network-clock-utils.scm (define-parameter): New macro,
29432         defines a parameter that can be set via the command line.
29433         (set-parameter!, parse-parameter-arguments): Command line args
29434         parser.
29435
29436         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29437         stdin.
29438
29439 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29440
29441         * gst/elements/gsttypefindelement.c:
29442         (gst_type_find_element_handle_event):
29443           Don't restart typefinding on a discont.
29444         * gst/gstelement.c: (gst_element_set_state):
29445           Debug spelling fix.
29446         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29447           Allow changing mode of an active pad.
29448           Debug output fixes.
29449         * gst/registries/gstlibxmlregistry.c: (load_feature):
29450           Don't cast a static pad template to a normal pad template.
29451
29452 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29453
29454         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29455         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29456           remove gst_strtoll completely, since it didn't actually do
29457           anything more than what g_ascii_strtoull already does.
29458           check for range errors when deserializing
29459           do a cast for the unsigned cases; but further fixing needs
29460           a decision on what the interpretation of "(int)" and
29461           deserialization should be for values that fall outside the
29462           type's boundaries (ie, refuse, or interpret as casting)
29463
29464 2005-06-23  Wim Taymans  <wim@fluendo.com>
29465
29466         * check/Makefile.am:
29467         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29468         * docs/design/part-live-source.txt:
29469         * docs/design/part-states.txt:
29470         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29471         (gst_basesrc_set_live), (gst_basesrc_is_live),
29472         (gst_basesrc_get_range), (gst_basesrc_activate),
29473         (gst_basesrc_change_state):
29474         * gst/base/gstbasesrc.h:
29475         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29476         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29477         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29478         * gst/gstelement.c: (gst_element_get_state_func),
29479         (gst_element_set_state):
29480         * gst/gstelement.h:
29481         * gst/gsttypes.h:
29482         * tools/gst-launch.c: (event_loop), (main):
29483         Added support for live sources and other elements that
29484         cannot do preroll.
29485         Updated design docs, added live-source design doc.
29486         Implemented live source functionality in basesrc
29487         Fix error condition in _bin_get_state()
29488         Implement live source handling in -launch.
29489         Added check for live sources.
29490         Fixed case in GstBin where elements were changed state
29491         multiple times.
29492
29493
29494 2005-06-23  Andy Wingo  <wingo@pobox.com>
29495
29496         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29497         borken refcounting.
29498
29499         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29500         gst_caps_replace takes care of this for us.
29501
29502         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29503         gst_pad_set_caps on the target, not just its setcaps() function.
29504
29505         * tests/network-clock.scm: 
29506         * tests/network-clock-utils.scm: A network clock simulator.
29507         Something of an algorithmic testbed before doing something in C.
29508
29509 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29510
29511         * check/Makefile.am:
29512         * check/gst/capslist.h:
29513           copy over from 0.8, and add two with bitmasks specified with
29514           (int) 0xFF...
29515         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29516           add test to parse everything from capslist.h
29517         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29518         (main):
29519           add test for structure deserialization
29520         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29521           add tests for deserialization of strings to int types
29522         * gst/gststructure.c: (gst_structure_nth_field_name):
29523         * gst/gststructure.h:
29524           add a way to get the name of a field referenced by index
29525         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29526           instead of checking if the resulting long long lies between
29527           min and max, we check if the long long would fit into
29528           a number of bytes for the final type.
29529           This fixes cases where a string represents 2^32 - 1, which
29530           when cast to int would be the (valid) -1, but is bigger than
29531           G_MAXINT
29532
29533 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29534
29535         * gst/parse/grammar.y:
29536           add a log line for type deserialization
29537
29538 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29539
29540         * check/gst/gstvalue.c: (START_TEST):
29541         * gst/gstvalue.c: (gst_value_deserialize):
29542           return long long, not int, so gint64 deserialization actually
29543           works.  Is there any flag that makes the compiler check this ?
29544           Fixes #308559
29545
29546 2005-06-22  Wim Taymans  <wim@fluendo.com>
29547
29548         * gst/gstbuffer.h:
29549         Added convenience macros for setting buffers in GValue.
29550
29551 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29552
29553         * check/gst/.cvsignore:
29554         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29555           add a test deserializing int64, and comment part out because
29556           it fails, yay !
29557
29558 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29559
29560         * check/Makefile.am:
29561         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29562         * testsuite/Makefile.am:
29563         * testsuite/caps/Makefile.am:
29564         * testsuite/caps/value_serialize.c:
29565         * testsuite/test_gst_init.c:
29566           move a value_serialize test over
29567
29568 2005-06-20  Wim Taymans  <wim@fluendo.com>
29569
29570         * gst/gstpad.c:
29571         Small doc updates.
29572         
29573         * gst/gstvalue.c: (gst_value_compare_buffer),
29574         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29575         (gst_value_compare_flags), (gst_value_serialize_flags),
29576         (gst_value_deserialize_flags), (_gst_value_initialize):
29577         Fix serialisation of buffers, they are not boxed types anymore
29578
29579 2005-06-20  Wim Taymans  <wim@fluendo.com>
29580
29581         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29582         Testcase to show error in buffer-on-caps serialisation.
29583
29584 2005-06-20  Andy Wingo  <wingo@pobox.com>
29585
29586         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29587         will be adding to later.
29588
29589         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29590         if its socks fill with rocks.
29591         (gst_system_clock_obtain): Set the name on object construction.
29592         Avoid double-checked locking.
29593
29594 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29595
29596         * gst/gsturi.c: (gst_element_make_from_uri):
29597           Fix potential endless loop.
29598
29599 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29600
29601         * check/Makefile.am:
29602           add gsttag
29603         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29604         (main):
29605           move over from testsuite dir and clean up
29606         * configure.ac:
29607         * gst/gsttag.c:
29608         * testsuite/Makefile.am:
29609         * testsuite/tags/.cvsignore:
29610         * testsuite/tags/Makefile.am:
29611         * testsuite/tags/merge.c:
29612           remove testsuite/tags
29613
29614 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29615
29616         * docs/gst/gstreamer-sections.txt:
29617         * docs/gst/tmpl/gstenumtypes.sgml:
29618         * win32/gstenumtypes.c:
29619           clean up documentation build a little
29620
29621 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29622
29623         * check/gstcheck.h:
29624           add macros for checking refcounts on objects and caps
29625         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29626           add some more unit tests
29627         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29628         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29629           fix leaked refcounts (I hope :)) so unittest works
29630         * gst/gstpad.h:
29631           whitespace removal
29632
29633 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29634
29635         * configure.ac: back to HEAD
29636
29637 === release 0.9.1 ===
29638
29639 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29640
29641         * NEWS:
29642         * RELEASE:
29643           updated
29644
29645 2005-06-17  Andy Wingo  <wingo@pobox.com>
29646
29647         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29648         assert; it's always possible that the pad gets deactivated in
29649         between the checks in gstpad.c and the implementation. Rely on
29650         finish_preroll() to return a FLUSHING or similar instead of on the
29651         assert.
29652         
29653         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29654         clock and post an EOS message if we come out of finish_preroll in
29655         the playing state.
29656
29657 2005-06-16  David Schleef  <ds@schleef.org>
29658
29659         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29660         (gst_capsfilter_set_property): Allow NULL as possible value
29661         for filter_caps property, indicating GST_CAPS_ANY.
29662
29663 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29664
29665         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29666           fix debug output
29667         * gst/schedulers/Makefile.am:
29668           use libgst prefix
29669         * gstreamer.spec.in:
29670           fix spec for it
29671
29672 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29673
29674         * gstreamer.spec.in:
29675           clean up
29676
29677 2005-06-08  Andy Wingo  <wingo@pobox.com>
29678
29679         * gst/gstutils.c: RPAD fixes all around.
29680         (gst_element_link_pads): Refcounting fixes.
29681
29682         * tools/gst-inspect.c:
29683         * tools/gst-xmlinspect.c:
29684         * parse/grammar.y:
29685         * gst/base/gsttypefindhelper.c:
29686         * gst/base/gstbasesink.c:
29687         * gst/gstqueue.c: RPAD fixes.
29688
29689         * gst/gstghostpad.h:
29690         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29691         pads. The tricky thing is they provide both source and sink
29692         interfaces, since they proxy the internal pad for the external
29693         pad, and vice versa. Implement with lower-level ProxyPad objects,
29694         with the interior proxy pad as a child of the exterior ghost pad.
29695         Should write a doc on this.
29696         
29697         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29698         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29699         gst_object API.
29700         
29701         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29702         pads are real pads. No ghost pads in this file. Not documenting
29703         the myriad s/RPAD/PAD/ and REALIZE fixes.
29704         (gst_pad_class_init): Add properties for "direction" and
29705         "template". Both are construct-only, so they can't change during
29706         the life of the pad. Fixes properly deriving from GstPad.
29707         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29708         derived objects, just set properties when creating the objects via
29709         g_object_new.
29710         (gst_pad_get_parent): Implement as a function, return NULL if the
29711         parent is not an element.
29712         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29713         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29714         
29715         * gst/gstobject.c (gst_object_class_init): Make name a construct
29716         property. Don't set it in the object init.
29717
29718         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29719         with UNKNOWN direction.
29720         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29721         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29722         (gst_element_remove_pad): Remove ghost-pad special cases.
29723         (gst_element_pads_activate): Remove rpad cruft.
29724
29725         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29726         catch the pad's-parent-not-an-element case.
29727
29728         * gst/gst.h: Include gstghostpad.h.
29729
29730         * gst/gst.c (init_post): No more real, ghost pads.
29731
29732         * gst/Makefile.am: Add gstghostpad.[ch].
29733
29734         * check/Makefile.am:
29735         * check/gst/gstbin.c:
29736         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29737         into a bin creates ghost pads, and that the refcounts are right.
29738         Partly moved from gstbin.c.
29739
29740 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29741
29742         * check/gst-libs/.cvsignore:
29743         * check/gst/.cvsignore:
29744         * check/pipelines/.cvsignore:
29745           ignore more
29746         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29747         (START_TEST), (cleanup_suite), (main):
29748           add some tests related to cleanup after running pipelines
29749
29750 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29751
29752         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29753           add a testsuite for GstBuffer
29754
29755 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29756
29757         * gst/gstminiobject.h:
29758           add defines for accessing the refcount
29759
29760 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29761
29762         * Makefile.am: added support for html unit test coverage reports
29763
29764 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29765
29766         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29767           Free existing caps if the capsfilter changes. Add a FIXME about
29768           setting those caps on the pads.
29769
29770         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29771           Before adding a ghost pad to a parent bin, check that there isn't
29772           already one for the element on the bin. Prevents infinite recursion
29773           when using decodebin in parse pipelines. Andy says he'll rewrite the
29774           way this works anyway, so ignore the hack.
29775
29776 2005-06-02  Andy Wingo  <wingo@pobox.com>
29777
29778         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29779         file size, pass it on to the type find helper.
29780
29781         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29782         segment_start and segment_end properly according to the seek
29783         method. Segment_end is still a bit flaky because offset can be
29784         negative for CUR and END cases, but it takes -1 as an "unset"
29785         value.
29786
29787 2005-06-02  Wim Taymans  <wim@fluendo.com>
29788
29789         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29790         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29791         (gst_basesink_activate):
29792         * gst/base/gstbasesink.h:
29793         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29794         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29795         (gst_pad_query), (gst_pad_start_task):
29796         * gst/gstpad.h:
29797         * gst/gstqueue.c: (gst_queue_bufferalloc),
29798         (gst_queue_handle_sink_event), (gst_queue_chain):
29799         Bufferalloc: return GstFlowReturn to more accuratly report
29800         why allocation failed.
29801
29802 2005-06-02  Wim Taymans  <wim@fluendo.com>
29803
29804         * gst/gstpipeline.c: (gst_pipeline_send_event):
29805         Take snapshot of state without blocking.
29806
29807 2005-06-02  Wim Taymans  <wim@fluendo.com>
29808
29809         * docs/design/part-TODO.txt:
29810         * docs/design/part-caps.txt:
29811         * docs/design/part-clocks.txt:
29812         * docs/design/part-negotiation.txt:
29813         * docs/design/part-preroll.txt:
29814         Small doc updates 
29815
29816 2005-05-30  Wim Taymans  <wim@fluendo.com>
29817
29818         * gst/elements/gstidentity.c: (gst_identity_event),
29819         (gst_identity_transform), (gst_identity_get_property):
29820         Protect last_message property as it is accessed from
29821         multiple threads.
29822
29823 2005-05-30  Wim Taymans  <wim@fluendo.com>
29824
29825         * gst/gstelement.c: (gst_element_init),
29826         (gst_element_pads_activate), (gst_element_change_state):
29827         Slicker pad activation code.
29828
29829 2005-05-30  Wim Taymans  <wim@fluendo.com>
29830
29831         * gst/Makefile.am:
29832         * gst/gstelement.h:
29833         * gst/gstelementfactory.h:
29834         * gst/gsttypes.h:
29835         Move elementfactory methods to separate .h file.
29836
29837 2005-05-30  Wim Taymans  <wim@fluendo.com>
29838
29839         * docs/design/part-overview.txt:
29840         * gst/gstsystemclock.h:
29841         Small typo fixes, doc updates.
29842
29843 2005-05-30  Wim Taymans  <wim@fluendo.com>
29844
29845         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29846         (init_popt_callback):
29847         Remove cpu-opt flag.
29848
29849 2005-05-30  Wim Taymans  <wim@fluendo.com>
29850
29851         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29852         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29853         * gst/gstbuffer.h:
29854         Avoid typechecking in places where not needed.
29855         Added accessor for malloc_data.
29856
29857 2005-05-30  Wim Taymans  <wim@fluendo.com>
29858
29859         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29860         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29861         (gst_pad_configure_sink), (gst_pad_configure_src),
29862         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29863         (gst_pad_start_task):
29864         Propagate errors from _set_caps() in configure_src/sink
29865         functions instead of returning TRUE.
29866         FLUSH events can travel up and downstream
29867
29868
29869 2005-05-30  Wim Taymans  <wim@fluendo.com>
29870
29871         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29872         (gst_basesink_activate):
29873         Handle EOS in preroll.
29874
29875 2005-05-30  Wim Taymans  <wim@fluendo.com>
29876
29877         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29878         (gst_queue_loop), (gst_queue_handle_src_event):
29879         Remove old pieces of code
29880         Flushing the queue in an upstream event is a very bad idea.
29881
29882 2005-05-26  Andy Wingo  <wingo@pobox.com>
29883
29884         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29885         gst_value_set_mini_object so as to add a ref on the object (which
29886         will be removed when the value is unset).
29887
29888         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29889         arg type in ::handoff.
29890
29891         * gst/gstelement.c (gst_element_change_state): Also deactivate
29892         pads in READY->NULL, just in case the element didn't make it to
29893         PAUSED. Wingo tested, Wim approved.
29894
29895 2005-05-26  Wim Taymans  <wim@fluendo.com>
29896
29897         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29898         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29899         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29900         A flushing pad cannot be used to alloc_buffer from.
29901
29902 2005-05-26  Wim Taymans  <wim@fluendo.com>
29903
29904         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29905         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29906         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29907         (gst_bus_create_watch), (gst_bus_add_watch_full):
29908         * gst/gstbus.h:
29909         Implement a real GSource and use g_main_context_wakeup() to
29910         signal new messages instead of the socketpair.
29911
29912 2005-05-25  Wim Taymans  <wim@fluendo.com>
29913
29914         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29915         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29916         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29917         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29918         (gst_pad_send_event), (gst_pad_start_task):
29919         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29920         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29921         (gst_queue_sink_activate), (gst_queue_src_activate),
29922         (gst_queue_change_state):
29923         * gst/gstqueue.h:
29924         Fix state changes for non sinks. We now change sinks, then elements
29925         with unconnected srcpads, then the rest.
29926         More efficient queue unlocking in flush and state changes.
29927         Set the pad activate mode even if it does not have an activate
29928         function.
29929
29930 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29931
29932         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29933           Don't go in pull mode for non-seekable sources.
29934         * gst/elements/gsttypefindelement.h:
29935         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29936         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29937         (free_entry), (stop_typefinding),
29938         (gst_type_find_element_handle_event), (find_peek),
29939         (gst_type_find_element_chain), (do_pull_typefind),
29940         (gst_type_find_element_change_state):
29941           Allow typefinding (w/o seeking) in push-mode, simplified version
29942           of what was in 0.8.
29943         * gst/gstutils.c: (gst_buffer_join):
29944         * gst/gstutils.h:
29945           gst_buffer_join() from 0.8.
29946
29947 2005-05-25  Wim Taymans  <wim@fluendo.com>
29948
29949         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29950         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29951         (gst_pad_send_event), (gst_pad_start_task):
29952         Disable attempt at mode switching until it is figured out.
29953
29954 2005-05-25  Wim Taymans  <wim@fluendo.com>
29955
29956         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29957         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29958         (gst_basesink_finish_preroll), (gst_basesink_chain),
29959         (gst_basesink_loop), (gst_basesink_activate),
29960         (gst_basesink_change_state):
29961         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29962         (gst_basesrc_get_range), (gst_basesrc_loop),
29963         (gst_basesrc_activate):
29964         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29965         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29966         (gst_real_pad_init), (gst_real_pad_set_property),
29967         (gst_real_pad_get_property), (gst_pad_set_active),
29968         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29969         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29970         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29971         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29972         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29973         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29974         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29975         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29976         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29977         (gst_pad_stop_task):
29978         * gst/gstpad.h:
29979         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29980         (gst_queue_loop), (gst_queue_src_activate):
29981         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29982         (gst_task_get_state):
29983         * gst/gsttask.h:
29984         * gst/schedulers/threadscheduler.c:
29985         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29986         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29987         in task function.
29988         Remove ACTIVE pad flag, use FLUSHING everywhere
29989         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29990         functions.
29991         Add locks around IS_FLUSHING when reading.
29992         Take STREAM lock in chain(), get_range() functions so plugins
29993         don't need to take it anymore.
29994         
29995
29996
29997 2005-05-25  Wim Taymans  <wim@fluendo.com>
29998
29999         * tools/gst-launch.c: (event_loop):
30000         Unref message after using its contents instead of
30001         before.
30002
30003 2005-05-24  Wim Taymans  <wim@fluendo.com>
30004
30005         * docs/design/draft-ghostpads.txt:
30006         * docs/design/draft-push-pull.txt:
30007         * docs/design/draft-query.txt:
30008         * docs/design/part-overview.txt:
30009         Docs updates, added general overview doc.
30010
30011 2005-05-21  David Schleef  <ds@schleef.org>
30012
30013         * docs/gst/tmpl/old/GstBin.sgml:
30014         * docs/gst/tmpl/old/GstBuffer.sgml:
30015         * docs/gst/tmpl/old/GstCaps.sgml:
30016         * docs/gst/tmpl/old/GstClock.sgml:
30017         * docs/gst/tmpl/old/GstCompat.sgml:
30018         * docs/gst/tmpl/old/GstData.sgml:
30019         * docs/gst/tmpl/old/GstElement.sgml:
30020         * docs/gst/tmpl/old/GstEvent.sgml:
30021         * docs/gst/tmpl/old/GstIndex.sgml:
30022         * docs/gst/tmpl/old/GstStructure.sgml:
30023         * docs/gst/tmpl/old/GstTag.sgml:
30024         * docs/gst/tmpl/old/cothreads.sgml:
30025         * docs/gst/tmpl/old/cothreads_compat.sgml:
30026         * docs/gst/tmpl/old/gettext.sgml:
30027         * docs/gst/tmpl/old/gobject2gtk.sgml:
30028         * docs/gst/tmpl/old/grammar.tab.sgml:
30029         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30030         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30031         * docs/gst/tmpl/old/gst_private.sgml:
30032         * docs/gst/tmpl/old/gstaggregator.sgml:
30033         * docs/gst/tmpl/old/gstarch.sgml:
30034         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30035         * docs/gst/tmpl/old/gstbufferstore.sgml:
30036         * docs/gst/tmpl/old/gstdata_private.sgml:
30037         * docs/gst/tmpl/old/gstdisksink.sgml:
30038         * docs/gst/tmpl/old/gstdisksrc.sgml:
30039         * docs/gst/tmpl/old/gstelementfactory.sgml:
30040         * docs/gst/tmpl/old/gstextratypes.sgml:
30041         * docs/gst/tmpl/old/gstfakesink.sgml:
30042         * docs/gst/tmpl/old/gstfakesrc.sgml:
30043         * docs/gst/tmpl/old/gstfdsink.sgml:
30044         * docs/gst/tmpl/old/gstfdsrc.sgml:
30045         * docs/gst/tmpl/old/gstfilesink.sgml:
30046         * docs/gst/tmpl/old/gstfilesrc.sgml:
30047         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30048         * docs/gst/tmpl/old/gstidentity.sgml:
30049         * docs/gst/tmpl/old/gstindexfactory.sgml:
30050         * docs/gst/tmpl/old/gstmarshal.sgml:
30051         * docs/gst/tmpl/old/gstmd5sink.sgml:
30052         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30053         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30054         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30055         * docs/gst/tmpl/old/gstpipefilter.sgml:
30056         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30057         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30058         * docs/gst/tmpl/old/gstshaper.sgml:
30059         * docs/gst/tmpl/old/gstspider.sgml:
30060         * docs/gst/tmpl/old/gstspideridentity.sgml:
30061         * docs/gst/tmpl/old/gststatistics.sgml:
30062         * docs/gst/tmpl/old/gsttee.sgml:
30063         * docs/gst/tmpl/old/gsttimecache.sgml:
30064         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30065         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30066         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30067         * docs/gst/tmpl/old/types.sgml:
30068           I didn't intend to add these or check them in.
30069
30070 2005-05-19  David Schleef  <ds@schleef.org>
30071
30072         * configure.ac: Use -no-common everywhere.  In a sane world, it
30073           would be the default in libtool, because without it, you can't
30074           build DLLs on Windows.
30075         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30076         * docs/gst/gstreamer-sections.txt:
30077         * docs/gst/tmpl/gstcpu.sgml:
30078         * docs/gst/tmpl/gstdata.sgml:
30079         * docs/gst/tmpl/gstthread.sgml:
30080
30081 2005-05-19  David Schleef  <ds@schleef.org>
30082
30083         * gst/gstminiobject.c: (gst_value_set_mini_object),
30084         (gst_value_take_mini_object), (gst_value_get_mini_object):
30085         * gst/gstminiobject.h: Add GValue set/get functions.
30086
30087 2005-05-19  Wim Taymans  <wim@fluendo.com>
30088
30089         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30090         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30091         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30092         * gst/gstbuffer.h:
30093         * gst/gstbus.c: (gst_bus_post):
30094         * gst/gstelement.c: (gst_element_get_random_pad):
30095         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30096         Make subbufer unref the parent in finalize.
30097         some more debugging info.
30098
30099
30100 2005-05-19  Wim Taymans  <wim@fluendo.com>
30101
30102         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30103         (gst_basesink_init), (gst_basesink_finalize),
30104         (gst_basesink_activate), (gst_basesink_change_state):
30105         Don't free preroll queue too early.
30106
30107 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30108
30109         * gst/Makefile.am:
30110         * gst/ROADMAP:
30111           Hi, I'm outdated. Please shoot me.
30112
30113 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30114
30115         * gst/gstpipeline.c: (gst_pipeline_send_event):
30116           Do not access variables after they have been deleted.
30117
30118 2005-05-19  Wim Taymans  <wim@fluendo.com>
30119
30120         * tools/gst-inspect.c: (print_plugin_features):
30121         A plugin feature does unfortunatly not use the
30122         object name yet...
30123
30124 2005-05-18  Wim Taymans  <wim@fluendo.com>
30125
30126         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30127         Port _span() functions to new subbuffers.
30128
30129 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30130
30131         * gst/gstbin.c: (gst_bin_add_func):
30132           Fix clock settery in bins when adding kids after the clock has
30133           been selected.
30134
30135 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30136
30137         * gst/elements/gstidentity.c: (gst_identity_class_init):
30138           Workaround until signals support GstMiniObject.
30139
30140 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30141
30142         * gst/gstbuffer.c:
30143         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30144
30145 2005-05-18  Wim Taymans  <wim@fluendo.com>
30146
30147         * gst/base/Makefile.am:
30148         * gst/base/gstadapter.c: (gst_adapter_base_init),
30149         (gst_adapter_class_init), (gst_adapter_init),
30150         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30151         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30152         (gst_adapter_flush), (gst_adapter_available),
30153         (gst_adapter_available_fast):
30154         * gst/base/gstadapter.h:
30155         Ported and added adapter to the base classes.
30156
30157 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30158
30159         * gst/gst.c:
30160         * gst/gstmessage.c:
30161           Make sure the class is reffed/unreffed once before threads can be
30162           used.  Fixes #304551.
30163
30164 2005-05-17  Wim Taymans  <wim@fluendo.com>
30165
30166         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30167         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30168         * gst/gstminiobject.c: (gst_mini_object_get_type),
30169         (gst_mini_object_free):
30170         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30171         (gst_pad_push), (gst_pad_push_event):
30172         * gst/gstqueue.c: (gst_queue_change_state):
30173         Don't queue buffers in basesink when we are flushing.
30174         Unref buffer when flushing in basesink.
30175         Flush queue when going to READY
30176         Unref buffer when _push() returns an error.
30177         Don't free MiniObject instance when refcount is incremented
30178         in _finalize() so that we can recover objects.
30179
30180 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30181
30182         * docs/manual/advanced-schedulers.xml:
30183         * docs/manual/appendix-checklist.xml:
30184         * docs/pwg/advanced-clock.xml:
30185         * docs/pwg/advanced-interfaces.xml:
30186         * docs/pwg/advanced-request.xml:
30187         * docs/pwg/advanced-types.xml:
30188         * docs/pwg/intro-preface.xml:
30189         * examples/plugins/example.c: (gst_example_get_type),
30190         (gst_example_class_init), (gst_example_chain),
30191         (gst_example_set_property), (gst_example_get_property),
30192         (gst_example_change_state), (plugin_init):
30193         * examples/plugins/example.h:
30194           small doc fixes
30195
30196 2005-05-17  Wim Taymans  <wim@fluendo.com>
30197
30198         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30199         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30200         * gst/gstqueue.c: (gst_queue_change_state):
30201         Clear queue when going to READY.
30202         Remove IN_SETCAPS flag too.
30203
30204 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30205
30206         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30207           Remove implicit cast from gboolean to GstElementStateReturn;
30208           make sure we still return failure in paused => ready case if
30209           the parent class fails to change state and our own stop 
30210           vfunc succeeds.
30211
30212 2005-05-17  Wim Taymans  <wim@fluendo.com>
30213
30214         * tools/gst-launch.c: (event_loop):
30215         Message was unreffed too soon.
30216
30217 2005-05-16  Andy Wingo  <wingo@pobox.com>
30218
30219         * gst/gstbin.c (sink_iterator_filter): Err... um...
30220
30221         * check/gst/gstbin.c (test_ghost_pads): New test for the
30222         ghosting-if-elements-not-in-same-bin behavior.
30223
30224 2005-05-16  David Schleef  <ds@schleef.org>
30225
30226         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30227         accessing refcount directly.
30228
30229 2005-05-15  David Schleef  <ds@schleef.org>
30230
30231         * check/Makefile.am: remove GstData checks
30232         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30233         * gst/Makefile.am: add miniobject, remove data
30234         * gst/gst.h: add miniobject, remove data
30235         * gst/gstdata.c: remove
30236         * gst/gstdata.h: remove
30237         * gst/gstdata_private.h: remove
30238         * gst/gsttypes.h: remove GstEvent and GstMessage
30239         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30240         * gst/gstmarshal.list: change BOXED -> OBJECT
30241
30242         Implement GstMiniObject.
30243         * gst/gstminiobject.c:
30244         * gst/gstminiobject.h:
30245
30246         Modify to be subclasses of GstMiniObject.
30247         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30248         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30249         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30250         (gst_subbuffer_get_type), (gst_subbuffer_init),
30251         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30252         (gst_buffer_span):
30253         * gst/gstbuffer.h:
30254         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30255         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30256         (_gst_event_copy), (gst_event_new):
30257         * gst/gstevent.h:
30258         * gst/gstmessage.c: (_gst_message_initialize),
30259         (gst_message_get_type), (gst_message_class_init),
30260         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30261         (gst_message_new), (gst_message_new_error),
30262         (gst_message_new_warning), (gst_message_new_tag),
30263         (gst_message_new_state_changed), (gst_message_new_application):
30264         * gst/gstmessage.h:
30265         * gst/gstprobe.c: (gst_probe_perform),
30266         (gst_probe_dispatcher_dispatch):
30267         * gst/gstprobe.h:
30268         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30269         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30270         (_gst_query_copy), (gst_query_new):
30271
30272         Update elements for GstData -> GstMiniObject changes
30273         * gst/gstquery.h:
30274         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30275         (gst_queue_chain), (gst_queue_loop):
30276         * gst/elements/gstbufferstore.c:
30277         (gst_buffer_store_add_buffer_func),
30278         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30279         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30280         (gst_fakesink_render):
30281         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30282         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30283         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30284         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30285         (gst_filesrc_create_read):
30286         * gst/elements/gstidentity.c: (gst_identity_class_init):
30287         * gst/elements/gsttypefindelement.c:
30288         (gst_type_find_element_src_event), (free_entry_buffers),
30289         (gst_type_find_element_handle_event):
30290         * libs/gst/dataprotocol/dataprotocol.c:
30291         (gst_dp_header_from_buffer):
30292         * libs/gst/dataprotocol/dataprotocol.h:
30293         * libs/gst/dataprotocol/dp-private.h:
30294
30295 2005-05-15  David Schleef  <ds@schleef.org>
30296
30297         * gst/elements/gstelements.c: Don't include headers that were
30298         just removed.
30299
30300 2005-05-15  David Schleef  <ds@schleef.org>
30301
30302         * gst/elements/Makefile.am: Remove some elements that don't
30303         need to be in the core (or even exist at all).
30304         * gst/elements/gstaggregator.c:
30305         * gst/elements/gstaggregator.h:
30306         * gst/elements/gstmd5sink.c:
30307         * gst/elements/gstmd5sink.h:
30308         * gst/elements/gstmultifilesrc.c:
30309         * gst/elements/gstmultifilesrc.h:
30310         * gst/elements/gstpipefilter.c:
30311         * gst/elements/gstpipefilter.h:
30312         * gst/elements/gstshaper.c:
30313         * gst/elements/gstshaper.h:
30314         * gst/elements/gststatistics.c:
30315         * gst/elements/gststatistics.h:
30316         * po/POTFILES.in: Remove above files.
30317
30318 2005-05-14  Andy Wingo  <wingo@pobox.com>
30319
30320         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30321         so as to get the refs right.
30322         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30323         unreffing objects that don't pass the filter.
30324
30325         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30326         gst_element_set_bus.
30327         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30328         normal cases, this will destroy the bus.
30329
30330         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30331         object.
30332
30333         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30334         has no sinks.
30335
30336 2005-05-13  Andy Wingo  <wingo@pobox.com>
30337
30338         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30339         gst_pad_link, call pad_link_maybe_ghosting,
30340         (pad_link_maybe_ghosting): Links pads, making sure that the
30341         elements being linked are in the same bin.
30342         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30343         Helpers for pad_link_maybe_ghosting.
30344
30345 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30346
30347         * configure.ac:
30348           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30349
30350 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30351
30352         * docs/design/part-element-source.txt:
30353           Mention GstPushSrc
30354
30355 2005-05-12  Wim Taymans  <wim@fluendo.com>
30356
30357         * gst/base/gstbasesink.c: (gst_basesink_init),
30358         (gst_basesink_activate):
30359         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30360         (gst_basesrc_is_seekable):
30361         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30362         (bin_element_is_sink), (gst_bin_change_state):
30363         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30364         * gst/gstelement.h:
30365         Identify sinks by their flag to avoid overly complicated
30366         checks (fow now).
30367         Do state changes even for elements not reachable from the
30368         sinks.
30369         BaseSink is a sink now :)
30370         Some more debugging info in the basesrc.
30371
30372
30373 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30374
30375         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30376           Implement _query on a bin, similar to _send_event.
30377
30378 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30379
30380         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30381           Discont event offset format should be GST_FORMAT_BYTES,
30382           not GST_FORMAT_TIME.
30383
30384 2005-05-12  Wim Taymans  <wim@fluendo.com>
30385
30386         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30387         Same fix as Ronald's but without the signal. 
30388
30389 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30390
30391         * gst/gstutils.c: (gst_element_query_position):
30392           No, an element is not a pad.
30393
30394 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30395
30396         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30397         (gst_bin_get_state):
30398           If a child is removed from a bin while we remove the child from
30399           the bin and while we're retrieving its state, signal this to the
30400           get_state function so we abort the wait (instead of waiting for
30401           a timeout) and can immediately re-iterate over all other elements.
30402
30403 2005-05-12  Wim Taymans  <wim@fluendo.com>
30404
30405         * gst/base/Makefile.am:
30406         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30407         (gst_basesrc_start):
30408         * gst/base/gstbasesrc.h:
30409         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30410         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30411         (gst_pushsrc_init), (gst_pushsrc_create):
30412         * gst/base/gstpushsrc.h:
30413         Added is_seekable to BaseSrc
30414         Added simple PushSrc.
30415
30416 2005-05-11  Wim Taymans  <wim@fluendo.com>
30417
30418         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30419         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30420         (gst_element_link_pads), (gst_element_query_position),
30421         (gst_element_query_convert), (intersect_caps_func),
30422         (gst_pad_query_position), (gst_pad_query_convert):
30423         Fix refcounting in utils function.
30424         No point in trying to activate a pad when it's added, it could
30425         be added from the state change function and then we deadlock, the
30426         element has to decide what to do.
30427
30428 2005-05-10  Andy Wingo  <wingo@pobox.com>
30429
30430         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30431         *all* the arguments.
30432
30433         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30434         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30435         lock (according to the docs -- if this is wrong change the docs).
30436
30437         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30438         flush messages in the NULL state.
30439
30440         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30441         message immediately and return.
30442         (gst_bus_set_flushing): New function. If a bus is flushing, it
30443         flushes out any queued messages and immediately unrefs new
30444         messages. This is so when an element goes to NULL, all of the
30445         unhandled messages coming from it can be freed, and their
30446         references to the element dropped. In other words: message source
30447         ref considered harmful :P
30448
30449         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30450         we're finished with it.
30451
30452         * gst/gstmessage.c (gst_message_new_state_changed): 
30453
30454 2005-05-10  Wim Taymans  <wim@fluendo.com>
30455
30456         * gst/gstvalue.c: (gst_value_compare_flags),
30457         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30458         (_gst_value_initialize):
30459         Added flags serialize/deserialize/compare code.
30460
30461 2005-05-09  Andy Wingo  <wingo@pobox.com>
30462
30463         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30464         Intersect the peer's caps with our caps.
30465
30466 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30467
30468         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30469         * gst/elements/gsttypefindelement.c: (find_peek):
30470           Handle negative offsets better. Fixes decodebin.
30471
30472 2005-05-09  Wim Taymans  <wim@fluendo.com>
30473
30474         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30475         (gst_base_transform_event):
30476         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30477         Implement accept_caps.
30478         Fix silly lock/unlock mismatch in base class.
30479
30480 2005-05-09  Wim Taymans  <wim@fluendo.com>
30481
30482         * docs/design/draft-push-pull.txt:
30483         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30484         * gst/elements/gstfilesink.c: (gst_filesink_init),
30485         (gst_filesink_query):
30486         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30487         (gst_type_find_handle_src_query), (find_element_get_length):
30488         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30489         * gst/gstelement.h:
30490         * gst/gstmessage.c:
30491         * gst/gstmessage.h:
30492         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30493         (gst_real_pad_get_caps_unlocked),
30494         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30495         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30496         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30497         (gst_real_pad_dispose), (gst_real_pad_finalize),
30498         (gst_pad_load_and_link), (gst_pad_save_thyself),
30499         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30500         (gst_pad_check_pull_range), (gst_pad_pull_range),
30501         (gst_pad_template_get_type), (gst_pad_template_class_init),
30502         (gst_pad_template_init), (gst_pad_template_dispose),
30503         (name_is_valid), (gst_static_pad_template_get),
30504         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30505         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30506         (gst_pad_get_element_private), (gst_pad_start_task),
30507         (gst_pad_pause_task), (gst_pad_stop_task),
30508         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30509         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30510         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30511         (gst_ghost_pad_new):
30512         * gst/gstpad.h:
30513         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30514         (gst_query_new_position), (gst_query_set_position),
30515         (gst_query_parse_position), (gst_query_new_convert),
30516         (gst_query_set_convert), (gst_query_parse_convert):
30517         * gst/gstquery.h:
30518         * gst/gstqueryutils.c:
30519         * gst/gstqueryutils.h:
30520         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30521         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30522         (gst_queue_handle_src_query):
30523         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30524         (gst_element_query_position), (gst_element_query_convert),
30525         (intersect_caps_func), (gst_pad_query_position),
30526         (gst_pad_query_convert):
30527         * gst/gstutils.h:
30528         * tools/gst-inspect.c: (print_pad_info):
30529         * tools/gst-xmlinspect.c: (print_element_info):
30530         Remove old query functions. Ported old code.
30531         Added position/convert helper functions to gstutils.
30532         Reordered gstpad.c code, grouping relevant things.
30533         Remove gst_message_new(), always need to speficy a specific
30534         message.
30535
30536
30537 2005-05-09  Andy Wingo  <wingo@pobox.com>
30538
30539         * gst/gstiterator.h: Add some includes.
30540
30541         * gst/gstqueryutils.h: Include more headers.
30542
30543         * gst/gstpad.h:
30544         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30545         some uses of gst_pad_query.
30546
30547         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30548         NULL out parameters.
30549         (gst_query_new_position): New proc, allocates a new position
30550         query.
30551
30552         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30553         gstqueryutils.c to the build.
30554
30555         * gst/gststructure.c (gst_structure_set_valist): Implement with
30556         the generic G_VALUE_COLLECT.
30557         
30558 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30559
30560         * gst/Makefile.am: (gst_headers):
30561         Added gstqueryutils.h to the list of headers to install, that was
30562         a 'nachty' move wingo :)
30563
30564 2005-05-06  Andy Wingo  <wingo@pobox.com>
30565
30566         * gst/gstquery.h
30567         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30568         GstData, init a memchunk.
30569         (standard_definitions): Add a few query types, deprecate a few.
30570         (gst_query_get_type): New proc.
30571         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30572         implementation.
30573         (gst_query_new_application, gst_query_get_structure): New public
30574         procs.
30575
30576         * docs/design/draft-query.txt: Removed LINKS from the query types,
30577         because all the rest can be dispatched to other pads -- seemed
30578         ugly to have a query that couldn't be dispatched. internal_links
30579         is fine as a pad method.
30580
30581         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30582         in gstpad.c, but maintain binary compatibility for the moment.
30583         Will fix before 0.9 is out.
30584
30585         * gst/gstqueryutils.c: 
30586         * gst/gstqueryutils.h: New files, implement 3 methods for each
30587         query type: parse_query, parse_response, and set. Probably need an
30588         allocator as well.
30589
30590         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30591
30592         * gst/elements/gstfilesink.c (gst_filesink_query2):
30593         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30594         query_types, and formats methods.
30595
30596         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30597         (gst_pad_set_query2_function): New functions.
30598         (gst_real_pad_init): Set query2_default as the default query2
30599         function. Basically just dispatches to internally linked pads.
30600
30601         Needs review!
30602         
30603         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30604         without using the atomic operations. Only one thread can possibly
30605         be accessing the data at this point. Changed so as to avoid
30606         gst_atomic operations.
30607
30608 2005-05-06  Wim Taymans  <wim@fluendo.com>
30609
30610         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30611         Also set caps if we use the fallback buffer alloc.
30612
30613 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30614
30615         * docs/gst/Makefile.am:
30616         * docs/gst/gstreamer-docs.sgml:
30617         * docs/gst/gstreamer-sections.txt:
30618         * docs/gst/tmpl/gstatomic.sgml:
30619         * docs/gst/tmpl/gstmemchunk.sgml:
30620         * testsuite/elements/struct_i386.h:
30621         * win32/GStreamer.vcproj:
30622         * win32/Makefile:
30623           Purge GstAtomic stuff from docs and win32 makefiles as well
30624
30625 2005-05-06  Wim Taymans  <wim@fluendo.com>
30626
30627         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30628         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30629         * gst/gstpad.c: (gst_pad_peer_get_caps):
30630         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30631         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30632         (gst_queue_src_activate), (gst_queue_change_state):
30633         * gst/gstqueue.h:
30634         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30635         (intersect_caps_func):
30636         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30637         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30638         Some fixes for the peer_get_caps() change.
30639
30640 2005-05-06  Wim Taymans  <wim@fluendo.com>
30641
30642         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30643         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30644         (gst_basesink_activate):
30645         Actually do something with error codes returned from the push
30646         functions.
30647
30648 2005-05-06  Wim Taymans  <wim@fluendo.com>
30649
30650         * docs/design/part-element-sink.txt:
30651         * docs/design/part-element-source.txt:
30652         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30653         (gst_basesink_event), (gst_basesink_activate):
30654         * gst/base/gstbasesink.h:
30655         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30656         (gst_basesrc_activate):
30657         * gst/base/gstbasesrc.h:
30658         * gst/gstelement.c: (gst_element_pads_activate):
30659         Some more documentation.
30660         Fixed scheduling decision in _pads_activate().
30661
30662 2005-05-05  Andy Wingo  <wingo@pobox.com>
30663
30664         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30665         the test suite.
30666
30667 2005-05-05  Wim Taymans  <wim@fluendo.com>
30668
30669         * gst/base/Makefile.am:
30670         * gst/base/gstbasesink.h:
30671         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30672         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30673         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30674         (gst_collectpads_class_init), (gst_collectpads_init),
30675         (gst_collectpads_finalize), (gst_collectpads_new),
30676         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30677         (find_pad), (gst_collectpads_remove_pad),
30678         (gst_collectpads_is_active), (gst_collectpads_collect),
30679         (gst_collectpads_collect_range), (gst_collectpads_start),
30680         (gst_collectpads_stop), (gst_collectpads_peek),
30681         (gst_collectpads_pop), (gst_collectpads_available),
30682         (gst_collectpads_read), (gst_collectpads_flush),
30683         (gst_collectpads_chain):
30684         * gst/base/gstcollectpads.h:
30685         * gst/elements/Makefile.am:
30686         * gst/elements/gstelements.c:
30687         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30688         (gst_fakesink_get_times), (gst_fakesink_event),
30689         (gst_fakesink_preroll), (gst_fakesink_render):
30690         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30691         (gst_filesink_init), (gst_filesink_set_location),
30692         (gst_filesink_open_file), (gst_filesink_close_file),
30693         (gst_filesink_pad_query), (gst_filesink_event),
30694         (gst_filesink_render), (gst_filesink_change_state):
30695         * gst/elements/gstfilesink.h:
30696         Added object to help in making collect pad based elements.
30697         Ported filesink.
30698         Make event function in sink baseclass return gboolean.
30699
30700 2005-05-05  Wim Taymans  <wim@fluendo.com>
30701
30702         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30703         (gst_bin_get_by_name):
30704         * gst/gstbuffer.h:
30705         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30706         (gst_clock_finalize):
30707         * gst/gstdata.c: (gst_data_replace):
30708         * gst/gstdata.h:
30709         * gst/gstelement.c: (gst_element_request_pad),
30710         (gst_element_pads_activate):
30711         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30712         (gst_object_unref):
30713         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30714         (gst_pad_set_checkgetrange_function),
30715         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30716         (gst_pad_check_pull_range), (gst_pad_pull_range),
30717         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30718         (gst_pad_pause_task), (gst_pad_stop_task):
30719         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30720         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30721         Fix name lookup in GstBin.
30722         Added _data_replace() function and _buffer_replace()
30723         Use finalize method to clean up clock.
30724         Fix refcounting on request pads.
30725         Fix pad schedule mode error.
30726         Some more object refcounting debug info,
30727
30728
30729 2005-05-04  Andy Wingo <wingo@pobox.com>
30730
30731         * check/Makefile.am:
30732         * docs/gst/tmpl/gstatomic.sgml:
30733         * docs/gst/tmpl/gstplugin.sgml:
30734         * gst/base/gstbasesink.c: (gst_basesink_activate):
30735         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30736         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30737         (gst_basesrc_query), (gst_basesrc_set_property),
30738         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30739         (gst_basesrc_activate):
30740         * gst/base/gstbasesrc.h:
30741         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30742         (gst_base_transform_src_activate):
30743         * gst/elements/gstelements.c:
30744         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30745         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30746         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30747         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30748         (gst_type_find_element_checkgetrange),
30749         (gst_type_find_element_activate):
30750         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30751         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30752         (gst_caps_load_thyself):
30753         * gst/gstelement.c: (gst_element_pads_activate),
30754         (gst_element_save_thyself), (gst_element_restore_thyself):
30755         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30756         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30757         * gst/gstpad.h:
30758         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30759         (gst_xml_parse_file), (gst_xml_parse_memory),
30760         (gst_xml_get_element), (gst_xml_make_element):
30761         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30762         (_file_index_id_save_xml), (gst_file_index_commit):
30763         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30764         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30765         (load_paths):
30766         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30767         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30768         * tools/gst-complete.c: (main):
30769         * tools/gst-compprep.c: (main):
30770         * tools/gst-inspect.c: (print_element_properties_info):
30771         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30772         * tools/gst-xmlinspect.c: (print_element_properties):
30773         GCC 4 fixen.
30774         
30775 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30776
30777         * gst/gstplugin.c: (gst_plugin_check_module),
30778         (gst_plugin_check_file), (gst_plugin_load_file):
30779             apply patch from #172526 to make register work on MacOSX
30780
30781 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30782
30783         * docs/gst/tmpl/gstconfig.sgml:
30784         * gst/gstconfig.h.in:
30785           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30786         * testsuite/debug/printf_extension.c: (main):
30787           Do not use GST_PTR_FORMAT on pointers to types with
30788           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30789         * testsuite/elements/property.h:
30790           use correct printf format
30791
30792 2005-05-02  Wim Taymans  <wim@fluendo.com>
30793
30794         * docs/design/draft-push-pull.txt:
30795         * docs/design/draft-query.txt:
30796         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30797         (gst_basesrc_start):
30798         Added draft for new query API.
30799         Added draft for better selecting scheduling methods.
30800         Make basesrc ignore length if the subclass does not support
30801         it.
30802
30803 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30804
30805         * gst/Makefile.am:
30806           possible fixes for automake-1.5 - _LIBADD is reserved
30807
30808 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30809
30810         * docs/faq/Makefile.am:
30811         * docs/manual/Makefile.am:
30812         * docs/manuals.mak:
30813         * docs/pwg/Makefile.am:
30814         * gst/Makefile.am:
30815           possible fixes for automake-1.5
30816
30817 2005-04-28  Wim Taymans  <wim@fluendo.com>
30818
30819         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30820         (gst_basesink_pad_getcaps), (gst_basesink_init),
30821         (gst_basesink_do_sync):
30822         * gst/gstclock.c: (gst_clock_entry_new):
30823         * gst/gstevent.c: (gst_event_discont_get_value):
30824         * gst/gstpipeline.c: (pipeline_bus_handler),
30825         (gst_pipeline_change_state):
30826         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30827         Better debugging of clocking info.
30828         Allow NULL values when getting discont values.
30829
30830 2005-04-27  Wim Taymans  <wim@fluendo.com>
30831
30832         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30833         * check/gst/gstpad.c: (gst_pad_suite):
30834         Increase timeout for checks.
30835
30836 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30837
30838         * check/Makefile.am:
30839           fix the broken rule for cleanup.  Apparently this rule is
30840           only needed on FC2, so maybe this warrants further autotool
30841           inspection.
30842
30843 2005-04-26  Wim Taymans  <wim@fluendo.com>
30844
30845         * gst/gsttrashstack.h:
30846         Ooohh. a nasty one! After having a failed pop() from the stack,
30847         it's possible that the stack is empty. In that case, don't
30848         follow the NULL pointer.
30849
30850 2005-04-25  Wim Taymans  <wim@fluendo.com>
30851
30852         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30853         (gst_pad_set_checkgetrange_function),
30854         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30855         (gst_pad_check_pull_range), (gst_pad_pull_range),
30856         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30857         (gst_pad_pause_task), (gst_pad_stop_task):
30858         * gst/gstplugin.c: (gst_plugin_load):
30859         * gst/gstplugin.h:
30860         Remove gst_library_load as it does more harm than good with
30861         the new g_module flags.
30862         Revert bogus caps template check in pad linking, pad caps
30863         are important when linking not the template, which is more
30864         general than the current caps.
30865
30866 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30867
30868         * gst/autoplug/.cvsignore:
30869         * gst/autoplug/Makefile.am:
30870         * gst/autoplug/gstsearchfuncs.c:
30871         * gst/autoplug/gstsearchfuncs.h:
30872         * gst/autoplug/gstspider.c:
30873         * gst/autoplug/gstspider.h:
30874         * gst/autoplug/gstspideridentity.c:
30875         * gst/autoplug/gstspideridentity.h:
30876         * gst/autoplug/spidertest.c:
30877           Die, spider, die.
30878
30879 2005-04-25  Wim Taymans  <wim@fluendo.com>
30880
30881         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30882         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30883         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30884         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30885         * gst/gstpad.h:
30886         Added stubs for unimplemented functions. 
30887
30888 2005-04-24  David Schleef  <ds@schleef.org>
30889
30890         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30891         please fix.
30892
30893 2005-04-24  David Schleef  <ds@schleef.org>
30894
30895         Convert everything from GstAtomicInt to g_atomic_int_*, and
30896         remove gstatomic.
30897         * gst/Makefile.am:
30898         * gst/gstatomic.c:
30899         * gst/gstatomic.h:
30900         * gst/gstatomic_impl.h:
30901         * gst/gstbuffer.c:
30902         * gst/gstcaps.c:
30903         * gst/gstcaps.h:
30904         * gst/gstclock.c:
30905         * gst/gstclock.h:
30906         * gst/gstdata.c:
30907         * gst/gstdata.h:
30908         * gst/gstdata_private.h:
30909         * gst/gstevent.c:
30910         * gst/gstinfo.c:
30911         * gst/gstinfo.h:
30912         * gst/gstmessage.c:
30913         * gst/gstobject.c:
30914         * gst/gstobject.h:
30915         * gst/gststructure.c:
30916         * gst/gststructure.h:
30917         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30918         * gst/gstutils.h:
30919
30920 2005-04-24  David Schleef  <ds@schleef.org>
30921
30922         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30923         make the regressions tests work.  Remove some code that is no
30924         longer true.
30925         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30926         Disable warning for pads without templates.
30927
30928 2005-04-24  David Schleef  <ds@schleef.org>
30929
30930         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30931         functions that handle filtered links.
30932         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30933         removed functions.
30934         * gst/gstutils.c: Fix/remove utility functions that handle
30935         filtered caps.
30936         * gst/gstutils.h:
30937         * gst/gstvalue.c: Add serialization/deserialization of caps
30938         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30939         requires fixing so that the filter caps notation creates
30940         a capsfilter element and sets the filter_caps property.  I
30941         think everyone probably wants to keep the shorthand notation.
30942         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30943         * docs/gst/tmpl/gstpad.sgml:
30944
30945         * gst/elements/gstelements.c: Register capsfilter element.
30946         * gst/Makefile.am: fix spacing
30947         * docs/random/ds/0.9-suggested-changes: random
30948
30949 2005-04-23  David Schleef  <ds@schleef.org>
30950
30951         * gst/elements/Makefile.am:
30952         * gst/elements/gstcapsfilter.c: New element that acts like an
30953         identity, but filters caps.  Will eventually replace filtered
30954         caps in pad linking.
30955         * gst/gstutils.c: (gst_element_create_all_pads): New function
30956         to create all the ALWAYS pads that are registered with an
30957         element class.  This functionality should eventually be
30958         merged in with GstElement initialization.
30959         * gst/gstutils.h:
30960         * testsuite/trigger/README: part of trigger test code that should
30961         have been checked in a long time ago.
30962
30963 2005-04-23  David Schleef  <ds@schleef.org>
30964
30965         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30966         needed with new versions of libtool (nobody will confirm this),
30967         and hard to carry around.
30968         * gst/autoplug/Makefile.am:
30969         * gst/base/Makefile.am:
30970         * gst/elements/Makefile.am:
30971         * gst/indexers/Makefile.am:
30972         * gst/schedulers/Makefile.am:
30973         * libs/gst/bytestream/Makefile.am:
30974         * libs/gst/control/Makefile.am:
30975         * libs/gst/dataprotocol/Makefile.am:
30976         * libs/gst/getbits/Makefile.am:
30977
30978 2005-04-21  Wim Taymans  <wim@fluendo.com>
30979
30980         * docs/design/draft-push-pull.txt:
30981         * docs/design/part-MT-refcounting.txt:
30982         * docs/design/part-TODO.txt:
30983         * docs/design/part-caps.txt:
30984         * docs/design/part-events.txt:
30985         * docs/design/part-gstbus.txt:
30986         * docs/design/part-gstpipeline.txt:
30987         * docs/design/part-messages.txt:
30988         * docs/design/part-push-pull.txt:
30989         * docs/design/part-query.txt:
30990         Some more docs.
30991
30992 2005-04-21  Wim Taymans  <wim@fluendo.com>
30993
30994         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30995         (gst_message_new), (gst_message_new_error),
30996         (gst_message_new_warning), (gst_message_new_tag),
30997         (gst_message_new_state_changed), (gst_message_new_application),
30998         (gst_message_get_structure):
30999         * gst/gstmessage.h:
31000         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31001         (gst_structure_copy_conditional):
31002         Use parent refcount in GstMessage to ensure GstStructure
31003         consistency.
31004         Cleaned up headers a bit.
31005         
31006
31007 2005-04-20  Wim Taymans  <wim@fluendo.com>
31008
31009         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31010         (gst_basesink_pad_getcaps), (gst_basesink_init),
31011         (gst_basesink_chain_unlocked):
31012         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31013         (gst_type_find_helper):
31014         * gst/elements/gsttypefindelement.c:
31015         (gst_type_find_element_have_type), (gst_type_find_element_init),
31016         (stop_typefinding), (gst_type_find_element_handle_event),
31017         (find_suggest), (gst_type_find_element_chain),
31018         (gst_type_find_element_checkgetrange),
31019         (gst_type_find_element_getrange), (do_typefind),
31020         (gst_type_find_element_activate):
31021         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31022         (gst_buffer_default_free), (gst_buffer_default_copy),
31023         (gst_buffer_set_caps):
31024         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31025         (gst_caps_replace):
31026         * gst/gstmessage.c: (gst_message_new),
31027         (gst_message_new_state_changed):
31028         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31029         (gst_pad_set_checkgetrange_function),
31030         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31031         (gst_pad_set_caps), (gst_pad_check_pull_range),
31032         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31033         * gst/gstpad.h:
31034         * gst/gsttypefind.c: (gst_type_find_register):
31035         Make gst_caps_replace() work like other _replace() functions.
31036         Use _caps_replace() where possible.
31037         Make sure _message_new() initialises its field.
31038         Add gst_static_pad_template_get_caps()
31039
31040
31041 2005-04-18  Andy Wingo  <wingo@pobox.com>
31042
31043         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31044         on the peer, not the pad. I think that was a typo. Pass an extra
31045         arg to see if random access is possible. Activate the pads as
31046         PULL_RANGE if possible.
31047
31048         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31049
31050         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31051         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31052         to PROP_....
31053
31054 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31055
31056         * docs/faq/using.xml:
31057           Add note on gstreamer-properties (#154996).
31058
31059 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31060
31061         * docs/random/bbb/optional-properties:
31062           Some analysis on optional properties.
31063
31064 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31065
31066         * docs/gst/tmpl/gstelementfactory.sgml:
31067         * gst/gstelement.h:
31068         * gst/gstelementfactory.c: (gst_element_factory_init),
31069         (gst_element_factory_cleanup), (gst_element_register),
31070         (__gst_element_factory_add_static_pad_template),
31071         (gst_element_factory_get_static_pad_templates),
31072         (gst_element_factory_can_src_caps),
31073         (gst_element_factory_can_sink_caps):
31074         * gst/registries/Makefile.am:
31075         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31076         (gst_xml_registry_class_init), (gst_xml_registry_init),
31077         (gst_xml_registry_new), (gst_xml_registry_set_property),
31078         (gst_xml_registry_get_property), (get_time), (make_dir),
31079         (gst_xml_registry_get_perms_func),
31080         (plugin_times_older_than_recurse), (plugin_times_older_than),
31081         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31082         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31083         (add_to_char_array), (read_string), (read_uint), (read_enum),
31084         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31085         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31086         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31087         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31088         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31089         (gst_xml_registry_rebuild):
31090         * gst/registries/gstlibxmlregistry.h:
31091         * tools/gst-compprep.c: (main):
31092         * tools/gst-inspect.c: (print_pad_templates_info):
31093         * tools/gst-xmlinspect.c: (print_element_info):
31094           Use libxml2 for registry parsing, use staticpadtemplates in
31095           elementfactories. Makes gst_init() +/- 10x faster.
31096
31097 2005-04-12  Wim Taymans  <wim@fluendo.com>
31098
31099         * gst/base/Makefile.am:
31100         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31101         (gst_basesink_pad_getcaps), (gst_basesink_init),
31102         (gst_basesink_event), (gst_basesink_change_state):
31103         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31104         (gst_basesrc_init), (gst_basesrc_query),
31105         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31106         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31107         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31108         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31109         (gst_basesrc_stop), (gst_basesrc_activate),
31110         (gst_basesrc_change_state):
31111         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31112         (helper_find_suggest), (gst_type_find_helper):
31113         * gst/base/gsttypefindhelper.h:
31114         * gst/elements/Makefile.am:
31115         * gst/elements/gstelements.c:
31116         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31117         (gst_fakesink_get_times), (gst_fakesink_event),
31118         (gst_fakesink_preroll), (gst_fakesink_render):
31119         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31120         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31121         (gst_fakesrc_get_property), (gst_fakesrc_create),
31122         (gst_fakesrc_start), (gst_fakesrc_stop):
31123         * gst/elements/gstfakesrc.h:
31124         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31125         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31126         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31127         (gst_filesrc_create_read), (gst_filesrc_create),
31128         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31129         (gst_filesrc_start):
31130         * gst/elements/gsttypefindelement.c:
31131         (gst_type_find_element_have_type), (gst_type_find_element_init),
31132         (start_typefinding), (stop_typefinding), (push_buffer_store),
31133         (gst_type_find_element_handle_event),
31134         (gst_type_find_element_chain),
31135         (gst_type_find_element_checkgetrange),
31136         (gst_type_find_element_getrange), (do_typefind),
31137         (gst_type_find_element_activate),
31138         (gst_type_find_element_change_state):
31139         * gst/elements/gsttypefindelement.h:
31140         * gst/gstpipeline.c: (pipeline_bus_handler):
31141         Added typefind helper.
31142         Small preroll fix in the base sink.
31143         Disable typefind code in basesrc.
31144         Crude port of typefindelement.
31145         Fakesrc cleanups.
31146
31147
31148 2005-04-11  Wim Taymans  <wim@fluendo.com>
31149
31150         * check/gst/gstbus.c: (gstbus_suite):
31151         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31152         * check/gstcheck.h:
31153           Fix up the timeout so that the test does not fail.
31154
31155 2005-04-06  Wim Taymans  <wim@fluendo.com>
31156
31157         * gst/base/README:
31158         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31159         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31160         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31161         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31162         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31163         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31164         (gst_basesrc_stop), (gst_basesrc_activate),
31165         (gst_basesrc_change_state), (basesrc_find_peek),
31166         (basesrc_find_suggest), (gst_basesrc_type_find):
31167         * gst/base/gstbasesrc.h:
31168         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31169         (gst_filesrc_class_init), (gst_filesrc_init),
31170         (gst_filesrc_finalize), (gst_filesrc_set_location),
31171         (gst_filesrc_set_property), (gst_filesrc_get_property),
31172         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31173         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31174         (gst_filesrc_create_read), (gst_filesrc_create),
31175         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31176         * gst/elements/gstfilesrc.h:
31177         * gst/gstelement.c: (gst_element_get_state_func),
31178         (gst_element_lost_state), (gst_element_pads_activate):
31179         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31180         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31181         (gst_pad_pull_range):
31182         * gst/gstpad.h:
31183         More work on the generic source base class, implement seeking,
31184         query.
31185         Make filesrc extend the base source class.
31186         Added gst_pad_set_checkgetrange_function to GstPad.
31187
31188 2005-04-06  Andy Wingo  <wingo@pobox.com>
31189
31190         * pkgconfig/gstreamer-base.pc.in:
31191         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31192
31193         * pkgconfig/Makefile.am:
31194         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31195
31196 2005-04-04  Wim Taymans  <wim@fluendo.com>
31197
31198         * gst/base/Makefile.am:
31199         * gst/base/README:
31200         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31201         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31202         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31203         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31204         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31205         (gst_basesrc_base_init), (gst_basesrc_class_init),
31206         (gst_basesrc_init), (gst_basesrc_get_formats),
31207         (gst_basesrc_get_query_types), (gst_basesrc_query),
31208         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31209         (gst_basesrc_set_property), (gst_basesrc_get_property),
31210         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31211         (gst_basesrc_loop), (gst_basesrc_activate),
31212         (gst_basesrc_change_state):
31213         * gst/base/gstbasesrc.h:
31214         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31215         (gst_fakesrc_class_init), (gst_fakesrc_init),
31216         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31217         (gst_fakesrc_get_property), (gst_fakesrc_create):
31218         * gst/elements/gstfakesrc.h:
31219         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31220         (gst_filesrc_open_file), (gst_filesrc_loop),
31221         (gst_filesrc_activate), (filesrc_find_peek),
31222         (gst_filesrc_type_find):
31223         Made base source class, make fakesrc extend it.
31224         Add comments to basesink class.
31225         Some filesrc cleanup.
31226
31227 2005-03-31  David Schleef  <ds@schleef.org>
31228
31229         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31230         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31231         expected to link against libgstreamer.
31232         * gst/base/Makefile.am: link against libgstreamer
31233         * gst/elements/Makefile.am: same
31234
31235 2005-03-31  Andy Wingo  <wingo@pobox.com>
31236
31237         * tests/instantiate/Makefile.am:
31238         * tests/instantiate/caps.c: Add test to test speed of caps copy
31239         and free.
31240
31241         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31242         GMemChunk to be fair.
31243
31244         * gst/gsttrashstack.h: Remove warning about using the fallback
31245         trash stack implementation, it's still faster than malloc.
31246
31247 2005-03-30  Andy Wingo  <wingo@pobox.com>
31248
31249         * tests/complexity.c: Add a copyright.
31250
31251 2005-03-31  Wim Taymans  <wim@fluendo.com>
31252
31253         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31254         (gst_base_transform_class_init), (gst_base_transform_init),
31255         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31256         (gst_base_transform_get_property),
31257         (gst_base_transform_sink_activate),
31258         (gst_base_transform_src_activate),
31259         (gst_base_transform_change_state):
31260         * gst/base/gstbasetransform.h:
31261         * gst/elements/gstidentity.c: (gst_identity_class_init),
31262         (gst_identity_event), (gst_identity_check_perfect),
31263         (gst_identity_transform), (gst_identity_start),
31264         (gst_identity_stop):
31265         Added start/stop methods to transform base class so subclasses 
31266         don't need to deal with state changes even.
31267
31268 2005-03-31  Wim Taymans  <wim@fluendo.com>
31269
31270         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31271         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31272         * gst/gstevent.h:
31273         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31274         (gst_pad_pull_range):
31275         Added rate to the discont event to prepare for variable speed
31276         and reverse playback.
31277
31278 2005-03-29  David Schleef  <ds@schleef.org>
31279
31280         * configure.ac:
31281         * testsuite/trigger/Makefile.am:
31282         * testsuite/trigger/trigger.c: A little example program to show
31283         how trigger-based elements can work.
31284
31285 2005-03-29  Wim Taymans  <wim@fluendo.com>
31286
31287         * gst/base/Makefile.am:
31288         * gst/base/README:
31289         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31290         (gst_basesink_base_init), (gst_basesink_class_init),
31291         (gst_basesink_pad_getcaps), (gst_basesink_init),
31292         (gst_basesink_activate), (gst_basesink_change_state):
31293         * gst/base/gstbasesink.h:
31294         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31295         (gst_base_transform_base_init), (gst_base_transform_finalize),
31296         (gst_base_transform_class_init), (gst_base_transform_init),
31297         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31298         (gst_base_transform_event), (gst_base_transform_getrange),
31299         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31300         (gst_base_transform_set_property),
31301         (gst_base_transform_get_property),
31302         (gst_base_transform_sink_activate),
31303         (gst_base_transform_src_activate),
31304         (gst_base_transform_change_state):
31305         * gst/base/gstbasetransform.h:
31306         * gst/elements/gstidentity.c: (gst_identity_finalize),
31307         (gst_identity_class_init), (gst_identity_init),
31308         (gst_identity_event), (gst_identity_check_perfect),
31309         (gst_identity_transform), (gst_identity_set_property),
31310         (gst_identity_get_property), (gst_identity_change_state):
31311         * gst/elements/gstidentity.h:
31312         * gst/gstelement.c: (gst_element_get_state_func),
31313         (gst_element_lost_state), (gst_element_pads_activate):
31314         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31315         (gst_pad_check_pull_range), (gst_pad_pull_range):
31316         * gst/gstpad.h:
31317         Simplify pad activation.
31318         Added function to check if pull_range can be performed.
31319         Error out when pulling inactive or flushing pads.
31320         Removed const from refcounted types as it does not make sense.
31321         Simplify pad templates in basesink
31322         Added base class for simple 1-to-1 transforms.
31323         Make identity subclass the base transform.
31324
31325 2005-03-29  Andy Wingo  <wingo@pobox.com>
31326
31327         * docs/libs/gstreamer-libs-overrides.txt: 
31328         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31329         really don't understand what's going on, but like whatever. I want
31330         green buildbot!
31331
31332         * docs/gst/Makefile.am:
31333         * docs/libs/Makefile.am: Dist the overrides files.
31334
31335         * check/Makefile.am (clean-local): Remove .libs directories.
31336
31337         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31338         elements to EXTRA_DIST, so po/ files are happy.
31339
31340         * po/POTFILES.in: Er, remove it here.
31341
31342         * po/POTFILES: Remove gstspider.c.
31343
31344         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31345
31346         * docs/libs/gstreamer-libs-docs.sgml: 
31347         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31348         bytestream.
31349
31350         * tests/complexity.c (main): Set the length of the preroll queue
31351         on the sinks to prevent a lockup.
31352
31353         * libs/gst/dataprotocol/Makefile.am: 
31354         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31355         the same as the one in check/gst-libs/gdp.c.
31356
31357         * po/, docs/gst/: Commit automatic changes to docs and po files.
31358
31359         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31360         the versioned libgstbase.
31361
31362         * check/Makefile.am: Depend on an unversioned gst-register, seems
31363         to make autoconf happier.
31364
31365         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31366
31367 2005-03-28  Wim Taymans  <wim@fluendo.com>
31368
31369         * configure.ac:
31370         * docs/design/part-gstelement.txt:
31371         * docs/design/part-negotiation.txt:
31372         * docs/design/part-preroll.txt:
31373         * docs/design/part-scheduling.txt:
31374         * docs/design/part-states.txt:
31375         * gst/Makefile.am:
31376         * gst/base/Makefile.am:
31377         * gst/base/README:
31378         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31379         (gst_basesink_base_init), (gst_basesink_class_init),
31380         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31381         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31382         (gst_basesink_set_pad_functions),
31383         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31384         (gst_basesink_set_property), (gst_basesink_get_property),
31385         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31386         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31387         (gst_basesink_preroll_queue_push),
31388         (gst_basesink_preroll_queue_empty),
31389         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31390         (gst_basesink_event), (gst_basesink_get_times),
31391         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31392         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31393         (gst_basesink_loop), (gst_basesink_activate),
31394         (gst_basesink_change_state):
31395         * gst/base/gstbasesink.h:
31396         * gst/elements/Makefile.am:
31397         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31398         (gst_fakesink_class_init), (gst_fakesink_init),
31399         (gst_fakesink_set_property), (gst_fakesink_get_property),
31400         (gst_fakesink_get_times), (gst_fakesink_event),
31401         (gst_fakesink_preroll), (gst_fakesink_render),
31402         (gst_fakesink_change_state):
31403         * gst/elements/gstfakesink.h:
31404         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31405         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31406         * gst/gstelement.c: (gst_element_add_pad),
31407         (gst_element_get_state_func), (gst_element_abort_state),
31408         (gst_element_commit_state), (gst_element_lost_state),
31409         (gst_element_set_state), (gst_element_pads_activate):
31410         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31411         * gst/gstpipeline.c: (gst_pipeline_send_event),
31412         (gst_pipeline_change_state):
31413         Added state change code.
31414         Added/updated docs.
31415         Added sink base class, make fakesink extend the base class.
31416         Small cleanups in GstPipeline.
31417
31418 2005-03-26  David Schleef  <ds@schleef.org>
31419
31420         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31421         is broken and should be implemented in a different library.
31422         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31423         * gst/gst.h: remove gstcpu.h
31424         * gst/gstcpu.c: remove
31425         * gst/gstcpu.h: remove
31426         * gst/Makefile.am.future: Remove this file.  It's ancient.
31427
31428 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31429
31430         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31431         (gst_bin_send_event):
31432           Add default event/set_manager handlers. The set_manager handler
31433           takes care that the manager is distributed over kids that were
31434           already in the bin before the manager was set. The event handler
31435           is a utility virtual function that sends the event over all sinks,
31436           so that gst_element_send_event (bin, event); has the expected
31437           behaviour.
31438         * gst/gstpad.c: (gst_pad_event_default):
31439           Re-install default event handling for discontinuities, so that
31440           seeking works without requiring hacks in applications or extra
31441           code in sinks.
31442         * gst/gstpipeline.c: (gst_pipeline_class_init),
31443         (gst_pipeline_send_event):
31444           Half hack, half utility: set a pipeline to PAUSED for seek events,
31445           since that is the only way we can guarantee a/v sync. Means that
31446           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31447           and it "just works".
31448
31449 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31450
31451         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31452           Lock/unlock mismatch.
31453
31454 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31455
31456         * docs/faq/gst-uninstalled:
31457           add gst-plugins-base
31458         * docs/gst/Makefile.am:
31459           don't error out until docs are fixed
31460         * docs/gst/gstreamer.types:
31461           remove thread
31462
31463 2005-03-22  Wim Taymans  <wim@fluendo.com>
31464
31465         * check/Makefile.am:
31466         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31467         * gst/gststructure.c: (gst_structure_set_valist),
31468         (gst_structure_copy_conditional):
31469         Activated more tests.
31470         Added message test.
31471         Added G_TYPE_POINTER to GstStructure.
31472         
31473
31474 2005-03-22  Wim Taymans  <wim@fluendo.com>
31475
31476         * docs/design/part-TODO.txt:
31477         * docs/design/part-events.txt:
31478         * docs/design/part-gstbin.txt:
31479         * docs/design/part-gstbus.txt:
31480         * docs/design/part-gstpipeline.txt:
31481         * docs/design/part-messages.txt:
31482         * gst/gstbus.c:
31483         * gst/gstmessage.c:
31484         Docs updates
31485
31486 2005-03-21  Wim Taymans  <wim@fluendo.com>
31487
31488         * gst/gstbus.c: (gst_bus_post):
31489         Fix copy-and-paste error.
31490
31491 2005-03-21  Wim Taymans  <wim@fluendo.com>
31492
31493         * check/Makefile.am:
31494         * gst/Makefile.am:
31495         * gst/elements/Makefile.am:
31496         * gst/elements/gstelements.c:
31497         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31498         (gst_fakesink_event), (gst_fakesink_chain):
31499         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31500         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31501         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31502         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31503         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31504         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31505         (gst_fakesrc_loop), (gst_fakesrc_activate),
31506         (gst_fakesrc_change_state):
31507         * gst/elements/gstfakesrc.h:
31508         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31509         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31510         (gst_filesrc_open_file), (gst_filesrc_loop),
31511         (gst_filesrc_activate), (gst_filesrc_change_state),
31512         (filesrc_find_peek), (filesrc_find_suggest),
31513         (gst_filesrc_type_find):
31514         * gst/elements/gstidentity.c: (gst_identity_finalize),
31515         (gst_identity_class_init), (gst_identity_init),
31516         (gst_identity_proxy_getcaps), (identity_queue_push),
31517         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31518         (gst_identity_getrange), (gst_identity_chain),
31519         (gst_identity_sink_loop), (gst_identity_src_loop),
31520         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31521         (gst_identity_set_property), (gst_identity_get_property),
31522         (gst_identity_change_state):
31523         * gst/elements/gstidentity.h:
31524         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31525         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31526         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31527         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31528         (gst_tee_sink_activate):
31529         * gst/elements/gsttee.h:
31530         * gst/gst.c: (gst_register_core_elements), (init_post):
31531         * gst/gst.h:
31532         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31533         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31534         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31535         (gst_bin_change_state):
31536         * gst/gstbin.h:
31537         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31538         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31539         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31540         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31541         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31542         (bus_watch_callback), (bus_watch_destroy),
31543         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31544         (poll_timeout), (gst_bus_poll):
31545         * gst/gstbus.h:
31546         * gst/gstcaps.h:
31547         * gst/gstdata.h:
31548         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31549         (gst_element_post_message), (gst_element_message_full),
31550         (gst_element_get_state_func), (gst_element_get_state),
31551         (gst_element_abort_state), (gst_element_commit_state),
31552         (gst_element_lost_state), (gst_element_set_state),
31553         (gst_element_pads_activate), (gst_element_change_state),
31554         (gst_element_dispose), (gst_element_set_manager_func),
31555         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31556         (gst_element_set_manager), (gst_element_get_manager),
31557         (gst_element_set_bus), (gst_element_get_bus),
31558         (gst_element_set_scheduler), (gst_element_get_scheduler):
31559         * gst/gstelement.h:
31560         * gst/gstevent.c: (gst_event_new_segment_seek),
31561         (gst_event_new_flush):
31562         * gst/gstevent.h:
31563         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31564         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31565         (gst_message_new_eos), (gst_message_new_error),
31566         (gst_message_new_warning), (gst_message_new_tag),
31567         (gst_message_new_state_changed), (gst_message_new_application),
31568         (gst_message_get_structure), (gst_message_parse_tag),
31569         (gst_message_parse_state_changed), (gst_message_parse_error),
31570         (gst_message_parse_warning):
31571         * gst/gstmessage.h:
31572         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31573         (gst_real_pad_set_property), (gst_pad_set_active),
31574         (gst_pad_is_active), (gst_pad_set_blocked_async),
31575         (gst_pad_set_blocked), (gst_pad_is_blocked),
31576         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31577         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31578         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31579         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31580         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31581         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31582         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31583         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31584         (gst_pad_set_caps), (gst_pad_configure_sink),
31585         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31586         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31587         (gst_real_pad_dispose), (gst_real_pad_finalize),
31588         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31589         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31590         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31591         * gst/gstpad.h:
31592         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31593         (pipeline_bus_handler), (gst_pipeline_change_state),
31594         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31595         * gst/gstpipeline.h:
31596         * gst/gstprobe.h:
31597         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31598         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31599         (gst_queue_link_src), (gst_queue_bufferalloc),
31600         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31601         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31602         (gst_queue_loop), (gst_queue_handle_src_event),
31603         (gst_queue_handle_src_query), (gst_queue_src_activate),
31604         (gst_queue_change_state):
31605         * gst/gstqueue.h:
31606         * gst/gstscheduler.c: (gst_scheduler_init),
31607         (gst_scheduler_dispose), (gst_scheduler_create_task),
31608         (gst_scheduler_factory_create):
31609         * gst/gstscheduler.h:
31610         * gst/gststructure.c: (gst_structure_get_type),
31611         (gst_structure_copy_conditional):
31612         * gst/gststructure.h:
31613         * gst/gsttaginterface.h:
31614         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31615         (gst_task_init), (gst_task_dispose), (gst_task_create),
31616         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31617         (gst_task_pause):
31618         * gst/gsttask.h:
31619         * gst/gstthread.c:
31620         * gst/gstthread.h:
31621         * gst/gsttypes.h:
31622         * gst/schedulers/Makefile.am:
31623         * gst/schedulers/cothreads_compat.h:
31624         * gst/schedulers/entryscheduler.c:
31625         * gst/schedulers/faircothreads.c:
31626         * gst/schedulers/faircothreads.h:
31627         * gst/schedulers/fairscheduler.c:
31628         * gst/schedulers/gstbasicscheduler.c:
31629         * gst/schedulers/gstoptimalscheduler.c:
31630         * gst/schedulers/gthread-cothreads.h:
31631         * gst/schedulers/threadscheduler.c:
31632         (gst_thread_scheduler_task_get_type),
31633         (gst_thread_scheduler_task_class_init),
31634         (gst_thread_scheduler_task_init),
31635         (gst_thread_scheduler_task_start),
31636         (gst_thread_scheduler_task_stop),
31637         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31638         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31639         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31640         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31641         (plugin_init):
31642         * libs/gst/Makefile.am:
31643         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31644         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31645         (gst_file_pad_parent_set):
31646         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31647         (gst_dp_event_from_packet):
31648         * tests/complexity.c: (main):
31649         * tests/mass_elements.c: (main):
31650         * testsuite/states/locked.c: (message_received), (main):
31651         * testsuite/states/parent.c: (main):
31652         * tools/gst-inspect.c: (print_element_flag_info),
31653         (print_implementation_info), (print_pad_info):
31654         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31655         (main):
31656         * tools/gst-md5sum.c: (event_loop), (main):
31657         * tools/gst-typefind.c: (main):
31658         * tools/gst-xmlinspect.c: (print_element_info):
31659         Next big merge.
31660         Added GstBus for mainloop integration.
31661         Added GstMessage for sending notifications on the bus.
31662         Added GstTask as an abstraction for pipeline entry points.
31663         Removed GstThread.
31664         Removed Schedulers.
31665         Simplified GstQueue for multithreaded core.
31666         Made _link threadsafe, removed old capsnego.
31667         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31668         Added pad blocking functions.
31669         Reworked scheduling functions in GstPad to prepare for
31670         scheduling updates soon.
31671         Moved events out of data stream.
31672         Simplified GstEvent types.
31673         Added return values to push/pull.
31674         Removed clocking from GstElement.
31675         Added prototypes for state change function for next merge.
31676         Removed iterate from bins and state change management.
31677         Fixed some elements, disabled others for now.
31678         Fixed -inspect and -launch.
31679         Added check for GstBus.
31680
31681 2005-03-10  Wim Taymans  <wim@fluendo.com>
31682
31683         * docs/design/part-MT-refcounting.txt:
31684         * docs/design/part-clocks.txt:
31685         * docs/design/part-gstelement.txt:
31686         * docs/design/part-gstobject.txt:
31687         * docs/design/part-standards.txt:
31688         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31689         (gst_bin_remove_func), (gst_bin_remove):
31690         * gst/gstbin.h:
31691         * gst/gstbuffer.c:
31692         * gst/gstcaps.h:
31693         * testsuite/clock/clock1.c: (main):
31694         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31695         (main):
31696         * testsuite/dlopen/loadgst.c: (do_test):
31697         * testsuite/refcounting/bin.c: (add_remove_test1),
31698         (add_remove_test2), (main):
31699         * testsuite/refcounting/element.c: (main):
31700         * testsuite/refcounting/element_pad.c: (main):
31701         * testsuite/refcounting/pad.c: (main):
31702         * tools/gst-launch.c: (sigint_handler_sighandler):
31703         * tools/gst-typefind.c: (main):
31704         Doc updates.
31705         Added doc about clock.
31706         removed gst_bin_iterate_recurse_up(), marked methods
31707         for removal.
31708         Fix more testsuites.
31709
31710 2005-03-09  Wim Taymans  <wim@fluendo.com>
31711
31712         * gst/gstpad.c: (gst_pad_get_direction),
31713         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31714         (gst_pad_collect_valist):
31715         * testsuite/bins/interface.c: (main):
31716         * testsuite/caps/audioscale.c: (test_caps):
31717         * testsuite/caps/caps.c: (test1), (test2), (test3):
31718         * testsuite/caps/deserialize.c: (main):
31719         * testsuite/caps/enumcaps.c: (main):
31720         * testsuite/caps/filtercaps.c: (main):
31721         * testsuite/caps/intersect2.c: (main):
31722         * testsuite/caps/random.c: (main):
31723         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31724         * testsuite/caps/sets.c: (check_caps):
31725         * testsuite/caps/simplify.c: (check_caps), (main):
31726         * testsuite/caps/subtract.c: (check_caps):
31727         Fix _pad_get_direction wrt ghostpads.
31728         Fix caps testsuite.
31729
31730 2005-03-09  Wim Taymans  <wim@fluendo.com>
31731
31732         * check/Makefile.am:
31733         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31734         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31735         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31736         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31737         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31738         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31739         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31740         (bin_element_is_sink), (gst_bin_iterate_sinks),
31741         (gst_bin_iterate_all_by_interface):
31742         * gst/gstbin.h:
31743         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31744         (gst_element_change_state), (gst_element_dispose),
31745         (gst_element_finalize), (gst_element_set_loop_function):
31746         * gst/gstelement.h:
31747         * gst/gstiterator.c: (find_custom_fold_func):
31748         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31749         (gst_pad_collectv), (gst_pad_collect_valist),
31750         (gst_pad_template_new):
31751         * gst/gstpipeline.c: (gst_pipeline_class_init),
31752         (gst_pipeline_dispose), (gst_pipeline_set_property),
31753         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31754         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31755         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31756         * gst/gstutils.h:
31757         * gst/schedulers/entryscheduler.c:
31758         * gst/schedulers/gstbasicscheduler.c:
31759         (gst_basic_scheduler_cothreaded_chain),
31760         (gst_basic_scheduler_chain_add_element):
31761         * testsuite/bins/interface.c: (main):
31762         Added GstBin test.
31763         Added GstSystemClock test.
31764         Implemented clock distribution code in GstBin.
31765         Implemented iterate sinks method for future use.
31766         Rearranged gstelement.h
31767         Fix GstIterator comparison bug.
31768         Moved some code to GstPipeline, mostly clocking related.
31769
31770 2005-03-09  Wim Taymans  <wim@fluendo.com>
31771
31772         * configure.ac:
31773         * gst/gst_private.h:
31774         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31775         (gst_bin_remove_func), (gst_bin_remove),
31776         (gst_bin_get_by_name_recurse_up):
31777         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31778         (gst_clock_id_compare_func), (gst_clock_id_wait),
31779         (gst_clock_id_wait_async), (gst_clock_init),
31780         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31781         * gst/gstelement.h:
31782         * gst/gstinfo.c: (_gst_debug_init):
31783         * gst/gstobject.h:
31784         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31785         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31786         * gst/gstpad.h:
31787         Bump version number, we're now 0.9.0
31788         Add future debugging category.
31789         Fix NULL _unref() in _get_by_name_recurse_up
31790         Rearrange gstpad.h.
31791         Update some docs.
31792
31793 2005-03-08  Wim Taymans  <wim@fluendo.com>
31794
31795         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31796         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31797         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31798         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31799         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31800         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31801         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31802         * gst/elements/gstidentity.c: (gst_identity_class_init):
31803         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31804         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31805         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31806         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31807         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31808         (gst_tee_link):
31809         * gst/gstelement.c: (gst_element_class_init),
31810         (gst_element_base_class_init), (gst_element_init),
31811         (gst_element_get_random_pad), (gst_element_wait_state_change),
31812         (gst_element_change_state), (gst_element_dispose),
31813         (gst_element_finalize), (gst_element_set_loop_function):
31814         * gst/gstelement.h:
31815         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31816         * gst/gstthread.c: (gst_thread_class_init),
31817         (gst_thread_release_children_locks), (gst_thread_change_state):
31818         * gst/schedulers/gstbasicscheduler.c:
31819         (gst_basic_scheduler_loopfunc_wrapper),
31820         (gst_basic_scheduler_chain_wrapper),
31821         (gst_basic_scheduler_src_wrapper),
31822         (gst_basic_scheduler_remove_element):
31823         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31824         Remove threadsafe properties. Fix elements because GObject
31825         complains when installing a property before declaring a
31826         set/get_property handler.
31827         Rearrange gstelement.h file, use STATE macros for state locks.
31828         Free mutexes in the finalize method instead of dispose.
31829
31830 2005-03-08  Wim Taymans  <wim@fluendo.com>
31831
31832         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31833         * gst/gstthread.c: (gst_thread_release_children_locks):
31834         Added parentage check.
31835         Fix build og GstThread again.
31836
31837 2005-03-08  Wim Taymans  <wim@fluendo.com>
31838
31839         * docs/design/part-MT-refcounting.txt:
31840         * docs/design/part-conventions.txt:
31841         * docs/design/part-gstobject.txt:
31842         * docs/design/part-relations.txt:
31843         * docs/design/part-standards.txt:
31844         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31845         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31846         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31847         (gst_bin_iterate_all_by_interface):
31848         * gst/gstbuffer.h:
31849         * gst/gstclock.h:
31850         * gst/gstelement.c: (gst_element_class_init),
31851         (gst_element_change_state), (gst_element_set_loop_function):
31852         * gst/gstelement.h:
31853         * gst/gstiterator.c:
31854         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31855         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31856         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31857         (gst_object_set_parent), (gst_object_unparent),
31858         (gst_object_check_uniqueness):
31859         * gst/gstobject.h:
31860         Docs updates, clean up some headers.
31861
31862 2005-03-07  Wim Taymans  <wim@fluendo.com>
31863
31864         * check/.cvsignore:
31865         * check/Makefile.am:
31866         * check/gst-libs/.cvsignore:
31867         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31868         * check/gst/.cvsignore:
31869         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31870         (START_TEST), (gstbus_suite), (main):
31871         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31872         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31873         (gst_data_suite), (main):
31874         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31875         (add_fold_func), (gstiterator_suite), (main):
31876         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31877         (thread_name_object), (thread_name_object_default),
31878         (gst_object_name_compare), (gst_object_suite), (main):
31879         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31880         (gst_pad_suite), (main):
31881         * check/gstcheck.c: (gst_check_log_message_func),
31882         (gst_check_log_critical_func), (gst_check_init):
31883         * check/gstcheck.h:
31884         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31885         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31886         Added checks.
31887
31888 2005-03-07  Wim Taymans  <wim@fluendo.com>
31889
31890         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31891         (gst_list_iterator_next), (gst_list_iterator_resync),
31892         (gst_list_iterator_free), (gst_iterator_new_list),
31893         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31894         (gst_iterator_free), (gst_iterator_push), (filter_next),
31895         (filter_resync), (filter_uninit), (filter_free),
31896         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31897         (gst_iterator_foreach), (find_custom_fold_func),
31898         (gst_iterator_find_custom):
31899         * gst/gstiterator.h:
31900         Added missing files.
31901
31902 2005-03-07  Wim Taymans  <wim@fluendo.com>
31903
31904         * Makefile.am:
31905         * configure.ac:
31906         * docs/design/part-MT-refcounting.txt:
31907         * docs/design/part-conventions.txt:
31908         * docs/design/part-gstobject.txt:
31909         * docs/design/part-relations.txt:
31910         * examples/mixer/mixer.c: (main):
31911         * examples/thread/thread.c: (eos), (main):
31912         * gst/Makefile.am:
31913         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31914         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31915         (gst_spider_plug_from_srcpad):
31916         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31917         (gst_spider_identity_change_state),
31918         (gst_spider_identity_sink_loop_type_finding):
31919         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31920         * gst/elements/gstidentity.c: (gst_identity_init):
31921         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31922         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31923         * gst/elements/gsttypefindelement.c: (free_entry):
31924         * gst/gst.c:
31925         * gst/gst.h:
31926         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31927         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31928         (gst_bin_set_index), (gst_bin_set_element_sched),
31929         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31930         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31931         (gst_bin_iterate_elements), (iterate_child_recurse),
31932         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31933         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31934         (compare_interface), (gst_bin_get_by_interface),
31935         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31936         * gst/gstbin.h:
31937         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31938         (gst_buffer_default_free), (gst_buffer_default_copy),
31939         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31940         (gst_buffer_create_sub):
31941         * gst/gstbuffer.h:
31942         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31943         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31944         (gst_caps_unref), (gst_static_caps_get),
31945         (gst_caps_remove_and_get_structure), (gst_caps_append),
31946         (gst_caps_append_structure), (gst_caps_remove_structure),
31947         (gst_caps_copy_nth), (gst_caps_set_simple),
31948         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31949         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31950         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31951         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31952         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31953         (gst_caps_structure_figure_out_union),
31954         (gst_caps_switch_structures), (gst_caps_do_simplify),
31955         (gst_caps_replace), (gst_caps_from_string),
31956         (gst_caps_copy_conditional):
31957         * gst/gstcaps.h:
31958         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31959         (_gst_clock_id_free), (gst_clock_id_unref),
31960         (gst_clock_id_compare_func), (gst_clock_id_wait),
31961         (gst_clock_id_wait_async), (gst_clock_class_init),
31962         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31963         (gst_clock_get_time), (gst_clock_set_time_adjust),
31964         (gst_clock_set_property), (gst_clock_get_property):
31965         * gst/gstclock.h:
31966         * gst/gstcompat.h:
31967         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31968         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31969         * gst/gstdata.h:
31970         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31971         (gst_element_requires_clock), (gst_element_provides_clock),
31972         (gst_element_set_clock), (gst_element_clock_wait),
31973         (gst_element_wait), (gst_element_set_time_delay),
31974         (gst_element_is_indexable), (gst_element_add_pad),
31975         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31976         (pad_compare_name), (gst_element_get_static_pad),
31977         (gst_element_request_pad), (gst_element_get_request_pad),
31978         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31979         (gst_element_class_get_pad_template_list),
31980         (gst_element_class_get_pad_template), (gst_element_error_func),
31981         (gst_element_get_random_pad), (gst_element_get_event_masks),
31982         (gst_element_send_event), (gst_element_seek),
31983         (gst_element_get_query_types), (gst_element_query),
31984         (gst_element_get_formats), (gst_element_convert),
31985         (gst_element_is_locked_state), (gst_element_set_locked_state),
31986         (gst_element_sync_state_with_parent), (gst_element_change_state),
31987         (gst_element_finalize), (gst_element_yield),
31988         (gst_element_interrupt), (gst_element_set_scheduler),
31989         (gst_element_get_scheduler), (gst_element_set_loop_function):
31990         * gst/gstelement.h:
31991         * gst/gstevent.h:
31992         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31993         (gst_format_get_by_nick), (gst_format_get_details),
31994         (gst_format_iterate_definitions):
31995         * gst/gstformat.h:
31996         * gst/gstindex.c: (gst_index_gtype_resolver):
31997         * gst/gstinfo.c:
31998         * gst/gstinfo.h:
31999         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32000         (gst_mem_chunk_free):
32001         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32002         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32003         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32004         (gst_object_dispatch_properties_changed),
32005         (gst_object_set_name_default), (gst_object_set_name),
32006         (gst_object_get_name), (gst_object_set_name_prefix),
32007         (gst_object_get_name_prefix), (gst_object_set_parent),
32008         (gst_object_get_parent), (gst_object_unparent),
32009         (gst_object_check_uniqueness), (gst_object_save_thyself),
32010         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32011         (gst_object_set_property), (gst_object_get_property),
32012         (gst_object_get_path_string):
32013         * gst/gstobject.h:
32014         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32015         (gst_real_pad_init), (gst_real_pad_get_property),
32016         (gst_pad_custom_new), (gst_pad_get_direction),
32017         (gst_pad_set_active), (gst_pad_is_active),
32018         (gst_pad_set_event_function), (gst_pad_is_linked),
32019         (gst_pad_link_free), (gst_pad_link_intersect),
32020         (gst_pad_link_fixate), (gst_pad_set_caps),
32021         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32022         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32023         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32024         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32025         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32026         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32027         (gst_pad_realize), (gst_pad_get_allowed_caps),
32028         (gst_real_pad_dispose), (gst_real_pad_finalize),
32029         (gst_pad_collectv), (gst_pad_collect_valist),
32030         (gst_pad_template_dispose), (gst_pad_template_new),
32031         (gst_pad_get_internal_links):
32032         * gst/gstpad.h:
32033         * gst/gstpipeline.c: (gst_pipeline_dispose),
32034         (gst_pipeline_change_state):
32035         * gst/gstpipeline.h:
32036         * gst/gstplugin.c:
32037         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32038         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32039         * gst/gstpluginfeature.h:
32040         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32041         * gst/gstquery.c: (_gst_query_type_initialize),
32042         (gst_query_type_register), (gst_query_type_get_by_nick),
32043         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32044         * gst/gstquery.h:
32045         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32046         * gst/gstscheduler.c: (gst_scheduler_add_element),
32047         (gst_scheduler_factory_create):
32048         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32049         (gst_structure_free), (gst_structure_set_name),
32050         (gst_structure_id_set_value), (gst_structure_set_value),
32051         (gst_structure_set_valist), (gst_structure_remove_field),
32052         (gst_structure_remove_fields),
32053         (gst_structure_remove_fields_valist),
32054         (gst_structure_remove_all_fields), (gst_structure_foreach),
32055         (gst_structure_map_in_place),
32056         (gst_caps_structure_fixate_field_nearest_int),
32057         (gst_caps_structure_fixate_field_nearest_double):
32058         * gst/gststructure.h:
32059         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32060         (gst_system_clock_init), (gst_system_clock_dispose),
32061         (gst_system_clock_async_thread),
32062         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32063         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32064         * gst/gstsystemclock.h:
32065         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32066         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32067         * gst/gsttaginterface.c:
32068         * gst/gstthread.c: (gst_thread_dispose),
32069         (gst_thread_release_children_locks), (gst_thread_change_state),
32070         (gst_thread_main_loop):
32071         * gst/gsttrashstack.h:
32072         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32073         * gst/gsttypes.h:
32074         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32075         (gst_element_request_pad), (gst_element_get_pad_from_template),
32076         (gst_element_request_compatible_pad),
32077         (gst_element_get_compatible_pad_filtered),
32078         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32079         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32080         (gst_element_link_many), (gst_element_link),
32081         (gst_element_link_pads), (gst_element_unlink_pads),
32082         (gst_element_unlink_many), (gst_element_unlink),
32083         (gst_pad_can_link_filtered), (gst_pad_can_link),
32084         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32085         (gst_object_default_error), (gst_bin_add_many),
32086         (gst_bin_remove_many), (gst_element_populate_std_props),
32087         (gst_element_class_install_std_props), (gst_buffer_merge),
32088         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32089         (link_fold_func), (gst_pad_proxy_setcaps):
32090         * gst/gstutils.h:
32091         * gst/gstvalue.c: (gst_value_deserialize_string):
32092         * gst/parse/grammar.y:
32093         * gst/schedulers/gstbasicscheduler.c:
32094         (gst_basic_scheduler_cothreaded_chain),
32095         (gst_basic_scheduler_chain_recursive_add),
32096         (gst_basic_scheduler_pad_link):
32097         * gst/schedulers/gstoptimalscheduler.c:
32098         (get_group_schedule_function),
32099         (gst_opt_scheduler_state_transition),
32100         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32101         * libs/gst/bytestream/bytestream.c:
32102         * libs/gst/dataprotocol/dataprotocol.c:
32103         (gst_dp_header_from_buffer):
32104         * po/nb.po:
32105         * po/ru.po:
32106         * tests/threadstate/threadstate2.c: (eos):
32107         * tools/gst-compprep.c: (main):
32108         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32109         (print_pad_info), (print_children_info):
32110         * tools/gst-launch.c: (idle_func), (main):
32111         * tools/gst-md5sum.c: (idle_func), (main):
32112         * tools/gst-xmlinspect.c: (print_element_info):
32113         First THREADED backport attempt, focusing on adding locks and
32114         making sure the API is threadsafe. Needs more work. More docs
32115         follow this week.
32116
32117 2005-02-24  Andy Wingo  <wingo@pobox.com>
32118
32119         * tests/bench-complexity.scm:
32120         * tests/complexity.gnuplot: New files, good for running complexity
32121         benchmarks.
32122
32123         * tests/Makefile.am:
32124         * tests/complexity.c: New test, sets up N elements, at each level
32125         teeing into M streams per element. Eeeenteresting.
32126
32127         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32128         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32129         running bench-mass_elements.scm.
32130
32131         * tests/bench-mass_elements.scm: New script, runs mass_elements
32132         for various numbers of identities, outputting the results to a
32133         file. Requires guile 1.6. Just for testing.
32134
32135 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32136
32137         * gst/schedulers/fairscheduler.c:
32138           compile with debug disabled
32139
32140 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32141
32142         * configure.ac:
32143           hunting season on 0.9 is now OPEN