Don't forward gst_pad_set_caps() on a source ghostpad to its target.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-12-19  Alessandro Decina <alessandro.decina@collabora.co.uk>
2
3         * gst/gstghostpad.c:
4         * tests/check/gst/gstghostpad.c:
5         Don't forward gst_pad_set_caps() on a source ghostpad to its target.
6         That would cause the ghostpad to emit notify::caps two times (fist
7         from gst_pad_set_caps() and after from on_src_target_notify()).
8
9 2008-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
10
11         * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
12         (GST_START_TEST):
13         Add some more unit-tests for the ghostpad notify signal, one of which
14         currently fails.
15
16 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
17
18         * win32/common/libgstreamer.def:
19         Add gst_tag_setter_reset_tags to the list of exported symbols.
20
21 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
22
23         * gst/gstghostpad.c:
24         * tests/check/gst/gstghostpad.c:
25         In a source ghostpad, when caps are changed in the target pad, the
26         change needs to be reflected in the ghostpad.
27         Fixes #564863.
28
29 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
30
31         * gst/gstutils.c: (gst_element_found_tags_for_pad):
32         Add FIXME for 0.11 to set the pad as message source and not
33         the element. Otherwise it's impossible to detect for which
34         pad the tags were found without adding an event probe
35         or something similar to the pad.
36
37 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
38
39         * docs/faq/general.xml:
40         Update the faq.
41
42 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
43
44         * docs/gst/gstreamer-sections.txt:
45         * gst/gsttagsetter.c:
46         * gst/gsttagsetter.h:
47           Rename api added in previous commit and add since tag to docs.
48           API: gst_tag_setter_reset_tags()
49
50 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
51
52         * docs/gst/gstreamer-sections.txt:
53         * gst/gsttagsetter.c:
54         * gst/gsttagsetter.h:
55           Add function to reset tagsetter for element reuse.
56
57 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
58
59         * gst/gsttaglist.c:
60           Avoid copy of empty taglist.
61
62 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
63
64         * gst/gsttaglist.c:
65         * tests/check/gst/gsttag.c:
66           More complete unit tests. Fix handling of empty taglists (they were
67           not merged before).
68
69 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
70
71         * gst/gsttaglist.h:
72         * gst/gsttagsetter.c:
73           Update GstTagSetter and GstTagMergeMode documentation. Mention
74           that tags can come from events and from application. Fix example.
75
76 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
77
78         * docs/design/part-TODO.txt:
79         Remove the seqnum entry that we implemented in 0.10 already.
80         Add entry about removing the format return value for queries.
81
82 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
83
84         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
85         (gst_base_sink_init), (gst_base_sink_set_property),
86         (gst_base_sink_get_property):
87         Expose the render-delay as a property so things like appsink can use it
88         to tweak the synchronisation.
89
90 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
91
92         * libs/gst/check/gstcheck.h: Allow check tests to use
93         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
94         CK_FORK=no to be used with multiple check test that use threads.
95
96 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
97
98         * gst/gstutils.c: (gst_element_get_compatible_pad):
99         Fix a caps memory leak introduced by the last change.
100
101 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
102
103         * gst/gstutils.c: (gst_element_get_compatible_pad):
104         Check if the caps of the pads are compatible before returning
105         a pad and claiming it is compatible. This, among other things,
106         fixes a bug with gst-launch where an incompatible pad is chosen
107         and linking fails. Fixes bug #544003.
108
109 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
110
111         * libs/gst/check/gstcheck.c: (gst_check_init):
112         Revert accidentially commited patch for bug #404631 which
113         tries to print a backtrace if a testcase is terminated by
114         a signal. This code was never activated as the corresponding
115         configure.ac change wasn't committed.
116
117 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
118
119         * tests/check/libs/controller.c: (GST_START_TEST):
120         This test should return TRUE now as syncing an uncontrolled
121         object will succeed now (there's nothing to sync).
122
123 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
124
125         * libs/gst/controller/gstcontroller.c:
126           Aggregate return value for gst_controller_sync_values(). More info in
127           logging. Always set values on first sync-call.
128
129         * libs/gst/controller/gstcontrolsource.c:
130           Microoptimizations.
131
132         * libs/gst/controller/gsthelper.c:
133           Fix return code and comment.
134
135 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
136
137         * tools/gst-launch.1.in:
138           Fix description of how to specify a type in caps. Fixes #553873.
139           Also ranges and list contain values and not property-assignments.
140
141 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
142
143         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
144         Check for changed pads-list before checking the last returned
145         GstFlowReturn because the pad could have been removed and we
146         need to ignore the value in that case.
147
148 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
149
150         * libs/gst/base/gstbasetransform.c:
151         (gst_base_transform_prepare_output_buffer),
152         (gst_base_transform_getrange), (gst_base_transform_chain):
153         * libs/gst/base/gstbasetransform.h:
154         Add vmethod that is called before we start the transform and which can
155         be used to configure the transform, such as dynamic properties.
156
157 2008-12-05  David Schleef  <ds@schleef.org>
158
159         * gst/gst.c:
160         Search for plugins on win32 based on the location of the
161         gstreamer DLL.  Fixes #548786
162
163 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
164
165         * configure.ac:
166         Apparently AC_CONFIG_MACRO_DIR breaks when using more
167         than one macro directory, reverting last change.
168
169 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
170
171         * configure.ac:
172         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
173         our M4 macros.
174
175 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
176
177         Patch by: Cygwin Ports maintainer
178                   <yselkowitz at users dot sourceforge dot net>
179
180         * autogen.sh:
181         * configure.ac:
182         Require gettext 0.17 because older versions don't mix with libtool
183         2.2. At build time an older gettext version will still work.
184         Fixes bug #556091.
185
186 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
187
188         Patch by: 이문형 <iwings at gmail dot com>
189
190         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
191         Adds support for FD_CONNECT event (win32). See #562258.
192
193 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
194
195         * libs/gst/base/gstbasesink.c:
196           Turn comment into gtk-doc comment.
197
198 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
199
200         * libs/gst/base/gstbasetransform.c:
201         (gst_base_transform_acceptcaps):
202         Revert quick accepcaps attempt, it's not fully equivalent to the old
203         behaviour and thus causes regressions.
204
205 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
206
207         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
208         Fix memory leak.
209
210 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
211
212         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
213
214         * gst/gstregistry.c: (gst_registry_scan_path_level):
215         Reduce the number of stat() calls for every file from three times
216         to one time. Fixes bug #560360.
217
218 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
219
220         * libs/gst/base/gstbasetransform.c:
221         (gst_base_transform_acceptcaps):
222         Rename a variable to make the code clearer.
223
224 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
225
226         * plugins/elements/gstidentity.c:
227         Don't warning on offset==-1. Taken from _check_imperfect_offset().
228
229 2008-11-21  Michael Smith <msmith@songbirdnest.com>
230
231         * plugins/elements/gstfilesrc.c:
232           Check for localhost in URI was backwards, fix it. Fixes unit test.
233
234 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
235
236         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
237         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
238         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
239         Add beginnings of a more optimized acceptcaps function than the default
240         core one.
241
242 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
243
244         * gst/gstpad.c: (gst_pad_accept_caps):
245         Avoid getting the acceptcaps function too early.
246
247 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
248
249         * tools/gst-launch.c: (event_loop):
250         Make gst-launch handle LATENCY messages and make it recalculate the
251         latency.
252
253 2008-11-20  Michael Smith <msmith@songbirdnest.com>
254
255         * plugins/elements/gstfilesrc.c:
256           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
257           out own slightly incorrect version. Fixes use of some paths on
258           win32.
259
260 2008-11-20  Michael Smith <msmith@songbirdnest.com>
261
262         * gst/gstregistrybinary.c:
263           In win32 codepath, if we fail to write the registry, create the
264           directory for it and try again, matching the behaviour in non-win32
265           codepaths.
266
267 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
268
269         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
270         Changing the render delay changes the latency and so we must post a
271         latency message.
272
273 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
274
275         * gst/gstquery.c:
276         * gst/gstquery.h:
277         Add GstQueryType for custom queries instead of having to use the
278         not-so-very-convenient registration infrastructure to register new
279         types.
280
281 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
282
283         Patch by: Andrew Feren <acferen at yahoo dot com>
284
285         * gst/gstobject.c: (gst_object_default_deep_notify):
286         Unref the GEnumClass after usage again. Fixes bug #561501.
287
288 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
289
290         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
291         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
292         (gst_bin_change_state_func):
293         * gst/gstbin.h:
294         Add do-latency signal with the old default fallback implementation. This
295         allows for custom latency calculations for when the default is not
296         sufficient.
297         API: GstBin::do-latency signal.
298
299 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
300
301         * win32/common/libgstreamer.def:
302         Add new symbols to .def file.
303
304 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
305
306         * docs/gst/gstreamer-sections.txt:
307         * gst/gstbin.c: (gst_bin_recalculate_latency),
308         (gst_bin_change_state_func):
309         * gst/gstbin.h:
310         Add method to recalculate and redistribute the latency on a bin.
311         API: gst_bin_recalculate_latency().
312
313 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
314
315         * gst/gstbuffer.h:
316         Document the free_func.
317
318 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
319
320         * libs/gst/controller/gstinterpolation.c:
321         * libs/gst/controller/gstlfocontrolsource.c:
322         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
323         as it is mapped to a cast on non-win32 platforms.
324
325 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
326
327         * libs/gst/controller/gstcontroller.c:
328         * libs/gst/controller/gstcontrollerprivate.h:
329           Keep last-value and only call set_property if value has changed. This
330           supresses all the g_object_notifies we would trigger otherwise. It
331           also allows the user to chage the value while there is no controller
332           change.
333
334 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
335
336         * gst/gstvalue.c:
337           Don't crash if either of the string GValues is empty.
338
339 2008-11-17  Andy Wingo  <wingo@pobox.com>
340
341         * tools/gst-inspect.c (print_all_uri_handlers): New function,
342         prints a summary of what URI schemes are supported by what
343         elements.
344         (main): Plumb in support for --uri-handlers or -u, and fix the
345         argc check for -a and -u.
346
347 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
348
349         * gst/gstutils.h:
350         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
351         conversion functions.
352
353 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
354
355         * gst/gstbuffer.c: (gst_buffer_finalize):
356         Avoid costly typechecking for trivially correct pointers.
357
358         * gst/gstpoll.c: (gst_poll_wait):
359         Add some G_LIKELY here and there.
360
361         * libs/gst/base/gstadapter.c: (gst_adapter_push):
362         Add some debug info.
363
364 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
365
366         * docs/random/wtay/poll-timeout:
367         Small tweaks.
368
369 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
370
371         * tests/old/testsuite/caps/intersection.c: (main):
372         * tests/old/testsuite/plugin/loading.c: (main):
373         Remove references to deprecated API g_mem_chunk*.
374         Fixes #560442.
375
376 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
377
378         * tools/gst-inspect.c: (main):
379         Add --plugin option. Fixes #560301.
380
381 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
382
383         * docs/random/wtay/poll-timeout:
384         Quick braindump for a possible (not totally verified) atomic case.
385
386 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
387
388         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
389         (gst_registry_binary_initialize_magic),
390         (gst_registry_binary_write_cache),
391         (gst_registry_binary_check_magic):
392         * gst/gstregistrybinary.h:
393         Don't write and check a CRC for the binary registry file. It's
394         guaranteed that the registry is completely written (it's first written
395         to a temporary file and then moved) and if the registry was corrupted
396         by some hardware failure we would have bigger problems.
397
398         Bump binary registry version to 0.10.21.1 for this as it's an
399         incompatible change and to ensure that the registry gets rebuild
400         after the update.
401
402         This saves some milliseconds for reading/writing the registry.
403         Fixes bug #560399.
404
405 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
406
407         * docs/random/wtay/poll-timeout:
408         Some pseudo code for how we could implement clock timeouts with GstPoll.
409
410 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
411
412         * plugins/elements/gstfilesink.c:
413           Update Author string to match others.
414
415 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
416
417         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
418         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
419         being fixed and inline the trivial check.
420
421 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
422
423         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
424         (gst_caps_merge_structure), (gst_caps_get_structure),
425         (gst_caps_copy_nth), (gst_caps_set_simple),
426         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
427         (gst_caps_is_equal_fixed), (gst_caps_intersect),
428         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
429         (gst_caps_to_string):
430         Callgrind micro optimisations.
431         Avoid array bounds checks and force inline of trivial function.
432
433         * gst/gstobject.c: (gst_object_set_name_default):
434         -1 is equivalent to letting glib to the strlen but then there is more
435         room for optimisations and it's not our fault.
436
437         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
438         no need to clear the array, we're cool.
439
440         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
441         The most common _is_fixed() check is done on fundamental glib base
442         types so we check this first instead of doing a huge amount of
443         useless GST_TYPE_ARRAY calls.
444
445 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
446
447         * gst/gstevent.h:
448         Add a SKIP seek flag for use with advanced trickmodes.
449         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
450
451 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
452
453         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
454         No need to memset, we can clear the value ourselves.
455
456         * gst/gstvalue.c: (gst_type_is_fixed),
457         (gst_value_get_compare_func):
458         Some optimisations from a few callgrind sessions:
459         When checking if a type is fixed, check for trivial fundamental types
460         first before checking types for which we need to get the type followed
461         by the heavy duty type checks, this reduces the amount of
462         g_type_fundamental() calls a lot.
463         When getting the compare function, first check for our registered types.
464         If that fails, do the heavy duty g_type_is_a() checks, reduces the
465         amount of g_type_is_a() considerably.
466
467 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
468
469         * docs/design/part-TODO.txt:
470         Mumble something about removing GstXML.
471
472 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
473
474         * gst/gstbin.c: (gst_bin_handle_message_func):
475         Get the seqnum before we dispose the message.
476
477 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
478
479         * docs/design/part-TODO.txt:
480         Refer to the framestepping document.
481
482 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
483
484         * gst/gstbin.c: (bin_handle_async_start),
485         (gst_bin_handle_message_func), (gst_bin_query):
486         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
487         (gst_base_sink_event), (gst_base_sink_change_state):
488         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
489         (gst_base_src_loop), (gst_base_src_change_state):
490         Copy seqnums from events to messages so that they can all be related
491         back to eachother.
492
493 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
494
495         * tools/gst-launch.c: (event_loop):
496         Print the message seqnums.
497
498 2008-11-04  Andy Wingo  <wingo@pobox.com>
499
500         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
501
502 2008-11-04  Andy Wingo  <wingo@pobox.com>
503
504         Add sequence numbers to events and messages. See #559250.
505
506         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
507         API: New functions.
508
509         * gst/gstevent.h:
510         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
511         events with a new sequence number, and copy it when copying.
512         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
513         an event's sequence number.
514
515         * gst/gstmessage.h:
516         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
517         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
518         so with messages.
519
520         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
521
522 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
523
524         * docs/manual/advanced-position.xml:
525         * docs/manual/basics-bins.xml:
526         * docs/manual/basics-bus.xml:
527         * docs/manual/basics-pads.xml:
528         * docs/manual/intro-gstreamer.xml:
529         * docs/manual/intro-preface.xml:
530         Some Application Development Manual fixes thanks to
531         Andrew Feren. Fixes #558459.
532
533 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
534
535         * gst/gstregistrybinary.c:
536           Don't bother with the GTimer if we don't output the results.
537
538 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
539
540         Patch by: David Schleef  <ds@schleef.org>
541
542         * libs/gst/net/Makefile.am:
543         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
544
545 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
546
547         * gst/gstregistrybinary.c:
548           Oh my, studip, stupid me. Remove double stat() call.
549
550 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
551
552         * gst/gstpreset.c:
553           Use g_unlink instead of unlink.
554
555         * gst/gststructure.c:
556           Use glib type.
557
558         * gst/gstutils.c:
559           Add a FIXME:.
560
561         * gst/gsttaglist.c:
562         * gst/gsttypefind.c:
563         * gst/gstvalue.c:
564           Formatting & whitespaces.
565
566 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
567
568         * plugins/elements/gstidentity.c:
569           Doc typo. Use return value of parent_class->event.
570   
571         * plugins/elements/gsttypefindelement.c:
572           Chain up at the end for consistency.
573   
574 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
575
576         * docs/Makefile.am:
577         * docs/gst/gstreamer-docs.sgml:
578         * docs/gst/gstreamer-sections.txt:
579         * docs/gst/running.xml:
580         * docs/libs/gstreamer-libs-docs.sgml:
581           Change to xinclude based build - its faster and easier to maintain.
582
583 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
584
585         * gst/gstregistrybinary.c:
586         * gst/gstregistryxml.c:
587           Use g_unlink() as none of these are directories.
588
589 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
590
591         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
592         Some more comments.
593
594 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
595
596         * libs/gst/base/gstbasetransform.c:
597         (gst_base_transform_find_transform), (gst_base_transform_getrange):
598         If we have a fixate function, call it even if we already have fixed caps
599         because the subclass might add some caps. Makes audioconvert add a
600         default channel layout.
601
602 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
603
604         * libs/gst/base/gstbasetransform.c:
605         (gst_base_transform_prepare_output_buffer),
606         (gst_base_transform_getrange):
607         Clear the output buffer variable.
608         Cleanups to the error path in the getrange function.
609         Fixes #557649.
610
611 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
612
613         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
614         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
615         Use gst_buffer_try_new_and_alloc() and handle errors instead of
616         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
617         be allocated.
618
619 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
620
621         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
622         Set the last_stop to a more meaningful position when configuring the
623         segment. ie. the start/stop of the segment or clipped against the
624         updated segment boundaries.
625
626         * tests/check/gst/gstsegment.c: (GST_START_TEST):
627         Add some unit tests for the last_stop.
628
629 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
630
631         * libs/gst/base/gstbytereader.c:
632         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
633         copies of them.
634
635 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
636
637         * docs/gst/gstreamer-sections.txt:
638         * gst/gstutils.h:
639         API: Move float endianness conversion macros from libgstfloatcast
640         to core as it's useful in general, even in core. Fixes bug #555196.
641         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
642         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
643         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
644
645         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
646         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
647         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
648         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
649
650 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
651
652         * docs/libs/gstreamer-libs-sections.txt:
653         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
654         (gst_byte_reader_peek_data):
655         * libs/gst/base/gstbytereader.h:
656         * win32/common/libgstbase.def:
657         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
658         to get a pointer to the data at the current position and have
659         a guaranteed size.
660
661 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
662
663         * configure.ac:
664         Fix a bug in the output of the configure script summary
665         when --gst-disable-registry is supplied
666
667 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
668
669         * libs/gst/base/gstbitreader.c:
670         * libs/gst/base/gstbytereader.c:
671         Fix the names of 2 functions in the docs strings.
672
673 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
674
675         * libs/gst/base/gstbasetransform.c:
676         (gst_base_transform_prepare_output_buffer),
677         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
678         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
679         refcount problems as seen in banshee and maybe also in farsight2.
680         Remove atomic int now that we need to take the lock anyways.
681
682 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
683
684         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
685         (gst_base_sink_default_prepare_seek_segment),
686         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
687         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
688         (gst_base_sink_query):
689         Implement more seeking in pull mode.
690         Use pad convert functions to convert position to the requested format.
691         Fix position/duration reporting in pull mode.
692         Implement position and duration reporting in other formats than time.
693
694         * libs/gst/base/gstbasesink.h:
695         Add member to keep track of when the segment is playing.
696
697 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
698
699         * gst/gstpad.c: (gst_pad_configure_src):
700         When we use gst_pad_alloc_buffer() without wanting to set the caps we
701         also don't need to check if the caps are compatible because the caller
702         presumably is going to perform its own custom checks. Fixes some cases
703         where basetransform elements would error out when it was not needed.
704
705 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
706
707         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
708         Update comment.
709
710         * libs/gst/base/gstbasetransform.c:
711         (gst_base_transform_handle_buffer),
712         (gst_base_transform_reconfigure):
713         Add some debug info.
714
715         * win32/common/libgstbase.def:
716         Add new method.
717
718 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
719
720         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
721           Remove duplicated assignment and log a message in failure case.
722
723 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
724
725         Patch by: Dig Ge <dig.ge.cn at gmail com>
726
727         * tests/examples/helloworld/helloworld.c: (main):
728           Fix copy'n'paste bug in hello world example (#556900).
729
730 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
731
732         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
733         (gst_base_sink_query):
734         Query the total number of bytes when activating the pad in pull mode.
735         Implement duration query in pull mode by using the installed pad convert
736         function to convert from bytes to the requested format.
737
738 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
739
740         * docs/libs/gstreamer-libs-sections.txt:
741         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
742         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
743         (gst_base_sink_event), (gst_base_sink_perform_seek),
744         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
745         (gst_base_sink_send_event), (gst_base_sink_change_state):
746         * libs/gst/base/gstbasesink.h:
747         Add method to commit the state in subclasses.
748         Refactor the flush_start and flush_stop code because we need it for
749         flushing while seeking too.
750         Implement the beginnings of seeking in pull mode.
751         Use the segment last_stop field for the pulling offset.
752         Fix the pause method in pull mode.
753         Configure the segment to BYTES for pull mode.
754         API: GstBaseSink::gst_base_sink_do_preroll()
755
756 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
757
758         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
759         Update some docs.
760
761 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
762
763         * gst/gstquark.c: (_priv_gst_quarks_initialize):
764           Fix printf format warning.
765
766 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
767
768         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
769         Fix flow aggregation of tee. Error out immediately for all flow returns
770         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
771         and return OK if at least one pad is linked.
772
773         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
774         and otherwise returned the flow return of the last pad, which is wrong.
775         
776         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
777         (GST_START_TEST), (tee_suite):
778         Add unit tests for the flow aggregation.
779
780 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
781
782         * docs/design/part-TODO.txt:
783         Remove item from the todo list because it was fixed with the latency
784         state change rewrites.
785
786         * docs/design/part-seeking.txt:
787         * docs/design/part-segments.txt:
788         Update some docs.
789
790         * gst/gstevent.c: (gst_event_new_new_segment_full),
791         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
792         (gst_event_parse_buffer_size), (gst_event_new_qos),
793         (gst_event_parse_qos), (gst_event_new_seek),
794         (gst_event_parse_seek), (gst_event_new_latency),
795         (gst_event_parse_latency):
796         Use quarks to construct and parse events.
797
798         * gst/gstquark.c: (_priv_gst_quarks_initialize):
799         * gst/gstquark.h:
800         Add some more quarks to the table.
801         Emit a warning when the quark tables are not in sync.
802
803         * tests/check/gst/gstbus.c: (GST_START_TEST):
804         Add an assert.
805
806 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
807
808         * plugins/elements/Makefile.am:
809         * plugins/indexers/Makefile.am:
810           Don't install static libs for plugins. Fixes #550851 for core.
811
812 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
813
814         * gst/gstbus.c: (gst_bus_source_finalize),
815         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
816         (gst_bus_enable_sync_message_emission),
817         (gst_bus_disable_sync_message_emission),
818         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
819         Fix deadlock, g_source_get_id() cannot be called in finalize.
820         Keep track of the watch source by keeping a pointer to the source object
821         instead.
822         Use the bus lock to protect access to the pointer to the current
823         watch source.
824
825 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
826
827         Base on Patch by: Olivier Crete <tester at tester dot ca>
828
829         * gst/gstbus.c: (gst_bus_source_finalize),
830         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
831         Only allow one bus watch to be set at a time. This is necessary
832         because the dispatcher pops the message from the bus and the second
833         watcher will then get NULL or the next message (and the first won't
834         get this next message then, etc). If more than one "watcher" is
835         required signal watches should be used. Fixes bug #526044.
836
837 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
838
839         * tools/gst-launch.c:
840         Change the printing of the 'buffering...' output to avoid putting
841         a \r in a translateable string (flagged by the TP).
842
843 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
844
845         * gst/gstxml.c:
846         Clarify that the save_thyself() and restore_thyself() virtual
847         functions of GstObject need to be overriden, not
848         gst_object_(save|restore)_thyself() which is impossible.
849         Fixes bug #555700.
850
851 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
852
853         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
854         Revert a patch from 21 months ago that broke caps negotiation in pull
855         mode. Basically, having a buffer pass over a pad will trigger the
856         setcaps function when caps change, just like in push mode.
857
858 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
859
860         * docs/design/part-negotiation.txt:
861         Update the docs some more.
862
863         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
864         If we pull a buffer with non-trivial caps, suggest those caps with the
865         max probability.
866
867 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
868
869         * docs/design/part-TODO.txt:
870         Add another limitation of pad-blocking with segment seeks not pushing
871         EOS events.
872
873 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
874
875         * win32/common/libgstbase.def:
876         * win32/common/libgstreamer.def:
877         Add new symbols to the win32 defs files
878
879 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
880
881         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
882         (gst_bin_handle_message_func):
883         The message src can be NULL, don't try to print the object names in that
884         case.
885
886         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
887         Add some more debug info.
888
889         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
890         (GST_START_TEST):
891         Add some debug.
892         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
893         scheduling modes.
894
895 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
896
897         * docs/design/part-negotiation.txt:
898         Small doc update.
899
900         * docs/libs/gstreamer-libs-sections.txt:
901         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
902         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
903         (gst_base_sink_init), (gst_base_sink_set_blocksize),
904         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
905         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
906         (gst_base_sink_loop), (gst_base_sink_pad_activate),
907         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
908         (gst_base_sink_change_state):
909         * libs/gst/base/gstbasesink.h:
910         Add blocksize property and methods to control the amount of data
911         to pull.
912         Negotiate first before activating upstream in pull mode so that they can
913         negotiate themselves.
914         When we operate in pull mode, we only accept the caps that we
915         negotiated.
916         Make the sink go ASYNC to PAUSED, like all other sinks.
917         API: GstBaseSink::gst_base_sink_set_blocksize()
918         API: GstBaseSink::gst_base_sink_get_blocksize()
919         API: GstBaseSink::blocksize
920
921         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
922         (gst_base_src_set_live), (gst_base_src_is_live),
923         (gst_base_src_set_format), (gst_base_src_query_latency),
924         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
925         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
926         (gst_base_src_set_property), (gst_base_src_get_property):
927         * libs/gst/base/gstbasesrc.h:
928         Add typechecking in public API functions.
929         Add methods to control the blocksize in subclasses.
930         API: GstBaseSrc::gst_base_src_set_blocksize()
931         API: GstBaseSrc::gst_base_src_get_blocksize()
932
933 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
934
935         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
936         (buffer_probe), (event_probe), (GST_START_TEST):
937         We now see 3 events go through our pad, since basesink now sends
938         upstream latency events.
939
940 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
941
942         * gst/gstpipeline.c: (gst_pipeline_change_state):
943         Release the object lock before trying to flush the bus.
944
945 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
946
947         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
948         Forward LATENCY events upstreams so that elements know about the total
949         pipeline latency. Fixes #555307.
950
951 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
952
953         * plugins/elements/gstqueue.c:
954         Allow through queries when we don't know how
955         to adjust them (not TIME or BYTES), as otherwise it's
956         not possible to query the current position in order
957         to seek in other formats at all.
958
959 2008-10-08  Andy Wingo  <wingo@pobox.com>
960
961         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
962
963 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
964
965         * gst/gstghostpad.c:
966         * gst/gstghostpad.h:
967         Unbreak -good build, private is a reserved c++ keyword.
968
969 2008-10-08  Andy Wingo  <wingo@pobox.com>
970
971         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
972         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
973         removal: re-add GST_GHOST_PAD_CAST to the header.
974
975         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
976         (GstGhostPadClass): Publically expose these structures so as to
977         allow easy subclassing from C. Hide the member data behind a
978         private opaque data pointer.
979
980         * gst/gstghostpad.c: Adapt to store instance data in the type
981         instance's private data region, not in the public struct.
982
983 2008-10-08  Andy Wingo  <wingo@pobox.com>
984
985         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
986         template via g_object_get(), be sure to unref it.
987
988         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
989
990 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
991
992         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
993         If we can't get a cache file don't try to save something to it.
994         Dereferencing NULL pointers usually isn't a good idea.
995
996 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
997
998         * tests/check/Makefile.am:
999         * tests/check/gst/gstabi.c:
1000         * tests/check/gst/struct_sparc.h:
1001         * tests/check/libs/libsabi.c:
1002         * tests/check/libs/struct_sparc.h:
1003         Add Sparc ABI checks
1004
1005         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1006         Cast signed integer to unsigned to avoid a compiler warning.
1007
1008 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1009
1010         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1011         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1012         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1013         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1014         (gst_byte_reader_peek_int24_be):
1015         Use new GST_READ_UINT24_(LE|BE) macros.
1016
1017 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1018
1019         * docs/gst/gstreamer-sections.txt:
1020         * gst/gstutils.h:
1021         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1022         as it's too easy to break the ISO C strict aliasing rules with simple
1023         casts to the corresponding type and this would introduce hard to debug
1024         bugs. Fixes bug #545714.
1025
1026         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1027
1028 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1029
1030         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1031         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1032           Add 'Since' bits to gtk-doc chunks for new API.
1033
1034 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1035
1036         * docs/gst/gstreamer-sections.txt:
1037         Fix documentation
1038
1039 2008-10-06  Andy Wingo  <wingo@pobox.com>
1040
1041         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1042         that will be called on the malloc_data to free it. Basically a way
1043         to avoid subclassing when all you need is a different free
1044         function, i.e. free() instead of g_free().
1045
1046         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1047         calling the free function.
1048         (gst_buffer_init): Initialize the free function to g_free.
1049
1050 2008-10-06  Andy Wingo  <wingo@pobox.com>
1051
1052         * gst/gstghostpad.h:
1053         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1054         finishes the initialization of ghost pad. Useful for language
1055         bindings and subclassers of GstGhostPad. Fixes #539108.
1056         (gst_ghost_pad_new_full): Use the new constructor.
1057
1058 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1059
1060         Base on Patch by: Olivier Crete <tester at tester dot ca>
1061
1062         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1063         (gst_bin_remove_func), (update_degree),
1064         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1065         Keep track of pads that are being linked/unlinked and resync the state
1066         changes.
1067
1068         * gst/gstpad.c: (gst_pad_get_direction),
1069         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1070         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1071         (gst_pad_link_prepare), (gst_pad_link),
1072         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1073         (gst_pad_check_pull_range), (gst_pad_get_range),
1074         (gst_pad_pull_range):
1075         Some code cleanups, use macros to check pad direction.
1076         Don't need to take the lock on the pad direction.
1077         Post structure change when pads are linked/unlinked.
1078         Change some checks into _return_if_fail().
1079
1080         * tests/check/gst/gstbin.c:
1081         (test_link_structure_change_state_changed_sync_cb),
1082         (GST_START_TEST), (gst_bin_suite):
1083         Add testcase for pad link/unlinke resync during a state change.
1084         Fixes #510354.
1085
1086 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1087
1088         * docs/gst/gstreamer-sections.txt:
1089         * gst/gstmessage.c: (gst_message_new_structure_change),
1090         (gst_message_parse_structure_change):
1091         * gst/gstmessage.h:
1092         Implement STRUCTURE_CHANGED messages. These messages will be used to
1093         signal the parent bin of link/unlink operations that could require a
1094         resync when doing a state change. See ##510354.
1095         API: gst_message_new_structure_change()
1096         API: gst_message_parse_structure_change()
1097
1098 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1099
1100         * gst/gstquark.c:
1101         * gst/gstquark.h:
1102         Add some more quarks for new message. See #510354.
1103
1104 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1105
1106         * docs/libs/gstreamer-libs-docs.sgml:
1107         * docs/libs/gstreamer-libs-sections.txt:
1108         * libs/gst/base/Makefile.am:
1109         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1110         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1111         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1112         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1113         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1114         (gst_bit_reader_skip_to_byte):
1115         * libs/gst/base/gstbitreader.h:
1116         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1117         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1118         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1119         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1120         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1121         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1122         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1123         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1124         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1125         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1126         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1127         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1128         * libs/gst/base/gstbytereader.h:
1129         * tests/check/Makefile.am:
1130         * tests/check/libs/bitreader.c: (GST_START_TEST),
1131         (gst_bit_reader_suite):
1132         * tests/check/libs/bytereader.c: (GST_START_TEST),
1133         (gst_byte_reader_suite):
1134         API: Add bit reader and byte reader classes, including documentation
1135         and an extensive unit test suite. Fixes bug #553554.
1136
1137 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1138
1139         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1140         (gst_base_sink_query):
1141         Improve position reporting while flushing and other intermediate state
1142         changes. Fixes #553874.
1143
1144 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1145
1146         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1147
1148         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1149         Original patch by : Simon Descaries
1150         Fix small refount leak in caps compatibility check.
1151         Fixes #551676.
1152
1153 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1154
1155         * docs/pwg/advanced-request.xml:
1156           Fix 0.8 api usage in example. Fixes #554561
1157
1158         * docs/pwg/appendix-porting.xml:
1159           Change 0.9 to 0.10 here.
1160
1161 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1162
1163         * docs/manual/basics-data.xml:
1164           Change "event-event interaction" to "element-element interaction".
1165           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1166           updates.
1167
1168 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1169
1170         * configure.ac:
1171         Back to development -> 0.10.21.1
1172
1173 === release 0.10.21 ===
1174
1175 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1176
1177         * configure.ac:
1178           releasing 0.10.21, "Take These Things From Me"
1179
1180 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1181
1182         * configure.ac:
1183         0.10.20.4 pre-release
1184
1185 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1186
1187         * libs/gst/base/gstbasetransform.c:
1188         * plugins/elements/gstcapsfilter.c:
1189         * tests/check/Makefile.am:
1190         * tests/check/elements/.cvsignore:
1191         * tests/check/elements/capsfilter.c:
1192         Fix assertion in basetransform when the subclass chooses not to
1193         allocate a buffer in prepare_buffer(), and make capsfilter error out
1194         cleanly if requested to apply caps that don't completely specify the
1195         buffer. Fixes #551509
1196
1197 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1198
1199         * libs/gst/base/gstbasetransform.c:
1200         (gst_base_transform_prepare_output_buffer):
1201         Take new caps ref because our old one might have been gone when the
1202         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1203
1204 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1205
1206         * configure.ac:
1207           Do not probe availability of check unit test library when cross
1208           compiling, as test would not work anyway. Also cleanup verbose output
1209           of the check test. Fixes #551952.
1210
1211 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1212
1213         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1214
1215         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1216         Avoid leaking the parent ref when we fail changing the state of the
1217         element using gst_element_sync_state_with_parent(). Fixes #551978.
1218
1219 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1220
1221         * docs/manual/intro-motivation.xml::
1222           Remove some bits that no longer apply, update others (#551642).
1223
1224 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1225
1226         * configure.ac:
1227         0.10.20.2 pre-release
1228
1229         * po/LINGUAS:
1230         * po/id.po:
1231         * po/pt_BR.po:
1232
1233         New translations.
1234
1235 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1236
1237         * win32/common/config.h.in:
1238           Add GST_DATADIR, hard-code cpu to x86.
1239
1240         * win32/common/libgstreamer.def:
1241           Spaces to tabs.
1242
1243 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1244
1245         * gst/gsttaglist.h:
1246           Fix Since: markers for new geo tags.
1247
1248 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1249
1250         * gst/gsttaglist.h:
1251           Fix actual tag name define after renaming from altitude to elevation.
1252
1253 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1254
1255         * gst/gstpad.c: (add_unref_pad_to_list),
1256         (gst_pad_get_internal_links_default):
1257         Add fallback when calling the deprecated function on an element that
1258         implements the new internal_link handler.
1259
1260 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1261
1262         * docs/gst/gstreamer-sections.txt:
1263         * gst/gsttaglist.c:
1264         * gst/gsttaglist.h:
1265           Add new tags for geo location and clarify purpose of existing location
1266           tag. Fixes #481169
1267
1268 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1269
1270         Patch by: Olivier Crete <tester at tester dot ca>
1271
1272         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1273         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1274         Use thread-safe internal links iterator. Fixes #549504.
1275
1276 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1277
1278         Based on patch by: Olivier Crete <tester at tester dot ca>
1279
1280         * docs/gst/gstreamer-sections.txt:
1281         * win32/common/libgstreamer.def:
1282         * gst/gstpad.c: (gst_pad_init),
1283         (gst_pad_set_iterate_internal_links_function),
1284         (int_link_iter_data_free), (iterate_pad),
1285         (gst_pad_iterate_internal_links_default),
1286         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1287         * gst/gstpad.h:
1288         Add threadsafe replacement functions for getting internal links of an
1289         element. Deprecate the old internal links functions.
1290         API:GstPad::gst_pad_set_iterate_internal_links_function()
1291         API:GstPad::GstPadIterIntLinkFunction
1292         API:GstPad::gst_pad_iterate_internal_links()
1293         API:GstPad::gst_pad_iterate_internal_links_default()
1294
1295         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1296         (gst_proxy_pad_init):
1297         Implement threadsafe internal links.
1298
1299         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1300         Unit test for internal links on tee. See #549504.
1301
1302 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1303
1304         * tests/check/Makefile.am:
1305         libs/transform1 test requires libs/test_transform.c
1306
1307 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1308
1309         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1310         Die evil deadlock, die !
1311
1312 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1313
1314         * gst/gstutils.c: (gst_element_get_compatible_pad):
1315         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1316         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1317         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1318         not steal the refcount of the given caps as stated.
1319
1320         REVERT THIS COMMIT ONCE FIXED !
1321         REVERT THIS COMMIT ONCE FIXED !
1322         REVERT THIS COMMIT ONCE FIXED !
1323         REVERT THIS COMMIT ONCE FIXED !
1324         REVERT THIS COMMIT ONCE FIXED !
1325         REVERT THIS COMMIT ONCE FIXED !
1326
1327 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1328
1329         * gst/gstiterator.c:
1330         * gst/gstiterator.h:
1331         After 3 years it's about time to revise the documentation of the
1332         iterator objects.
1333
1334 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1335
1336         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1337         Make the internal links function less thread-unsafe and add some
1338         comments, dunno why.
1339
1340 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1341
1342         * gst/gst_private.h:
1343           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1344           build with --disable-gst-debug.
1345
1346 2008-08-28  David Schleef  <ds@schleef.org>
1347
1348         * gst/gstpadtemplate.c: Revert last change, since it breaks
1349           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1350           but shouldn't be enabled until we've released fixed versions
1351           of -good and -ffmpeg.
1352
1353 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1354
1355         * gst/gstobject.c:
1356           Put the gst_object_get_name() back in.
1357
1358 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1359
1360         * gst/gstpadtemplate.c:
1361           The old behaviour was that gst_pad_template_new() takes ownership of
1362           the caps. As we now call g_object_new() which calls g_object_set() and
1363           which copies the caps, we have to unref them to not leak them. Fixes
1364           make valgrid for me.
1365
1366 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1367
1368         * gst/gsturi.c:
1369           Don't segfault on input like "tel:+1-123-555-1234".
1370
1371 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1372
1373         * gst/gstobject.c:
1374           Due to popular request also include ObjectType in
1375           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1376
1377 2008-08-26  David Schleef  <ds@schleef.org>
1378
1379         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1380           src_val must be positive, because that's not a requirement.
1381           This causes problems with converting negative granulepos
1382           values for Dirac.
1383         * gst/gstquery.c: Same, gst_query_new_convert().
1384
1385 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1386
1387         * gst/gstclock.c: (gst_clock_add_observation):
1388         Add some more debugging to the clock slaving code.
1389
1390         * win32/common/libgstbase.def:
1391         Add new basetransform method.
1392
1393 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1394
1395         * gst/gstbin.c: (gst_bin_element_set_state):
1396         Take the (recursive) state lock between getting the locked state of an
1397         element and changing the element state. This allows the application to
1398         lock an element's state and then change its state without races.
1399
1400 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1401
1402         * gst/gstbin.c: (gst_bin_element_set_state):
1403         When an element is in the locked state we still want to update the
1404         base_time of the element.
1405
1406 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1407
1408         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1409         Use the result from gst_pad_set_caps() instead of assuming the element
1410         always accepted the caps computed by the default negotiate function.
1411
1412 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1413
1414         * docs/libs/gstreamer-libs-sections.txt:
1415         * libs/gst/base/gstbasetransform.c:
1416         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1417         (gst_base_transform_chain), (gst_base_transform_suggest),
1418         (gst_base_transform_reconfigure):
1419         * libs/gst/base/gstbasetransform.h:
1420         Implement method for reconfiguring basetransform.
1421         API: GstBaseTransform::gst_base_transform_reconfigure()
1422
1423 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1424
1425         patch by: Murray Cumming <murrayc@murrayc.com>
1426
1427         * gst/gstutils.c:
1428           Mention that this is just like gst_buffer_merge() but with extra
1429           unreffing for C coders. Advise language bindings not to wrap it.
1430           Fixes Bug #533856.
1431           
1432           Also fix file comment.
1433
1434 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1435
1436         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1437
1438         * plugins/elements/gstfakesink.c:
1439         * plugins/elements/gstfakesrc.c:
1440           Call super::event() when not handling it. Fixes #544855.
1441
1442 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1443
1444         Patch by: Alessandro Decina <alessandro@nnva.org>
1445         * plugins/elements/gstfilesrc.c:
1446           Use 64 bit variants of stat functions on win32, to enable support
1447           of large files there.
1448           Fixes #547277.
1449
1450 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1451
1452         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1453         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1454         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1455         (gst_base_sink_get_position), (gst_base_sink_change_state):
1456         Improve position reporting in the flushing state.
1457         Also report the position when we are not yet prerolled but we
1458         have a newsegment event. Fixes #543444.
1459         Improve the pull-based negotiation code.
1460
1461         * tests/check/elements/fakesink.c: (GST_START_TEST),
1462         (fakesink_suite):
1463         Add testcase for position reporting while flushing in PAUSED and
1464         PLAYING.
1465
1466         * tests/check/generic/sinks.c: (GST_START_TEST):
1467         Update unit-test, we can now query the position as soon as we receive a
1468         NEWSEGMENT event.
1469
1470 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1471
1472         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1473
1474         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1475         When the subclass event handler releases the PREROLL_LOCK, we could be
1476         in the flushing state and we have to ignore the event. Fixes #548394.
1477
1478 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1479
1480         * tools/gst-launch.1.in:
1481           Document GST_REGISTRY_UPDATE environment variable.
1482
1483 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1484
1485         * libs/gst/base/gstbasetransform.c:
1486         (gst_base_transform_prepare_output_buffer):
1487         If the element is configured in passthrough mode but the
1488         prepare_output_buffer gave us a new output buffer, discard that buffer
1489         and reuse the input buffer.
1490
1491 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1492
1493         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1494
1495         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1496         (gst_tee_request_new_pad), (gst_tee_release_pad),
1497         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1498         * plugins/elements/gsttee.h:
1499         Protect pad_alloc with a new lock so that we can be sure that nothing is
1500         performing a pad_alloc when removing the pad. Fixes #547835.
1501
1502         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1503         (buffer_alloc_harness_teardown), (app_thread_func),
1504         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1505         Added testcase for shutdown race.
1506
1507 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1508
1509         * gst/gstpad.h:
1510         Add doc
1511
1512 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1513
1514         * libs/gst/base/gstbasetransform.c:
1515         (gst_base_transform_prepare_output_buffer),
1516         (gst_base_transform_buffer_alloc):
1517         Go over the buffer_alloc function again and make sure we always end up
1518         allocating a buffer.
1519         Add some more docs.
1520         Avoid doing pad alloc when we have a pending suggestion because we
1521         cannot yet deal with changing caps in that case. Fixes #547728
1522
1523 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1524
1525         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1526
1527         * docs/manual/advanced-clocks.xml:
1528         * docs/manual/clocks.png:
1529         * docs/manual/diagrams-clocks.svg:
1530           Add one more image showing different times together with a describing
1531           paragraph. Fixes #547729.
1532
1533 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1534
1535         * win32/common/libgstbase.def:
1536         Add new method.
1537
1538 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1539
1540         * libs/gst/base/gstbasetransform.c:
1541         (gst_base_transform_transform_caps),
1542         (gst_base_transform_prepare_output_buffer),
1543         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1544         Don't overwrite the outsize when calculating the expected size of a new
1545         buffer because we still need it in case we cannot process the new
1546         buffer.
1547         When converting the size of the new buffer to an upstream size, actually
1548         use the expected size of the buffer, not some other random value.
1549         Use an atomic int to signal that a new upstream caps suggestion is
1550         available.
1551         When we can convert the current buffer to a new format, check if the
1552         buffer size is of the expected size and allocate a new buffer of the
1553         expected size when this is not the case. Fixes #546883.
1554
1555         * tests/check/libs/transform1.c: (GST_START_TEST):
1556         remove ifdeffed code from the unit test.
1557
1558 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1559
1560         * pkgconfig/gstreamer-uninstalled.pc.in:
1561         * pkgconfig/gstreamer.pc.in:
1562           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1563           called gstcontroller-0.10.
1564
1565 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1566
1567         * gst/gstchildproxy.h:
1568         * gst/gstpreset.h:
1569           Remove double interface from doc-string.        
1570
1571 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1572
1573         * libs/gst/base/gstbasesrc.c:
1574         * libs/gst/base/gstbasetransform.c:
1575           Fix headings in docs and gtk-doc warnings.
1576
1577 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1578
1579         * gst/gstregistrybinary.c:
1580           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1581           libc.
1582           Fixes #544776.
1583
1584 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1585
1586         * libs/gst/base/gstbasetransform.c:
1587         (gst_base_transform_buffer_alloc):
1588         Fix a "may be used unitialized" warning.
1589
1590 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1591
1592         * docs/gst/gstreamer-sections.txt:
1593         * gst/gstpreset.h:
1594           Document preset-iface vmethods.
1595
1596 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1597
1598         * docs/manual/advanced-interfaces.xml:
1599           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1600           only used to discover devices.
1601
1602 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1603
1604         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1605
1606         * gst/gst.c: (init_pre):
1607         Make sure gettext returns translations in UTF-8 encoding rather
1608         than in the current locale encoding (#546822).
1609
1610 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1611
1612         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1613         Fix subset test.
1614
1615         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1616         Improve unit test subset tests and add a testcase for the subset failure
1617         cases.
1618
1619         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1620         Improve subtraction unit test.
1621
1622 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1623
1624         * plugins/elements/gsttee.c:
1625           Unlock, instead of locking again.
1626
1627 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1628
1629         * gst/gstpad.h:
1630         Clarify the docs a bit more.
1631
1632 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1633
1634         * tests/examples/metadata/read-metadata.c:
1635           Don't leak old taglist.
1636
1637 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1638
1639         Patch by: Olivier Crete <tester at tester dot ca>
1640
1641         * gst/gststructure.c:
1642         (gst_structure_fixate_field_nearest_fraction):
1643         Avoid overflows in fixation code when dealing with MAXINT values, which
1644         v4l2src seems to do.
1645         Fixes #546328.
1646
1647         * tests/check/gst/gststructure.c: (GST_START_TEST):
1648         Make a unit test to check the fix. 
1649
1650 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1651
1652         * plugins/elements/gstcapsfilter.c: (copy_func),
1653         (gst_capsfilter_set_property):
1654         Use new caps suggestion feature of basetransform to request a caps
1655         negotiation upstream.
1656
1657 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1658
1659         * docs/libs/gstreamer-libs-sections.txt:
1660         Add new function:
1661         API: GstBaseTransform::gst_base_transform_suggest()
1662
1663         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1664         (gst_base_transform_init), (gst_base_transform_transform_caps),
1665         (gst_base_transform_transform_size),
1666         (gst_base_transform_configure_caps),
1667         (gst_base_transform_can_transform),
1668         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1669         (gst_base_transform_prepare_output_buffer),
1670         (gst_base_transform_buffer_alloc),
1671         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1672         (gst_base_transform_chain), (gst_base_transform_activate),
1673         (gst_base_transform_set_passthrough),
1674         (gst_base_transform_is_passthrough),
1675         (gst_base_transform_set_in_place),
1676         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1677         (gst_base_transform_set_qos_enabled),
1678         (gst_base_transform_is_qos_enabled),
1679         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1680         (gst_base_transform_reconfigure):
1681         * libs/gst/base/gstbasetransform.h:
1682         Rewrite of basetransform to perform negotiation outside of the
1683         buffer_alloc functions.  Fixes #545853.
1684
1685         * tests/check/libs/transform1.c: (GST_START_TEST),
1686         (buffer_alloc_ct2):
1687         Update unit test.
1688
1689 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1690
1691         * tests/check/gst/gstpreset.c:
1692           Only run preset tests when $HOME is writable. Preliminary fix for
1693           #545433.
1694
1695 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1696
1697         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1698         (gst_bin_change_state_func), (bin_handle_async_done),
1699         (gst_bin_handle_message_func):
1700         Fix race for bins that simulate ASYNC state changes by inserting
1701         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1702         pending ASYNC messages even when the bin does not have ASYNC children.
1703         We note detect this behaviour because we will receive an ASYNC message
1704         that is originating from the bin itself. 
1705         Fixes races with decodebin2 state changes.
1706
1707         * tests/check/gst/gstbin.c: (GST_START_TEST):
1708         Add some more debug.
1709
1710 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1711
1712         * gst/gsttaglist.c: (_gst_tag_initialize):
1713           Fix typo.
1714
1715 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1716
1717         * gst/gsttaglist.c:
1718           Argh. actually save the text before committing. Now adds
1719           gst_tag_merge_strings_with_comma() to gst_tag_register().
1720
1721 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1722
1723         * gst/gsttaglist.c:
1724         * gst/gsttaglist.h:
1725           Do as tim pointed out and actually register the new tag. Also improve
1726           te docs and use gst_tag_merge_strings_with_comma() method to allow
1727           retriving all keywords merged in one list.
1728
1729 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1730
1731         * configure.ac:
1732         * docs/gst/gstreamer.types:
1733           Revert 'accidential' change of the configure option removal. We still
1734           need to generate the types file in configure --disable-load-save.
1735
1736 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1737
1738         * docs/gst/gstreamer-sections.txt:
1739         * gst/gsttaglist.h:
1740           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1741
1742 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1743
1744         * gst/gstpadtemplate.c:
1745           (gst_pad_template_class_init), (gst_static_pad_template_get),
1746           (gst_pad_template_new), (gst_pad_template_pad_created),
1747           (gst_pad_template_set_property), (gst_pad_template_get_property):
1748           Add "name-template", "direction", "presence" and "caps" properties,
1749           so that gst_pad_template_new() is just a thin wrapper around
1750           g_object_new(), which is better for bindings. (Fixes: #539772)
1751
1752 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1753
1754         * gst/gsturi.c:
1755           Be more liberal in what URIs we accept.
1756           Do not unescape bits of the URI for no apparent reason before passing to
1757           the element. Fixes #545352.
1758
1759 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1760
1761         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1762
1763         * gst/gst.c:
1764         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1765
1766 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1767
1768         * configure.ac:
1769         * docs/gst/gstreamer-sections.txt:
1770         * docs/gst/gstreamer.types:
1771         * docs/gst/gstreamer.types.in:
1772         * gst/Makefile.am:
1773         * gst/gst.c:
1774         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1775         * gst/gstconfig.h.in:
1776         * gst/gstelement.c: (gst_element_get_index):
1777         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1778         (gst_registry_binary_load_feature),
1779         (gst_registry_binary_read_cache):
1780         * gst/gstregistryxml.c: (load_feature),
1781         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1782         * plugins/Makefile.am:
1783         * tools/gst-indent:
1784         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1785         (print_plugin_features), (print_element_features):
1786         * tools/gst-xmlinspect.c: (print_event_masks),
1787         (print_element_info):
1788         * win32/common/gstconfig.h:
1789         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1790
1791         Disabling the indexers and URI handler code will only reduce the
1792         required amount of memory by a very small amount but on the other hand
1793         requires much more maintaince work. Apart from that many places of
1794         code are broken when disabling them.
1795
1796         Disabling the enum types doesn't reduce the required amount of memory
1797         by more than a few bytes and makes it hard to fix bugs like #539772,
1798         i.e. use the enums as GObject properties.
1799
1800 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1801
1802         * docs/design/part-TODO.txt:
1803         Add some thoughts and problems with upstream renegotiation.
1804
1805 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1806
1807         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1808         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1809         Remove silly redundant debug.
1810         Add some more debug info.
1811         Clarify the docs regarding new caps received from pad_alloc.
1812
1813 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1814
1815         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1816         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1817         Make setting the caps more threadsafe.
1818
1819 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1820
1821         * docs/design/part-element-transform.txt:
1822         Update docs.
1823
1824 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1825
1826         * plugins/elements/gstqueue.c: (gst_queue_init),
1827         (gst_queue_acceptcaps):
1828         Add and use a custom acceptcaps function instead of falling back to the
1829         potentially less optimized default implementation.
1830
1831 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1832
1833         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1834           Only sanity-check the buffer size if requested_caps == buffer_caps
1835           (ie. don't take pad caps into account, they're not relevant here)
1836
1837 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1838
1839         * plugins/elements/gsttee.c:
1840         * plugins/elements/gsttee.h:
1841           Reverting as not everything is clear yet. Needs some general design
1842           work.
1843
1844 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1845
1846         * ChangeLog:
1847           ChangeLog surgery for tee commit.
1848
1849 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1850
1851         * docs/gst/gstreamer-sections.txt:
1852           Cleanup section-file.
1853
1854 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1855
1856         * plugins/elements/gsttee.c:
1857         * plugins/elements/gsttee.h:
1858           Relay tag events in tee. Fixes parts of #474016.
1859           Downgrades 3 reoccurring debugs to log.
1860
1861 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1862
1863         * configure.ac:
1864         * libs/gst/Makefile.am:
1865           Build the net library if we have winsock2.
1866
1867 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1868
1869         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1870
1871         * docs/manual/advanced-threads.xml:
1872         * docs/manual/diagrams-pipelines.svg:
1873         * docs/manual/hello-world.png:
1874         * docs/manual/linked-elements.png:
1875         * docs/manual/mime-world.png:
1876         * docs/manual/queue.png:
1877         * docs/manual/thread-buffering.png:
1878         * docs/manual/thread-synchronizing.png:
1879           Replace one diagram with two separate ones and updates others.
1880           Fixes #542401.
1881
1882 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1883
1884         * gst/gstelement.h:
1885         Fix link in documentation.
1886
1887 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1888
1889         * gst/gstmessage.c:
1890         Fix confusing documentation.
1891
1892 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1893
1894         * libs/gst/base/gstbasesrc.h:
1895         revert the changes to the header file for the ABI.
1896
1897 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1898
1899         * libs/gst/base/gstbasesrc.c:
1900         * libs/gst/base/gstbasesrc.h:
1901         Don't cache the seekable status.
1902         Fixes bug #544174
1903
1904 2008-07-24  Rene Stadler  <mail@renestadler.de>
1905
1906         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1907         code to close the pipeline graph.  This prevents the program from
1908         printing internal data flow errors.
1909
1910 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1911
1912         * docs/manual/basics-bus.xml:
1913         Correct typo. Fixes bug #544320.
1914
1915 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1916
1917         * configure.ac:
1918           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1919           Add check (taken from -base) for winsock, adds WIN32_LIBS
1920         * gst/Makefile.am:
1921           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1922           winsock.
1923           Define GST_EXPORTS when building libgstreamer (only used on win32)
1924         * gst/gst_private.h:
1925         * gst/gstinfo.h:
1926           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1927           for symbols that we need to export in both these files.
1928         * gst/gstpoll.c:
1929           Include gst_private.h higher up to avoid some compile problems on win32.
1930
1931 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1932
1933         * gst/gstvalue.c:
1934         Fix typos.
1935
1936 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1937
1938         * gst/gstcaps.c:
1939         Previous commit was wrong NULL caps does not exist
1940         and indicate an error, so also add a FIXME to
1941         gst_caps_is_equal where NULL caps are accepted.
1942
1943 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1944
1945         * gst/gstcaps.c:
1946         Allow passing of NULL to gst_caps_union
1947
1948 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1949
1950         * gst/gstghostpad.c:
1951         Add in doc that gst_ghost_pad_set_target can accept
1952         NULL to clear target
1953
1954 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1955
1956         * gst/gstplugin.c:
1957         * gst/gstregistry.c:
1958           GstRegistryPool doesn't exist; don't refer to it in docs.
1959           Don't refer to functions that don't exist in docs, it's
1960           unhelpful.
1961
1962 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1963
1964         * gst/gst.c:
1965         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1966
1967 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1968
1969         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1970
1971         * docs/pwg/building-testapp.xml:
1972         Don't use an undeclared variable in the example program.
1973         Fixes bug #542573.
1974
1975 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1976
1977         * gst/gstdebugutils.c:
1978           Squeeze ghost-pad links and remove <> from classname labels to save
1979           more horizontal space.
1980
1981 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1982
1983         * gst/gstdebugutils.c:
1984           Give request and sometimes pads a different shpe style. Condense the
1985           graphs a little more.
1986
1987 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1988
1989         * configure.ac:
1990           Don't require flex and bison if the parser is disabled.
1991
1992 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1993
1994         * libs/gst/controller/gstinterpolationcontrolsource.c:
1995         (_list_find_sorted_custom):
1996         Don't use declarations after statements.
1997
1998 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1999
2000         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2001         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2002         of the the child-added / -removed signals as GstChildProxy
2003         only supports GstObjects.
2004
2005 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
2006
2007         * gst/gstdebugutils.c:
2008         Fix memleak
2009
2010 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2011
2012         Patch by: Alessandro Decina <alessandro at nnva dot org>
2013
2014         * gst/gstpoll.c:
2015         Fix "ignored return value" compiler warning with newer glibc.
2016
2017 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2018
2019         * gst/gstchildproxy.c:
2020         Fix copy&paste error in gst_child_proxy_removed() documentation.
2021
2022 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2023
2024         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2025           Print error debug message if plugin description fields that should
2026           be set are NULL.
2027
2028         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2029           Don't crash if the string to serialise is NULL (it really should
2030           not be, but apparently this used to work with the xml registry ...).
2031
2032 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2033
2034         * tools/gst-plot-timeline.py:
2035         Fix parsing of log messages
2036
2037 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2038
2039         * win32/common/libgstbase.def::
2040           Sort alphabetically so make check-exports doesn't barf.
2041
2042 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2043
2044         * gst/gstevent.c:
2045           Use gst_format_get_name() to improve debug output.
2046
2047         * gst/gstpreset.c:
2048           Remove #ifdef'ed code. Add TODO comment.
2049
2050         * gst/gstsegment.c:
2051           Add debug output to ease spotting format != segment.format assertions.
2052
2053 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2054
2055         * tests/check/libs/gdp.c: (gst_dp_suite):
2056         Also enable the GDP unit test again on PPC now that the bug
2057         is fixed.
2058
2059 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2060
2061         * libs/gst/dataprotocol/dataprotocol.c:
2062         Don't write to the same region of memory as a uint64 and uint16
2063         as this breaks strict aliasing rules and apparantly breaks on PPC
2064         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2065
2066 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2067
2068         * libs/gst/controller/gstinterpolationcontrolsource.c:
2069           Optimize list handling. Use own find function. Exploit that fact that
2070           the list is sorted. Also pass back the node before, so that we can
2071           insert quickly. Have a fast path for append.
2072
2073 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2074
2075         * docs/design/draft-framestep.txt:
2076         * docs/design/part-negotiation.txt:
2077           Fix two typos.
2078
2079 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2080
2081         * configure.ac:
2082           Show configuration sumary after configure run. Based on patch by
2083           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2084
2085 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2086
2087         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2088
2089         * docs/manual/advanced-autoplugging.xml:
2090         * docs/manual/advanced-threads.xml:
2091         * docs/manual/basics-bins.xml:
2092         * docs/manual/basics-elements.xml:
2093         * docs/manual/basics-helloworld.xml:
2094         * docs/manual/basics-pads.xml:
2095           Add scale factor for pdf output.
2096
2097         * docs/manual/intro-basics.xml:
2098           Switched sections "pads" and "bins" and added a pipeline diagram.
2099
2100         * docs/manual/intro-gstreamer.xml:
2101           Added more info on gstreamer.
2102
2103         * docs/manual/intro-motivation.xml:
2104           Commented out the whole section "current problem", which sounds
2105           historical and somehow osolete; it could be turned in a positive
2106           way and reused to improve the design principles.
2107
2108         * docs/manual/intro-preface.xml:
2109           - Update URLs to library.gnome.org. 
2110           - Do not mention GTK+ in preliminary reading (irrelevant). 
2111           - Mention Plugin Writer's Manual and further reading only in the
2112             previous section.
2113           - Added a list of most relevant GObject/glib topics.
2114
2115         * docs/manual/Makefile.am:
2116         * docs/manual/bin-element-ghost.fig:
2117         * docs/manual/bin-element-ghost.png:
2118         * docs/manual/bin-element-noghost.fig:
2119         * docs/manual/bin-element-noghost.png:
2120         * docs/manual/bin-element.fig:
2121         * docs/manual/bin-element.png:
2122         * docs/manual/filter-element-multi.fig:
2123         * docs/manual/filter-element-multi.png:
2124         * docs/manual/filter-element.fig:
2125         * docs/manual/filter-element.png:
2126         * docs/manual/gstreamer-overview.png:
2127         * docs/manual/hello-world.fig:
2128         * docs/manual/hello-world.png:
2129         * docs/manual/linked-elements.fig:
2130         * docs/manual/linked-elements.png:
2131         * docs/manual/mime-world.fig:
2132         * docs/manual/mime-world.png:
2133         * docs/manual/queue.fig:
2134         * docs/manual/queue.png:
2135         * docs/manual/simple-player.png:
2136         * docs/manual/sink-element.fig:
2137         * docs/manual/sink-element.png:
2138         * docs/manual/src-element.fig:
2139         * docs/manual/src-element.png:
2140         * docs/manual/diagrams-general.svg:
2141         * docs/manual/diagrams-pipelines.svg:
2142           Removed .fig, added .png counterpart.
2143           
2144           Fixes: #539137
2145
2146 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2147
2148         * plugins/elements/gstmultiqueue.c:
2149         * plugins/elements/gstmultiqueue.h:
2150         revert extra-size-buffers stuff, caused some race conditions
2151         and extra-size-buffers is not used anymore. Docs needs some updates
2152
2153 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2154
2155         * win32/common/config.h:
2156         * win32/common/gstenumtypes.c:
2157         * win32/common/gstenumtypes.h:
2158         * win32/common/gstversion.h:
2159           Update win32 files.
2160
2161 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2162
2163         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2164           (GST_DEBUG_BIN_TO_DOT_FILE):
2165           Add missing Since' markers to gtk-doc blurbs.
2166
2167 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2168
2169         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2170         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2171         (set_caps_1), (set_caps_ct1), (transform_ct1),
2172         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2173         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2174         (transform_size_ct2), (buffer_alloc_ct2):
2175         Add some more tests with switching caps in buffer_alloc.
2176
2177 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2178
2179         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2180         (gst_test_trans_class_init), (result_sink_chain),
2181         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2182         (gst_test_trans_push), (gst_test_trans_pop):
2183         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2184         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2185         (set_caps_1), (set_caps_ct1), (transform_ct1),
2186         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2187         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2188         (transform_size_ct2), (buffer_alloc_ct2),
2189         (gst_basetransform_suite):
2190         More tests, prepare for tests with switching caps in buffer_alloc.
2191
2192 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2193
2194         * plugins/elements/gstmultiqueue.c:
2195         * plugins/elements/gstmultiqueue.h:
2196         Fix dead-lock in underrun_cb
2197
2198 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2199
2200         * docs/design/part-states.txt:
2201         Fix device open/close docs.
2202
2203 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2204
2205         * ChangeLog:
2206           Mention bugnumber for last commit.
2207
2208 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2209
2210         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2211
2212         * docs/manual/manual.xml:
2213         - Reorganised the previous "introduction" bundle into Foreword,
2214         Introduction, and About GStreamer. The two first are <preface>
2215         docbook elements. The later is the first part of the book.
2216         - added intro-gstreamer.xml (content partially from
2217         intro-preface.xml)
2218         - moved appendix-win32.xml into appendix-integration.xml
2219
2220         * docs/manual/intro-preface.xml: gstreamer section moved...
2221         * docs/manual/intro-gstreamer.xml: ...here. new file.
2222
2223         * docs/manual/appendix-win32.xml: removed file. Content moved...
2224         * docs/manual/appendix-integration.xml: ...here.
2225         
2226         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2227         * docs/manual/appendix-checklist.xml: ...here.
2228         
2229         Fixes: 538764
2230
2231 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2232
2233         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2234
2235         * docs/manual/basics-helloworld.xml:
2236         * docs/manual/hello-world.fig:
2237           - Explicitely include glib.h.
2238           - Do not use global variables.
2239           - Use g_printerr() instead of g_print().
2240           - Minor formating/renaming to increase readibility.
2241           - Renamed new_pad() to on_pad_added()
2242           - Improved explenatory comments.
2243           - renamed ogg parser to ogg demuxer
2244           - Use "autoaudiosink" instead of "alsasink".
2245           Fixes: #538619
2246
2247 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2248
2249         * ChangeLog:
2250           Remove cvs conflict marker.
2251
2252 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2253
2254         * docs/README:
2255           Document that for plgin-docs we extraxt he short-desc from the element
2256           details.
2257
2258         * docs/design/part-states.txt:
2259           Tell that devices should be closed in PAUSED -> READY.
2260
2261         * docs/manual/README:
2262           Document how tests in the manual are handled.
2263
2264         * docs/manuals.mak:
2265           Typo in comment.
2266
2267 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2268
2269         * gst/gstbin.c: (bin_query_latency_fold):
2270         Only care about latency min and max when the sink is actually a live
2271         sink.
2272
2273 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2274
2275         * docs/design/part-block.txt:
2276         Fix typo.
2277
2278         * docs/design/part-element-transform.txt:
2279         Add notes about why transform needs to know input/output sizes.
2280         Add some issues that need to be solved.
2281         Add some more use cases.
2282
2283         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2284         (gst_test_trans_class_init), (result_sink_chain),
2285         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2286         (gst_test_trans_push), (gst_test_trans_pop):
2287         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2288         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2289         (set_caps_1), (set_caps_ct1), (transform_ct1),
2290         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2291         (gst_basetransform_suite):
2292         Add suport for different pad templates and buffer-alloc.
2293         Add more checks for caps and buffer-alloc.
2294         Add checks for proxy buffer alloc.
2295         Add unit test for copy transform.
2296
2297 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2298
2299         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2300
2301         * docs/manual/appendix-integration.xml:
2302         * docs/manual/appendix-licensing.xml:
2303         * docs/manual/basics-elements.xml:
2304         * docs/manual/basics-helloworld.xml:
2305         * docs/manual/basics-pads.xml:
2306         * docs/manual/highlevel-components.xml:
2307         * docs/manual/highlevel-xml.xml:
2308         * docs/manual/intro-basics.xml:
2309         * docs/manual/intro-preface.xml:
2310           Typo and formatting fixes (#538594).
2311
2312 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2313
2314         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2315         Fix some memory leaks and uses of object instances that we don't
2316         actually own.
2317
2318 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2319
2320         * plugins/elements/gstmultiqueue.c:
2321         Add functionality to extra-size-buffers property.
2322
2323 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2324
2325         * plugins/elements/gstmultiqueue.c:
2326         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2327         activate the pads if they are added in STATE_NULL.
2328
2329 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2330
2331         * docs/libs/gstreamer-libs-sections.txt:
2332         Add new API to doc
2333         * libs/gst/check/gstcheck.c:
2334         * libs/gst/check/gstcheck.h:
2335         API: gst_check_teardown_pad_by_name
2336
2337 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2338
2339         * libs/gst/check/gstcheck.c:
2340         * libs/gst/check/gstcheck.h:
2341         Also setup request pads and allow setup pads by name (#537812)
2342         API: gst_check_setup_src_pad_by_name
2343         API: gst_check_setup_sink_pad_by_name
2344
2345 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2346
2347         * tests/check/gst/gstbuffer.c:
2348         * tests/check/pipelines/parse-launch.c:
2349           Use HAVE_VALGRIND_H some more.
2350
2351 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2352
2353         * scripts/cvs-update.sh:
2354           Pass arguments to make.
2355           Run autoregen.sh if Makefile is not there.
2356
2357 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2358
2359         * configure.ac:
2360         * gst/gstinfo.c:
2361           Don't assume that <valgrind/valgrind.h> exists just because
2362           the binary is there.
2363
2364 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2365
2366         * tests/check/Makefile.am:
2367         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2368         (gst_test_trans_class_init), (gst_test_trans_init),
2369         (gst_test_trans_set_data), (result_sink_chain),
2370         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2371         (gst_test_trans_pop):
2372         * tests/check/libs/transform1.c: (GST_START_TEST),
2373         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2374         Add some test basetransform element and the beginnings of various
2375         unit tests for it.
2376
2377 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2378
2379         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2380         Increase code readability.
2381         Don't try to compare buffer offsets when ther are invalid.
2382
2383 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2384
2385         * docs/design/Makefile.am:
2386           Dist some more design docs.
2387
2388         * docs/random/moving-plugins:
2389           Small addition: good plugins mustn't have functional code
2390           within assertion macros.
2391
2392 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2393
2394         * docs/design/draft-framestep.txt:
2395         Some ideas about a framestep API
2396
2397         * docs/design/part-element-transform.txt:
2398         Start design and use cases for basetransform in order to get it
2399         fixed soon.
2400
2401 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2402
2403         * gst/gsttaglist.h:
2404           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2405           be in UTF-8 encoding.
2406
2407 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2408
2409         * gst/gstbus.c:
2410           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2411
2412 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2413
2414         * plugins/elements/gstcapsfilter.c:
2415         * plugins/elements/gstfakesink.c:
2416         * plugins/elements/gstfakesrc.c:
2417         * plugins/elements/gstfdsink.c:
2418         * plugins/elements/gstfdsrc.c:
2419         * plugins/elements/gstfilesink.c:
2420         * plugins/elements/gstfilesrc.c:
2421         * plugins/elements/gstidentity.c:
2422         * plugins/elements/gstmultiqueue.c:
2423         * plugins/elements/gstqueue.c:
2424         * plugins/elements/gsttee.c:
2425         * plugins/elements/gsttypefindelement.c:
2426           Remove short_description. Add basic docs for gsttypefindelement.
2427           Simplify markup for fakesrc/fdsrc.
2428
2429 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2430
2431         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2432         Added Since doc.
2433
2434 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2435
2436         Patch by: Joel Larsson <tilljoel at gmail dot com>
2437
2438         * docs/plugins/gstreamer-plugins.args:
2439         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2440         (gst_fd_src_init), (gst_fd_src_update_fd),
2441         (gst_fd_src_set_property), (gst_fd_src_get_property),
2442         (gst_fd_src_create):
2443         * plugins/elements/gstfdsrc.h:
2444         Add timeout property like udpsrc. Fixes #538628.
2445         Add some more docs and example pipelines.
2446
2447 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2448
2449         * docs/libs/gstreamer-libs-sections.txt:
2450         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2451         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2452         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2453         (gst_base_sink_do_sync):
2454         * libs/gst/base/gstbasesink.h:
2455         * win32/common/libgstbase.def:
2456         Add method to allow sinks to specify additional delay between the sync
2457         times and the actual rendering of the data.
2458         API: gst_base_sink_set_render_delay()
2459         API: gst_base_sink_get_render_delay()
2460
2461 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2462
2463         * configure.ac:
2464         Bump version number back to dev -> 0.10.20.1
2465
2466 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2467
2468         * docs/gst/gstreamer-sections.txt:
2469         * gst/gsttaglist.c: (_gst_tag_initialize):
2470         * gst/gsttaglist.h:
2471         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2472         Fixes bug #538568.
2473
2474 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2475
2476         * libs/gst/controller/gstcontroller.c:
2477           Revert one change, that make ret value possible uninitialized.
2478
2479 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2480
2481         * libs/gst/controller/gstcontroller.c:
2482           Use freeze/thaw notify to sync notify emission a bit (its also more
2483           efficient). Move debug output to LOG (is called a lot in a loop).
2484           Always unset g_values if the have been initialized.
2485
2486 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2487
2488         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2489         (gst_base_sink_wait_eos), (gst_base_sink_event):
2490         If we have not seen a buffer before EOS, use the segment values to
2491         report the current position instead of invalid positions.
2492
2493 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2494
2495         * docs/plugins/tmpl/.cvsignore:
2496         * tests/check/gst/.cvsignore:
2497           Ignore more.
2498
2499 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2500
2501         * libs/gst/controller/gstinterpolation.c:
2502         * libs/gst/controller/gstinterpolationcontrolsource.c:
2503         * tests/check/libs/controller.c:
2504           Rewrite handling of default values. Fix overflow with unsigned types
2505           in linear interpolation. Remove now obsolete _first_value() function.
2506           Add more tests. Fixes #538201.
2507
2508 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2509
2510         * libs/gst/base/gstbasetransform.c:
2511         (gst_base_transform_class_init), (gst_base_transform_init),
2512         (gst_base_transform_transform_caps),
2513         (gst_base_transform_prepare_output_buffer):
2514         Add debug info.
2515         When a buffer is writable, its metadata is also writable so we don't
2516         need to subbuffer (which then makes the buffer not-writable anymore).
2517
2518 === release 0.10.20 ===
2519
2520 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2521
2522         * configure.ac:
2523           releasing 0.10.20, "You Crazy Diamond"
2524
2525 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2526
2527         * configure.ac:
2528         0.10.19.3 pre-release
2529
2530 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2531
2532         * configure.ac:
2533         * gst/gstpreset.c:
2534         Rename DATADIR to GST_DATADIR to avoid build problems
2535         on win32. Patch By: David Schleef <ds@schleef.org>
2536         Fixes: #536857
2537
2538 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2539
2540         * configure.ac:
2541         Explicitely link with -ldl if dladdr() is found there. Before it was
2542         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2543         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2544
2545 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2546
2547         * gst/gsterror.c: (_gst_stream_errors_init):
2548           Fix typo (spotted by Fabricio Godoy, #536723).
2549
2550 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2551
2552         * configure.ac:
2553         0.10.19.2 pre-release
2554
2555 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2556
2557         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2558         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2559         Add some debug.
2560         Make sure we don't generate invalid QoS messages.
2561
2562 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2563
2564         * gst/gstevent.c: (gst_event_new_qos):
2565         Add some assert and docs for invalid input to the qos function.
2566
2567 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2568
2569         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2570         (gst_base_sink_get_position):
2571         The reported position must always be smaller than the last seen
2572         timestamps (or timestamp + duration for reverse).
2573
2574 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2575
2576         Patch by: Rob Bradford <rob at robster dot org dot uk>
2577
2578         * gst/gstregistry.c: (gst_registry_scan_path_level):
2579         Don't recurse into .debug directories as some distros install
2580         the debugging symbols next to the plugins in .debug directories
2581         and dlopen() crashes on them sometimes. Fixes bug #508070.
2582
2583         Add FIXME for 0.11 to not recurse into directories at all because
2584         it's very inconsistent to the behaviour of other PATH environment
2585         variables.
2586
2587 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2588
2589         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2590         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2591         Fix position query range checks in reverse playback.
2592
2593 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2594
2595         * gst/gstelement.c:
2596         * gst/gstelement.h:
2597         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2598         clear of the reference to the resulting pad must be released later
2599         or not, resulting in possible leaks. Fixes bug #533865.
2600
2601 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2602
2603         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2604
2605         * gst/gstelementfactory.c:
2606         Small doc fix. Fixes #535285.
2607
2608 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2609
2610         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2611
2612         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2613         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2614         (gst_base_src_loop), (gst_base_src_set_flushing),
2615         (gst_base_src_change_state):
2616         Make sending an EOS event to the basesrc non-blocking even if the
2617         implementation does blocking waits in the create function. This is done
2618         by unlocking the create function when EOS is sent.
2619         Fixes #535218.
2620
2621 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2622
2623         * tools/gst-inspect.c: (print_element_properties_info):
2624         If possible print the element type of GValueArray properties.
2625
2626 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2627
2628         * gst/gstiterator.c:
2629         Remove an unused field from the private GstListIterator struct.
2630
2631 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2632
2633         * libs/gst/controller/gstcontroller.c:
2634           Add parameter guards.
2635
2636 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2637
2638         * tests/check/gst/gstpipeline.c:
2639           Revert test change and add comment why it should not work.
2640
2641 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2642
2643         * tests/check/gst/gstpipeline.c:
2644           Extending the test a little to verify that we also get the NULL state-
2645           change message.
2646
2647 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2648
2649         * gst/gstpreset.c: (gst_preset_default_get_meta),
2650           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2651           (gst_preset_load_preset), (gst_preset_save_preset),
2652           (gst_preset_rename_preset), (gst_preset_delete_preset),
2653           (gst_preset_set_meta):
2654           Add Since: markers to docs blurbs.
2655
2656         * win32/common/libgstreamer.def:
2657           Add recently-added API.
2658
2659 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2660
2661         Patch by: Stefan Kost  <ensonic@users.sf.net>
2662
2663         * configure.ac:
2664         Add DATADIR for storing presets.
2665
2666         * docs/gst/gstreamer-docs.sgml:
2667         * docs/gst/gstreamer-sections.txt:
2668         * docs/gst/gstreamer.types.in:
2669         Add GstPreset to docs.
2670
2671         * gst/Makefile.am:
2672         * gst/gst.h:
2673         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2674         (preset_open_and_parse_header), (preset_parse_version),
2675         (preset_merge), (preset_get_keyfile),
2676         (gst_preset_default_get_preset_names),
2677         (gst_preset_default_get_property_names),
2678         (gst_preset_default_load_preset),
2679         (gst_preset_default_save_presets_file),
2680         (gst_preset_default_save_preset),
2681         (gst_preset_default_rename_preset),
2682         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2683         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2684         (gst_preset_default_reset), (gst_preset_get_preset_names),
2685         (gst_preset_get_property_names), (gst_preset_load_preset),
2686         (gst_preset_save_preset), (gst_preset_rename_preset),
2687         (gst_preset_delete_preset), (gst_preset_set_meta),
2688         (gst_preset_get_meta), (gst_preset_class_init),
2689         (gst_preset_base_init), (gst_preset_get_type):
2690         * gst/gstpreset.h:
2691         Add GstPreset to core. Fixes #396779
2692
2693         * tests/check/Makefile.am:
2694         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2695         (gst_preset_test_set_property), (gst_preset_test_class_init),
2696         (gst_preset_test_base_init), (gst_preset_test_get_type),
2697         (gst_preset_test_plugin_init), (GST_START_TEST),
2698         (remove_preset_file), (test_setup), (test_teardown),
2699         (gst_preset_suite):
2700         Add GstPreset unit tests.
2701
2702 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2703
2704         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2705         The default event function on a sinkpad should return TRUE when
2706         there are no internal links but should collect the return values from
2707         the internal links otherwise.
2708
2709 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2710
2711         * plugins/elements/gsttypefindelement.c:
2712         (gst_type_find_element_src_event),
2713         (gst_type_find_element_handle_event):
2714         Use faster and safer _pad_push_event().
2715
2716 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2717
2718         * docs/gst/gstreamer-sections.txt:
2719         * gst/gstutils.c: (element_find_unlinked_pad),
2720           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2721         * gst/gstutils.h:
2722           API: add gst_bin_find_unlinked_pad()
2723           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2724
2725 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2726
2727         * gst/gstclock.c:
2728         * gst/gstclock.h:
2729         * gst/gsttask.c:
2730         * gst/gsttask.h:
2731         Fixed a bunch of typos.
2732
2733 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2734
2735         * gst/gstpad.h:
2736         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2737           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2738           (gst_parse_bin_from_description_full):
2739         * gst/gstutils.h:
2740           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2741
2742 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2743
2744         * docs/pwg/advanced-tagging.xml:
2745           Small docs update, can't be bothered to rewrite the nonsensical
2746           examples right now.
2747
2748 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2749
2750         * gst/gstevent.h:
2751           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2752
2753 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2754
2755         * gst/parse/grammar.y:
2756           Remove unneeded casts.
2757
2758 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2759
2760         * gst/parse/grammar.y:
2761         * tests/check/pipelines/parse-launch.c:
2762           Get all missing elements from a parse launch string if possible
2763           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2764
2765 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2766
2767         * tests/check/Makefile.am:
2768         * tests/check/pipelines/parse-launch.c:
2769           Add some unit tests for the new gst_parse_launch*_full() API.
2770           (Exposes a previously-existing memory leak in the error code
2771           path, so adding to VALGRIND_TO_FIX for now).
2772
2773 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2774
2775         * docs/gst/gstreamer-sections.txt:
2776         * gst/gst.c: (init_post):
2777         * gst/gst_private.h: (_GstParseContext):
2778         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2779           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2780           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2781           (gst_parse_launch_full):
2782         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2783           (GstParseFlags), (GstParseContext):
2784         * gst/gstutils.c: (gst_parse_bin_from_description),
2785           (gst_parse_bin_from_description_full):
2786         * gst/gstutils.h:
2787         * gst/parse/grammar.y:
2788         * gst/parse/types.h:
2789         * win32/common/libgstreamer.def:
2790           Add new gst_parse_*_full API (#528178):
2791           API: gst_parse_launch_full()
2792           API: gst_parse_launchv_full()
2793           API: gst_parse_bin_from_description_full()
2794           API: gst_parse_context_new()
2795           API: gst_parse_context_free()
2796           API: gst_parse_context_get_missing_elements()
2797
2798 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2799
2800         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2801
2802         * docs/faq/gst-uninstalled:
2803           Also support ffmpeg in gst-uninstalled.
2804
2805 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2806
2807         * configure.ac:
2808         After discussion on IRC use the binary registry as default
2809         but allow to disable it with --disable-binary-registry.
2810
2811         * win32/common/libgstreamer.def:
2812         Add the two new symbols for the binary registry.
2813
2814 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2815
2816         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2817         * gst/gstutils.c: (gst_parse_bin_from_description):
2818         * gst/parse/grammar.y: (graph):
2819           More guards against bad input; typo fix; some minor clean-ups.
2820
2821 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2822
2823         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2824
2825         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2826         If nothing else can be used, use the last buffer's start time as
2827         the segment's last stop. Fixes bug #534258.
2828
2829 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2830
2831         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2832           Move size sanity check to the right place: downstream may return
2833           a buffer with a smaller size if the buffer caps are different than
2834           the requested ones, as may happen when doing reverse negotiation.
2835
2836 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2837
2838         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2839         (gst_file_sink_render):
2840         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2841         (gst_file_src_start):
2842         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2843         use it yet.
2844
2845 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2846
2847         * gst/gstpad.c: (gst_pad_load_and_link):
2848         * gst/gstutils.c: (gst_element_link_pads),
2849         (gst_element_unlink_pads):
2850         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2851         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2852         (gst_check_teardown_sink_pad),
2853         (gst_check_element_push_buffer_list):
2854         * tests/check/elements/fakesink.c: (GST_START_TEST):
2855         * tests/check/elements/filesink.c:
2856         * tests/check/elements/filesrc.c: (GST_START_TEST):
2857         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2858         (mq_sinkpad_to_srcpad):
2859         * tests/check/elements/tee.c: (GST_START_TEST):
2860         * tests/check/generic/sinks.c: (GST_START_TEST):
2861         * tests/check/gst/gstbin.c: (GST_START_TEST):
2862         * tests/check/gst/gstevent.c: (GST_START_TEST):
2863         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2864         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2865         * tests/check/gst/gstquery.c: (GST_START_TEST):
2866         * tests/check/gst/gstutils.c: (GST_START_TEST):
2867         * tests/check/libs/basesrc.c: (GST_START_TEST):
2868         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2869         (gst_parse_test_element_change_state):
2870         Don't use gst_element_get_pad().
2871
2872 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2873
2874         * docs/Makefile.am:
2875         Fix installing plugin documentation when gtk-doc is disabled.
2876
2877 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2878
2879         * docs/manual/advanced-autoplugging.xml:
2880         * docs/manual/basics-helloworld.xml:
2881         * docs/manual/basics-pads.xml:
2882         * docs/manual/highlevel-components.xml:
2883         Avoid using a bad function in the example code.
2884
2885 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2886
2887         * gst/gstclock.c: (gst_clock_set_calibration):
2888         Fix debug of the new clock rate.
2889
2890 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2891
2892         * win32/common/libgstbase.def:
2893         Add gst_base_sink_wait_clock() to the exported symbols.
2894
2895 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2896
2897         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2898
2899         * libs/gst/base/gstbasetransform.c:
2900         (gst_base_transform_sink_event):
2901         Unref events that the GstBaseTransform::event vfunc didn't want to
2902         have forwarded by the base class. Closes a leak in identity.
2903         Fixes bug #446763.
2904
2905 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2906
2907         * docs/libs/gstreamer-libs-sections.txt:
2908         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2909         * libs/gst/base/gstbasesink.h:
2910         Expose a method that was previously used internally to synchronize
2911         against the clock because it can be useful for subclasses too.
2912         API: GstBaseSink::gst_base_sink_wait_clock()
2913
2914 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2915
2916         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2917           Add sanity check to make sure we don't get smaller buffers
2918           than requested (and fallback to normal buffer alloc if we do).
2919
2920 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2921
2922         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2923         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2924         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2925         Refactor adjusting the running_time with latency and offset into a
2926         separate method.
2927         When doing clipping, we still want to use the subclass get_times method,
2928         just in case the DURATION or TIMESTAMP are not set.
2929
2930 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2931
2932         * docs/gst/gstreamer-sections.txt:
2933         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2934         * gst/gsttypefind.h:
2935         * win32/common/libgstreamer.def:
2936           API: add gst_type_find_suggest_simple(), #533740.
2937
2938 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2939
2940         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2941           Use right error code when typefinding fails, so we can use
2942           the default (translated) error messages.
2943
2944 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2945
2946         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2947         (gst_base_src_start):
2948         When the subclass did not set caps on outgoing buffers, configure the
2949         caps we negotiated on the source pad.
2950         When the typefind helper does not find caps, error out properly instead
2951         of doing things with NULL caps.
2952
2953 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2954
2955         * gst/gsttypefind.h:
2956           Tabs to spaces, oh yes!
2957
2958 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2959
2960         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2961           Add David's and Benjamin's tests for array intersection to the
2962           unit test suite (#147931).
2963
2964 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2965
2966         * gst/gstevent.c:
2967           Document that gst_event_new_tag() and gst_event_new_navigation()
2968           take ownership of the taglist/structure passed to them. (#533635).
2969
2970 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2971
2972         * docs/Makefile.am:
2973         Don't descend into the plugins dir if plugin docs building
2974         is disabled.
2975
2976         * docs/README:
2977         Add a note about the new type:GTypeName syntax for the plugin
2978         documentation .types file.
2979
2980 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2981
2982         * gst/gstmessage.c: (gst_message_new_error),
2983         (gst_message_new_warning), (gst_message_new_info):
2984         * gst/gstmessage.h:
2985         Mark the debug string parameters as const. Fixes bug #533490.
2986
2987 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2988
2989         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2990         Sort buffer cache list by end offsets. This makes sure that we don't
2991         stop to search for a cached buffer that contains the requested data
2992         too early.
2993         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2994         more efficient. Fixes bug #459862.
2995
2996 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2997
2998         * gst/gstinfo.c:
2999           Explain why we copy the list.
3000
3001         * gst/gstpipeline.c:
3002           Improve docs.
3003
3004         * gst/gstutils.c:
3005           Add one debug-log statement to help tracing probelms with linking pads.
3006
3007 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
3008
3009         * tests/check/gst/gstinfo.c:
3010         Add a test for removing the default log handler. Seems to fail under
3011         windows.
3012
3013 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3014
3015         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3016         Release pad lock before calling out to avoid a possible deadlock.
3017
3018 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3019
3020         * gst/parse/grammar.y:
3021         Remove unneeded value unset.
3022
3023         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3024         Add unit test for de/serialization of caps.
3025
3026 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3027
3028         * plugins/elements/gstfakesink.c:
3029         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3030         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3031         (gst_fake_src_class_init):
3032         Use custom marshalers that take GstMiniObject as first parameter.
3033         Using OBJECT as parameter while a GstMiniObject is given will lead
3034         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3035
3036 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3037
3038         * plugins/elements/gsttypefindelement.c:
3039         (gst_type_find_element_handle_event),
3040         (gst_type_find_element_send_cached_events),
3041         (gst_type_find_element_change_state):
3042         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3043         immediately.
3044
3045 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3046
3047         * plugins/elements/gsttypefindelement.c:
3048         (gst_type_find_handle_src_query), (stop_typefinding),
3049         (gst_type_find_element_handle_event),
3050         (gst_type_find_element_send_cached_events),
3051         (gst_type_find_element_change_state):
3052         Forward FLUSH_START events immediately and clean up instead of
3053         caching them.
3054
3055 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3056
3057         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3058
3059         * libs/gst/base/gstbasetransform.c:
3060         (gst_base_transform_buffer_alloc):
3061         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3062         fall back to default negotiation in the chain function if the caps
3063         are different from what was requested. Fixes bug #526768.
3064
3065 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3066
3067         * gst/gstsegment.c:
3068         * tests/check/gst/gstsegment.c:
3069           No, let's not use g_slice_{dup|copy} here, since they only exist
3070           since GLib 2.14 and we still depend only on >= 2.12. Also add
3071           unit test for gst_segment_copy().
3072
3073 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3074
3075         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3076           Try to fix 'dereferencing type-punned pointer will break strict
3077           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3078           changed the default GType typedef from gulong to gsize at some point,
3079           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3080           g_once_* functions all take a gsize * though, so work around the type
3081           mismatch for C++ by doing everything in gsize and casting to GType
3082           later.
3083
3084 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3085
3086         * plugins/elements/gstmultiqueue.c:
3087         Add documentation for the signals to push our core plugin docs
3088         coverage back up to 100%.
3089
3090 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3091
3092         * gst/gstinfo.h (GST_FUNCTION):
3093           Reverted GST_FUNCTION to the old version as we don't want the
3094           full signature in C++ code. Also added support for MSVC.
3095
3096 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3097
3098         * gst/gstutils.h:
3099         Intern the type name string, similar to what G_DEFINE_TYPE does.
3100
3101 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3102
3103         * gst/gstutils.h:
3104         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3105
3106 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3107
3108         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3109
3110         * libs/gst/base/gstbasetransform.c:
3111         (gst_base_transform_buffer_alloc):
3112         Don't passthrough buffer allocation too easily if the caps change.
3113         This breaks when working in passthrough mode and upstream changes
3114         it's caps. Fixes bug #526768.
3115
3116 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3117
3118         * gst/gstinfo.c (gst_debug_log_valist):
3119           Improved the __FILE__ part of debug output for MSVC.
3120
3121 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3122
3123         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3124           Declaration after statement fix for compilers like MSVC.
3125
3126 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3127
3128         * win32/common/config.h.in:
3129           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3130           use the real thing than having "???" unconditionally.
3131
3132 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3133
3134         * gst/gstinfo.h (GST_FUNCTION):
3135           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3136
3137 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3138
3139         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3140         Small code cleanup.
3141
3142         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3143         (gst_base_sink_set_flushing):
3144         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3145         Fix some comments.
3146
3147 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3148
3149         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3150         (gst_fake_src_init), (gst_fake_src_set_property),
3151         (gst_fake_src_get_property), (gst_fake_src_start):
3152         * plugins/elements/gstfakesrc.h:
3153         Added format property to control the format of the newsegment events.
3154         API: GstFakeSrc:format
3155
3156 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3157
3158         * win32/common/libgstreamer.def:
3159         Add gst_pad_has_name() to the exported symbols.
3160
3161 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3162
3163         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3164         * libs/gst/base/gstbasetransform.c:
3165         (gst_base_transform_prepare_output_buffer):
3166         Don't allow negative sizes when allocating new buffers.
3167         Fixes bug #461253.
3168
3169 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3170
3171         Patch by: Sjoerd Simons <sjoerd at luon net>
3172
3173         * gst/gstbus.c: (gst_bus_source_dispatch):
3174           Don't print a warning if the queue is empty when we try to pop
3175           here. That could happen if another thread or callback set the
3176           bus to flushing between the source's check/prepare and the
3177           dispatch being called (#531538).
3178
3179 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3180
3181         * plugins/elements/gstmultiqueue.c:
3182           Small docs fix.
3183         
3184 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3185
3186         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3187         Add unit test for deserializing uint64s and check some really large
3188         numbers in the int64 test.
3189
3190 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3191
3192         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3193         (print_interfaces), (print_element_properties_info),
3194         (print_signal_info):
3195         Use "%s" as format string instead of printing strings directly.
3196
3197 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3198
3199         * gst/gstclock.c: (gst_clock_set_calibration):
3200         Make some checks actually useful.
3201
3202         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3203         Remove some unused code. Unsigned integers tend to be >= 0.
3204
3205 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3206
3207         * gst/gstminiobject.c: (gst_value_get_mini_object):
3208           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3209           function was not in the unscheduled 0.10.19 release.
3210
3211 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3212
3213         * gst/gstregistry.c: (gst_registry_scan_path_level):
3214           Only print one log message per non-plugin file.
3215
3216 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3217
3218         * gst/gstinfo.c: (gst_debug_log_default):
3219           Fix alignment of debug log columns on 64-bit.
3220
3221 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3222
3223         * docs/libs/Makefile.am:
3224         * docs/libs/gstreamer-libs-sections.txt:
3225           Ignore private controller headers for docs.
3226
3227 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3228
3229         * libs/gst/controller/gstcontrollerprivate.h:
3230         * libs/gst/controller/gsthelper.c:
3231         * libs/gst/controller/gstinterpolation.c:
3232         * libs/gst/controller/gstinterpolationcontrolsource.c:
3233         (gst_interpolation_control_source_set_interpolation_mode):
3234         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3235         * libs/gst/controller/lib.c:
3236         Move some private declarations into private headers.
3237
3238 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3239
3240         * gst/gstdebugutils.c: (debug_dump_element_pad):
3241         Remove some code that is unused after Stefan's refactoring and uses
3242         uninitialized variables now, resulting in a compiler warning.
3243
3244 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3245
3246         * gst/gstregistry.c: (gst_registry_scan_path_level):
3247           Run g_str_has_suffix() only on the file name, not the
3248           entire file path.
3249
3250 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3251
3252         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3253           Since we're not called only from the chain function any longer,
3254           we can't assume that there's always data in the queue, so move
3255           the is_full check to the beginning of the loop (otherwise we'd
3256           hit the assert when changing the limit properties while the
3257           queue is empty or not running yet).
3258           Also, only set a discont if items were actually removed from
3259           the queue.
3260
3261         * tests/check/elements/queue.c: (test_leaky_downstream):
3262           Test case for the above.
3263
3264 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3265
3266         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3267
3268         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3269         (gst_queue_chain), (queue_capacity_change),
3270         (gst_queue_set_property):
3271         When changing thr max capacity of a leaky queue, immediatly drop buffers
3272         instead of waiting for a push on the sinkpad. Fixes #530637.
3273
3274 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3275
3276         * gst/gstdebugutils.c:
3277           Refactor code and fix handling of ghostpads and their proxypads.
3278
3279 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3280
3281         * docs/gst/gstreamer-sections.txt:
3282         * gst/gstevent.c: (gst_event_has_name):
3283         * gst/gstevent.h:
3284         * tests/check/gst/gstevent.c: (GST_START_TEST):
3285         Add method to conveniently check the name of a custom event with
3286         gst_event_has_name().
3287         Reformat the event docs so that related methods are put together instead
3288         of the default alphabetical sort.
3289         Update unit test with new method.
3290         API: GstEvent::gst_event_has_name()
3291
3292 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3293
3294         * libs/gst/check/Makefile.am:
3295           Don't add an explicit link to libgstreamer-0.10.la; it's already
3296           included in GST_OBJ_LIBS.
3297
3298 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3299
3300         * gst/gst.c:
3301         Register GstClock type from a type-safe context. Fixes bug #530317.
3302
3303 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3304
3305         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3306         * tools/gst-run.c:
3307           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3308
3309 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3310
3311         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3312         (gst_bin_dispose):
3313         Use the GLib stuff to create a private structure.
3314         Add some locking around some dispose methods to make them a little
3315         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3316
3317 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3318
3319         * libs/gst/base/gstbasesink.h:
3320         * libs/gst/base/gstbasesrc.h:
3321         * libs/gst/base/gstbasetransform.h:
3322         * libs/gst/base/gstcollectpads.h:
3323           Fix doc typos and unify caps a bit.
3324
3325 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3326
3327         * tools/gst-launch.1.in:
3328           Forgot to also add the envvar docs here.
3329
3330 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3331
3332         * gst/gst.c: (init_post), (gst_deinit):
3333         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3334           (test_concurrent_create), (gst_pipeline_suite):
3335           Ref some more classes in gst_init() to work around thread-safety
3336           issues in pre-2.16 GLibs, and add basic unit test.
3337
3338 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3339
3340         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3341         (gst_base_sink_send_event):
3342         Rearrange the latency query code. We always want to do the upstream
3343         query, even if we are not live so that the upstream elements can get the
3344         latency results too. If we fail doing the query and we are live, we
3345         return TRUE afterwards.
3346
3347 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3348
3349         patch by: Jason Zhao <e3423c@motorola.com>
3350
3351         * docs/gst/running.xml:
3352         * gst/gst.c:
3353           Enable/disable scan_and_update_registry() based on commandline switch
3354           or environment variable. Fixes #520468.
3355           
3356         * ChangeLog:
3357           Fix typo in my previous commit.
3358
3359 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3360
3361         * gst/gstregistrybinary.c:
3362           Add a warning if we hit unhandled factories when saving.
3363           More debug logging detail, but move to LOG category.
3364
3365 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3366
3367         * gst/gstregistry.c:
3368           Tell the *truth* when improving the documentation.
3369
3370 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3371
3372         * gst/gstelementfactory.c: (gst_element_factory_make):
3373         Unref the factory after it was used the last time, not before.
3374
3375         * gst/gstindexfactory.c: (gst_index_factory_make):
3376         Improve debugging a bit and don't leak a ref to the index factory with
3377         each call.
3378
3379 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3380
3381         * gst/gstregistry.c:
3382           Improve the documentation.
3383
3384 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3385
3386         * gst/gstsegment.c:
3387           The glib macro seems to be borked. Use g_slice_copy directly and cast
3388           in the hope that this fixes the warning on 64bit.
3389
3390 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3391
3392         * gst/gstsegment.c:
3393           Document the new function. Use g_slice_dup() (no need for
3394           gst_segment_init()).    
3395
3396 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3397
3398         * docs/gst/gstreamer-sections.txt:
3399           Move GParamSepc macros to standart section.
3400   
3401         * gst/gstbin.c:
3402           Dn't document _get_type - its in private section in docs anyway and
3403           this doc-blob was incomplete.
3404
3405         * gst/gstclock.h:
3406           Fix wrong symbol names in docs.
3407
3408         * gst/gstmacros.h:
3409           Add once doc sentence.
3410
3411         * tests/check/gst/.cvsignore:
3412           Ignore more.
3413
3414 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3415
3416         * docs/gst/Makefile.am:
3417           And remove those libs here.
3418
3419 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3420
3421         * docs/libs/Makefile.am:
3422           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3423
3424 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3425
3426         Patch by: Olivier Crete <tester at tester dot ca>
3427
3428         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3429         Add the min-threshold to the min latency if possible. Fixes #529148.
3430
3431 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3432
3433         * docs/gst/gstreamer.types.in:
3434           Stupid editor, I removed that line as it should go in yet.
3435
3436 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3437
3438         * docs/gst/gstreamer.types.in:
3439         * docs/libs/gstreamer-libs.types:
3440           Remove library types fro core docs and have them in libs docs.
3441           Reformat and cleanup. Add comment for miniobject types.
3442
3443 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3444
3445         * gst/gsturi.c: (gst_uri_get_protocol):
3446           Fix leak: g_strdown operates on the string in place, while
3447           g_ascii_strdown() returns a newly-allocated string.
3448
3449 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3450
3451         * tools/gst-inspect.c: (print_uri_handler_info),
3452         (print_element_info):
3453         Print the URI protocols and the URI type supported by the element.
3454
3455 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3456
3457         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3458         Use g_value_take_string() instead of the deprecated
3459         g_value_set_string_take_ownership().
3460
3461 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3462
3463         * gst/gstregistrybinary.c: (_gst_crc32):
3464         Return the old CRC instead of 0 if we give a NULL buffer
3465         or a buffer with a length of 0.
3466
3467 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3468
3469         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3470         (gst_uri_get_protocol), (gst_uri_has_protocol),
3471         (gst_uri_construct), (gst_uri_handler_set_uri):
3472         A valid URI scheme can also include '+', '-' and '.' additional
3473         to alphanumeric characters as per RFC 3986 Section 3.1.
3474
3475         Handle URI schemes case insensitive in all places and convert
3476         to lower-case when constructing an URI or setting an URI with
3477         the GstURIHandler interface. Fixes bug #528868.
3478         All elements can still assume (as before) that they will
3479         get passed URIs with a lower-case URI scheme by the GstURIHandler
3480         interface.
3481
3482 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3483
3484         * gst/gstcaps.c: (gst_static_caps_get):
3485         * gst/gstclock.c: (gst_clock_entry_new):
3486           Don't use g_atomic_set_int where it's not needed.
3487
3488 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3489
3490         * gst/gstvalue.c: (gst_value_deserialize_caps):
3491         * gst/parse/grammar.y:
3492         Fix 2 caps leaks.
3493
3494 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3495
3496         * gst/gstutils.c: (gst_atomic_int_set):
3497         Use g_atomic_int_set() here too instead of assignment +
3498         g_atomic_int_get().
3499
3500 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3501         
3502         * gst/gstutils.c:
3503         * gst/gstutils.h:
3504         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3505         now that we depend on new enough GLib.
3506
3507         * gst/gstcaps.c: (gst_static_caps_get):
3508         * gst/gstclock.c: (gst_clock_entry_new):
3509         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3510         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3511         (gst_debug_category_set_threshold):
3512         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3513         (gst_base_sink_set_qos_enabled):
3514         * libs/gst/net/gstnettimeprovider.c:
3515         (gst_net_time_provider_set_property):
3516         Use g_atomic_int_set() instead of gst_atomic_int_set().
3517
3518 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3519
3520         * gst/gstquery.c:
3521           Also use G_GINT64_CONSTANT for the queries.
3522
3523 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3524
3525         * gst/gstmessage.c:
3526           Use G_GINT64_CONSTANT in varargs function.
3527
3528 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3529
3530         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3531         Initialize the registry magic with zeroes.
3532
3533 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3534
3535         * gst/gstregistrybinary.c: (_gst_crc32),
3536         (gst_registry_binary_write),
3537         (gst_registry_binary_initialize_magic),
3538         (gst_registry_binary_write_cache),
3539         (gst_registry_binary_check_magic),
3540         (gst_registry_binary_read_cache):
3541         * gst/gstregistrybinary.h:
3542         Add crc32 checksum to the binary registry file and check this before
3543         accepting a registry file.
3544
3545         Also free the data list when writing to the registry file fails.
3546
3547 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3548
3549         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3550         (gst_registry_binary_load_feature),
3551         (gst_registry_binary_load_plugin):
3552         If an element supports the Uri interface, returns a valid pointer
3553         to the supported URI protocols but this pointer contains nothing
3554         don't try to save that as it will corrupt the registry.
3555
3556         Don't unref the plugin if we added it to the registry already but
3557         fail to load a feature as gst_registry_add_plugin() takes ownership
3558         of the plugin.
3559
3560         Improve debugging a bit.
3561
3562 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3563
3564         * gst/gsttaglist.h:
3565           Clarify some tag item docs after discussion on irc.
3566
3567 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3568
3569         * docs/gst/gstreamer-docs.sgml:
3570           Remove commented out plugins (they have their own docs). Update
3571           comments.
3572
3573 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3574
3575         * docs/gst/gstreamer-docs.sgml:
3576         * docs/gst/gstreamer-sections.txt:
3577         * gst/gstparamspecs.c:
3578         * gst/gstparamspecs.h:
3579           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3580           docs to own section.
3581
3582         * gst/gstvalue.c:
3583           This now only documents GValue.
3584           
3585         * docs/libs/gstreamer-libs-sections.txt:
3586         * libs/gst/controller/gstcontroller.h:
3587           Remove GST_PARAM_CONTROLLABLE.
3588
3589 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3590
3591         * docs/README:
3592           Correct file path. Tell about how to use -overrides.txt.
3593         * docs/design/draft-tagreading.txt:
3594           Small design update.
3595
3596 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3597
3598         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3599         (gst_registry_binary_load_plugin):
3600         Fix a typo in a debug message and revert change from yesterday as
3601         gst_registry_add_plugin() will only fail if something is really wrong
3602         already and we can't survive it anyway.
3603
3604 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3605
3606         * gst/gst.c: (init_post), (gst_deinit):
3607           Pre-register GstGError GType from a thread-safe context
3608           (fixes #527967); unref enum type classes in deinit.
3609
3610 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3611
3612         Patch by: Rene Stadler <mail at renestadler de>
3613
3614         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3615           Merging an empty list with another list in KEEP_ALL mode should
3616           yield an empty list as result and not the second list (#512578).
3617
3618         * tests/check/gst/gsttagsetter.c:
3619           Add unit test for tag merge modes and the aforementioned bug.
3620
3621 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3622
3623         Patch by: Rene Stadler <mail at renestadler de>
3624
3625         * gst/gsttaglist.h:
3626           Fix description to match the order in the table (#512577).
3627   
3628 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3629
3630         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3631
3632         * libs/gst/net/gstnettimepacket.h:
3633         * docs/libs/gstreamer-libs-sections.txt:
3634           Define socklen_t as int if it's not defined yet. Fixes compilation
3635           with MSVC6 and other versions where socklen_t is not defined in
3636           the windows headers (#518022).
3637
3638 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3639
3640         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3641         If gst_registry_add_plugin() fails our reference to the plugin is
3642         invalid so don't try to use it anymore and instead error out.
3643
3644 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3645
3646         * tools/gst-xmlinspect.c: (print_element_info), (main):
3647           De-cruft a bit. If no argument is specified, print all elements in
3648           XML syntax rather than a freestyle list of elements like gst-inspect.
3649           Also, don't print XML header chunk unless we actually have something
3650           to print (ie. don't print it before an error message); print error
3651           message to stderr not stdout. Remove support for printing plugin
3652           info (it would just output something freestyle along the lines of
3653           gst-inspect so far), which fixes #514507. Also add license header.
3654
3655 2008-04-11  Julien Moutte  <julien@fluendo.com>
3656
3657         Mac OS X love...
3658         * configure.ac: Merge platform specific defines, introduce a new
3659         define on OS X to remember that forking when updating registry is
3660         unsafe.
3661         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3662         module.
3663         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3664         is defined.
3665         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3666         condition that leads to absolutely no plugins being registered on
3667         OS X.
3668
3669 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3670
3671         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3672
3673         * gst/gstutils.c: (gst_pad_add_data_probe),
3674           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3675           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3676           (gst_pad_add_buffer_probe_full):
3677         * gst/gstutils.h:
3678         * docs/gst/gstreamer-sections.txt:
3679         * win32/common/libgstreamer.def:
3680           Add gst_pad_add_*_probe_full() functions with a notify callback that
3681           lets the caller free the data it passes to the probe functions. This
3682           is useful for bindings such as gst-python or gstreamermm (#526814).
3683           API: gst_pad_add_data_probe_full
3684           API: gst_pad_add_buffer_probe_full
3685           API: gst_pad_add_event_probe_full
3686
3687         * tests/check/gst/gstutils.c:
3688           Add minimal unit test to make sure freeing the data actually works
3689           as expected.
3690
3691         * tests/benchmarks/.cvsignore:
3692           Random cvsignore addendum.
3693
3694 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3695
3696         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3697           (GST_DEBUG_BIN_TO_DOT_FILE):
3698           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3699           to it in the docs (since these are macros the types of the arguments
3700           won't be shown in the docs otherwise).
3701
3702 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3703
3704         * gst/gstpad.c:
3705           Do not abort on out of memory for pad_alloc_buffer.
3706
3707 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3708
3709         * libs/gst/check/gstcheck.c:
3710           Remove blank line between symbol name ad parameters to fix gtkdoc
3711           warning.
3712
3713 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3714
3715         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3716
3717         * docs/gst/gstreamer-sections.txt:
3718         * gst/gstsegment.c:
3719         * gst/gstsegment.h:
3720         * win32/common/libgstreamer.def:
3721           Expose gst_segment_copy() to make things easier for the c++ bindings.
3722           Fixes #518932.
3723           API: gst_segment_copy()
3724
3725 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3726
3727         * gst/gst.c: (gst_init_get_option_group), (init_post):
3728           Fix const position; ref GType classes for enum types to work
3729           around thread-safety issues in GLib versions < 2.16.
3730
3731 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3732
3733         * docs/design/part-buffering.txt:
3734         Fix some typos and set the estimated total for push mode to -1.
3735
3736         * gst/gstquery.c: (gst_query_new_buffering):
3737         Set buffering-left to 0 as we're not buffering by default.
3738
3739         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3740         Implement BUFFERING query.
3741
3742 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3743
3744         Based on patch by: Milosz Derezynski <internalerror gmail com>
3745
3746         * gst/gsterror.c: (_gst_stream_errors_init):
3747         * gst/gsterror.h:
3748           Add two new error codes for encrypted content. Fixes #524659.
3749           API: GST_STREAM_ERROR_DECRYPT
3750           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3751
3752 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3753
3754         * gst/gstquery.h:
3755           Fix typo.
3756
3757         * win32/common/libgstreamer.def:
3758           Add new functions.
3759
3760 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3761
3762         * plugins/elements/gstidentity.c: (gst_identity_event),
3763         (gst_identity_start):
3764         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3765         event after processing some data. Fixes bug #526042.
3766
3767 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3768
3769         * docs/gst/gstreamer-sections.txt:
3770         * gst/gstquery.c: (gst_query_parse_latency),
3771         (gst_query_set_buffering_percent),
3772         (gst_query_parse_buffering_percent),
3773         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3774         * gst/gstquery.h:
3775         Rename _avail -> _range
3776         API: gst_query_set_buffering_range
3777         API: gst_query_parse_buffering_range
3778
3779 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3780
3781         * docs/design/part-buffering.txt:
3782         * gst/gstquark.c:
3783         * gst/gstquark.h:
3784         * gst/gstquery.c: (gst_query_parse_latency),
3785         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3786         (gst_query_parse_buffering_percent):
3787         * gst/gstquery.h:
3788         Add busy field and quark for the buffering query so that the app can
3789         only use the query to see if buffering is in progress.
3790
3791 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3792
3793         * docs/gst/gstreamer-sections.txt:
3794         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3795         (gst_message_parse_buffering_stats):
3796         * gst/gstmessage.h:
3797         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3798         (gst_query_parse_latency), (gst_query_new_buffering),
3799         (gst_query_set_buffering_percent),
3800         (gst_query_parse_buffering_percent),
3801         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3802         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3803         * gst/gstquery.h:
3804         Reorder the message docs and headers for clarity.
3805         Add aditional buffering stats API for messages.
3806         Add buffering query.
3807         Convert some leftover queries to use GstQuark.
3808         API: gst_message_set_buffering_stats
3809         API: gst_message_parse_buffering_stats
3810         API: GST_QUERY_BUFFERING
3811         API: GstBufferingMode
3812         API: gst_query_new_buffering
3813         API: gst_query_set_buffering_percent
3814         API: gst_query_parse_buffering_percent
3815         API: gst_query_set_buffering_stats
3816         API: gst_query_parse_buffering_stats
3817
3818 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3819
3820         * gst/gstmessage.c: (gst_message_new_error),
3821         (gst_message_new_warning), (gst_message_new_info),
3822         (gst_message_new_buffering), (gst_message_new_state_changed),
3823         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3824         (gst_message_new_new_clock), (gst_message_new_segment_start),
3825         (gst_message_new_segment_done), (gst_message_new_duration),
3826         (gst_message_new_async_start), (gst_message_parse_buffering),
3827         (gst_message_parse_state_changed),
3828         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3829         (gst_message_parse_new_clock), (gst_message_parse_error),
3830         (gst_message_parse_warning), (gst_message_parse_info),
3831         (gst_message_parse_segment_start),
3832         (gst_message_parse_segment_done), (gst_message_parse_duration),
3833         (gst_message_parse_async_start):
3834         Use GstQuark for messages.
3835
3836 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3837
3838         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3839         * gst/gstquark.h:
3840         Add some more quarks needed for messages and queries.
3841
3842 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3843
3844         * docs/design/part-buffering.txt:
3845         Remove the "none" buffering mode, STREAM is a good default.
3846         Move estimated-time to the avail query, that's when it will be needed.
3847         Other small typo fixes and updates.
3848
3849 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3850
3851         * gst/gstindex.c: (gst_index_resolver_get_type):
3852           Don't put descriptions into the nick field of a GEnumValue: it's not
3853           meant for that and some language bindings rely on the nick field to
3854           construct constants and the like. Fixes #526705.
3855
3856 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3857
3858         * NEWS:
3859         * RELEASE:
3860         * gstreamer.doap:
3861           Merge other changes from 0.10.19 release branch.
3862
3863 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3864
3865         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3866
3867         * configure.ac:
3868         Actually build dlls when cross-compiling with mingw32.
3869         Fixes bug #526247.
3870
3871 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3872
3873         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3874
3875         * gst/gstpoll.c:
3876         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3877
3878 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3879
3880         * docs/design/draft-latency.txt:
3881         Fix typo.
3882
3883         * docs/design/part-buffering.txt:
3884         Update design docs with more buffering ideas.
3885
3886 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3887
3888         * configure.ac:
3889           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3890
3891 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3892
3893         * configure.ac:
3894           Revert part that belongs to the preset patch.
3895
3896 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3897
3898         * configure.ac:
3899           Add qoutes to the define. Fixes # 525961.
3900
3901 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3902
3903         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3904         (gst_file_index_load), (gst_file_index_add_id),
3905         (gst_file_index_get_assoc_entry):
3906         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3907         (gst_mem_index_free_id), (gst_mem_index_add_id),
3908         (gst_mem_index_index_format):
3909         Use GSlice when possible.
3910
3911 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3912
3913         * libs/gst/controller/gstinterpolationcontrolsource.c:
3914         (gst_control_point_free),
3915         (gst_interpolation_control_source_set_internal):
3916         Use GSlice for allocating the control points.
3917
3918 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3919
3920         * plugins/elements/gsttypefindelement.c:
3921         (gst_type_find_element_class_init),
3922         (gst_type_find_element_set_property),
3923         (gst_type_find_element_get_property),
3924         (gst_type_find_element_activate):
3925         * plugins/elements/gsttypefindelement.h:
3926         Cleanup properties.
3927         Fix pad leak when peer query fails.
3928         We can still typefind when the peer returns -1.
3929         Add property to force caps and bypass typefinding. This will be used in
3930         uridecodebin.
3931         API::force-caps
3932
3933 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3934
3935         * configure.ac:
3936         Require GLib 2.12.
3937
3938         * gst/glib-compat-private.h:
3939         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3940         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3941         Unconditionally use GSlice for allocation.
3942
3943         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3944         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3945         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3946         (gst_structure_free):
3947         Use GSlice for allocation.
3948
3949 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3950
3951         * gst/parse/Makefile.am:
3952         * gst/parse/grammar.tab.pre.c:
3953         * gst/parse/grammar.tab.pre.h:
3954         * gst/parse/lex._gst_parse_yy.pre.c:
3955         Require a new enough flex and bison and remove the parser hacks to use
3956         a pre-regenerated version.
3957
3958 2008-04-01  Julien Moutte  <julien@fluendo.com>
3959
3960         patch by: Jason Zhao <E3423C@motorola.com>
3961
3962         * configure.ac: Add a configure switch to disable option parsing
3963         in gst_init.
3964         Fixes #522882.
3965
3966 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3967
3968         * configure.ac:
3969         * gst/gstregistry.c:
3970           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3971           and handle this case.
3972
3973         * gst/gst.c:
3974           Add a comment here describing, why we stat each plugin and not try to
3975           be smart.
3976
3977 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3978
3979         * libs/gst/base/gstbasetransform.c:
3980         (gst_base_transform_prepare_output_buffer):
3981         Also unset the GAP flag on buffers if we're working inplace but
3982         the element is not GAP-aware.
3983
3984         Mark a comment as FIXME 0.11.
3985
3986 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3987
3988         * gst/gst.c:
3989           Fix type in log message and add one to ease seeing how long registry
3990           cache verification takes.
3991
3992         * gst/gstregistry.c:
3993           Only test plugin filenames against G_MODULE_SUFFIX.
3994
3995 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3996
3997         * gst/gstdebugutils.c:
3998           Improve handling ghost/proxy pads.
3999
4000 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
4001
4002         * docs/gst/gstreamer-sections.txt:
4003         * gst/gstpad.c:
4004         * gst/gstpad.h:
4005           Expose macro to docs and fix link to it.
4006
4007 2008-03-27  Michael Smith <msmith@fluendo.com>
4008
4009         * libs/gst/dataprotocol/dataprotocol.c:
4010         (gst_dp_packet_from_event_1_0):
4011           When calculating GDP body CRC, use the correct pointer. 
4012           Fixes part of #522401.
4013
4014 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4015
4016         Patch by: Mark Nauwelaerts <manauw at skynet be>
4017
4018         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4019         (gst_identity_init), (gst_identity_prepare_output_buffer):
4020         Identity is not always a passthrough element, it can modify the buffer
4021         timestamps when it has a datarate and operates in single-segment mode.
4022         We therefore make it an in_place filter with a custom buffer prepare
4023         function that conditionally makes the input buffer metadata writable
4024         when needed.  Fixes #523985.
4025
4026 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4027
4028         Patch by: Mark Nauwelaerts <manauw at skynet be>
4029
4030         * gst/gstclock.h:
4031         * libs/gst/base/gstbasesrc.h:
4032         * libs/gst/base/gstbasetransform.c:
4033         * libs/gst/check/gstcheck.c:
4034         Small documentation fixes. Fixes #523978.
4035
4036 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4037
4038         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4039         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4040         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4041
4042 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4043
4044         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4045         (single_queue_underrun_cb):
4046         When trying to make room in the queue, bump the max allowed buffers
4047         bigger than the current amount of buffers in the queue. this fixes some
4048         nasty deadlocks in multiqueue when dynamically changing the limits of
4049         the queue.
4050
4051 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4052
4053         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4054
4055         * gst/gstcaps.c: (gst_caps_set_simple),
4056         (gst_caps_set_simple_valist), (gst_caps_intersect):
4057         * gst/gstcaps.h:
4058         Constify the field gchar * params in set_simple and friends.
4059         Fixes #522326.
4060
4061 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4062
4063         * gst/gstvalue.c: (gst_value_transform_object_string):
4064         Transform a GstObject to a more meaningfull string that includes the
4065         object type in addition to its name.
4066
4067 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4068
4069         * ChangeLog:
4070           ChangeLog surgery to add bugnumber to commit.
4071
4072 2008-03-23  Rene Stadler  <mail@renestadler.de>
4073
4074         * libs/gst/base/gstbasetransform.c:
4075         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4076
4077 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4078
4079         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4080         Rename constant everywhere and don't forget one occurence.
4081
4082 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4083
4084         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4085         Align memory to the pointer size even if the architecture allows
4086         unaligned memory access. Unaligned memory access usually comes with
4087         performance penality.
4088
4089 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4090
4091         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4092         (gst_registry_binary_check_magic),
4093         (gst_registry_binary_load_pad_template),
4094         (gst_registry_binary_load_feature),
4095         (gst_registry_binary_load_plugin):
4096         Align memory to the pointer size instead of always 32 bit. Fixes
4097         unaligned memory accesses on ia64 and friends.
4098
4099         * gst/gstregistrybinary.h:
4100         Bump binary registry format version for this as it changes the
4101         format on those architectures that don't have unaligned access
4102         and 64 bit pointers.
4103
4104 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4105
4106         * docs/pwg/advanced-dparams.xml:
4107         * docs/pwg/building-props.xml:
4108         * docs/pwg/other-source.xml:
4109         * gst/glib-compat.h:
4110         * gst/gstbin.c: (gst_bin_class_init):
4111         * gst/gstclock.c: (gst_clock_class_init):
4112         * gst/gstindex.c: (gst_index_class_init):
4113         * gst/gstobject.c: (gst_object_class_init):
4114         * gst/gstpad.c: (gst_pad_class_init):
4115         * gst/gstpipeline.c: (gst_pipeline_class_init):
4116         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4117         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4118         * libs/gst/base/gstbasetransform.c:
4119         (gst_base_transform_class_init):
4120         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4121         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4122         (_gst_check_fault_handler_sighandler),
4123         (_gst_check_fault_handler_setup), (gst_check_init):
4124         * libs/gst/controller/gstcontroller.c:
4125         (_gst_controller_class_init):
4126         * libs/gst/controller/gstlfocontrolsource.c:
4127         (gst_lfo_control_source_class_init):
4128         * libs/gst/net/gstnetclientclock.c:
4129         (gst_net_client_clock_class_init):
4130         * libs/gst/net/gstnettimeprovider.c:
4131         (gst_net_time_provider_class_init):
4132         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4133         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4134         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4135         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4136         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4137         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4138         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4139         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4140         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4141         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4142         * plugins/elements/gsttee.c: (gst_tee_class_init):
4143         * plugins/elements/gsttypefindelement.c:
4144         (gst_type_find_element_class_init):
4145         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4146         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4147         use it everywhere for GParamSpecs that use static strings (i.e. all).
4148         This gives us less memory usage, fewer allocations and thus less
4149         memory defragmentation. Fixes bug #523806.
4150
4151 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4152
4153         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4154         (gst_param_spec_mini_object):
4155         * gst/gstminiobject.h:
4156         * win32/common/libgstreamer.def:
4157         * docs/gst/gstreamer-sections.txt:
4158         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4159         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4160         GstParamSpecMiniObject into a public header for this.
4161
4162         This make GstMiniObject a bit more consistent with GObject and makes
4163         it possible to extend the param specs.
4164
4165         gst_value_dup_mini_object is mainly useful for set_property methods.
4166
4167         Fixes bug #523798.
4168
4169         * tools/gst-inspect.c: (print_element_properties_info):
4170         Print something useful for GstMiniObject properties and not just
4171         "unknown type".
4172
4173 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4174
4175         * docs/gst/gstreamer-sections.txt:
4176         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4177         (gst_registry_binary_check_magic):
4178         * gst/gstregistrybinary.h:
4179         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4180         and add it to the (private part) of the docs to fix the build.
4181
4182 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4183
4184         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4185         (gst_registry_binary_check_magic),
4186         (gst_registry_binary_read_cache):
4187         * gst/gstregistrybinary.h:
4188         Don't use GST_MAJORMINOR for the binary registry version. Instead
4189         hardcode a value that must be changed whenever the format changes
4190         in an incompatible way.
4191         Also don't GST_ERROR when there is a version mismatch, just
4192         regenerate the registry silently.
4193
4194 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4195
4196         * configure.ac:
4197         Back to development - 0.10.18.1
4198
4199 === release 0.10.18 ===
4200
4201 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4202
4203         * configure.ac:
4204           releasing 0.10.18, "So far away"
4205
4206 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4207
4208         * configure.ac:
4209         * win32/common/config.h:
4210         0.10.17.4 pre-release
4211
4212 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4213
4214         Patch by: Ole André Vadla Ravnås
4215             <ole dot andre dot ravnas at tandberg dot com>
4216
4217         * docs/gst/gstreamer-sections.txt:
4218         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4219         (gst_poll_update_winsock_event_mask),
4220         (gst_poll_prepare_winsock_active_sets),
4221         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4222         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4223         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4224         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4225         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4226         * gst/gstpoll.h:
4227         * win32/common/libgstreamer.def:
4228         Add new function gst_poll_fd_ignored() for improved Windows
4229         compatibility.
4230         Various minor fixes and cleanups. See #520808.
4231
4232 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4233
4234         * gst/gstindex.c: (gst_index_entry_free):
4235         * gst/gstindex.h:
4236           Don't free key strings which we don't own. Fixes crash in
4237           gst_index_entry_free() (#522741).
4238
4239         * tests/check/Makefile.am:
4240         * tests/check/gst/.cvsignore:
4241         * tests/check/gst/gstindex.c: (test_index_entries),
4242           (gst_index_suite), (gst_index):
4243           Add unit test for the above.
4244
4245 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4246
4247         * win32/common/libgstreamer.def:
4248         Remove symbols that were removed recently. Fixes bug #521740.
4249
4250 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4251
4252         * configure.ac:
4253         * win32/common/config.h:
4254         0.10.17.3 pre-release
4255
4256 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4257
4258         Patch by: Ole André Vadla Ravnås
4259             <ole dot andre dot ravnas at tandberg dot com>
4260
4261         * docs/gst/gstreamer-sections.txt:
4262         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4263         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4264         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4265         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4266         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4267         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4268         (gst_poll_fd_can_write), (gst_poll_wait),
4269         (gst_poll_set_controllable), (gst_poll_restart),
4270         (gst_poll_set_flushing):
4271         * gst/gstpoll.h:
4272         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4273         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4274         (gst_net_time_provider_new):
4275         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4276         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4277         * tests/benchmarks/gstpollstress.c: (main):
4278         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4279         Remove GstPollMode from the API, it does not make sense to let the
4280         application control this.
4281         Add support for Win32.
4282         Fix the testsuite. Fixes #520671.
4283
4284 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4285
4286         Patch by: Ole André Vadla Ravnås
4287             <ole dot andre dot ravnas at tandberg dot com>
4288
4289         * gst/gstregistrybinary.c:
4290         Include io.h for write() and close() when building with MSVC. Fixes
4291         bug #520877.
4292
4293 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4294
4295         * configure.ac:
4296         * gst/gst_private.h:
4297         * gst/gstconfig.h.in:
4298         * gst/gstregistry.h:
4299         * gst/gstregistrybinary.c:
4300         * win32/common/gstconfig.h:
4301           Move registry backend API to private headers where we can. Add
4302           fixme-0.11 comments for the others. Add stubs for the xml backend when
4303           using the binary to ensure they functions exists (they should not be
4304           used though). Fixes #520756.
4305
4306 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4307
4308         * configure.ac:
4309         * win32/common/config.h:
4310         0.10.17.2 prelease
4311
4312 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4313
4314         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4315         (gst_registry_binary_read_cache):
4316         * gst/gstregistryxml.c: (gst_registry_save):
4317         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4318         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4319         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4320         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4321         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4322         Fixes #520152
4323
4324 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4325
4326         * gst/gstminiobject.c:
4327         Import gst_private.h before any other header that might include other
4328         glib headers. This fixes the build on windows using native compilers.
4329
4330 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4331
4332         * win32/common/gstconfig.h:
4333           Add here too, just for completeness.
4334
4335 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4336
4337         * configure.ac:
4338         * gst/gstconfig.h.in:
4339         * gst/gstregistry.h:
4340           Fix broken use of config.h-defined preprocessor directive in a public
4341           header file. Add a corresponding define to gstconfig.h, since we can't
4342           really remove those function declarations from the header file now
4343           (or can we? and why are they there in the first place?).
4344
4345 2008-03-03  Andy Wingo  <wingo@pobox.com>
4346
4347         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4348         the new warning.
4349
4350         * gst/gststructure.c (gst_structure_from_string): Warn if
4351         structure_from_string didn't consume the whole string, but the
4352         caller did not provide an end pointer.
4353
4354 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4355
4356         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4357
4358         * gst/gstregistryxml.c: (read_string), (load_feature):
4359           Strings allocated by libxml2 should be freed with xmlFree(), not
4360           with g_free(). Fixes issues on windows in certain contexts (#519698).
4361
4362 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4363
4364         * gst/gstinterface.c: (gst_element_implements_interface):
4365           Don't crash if the element supports the interface queried, but does
4366           not implement GstImplementsInterface. Fixes #519584.
4367
4368         * tests/check/Makefile.am:
4369         * tests/check/gst/.cvsignore:
4370         * tests/check/gst/gstinterface.c:
4371           Add unit test for the above.
4372
4373 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4374
4375         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4376         Small doc update.
4377
4378 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4379
4380         * gst/gstsegment.c: (gst_segment_set_seek),
4381         (gst_segment_to_stream_time):
4382         Improve some comment.
4383         Update variables where it makes more sense.
4384
4385 2008-02-29  Rene Stadler  <mail@renestadler.de>
4386
4387         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4388         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4389         URIHandlers implemented using language bindings.
4390
4391 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4392
4393         * gst/gstelementfactory.h:
4394         * tests/check/elements/fakesink.c:
4395         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4396         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4397         * tests/check/elements/filesink.c: (setup_filesink):
4398         * tests/check/elements/filesrc.c: (setup_filesrc):
4399         * tests/check/elements/identity.c: (setup_identity):
4400         * tests/check/elements/tee.c:
4401         * tests/check/generic/sinks.c:
4402         * tests/check/generic/states.c: (setup), (teardown):
4403         * tests/check/gst/gst.c:
4404         * tests/check/gst/gstabi.c:
4405         * tests/check/gst/gstbin.c:
4406         * tests/check/gst/gstbus.c: (pull_messages):
4407         * tests/check/gst/gstcaps.c:
4408         * tests/check/gst/gstelement.c:
4409         * tests/check/gst/gstevent.c:
4410         * tests/check/gst/gstghostpad.c:
4411         * tests/check/gst/gstiterator.c:
4412         * tests/check/gst/gstmessage.c:
4413         * tests/check/gst/gstminiobject.c: (my_foo_init):
4414         * tests/check/gst/gstobject.c: (thread_name_object),
4415         (gst_object_suite):
4416         * tests/check/gst/gstpad.c:
4417         * tests/check/gst/gstplugin.c:
4418         * tests/check/gst/gstpoll.c:
4419         * tests/check/gst/gstquery.c:
4420         * tests/check/gst/gstsegment.c:
4421         * tests/check/gst/gststructure.c:
4422         * tests/check/gst/gstsystemclock.c:
4423         * tests/check/gst/gsttask.c:
4424         * tests/check/gst/gstutils.c:
4425         * tests/check/gst/gstvalue.c:
4426         * tests/check/gst/struct_hppa.h:
4427         * tests/check/gst/struct_i386.h:
4428         * tests/check/gst/struct_ppc32.h:
4429         * tests/check/gst/struct_ppc64.h:
4430         * tests/check/gst/struct_x86_64.h:
4431         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4432         * tests/check/libs/basesrc.c:
4433         * tests/check/libs/controller.c: (GST_START_TEST):
4434         * tests/check/libs/gdp.c:
4435         * tests/check/libs/gstnetclientclock.c:
4436         * tests/check/libs/gstnettimeprovider.c:
4437         * tests/check/libs/libsabi.c:
4438         * tests/check/libs/struct_hppa.h:
4439         * tests/check/libs/struct_i386.h:
4440         * tests/check/libs/struct_ppc32.h:
4441         * tests/check/libs/struct_ppc64.h:
4442         * tests/check/libs/struct_x86_64.h:
4443         * tests/check/pipelines/cleanup.c:
4444         * tests/check/pipelines/simple-launch-lines.c:
4445         * tests/check/pipelines/stress.c:
4446         And correct even more valid sparse warnings.
4447
4448         * win32/common/libgstreamer.def:
4449         Add gst_poll_fd_init to the list of symbols.
4450
4451 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4452
4453         * gst/gstconfig.h.in:
4454         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4455         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4456         (gst_check_log_critical_func), (gst_check_drop_buffers),
4457         (gst_check_element_push_buffer_list):
4458         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4459         (gst_controller_get_type):
4460         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4461         (gst_object_get_controller), (gst_object_get_control_source):
4462         * libs/gst/controller/gstinterpolationcontrolsource.c:
4463         (gst_interpolation_control_source_new):
4464         * libs/gst/controller/gstlfocontrolsource.c:
4465         (gst_lfo_control_source_new):
4466         * libs/gst/dataprotocol/dataprotocol.c:
4467         (gst_dp_event_from_packet_0_2):
4468         * plugins/elements/gstfdsrc.c:
4469         * plugins/elements/gstmultiqueue.c:
4470         * plugins/elements/gsttee.c:
4471         * plugins/elements/gsttypefindelement.c:
4472         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4473         (gst_file_index_add_association):
4474         * plugins/indexers/gstmemindex.c:
4475         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4476         * tests/check/elements/queue.c: (setup_queue):
4477         * tests/check/gst/gstpipeline.c:
4478         * tests/check/libs/collectpads.c: (setup), (teardown),
4479         (gst_collect_pads_suite):
4480         * tests/examples/adapter/adapter_test.c:
4481         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4482         * tests/examples/xml/createxml.c:
4483         * tests/examples/xml/runxml.c:
4484         * tools/gst-inspect.c:
4485         * tools/gst-run.c:
4486         Correct all relevant warnings found by the sparse semantic code
4487         analyzer. This include marking several symbols static, using
4488         NULL instead of 0 for pointers, not using variable sized arrays
4489         on the stack, moving variable declarations to the beginning of
4490         a block and using "foo (void)" instead of "foo ()" for declarations.
4491
4492 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4493
4494         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4495         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4496         Don't reset GstPollFDs, this is not necessary at all.
4497
4498         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4499         (delayed_restart), (delayed_control):
4500         Use GST_POLL_FD_INIT.
4501
4502 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4503
4504         * gst/gstpoll.c: (gst_poll_fd_init):
4505         * gst/gstpoll.h:
4506         Added Since tags.
4507
4508         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4509         Use some more init macros.
4510
4511 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4512
4513         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4514         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4515         Use init macros and functions.
4516
4517 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4518
4519         * docs/gst/gstreamer-sections.txt:
4520         * gst/gstpoll.c: (gst_poll_fd_init):
4521         * gst/gstpoll.h:
4522         Add INIT macro and _init method for initializing the GstPollFD.
4523
4524 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4525
4526         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4527         (gst_fd_sink_update_fd):
4528         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4529         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4530         (delayed_restart), (delayed_control):
4531         Initialize some uninitialized variables as spotted by valgrind.
4532
4533 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4534
4535         * tests/benchmarks/Makefile.am:
4536         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4537         (main):
4538         Add poll stress test.
4539
4540 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4541
4542         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4543
4544         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4545         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4546         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4547         * plugins/elements/gstfdsink.h:
4548         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4549         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4550         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4551         (gst_fd_src_uri_set_uri):
4552         * plugins/elements/gstfdsrc.h:
4553         Port to GstPoll. See #505417.
4554
4555 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4556
4557         * win32/common/libgstreamer.def:
4558         Add new gst_poll_ symbols to win32 defs.
4559
4560 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4561
4562         * docs/libs/gstreamer-libs-sections.txt:
4563         * libs/gst/net/gstnetclientclock.c:
4564         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4565         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4566         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4567         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4568         * libs/gst/net/gstnetclientclock.h:
4569         * libs/gst/net/gstnettimeprovider.c:
4570         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4571         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4572         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4573         (gst_net_time_provider_new):
4574         * libs/gst/net/gstnettimeprovider.h:
4575         Use a private stuct to not break ABI.
4576
4577 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4578
4579         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4580
4581         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4582         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4583         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4584         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4585         * libs/gst/net/gstnetclientclock.h:
4586         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4587         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4588         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4589         (gst_net_time_provider_new):
4590         * libs/gst/net/gstnettimeprovider.h:
4591         Massive code removal and cleanups because of GstPoll.
4592         Fixes #505417.
4593
4594 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4595
4596         * configure.ac:
4597         Add checks for poll, ppoll and pselect.
4598
4599         * docs/gst/gstreamer-docs.sgml:
4600         * docs/gst/gstreamer-sections.txt:
4601         Add docs for GstPoll.
4602
4603         * gst/Makefile.am:
4604         * gst/gst.h:
4605         * gst/gstpoll.c: (find_index), (selectable_fds),
4606         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4607         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4608         (gst_poll_set_mode), (gst_poll_get_mode),
4609         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4610         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4611         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4612         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4613         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4614         (gst_poll_fd_can_write), (gst_poll_wait),
4615         (gst_poll_set_controllable), (gst_poll_restart),
4616         (gst_poll_set_flushing):
4617         * gst/gstpoll.h:
4618         Add generic poll abstraction. We ideally don't want to have this in core
4619         here but in glib intead...
4620         This code will be used in various network elements and ultimately for
4621         the nanosecond precision monotonic clock (that's why it's here in core).
4622         It'll allow us to implement cancelable socket operations for windows too.
4623
4624         * tests/check/Makefile.am:
4625         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4626         (delayed_stop), (delayed_restart), (delayed_flush),
4627         (delayed_control), (gst_poll_suite):
4628         Add GstPoll unit test.
4629
4630 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4631
4632         * gst/gstfilter.c:
4633           Improve documentation of gst_filter_run(). Fixes #518627.
4634
4635 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4636
4637         * docs/README:
4638           Add a few lines about the new 'check-inspected-versions' target.
4639
4640 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4641
4642         * tests/check/gst/gstevent.c:
4643           Add qos to the event test. Rename tcase/tsuite; is not only about
4644           custom events.
4645
4646 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4647
4648         * plugins/elements/gstqueue.c:
4649           Ensure that buffer metadata is writeable, before modifying. Spotted by
4650           Mike.
4651
4652 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4653
4654         * plugins/elements/gstqueue.c:
4655         * plugins/elements/gstqueue.h:
4656           When dropping buffers in leaky modes, mark next buffers we sent as
4657           DISCONT.
4658
4659 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4660
4661         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4662           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4663
4664 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4665
4666         * plugins/elements/Makefile.am:
4667         * plugins/elements/gstbufferstore.c:
4668         * plugins/elements/gstbufferstore.h:
4669         * plugins/elements/gsttypefindelement.h:
4670           Remove GstBufferStore, no idea why we were still building it.
4671           It's not used anywhere and superseded by GstAdapter.
4672
4673         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4674           (gst_file_src_create_mmap):
4675         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4676           Printf format fixes for 64-bit integers.
4677
4678 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4679
4680         * configure.ac:
4681         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4682         We're not in 0.8 times anymore.
4683
4684 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4685
4686         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4687         (gst_check_element_push_buffer_list):
4688         * libs/gst/check/gstcheck.h:
4689         Make the declaration in the header for
4690         gst_check_element_push_buffer_list match the implementation.
4691
4692         Fix up spelling, grammar and wording of the documentation in a few
4693         places, and add the Since keyword to new API functions.
4694         Use g_list_delete_link instead of g_list_remove in
4695         gst_check_drop_buffers, since it's immeasurably more efficient.
4696
4697         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4698         Use new gst_check_drop_buffers function where appropriate.
4699
4700         * win32/common/libgstbase.def:
4701         * win32/common/libgstreamer.def:
4702         Add new symbols gst_collect_pads_take_buffer, 
4703         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4704         exports
4705
4706         Changelog surgery to add API keyword to new gst_check API.
4707
4708 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4709
4710         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4711         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4712         Update pre-generated flex files with flex 2.3.34.
4713
4714 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4715
4716         * gst/gstminiobject.c:
4717           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4718           friendly to subclasses and not require them to know all internals
4719           of their parent class.
4720
4721 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4722
4723         * docs/libs/gstreamer-libs-sections.txt:
4724         * libs/gst/base/gstcollectpads.c:
4725         * libs/gst/base/gstcollectpads.h:
4726           Add sub-buffer functions to collectpads. Fixes #516187.
4727           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4728
4729 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4730
4731         * gst/gstbuffer.c:
4732           Copy selected buffer-flags when creating subbuffers.
4733           Fixes #516395.
4734
4735 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4736
4737         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4738         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4739         * gst/gstmessage.c: (gst_message_class_init),
4740         (gst_message_finalize):
4741         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4742         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4743         (gst_mmap_buffer_finalize):
4744         Properly chain up finalize functions to the parent class.
4745
4746 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4747
4748         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4749
4750         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4751         (gst_index_set_resolver_full):
4752         * gst/gstindex.h:
4753         Add new function with option to dispose of user_data in resolver.
4754         Actually call the dispose function when finalizing the object and not
4755         just when changing the resolver/filter.
4756         API: GstIndex::gst_index_set_resolver_full()
4757
4758         * docs/gst/gstreamer-sections.txt:
4759         Add new function to docs. Fixes #515469.
4760
4761 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4762
4763         * gst/gstindex.c: (gst_index_finalize):
4764         Chain up finalize to the parent class. Fixes leaking the GstObject
4765         name and other things.
4766
4767 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4768
4769         * configure.ac:
4770         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4771         pre-releases or releases.
4772
4773         * docs/faq/gst-uninstalled:
4774         Add gst-plugins-gl
4775
4776         * docs/random/release:
4777         Change one of the steps - we only upload core & base to Gnome FTP
4778
4779 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4780
4781         * gst/gstconfig.h.in:
4782           Add 'id' for example.
4783
4784         * gst/gstpad.c:
4785         * gst/gstutils.c:
4786         * plugins/elements/gstfdsink.c:
4787           Link to signals. Doc and comment fixes.
4788
4789 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4790
4791         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4792         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4793           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4794           unused and unimplemented; finally, it is plugin features, not
4795           plugins, that have ranks.
4796           
4797 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4798
4799         * gst/gstpluginfeature.h:
4800           Clarify GstRank range docs.
4801
4802 2008-02-05  David Schleef  <ds@schleef.org>
4803
4804         * gst/gst.c: Add a separate gst_deinitialized that prevents
4805           gst_init() from being called after gst_deinit().  Fixes #509559
4806
4807 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4808
4809         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4810         (gst_bin_class_init):
4811         * gst/gstelement.c: (gst_element_base_class_init),
4812         (gst_element_class_add_pad_template):
4813         * gst/gstpadtemplate.c: (gst_pad_template_init):
4814         * gst/gstpipeline.c: (gst_pipeline_get_type),
4815         (gst_pipeline_base_init), (gst_pipeline_class_init):
4816         * libs/gst/base/gstbasesink.c:
4817         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4818         (gst_base_src_base_init), (gst_base_src_class_init):
4819         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4820         (gst_capsfilter_class_init):
4821         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4822         (gst_fake_sink_class_init):
4823         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4824         (gst_fake_src_class_init):
4825         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4826         (gst_fd_sink_class_init):
4827         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4828         (gst_fd_src_class_init):
4829         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4830         (gst_file_sink_class_init):
4831         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4832         (gst_file_src_class_init):
4833         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4834         (gst_identity_class_init):
4835         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4836         (gst_multi_queue_class_init):
4837         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4838         (gst_queue_class_init):
4839         * plugins/elements/gsttee.c: (gst_tee_base_init),
4840         (gst_tee_class_init):
4841         * plugins/elements/gsttypefindelement.c:
4842         (gst_type_find_element_base_init),
4843         (gst_type_find_element_class_init):
4844         * tests/check/gst/gstelement.c: (gst_element_suite):
4845         Revert previous changes to the behaviour of GstPadTemplates, etc
4846         and the possiblity to call them in class_init as it breaks too
4847         many elements. Reopens bug #491501.
4848
4849         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4850         several places.
4851
4852 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4853
4854         * tools/gst-launch.c:
4855         Dump one graph per pipeline state-change and state change name
4856         (if GST_DEBUG_DUMP_DOT_DIR is set).
4857
4858 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4859
4860         * gst/gstpad.c:
4861         * tests/check/gst/gstpad.c:
4862         Be sure that we have a new copy of the caps and not
4863         reffed caps from a template
4864
4865 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4866
4867         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4868         * gst/gstpipeline.c: (gst_pipeline_get_type),
4869         (gst_pipeline_class_init):
4870         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4871         (gst_base_sink_class_init):
4872         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4873         (gst_base_src_class_init):
4874         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4875         (gst_base_transform_class_init):
4876         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4877         (gst_collect_pads_class_init):
4878         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4879         * libs/gst/net/gstnettimeprovider.c:
4880         (gst_net_time_provider_base_init),
4881         (gst_net_time_provider_class_init):
4882         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4883         (gst_capsfilter_class_init):
4884         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4885         (gst_fake_sink_class_init):
4886         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4887         (gst_fake_src_class_init):
4888         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4889         (gst_fd_sink_class_init):
4890         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4891         (gst_fd_src_class_init):
4892         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4893         (gst_file_sink_class_init):
4894         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4895         (gst_file_src_class_init):
4896         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4897         (gst_identity_class_init):
4898         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4899         (gst_multi_queue_class_init):
4900         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4901         (gst_queue_class_init):
4902         * plugins/elements/gsttee.c: (gst_tee_base_init),
4903         (gst_tee_class_init):
4904         * plugins/elements/gsttypefindelement.c:
4905         (gst_type_find_element_base_init),
4906         (gst_type_find_element_class_init):
4907         Don't use base_init where not absolutely necessary. For example it's
4908         not necessary anymore for adding pad templates or setting element
4909         details.
4910
4911         Leave empty base_init functions in several places as GST_BOILERPLATE
4912         still defines and uses them.
4913
4914 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4915
4916         * gst/gstelement.c: (gst_element_base_class_init),
4917         (gst_element_class_add_pad_template):
4918         * gst/gstpadtemplate.c:
4919         Make it possible (and recommended) to set element details and add
4920         pad templates in the class_init functions by copying the details/pad
4921         templates in GstElement's base_init.
4922
4923         Also make it possible to replace existing pad templates by adding
4924         a new one with the same name. This was done in a hackish fashion
4925         in same elements before already.
4926
4927         Don't reference pad templates that are added a second time. A
4928         new pad template has a refcount of one and is not floating anymore
4929         and to be owned by the element's class. Make this more explicit by
4930         mentioning it in the docs of gst_element_class_add_pad_template().
4931
4932         These changes are backwards compatible. Fixes bug #491501.
4933
4934         * tests/check/gst/gstelement.c:
4935         Add unit test for setting element details, adding pad templates and
4936         replacing them in a subclass.
4937
4938 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4939
4940         * tools/gst-inspect.c: (print_interfaces),
4941         (print_element_properties_info), (print_pad_info),
4942         (print_signal_info), (print_element_info):
4943         Fix a few memory leaks.
4944
4945 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4946
4947         * docs/libs/gstreamer-libs-sections.txt:
4948         * libs/gst/check/gstcheck.c:
4949         * libs/gst/check/gstcheck.h:
4950         Add more functions for unit testing: gst_check_drop_buffers,
4951         gst_check_caps_equal, gst_check_element_push_buffer_list,
4952         gst_check_element_push_buffer
4953         API: gst_check_drop_buffers
4954         API: gst_check_caps_equal
4955         API: gst_check_element_push_buffer_list
4956         API: gst_check_element_push_buffer
4957
4958 2008-02-01  Julien Moutte  <julien@fluendo.com>
4959
4960         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4961         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4962         (gst_index_finalize), (gst_index_entry_free),
4963         (gst_index_add_association): Fix memory leaks.
4964         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4965         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4966         (gst_mem_index_free_format), (gst_mem_index_free_id),
4967         (gst_mem_index_finalize): Fix memory leaks.
4968         * win32/common/config.h: Updated to CVS HEAD.
4969
4970 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4971
4972         * docs/README:
4973           Some more details about how the plugin docs works.
4974
4975         * docs/plugins/gstreamer-plugins-sections.txt:
4976           Whitespace cleanup.
4977
4978 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4979
4980         * gst/parse/grammar.tab.pre.c:
4981         * gst/parse/grammar.tab.pre.h:
4982         * gst/parse/grammar.y:
4983         * gst/parse/lex._gst_parse_yy.pre.c:
4984           Add delayed set-property. This allows to set properties on dynamicaly
4985           created objects (pads in videomxer). Fixes #509391.
4986
4987 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4988
4989         * gst/gstutils.c:
4990         Check if caps are not NULL (fix bug #510194)
4991
4992 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4993
4994         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4995         (gst_base_sink_get_position_paused):
4996         Add fixme regarding EOS in pull mode.
4997         Fix position reporting in PAUSED for negative rates.
4998
4999 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5000
5001         * gst/gstminiobject.c: (gst_mini_object_replace):
5002         When replacing a miniobject, do a quick equality check first so that we
5003         can avoid a ref/unref pair.
5004
5005 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5006
5007         * docs/design/part-synchronisation.txt:
5008         Update some docs.
5009
5010         * docs/plugins/Makefile.am:
5011         * docs/plugins/gstreamer-plugins-docs.sgml:
5012         * docs/plugins/gstreamer-plugins-sections.txt:
5013         * plugins/elements/gstmultiqueue.c:
5014         Add multiqueue to the docs.
5015
5016 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5017
5018         * configure.ac:
5019           Back to CVS
5020
5021 === release 0.10.17 ===
5022
5023 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5024
5025         * configure.ac:
5026           releasing 0.10.17, "Due Negligence"
5027
5028 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5029
5030         * gst/gstutils.c:
5031         Revert caps != NULL check temporarily for 0.10.17 release.
5032
5033 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5034
5035         * gst/gstutils.c:
5036         Check if caps are not NULL (fix bug #510194)
5037
5038 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5039
5040         * gst/gstutils.c:
5041         Fix compilation on systems that have posix timers but no
5042         monotonic clock.
5043         Fixes: #512715
5044         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5045         dot net>
5046
5047 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5048
5049         * tools/gst-inspect.c:
5050         Revert previous commit in preparation for an impromptu 0.10.17 release
5051
5052 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5053
5054         * tools/gst-inspect.c: (print_interfaces),
5055         (print_element_properties_info), (print_pad_info),
5056         (print_signal_info), (print_element_info):
5057         Fix a few memory leaks.
5058
5059 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5060
5061         * configure.ac:
5062         Back to CVS
5063
5064 === release 0.10.16 ===
5065
5066 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5067
5068         * configure.ac:
5069           releasing 0.10.16, "Special Dispensation"
5070
5071 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5072
5073         * configure.ac:
5074           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5075           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5076           not fail when trying to crosscompile on OpenEmbedded (#511750).
5077
5078 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5079
5080         * docs/manuals.mak:
5081         Use $(MAKE) instead of make to fix the build if GNU make is
5082         called different. Fixes bug #510747.
5083
5084 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5085
5086         * gst/gstplugin.c: (_gst_plugin_initialize):
5087           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5088           again, which I broke two commits ago when changing the API
5089           of gst_plugin_register_static(): the g_list_foreach() in
5090           _gst_plugin_register_static still assumed the old function
5091           signature and would therefore fail (re-fixes #510187).
5092
5093         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5094           (_gst_plugin_register_static), (gst_plugin_register_static):
5095           Revert the (technically correct) change to call g_thread_init() from
5096           the pre-main() constructor. This will break programs which call
5097           g_thread_init() without an if (!g_thread_supported()) guard in their
5098           main function. We could just blame it on GLib or the application, but
5099           it's probably best to just avoid this altogether and simply not use
5100           any GLib functions here and use plain old malloc() with a simple
5101           array to store the plugins to register later when gst_init() is
5102           finally called (re-fixes #510187).
5103
5104         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5105           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5106           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5107           (GST_START_TEST), (gst_plugin_suite):
5108           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5109           works.
5110
5111 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5112
5113         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5114           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5115           This makes gtk-doc complain, but results in slightly better
5116           compiler errors. The old _gst_plugin_register_static() is
5117           still guarded, so there'll be a compiler warning about that
5118           instead. Fixes #510187 too.
5119
5120 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5121
5122         * gst/gst.c: (init_post):
5123         * gst/gstplugin.c: (_gst_plugin_register_static),
5124           (gst_plugin_register_static), (_gst_plugin_initialize):
5125         * gst/gstplugin.h: (GstPluginFilter):
5126           Change API of gst_plugin_register_static() to not take
5127           a GstPluginDesc, but rather just take all the arguments
5128           in a GstPluginDesc directly. This is more intuitive and
5129           avoids certain mistakes when porting code from
5130           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5131           Fixes #510187.
5132
5133         * tests/check/gst/gstplugin.c:
5134           Fix up for changed API.
5135
5136 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5137
5138         * docs/faq/legal.xml:
5139           Update FAQ, Totem actually has an exception these days.
5140
5141 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5142
5143         * win32/common/libgstreamer.def:
5144         Add new API declarations
5145
5146 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5147
5148         * gst/gstminiobject.c:
5149           Spelling fixes for the API docs.
5150
5151 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5152
5153         * libs/gst/base/gstbasetransform.c:
5154           Fix long property description for QoS.
5155
5156 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5157
5158         * gst/gst.c:
5159         _gst_trace_on is already provided by gsttrace.h, no need to declare
5160         it ourselves.
5161
5162         * docs/libs/gstreamer-libs-sections.txt:
5163         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5164         and remove strange tcase_add_test which is outputting a warning.
5165
5166         * libs/gst/check/gstcheck.c:
5167         * libs/gst/check/gstcheck.h:
5168         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5169         and define them in gstcheck.c instead of having every .c file whcih
5170         includes gstcheck.h be defining its own copy and relying on symbol
5171         interposing to marry them all, which doesn't work on Solaris.
5172
5173         * tests/check/elements/identity.c: (GST_START_TEST):
5174         Don't define 'buffers' locally, it comes from libgstcheck.
5175
5176         * tests/check/generic/sinks.c: (send_buffer):
5177         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5178
5179         * tests/check/gst/gststructure.c: (GST_START_TEST):
5180         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5181         * tests/check/gst/gstutils.c: (GST_START_TEST):
5182         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5183         Add a bunch of casts to make various constants fit the types
5184         they're being assigned to.
5185
5186 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5187
5188         * gst/gstchildproxy.c:
5189           Improve docs and add some ideas for making this more general-purpose.
5190
5191 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5192
5193         * gst/gst_private.h: (GST_CAT_TYPES):
5194           Add GST_CAT_TYPES, for consistency, and so that the other
5195           debug categories don't make fun of it. Spotted by Saur on IRC.
5196
5197 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5198
5199         * gst/parse/Makefile.am:
5200           Move types.h from EXTRA_DIST to noinst_HEADERS.
5201
5202 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5203
5204         * autogen.sh:
5205           Add -Wno-portability to the automake parameters to stop warnings
5206           about GNU make extensions being used. We require GNU make in almost
5207           every Makefile anyway.
5208
5209         * configure.ac:
5210           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5211           at the same time is required for per target flags.
5212
5213 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5214
5215         * gst/gstmacros.h:
5216           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5217           __GNUC__ is defined before using it.
5218
5219 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5220
5221         * docs/gst/gstreamer-sections.txt:
5222         * gst/gst.c: (init_post):
5223         * gst/gstplugin.c: (_gst_plugin_register_static),
5224           (gst_plugin_register_static), (_gst_plugin_initialize),
5225           (gst_plugin_register_func):
5226         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5227           API: add gst_plugin_register_static() and deprecate
5228           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5229           (#498924).
5230           Also, in _gst_plugin_register_static(), make sure to call
5231           g_thread_init() before calling GLib functions such as
5232           g_list_append() if we're not initialised yet, since that
5233           may lead to random crashes with older GSlice/GLib versions.
5234
5235         * tests/check/gst/gstplugin.c:
5236           Adapt unit test to above changes.
5237
5238 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5239
5240         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5241         * gst/gstcaps.c: (gst_caps_to_string):
5242         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5243           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5244           Yet another gratuitous GString micro-optimisation: add a (private)
5245           function that serialises a structure appending to an existing
5246           GString, so that when we serialise caps we don't need to alloc+free
5247           a throwaway GString for each structure (each of which also entailing
5248           multiple reallocs on the way); also use g_string_sized_new() in
5249           various places with an approximate string length to avoid reallocs
5250           within GString. See #500143.
5251
5252 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5253
5254         * gst/gststructure.c: (gst_structure_id_set_value):
5255           Always check UTF-8 conformance of structure strings and not only
5256           if the debugging system is enabled; reasoning: the behaviour of
5257           the actual code shouldn't really change depending on whether the
5258           debugging system is enabled or not (#508291).
5259
5260 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5261
5262         * Makefile.am:
5263           Remove old coverage target in favour of "make lcov".
5264
5265 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5266
5267         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5268         (gst_base_src_loop):
5269         The start segment for reverse playback goes from start to last_stop.
5270
5271 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5272
5273         Patch by: Peter Kjellerstedt <pkj axis com>
5274
5275         * gst/gstclock.h:
5276         Cast the results from the timeval/spec_to_time macros to what the
5277         docs say it casts to, a GstClockTime. fixes #508175.
5278
5279 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5280
5281         * gst/gstbuffer.c:
5282         Update some comments.
5283
5284         * tools/gst-inspect.c: (print_element_properties_info):
5285         Improve printing of flags.
5286
5287 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5288
5289         * libs/gst/base/gstbasetransform.c:
5290           (gst_base_transform_transform_size):
5291           Print element name with g_warning() if there's a problem
5292           with the unit size.
5293
5294 2008-01-07  David Schleef  <ds@schleef.org>
5295
5296         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5297
5298         * libs/gst/controller/gstcontroller.h:
5299         * libs/gst/controller/gstcontrolsource.h:
5300         * libs/gst/controller/gstinterpolationcontrolsource.h:
5301         * libs/gst/controller/gstlfocontrolsource.h:
5302         * libs/gst/dataprotocol/dataprotocol.h:
5303           Fix empty prototypes.  Fixes bug #507957.
5304
5305 2008-01-07  David Schleef  <ds@schleef.org>
5306
5307         * docs/faq/dependencies.xml: Fix typo.
5308
5309 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5310
5311         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5312         (gst_base_src_loop):
5313         Don't update the last_stop position in do_seek, that's the position we
5314         did a seek to.
5315         Read backwards when we have a negative rate.
5316
5317         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5318         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5319         (filesrc_suite):
5320         Add check for reverse reading.
5321
5322 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5323
5324         Patch by: Alexis Ballier <aballier at gentoo org>
5325
5326         * tests/check/gst/gstabi.c:
5327         * tests/check/gst/struct_ppc64.h:
5328         * tests/check/libs/libsabi.c:
5329         * tests/check/libs/struct_ppc64.h:
5330           Decide which header to include based on the userland ABI target
5331           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5332           for 64-bit userland (#503590).  Might need something similar for
5333           x86 too.
5334
5335 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5336
5337         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5338           Log the reason why fopen fails in addition to the fact that it failed.
5339           
5340 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5341
5342         * gst/parse/parse.l:
5343         Use "%option never-interactive" to prevent useless calls to isatty()
5344         on every input when parsing. Also use "%option noinput" to not define
5345         the static input/yyinput functions which we don't use anyway. This
5346         removes a compiler warning with gcc 4.3 and saves some bytes in the
5347         library.
5348         
5349         * gst/parse/lex._gst_parse_yy.pre.c:
5350         Regenerated for the above change.
5351
5352 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5353
5354         * gst/gstpad.c: (fixate_value):
5355         Don't crash when trying to fixate and empty list.
5356         Fixes #506643.
5357
5358 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5359
5360         * docs/faq/gst-uninstalled:
5361         Clarify the comments to make the usage of this script and what it
5362         does easier to understand.
5363
5364 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5365
5366         * tools/gst-plot-timeline.py:
5367         Add more options to gst-plot-timeline
5368
5369 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5370
5371         * docs/design/part-synchronisation.txt:
5372         Some more info on how the stream_time in GstBaseSink is done.
5373
5374 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5375
5376         * tests/check/generic/sinks.c: (gst_sinks_suite):
5377           Put back the tcase_set_timeout(), apparently it's needed after
5378           all; fix it up in a way that makes things work with valgrind too.
5379
5380 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5381
5382         * gst/gstdebugutils.c:
5383           Add warning when failed to open file for writing.
5384
5385 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5386
5387         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5388
5389         * gst/gstvalue.c: (gst_value_is_fixed):
5390           Optimisation: bail out of the loop as early as possible (#500143).
5391
5392 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5393
5394         * gst/gstcaps.c: (gst_caps_to_string):
5395         * gst/gstinfo.c: (gst_debug_construct_term_color):
5396         * gst/gstparse.c: (gst_parse_launchv):
5397         * gst/gstutils.c: (gst_util_dump_mem):
5398         * gst/gstvalue.c: (gst_value_serialize_any_list),
5399           (gst_value_transform_any_list_string):
5400           Bunch of gratuitous nano-optimisations.
5401
5402 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5403
5404         * tests/check/generic/sinks.c: (async_done_func),
5405           (async_done_eos_func):
5406           Fix leak in unit test (bus sync handler must unref the message
5407           if it returns GST_BUS_DROP). Don't fiddle with the default test
5408           timeout, this is smaller than the current preconfigured value
5409           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5410           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5411
5412 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5413
5414         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5415
5416         * configure.ac:
5417         Check for stdio_ext.h for the filesink changes.
5418
5419         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5420         (gst_file_sink_class_init), (gst_file_sink_init),
5421         (gst_file_sink_dispose), (gst_file_sink_set_property),
5422         (gst_file_sink_get_property), (gst_file_sink_open_file),
5423         (gst_file_sink_close_file):
5424         * plugins/elements/gstfilesink.h:
5425         Add two properties to control the buffering mode and size.
5426         API: GstFileSink::buffer-mode
5427         API: GstFileSink::buffer-size
5428         Fixes #500150.
5429
5430 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5431
5432         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5433         Add some more docs to explain why a FIXME was wrongly added. 
5434
5435 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5436
5437         * gst/gstobject.c:
5438           Fix typo in the gst_object_{ref,unref} documentation.
5439
5440 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5441
5442         * tests/check/libs/controller.c:
5443         * tests/check/libs/typefindhelper.c:
5444         * tests/check/pipelines/parse-launch.c:
5445           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5446           going to be deprecated (see #498924).
5447
5448 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5449
5450         * gst/gsttypefind.c: (gst_type_find_register):
5451           Make gst_type_find_register work for static typefind functions,
5452           ie. allow passing plugin == NULL (prerequisite for #498924).
5453
5454         * gst/gstelementfactory.c: (gst_element_register):
5455           Small docs addition.
5456
5457 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5458
5459         * gst/gstpad.c: (gst_pad_dispose):
5460         Really unlink the peer pad instead of setting the peer pointer to NULL
5461         when we dispose the pad.
5462         This correctly calls the unlink functions and makes sure that the peer
5463         does not have a handle to invalid memory. See #504671.
5464
5465         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5466         Add testsuite for above case.
5467
5468 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5469
5470         Patch by: Peter Kjellerstedt <pkj axis com>
5471
5472         * libs/gst/check/gstcheck.h:
5473           Fix detection of the check version we're compiling against (would
5474           otherwise break if check goes v0.10.0); correctly report the
5475           name of the failed test again in case of failure, instead of
5476           just 'tf' (fixes #504499).
5477
5478 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5479
5480         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5481         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5482         (gst_base_src_loop), (gst_base_src_set_flushing),
5483         (gst_base_src_change_state):
5484         Allow sending EOS to the source to make it send out an EOS event from
5485         the streaming thread.
5486         Update docs and deprecate the old NULL/READY shutdown method.
5487
5488         * tests/check/libs/basesrc.c: (GST_START_TEST),
5489         (gst_basesrc_suite):
5490         Add unit test for controlled shutdown.
5491
5492 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5493
5494         * docs/design/part-synchronisation.txt:
5495         Small updates.
5496
5497         * gst/gstsegment.c: (gst_segment_set_seek),
5498         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5499         (gst_segment_to_running_time):
5500         The seek format can be different from the segment format when the start
5501         and stop values are not to be updated, when we only do a rate change for
5502         example.
5503
5504         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5505         (gst_segment_suite):
5506         Add a testcase for the rate-only seeks, checking that the format is
5507         correctly ignored when start and stop are not updated.
5508
5509 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5510
5511         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5512
5513         * win32/vs8/grammar.vcproj:
5514         * win32/vs8/libgstcontroller.vcproj:
5515         * win32/vs8/libgstreamer.vcproj:
5516         Fix compilation with VS8 and include some missing files.
5517
5518 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5519
5520         * gst/gsttaglist.c:
5521           Small docs addition: mention that the strings returned by
5522           gst_tag_list_get_string*() are in UTF-8 encoding.
5523
5524 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5525
5526         * Makefile.am:
5527           The check-exports stuff moved to common/win32.mak, so include that.
5528
5529 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5530
5531         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5532         (gst_base_src_perform_seek), (gst_base_src_get_range),
5533         (gst_base_src_set_playing), (gst_base_src_change_state):
5534         Make _wait_playing() not check any variables so that we can call this
5535         function from subclasses. Move the checks elsewhere similar to
5536         _wait_preroll() in basesink.
5537         Add some debugging.
5538         Only signal the LIVE cond when we are going back to PLAYING.
5539
5540 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5541
5542         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5543           Use g_remove() and g_rename(). Check result of g_rename(), and
5544           don't leak the open file descriptor if we error out when writing.
5545
5546         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5547           Must check the return value of close() after writing out the new
5548           registry file.  Sometimes write problems such as out-of-diskspace
5549           are only reported when the file is closed and not already during
5550           the write.  This may have caused partial/broken registry files in
5551           some rare circumstances. Should fix #503675.
5552
5553 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5554
5555         * docs/gst/.cvsignore:
5556         * docs/libs/.cvsignore:
5557         * docs/plugins/.cvsignore:
5558         Ignore files generated by new common/* modifications
5559
5560 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5561
5562         * win32/common/libgstbase.def:
5563           Yes, you can also have a <TAB> if you want.
5564
5565 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5566
5567         * win32/common/libgstbase.def:
5568           Add new basetransform API to win export file.
5569
5570 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5571
5572         * tests/check/gst/gstbin.c:
5573           Adjust the test to the refcount change two days ago.
5574
5575 2007-12-14  David Schleef  <ds@schleef.org>
5576
5577         * docs/faq/getting.xml: Fix typo.
5578
5579 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5580
5581         * docs/libs/gstreamer-libs-sections.txt:
5582         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5583           (gst_base_transform_prepare_output_buffer),
5584           (gst_base_transform_set_gap_aware):
5585         * libs/gst/base/gstbasetransform.h:
5586           API: Add gst_base_transform_set_gap_aware() to control whether
5587           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5588           get buffers with this flag at all. Fixes #503231.
5589
5590 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5591
5592         * libs/gst/base/gstbasesink.c:
5593         * libs/gst/base/gstbasesrc.c:
5594         * libs/gst/base/gstbasetransform.c:
5595           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5596           thread. Correct log message in gstbasesrc.c.
5597
5598 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5599
5600         * gst/gstutils.c: (element_find_unconnected_pad):
5601           Fix possible compiler warning (#503417).
5602
5603 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5604
5605         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5606           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5607
5608 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5609
5610         * tools/gst-inspect.c: (print_element_properties_info):
5611           Add support for GstFraction properties.
5612
5613 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5614
5615         * Makefile.am:
5616           Add check-exports target and run it as part of 'make check'
5617           (see #499140 and #493983).
5618
5619         * gst/gst_private.h:
5620         * gst/gstelementfactory.h:
5621         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5622         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5623           (_priv_gst_in_valgrind):
5624         * gst/gstinfo.h: (GstLogFunction):
5625         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5626           (gst_type_find_register):
5627         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5628           (gst_type_find_factory_get_type):
5629         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5630           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5631           (gst_controller_new_valist), (gst_controller_new_list),
5632           (_gst_controller_dispose), (_gst_controller_class_init):
5633         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5634         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5635           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5636           (gst_object_get_controller), (gst_object_set_controller),
5637           (gst_object_suggest_next_sync), (gst_object_sync_values),
5638           (gst_object_set_control_source), (gst_object_get_control_source),
5639           (gst_object_get_value_arrays), (gst_object_get_value_array),
5640           (gst_object_get_control_rate), (gst_object_set_control_rate):
5641         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5642         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5643           Make some functions that should be static static; rename some
5644           private symbols so that they don't get exported; add some FIXME
5645           comments so we can move accidentally exported functions into
5646           our private section in 0.11.
5647
5648         * win32/common/libgstreamer.def:
5649           Add gst_utils_get_timestamp().
5650
5651 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5652
5653         * gst/gstvalue.c:
5654         * gst/gstvalue.h:
5655           Add more missing "Since:" tags to docs.
5656
5657 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5658
5659         * gst/gstutils.c:
5660           Add mising "Since:" to docs.
5661
5662 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5663
5664         * gst/gstplugin.c:
5665           Include "glib-compat-private.h" to fix the build on system with
5666           glib < 2.10. Fixes #503131.
5667
5668 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5669
5670         * gst/gstutils.c:
5671         * gst/gstutils.h:
5672           Actually its not PURE as it gets the time from elsewhere.
5673
5674 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5675
5676         * docs/gst/gstreamer-sections.txt:
5677         * gst/gstclock.h:
5678         * gst/gstdebugutils.c:
5679         * gst/gstinfo.c:
5680         * gst/gstutils.c:
5681         * gst/gstutils.h:
5682         * libs/gst/base/gstbasesink.c:
5683         * tools/gst-launch.c:
5684           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5685           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5686           Thanks Tim for spotting.
5687           API: gst_util_get_timestamp
5688
5689 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5690
5691         * configure.ac:
5692           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5693
5694 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5695
5696         * gst/gststructure.c: (gst_structure_validate_name),
5697           (gst_structure_new_valist), (gst_structure_parse_value),
5698           (gst_structure_from_string):
5699           Don't crash in _from_string() if the structure name is not valid
5700           (fixes #501560).  Allow structure names to start with a number
5701           again (this apparently broke the ubuntu codec installer).
5702
5703         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5704           (GST_START_TEST):
5705           Add unit test for the crash; update unit tests for new behaviour.
5706
5707 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5708
5709         * gst/gstutils.c:
5710         Clarify gst_element_get_compatible_pad() documentation.
5711         Fixes #500919.
5712
5713 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5714
5715         * tests/check/Makefile.am:
5716           Don't forget to dist {gst,libs}/struct_hppa.h.
5717
5718 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5719
5720         * libs/gst/base/gstbasesink.c:
5721           Use new API to get elapsed time.
5722
5723 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5724
5725         * gst/gstdebugutils.c:
5726         * gst/gstinfo.c:
5727           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5728
5729         * tools/gst-launch.c:
5730           Use new API to get elapsed time.
5731
5732 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5733
5734         * docs/gst/gstreamer-sections.txt:
5735         * gst/gstclock.h:
5736         * gst/gstdebugutils.c:
5737         * gst/gstinfo.c:
5738           Rename new API + ChangeLog surgery to remove old name from last entry..
5739
5740 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5741
5742         * docs/gst/gstreamer-sections.txt:
5743         * gst/gstclock.h:
5744         * gst/gstdebugutils.c:
5745         * gst/gstinfo.c:
5746           Now hide the different clock stuff behind a macro.
5747
5748 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5749
5750         * configure.ac:
5751         * gst/gstdebugutils.c:
5752         * gst/gstinfo.c:
5753           Apply the posix-timer check from #361155. Conditionally use the posix
5754           timer for logging. This gives better timestamp precission, less
5755           overhead and no ntp jitter.
5756
5757 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5758
5759         * gst/gstminiobject.c: (gst_mini_object_get_type),
5760         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5761         (gst_mini_object_finalize), (gst_mini_object_copy),
5762         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5763         (gst_mini_object_replace), (param_mini_object_validate),
5764         (gst_param_spec_mini_object_get_type):
5765         Some cleanup and checking against invalid function parameters.
5766
5767 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5768
5769         * docs/gst/gstreamer-sections.txt:
5770         * gst/gstclock.h:
5771         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5772         (gst_systemclock_suite):
5773         Start merging in the easy bits of #361155, the monotonic clock patch.
5774         This one adds a few handy macros with docs and a testsuite.
5775
5776 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5777
5778         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5779         Be a bit smarter when seeking, like, don't try to do a seek when it's
5780         not needed. This avoids errors when the file is not seekable.
5781         Fixes #499771.
5782
5783 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5784
5785         * docs/gst/gstreamer-docs.sgml:
5786         * docs/gst/gstreamer-sections.txt:
5787         * docs/gst/gstreamer.types.in:
5788         * gst/Makefile.am:
5789         * gst/gst.h:
5790         * gst/gstpreset.c:
5791         * gst/gstpreset.h:
5792         * plugins/elements/gstqueue.c:
5793           Due to popular request remove preset interface again. :-(.
5794
5795 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5796
5797         * tools/gst-inspect.c:
5798           Print 'default value' for enums and flags too.
5799
5800 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5801
5802         * docs/random/ensonic/profiling.txt:
5803           More ideas.
5804
5805         * gst/gstbin.c:
5806           Fix typo and give better log output.
5807
5808         * gst/gstdebugutils.c:
5809         * gst/gstdebugutils.h:
5810           More ideas, make graphs a bit smaller and fix param name in macro.
5811
5812 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5813
5814         * gst/gstpreset.c:
5815           Try harder to use the return value from fgets().
5816
5817 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5818
5819         * gst/gstpreset.c:
5820           For theses two fgets we handle the error below.
5821
5822 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5823
5824         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5825         Only send upstream events upstream. Fixes #498746.
5826
5827 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5828
5829         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5830
5831         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5832         (gst_identity_init), (gst_identity_transform_ip),
5833         (gst_identity_set_property), (gst_identity_get_property):
5834         * plugins/elements/gstidentity.h:
5835         Add property to disable handoff signal emission. Fixes #498694.
5836         API: GstIdentity::signal-handoffs
5837
5838 2007-11-21  Julien Moutte  <julien@fluendo.com>
5839
5840         * docs/faq/gst-uninstalled: Yet another missing library for the
5841         uninstalled script (fft)
5842
5843 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5844
5845         * docs/faq/developing.xml:
5846         Add a question about how to submit new translations.
5847
5848         * docs/random/release:
5849         Update the contact email address for the Translation Project
5850
5851         * plugins/elements/gstfdsrc.c:
5852         The parent_class for fdsrc is pushsrc, not GstElement.
5853
5854 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5855
5856         * gst/gstpreset.c:
5857           Plug a leak and fix saving.
5858
5859 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5860
5861         * docs/gst/gstreamer-sections.txt:
5862         Add new gst_preset__get_property_names() function to the docs
5863         to fix the build.
5864
5865 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5866
5867         * gst/gstpreset.c:
5868         * gst/gstpreset.h:
5869           Change _get_preset_names API to return a strv with copies. Add
5870           _get_property_names to allow implementations to filter and provide
5871           good default implementation.
5872
5873 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5874
5875         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5876         script (sdp).
5877
5878 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5879
5880         * gst/gstpreset.c:
5881           More cleanups, docs, and TODOs from comments that now slowly come in.
5882
5883 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5884
5885         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5886         search path.
5887
5888 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5889
5890         * gst/gstpreset.c:
5891           Fix bogus warning and make the property type specific code more
5892           similar.
5893
5894 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5895
5896         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5897         it build on OS X.
5898
5899 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5900
5901         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5902         (gst_bin_add_func), (gst_bin_remove_func),
5903         (gst_bin_change_state_func), (gst_bin_continue_func):
5904         Change email, cleanups add some more debug and comments.
5905         Also set bus and clock on new elements when the pipeline was in error.
5906
5907 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5908
5909         * gst/gstbin.c:
5910         * gst/gstdebugutils.c:
5911           Fix build with --disable-gst-debug. Fixes #497859.
5912           Spotted by Sameer Naik.
5913
5914 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5915
5916         * gst/gstevent.c:
5917           Little documentation improvment.
5918
5919         * gst/gstpreset.c:
5920           More TODO cleanups. Remove c++ comments.
5921
5922         * libs/gst/controller/gstcontroller.c:
5923           Add TODO and use quark from static string.
5924
5925         * tests/check/gst/gstmessage.c:
5926         * tests/check/gst/gststructure.c:
5927           Use quark from static string.
5928
5929 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5930
5931         * gst/gstpreset.c:
5932           Add some comments and TODOs.
5933
5934         * gst/gstpreset.h:
5935           Add padding for future changes.
5936
5937         * plugins/elements/gstqueue.c:
5938           Implement the iface.    
5939
5940 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5941
5942         * docs/gst/gstreamer-docs.sgml:
5943         * docs/gst/gstreamer-sections.txt:
5944         * docs/gst/gstreamer.types.in:
5945         * gst/Makefile.am:
5946         * gst/gst.h:
5947         * gst/gstpreset.c:
5948         * gst/gstpreset.h:
5949           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5950
5951 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5952
5953         * configure.ac:
5954
5955         Back to CVS
5956
5957 === release 0.10.15 ===
5958
5959 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5960
5961         * configure.ac:
5962           releasing 0.10.15, "October"
5963
5964 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5965
5966         * win32/vs6/libgstreamer.dsp:
5967         Convert line endings back to DOS.
5968
5969 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5970
5971         * docs/design/draft-tagreading.txt:
5972         * docs/random/ensonic/profiling.txt:
5973         Update fast tagreading draft and performance profiling ideas.
5974
5975 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5976
5977         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5978         Don't hold the object lock when unreffing a buffer because it could
5979         cause a deadlock when the finalize function wants to grab the object
5980         lock too. Fixes #495133.
5981
5982 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5983
5984         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5985         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5986         Also accumulate time correctly when doing reverse playback. Fixes
5987         #488201,
5988         When converting to running and stream time, use default values for
5989         start/stop/time/accum when comparing different formats. Fixes #494245.
5990
5991         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5992         Do running/stream time in TIME format.
5993
5994         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5995         (gst_segment_suite):
5996         2 new unit tests for segment accumulation.
5997
5998 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5999
6000         * gst/gst.c: (init_pre):
6001         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6002           (_gst_debug_bin_to_dot_file):
6003           Move getenv() back into gst_init, so everyone can live happily
6004           ever after. Make sure the symbol isn't exported though.
6005
6006 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6007
6008         Patch by: Sebastien Moutte  <sebastien moutte net>
6009
6010         * win32/common/gstenumtypes.c:
6011         * win32/common/gstenumtypes.h:
6012           Update enum types.
6013
6014         * win32/vs6/libgstreamer.dsp:
6015           Update vs6 project files (#494343).
6016
6017 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6018
6019         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6020         (gst_base_src_perform_seek), (gst_base_src_default_event),
6021         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6022         (gst_base_src_activate_pull):
6023         Unify flushing code, remove some old unlock code that is no longer used.
6024         Take the streaming lock when seeking to avoid races. Fixes #492729.
6025         Added some more comments.
6026
6027 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6028
6029         * gst/gst.c: (_gst_disable_segtrap):
6030           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6031           we can use gst_segtrap_is_enabled() there now that we have that API.
6032           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6033           to do the getenv here (and export the variable).
6034
6035         * gst/gstdebugutils.c: (debug_dump_element),
6036           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6037           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6038
6039         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6040           (gst_debug_log_default):
6041           Rename _gst_info_start_time to priv_gst_info_start_time so it
6042           doesn't get exported (was never in any header).
6043
6044         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6045           (gst_plugin_loading_mutex):
6046           Make static mutex gst_plugin_loading_mutex really static (was never
6047           in any header), and use gst_segtrap_is_enabled() instead of
6048           _gst_disable_segtrap.
6049
6050         * gst/gsttrace.c: (_gst_trace_default):
6051           Make local _gst_trace_default static (was never in any header).
6052
6053 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6054
6055         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6056
6057         * win32/common/libgstbase.def:
6058         * win32/common/libgstcontroller.def:
6059         * win32/common/libgstdataprotocol.def:
6060         * win32/common/libgstnet.def:
6061         * win32/common/libgstreamer.def:
6062           Add more missing symbols, remove some duplicates, and sort
6063           as the 'sort' command sorts it (partially fixes #493983).
6064
6065 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6066
6067         * gst/gstelement.c: (gst_element_set_state_func):
6068         Only change the state cookie if a different state was set on the
6069         element. See #492729.
6070
6071 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6072
6073         * gst/gstvalue.c:
6074           Remove unused and uninitialised type variables that were still
6075           exported for some reason (they were never in any header files
6076           though).
6077
6078 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6079
6080         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6081         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6082         (gst_base_sink_event), (gst_base_sink_get_position_last),
6083         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6084         (gst_base_sink_change_state):
6085         Don't try to report a 0 position when we don't know, return -1 and FALSE
6086         instead. This mostly happens when we are prerolling.
6087         Make sure we can report the right position before we post the ASYNC_DONE
6088         message so that a message handler can query position without races.
6089
6090         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6091         (async_done_handoff), (async_done_func), (send_buffer),
6092         (async_done_eos_func), (gst_sinks_suite):
6093         Add two tests for the above.
6094
6095 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6096
6097         * MAINTAINERS:
6098         Update with new email address.
6099
6100         * docs/design/part-TODO.txt:
6101         Add some more info about future pad-block and negotiation changes.
6102
6103         * docs/design/part-buffering.txt:
6104         Add some ideas about buffering reporting.
6105
6106 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6107
6108         * tests/check/gst/gstobject.c:
6109         Disable silly racy test that always fails on this combination of CPU
6110         and kernel.
6111
6112 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6113
6114         Patch by: Murray Cumming  <murrayc@murrayc.com>
6115
6116         * gst/gstobject.c:
6117           Corrected the registration of the parent-set and parent-unset
6118           signals: The parameter is a GstObject, not a GObject (#493134).
6119
6120 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6121
6122         * gst/gst_private.h:
6123         * gst/gstbuffer.h:
6124         * gst/gstevent.h:
6125         * gst/gstformat.h:
6126         * gst/gstmessage.h:
6127         * gst/gstplugin.h:
6128         * gst/gstquery.h:
6129         * gst/gsttaglist.h:
6130         * gst/gstvalue.h:
6131           Move declaration of private _gst_foo_initialize() functions into
6132           our private header file where they should have been all along.
6133
6134 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6135
6136         * docs/plugins/gstreamer-plugins-sections.txt:
6137         * gst/gstdebugutils.h:
6138         * gst/gstxml.h:
6139         * plugins/elements/gstqueue.c:
6140           gtk-doc fixes; trailing-comma-in-enum fix.
6141
6142 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6143
6144         * gst/gst.c: (gst_deinit):
6145           Clean up on deinit (not the external ones though, doesn't seem to be
6146           needed for some reason).
6147
6148 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6149
6150         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6151           Remove __declspec(dllimport) for MSVC that was copied over into core
6152           from a plugin, obviously without ever having been tested (note the
6153           single underscore in _declspec in the initial commit), and that doesn't
6154           really make sense.  See #492077.
6155
6156 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6157
6158         * gst/gst.c: (init_post):
6159         * gst/gstevent.c: (_gst_event_initialize):
6160         * gst/gstquery.c: (_gst_query_initialize):
6161         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6162           g_type_class_ref() other types as well, see #349410 and #64764.
6163
6164         * gst/gstbuffer.c: (_gst_buffer_initialize):
6165         * gst/gstmessage.c: (_gst_message_initialize):
6166           Simplify existing g_type_class_ref().
6167
6168 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6169
6170         * gst/gstformat.c: (_gst_format_initialize):
6171           g_type_class_ref() our GstFormat type to make sure we avoid the
6172           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6173           bug #64764. Should fix intermittent tee unit test failures (#474823).
6174
6175 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6176
6177         * tests/check/elements/tee.c: (test_num_buffers):
6178           Simplify, simplify, simplify - or not.  Rewrite unit test
6179           not to use gst_parse_launch(); allow N sub-streams. Increasing
6180           the number of sub-streams seems to reproduce #474823 more easily.
6181
6182 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6183
6184         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6185
6186         * gst/gsttrace.c:
6187         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6188         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6189         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6190           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6191           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6192           so use _pipe() directly (#492077).
6193
6194         * win32/common/dirent.c: (_treaddir):
6195           Add a couple of casts to make it build without warnings with MSVC.
6196
6197         * win32/common/libgstreamer.def:
6198           Add some more symbols that need to be exported.
6199
6200 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6201
6202         * tests/examples/metadata/read-metadata.c: (message_loop):
6203           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6204           arriving in a second or third tag message are added to
6205           the tag list as well.
6206
6207 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6208
6209         * libs/gst/base/gstbasesrc.c:
6210           Its "Since:" and not "@Since:". And remove an superflous cast.
6211
6212 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6213
6214         * docs/libs/gstreamer-libs-sections.txt:
6215         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6216         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6217         (gst_base_sink_get_property), (gst_base_sink_render_object),
6218         (gst_base_sink_preroll_object),
6219         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6220         (gst_base_sink_change_state):
6221         * libs/gst/base/gstbasesink.h:
6222         Add a new last-buffer property that contains the last buffer used in
6223         basesink for preroll or rendering. useful for making snapshots.
6224         API: gst_base_sink_get_last_buffer()
6225         API: GstBaseSink::last-buffer
6226
6227 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6228
6229         * docs/gst/running.xml:
6230         * gst/gst.c:
6231         * gst/gstdebugutils.c:
6232         * gst/gstdebugutils.h:
6233         * tools/gst-launch.c:
6234           Improve bin graph dumping, by using the envvar to specify a path.
6235           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6236
6237 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6238
6239         * plugins/elements/gsttypefindelement.c:
6240           (gst_type_find_element_handle_event),
6241           (gst_type_find_element_activate):
6242           Post special error message if we can't determine the type of a stream
6243           because it's empty.
6244
6245 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6246
6247         * docs/gst/running.xml:
6248         * gst/gstdebugutils.c:
6249           Document new env-var. Add one log-line after dumpng a graph.
6250
6251 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6252
6253         * configure.ac:
6254           Ugly hack to put the (recently removed and non-portable, apparently)
6255           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6256           GNU ld, because without that 'make check' fails miserably on my debian
6257           stable box.  Someone with more knowledge of linker intricacies and
6258           portability issues than me fix this properly please.
6259
6260 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6261
6262         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6263         Reset last seen position after flushing so that we don't report the old
6264         position anymore.
6265
6266 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6267
6268         * gst/gstelementfactory.c: (gst_element_register):
6269         * gst/gsturi.h:
6270         Patch from Alessandro Decina adding get_type_full and
6271         get_protocols_full private vfuncs to the URIHandler interface
6272         to allow bindings to support creating URI handlers. 
6273         Partially fixes: #339279
6274         API: GstURIHandlerInterface::get_type_full
6275         API: GstURIHandlerInterface::get_protocols_full
6276
6277 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6278
6279         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6280         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6281         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6282         Make it so that pads are considered linked until a buffer is pushed
6283         and discovered otherwise. This avoids problems with decodebin2 hanging
6284         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6285         case.
6286
6287         Make sure we lock the multiqueue when updating the max-size properties.
6288         
6289         Fix a crash on Solaris in a debug statement in get_request_pad that
6290         passes a NULL string to GST_DEBUG. 
6291
6292         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6293         (run_output_order_test):
6294         Fix the test to allow the first buffer on not-linked pads to come out
6295         of sequence while multiqueue discovers that they are not-linked.
6296
6297 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6298
6299         * configure.ac:
6300         * libs/gst/check/Makefile.am:
6301         Use a custom export symbol regex for libgstcheck, as it needs
6302         to export symbols that don't match the standard GStreamer gst_*
6303         pattern, and  --export-dynamic is not portable (only works on 
6304         GNU ld)
6305
6306         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6307         (gst_check_setup_sink_pad):
6308         Make sure to pass a message parameter to the fail_* macros.
6309
6310         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6311         Fix some compiler warnings.
6312
6313 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6314
6315         * tests/check/gst/gststructure.c: (test_to_string):
6316           Disable test that checks that white spaces are not allowed
6317           in structure names or field names, since we need to
6318           support that for now for backwards compatibility reasons.
6319
6320 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6321
6322         * docs/gst/gstreamer-sections.txt:
6323         * gst/gsttaglist.c:
6324         * gst/gsttaglist.h:
6325           API: add GST_TAG_ARTIST_SORTNAME
6326           API: add GST_TAG_ALBUM_SORTNAME
6327           API: add GST_TAG_TITLE_SORTNAME
6328           Add tag variants for sorting (#414539).
6329
6330 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6331
6332         * gst/gststructure.c:
6333           Also allow white space for names so we don't break
6334           backwards compatibility.
6335
6336 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6337
6338         * docs/design/part-TODO.txt:
6339         * docs/design/part-segments.txt:
6340         * docs/design/part-streams.txt:
6341         Small updates.
6342
6343 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6344
6345         * docs/gst/gstreamer-sections.txt:
6346          Fixed documentation from my previous commit (added new API add
6347          gst_value_set_structure(), add gst_value_get_structure() and
6348          GST_VALUE_HOLDS_STRUCTURE).
6349
6350 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6351
6352         * gst/gstdebugutils.c:
6353           Reflow code to fix uninitialized variable warning.
6354
6355 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6356
6357         * gst/gstcaps.c: (gst_caps_to_string),
6358         (gst_caps_from_string_inplace):
6359         * gst/gststructure.c: (gst_structure_get_abbrs),
6360         (gst_structure_to_string), (gst_structure_from_string):
6361         * gst/gstvalue.c: (gst_value_set_structure),
6362         (gst_value_get_structure), (gst_value_serialize_structure),
6363         (gst_value_deserialize_structure), (_gst_value_initialize):
6364         * gst/gstvalue.h:
6365         * tests/check/gst/gststructure.c: (GST_START_TEST),
6366         (gst_structure_suite):
6367         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6368          Added GstStructure to gst_value_table and its related functions.
6369          Changed gst_structure_to_string to print ';' in the end.
6370          Changed gst_caps_to_string to not print ';' beteween its
6371          fields (structures) anymore and remove the lastes ';' from latest
6372          structure. Now it is possible to have nested structures.
6373          In addition, backward compatibilty is assured by accepting '\0' as
6374          end delimiter. Fixes: #487969.
6375          API: add gst_value_set_structure()
6376          API: add gst_value_get_structure()
6377          API: add GST_VALUE_HOLDS_STRUCTURE
6378
6379 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6380
6381         * gst/gstbus.c:
6382           When no GSource callback has been set up, tell developer
6383           to use a function that actually exists.
6384
6385 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6386
6387         * docs/gst/gstreamer-sections.txt:
6388         * gst/Makefile.am:
6389         * gst/gst.c:
6390         * gst/gst.h:
6391         * gst/gstdebugutils.c:
6392         * gst/gstdebugutils.h:
6393         * gst/gstinfo.c:
6394         * gst/gstinfo.h:
6395         * tools/gst-launch.c:
6396           Allow dumping pipelines as dot graphs. Fixes #456573.
6397
6398 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6399
6400         * gst/gststructure.c:
6401           Allow '+' as well, it can be part of media or mime types
6402           such as image/svg+xml.
6403
6404 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6405
6406         * docs/gst/gstreamer-sections.txt:
6407         * gst/gstbus.c:
6408         * gst/gstbus.h:
6409           API: add gst_bus_pop_filtered
6410           API: add gst_bus_timed_pop_filtered
6411           Two new functions for waiting for specific message types on the
6412           bus for a specified amount of time without iterating any main
6413           loops or main contexts.
6414
6415         * tests/check/gst/gstbus.c:
6416           Some tests for the new functions.
6417
6418 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6419
6420         * docs/libs/gstreamer-libs-sections.txt:
6421           Make gtk-doc ignore stuff it should ignore.
6422
6423 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6424
6425         * libs/gst/check/gstcheck.c:
6426         * libs/gst/check/gstcheck.h:
6427           Allow runtime selection of unit tests to run via the GST_CHECKS
6428           environment variable (test case function names, comma-separated).
6429
6430 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6431
6432         * gst/gststructure.c:
6433         * tests/check/gst/gststructure.c:
6434           Revert serialisation change and constrain structure-names after
6435           consensus on irc. Update api documentation to reflect the change.
6436
6437 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6438
6439         * gst/gststructure.c:
6440           Improve serialization and fix tests.
6441
6442         * tests/check/gst/gststructure.c:
6443           Add another test that covers why I actually did the previous structure
6444           change.
6445
6446 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6447
6448         * tools/gst-inspect.c: (print_element_info):
6449         Don't crash when inspecting an element.
6450
6451 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6452
6453         * tests/check/gst/gststructure.c:
6454           Add unit test for escaping of structure name when serialising
6455           and deserialising to/from strings.
6456
6457 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6458
6459         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6460         (gst_single_queue_new):
6461         * plugins/elements/gstqueue.c: (gst_queue_init),
6462         (gst_queue_push_one):
6463         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6464         upstream is tricked into thinking it can suggest a format downstream
6465         while downstream does not support that format. The real problem is that
6466         core calls acceptcaps when pushing a buffer with new caps, for which we
6467         do a little workaround by setting the caps on the srcpad ourselves
6468         before pushing the buffer (until this is figured out). Fixes #486758.
6469
6470 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6471
6472         * gst/gststructure.c:
6473         * gst/gstvalue.c:
6474           Add some more comments and debug output. Quote structure name to fix
6475           deserialisation of some strings.
6476
6477 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6478
6479         * gst/gstbuffer.h:
6480           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6481           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6482
6483 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6484
6485         * tools/gst-inspect.c:
6486           Save approx. 400 1 byte allocs when printing. Use API to acces element
6487           details.
6488
6489         * tools/gst-run.c:
6490           Avoid a strdup.
6491
6492         * tools/gst-xmlinspect.c:
6493           Use API to acces element details.
6494
6495 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6496
6497         * gst/gstinfo.c:
6498           Fix some spelling errors.
6499
6500 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6501
6502         * gst/gstbin.c: (bin_handle_async_done):
6503         Correctly set the next state if all of our async children commited their
6504         state. This makes sure we can actually cancel the state change in
6505         progress. Fixes a regression in Rhythmbox when seeking.
6506
6507 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6508
6509         * gst/gstbin.c:
6510           Don't shadow local variable.
6511
6512         * gst/gstinfo.c:
6513           Don't shadow global function name.
6514
6515 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6516
6517         * gst/gstelementfactory.c:
6518         * gst/gstpluginfeature.c:
6519         * gst/gstpluginfeature.h:
6520         * gst/gstregistrybinary.c:
6521         * gst/gstregistryxml.c:
6522         * gst/gsttypefind.c:
6523           Use already-interned string for the private GstPluginFeature
6524           plugin_name field.
6525
6526 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6527
6528         * docs/libs/gstreamer-libs-sections.txt:
6529           Add new API to docs; fixes the build.
6530
6531 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6532         
6533         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6534
6535         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6536         (gst_base_sink_event):
6537         * libs/gst/base/gstbasesink.h:
6538         Add function to wait for EOS, subclasses can use this to correctly wait
6539         for devices to drain before performing the EOS logic. Fixes #485343.
6540         API: gst_base_sink_wait_eos()
6541
6542 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6543
6544         * gst/gstplugin.h:
6545           Cast description string constants in GST_PLUGIN_DEFINE macros
6546           to a (gchar*) to make C++ code using these macros compile
6547           without warning with g++-4.2 (see #462737).  Even if slightly
6548           ugly, this seems preferable to putting the description strings
6549           into the GLib quark table or making the structure member a
6550           const gchar * and doing casts in core code that allocs and
6551           frees these strings, or requiring a cast in the C++ code.
6552
6553 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6554
6555         * gst/gstinfo.h:
6556           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6557           to print the entire class/function signature into the log
6558           file for C++ code.  This only affects C++ code, for C code
6559           everything remains the same.
6560
6561 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6562
6563         * gst/gstbin.c: (remove_from_queue):
6564         Work around a problem with pipelines containing (semi)loops until a
6565         proper, more complicated solution is ready. See #475455.
6566
6567 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6568
6569         * gst/gstplugin.c:
6570         * gst/gstplugin.h:
6571         * gst/gstregistrybinary.c:
6572         * gst/gstregistryxml.c:
6573           Put more strings into the GLib quark table. No need to keep
6574           a hundred-something copies of identical version strings,
6575           license strings, package name strings and package origin
6576           strings around. 
6577
6578 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6579
6580         * docs/manual/advanced-dataaccess.xml:
6581           Don't imply that it's okay to unconditionally change
6582           buffer data or buffer metadata in a pad probe callback,
6583           and a bunch of other comments. Fixes #430031.
6584
6585 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6586
6587         * win32/common/gstenumtypes.c:
6588         * win32/common/gstenumtypes.h:
6589         * win32/common/gstversion.h:
6590           Update generated files.
6591
6592 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6593
6594         * docs/manual/advanced-autoplugging.xml:
6595           Prefix section with broken code with a warning (see #342432).
6596
6597 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6598
6599         * docs/manual/appendix-integration.xml:
6600         * docs/manual/basics-init.xml:
6601           Call g_thread_init() before g_option_context_new() to
6602           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6603
6604 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6605
6606         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6607         (gst_base_sink_queue_object_unlocked),
6608         (gst_base_sink_queue_object), (gst_base_sink_event),
6609         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6610         When we received EOS and are waiting for when to post the EOS message,
6611         our state is prerolled and we should not return ASYNC.
6612         Reorganize some code paths to implement this behavior.
6613
6614         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6615         (gst_sinks_suite):
6616         Add unit test to verify above EOS fix.
6617
6618 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6619
6620         * plugins/elements/gsttypefindelement.c:
6621         (gst_type_find_element_have_type), (gst_type_find_element_init),
6622         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6623         Move detecting the input caps of the sinkpad to the setcaps function.
6624         This allows us to update the output caps when we receive new input caps
6625         instead of always using the first detected caps.
6626
6627 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6628
6629         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6630         (gst_base_sink_get_position):
6631         Don't try to preroll non-async elements after a flush.
6632         Subtract latency form clock times when reporting position.
6633
6634 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6635
6636         * gst/gstpad.c: (gst_pad_pause_task):
6637         * gst/gstutils.c:
6638         Small comment and documentation update.
6639
6640 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6641
6642         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6643         (gst_base_src_set_live), (gst_base_src_is_live),
6644         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6645         (gst_base_src_default_event), (gst_base_src_wait),
6646         (gst_base_src_do_sync), (gst_base_src_get_range),
6647         (gst_base_src_pad_get_range), (gst_base_src_loop),
6648         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6649         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6650         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6651         (gst_base_src_change_state):
6652         Rework the locking of basesrc in a similar fashion to basesink. We
6653         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6654         us to handle live sources and semi live ones much better.
6655         Simplify flushing.
6656         Fix unlocking when seeking, shutting down and pausing in live sources.
6657
6658 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6659
6660         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6661         Fix compilation again.
6662
6663 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6664
6665         * gst/gstelement.c:
6666           Use meaningful categories for the logs to clean the default one.
6667
6668 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6669
6670         * tests/check/pipelines/cleanup.c:
6671           Print message name and not just number.
6672
6673 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6674
6675         * docs/design/draft-tagreading.txt:
6676           Add some more thoughts.
6677
6678 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6679
6680         * tests/check/pipelines/simple-launch-lines.c:
6681           Print message name and not just number.
6682
6683 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6684
6685         * libs/gst/base/gsttypefindhelper.c:
6686           Speedup typefinding. This is work in progress (see #459862).
6687
6688 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6689
6690         * gst/gstplugin.c:
6691           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6692           Spotted by Josep Torra Valles <josep@fluendo.com>.
6693
6694 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6695
6696         * gst/gstclock.h:
6697           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6698           field has moved to GstObject.
6699
6700 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6701
6702         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6703         (gst_base_src_get_range), (gst_base_src_change_state):
6704         Call unlock for live sources so that they can't get stuck in _create and
6705         produce a buffer before they are set back to PLAYING.
6706
6707 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6708
6709         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6710         (gst_queue_locked_dequeue):
6711         Comment the segment-related code... in the PROPER function.
6712         See #482147 and my commit from yesterday.
6713
6714 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6715
6716         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6717         Also initialize the counter that calculates the first timestamp on a
6718         buffer correctly for non-live sources.
6719
6720 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6721
6722         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6723         Disable code that's breaking the current-time-level reporting.
6724         See #482147
6725
6726 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6727
6728         * docs/gst/gstreamer-sections.txt:
6729         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6730         as they shouldn't show up. Fixes the docs build.
6731
6732 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6733         
6734         * gst/gstinfo.h:
6735         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6736         Define M_PI which is used in files which are including gstinfo.h. 
6737         VS6 includes doesn't define it.
6738         * win32/common/libgstbase.def:
6739         * win32/common/libgstcontroller.def:
6740         * win32/common/libgstreamer.def:
6741         Add new exported functions and variables.
6742         * win32/vs6/libgstcontroller.dsp:
6743         * win32/vs6/libgstreamer.dsp:
6744         Update the list of files to build.
6745         
6746 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6747
6748         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6749
6750         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6751         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6752         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6753         Improve debugging. Fixes #480858.
6754
6755 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6756
6757         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6758
6759         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6760         First patch of code cleanups, use the macros and right arguments in the
6761         macros to signal and lock the queue. See #480858.
6762
6763 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6764
6765         * gst/gstbus.c: (poll_func):
6766         Improve debugging when dealing with _poll().
6767
6768 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6769
6770         * gst/gstregistryxml.c:
6771           Fix memory leak I introduced a few days ago.
6772
6773 2007-09-26  Michael Smith <msmith@fluendo.com>
6774
6775         * gst/gstbuffer.c: (gst_buffer_finalize):
6776           Make it once again possible to free GstBuffers in the default
6777           build.
6778           The poisoning scribbles on parts of the miniobject we need in
6779           order to free it.
6780           Fixes #480341
6781
6782 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6783
6784         * docs/gst/gstreamer-sections.txt:
6785         * gst/gsttaglist.c:
6786         * gst/gsttaglist.h:
6787         API: add GST_TAG_COMPOSER, fixes #459809.
6788
6789 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6790
6791         * gst/gstplugin.c:
6792         * gst/gstplugin.h:
6793         Add the 3-clause BSD license and the MIT/X11 license to the license
6794         list. Fixes #479784.
6795
6796 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6797
6798         * docs/faq/getting.xml:
6799           Add Q+A about different GStreamer versions (#364056).
6800
6801 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6802
6803         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6804         (gst_base_sink_event), (gst_base_sink_change_state):
6805         Return correct gboolean from query function.
6806
6807 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6808
6809         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6810         (gst_base_sink_event), (gst_base_sink_query),
6811         (gst_base_sink_change_state):
6812         Simplify latency query.
6813         When not synchronizing, we can report latency without querying the peer
6814         element.
6815
6816 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6817
6818         * gst/gstobject.h:
6819         * gst/gstvalue.c:
6820         Fix small typos in the docs.
6821
6822 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6823
6824         * docs/design/draft-latency.txt:
6825         * docs/design/draft-push-pull.txt:
6826         * docs/design/draft-tagreading.txt:
6827         * docs/design/part-MT-refcounting.txt:
6828         * docs/design/part-activation.txt:
6829         * docs/design/part-block.txt:
6830         * docs/design/part-element-source.txt:
6831         * docs/design/part-events.txt:
6832         * docs/design/part-gstbin.txt:
6833         * docs/design/part-gstelement.txt:
6834         * docs/design/part-gstobject.txt:
6835         * docs/design/part-gstpipeline.txt:
6836         * docs/design/part-messages.txt:
6837         * docs/design/part-preroll.txt:
6838         * docs/design/part-push-pull.txt:
6839         * docs/design/part-qos.txt:
6840         * docs/design/part-query.txt:
6841         * docs/design/part-scheduling.txt:
6842         * docs/design/part-seeking.txt:
6843         * docs/design/part-segments.txt:
6844         * docs/design/part-states.txt:
6845         Documentation updates and typo fixes.
6846
6847 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6848
6849         * plugins/elements/gstfakesink.c:
6850           Add some debug text to error message to indicate that
6851           we errored out on request.
6852
6853         * tools/gst-launch.c:
6854           When the state change to PLAYING fails, check for an
6855           error message on the bus and print it.
6856
6857 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6858
6859         translated by: Jorge González González <aloriel@gmail.com>
6860
6861         * po/LINGUAS:
6862         * po/es.po:
6863           Added Spanish translation.
6864
6865 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6866
6867         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6868         Fix printf arguments.
6869
6870 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6871
6872         * tests/check/generic/states.c:
6873           Improved state change unit test.
6874
6875 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6876
6877         * gst/gstbin.h:
6878           Move priv to the right place.
6879
6880         * gst/gstsystemclock.c:
6881           Add FIXME: and improve log.
6882
6883         * tests/check/Makefile.am:
6884         * tests/examples/manual/Makefile.am:
6885           Work with all types of registries.
6886
6887 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6888
6889         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6890         Don't unref the event after pushing it. Fixes #478401.
6891
6892 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6893
6894         * .cvsignore:
6895         * tests/examples/manual/.cvsignore:
6896           Ignore registries in any format.
6897
6898 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6899
6900         * gst/glib-compat-private.h:
6901           Add compatibility macro for g_intern_string() for
6902           GLib-2.8 (any reason we can't just bump the
6903           requirement to at least 2.10?)
6904
6905         * gst/gstpadtemplate.h:
6906         * gst/gstelementfactory.c:
6907         * gst/gstregistryxml.c:
6908         * gst/gstregistrybinary.c:
6909           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6910           up the internal code accordingly.  This shouldn't be a problem, since
6911           there is no reason external code could ever assume the string in such
6912           a structure is dynamically allocated unless it did that itself;  the
6913           use of g_strdup() is private to element factories.  The new code also
6914           saves some memory by putting pad template name strings into the GLib
6915           quark table instead of allocating them dynamically.
6916           Declaring this field constant fixes warnings with g++-4.2 when using
6917           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6918
6919 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6920
6921         * gst/gstelementfactory.c:
6922           Release static caps. Fixes #475723.
6923
6924 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6925
6926         * gst/gstinfo.c:
6927         * gst/gstinfo.h:
6928           Make some internal API take const gchar * instead of just
6929           gchar * to avoid compiler warnings with g++-4.2.2 when
6930           passing string constants (partially fixes #478092).
6931
6932 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6933
6934         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6935         A latency query fails when one of the sinks fail.
6936
6937         * gst/gstelement.c: (gst_element_set_base_time):
6938         Improve debugging.
6939
6940 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6941
6942         * gst/gstbin.c: (gst_bin_continue_func):
6943         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6944         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6945         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6946
6947         Fix minor compilation warnings shown with Forte.
6948
6949 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6950
6951         * plugins/elements/gstqueue.c: (apply_buffer),
6952         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6953         Measure queue level based on the diff between head and tail timestamps
6954         even when pushing the first buffer.
6955
6956 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6957
6958         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6959         (gst_base_sink_event), (gst_base_sink_change_state):
6960         Sinks that don't preroll can always be queried for the latency.
6961         Don't post ASYNC start when we are not async.
6962
6963 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6964
6965         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6966         (gst_queue_handle_sink_event), (gst_queue_chain),
6967         (gst_queue_push_one), (gst_queue_handle_src_query),
6968         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6969         * plugins/elements/gstqueue.h:
6970         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6971         push more buffers but allow pushing of EOS and NEWSEGMENT.
6972         Add some more debug info here and there. Fixes #476514.
6973
6974 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6975
6976         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6977         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6978         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6979         (gst_base_sink_set_flushing), (gst_base_sink_query),
6980         (gst_base_sink_change_state):
6981         Latency query is allowed after we are prerolled. Introduce a new flag
6982         for this and stop abusing other variables.
6983
6984 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6985
6986         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6987         Push OOB events downstream when we get them in send_event. This allows
6988         the application to insert events in the pipeline.
6989         Add some more comments.
6990
6991 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6992
6993         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6994         (do_bin_latency), (gst_bin_change_state_func):
6995         * gst/gstpipeline.c: (gst_pipeline_change_state):
6996         Move latency query from GstPipeline to GstBin so that we can also
6997         use it when async-handling is enabled on bins.
6998
6999 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7000
7001         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7002         (gst_base_src_do_sync), (gst_base_src_change_state):
7003         Update docs.
7004         Clean up the timestamping and syncing code for pseudo live sources.
7005
7006 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
7007
7008         Patch by: Steve Fink  <sphink gmail com>
7009
7010         * docs/manual/appendix-checklist.xml:
7011           Mention less -R switch in the section about debug output (#474055).
7012
7013 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7014
7015         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7016         Queue can latency to the pipeline up to the configured max size in time.
7017         Report this fact in the latency query.
7018
7019 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7020
7021         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7022
7023         * libs/gst/controller/gstinterpolation.c:
7024         * libs/gst/controller/gstlfocontrolsource.c:
7025         Use gst_guint64_to_gdouble() when converting from a uint64 or
7026         GstClockTime to double to fix the build on win32. Fixes #474371.
7027
7028 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7029
7030         * gst/gstbuffer.c: (gst_buffer_finalize):
7031         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7032         When finalizing a buffer the complete struct is filled with 0xff,
7033         thus making a use of the buffer after the final unref impossible.
7034
7035 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7036
7037         * tests/check/libs/controller.c: (GST_START_TEST):
7038         Use fail_unless_equals_int(a, b) instead of
7039         fail_unless_equals (a == b) to get better output on failures.
7040
7041 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7042
7043         * tests/check/gst/gsturi.c:
7044           Also check for the other file URI variant on win32.
7045
7046 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7047
7048         * gst/gsturi.c: (gst_uri_get_location):
7049           If there's no hostname, we want to return 'c:/foo/bar.txt'
7050           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7051
7052         * tests/check/gst/gsturi.c:
7053           Unit test for the above and a few more things.
7054
7055 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7056
7057         * docs/design/part-live-source.txt:
7058         Add docs on how live sources should timestamp.
7059
7060         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7061         Add some more debug info.
7062         For subclasses that are live and like to sync, add aditional startup
7063         latency to sync time and timestamps so that we timstamp according to the
7064         design doc.
7065
7066 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7067
7068         * gst/gstbuffer.c:
7069           Also do a g_type_class_ref() for the subbuffer type in
7070           the init function.
7071
7072 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7073
7074         * docs/gst/gstreamer-sections.txt:
7075         * gst/gstpad.c: (gst_pad_peer_query):
7076         * gst/gstpad.h:
7077         Add function to perform a query on the peer of a pad.
7078         API: gst_pad_peer_query()
7079
7080 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7081
7082         * tests/check/gst/gstsystemclock.c:
7083           Cleanup the test a little (use gst-logging and not g_message). Improve
7084           test to check if a wait reached the target.
7085
7086 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7087
7088         * docs/libs/gstreamer-libs-sections.txt:
7089           Add new API to docs and fix the build.
7090
7091 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7092
7093         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7094         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7095         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7096         (gst_base_src_get_property), (gst_base_src_do_sync):
7097         * libs/gst/base/gstbasesrc.h:
7098         Add property to make the basesrc timestamp buffers based on the current
7099         running time.
7100         API: GstBaseSrc::do-timestamp
7101         API: gst_base_src_set_do_timestamp()
7102         API: gst_base_src_get_do_timestamp()
7103
7104 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7105
7106         * docs/random/release:
7107           Really make sure translations are up-to-date before
7108           a release (#465010).
7109
7110 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7111
7112         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7113         Always destroy the timer, also in error cases.
7114
7115 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7116
7117         * docs/manual/highlevel-xml.xml:
7118         Fix XML example code. Fixes #472714.
7119
7120 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7121
7122         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7123         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7124         (gst_base_sink_query):
7125         Protect eos and have_preroll with the OBJECT lock so we don't need to
7126         take the PREROLL lock when querying the latency. Fixes #473846.
7127
7128 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7129
7130         * gst/gstelement.c:
7131           Give some log-messages a category.
7132
7133 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7134
7135         * gst/gststructure.c:
7136         (gst_structure_fixate_field_nearest_fraction):
7137         Fix fraction list fixation code. Take the fraction with the smallest
7138         difference with the target instead of the first one in the list.
7139
7140         * tests/check/gst/gststructure.c: (GST_START_TEST),
7141         (gst_structure_suite):
7142         Added test to verify correct fraction list fixation behaviour.
7143
7144 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7145
7146         * win32/common/libgstreamer.def:
7147           Export gst_bus_add_signal_watch too.
7148
7149 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7150
7151         * docs/libs/gstreamer-libs-sections.txt:
7152         Add new methods to docs.
7153
7154         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7155         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7156         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7157         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7158         * libs/gst/base/gstbasesink.h:
7159         Add ts-offset property to fine-tune the synchronisation.
7160         API: GstBaseSink::ts-offset property
7161         API: gst_base_sink_set_ts_offset()
7162         API: gst_base_sink_get_ts_offset()
7163
7164 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7165
7166         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7167         (gst_base_sink_init), (gst_base_sink_set_sync),
7168         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7169         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7170         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7171         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7172         (gst_base_sink_get_property), (gst_base_sink_change_state):
7173         * libs/gst/base/gstbasesink.h:
7174         Add async property to instruct the sink never to inform the parent about
7175         ASYNC state changes, update docs.
7176         Check argument with g_return_* for the public functions.
7177         API: GstBaseSink::async property
7178         API: gst_base_sink_set_async_enabled()
7179         API: gst_base_sink_is_async_enabled()
7180
7181 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7182
7183         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7184         Improve debugging.
7185
7186         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7187         (gst_base_src_default_query), (gst_base_src_wait),
7188         (gst_base_src_do_sync), (gst_base_src_change_state):
7189         Rearrange some code so that we can add support for measuring the 
7190         startup latency.
7191
7192 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7193
7194         * docs/random/ensonic/dynlink.txt:
7195           More thoughs on this.
7196
7197         * plugins/elements/gstcapsfilter.c:
7198           Add bugzilla ticket number to FIXME comment.
7199
7200 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7201
7202         * docs/design/part-TODO.txt:
7203         * docs/design/part-block.txt:
7204         Update some docs.
7205
7206 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7207
7208         * gst/Makefile.am:
7209           Revert patch which uses $(gst_headers) instead of $^ because it
7210           breaks make dist.
7211
7212 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7213
7214         * tests/check/gst/gstbin.c: (GST_START_TEST):
7215           Fix leaks in the new unit test.
7216
7217 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7218
7219         * gst/gst.c:
7220           Don't use GST_INFO before the debug system is actually initialised
7221           (shouldn't do any harm, but won't print anything either, so we can
7222           just as well remove it).
7223
7224         * gst/gstinfo.h:
7225           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7226           compilers that don't support variadic macros (such as MSVC), should
7227           check for debug_level <= __gst_debug_min as well, since that's the
7228           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7229           inline helper functions. Should improve performance a bit, but also
7230           makes sure uses of GST_INFO et.al are ignored if the debugging
7231           system isn't initialised yet (instead of printing an assertion
7232           failure).
7233
7234 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7235
7236         patch by: David Nečas <yeti@physics.muni.cz>
7237
7238         * gst/Makefile.am:
7239           Replace some non portable makefile constructs.
7240
7241 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7242
7243         * common/gtk-doc-plugins.mak:
7244           Grrrrr. Don't remove the types file on make clean.
7245
7246 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7247
7248         * tools/gst-launch.1.in:
7249         Add colorspace to example pipeline. Fixes #458274.
7250
7251 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7252
7253         * docs/random/release:
7254           The release manager should run 'make download-po' before making a
7255           release to make sure translations are up-to-date.
7256
7257         * po/LINGUAS:
7258         * po/be.po:
7259         * po/pl.po:
7260         * po/rw.po:
7261           Add some new translations.
7262
7263 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7264
7265         * tools/gst-launch.c: (event_loop), (main):
7266         Don´t try to do any state management when a live pipeline posts
7267         buffering messages.
7268         Also make the buffering string translatable.
7269
7270 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7271
7272         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7273         (bin_handle_async_start), (gst_bin_handle_message_func):
7274         Improve debugging.
7275         When adding elements, insert messages into the bus of the newly added
7276         element and make sure the element is the source of the message. This
7277         allows the parent bin to intercept the message and do the
7278         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7279         messages to the app (which is not allowed).
7280         Update some docs.
7281
7282         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7283         Fix testsuite so that is does not work around messages that should not
7284         have been posted in the first place.
7285
7286 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7287
7288         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7289         (update_degree), (gst_bin_sort_iterator_next):
7290         Fix annoying bug in the sorted iterator where a sink that is not really
7291         a sink (when it has downstream links) screwed up the iterator.
7292
7293         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7294         Unit test to verify the fix.
7295
7296 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7297
7298         * gst/gstmessage.h:
7299         Add some more docs for the messages.
7300
7301         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7302         (gst_base_sink_query):
7303         Add some more debugging.
7304
7305         * tools/gst-launch.c: (event_loop):
7306         When interrupting, don't try to set pipeline to PAUSED twice.
7307
7308 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7309
7310         
7311         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7312         (bin_handle_async_start), (gst_bin_handle_message_func):
7313         Move ASYNC_START message posting to where it belongs, similar to
7314         async_done. 
7315         Don't post ASYNC_START when we are in error. 
7316         Post ASYNC_START when we added an async element to a bin.
7317
7318 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7319
7320         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7321         generation from vargs. Fixes #466595.
7322
7323 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7324
7325         * gst/gstbin.c: (gst_bin_element_set_state):
7326         Always change the state of a NO_PREROLL element even if it has ASYNC
7327         elements inside (in case of a bin).
7328
7329         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7330         Unit test for this case.
7331
7332 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7333
7334         * libs/gst/check/gstbufferstraw.c:
7335         * libs/gst/check/gstcheck.h:
7336         * libs/gst/controller/gstcontroller.c:
7337         * libs/gst/controller/gstcontrolsource.h:
7338         * libs/gst/controller/gstlfocontrolsource.h:
7339         * plugins/elements/gstcapsfilter.h:
7340         * plugins/elements/gstfdsink.h:
7341         * plugins/elements/gstfdsrc.h:
7342           Add more missing docs.
7343
7344 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7345
7346         * gst/gststructure.c:
7347         Add Since tag to docs.
7348
7349 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7350
7351         * docs/gst/gstreamer-sections.txt:
7352         * gst/gststructure.c: (gst_structure_get_uint):
7353         * gst/gststructure.h:
7354         Add function to get uint from a structure.
7355         API: gst_structure_get_uint()
7356
7357 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7358
7359         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7360         (gst_caps_intersect):
7361         Fix proper check for simple caps.
7362
7363 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7364
7365         * docs/gst/Makefile.am:
7366         * docs/libs/Makefile.am:
7367           Remove cruft and do some cleanups.
7368
7369         * docs/gst/gstreamer-docs.sgml:
7370         * docs/libs/gstreamer-libs-docs.sgml:
7371           Prepare for comming gtkdoc features (rebase against online docs).
7372
7373 2007-08-10  Michael Smith <msmith@fluendo.com>
7374
7375         * docs/gst/gstreamer-sections.txt:
7376           Add gst_registry_add_path to docs.
7377
7378 2007-08-10  Michael Smith <msmith@fluendo.com>
7379
7380         * gst/gstregistry.h:
7381           Add gst_registry_add_path, which was missing from this header.
7382
7383 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7384
7385         * libs/gst/controller/gstlfocontrolsource.c:
7386           Printf format fix.
7387
7388 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7389
7390         * libs/gst/base/gstbasesink.c:
7391           Don't send an async_start message during downwards state change if 
7392           target state is less than READY
7393
7394 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7395
7396         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7397
7398         * po/LINGUAS:
7399         * po/hu.po:
7400           Added Hungarian translation.
7401
7402 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7403
7404         * po/fi.po:
7405         * po/it.po:
7406         * po/nl.po:
7407         * po/sv.po:
7408         * po/uk.po:
7409           Updated translations.
7410
7411 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7412
7413         * libs/gst/controller/Makefile.am:
7414         Dist gstlfocontrolsourceprivate.h
7415
7416 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7417
7418         * docs/libs/gstreamer-libs.types:
7419         Don't register the enum type gst_lfo_waveform_get_type() in the
7420         .types file - only GObject derived types belong.
7421
7422 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7423
7424         Patch by: <arenevier at fdn dot fr>
7425
7426         * gst/gstbuffer.h:
7427         Remove comma from last element in enum to avoid compile errors when
7428         using -pendantic. Fixes #464366.
7429
7430 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7431
7432         * docs/design/part-TODO.txt:
7433         Add some more TODO items
7434
7435         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7436         Improve debugging.
7437
7438         * gst/gstcaps.c: (gst_caps_intersect):
7439         Optimize trivial intersection case between identical caps pointers.
7440
7441         * gst/gstelement.c: (gst_element_continue_state),
7442         (gst_element_set_state_func):
7443         * gst/gstpad.c:
7444         Fix spelling and grammar mistakes.
7445
7446 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7447
7448         * po/POTFILES.in:
7449         * po/POTFILES.skip:
7450           Update POTFILES. Fixes #461599.
7451
7452 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7453
7454         * gst/gst.c:
7455         Fix confusing typo in debug output.
7456
7457 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7458
7459         reviewed by: Stefan Kost <ensonic@users.sf.net>
7460
7461         * libs/gst/controller/Makefile.am:
7462         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7463         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7464         (gst_lfo_control_source_new),
7465         (gst_lfo_control_source_set_waveform),
7466         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7467         (gst_lfo_control_source_finalize),
7468         (gst_lfo_control_source_dispose),
7469         (gst_lfo_control_source_set_property),
7470         (gst_lfo_control_source_get_property),
7471         (gst_lfo_control_source_class_init):
7472         * libs/gst/controller/gstlfocontrolsource.h:
7473         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7474         API: Add GstLFOControlSource, a control source that gives values
7475         for specific timestamps based on several periodic waveforms.
7476         Fixes #459717.
7477
7478         * tests/check/libs/controller.c: (GST_START_TEST),
7479         (gst_controller_suite):
7480         * docs/libs/gstreamer-libs-docs.sgml:
7481         * docs/libs/gstreamer-libs-sections.txt:
7482         * docs/libs/gstreamer-libs.types:
7483         Add documentation and unit tests for GstLFOControlSource.
7484
7485 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7486
7487         * configure.ac:
7488         Back to CVS
7489
7490 === release 0.10.14 ===
7491
7492 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7493
7494         * configure.ac:
7495           releasing 0.10.14, "Breathing Vacuum"
7496
7497 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7498
7499         * gst/gstelement.c: (gst_element_class_set_details_simple):
7500         * gst/gstelement.h:
7501           Make strings passed to gst_element_class_set_details_simple()
7502           constant, as they should be (#462752).
7503
7504 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7505
7506         * gst/gstbin.c: (gst_bin_change_state_func),
7507         (bin_handle_async_done), (gst_bin_handle_message_func):
7508         Don't forget about the fact that some element went ASYNC even after a
7509         resync. This makes us post the ASYNC_DONE message correctly.
7510         Fixes #462558.
7511
7512 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7513
7514         * gst/gstregistry.c: (gst_registry_add_feature):
7515         When replacing an existing feature in the registry, make sure to
7516         continue holding a reference until we've replaced the name string
7517         within our feature hash table. Make sure to use g_hash_table_replace
7518         instead of g_hash_table_insert to ensure the new name string is used
7519         as a key instead of the old one that we're about to free.
7520         Fixes: #462085
7521
7522 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7523
7524         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7525         (gst_plugin_feature_set_name):
7526         Revert patch from #459466 until after the release and we can work
7527         out exactly what the problem is (if any).
7528
7529 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7530
7531         * docs/gst/gstreamer-sections.txt:
7532         * gst/gsttaglist.c:
7533         * gst/gsttaglist.h:
7534           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7535
7536 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7537
7538         * docs/libs/Makefile.am:
7539         Include our build-prefix libs and includes before the generic ones to
7540         avoid linking against the installed libs when we want the build-tree
7541         ones.
7542
7543 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7544
7545         Patch by: Steve Fink  <sphink gmail com>
7546
7547         * docs/pwg/building-testapp.xml:
7548           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7549           if people try to build or install the example from the plugin
7550           template against a GStreamer from package using the configure
7551           defaults.
7552
7553 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7554
7555         Patch by: Steve Fink  <sphink gmail com>
7556
7557         * tools/gst-inspect.1.in:
7558           Document --print-all and --print-plugin-auto-install-info command
7559           line options in man page.
7560
7561 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7562
7563         * docs/gst/gstreamer-sections.txt:
7564         Add docs for new api function.
7565
7566 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7567
7568         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7569         * gst/gstelementfactory.h:
7570         API: gst_element_factory_has_interface()
7571         Added method to check if an element factory implements a named
7572         interface.
7573
7574 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7575
7576         * configure.ac:
7577         * docs/gst/gstreamer.types.in:
7578           Another conditional doc check.
7579
7580         * gst/gstmessage.c:
7581         * gst/gstparamspecs.h:
7582         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7583         * gst/gstvalue.c:
7584         * gst/gstxml.h:
7585           API-doc fixes.
7586
7587 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7588
7589         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7590         (gst_registry_binary_load_feature),
7591         (gst_registry_binary_load_plugin),
7592         (gst_registry_binary_read_cache):
7593           Print error just once and with additional info.
7594
7595 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7596
7597         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7598         (helper_find_suggest), (helper_find_get_length),
7599         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7600         (gst_type_find_helper_for_buffer):
7601           Cleanup the typefindhelper code and add private doc comments.
7602
7603 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7604
7605         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7606         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7607         Fix capsfilter for cases where the caps set on capsfilter will provide
7608         additional information.
7609         Fixes #449197
7610
7611 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7612
7613         * gst/gsttypefindfactory.c:
7614           Fix docs that recommened wrong function to use.
7615
7616 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7617
7618         * tools/gst-inspect.c: (print_plugin_features):
7619           Also give media-type for typefinders in element output.
7620
7621 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7622
7623         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7624         (gst_registry_remove_features_for_plugin_unlocked),
7625         (gst_registry_add_feature), (gst_registry_remove_feature),
7626         (gst_registry_lookup_feature_locked):
7627         * gst/gstregistry.h:
7628           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7629           Fixes #459501.
7630
7631 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7632
7633         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7634         (gst_plugin_feature_set_name):
7635           Avoid double memory usage for pluginfeature names. Fixes #459466.
7636
7637 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7638
7639         * gst/gstpad.h:
7640           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7641           driving the pipeline may need to explicitly check for NOT_LINKED as
7642           well, since IS_FATAL doesn't cover that.
7643
7644 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7645
7646         * docs/pwg/advanced-types.xml:
7647           Fix typo and duplicate entry in video formats list.
7648
7649 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7650
7651         * libs/gst/controller/gstinterpolation.c:
7652         Also round to the nearest int when using cubic interpolation.
7653
7654 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7655
7656         * libs/gst/controller/gstinterpolation.c:
7657         When linearly interpolating integer types, round to the nearest int
7658         by adding 0.5. Don't do it for float/double types.
7659         Fixes the failing controller test on my machine, which is somehow
7660         rounding differently than on the buildbots.
7661
7662 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7663
7664         * tools/gst-plot-timeline.py:
7665           Better log parsing (categories can have -). Adjust text vs. lines, so
7666           that they span the same y-range.        
7667
7668 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7669
7670         * docs/random/ensonic/audiobaseclasses.txt:
7671         * docs/random/ensonic/dynlink.txt:
7672         * docs/random/ensonic/profiling.txt:
7673           Save my thoughts.
7674
7675         * docs/random/moving-plugins:
7676           Add note to use g_assert type macros.
7677
7678 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7679
7680         * configure.ac:
7681         * libs/gst/check/Makefile.am:
7682           Add libm check as we use in for plugins.
7683
7684 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7685
7686         * gst/gstbin.c: (gst_bin_continue_func):
7687         Check that the state_cookie hasn't changed since the continue_func
7688         was scheduled. Avoids problems where the state changes back to
7689         something it shouldn't be because it was changed in the meantime.
7690
7691 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7692
7693         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7694         (gst_registry_binary_save_string),
7695         (gst_registry_binary_save_pad_template),
7696         (gst_registry_binary_save_feature),
7697         (gst_registry_binary_save_plugin),
7698         (gst_registry_binary_load_feature),
7699         (gst_registry_binary_load_plugin),
7700         (gst_registry_binary_read_cache):
7701           Fix memory leak. Be less verbose in the log.
7702
7703 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7704
7705         * tests/check/elements/.cvsignore:
7706         Add file to cvsignore as commanded.
7707
7708 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7709
7710         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7711         (mq_dummypad_event), (run_output_order_test):
7712         Use a GStaticMutex to protect all cases where libcheck
7713         fail_if/fail_unless macros might be called from multiple threads
7714         simultaneously to avoid errors like:
7715           "check_pack.c:107: :-1081725400:Bad message type arg"
7716
7717 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7718
7719         * tests/check/pipelines/stress.c: (GST_START_TEST):
7720         Make sure we set the pipeline back to the NULL state before
7721         dropping our final reference.
7722
7723 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7724
7725         * tests/check/elements/tee.c: (GST_START_TEST):
7726         Make the tee stress-test a little less stressful so it doesn't just
7727         time out on slow-machines, and remove a small race when it's starting 
7728         up by adding a get_state() call.
7729
7730 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7731
7732         * gst/gst.c:
7733           Avoid reading registry twice on startup. Fixes #457322.
7734
7735 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7736
7737         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7738         * pkgconfig/gstreamer-check.pc.in:
7739         Substitute the CFLAGS for libcheck into our .pc file too so that
7740         dependent modules will pick it up properly if libcheck is installed
7741         into some other prefix.
7742
7743 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7744
7745         * configure.ac:
7746         Revert the pkg-config check for libcheck, since it pulls in the
7747         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7748         a proper solution, either from the check project, or something else.
7749
7750 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7751
7752         * configure.ac:
7753           Use pkg-config to locate check.
7754
7755 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7756
7757         * gst/gsttaglist.c:
7758           Fix doc syntax.
7759
7760         * gst/gstutils.c:
7761         * gst/gstutils.h:
7762           Add deprecation guards.
7763
7764         * libs/gst/base/gstcollectpads.h:
7765           Don't document object (this is implicitly private).
7766
7767 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7768
7769         * gst/gststructure.c: (gst_structure_parse_value):
7770           When deserialising foo=bar without a type cast, check if it's a
7771           boolean before falling back to a string type, otherwise things like
7772           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7773           because the filtercaps end up having a signed=(string)true field,
7774           which causes problems later when intersection caps.
7775
7776         * tests/check/gst/gststructure.c: (GST_START_TEST):
7777           Add a unit test for this.
7778
7779 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7780
7781         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7782
7783         * libs/gst/controller/Makefile.am:
7784         * libs/gst/controller/gstcontroller.c:
7785         (gst_controlled_property_add_interpolation_control_source),
7786         (gst_controlled_property_new), (gst_controlled_property_free),
7787         (gst_controller_find_controlled_property),
7788         (gst_controller_new_valist), (gst_controller_new_list),
7789         (gst_controller_new), (gst_controller_remove_properties_valist),
7790         (gst_controller_remove_properties_list),
7791         (gst_controller_remove_properties),
7792         (gst_controller_set_property_disabled),
7793         (gst_controller_set_disabled), (gst_controller_set_control_source),
7794         (gst_controller_get_control_source), (gst_controller_get),
7795         (gst_controller_sync_values), (gst_controller_get_value_array),
7796         (_gst_controller_dispose), (gst_controller_get_type),
7797         (gst_controlled_property_set_interpolation_mode),
7798         (gst_controller_set), (gst_controller_set_from_list),
7799         (gst_controller_unset), (gst_controller_unset_all),
7800         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7801         * libs/gst/controller/gstcontroller.h:
7802         * libs/gst/controller/gstcontrollerprivate.h:
7803         * libs/gst/controller/gstcontrolsource.c:
7804         (gst_control_source_class_init), (gst_control_source_init),
7805         (gst_control_source_get_value),
7806         (gst_control_source_get_value_array), (gst_control_source_bind):
7807         * libs/gst/controller/gstcontrolsource.h:
7808         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7809         (gst_object_get_control_source):
7810         * libs/gst/controller/gstinterpolation.c:
7811         (gst_interpolation_control_source_find_control_point_node),
7812         (gst_interpolation_control_source_get_first_value),
7813         (_interpolate_none_get), (interpolate_none_get),
7814         (interpolate_none_get_boolean_value_array),
7815         (interpolate_none_get_enum_value_array),
7816         (interpolate_none_get_string_value_array),
7817         (_interpolate_trigger_get), (interpolate_trigger_get),
7818         (interpolate_trigger_get_boolean_value_array),
7819         (interpolate_trigger_get_enum_value_array),
7820         (interpolate_trigger_get_string_value_array):
7821         * libs/gst/controller/gstinterpolationcontrolsource.c:
7822         (gst_control_point_free), (gst_interpolation_control_source_reset),
7823         (gst_interpolation_control_source_new),
7824         (gst_interpolation_control_source_set_interpolation_mode),
7825         (gst_interpolation_control_source_bind),
7826         (gst_control_point_compare), (gst_control_point_find),
7827         (gst_interpolation_control_source_set_internal),
7828         (gst_interpolation_control_source_set),
7829         (gst_interpolation_control_source_set_from_list),
7830         (gst_interpolation_control_source_unset),
7831         (gst_interpolation_control_source_unset_all),
7832         (gst_interpolation_control_source_get_all),
7833         (gst_interpolation_control_source_get_count),
7834         (gst_interpolation_control_source_init),
7835         (gst_interpolation_control_source_finalize),
7836         (gst_interpolation_control_source_dispose),
7837         (gst_interpolation_control_source_class_init):
7838         * libs/gst/controller/gstinterpolationcontrolsource.h:
7839         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7840         API: Refactor GstController into the core controller which can take
7841         a GstControlSource for providing actual values for timestamps.
7842         Implement a interpolation control source and use this for backward
7843         compatibility, deprecate a bunch of functions that are now handled
7844         by GstControlSource or GstInterpolationControlSource.
7845         Make it possible to disable the controller completely or only for
7846         specific properties. Fixes #450711.
7847         * docs/libs/gstreamer-libs-docs.sgml:
7848         * docs/libs/gstreamer-libs-sections.txt:
7849         * docs/libs/gstreamer-libs.types:
7850         Add new functions and classes to the docs.
7851         * tests/check/libs/controller.c: (GST_START_TEST),
7852         (gst_controller_suite):
7853         * tests/examples/controller/audio-example.c: (main):
7854         Port unit test and example to the new API and add some new
7855         unit tests.
7856
7857 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7858
7859         Patch by: Mark Nauwelaerts <manauw at skynet be>
7860
7861         * plugins/elements/gstmultiqueue.c:
7862         (gst_multi_queue_get_internal_links), (apply_buffer),
7863         (single_queue_overrun_cb), (gst_single_queue_new):
7864         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7865         the pipeline layout can be tracked correctly. Fixes #453732.
7866
7867 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7868
7869         * docs/gst/Makefile.am:
7870         * docs/libs/Makefile.am:
7871         * docs/plugins/Makefile.am:
7872           Simplify --extra-dir as gtkdoc scans recursively.
7873
7874 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7875
7876         * tools/gst-launch.c: (main):
7877         When we got an error, there is no point in waiting for preroll when
7878         shutting down.
7879
7880 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7881
7882         * plugins/elements/gsttee.c: (gst_tee_base_init),
7883         (gst_tee_request_new_pad), (gst_tee_release_pad),
7884         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7885         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7886         (gst_tee_chain):
7887         Be a lot smarter when deciding what srcpad to use for proxying
7888         the buffer_alloc. Also handle pad added/removed when doing so.
7889         Fixes #357959.
7890         Keep track of what pads we already pushed on in case we have pads
7891         added/removed while pushing. Fixes #374639 
7892
7893         * tests/check/Makefile.am:
7894         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7895         (tee_suite):
7896         Added unit test for pad resync.
7897
7898 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7899
7900         * po/nl.po:
7901         * po/sv.po:
7902           Updated translations.
7903
7904 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7905
7906         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7907
7908         * po/LINGUAS:
7909         * po/fi.po:
7910           Added new Finnish translation.
7911
7912 2007-06-28  Wim Taymans  <wim@fluendo.com>
7913
7914         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7915         (single_queue_overrun_cb):
7916         When figuring out when a queue is filled, use our internal time estimate
7917         based on segments, just like check_full does.
7918
7919 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7920
7921         * gst/gstminiobject.c: (gst_mini_object_get_type):
7922           Remove 3 do-nothing methods.
7923
7924 2007-06-27  Wim Taymans  <wim@fluendo.com>
7925
7926         Patch by: Tim Angus <tim at ngus dot net>
7927
7928         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7929         (gst_capsfilter_set_property):
7930         Take a reference instead of a copy when setting "caps".
7931         Fix documentation to clarify this behaviour. Fixes #449414.
7932
7933 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7934
7935         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7936         * gst/gstplugin.c: (gst_plugin_init):
7937         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7938         * gst/gstquery.c: (gst_query_get_type):
7939         * gst/gstregistry.c: (gst_registry_init):
7940         * gst/gsturi.c: (gst_uri_handler_base_init):
7941           Remove empty instance_init() functions to save relocs and lessen the
7942           noise. Remove some of the function prototypes that are doubled by
7943           G_DEFINE_TYPE.
7944           
7945 2007-06-27  Wim Taymans  <wim@fluendo.com>
7946
7947         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7948
7949         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7950         Add peer and direction in the XML serialisation of ghostpads.
7951         Fixes #449226.
7952
7953 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7954
7955         * configure.ac:
7956           Preserve useful information, thanks Tim.
7957
7958 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7959
7960         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7961         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7962         (gst_single_queue_push_one), (gst_multi_queue_loop),
7963         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7964         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7965         (compute_high_id), (gst_single_queue_new):
7966         * plugins/elements/gstmultiqueue.h:
7967         Take the multiqueue lock when updating the fill level so we don't get
7968         confused. 
7969
7970         After applying a buffer or event on the src pad segment, make sure to
7971         call gst_data_queue_limits_changed() to get the data queue to unblock
7972         and check the filled state again.
7973         
7974         Rework the not-linked pad handling so the logic is that not-linked 
7975         pads can push as fast as they like, but only so they never get 
7976         ahead of any linked pads.
7977
7978         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7979         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7980         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7981
7982         Add a test to check that not-linked pads always stay behind
7983         linked pads.
7984
7985         Fixes: #430682
7986
7987 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7988
7989         * docs/random/release:
7990           Some updates to the release procedure.
7991
7992 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7993
7994         * gst/gstelementfactory.c: (__gst_element_details_clear):
7995           Microoptimization that saves stunning 80 bytes.
7996
7997 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7998
7999         * docs/plugins/gstreamer-plugins.args:
8000         * docs/plugins/inspect/plugin-coreelements.xml:
8001         * docs/plugins/inspect/plugin-coreindexers.xml:
8002           Update docs with caps info.
8003
8004 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8005
8006         * po/it.po:
8007           Updated Italian translation.
8008
8009 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8010
8011         * ChangeLog:
8012         * po/vi.po:
8013           Update Vietnamese translations.
8014
8015 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8016
8017         * libs/gst/base/gstbasesink.c:
8018           Remove unused signal enum.
8019
8020 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8021
8022         * docs/gst/gstreamer-sections.txt:
8023         * gst/gstelement.c:
8024         * gst/gstutils.c: (gst_type_register_static_full):
8025         Beef up and include the docs for gst_type_register_static_full and
8026         gst_element_class_set_details_simple and add the API keyword
8027         in the ChangeLog.
8028
8029 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8030
8031         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8032         (update_time_level), (gst_single_queue_push_one),
8033         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8034         (single_queue_overrun_cb), (single_queue_underrun_cb),
8035         (single_queue_check_full):
8036         Fix setting max-* properties after adding queues.
8037         Use IS_FILLED for checking visible items.
8038         Signal overrun if multiple queues overrun.
8039         Add extra debug output.
8040         Patch by: Wim Taymans <wim@fluendo.com>
8041
8042 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8043
8044         * gst/gstelement.c: (gst_element_class_set_details_simple):
8045         * gst/gstelement.h:
8046         * gst/gstutils.c: (gst_type_register_static_full):
8047         * gst/gstutils.h:
8048         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8049         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8050         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8051         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8052         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8053         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8054         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8055         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8056         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8057         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8058         (apply_buffer), (gst_queue_chain):
8059         * plugins/elements/gsttee.c: (gst_tee_base_init):
8060         * plugins/elements/gsttypefindelement.c:
8061         (gst_type_find_element_base_init),
8062         (gst_type_find_element_class_init):
8063           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8064           API: add gst_type_register_static_full
8065           API: add gst_element_class_set_details_simple
8066
8067 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8068
8069         * docs/pwg/advanced-types.xml:
8070           Fix typo in iana.org URI.
8071
8072 2007-06-19  Andy Wingo  <wingo@pobox.com>
8073
8074         * tests/check/pipelines/simple-launch-lines.c
8075         (test_state_change_returns): Enable pull-mode tests now that
8076         basesink has been fixed.
8077
8078         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8079         Changed from gst_base_sink_is_prerolled, reversing the sense of
8080         the return value. Returns FALSE also if the sink is in pull mode,
8081         in which case it needs no preroll.
8082         (gst_base_sink_query, gst_base_sink_change_state): Update for
8083         needs_preroll change.
8084         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8085         chaining up, in which we return SUCCESS directly if we activated
8086         in pull mode instead of ASYNC. Involves countering an async_start
8087         message sent before chaining up; not sure if this is correct, in
8088         an ideal world we only send async-start when activating in push
8089         mode.
8090
8091         * tests/check/pipelines/simple-launch-lines.c
8092         (test_state_change_returns): New test, partially disabled until
8093         basesink is fixed.
8094
8095 2007-06-19  Wim Taymans  <wim@fluendo.com>
8096
8097         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8098         (gst_multi_queue_sink_event):
8099         Fix event leak.
8100
8101 2007-06-19  Wim Taymans  <wim@fluendo.com>
8102
8103         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8104         (gst_bin_change_state_func), (bin_push_state_continue),
8105         (bin_handle_async_start), (bin_handle_async_done),
8106         (gst_bin_handle_message_func):
8107         Move the common code for posting state-change messages into
8108         one function.
8109         Broadcast the state signal after we posted the messages.
8110         Mark the bin as busy when it's doing a state-change.
8111         Make sure async-start/done messages don't interfere with the bin's
8112         state when it's busy.
8113         After the state change, let the bin check which elements completed the
8114         state change while it was busy so that it can update its state.
8115
8116 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8117
8118         * docs/random/release:
8119         Add a note about updating the doap file to the release checklist
8120
8121 2007-06-18  Wim Taymans  <wim@fluendo.com>
8122
8123         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8124         (gst_single_queue_push_one), (gst_multi_queue_chain),
8125         (gst_multi_queue_sink_event):
8126         Make sure we don't reference the buffer/event after we have given away
8127         ownership in the queue.
8128
8129 2007-06-18  Wim Taymans  <wim@fluendo.com>
8130
8131         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8132         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8133         Update queue state _after_ adding the item in the queue because else we
8134         could end up being full without the element added yet.
8135
8136 2007-06-18  Wim Taymans  <wim@fluendo.com>
8137
8138         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8139         (gst_bin_remove_func), (gst_bin_get_state_func),
8140         (gst_bin_element_set_state), (gst_bin_continue_func),
8141         (bin_push_state_continue), (bin_handle_async_start),
8142         (bin_handle_async_done), (gst_bin_handle_message_func):
8143         * gst/gstbin.h:
8144         Immediatly commit the toplevel bin state when receiving an async-done
8145         message. This enables us to avoid spawning a thread to commit the state
8146         in some common cases and it also avoids some races.
8147         Avoid spawning a state thread when adding/removing async elements to a
8148         toplevel bin. Instead we immediatly update the bin state.
8149         Get rid of iterating all the children when getting the state in the bin
8150         because it is now always up-to-date.
8151         Fix bug where locked elements would always return _SUCCESS even it they
8152         returned NO_PREROLL before being locked.
8153         Fix the order of the state_change, async-start/done messages that was
8154         sometimes incorrect.
8155         Mark the state_dirty field as deprecated, we don't need it anymore as we
8156         are always up-to-date.
8157
8158         * gst/gstelement.c: (gst_element_get_state_func),
8159         (gst_element_continue_state):
8160         Small debug inprovements.
8161         Return the previous element state return when nothing is pending instead
8162         of blindly returning SUCCESS.
8163
8164         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8165         (gst_sinks_suite):
8166         Add a whole bunch of new testcases.
8167
8168 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8169
8170         * po/uk.po:
8171         * po/vi.po:
8172           Update translations.
8173
8174 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8175
8176         * gst/gstpad.c:
8177         Fix typo in the docs.
8178
8179 2007-06-15  Wim Taymans  <wim@fluendo.com>
8180
8181         * docs/libs/gstreamer-libs-sections.txt:
8182         Add docs for new methods.
8183
8184 2007-06-15  Wim Taymans  <wim@fluendo.com>
8185
8186         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8187         (gst_multi_queue_item_new):
8188         Don't use GSlice because we don't depend on >= 2.10 yet.
8189
8190 2007-06-15  Wim Taymans  <wim@fluendo.com>
8191
8192         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8193         (update_time_level), (apply_segment), (apply_buffer),
8194         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8195         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8196         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8197         (single_queue_underrun_cb), (single_queue_check_full):
8198         Remove debug printf.
8199
8200 2007-06-15  Wim Taymans  <wim@fluendo.com>
8201
8202         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8203         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8204         (gst_data_queue_set_flushing), (gst_data_queue_push),
8205         (gst_data_queue_pop), (gst_data_queue_drop_head),
8206         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8207         * libs/gst/base/gstdataqueue.h:
8208         Various cleanups.
8209         Added methods to get the current levels and to inform the queue that the
8210         'full' limits changed.
8211
8212         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8213         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8214         (gst_single_queue_flush), (update_time_level), (apply_segment),
8215         (apply_buffer), (gst_single_queue_push_one),
8216         (gst_multi_queue_item_steal_object),
8217         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8218         (gst_multi_queue_loop), (gst_multi_queue_chain),
8219         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8220         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8221         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8222         (single_queue_underrun_cb), (single_queue_check_full),
8223         (gst_single_queue_new):
8224         Keep track of time in the queue by measuring the difference between
8225         running_time on input and output. This gives more accurate results and
8226         can compensate for segments correctly.
8227         Make a queue by default only 5 buffers deep. We will now increase the
8228         buffer size depending on the filledness of the other queues.
8229         Factor out commong flush code.
8230         Make sure we don't add additional refcounts to buffers when we can avoid
8231         it.
8232         Propagate GstFlowReturn differently.
8233         Use GSlice for intermediate GstMultiQueueItems.
8234         Keep track of EOS.
8235         Resize queues on over and underruns based on filled level of other
8236         queues.
8237         When checking if the queue is filled, prefer to measure in time if we
8238         can and fall back to bytes when no time is known.
8239
8240         * plugins/elements/gstqueue.c:
8241         Fix return value.
8242
8243 2007-06-15  Wim Taymans  <wim@fluendo.com>
8244
8245         * libs/gst/base/gstbasetransform.c:
8246         (gst_base_transform_sink_event):
8247         Work around the brokenness of the event vmethod in basetransform. Prefer
8248         to return TRUE when the subclass returned FALSE (meaning don't forward
8249         the event). 
8250
8251         * libs/gst/base/gstbasetransform.h:
8252         Clarify the docs.
8253
8254 2007-06-15  Wim Taymans  <wim@fluendo.com>
8255
8256         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8257         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8258         (gst_base_src_default_query), (gst_base_src_get_range),
8259         (gst_base_src_start):
8260         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8261         Improve debugging.
8262
8263 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8264
8265         * docs/pwg/advanced-types.xml:
8266           Added more formats to caps table.
8267
8268 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8269
8270         * tools/gst-launch.c: (main):
8271           Remove crufy code. GOption does not need this workaround.
8272
8273 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8274
8275         * libs/gst/controller/gstcontroller.c:
8276         (gst_controlled_property_set_interpolation_mode):
8277           Fix wrong getter for enums in controller.
8278
8279 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8280
8281         * libs/gst/check/gstcheck.c: (gst_check_init):
8282           Intercept criticals and warnings in the Gst-Phonon log domain, so
8283           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8284           well.
8285         
8286 2007-06-14  Edward Hervey  <edward@fluendo.com>
8287
8288         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8289         Since this file doesn't include "gst.h" it will not go through the
8290         macros that disable GST_LOG if debugging was disabled.
8291
8292 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8293
8294         * libs/gst/check/Makefile.am:
8295         * libs/gst/check/gstcheck.h:
8296         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8297         * pkgconfig/gstreamer-check.pc.in:
8298           Ugly 'fix' for the controller unit test on the p5 bot: in
8299           fail_unless_equals_float() check whether the values are 'almost
8300           equal' by allowing a small absolute error, which should be good
8301           enough for our use cases (normal numbers and values close to 0).
8302           Proper fixage left to floating point arithmetic aficionados.
8303
8304 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8305
8306         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8307         (gst_base_sink_render_object), (gst_base_sink_get_position):
8308           Add two breaks thats where missing.
8309
8310 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8311
8312         * docs/libs/gstreamer-libs-sections.txt:
8313         * libs/gst/check/gstcheck.h:
8314           API: add fail_unless_equals_float() and assert_equals_float().
8315           Add documentation for some of the macros.
8316
8317         * tests/check/libs/controller.c: (GST_START_TEST):
8318           Use newly-added asserts.
8319
8320 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8321
8322         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8323           Show the caps change in the log to help spotting the case of not
8324           exactly matching caps.
8325
8326 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8327
8328         * docs/pwg/building-boiler.xml:
8329           Fix typos, spotted by Thijs Vermeir (#447190).
8330
8331 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8332
8333         * docs/plugins/tmpl/.cvsignore:
8334         Ignore file to keep the buildbots happy
8335
8336 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8337
8338         * docs/plugins/Makefile.am:
8339         * docs/plugins/gstreamer-plugins-docs.sgml:
8340         * docs/plugins/gstreamer-plugins-sections.txt:
8341         Pull fdsink into the docs too.
8342
8343 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8344
8345         * libs/gst/controller/gstinterpolation.c:
8346         Actually use the new functions with min/max checks for the trigger and
8347         none interpolation modes for get() and get_value_array() instead of
8348         just the latter.
8349
8350 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8351
8352         * libs/gst/controller/gstcontroller.c:
8353         (gst_controlled_property_free):
8354         Unset the minimum and maximum GValues when freeing the corresponding
8355         GstControllerProperty struct.
8356
8357 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8358
8359         * libs/gst/controller/gstcontroller.c:
8360         (gst_controlled_property_new):
8361         * libs/gst/controller/gstcontrollerprivate.h:
8362         * libs/gst/controller/gstinterpolation.c:
8363         (gst_controlled_property_find_control_point_node),
8364         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8365         (interpolate_none_get_string_value_array),
8366         (interpolate_trigger_get),
8367         (interpolate_trigger_get_enum_value_array),
8368         (interpolate_trigger_get_string_value_array):
8369         Protect against values larger or smaller than the minimum or maximum
8370         allowed value for the property when using values that can be compared.
8371
8372         Optimize trigger interpolator a bit by taking the last requested value
8373         into account instead of always looping through the complete list.
8374
8375         Fix coding style a bit, everywhere else we use "return foo" instead
8376         of "return (foo)".
8377         
8378         * tests/check/libs/controller.c: (GST_START_TEST),
8379         (gst_controller_suite):
8380         Add unit test for the protection against too large or too small
8381         values.
8382
8383 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8384
8385         * docs/random/slomo/controller.txt:
8386         Add some thoughts about the future of the controller.
8387
8388 2007-06-08  Wim Taymans  <wim@fluendo.com>
8389
8390         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8391         Don't overflow in retimestamping code.
8392
8393 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8394
8395         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8396         Use gst_util_guint64_to_gdouble for conversions.
8397         * win32/common/libgstreamer.def:
8398         Add new exported functions.
8399
8400 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8401
8402         * gst/gstutils.c:
8403           Small docs addition.
8404
8405 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8406
8407         * README:
8408           Remove that test line again.
8409
8410 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8411
8412         * README:
8413           Test commit mail sending.
8414
8415 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8416
8417         * configure.ac:
8418           Fix typo and test commit mail sending.
8419
8420 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8421
8422         * tests/examples/controller/audio-example.c:
8423           Improve comment and test commit mail sending.
8424
8425 2007-06-07  Wim Taymans  <wim@fluendo.com>
8426
8427         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8428         (gst_bin_remove_func), (gst_bin_element_set_state),
8429         (bin_handle_async_start), (bin_handle_async_done),
8430         (gst_bin_handle_message_func):
8431         Add helper function to find messages.
8432         Generate the async-done messages together with the state change
8433         messages.
8434         Small cleanups in handling toplevel bins.
8435
8436 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8437
8438         * libs/gst/base/gstdataqueue.c:
8439         * libs/gst/base/gstdataqueue.h:
8440         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8441         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8442         (gst_multi_queue_sink_event):
8443         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8444           Fix multiqueue leaking buffers and events when downstream or the
8445           queue are flushing. Make refcounting assumptions explicit and
8446           document them (shouldn't break existing code that uses it other than
8447           maybe leak miniobjects, but that already happens anyway). Add unit
8448           test for the most common flushing case. Fixes #423700.
8449           
8450 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8451
8452         * libs/gst/controller/gstcontroller.c:
8453         Clarify docs: The get_all, get_value_array(s) functions
8454         don't modify the GObject properties.
8455
8456 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8457
8458         * libs/gst/controller/gstcontroller.c:
8459         (gst_controlled_property_set_interpolation_mode),
8460         (gst_controlled_property_prepend_default),
8461         (gst_controlled_property_new), (gst_controller_set_unlocked),
8462         (gst_controller_set), (gst_controller_set_from_list),
8463         (gst_controller_unset), (gst_controller_unset_all):
8464         * libs/gst/controller/gstcontrollerprivate.h:
8465         * libs/gst/controller/gstinterpolation.c:
8466         Factor out the 'set' logic into gst_controller_set_unlocked for the
8467         gst_controller_set and gst_controller_set_from_list functions.
8468
8469         To make life of the interpolators easier always add a control point
8470         at timestamp zero with the default value.
8471
8472         In the linear interpolator make things more obvious by better variable
8473         naming (slope).
8474
8475         Implement cubic interpolation mode (by using a natural cubic spline)
8476         and map the quadratic interpolation mode to this too (as quadratic
8477         doesn't make much sense, see discussion on the list).
8478
8479         * tests/check/libs/controller.c: (GST_START_TEST),
8480         (gst_controller_suite):
8481         Add unit test for the cubic interpolation mode and check everywhere
8482         if the interpolation mode could be set as expected.
8483
8484 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8485
8486         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8487           Don't use GLib-2.10 functions, we still depend on
8488           GLib-how-old-is-it-again-2.8.
8489
8490 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8491
8492         * docs/gst/gstreamer-sections.txt:
8493         * gst/Makefile.am:
8494         * gst/gst.c:
8495         * gst/gst.h:
8496         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8497         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8498         (_gst_param_fraction_values_cmp),
8499         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8500         * gst/gstparamspecs.h:
8501         * gst/gstvalue.c:
8502         * tests/check/Makefile.am:
8503         * tests/check/gst/.cvsignore:
8504         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8505         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8506         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8507         (GST_START_TEST), (gst_param_spec_suite):
8508           API: add GstParamSpecFraction, so elements can have fraction
8509           properties without lots of painful string parsing (#444648).
8510
8511 2007-06-05  Wim Taymans  <wim@fluendo.com>
8512
8513         * gst/gstobject.c: (gst_object_class_init):
8514         Fix signal signature.
8515
8516         * gst/gstsegment.c:
8517         Add small clarification in the api docs.
8518
8519         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8520         States are protected with object lock.
8521
8522 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8523
8524         * AUTHORS:
8525         I should probably be listed as an author by now.
8526
8527         * docs/random/release:
8528         Update the release doc
8529
8530 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8531
8532         * gst/gstvalue.c:
8533           Make docs for gst_value_compare() mention return enums that
8534           actually exist.
8535
8536 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8537
8538         * configure.ac:
8539           Back to CVS
8540
8541 === release 0.10.13 ===
8542
8543 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8544
8545         * configure.ac:
8546           releasing 0.10.13, "With or without you"
8547
8548 2007-05-25  Wim Taymans  <wim@fluendo.com>
8549
8550         * gst/gstbin.c: (bin_handle_async_done):
8551         Make sure that the child bin stops after completing the async state
8552         change so that the parent can continue the state change to PLAYING.
8553         Fixes #441159.
8554
8555 2007-05-25  Wim Taymans  <wim@fluendo.com>
8556
8557         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8558         (unref_data), (gst_collect_pads_remove_pad),
8559         (gst_collect_pads_check_pads):
8560         Use additional refcounting to avoid crashes when dynamically adding and
8561         removing pads. Fixes #420206.
8562
8563 2007-05-24  Wim Taymans  <wim@fluendo.com>
8564
8565         * tools/gst-launch.c: (event_loop):
8566         When buffering goes from a two digit to a single digit number, make sure
8567         to remove the old second digit by writing a blank over it.
8568
8569 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8570
8571         * libs/gst/base/gstdataqueue.c:
8572           Eliminate tabs and trailing comma in enum list; fix some typos.
8573
8574 2007-05-24  Wim Taymans  <wim@fluendo.com>
8575
8576         * tests/check/gst/gstbin.c: (GST_START_TEST):
8577         Allow refcount of 3 and 4 because some state thread might still be busy
8578         with it.
8579
8580 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8581
8582         * plugins/elements/Makefile.am:
8583         * plugins/elements/gstmultiqueue.h:
8584         * plugins/elements/gstqueue.h:
8585           These are not installed headers, no need for padding.
8586
8587 2007-05-24  Wim Taymans  <wim@fluendo.com>
8588
8589         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8590         (gst_bin_continue_func):
8591         Enable latency for next release.
8592         Restore STATE_LOCK around recalc_state that was left out during the
8593         rewrite and could result in racy behaviour when _get_state and
8594         recalc_state are run concurrently. See #440463.
8595
8596 2007-05-23  Wim Taymans  <wim@fluendo.com>
8597
8598         * tests/check/gst/gstsystemclock.c: (store_callback),
8599         (GST_START_TEST):
8600         Improve test_async_order to also work when both timers are already
8601         expired when we get scheduled to check it.
8602
8603 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8604
8605         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8606         (gst_bin_set_property), (gst_bin_get_property),
8607         (gst_bin_remove_func), (gst_bin_handle_message_func):
8608         * gst/gstbin.h:
8609           'private' is a c++ keyword, let's not use that in header files,
8610           otherwise c++ compilers will throw a tantrum.
8611
8612 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8613
8614         * plugins/elements/gstelements.c:
8615         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8616         (gst_file_sink_get_current_offset):
8617         * plugins/indexers/gstindexers.c: (plugin_init):
8618           Use #ifdef for HAVE_XYZ for consistency.
8619
8620         * tests/check/Makefile.am:
8621         * tests/check/elements/.cvsignore:
8622         * tests/check/elements/filesink.c: (setup_filesink),
8623         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8624           Add some unit tests for filesink.
8625
8626 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8627
8628         Patch by: Mark Nauwelaerts <manauw at skynet be>
8629
8630         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8631         (gst_file_sink_query), (gst_file_sink_do_seek),
8632         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8633         * plugins/elements/gstfilesink.h:
8634           Fix position reporting; rename data_written member to current_pos to
8635           reflect its real meaning (fixes #412648).
8636
8637 2007-05-22  Edward Hervey  <edward@fluendo.com>
8638
8639         * docs/gst/gstreamer-sections.txt:
8640         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8641         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8642         (gst_bin_remove_func), (gst_bin_handle_message_func):
8643         * gst/gstbin.h:
8644         Add a property for bins that handle the state change of their childs.
8645         Fixes #435880
8646
8647 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8648
8649         * libs/gst/controller/gstinterpolation.c:
8650         Use an array of the correct type when using _get_value_array with
8651         linear interpolation.
8652
8653 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8654
8655         * gst/gstelement.c (gst_element_requires_clock,
8656           gst_element_provides_clock, gst_element_request_pad,
8657           gst_element_class_set_details, gst_element_class_set_details_simple,
8658           gst_element_default_send_event, gst_element_abort_state,
8659           gst_element_continue_state, gst_element_set_state,
8660           gst_element_set_state_func, iterator_activate_fold_with_resync):
8661         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8662           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8663           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8664           gst_pad_get_range, gst_pad_pull_range):
8665         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8666           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8667           GstPadActivateModeFunction, GstPadChainFunction,
8668           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8669           GstPadFixateCapsFunction, GstPadTemplate):
8670         * gst/gstpipeline.c (gst_pipeline_change_state,
8671           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8672           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8673           gst_pipeline_get_delay):
8674           Whitespace and docs fixes.
8675
8676 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8677
8678         * libs/gst/controller/gstinterpolation.c:
8679         (interpolate_trigger_get_enum_value_array),
8680         (interpolate_trigger_get_string_value_array):
8681         Add support for retrieving value arrays when using the trigger
8682         interpolation mode. 
8683
8684 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8685
8686         * libs/gst/controller/gstcontroller.c:
8687         (gst_controller_get_value_array):
8688         * libs/gst/controller/gstcontroller.h:
8689         Clarify the docs of gst_controller_get_value_array(): The array where
8690         the values should be written to must be allocated as there seems to be
8691         no way to get the size of a random GType. This doesn't change any
8692         behaviour. Also fix some typos all over the place and remove an unused,
8693         commented function that is not necessary as g_object_set() could be
8694         used instead.
8695         * tests/check/libs/controller.c: (GST_START_TEST),
8696         (gst_controller_suite):
8697         Add unit test for gst_controller_get_value_array().
8698
8699 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8700
8701         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8702
8703         Disable part of the gst_buffer_try_new_and_alloc test, because
8704         it can happily succeed on 64-bit systems where there's more address
8705         space available.
8706
8707 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8708
8709         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8710         Add unit test for the improved caps checking from bug #421543.
8711
8712 2007-05-21  Wim Taymans  <wim@fluendo.com>
8713
8714         * docs/design/part-synchronisation.txt:
8715         Small addition.
8716
8717         * gst/gstbin.c: (gst_bin_query):
8718         * plugins/elements/gstqueue.c: (apply_segment):
8719         Improve debugging.
8720
8721         * gst/gstmessage.h:
8722         Improve docs.
8723
8724 2007-05-21  Wim Taymans  <wim@fluendo.com>
8725
8726         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8727         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8728         (gst_pad_configure_src):
8729         Added simple version of improved caps checking. It was previously
8730         assumed that a setcaps function would check the validity of the caps but
8731         people prefer us to check caps against the template automatically. 
8732         Fixes #421543.
8733
8734 2007-05-21  Wim Taymans  <wim@fluendo.com>
8735
8736         * libs/gst/base/gstbasetransform.h:
8737         Fix macro for locking/unlocking the transform lock.
8738
8739 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8740
8741         * docs/plugins/tmpl/.cvsignore:
8742           Ignore more.
8743
8744 2007-05-18  Edward Hervey  <edward@fluendo.com>
8745
8746         * plugins/elements/gstqueue.c: (gst_queue_loop):
8747         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8748         for the subtle art of warning a potentially blocking thread that it
8749         should check the source pad return value, and relay the information
8750         upstream.
8751
8752 2007-05-18  Edward Hervey  <edward@fluendo.com>
8753
8754         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8755         Release the queue lock !
8756
8757 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8758
8759         * docs/libs/gstreamer-libs-sections.txt:
8760         Add the two new controller functions to the appropiate places.
8761
8762 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8763
8764         reviewed by: Stefan Kost <ensonic@users.sf.net>
8765
8766         * libs/gst/controller/gstcontroller.c:
8767         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8768         (_gst_controller_get_property), (_gst_controller_set_property),
8769         (_gst_controller_init), (_gst_controller_class_init):
8770         * libs/gst/controller/gstcontroller.h:
8771         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8772         (gst_object_get_control_rate), (gst_object_set_control_rate):
8773         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8774         Add API that provides sync suggestion timestamps for elements that
8775         call gst_object_sync_values() from which those elements can subdivide
8776         their processing loop to get the best results for the controlled
8777         properties. For now it just suggests last_sync + control_rate as
8778         new timestamp but this will be improved in the future.
8779
8780         While doing that change the control-rate property to a GstClockTime
8781         from guint and change it's meaning from samples to nanoseconds as
8782         the GstController doesn't know anything about sampling rate. Strictly
8783         speaking this breaks ABI but as the control-rate property didn't do
8784         anything in the past and as such couldn't be used this should be no
8785         problem.        
8786
8787 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8788
8789         reviewed by: Stefan Kost <ensonic@users.sf.net>
8790
8791         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8792         (gst_controller_unset_all):
8793         * libs/gst/controller/gstcontrollerprivate.h:
8794         * libs/gst/controller/gstinterpolation.c:
8795         (gst_controlled_property_find_control_point_node):
8796         Save last synced value from the list to continue searching from there
8797         in future syncs. This speeds everything up a bit.
8798         
8799 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8800
8801         reviewed by: Stefan Kost <ensonic@users.sf.net>
8802
8803         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8804         (gst_control_point_find), (gst_controlled_property_new),
8805         (gst_control_point_free), (gst_controlled_property_free),
8806         (gst_controller_set), (gst_controller_set_from_list),
8807         (gst_controller_unset), (gst_controller_unset_all),
8808         (gst_controller_sync_values):
8809         * libs/gst/controller/gstcontroller.h:
8810         * libs/gst/controller/gstcontrollerprivate.h:
8811         * libs/gst/controller/gstinterpolation.c:
8812         (gst_controlled_property_find_control_point_node),
8813         (interpolate_none_get), (interpolate_trigger_get):
8814         Add a new private GstControlPoint struct which "inherits" from
8815         GstTimedValue to allow different interpolators to store internal
8816         values next to each control point. From the outside everything is
8817         still a GstControlPoint so we don't loose binary compatibility.
8818         Also fixup all the GValue handling to not leak GValues or list nodes.
8819         * tests/check/libs/controller.c: (GST_START_TEST):
8820         Free the list nodes and GValues in the controller_misc test.
8821
8822 2007-05-17  Edward Hervey  <edward@fluendo.com>
8823
8824         * gst/gstsegment.c:
8825         Small doc fix.
8826
8827 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8828
8829         * gst/gstplugin.c: (gst_plugin_load_file):
8830           If we fail to load a plugin because of unresolved symbols or missing
8831           libraries and spew a warning to stderr, we may just as well mention
8832           which plugin it was that failed to load.
8833
8834 2007-05-13  David Schleef  <ds@schleef.org>
8835
8836         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8837           handles the case when ENABLE_GTK_DOC is false, and installs
8838           the prebuilt documentation.  So gtk-doc subdirs are 
8839           unconditionally enabled.  Fixes: #349099.
8840
8841 2007-05-13  David Schleef  <ds@schleef.org>
8842
8843         * gst/gstutils.h: Reword some documentation.
8844
8845 2007-05-12  David Schleef  <ds@schleef.org>
8846
8847         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8848           do anything with the passed "module" parameter, so remove it.
8849           Allows removal of additional vestigal code.
8850
8851 2007-05-12  David Schleef  <ds@schleef.org>
8852
8853         * gst/gstplugin.c:
8854           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8855           Switch to using g_stat() because it's more portable.
8856
8857 2007-05-12  David Schleef  <ds@schleef.org>
8858
8859         * gst/gst.c:
8860           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8861           parsing for embedded systems.
8862         * gst/gstelementfactory.c:
8863           Allow gst_element_register() to be called with plugin==NULL.
8864           Did nobody notice that static elements were broken?
8865
8866 2007-05-12  Wim Taymans  <wim@fluendo.com>
8867
8868         * tools/gst-launch.c: (event_loop):
8869         Give more interesting info when buffering starts and stops.
8870         Fix case where buffering starts but we fail to update the buffering flag
8871         because the target state is not PLAYING.
8872
8873 2007-05-12  Wim Taymans  <wim@fluendo.com>
8874
8875         * plugins/elements/gstqueue.c: (gst_queue_init),
8876         (gst_queue_finalize), (update_time_level), (apply_segment),
8877         (apply_buffer), (gst_queue_locked_flush),
8878         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8879         (gst_queue_handle_sink_event), (gst_queue_chain),
8880         (gst_queue_push_one), (gst_queue_loop):
8881         * plugins/elements/gstqueue.h:
8882         Refactor an cleanup queue a bit.
8883         Do better time level calculations that also work when the srcpad is not
8884         yet running.
8885         Remove some unneeded debug lines.
8886
8887         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8888         Added testcase for time level measurement.
8889         Try to make some stuff more racefree.
8890
8891 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8892
8893         * gst/gsturi.c: (gst_element_make_from_uri):
8894           Don't leak plugin feature.
8895
8896         * tests/check/Makefile.am:
8897         * tests/check/gst/.cvsignore:
8898         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8899           Add brain-dead unit test.
8900
8901 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8902
8903         Patch by: Jeroen Wouters <woutersj at gmail com>
8904
8905         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8906           Treat protocol strings in a case-insensitive way (#437563).
8907
8908 2007-05-11  Michael Smith <msmith@fluendo.com>
8909
8910         * gst/gstplugin.c: (gst_plugin_load_file):
8911         * gst/gstregistry.c: (gst_registry_scan_path_level):
8912           Don't print a g_warning for any failure to load a shared object.
8913           Instead, push this down into gstplugin.c, and warn _only_ if we
8914           failed to open the module (i.e. failure to link).
8915           Avoids warnings on normal, working, non-plugin .so files.
8916
8917 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8918
8919         * gst/gstplugin.c (gst_plugin_load_file):
8920         * gst/gstregistry.c (GST_CAT_DEFAULT,
8921           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8922           Print a g_warning if there was an error when loading a plugins during
8923           registry scan. The shuld help beginners starting with gst-plugin
8924           template.
8925
8926 2007-05-10  Wim Taymans  <wim@fluendo.com>
8927
8928         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8929         (update_time_level), (gst_queue_locked_flush),
8930         (gst_queue_handle_sink_event), (gst_queue_chain),
8931         (gst_queue_push_one), (gst_queue_loop):
8932         * plugins/elements/gstqueue.h:
8933         Be smarter when calculating the current amount of data in the queue by
8934         measuring the difference between start and end timestamps (in running
8935         time) inside the queue. Fixes #432876.
8936         API: GstQueue::pushing to notify elements that we are pushing data again
8937         since the running signal is rather broken for this purpose.
8938
8939 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8940
8941         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8942           gst_queue_base_init, gst_queue_init):
8943           use GST_BOILERPLATE
8944
8945 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8946
8947         * win32/common/libgstreamer.def:
8948         Add new exported functions.
8949         * win32/vs6/grammar.dsp:
8950         Use grammar pre-generated files.
8951
8952 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8953
8954         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8955
8956         * gst/Makefile.am:
8957         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8958         * gst/gstparse.h:
8959         * gst/gstutils.c: (gst_parse_bin_from_description):
8960         * gst/gstutils.h:
8961           Maintain API and ABI when --disable-parse is used. Now that
8962           we have an appropriate error code, we can just return NULL and the
8963           appropriate error when gst_parse_launch() is used despite it having
8964           been disabled (#342564).
8965
8966         * tests/check/Makefile.am:
8967         * tests/check/pipelines/.cvsignore:
8968         * tests/check/pipelines/parse-disabled.c:
8969           Make sure these functions exist and return NULL plus a GError when
8970           --disable-parse is used.
8971
8972 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8973
8974         * tests/benchmarks/complexity.c: (main):
8975         * tests/benchmarks/mass-elements.c: (main):
8976           Set a good example and don't leak messages.
8977
8978 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8979
8980         * docs/gst/Makefile.am:
8981         * docs/libs/Makefile.am:
8982           Correct fixxrefs options.
8983
8984         * docs/plugins/Makefile.am:
8985         * docs/plugins/gstreamer-plugins-docs.sgml:
8986         * docs/plugins/gstreamer-plugins-sections.txt:
8987         * plugins/elements/Makefile.am:
8988         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8989         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8990           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8991           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8992           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8993           _GstCapsFilterClass, trans_class):
8994         * plugins/elements/gstelements.c (name, rank, type, _elements):
8995         * plugins/elements/gstidentity.c
8996           (gst_identity_check_imperfect_timestamp,
8997           gst_identity_check_imperfect_offset):
8998           Document capsfilter and add doc-blurb to identity.
8999
9000 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9001
9002         * libs/gst/controller/gstcontroller.c:
9003         (gst_controlled_property_set_interpolation_mode):
9004         * libs/gst/controller/gstinterpolation.c:
9005           Don't crash if someone tries to set an interpolation mode that
9006           is invalid or that isn't supported yet. Fixes #422295.
9007
9008         * tests/check/libs/controller.c: (GST_START_TEST),
9009         (gst_controller_suite):
9010           Add a test case for the above.
9011
9012 2007-05-03  Edward Hervey  <edward@fluendo.com>
9013
9014         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9015         Properly set the last_stop position on GstSegment. This will only happen
9016         if there is a buffer to push out.
9017
9018 2007-05-03  Wim Taymans  <wim@fluendo.com>
9019
9020         * libs/gst/base/gstbasetransform.c:
9021         (gst_base_transform_buffer_alloc):
9022         always_in_place does not mean that the sink and source caps are the
9023         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9024
9025 2007-05-03  Wim Taymans  <wim@fluendo.com>
9026
9027         * docs/libs/gstreamer-libs-sections.txt:
9028         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9029         (gst_base_src_default_query), (gst_base_src_get_range):
9030         * libs/gst/base/gstbasesrc.h:
9031         API: gst_base_src_query_latency(). Added method so that subclasses can
9032         easily get the latency values of the base source class.
9033
9034 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9035
9036         * tools/gst-inspect.c (print_implementation_info):
9037         Remove 0.8 cruft.
9038
9039 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9040
9041         * tools/Makefile.am:
9042         * tools/gst-launch.1.in:
9043           Don't create a customised man page based on the host architecture,
9044           describe the default registry path generically. That way the man
9045           page is the same for all architectures and packagers have one
9046           multilib issue less to deal with. Fixes #434926.
9047
9048 2007-05-02  Wim Taymans  <wim@fluendo.com>
9049
9050         * gst/gstpad.c:
9051         Fix documentation as spotted by rg on IRC. 
9052
9053 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9054
9055         * gst/gstutils.c:
9056           Improve docs for gst_element_{link,unlink}.
9057
9058 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9059
9060         * docs/design/part-events.txt:
9061         * docs/design/part-overview.txt:
9062         * gst/gstevent.c:
9063         * gst/gsturi.c:
9064         * gst/gsturi.h:
9065         * libs/gst/base/gstbasesink.c:
9066           Typo fixes; minor docs addition.
9067
9068 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9069
9070         * docs/gst/gstreamer-sections.txt:
9071         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9072         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9073         * gst/gsturi.h:
9074         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9075         or src that supports a given URI protocol exists.
9076
9077 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9078
9079         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9080         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9081         Set the location to NULL if "file://" is set as URI. Otherwise
9082         some random previous URI would still be set if "file://" is
9083         set on an already used filesink/filesrc.
9084
9085 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9086
9087         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9088         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9089         Special case the "file://" URI as as this is used by some
9090         applications to test with gst_element_make_from_uri if there's
9091         an element that supports the URI protocol.
9092         Also move the g_path_is_absolute() check for the location part
9093         of the URI to also check this for "file://localhost/bla" URIs.
9094
9095 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9096
9097         * docs/gst/gstreamer-sections.txt:
9098         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9099         * gst/gstbuffer.h:
9100         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9101         (gst_buffer_suite):
9102           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9103
9104 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9105
9106         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9107         (gst_registry_binary_load_pad_template),
9108         (gst_registry_binary_load_plugin),
9109         (gst_registry_binary_read_cache):
9110         * gst/gstregistrybinary.h:
9111           Implement no-mmap alternative for registry reading. Do code cleanups.
9112           Add more comments about avoiding strdups for all text data. Comments
9113           welcome.
9114
9115 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9116
9117         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9118           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9119           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9120           Comment structs and reformat to fix the build (that stuff should go
9121           into a priv. header).
9122
9123 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9124
9125         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9126         (gst_registry_binary_load_feature):
9127         * gst/gstregistrybinary.h:
9128           Refactor so that we can implement multiple features. Add support for
9129           TypeFindFactory features.
9130
9131 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9132
9133         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9134
9135         * configure.ac:
9136           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9137
9138 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9139
9140         * gst/gstbin.c: (gst_bin_element_set_state),
9141         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9142         (bin_handle_async_done), (gst_bin_handle_message_func):
9143           Fix build with --gst-disable-gst-debug
9144
9145 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9146
9147         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9148           Make sure streaming has finished before calling the ::stop() vfunc,
9149           since that vfunc might clear state which is being used in the
9150           streaming thread. This fixes a race that caused crashes in
9151           audioresample when shutting down a pipeline (#420106).
9152
9153 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9154
9155         * docs/gst/gstreamer-sections.txt:
9156           That was one byte missing.
9157
9158 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9159
9160         * configure.ac:
9161         * docs/gst/gstreamer-sections.txt:
9162         * gst/Makefile.am:
9163         * gst/gstconfig.h.in:
9164         * gst/gstobject.c: (gst_object_class_init),
9165         (gst_signal_object_class_init):
9166         * gst/gstobject.h:
9167           2nd attempt to have a xml-less build as a joined effort of #413123
9168           and #421480.
9169
9170 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9171
9172         * docs/design/draft-tagreading.txt:
9173           Added open issues/thoughts to draft.
9174
9175 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9176
9177         * gst/parse/grammar.tab.pre.c:
9178         * gst/parse/grammar.tab.pre.h:
9179         * gst/parse/lex._gst_parse_yy.pre.c:
9180         Update the prebuild parser sources.
9181
9182 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9183
9184         * gst/parse/Makefile.am:
9185         And now fix the building of the flex sources. Now everything should
9186         work as expected.
9187
9188 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9189
9190         * gst/parse/Makefile.am:
9191         Now hopefully fix the build failures by setting proper rule
9192         dependencies and moving instead of copying.
9193
9194 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9195
9196         * tests/benchmarks/complexity.gnuplot:
9197         * tests/benchmarks/complexity.scm:
9198         * tests/benchmarks/mass-elements.gnuplot:
9199         * tests/benchmarks/mass-elements.scm:
9200           Total licensification.
9201
9202 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9203
9204         * gst/parse/Makefile.am:
9205           Fix the build by correcting the rule that gave wrong files to flex.
9206
9207 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9208
9209         * tests/benchmarks/complexity.c:
9210         * tests/benchmarks/mass-elements.c:
9211           Change licence to LGPL as granted by Benjamin and Andy.
9212
9213 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9214
9215         * gst/parse/Makefile.am:
9216         Add correct grammar.tab.h dependency if compiling without new enough
9217         flex. Fixes #431150.
9218
9219 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9220
9221         * gst/parse/Makefile.am:
9222         Fix typo and use outdated sources if the flex/bison sources are newer
9223         than the pregenerated ones but flex is too old. Print a warning in
9224         that case. This should fix the build on the build bot.
9225
9226 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9227
9228         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9229         * gst/parse/Makefile.am:
9230         * gst/parse/grammar.y:
9231         * gst/parse/parse.l:
9232         Make the parser reentrant and recursively callable. This requires flex
9233         >= 2.5.31, for older versions pregenerated sources are used as we
9234         can't bump the build dependency. Finally fixes #349180.
9235
9236         * gst/gstparse.c: (gst_parse_launch):
9237         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9238         now anyway.
9239
9240         * docs/gst/Makefile.am:
9241         * docs/gst/Makefile.am:
9242         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9243         (__gst_parse_strfree), (__gst_parse_link_new),
9244         (__gst_parse_link_free), (__gst_parse_chain_new),
9245         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9246         (gst_parse_element_set), (gst_parse_free_link),
9247         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9248         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9249         (_gst_parse_launch):
9250         * gst/parse/grammar.tab.pre.h:
9251         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9252         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9253         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9254         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9255         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9256         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9257         (_gst_parse_yypop_buffer_state),
9258         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9259         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9260         (yy_fatal_error), (_gst_parse_yyget_extra),
9261         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9262         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9263         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9264         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9265         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9266         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9267         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9268         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9269         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9270         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9271         (_gst_parse_yyfree):
9272         If the installed flex version is too old use pre-generated parser
9273         sources. These pre-generated parser sources are always updated when
9274         the actual flex/bison sources change but require everybody who wants
9275         to change something in the parser to have flex >= 2.5.31 installed.
9276
9277 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9278
9279         * common/m4/gst-gettext.m4:
9280         * gst/gst-i18n-lib.h:
9281           Make --disable-nls to work
9282
9283 2007-04-17  Wim Taymans  <wim@fluendo.com>
9284
9285         * gst/gstconfig.h.in:
9286         Revert previous change that broke the build.
9287
9288 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9289
9290         * configure.ac:
9291         * gst/Makefile.am:
9292         * gst/gstconfig.h.in:
9293           Drop libxml2 dependency when building with 
9294           --enable-binary-registry --disable-loadsave
9295
9296 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9297
9298         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9299         (gst_registry_binary_read_cache):
9300         * gst/gstregistrybinary.h:
9301           Remove unnecessary <sys/mman.h> include which broke the win32 build
9302           with MingW; move includes from header file to .c file, even if the
9303           header file isn't installed; use g_strerror() where UTF-8 strings
9304           are expected, such as in GST_DEBUG messages.
9305
9306 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9307
9308         * docs/libs/gstreamer-libs-sections.txt:
9309         Remove bogus addition for API I didn't end up keeping.
9310
9311         * libs/gst/base/gstbasesrc.h:
9312         Mention Since: 0.10.13 in the documentation.
9313
9314         Add the API keyword to the previous ChangeLog entry.
9315
9316 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9317
9318         * docs/libs/gstreamer-libs-sections.txt:
9319         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9320         (gst_base_src_default_prepare_seek_segment),
9321         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9322         * libs/gst/base/gstbasesrc.h:
9323         Allow basesrc derived classes to execute seeks in other formats
9324         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9325         to prepare the GstSegment in any format that their perform_seek method
9326         will be able to understand. The default implementation provides the
9327         old behaviour of attempting to convert the seek offsets to the 
9328         configured native format.
9329
9330         API: basesrc::prepare_seek_segment vmethod.
9331
9332 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9333
9334         * gst/gstelement.c: (gst_element_get_state_func):
9335         Don't output the same debug statement twice.
9336
9337         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9338         (gst_adapter_peek), (gst_adapter_take_buffer):
9339         Optimise the case where we have buffers at the head of the queue that
9340         can be joined quickly (because they're contiguous sub-buffers) by
9341         merging them together rather than copying data out into new memory.
9342
9343         * gst/parse/grammar.y:
9344         * tests/check/pipelines/parse-launch.c:
9345         Fix a leak in an error path for parse_launch, and add a check 
9346         for it to the testsuite.
9347
9348 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9349
9350         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9351           Don't deadlock when releasing a pad - gst_pad_set_active may try
9352           and take the multiqueue lock too.
9353
9354 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9355
9356         * gst/gsterror.c: (_gst_core_errors_init):
9357         * gst/gsterror.h:
9358           API: add GST_CORE_ERROR_DISABLED (#392804).
9359
9360 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9361
9362         * docs/faq/gst-uninstalled:
9363           don't get empty paths on the PATH variables
9364         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9365           Don't format for the uncommon terminal width of 84 characters.
9366
9367 2007-04-06  Wim Taymans  <wim@fluendo.com>
9368
9369         * gst/gstpipeline.c: (reset_stream_time),
9370         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9371         Only try to select a different pipeline clock when we went back to
9372         PAUSED and not when we merely got flushed.
9373
9374 2007-04-05  Michael Smith  <msmith@fluendo.com>
9375
9376         * tools/gst-launch.1.in:
9377           fractions are better supported in gstreamer than ractions, so
9378           suggest using those.
9379
9380 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9381
9382         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9383
9384         * po/LINGUAS:
9385         * po/da.po:
9386           Added Danish translation.
9387
9388 2007-04-05  Wim Taymans  <wim@fluendo.com>
9389
9390         * libs/gst/base/gstbasesink.c:
9391         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9392         Fix leak caused when refusing newsegment after EOS.
9393
9394         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9395         (gst_fake_sink_init), (gst_fake_sink_set_property),
9396         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9397         (gst_fake_sink_render), (gst_fake_sink_change_state):
9398         * plugins/elements/gstfakesink.h:
9399         Add num-buffers property to make the element generate EOS after a
9400         configurable amount of buffers.
9401         API: fakesink::num-buffers property.
9402
9403         * tests/check/elements/fakesink.c: (GST_START_TEST),
9404         (fakesink_suite):
9405         Fix GstBus leak in test.
9406         Test for fakesink num-buffers.
9407
9408 2007-04-05  Wim Taymans  <wim@fluendo.com>
9409
9410         * libs/gst/base/gstbasesink.c:
9411         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9412         (gst_base_sink_change_state):
9413         Don't accept anything after an EOS, return UNEXPECTED instead.
9414
9415         * tests/check/elements/fakesink.c: (GST_START_TEST),
9416         (fakesink_suite):
9417         Unit test for new EOS behaviour.
9418
9419 2007-04-05  Wim Taymans  <wim@fluendo.com>
9420
9421         * gst/gstelement.c: (gst_element_get_request_pad):
9422         Make padtemplates also work when they don't contain %s or %d.
9423
9424 2007-04-05  Wim Taymans  <wim@fluendo.com>
9425
9426         * docs/gst/gstreamer-sections.txt:
9427         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9428         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9429         * gst/gstclock.h:
9430         Improve _adjust_unlocked() so that it overflows less.
9431         Add gst_clock_unadjust_unlocked to convert from external time to
9432         internal time based on calibration.
9433         Add some more debug.
9434         API: GstClock::gst_clock_unadjust_unlocked()
9435
9436 2007-04-03  Wim Taymans  <wim@fluendo.com>
9437
9438         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9439
9440         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9441         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9442         when releasing sink pad. Fixes #425400.
9443
9444 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9445
9446         * docs/random/ensonic/dynlink.txt:
9447           More work on proposal for new core api.
9448
9449         * docs/libs/gstreamer-libs-sections.txt:
9450         * libs/gst/base/gstbasetransform.h:
9451           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9452           
9453         * libs/gst/controller/gstcontroller.c:
9454         (on_object_controlled_property_changed),
9455         (gst_controller_sync_values),
9456         (gst_controller_set_interpolation_mode):
9457         * libs/gst/controller/gstcontroller.h:
9458           Less verbose logging add docs for unimplemented parts and correctly
9459           return when using unavailable parts.
9460
9461 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9462
9463         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9464         Move all the debug to the CLOCK category, and associate it with
9465         the clock object.
9466
9467 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9468
9469         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9470         Make take_buffer a bit quicker by removing redundant checks
9471         caused by calling gst_adapter_take.
9472
9473 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9474
9475         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9476           Don't leak GCond.
9477
9478         * tests/check/Makefile.am:
9479         * tests/check/elements/.cvsignore:
9480         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9481         (GST_START_TEST), (multiqueue_suite):
9482           Add some dead simple unit tests for the 'multiqueue' element
9483           (some bits don't work yet and are disabled for now).
9484
9485 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9486
9487         * gst/gstelement.c: (gst_element_get_request_pad),
9488         (gst_element_class_get_request_pad_template):
9489           Make gst_element_get_request_pad() create request pads only for
9490           request pad templates and not for, say, sometimes pad templates.
9491
9492 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9493
9494         * docs/design/draft-klass.txt:
9495           Add example that needs more thinking.
9496         
9497         * docs/design/draft-missing-plugins.txt:
9498           More thoughts about wrapper plugins.
9499         
9500         * docs/random/ensonic/embedded.txt:
9501         * docs/random/ensonic/profiling.txt:
9502           More design work.
9503
9504 2007-03-25  Wim Taymans  <wim@fluendo.com>
9505
9506         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9507         (gst_base_src_loop):
9508         Only push the segment events in the PLAYING state for live sources.
9509
9510 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9511
9512         * gst/gstpipeline.c: (gst_pipeline_change_state):
9513         Modify the clock distribution path in PAUSED->PLAYING so that we 
9514         never attempt to choose a new clock unless we're actually leaving
9515         the PAUSED state for the first time. This prevents choosing a
9516         different clock when the state_change gets called for a 2nd time due
9517         to some element doing an async state change.
9518
9519 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9520
9521         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9522         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9523         (gst_pad_chain_unchecked), (gst_pad_push):
9524         Revert last commit. This needs some more thoughts.
9525
9526 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9527
9528         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9529         (gst_pad_chain_unchecked), (gst_pad_push):
9530         Check in set_caps if the caps are compatible with the pad and remove
9531         two functions that are redundant now. Fixes #421543.
9532
9533 2007-03-22  Wim Taymans  <wim@fluendo.com>
9534
9535         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9536         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9537         Unref some more to make valgrind happy.
9538
9539 2007-03-22  Wim Taymans  <wim@fluendo.com>
9540
9541         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9542         (gst_system_clock_id_wait_jitter),
9543         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9544         Fix anoying regression that survived a few releases. When adding an
9545         async entry while blocking on a sync entry, the sync entry will unblock
9546         but still be busy, so it should continue to wait instead of returning
9547         _BUSY to the app.
9548         Add some comments here and there.
9549
9550         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9551         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9552         Add testcase for this.
9553
9554 2007-03-22  Wim Taymans  <wim@fluendo.com>
9555
9556         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9557         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9558         WRONG_STATE and can silently pause the task. All other cases should
9559         error out.
9560
9561 2007-03-22  Wim Taymans  <wim@fluendo.com>
9562
9563         Patch by: Ville Syrjala <syrjala at sci dot fi>
9564
9565         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9566         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9567         Improve debugging.
9568
9569 2007-03-21  Michael Smith  <msmith@fluendo.com>
9570
9571         * docs/pwg/advanced-types.xml:
9572           Fix some errors in the typefinding docs pointed out on irc.
9573
9574 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9575
9576         * libs/gst/base/gstbasesrc.c:
9577         Clarify FIXME comment in the face of having added unlock_stop()
9578
9579 2007-03-21  Wim Taymans  <wim@fluendo.com>
9580
9581         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9582         Prepare for release where we warn against possible app breakage in the
9583         case of live pipelines along with an env var to enable/disable live
9584         preroll mode (GST_COMPAT=[no-]live-preroll).
9585
9586 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9587
9588         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9589         So we should use correct constants for checking for None offset.
9590
9591 2007-03-20  Wim Taymans  <wim@fluendo.com>
9592
9593         * docs/design/part-block.txt:
9594         Mention the fact that the newly switched element should be set to at
9595         least PAUSED.
9596
9597 2007-03-20  Wim Taymans  <wim@fluendo.com>
9598
9599         * gst/gst.c:
9600         Fix compilation with registry disabled as spotted by Saur.
9601
9602 2007-03-20  Wim Taymans  <wim@fluendo.com>
9603
9604         Patch by: Olivier Crete <tester at tester dot ca>
9605
9606         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9607         Look at the pending state too when syncing the element state to the
9608         parent. Fixes #420133.
9609
9610 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9611
9612         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9613         (gst_base_sink_change_state):
9614         * libs/gst/base/gstbasesink.h:
9615         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9616         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9617         (gst_base_src_deactivate):
9618         * libs/gst/base/gstbasesrc.h:
9619         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9620         for sub-classes to correctly clear any state they set trying to
9621         unlock, such as clearing out unlock commands from a command fd.
9622         API: basesrc::unlock_stop
9623         API: basesink::unlock_stop
9624
9625         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9626         (gst_fd_sink_render), (gst_fd_sink_unlock),
9627         (gst_fd_sink_unlock_stop):
9628         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9629         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9630         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9631
9632         Implement unlock_stop in fdsrc and fdsink.
9633         Implement seeking in fdsrc when a seekable fd is passed, as in
9634         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9635
9636 2007-03-19  Wim Taymans  <wim@fluendo.com>
9637
9638         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9639
9640         * gst/gstelement.c: (gst_element_class_init):
9641         Fix pad-added and pad-removed signal signatures so that the pad type is
9642         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9643
9644 2007-03-19  Wim Taymans  <wim@fluendo.com>
9645
9646         * docs/gst/gstreamer-sections.txt:
9647         Add new element field and method.
9648
9649         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9650         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9651         (gst_bin_recalc_state), (gst_bin_get_state_func),
9652         (gst_bin_element_set_state), (gst_bin_change_state_func),
9653         (gst_bin_continue_func), (bin_bus_handler),
9654         (bin_push_state_continue), (bin_handle_async_start),
9655         (bin_handle_async_done), (gst_bin_handle_message_func):
9656         Make async state changes a bit smarter by using new ASYNC_START and
9657         ASYNC_DONE messages. This reduces the number of times we run the state
9658         recalculation thread.
9659         Don't change state of element with a pending ASYNC_START message.
9660         Deprecate STATE_DIRTY messages.
9661         
9662         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9663         (gst_element_get_state_func), (gst_element_continue_state),
9664         (gst_element_lost_state), (gst_element_set_state_func),
9665         (gst_element_change_state):
9666         * gst/gstelement.h:
9667         Keep the state that was last set by the app in a new element field.
9668         Don't allow state changes when handling an element event.
9669         Post ASYNC_START and ASYNC_DONE messages.
9670         Change lost_state so that we go to PAUSED and wait for the parent to set
9671         us to PLAYING again (so latency calculation can be performed)
9672         Export gst_element_change_state() method so that subclasses can use it.
9673         API: gst_element_change_state()
9674         API: GST_STATE_TARGET
9675
9676         * gst/gstpipeline.c: (gst_pipeline_class_init),
9677         (reset_stream_time), (gst_pipeline_change_state),
9678         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9679         Using the new ASYNC_START message we can reset the base_time when
9680         needed. This can then be used to implement base_time redistribution in
9681         flushing seeks so that we can remove the explicit seek handling.
9682         Perform latency query and configuration when going to PLAYING.
9683
9684         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9685         (gst_base_sink_query), (gst_base_sink_change_state):
9686         Post new ASYNC_START/ASYNC_DONE messages.
9687
9688         * tests/check/generic/sinks.c: (GST_START_TEST):
9689         Fix test because the bin will not set the async element to PLAYING right
9690         away.
9691
9692         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9693         Make the message check a little stronger.
9694         Handle ASYNC messages.
9695
9696         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9697         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9698         Expect ASYNC_DONE messages.
9699
9700 2007-03-19  Wim Taymans  <wim@fluendo.com>
9701
9702         * docs/gst/gstreamer-sections.txt:
9703         * gst/gstmessage.c: (gst_message_new_async_start),
9704         (gst_message_new_async_done), (gst_message_parse_info),
9705         (gst_message_parse_async_start):
9706         * gst/gstmessage.h:
9707         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9708         support.
9709
9710 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9711
9712         * tools/gst-inspect.c:
9713         (print_plugin_automatic_install_info_codecs):
9714           Now that we don't check for the 'Codec' keyword any longer in the
9715           klass, we shouldn't spew a warning if the klass isn't a decoder or
9716           encoder (since it might be a Source/Network, for example).
9717
9718 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9719
9720         * tools/gst-inspect.c:
9721         (print_plugin_automatic_install_info_codecs):
9722           Don't require decoder/demuxer/depayloader elements or
9723           encoder/muxer/paylader elements to have 'Codec' as part of their
9724           factory class string when introspecting a plugin's capabilities.
9725           draft-klass.txt mentions that it might be removed in future, and
9726           flump3dec doesn't have it as part of its class string, so chances
9727           are others might also not have it.
9728
9729 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9730
9731         * po/af.po:
9732         * po/az.po:
9733         * po/bg.po:
9734         * po/ca.po:
9735         * po/cs.po:
9736         * po/de.po:
9737         * po/en_GB.po:
9738         * po/fr.po:
9739         * po/it.po:
9740         * po/nb.po:
9741         * po/nl.po:
9742         * po/ru.po:
9743         * po/sq.po:
9744         * po/sr.po:
9745         * po/sv.po:
9746         * po/tr.po:
9747         * po/uk.po:
9748         * po/vi.po:
9749         * po/zh_CN.po:
9750         * po/zh_TW.po:
9751           Update translations from translation project
9752
9753 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9754
9755         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9756         (gst_child_proxy_set_property):
9757           Invert precondition check to be alike the ones in the mimiced gobject
9758           api.
9759
9760 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9761
9762         * docs/design/draft-tagreading.txt:
9763         * docs/random/ensonic/audiobaseclasses.txt:
9764           Do some Architect work.
9765
9766         * gst/gstobject.c: (gst_object_set_name):
9767           Add a WARNING.
9768
9769         * gst/gstpad.c:
9770           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9771
9772 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9773
9774         * gst/gstsystemclock.c: (gst_system_clock_init),
9775         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9776         Defer starting the async system clock thread until the first async
9777         wait is scheduled. Fixes #414986.
9778
9779 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9780
9781         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9782         (gst_single_queue_free):
9783           Fix small leak (free GstSingleQueue structure too, not only contents).
9784
9785 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9786
9787         * gst/gstbin.c:(gst_bin_add):
9788         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9789         * win32/common/libgstbase.def:
9790         * win32/common/libgstreamer.def:
9791         Add new exported functions.
9792
9793 2007-03-09  Wim Taymans  <wim@fluendo.com>
9794
9795         * docs/plugins/gstreamer-plugins-sections.txt:
9796         Fix GstTee docs.
9797
9798 2007-03-09  Wim Taymans  <wim@fluendo.com>
9799
9800         * docs/gst/gstreamer-sections.txt:
9801         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9802         * gst/gstbuffer.h:
9803         Add metadata copy functions. Fixes #393099.
9804         API: gst_buffer_copy_metadata()
9805
9806         * gst/gstutils.c: (gst_buffer_stamp):
9807         * libs/gst/base/gstbasetransform.c:
9808         (gst_base_transform_prepare_output_buffer):
9809         Use new metadata copy functions.
9810
9811 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9812
9813         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9814         (gst_identity_init), (gst_identity_check_perfect),
9815         (gst_identity_check_imperfect_timestamp),
9816         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9817         (gst_identity_set_property), (gst_identity_get_property):
9818         * plugins/elements/gstidentity.h:
9819         Separate out check-imperfect-timestamp and check-imperfect-offset.
9820         Put back check-perfect as it was to keep compatibility.
9821
9822 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9823
9824         * gst/gstelement.c: (gst_element_dispose):
9825         There's no need to warn if VOID_PENDING is not NONE here, as
9826         long as the state is NULL it's ok, and that's checked immediately
9827         above.
9828
9829 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9830
9831         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9832         Fix check for perfect stream to ignore buffers with -1 
9833         offsets/offset ends when checking data contiguity.
9834
9835 2007-03-08  Wim Taymans  <wim@fluendo.com>
9836
9837         * tools/gst-launch.c: (event_loop):
9838         Print INFO messages.
9839
9840 2007-03-08  Wim Taymans  <wim@fluendo.com>
9841
9842         * libs/gst/base/gstbasetransform.c:
9843         (gst_base_transform_sink_eventfunc),
9844         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9845         (gst_base_transform_activate):
9846         * libs/gst/base/gstbasetransform.h:
9847         Add support for dropping buffers with custom GstFlowReturn.
9848         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9849         buffers or dropped buffers.
9850
9851         * docs/libs/gstreamer-libs-sections.txt:
9852         docs for new custom return code.
9853
9854         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9855         Use drop support in base class to implement drop-probability.
9856
9857 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9858
9859         * gst/gst.c: (load_plugin_func):
9860         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9861         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9862         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9863           Remove newlines at end of debug log strings.
9864
9865 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9866
9867         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9868         Only post bus message at max, once per buffer received.
9869
9870 2007-03-07  Wim Taymans  <wim@fluendo.com>
9871
9872         * docs/design/Makefile.am:
9873         * docs/design/part-synchronisation.txt:
9874         Add doc about synchronisation
9875
9876         * docs/design/draft-latency.txt:
9877         * docs/design/part-TODO.txt:
9878         * docs/design/part-clocks.txt:
9879         * docs/design/part-events.txt:
9880         * docs/design/part-gstbus.txt:
9881         * docs/design/part-gstpipeline.txt:
9882         * docs/design/part-live-source.txt:
9883         * docs/design/part-messages.txt:
9884         * docs/design/part-overview.txt:
9885         * docs/design/part-streams.txt:
9886         * docs/design/part-trickmodes.txt:
9887         Documentation updates.
9888
9889 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9890
9891         * gstreamer.doap:
9892         Update the doap file.
9893
9894 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9895
9896         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9897         Rename non-perfect to imperfect for Mike and for the sanctity of the
9898         language.
9899         Also make sure bus message gets emitted for data-incontiguities.
9900
9901 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9902
9903         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9904         (gst_identity_start):
9905         * plugins/elements/gstidentity.h:
9906         Emit bus message if check-perfect is true and we encounter a
9907         non-perfect stream between 2 consecutive buffers.
9908         Fixes #415394.
9909
9910 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9911
9912         * configure.ac:
9913         Back to CVS
9914
9915 === release 0.10.12 ===
9916
9917 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9918
9919         * configure.ac:
9920           releasing 0.10.12, "Inevitable Demise"
9921
9922 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9923
9924         * configure.ac:
9925          Version 0.10.11.2 (0.10.12 pre-release)
9926          Bump libtool versioning.
9927
9928 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9929
9930         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9931           Log flow-names and not numbers.
9932
9933 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9934
9935         * configure.ac:
9936           Convert to new AG_GST style.
9937
9938 2007-02-28  Wim Taymans  <wim@fluendo.com>
9939
9940         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9941         Don't unref query twice.
9942
9943 2007-02-28  Wim Taymans  <wim@fluendo.com>
9944
9945         * gst/gstvalue.c: (gst_value_transform_object_string),
9946         (_gst_value_initialize):
9947         Implement GstObject -> string transform so we print object names
9948         when serializing GValues containing GstObjects.
9949
9950 2007-02-28  Wim Taymans  <wim@fluendo.com>
9951
9952         * docs/gst/gstreamer-sections.txt:
9953         Add new stuff to docs.
9954
9955 2007-02-28  Wim Taymans  <wim@fluendo.com>
9956
9957         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9958         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9959         (gst_base_sink_change_state):
9960         Improve latency query code.
9961         Don't leak latency events.
9962
9963         * tests/check/gst/gstbin.c: (GST_START_TEST):
9964         Improve debugging.
9965
9966 2007-02-28  Wim Taymans  <wim@fluendo.com>
9967
9968         * gst/gstelement.c: (gst_element_message_full),
9969         (gst_element_get_state_func):
9970         * gst/gstelement.h:
9971         Improve docs a little. Added Since: for new macro.
9972
9973         * gst/gstobject.c: (gst_object_sink):
9974         * gst/gstpipeline.c: (gst_pipeline_change_state),
9975         (gst_pipeline_set_new_stream_time):
9976         * gst/gstpipeline.h:
9977         Improve debugging and docs.
9978
9979         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9980         Improve debugging.
9981
9982 2007-02-28  Wim Taymans  <wim@fluendo.com>
9983
9984         * gst/gstelement.c: (gst_element_message_full),
9985         (gst_element_set_locked_state), (gst_element_get_state_func),
9986         (gst_element_change_state):
9987         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9988         Documentation updates.
9989         Small code cleanups.
9990
9991         * gst/gstmessage.c: (gst_message_new_info),
9992         (gst_message_parse_info):
9993         * gst/gstmessage.h:
9994         API: gst_message_new_info()
9995         API: gst_message_parse_info()
9996         Add INFO message create and parse code.
9997
9998 2007-02-28  Wim Taymans  <wim@fluendo.com>
9999
10000         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10001         (bin_query_latency_done):
10002         Also report the live parameter of a latency query.
10003
10004 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10005
10006         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10007           Copy the current generic/states example from -base and adapt so
10008           we can use the exact same code everywhere.
10009           Check a STATES_IGNORE_ELEMENTS env var which can be used
10010           to ignore certain element factories for this test, which is
10011           what is being done in -base
10012         * tests/check/Makefile.am:
10013           Mention this environment variable.
10014
10015 2007-02-27  Wim Taymans  <wim@fluendo.com>
10016
10017         * docs/gst/gstreamer-sections.txt:
10018         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10019         (gst_bus_timed_pop), (gst_bus_pop):
10020         * gst/gstbus.h:
10021         API: gst_bus_timed_pop()
10022         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10023         message to arrive on the bus.
10024
10025         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10026         (gst_bus_suite):
10027         Two unit tests for new _timed_pop() function.
10028
10029 2007-02-23  Wim Taymans  <wim@fluendo.com>
10030
10031         * gst/gstpipeline.c: (gst_pipeline_change_state),
10032         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10033         Don't ref a NULL clock in _provide_clock_func().
10034         Don't allow an INVALID delay.
10035         Don't try to calculate base_time with an invalid start_time.
10036         Also distribute and notify a NULL clock when it was selected.
10037
10038         * tools/gst-launch.c: (event_loop):
10039         Don't crash when a NULL clock was selected in the pipeline.
10040
10041 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10042
10043         * docs/design/Makefile.am:
10044         * docs/design/draft-missing-plugins.txt:
10045         * docs/random/draft-missing-plugins.txt:
10046           Some small updates: update plugin system identifier prefix
10047           ('gstreamer.net' to 'gstreamer'), mention our new install
10048           API in libgstbaseutils rather than libgimme-codec, add
10049           reference to the online docs.
10050
10051 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10052
10053         * win32/common/config.h:
10054           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10055           use moap cl ci to only check in what is mentioned in the ChangeLog.
10056
10057 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10058
10059         * docs/gst/gstreamer-sections.txt:
10060         * gst/gstelement.h:
10061           Fix up documentation to link to the correct GstGError section.
10062           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10063
10064 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10065
10066         * tools/gst-launch.c: (event_loop):
10067           Make sure that we actually show the important message part of a
10068           warning message.
10069           No need to check if the gerror is not NULL to free; first of all
10070           g_free accepts NULL; and second the default error handler would
10071           segfault if gerror was NULL.
10072
10073 2007-02-21  Wim Taymans  <wim@fluendo.com>
10074
10075         * docs/gst/gstreamer-sections.txt:
10076         Removed docs as well.
10077
10078 2007-02-21  Wim Taymans  <wim@fluendo.com>
10079
10080         * gst/gstmessage.c: (gst_message_parse_duration):
10081         * gst/gstmessage.h:
10082         Remove new messages for release.
10083
10084 2007-02-20  Wim Taymans  <wim@fluendo.com>
10085
10086         * docs/design/part-gstghostpad.txt:
10087         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10088         (gst_ghost_pad_new_full):
10089         Make the ghostpad a parent of the internal pad again for better backward
10090         compatibility. Don't write code that relies on this however.
10091
10092         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10093         (gst_pad_link_check_hierarchy):
10094         Require that parents should be GstElements in the hierarchy check.
10095
10096 2007-02-20  Wim Taymans  <wim@fluendo.com>
10097
10098         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10099         (gst_bin_change_state_func), (bin_query_min_max_init),
10100         (bin_query_latency_fold), (bin_query_latency_done),
10101         (gst_bin_query):
10102         Improve debug info.
10103         Implement latency query.
10104
10105 2007-02-20  Wim Taymans  <wim@fluendo.com>
10106
10107         * docs/design/part-gstghostpad.txt:
10108         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10109         (gst_ghost_pad_internal_do_activate_push),
10110         (gst_ghost_pad_internal_do_activate_pull),
10111         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10112         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10113         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10114         Do not set the internal pad as a parent anymore so we can avoid
10115         hierarchy linking errors when the ghostpad has no parent yet. This also
10116         fixes failed activation because of unlinked internal pads, which in
10117         turn fixes the impossible case where you have to activate a pad before
10118         you can add it to a running element.
10119         Also fix the docs.
10120
10121         * gst/gstpad.c: (pre_activate), (post_activate),
10122         (gst_pad_set_active), (gst_pad_activate_pull),
10123         (gst_pad_activate_push), (gst_pad_check_pull_range):
10124         Add some more debug info.
10125         Mark activation mode in pre_activate so that we don't try to activate in
10126         endless loops. Fixes #385084.
10127
10128 2007-02-19  Wim Taymans  <wim@fluendo.com>
10129
10130         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10131         (gst_base_transform_check_get_range):
10132         Implement a checkgetrange function instead of relying on the default
10133         core behaviour that assumes we can operate in pull mode if we have a
10134         getrange function. First step at fixing #385084.
10135
10136 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10137
10138         * gst/gstchildproxy.h:
10139         * libs/gst/base/gstbasesink.h:
10140         * libs/gst/base/gstbasesrc.h:
10141         * libs/gst/base/gstbasetransform.h:
10142         More docs coverage and some ChangeLog surgery (add missing names)
10143
10144 2007-02-15  Wim Taymans  <wim@fluendo.com>
10145
10146         * docs/design/part-TODO.txt:
10147         * docs/design/part-activation.txt:
10148         * docs/design/part-block.txt:
10149         * docs/design/part-buffering.txt:
10150         * docs/design/part-clocks.txt:
10151         * docs/design/part-element-source.txt:
10152         * docs/design/part-events.txt:
10153         * docs/design/part-gstbin.txt:
10154         * docs/design/part-gstbus.txt:
10155         * docs/design/part-gstpipeline.txt:
10156         * docs/design/part-live-source.txt:
10157         * docs/design/part-messages.txt:
10158         * docs/design/part-overview.txt:
10159         * docs/design/part-qos.txt:
10160         * docs/design/part-query.txt:
10161         * docs/design/part-states.txt:
10162         * docs/design/part-trickmodes.txt:
10163         Some doc updates. Start renaming from stream_time to running_time where
10164         it was used wrongly.
10165
10166 2007-02-15  Wim Taymans  <wim@fluendo.com>
10167
10168         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10169         Answer LATENCY query.
10170
10171 2007-02-15  Wim Taymans  <wim@fluendo.com>
10172
10173         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10174         (GST_START_TEST):
10175         Improve debugging.
10176
10177 2007-02-15  Wim Taymans  <wim@fluendo.com>
10178
10179         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10180         (gst_pad_dispatcher):
10181         Improve debugging of default pad dispatcher and query functions.
10182
10183 2007-02-15  Wim Taymans  <wim@fluendo.com>
10184
10185         * docs/gst/gstreamer-sections.txt:
10186         Remove old unused method.
10187
10188 2007-02-13  Wim Taymans  <wim@fluendo.com>
10189
10190         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10191         Fix check
10192
10193 2007-02-13  Wim Taymans  <wim@fluendo.com>
10194
10195         * docs/design/part-seeking.txt:
10196         Some small update.
10197
10198         * gst/gstsegment.c: (gst_segment_set_seek):
10199         Revert old bogus change that should make seeking work again.
10200
10201 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10202
10203         * docs/random/ensonic/dynlink.txt:
10204         * docs/random/ensonic/interfaces.txt:
10205         * docs/random/ensonic/receipies.txt:
10206           Possible dynamic reconnection api, plus some type fixes the other two
10207           docs.
10208
10209 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10210
10211         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10212         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10213         Also check for an absolute path following file:// in the filesrc
10214         element. Remove redundant check and call g_path_is_absolute() on the
10215         unescaped location.
10216
10217 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10218
10219         * docs/design/draft-klass.txt:
10220           Add existing category analysis.
10221           
10222         * gst/gstcaps.c:
10223           Fix doc example, framerate is a fraction.
10224
10225 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10226
10227         * configure.ac:
10228         * docs/gst/Makefile.am:
10229         * docs/gst/gstreamer-sections.txt:
10230         * docs/libs/Makefile.am:
10231           Erm, forgot a bunch of --extra-dir.
10232
10233 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10234
10235         * configure.ac:
10236         * docs/gst/Makefile.am:
10237         * docs/libs/Makefile.am:
10238         * docs/plugins/Makefile.am:
10239           Add crossreferences to glib/gobject docs.
10240
10241 2007-02-12  Wim Taymans  <wim@fluendo.com>
10242
10243         * docs/design/draft-latency.txt:
10244         Small update.
10245
10246         * docs/libs/gstreamer-libs-sections.txt:
10247         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10248         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10249         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10250         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10251         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10252         (gst_base_sink_get_position), (gst_base_sink_query),
10253         (gst_base_sink_change_state):
10254         * libs/gst/base/gstbasesink.h:
10255         API: gst_base_sink_query_latency() to let subclasses query the upstream
10256         latency.
10257         API: gst_base_sink_get_latency() to let subclasses query the configured
10258         latency in the sink.
10259         Implement query and set latency.
10260         Update some docs.
10261         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10262         don't continue preroll when we are flushing. Fixes #405284.
10263
10264         * tests/check/pipelines/stress.c: (change_state_timeout),
10265         (quit_timeout), (GST_START_TEST), (stress_suite):
10266         Test for #405284.
10267
10268 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10269
10270         Patch by: René Stadler <mail at renestadler de>
10271
10272         * docs/gst/gstreamer-sections.txt:
10273         * gst/gsttaglist.c: (_gst_tag_initialize):
10274         * gst/gsttaglist.h:
10275           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10276
10277 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10278
10279         * docs/libs/Makefile.am:
10280           Fix path to core docs.
10281
10282         * gst/gstbin.c: (gst_bin_get_by_interface),
10283         (gst_bin_iterate_all_by_interface):
10284           Refix docs by also renaming 'interface' to 'iface' in implementation.
10285
10286         * docs/gst/gstreamer-sections.txt:
10287         * gst/gstcaps.c:
10288         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10289         * gst/gstchildproxy.h:
10290         * gst/gstelementfactory.c:
10291         * gst/gstpadtemplate.h:
10292         * libs/gst/controller/gstcontroller.c:
10293         (gst_controlled_property_new):
10294           Document more.
10295
10296 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10297
10298         * gst/gstbin.h:(gst_bin_get_by_interface),
10299         (gst_bin_iterate_all_by_interface):
10300         Replace interface parameter name by iface as interface is 
10301         a reserved keyword in Visual Studio for C++ projects so it removes
10302         a build error for application developpers using VS.
10303         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10304         Fix a bug on Windows in uri format check. Now the prefix checked
10305         is file:// and next we check if the path after file:// is absolute.
10306         * win32/common/libgstbase.def:
10307         * win32/common/libgstdataprotocol.def:
10308         * win32/common/libgstgstreamer.def:
10309         Add new exported functions.
10310
10311 2007-02-09  Andy Wingo  <wingo@pobox.com>
10312
10313         * tests/check/pipelines/simple-launch-lines.c
10314         (simple_launch_lines_suite, test_tee): Disable tee test until I
10315         have time to fix it :-(
10316
10317         * tests/check/Makefile.am (noinst_HEADERS): 
10318         * tests/check/libs/libsabi.c: 
10319         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10320         * tests/check/gst/gstabi.c: 
10321         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10322
10323         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10324         tests for push and pull tee behavior.
10325
10326         * plugins/elements/gsttee.h: 
10327         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10328         mark as deprecated as well as unimplemented. It was a crack idea.
10329         Add support for tee operating in pull mode, off by default.
10330
10331         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10332         normal-case logs down to LOG, raise errors to WARNING.
10333         (gst_registry_xml_read_cache): Don't log before calling a function
10334         that logs.
10335
10336         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10337         exit (registry finalize).
10338         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10339         DEBUG log when we emit signals that people don't even have the
10340         chance to connect to.
10341         (gst_registry_scan_path_level): Less logging in the normal case.
10342
10343 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10344
10345         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10346
10347         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10348         Correctly generate EOS for non-seekable files. We don't have a total
10349         length for them and would get an unexpected end of file if we only
10350         special-cased for regular files. (Fixes: #404569)
10351
10352 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10353
10354         * tests/check/elements/filesrc.c: (GST_START_TEST),
10355         (filesrc_suite):
10356         Add unit test for the GstURIHandler interface in filesrc. This also
10357         tests the newly added file://localhost/foo/bar support.
10358
10359 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10360
10361         * gst/gstelementfactory.h:
10362           The klass string is not a hierarchy. Add reference to the design doc
10363           for more information and common types.
10364
10365 2007-02-02  Wim Taymans  <wim@fluendo.com>
10366
10367         * gst/gstquery.c: (gst_query_new_latency):
10368         Remove old structure field.
10369
10370 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10371
10372         * tools/gst-launch.1.in:
10373           Give example for network streaming (#351998)
10374
10375 2007-02-02  Wim Taymans  <wim@fluendo.com>
10376
10377         * docs/gst/gstreamer-sections.txt:
10378         Add docs for new methods.
10379
10380         * gst/gstevent.c: (gst_event_new_latency),
10381         (gst_event_parse_latency):
10382         * gst/gstevent.h:
10383         Add new LATENCY event to configure latency in a pipeline.
10384         API: gst_event_new_latency
10385         API: gst_event_parse_latency
10386
10387         * gst/gstmessage.c: (gst_message_new_buffering),
10388         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10389         (gst_message_new_latency), (gst_message_parse_buffering),
10390         (gst_message_parse_lost_preroll):
10391         * gst/gstmessage.h:
10392         Added messages used in draft-latency.
10393         API: gst_message_new_lost_preroll
10394         API: gst_message_parse_lost_preroll
10395         API: gst_message_new_prerolled
10396         API: gst_message_new_latency
10397
10398         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10399         (gst_query_parse_latency):
10400         * gst/gstquery.h:
10401         Implemented new latency query as in design doc.
10402         API: gst_query_new_latency
10403         API: gst_query_set_latency
10404         API: gst_query_parse_latency
10405
10406 2007-02-02  Wim Taymans  <wim@fluendo.com>
10407
10408         * docs/design/draft-latency.txt:
10409         Slight redesign to allow for dynamic latency adjustments.
10410
10411         * docs/design/part-negotiation.txt:
10412         Fix some typos.
10413
10414 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10415
10416         reviewed by: Wim Taymans <wim@fluendo.com>
10417
10418         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10419         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10420         Allow file://localhost/foo/bar URLs and correctly fail for every other
10421         hostname that one sets. This was gnomevfssrc is linked for those if
10422         installed as it can handle it (#403172)
10423
10424 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10425
10426         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10427
10428         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10429         (unref_data), (gst_collect_pads_add_pad_full):
10430         * libs/gst/base/gstcollectpads.h:
10431         Don't put the previously added destroy notify in the GstCollectData
10432         struct as all it's padding is already used and we don't want to break
10433         ABI. Instead put in the pad's GObject data for now. This should be
10434         cleaned up for 0.11 (#402393).
10435
10436 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10437
10438         reviewed by: Wim Taymans <wim@fluendo.com>
10439
10440         * docs/libs/gstreamer-libs-sections.txt:
10441         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10442         (unref_data), (gst_collect_pads_add_pad),
10443         (gst_collect_pads_add_pad_full):
10444         * libs/gst/base/gstcollectpads.h:
10445         API: Add function to specify a destroy notification for custom
10446         GstCollectData when adding new pads in GstCollectPads (#402393).
10447
10448 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10449
10450         * po/sv.po:
10451           Update Swedish translation (#378255).
10452
10453 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10454
10455         * docs/design/draft-klass.txt:
10456           Fix the previous change, this is a list of categories and not a hierarchy.
10457
10458 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10459
10460         * docs/design/draft-klass.txt:
10461           Add info about how to get a list of used classes.
10462
10463 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10464
10465         * plugins/elements/gsttypefindelement.c:
10466         (gst_type_find_element_chain_do_typefinding),
10467         (gst_type_find_element_change_state):
10468           Don't leak found caps in chain function (no idea why that never
10469           showed up as a leak anywhere).
10470
10471 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10472
10473         * gst/gstplugin.h:
10474           Fix and expand GstPluginDesc API docs.
10475
10476 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10477
10478         * gst/gstcaps.c:
10479         * gst/gstelementfactory.c:
10480         * gst/gstpadtemplate.h:
10481           api doc fixes
10482
10483         * libs/gst/controller/gstcontroller.c:
10484         (gst_controlled_property_new):
10485         * tests/examples/controller/audio-example.c:
10486           comment fixes
10487
10488 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10489
10490         * configure.ac:
10491           comment about refining the xml deps
10492
10493         * docs/manuals.mak:
10494           comments about moving away from jade for docs
10495         
10496         * gst/gst.c:
10497           recommit the ifdefs to use the binary registry
10498         
10499         * gst/gstbin.c: (gst_bin_change_state_func):
10500           this break is obsolete
10501
10502         * gst/gstelementfactory.h:
10503           better GST_ELEMENT_DETAILS docs, add comment about translation
10504
10505         * gst/gstinfo.h:
10506           remove eol slash
10507
10508         * gst/gstobject.c: (gst_signal_object_get_type):
10509           add G_UNLIKELY as usual
10510
10511         * gst/gstpad.c: (gst_pad_event_default):
10512           add fall trhu comment
10513
10514         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10515         (gst_registry_binary_initialize_magic),
10516         (gst_registry_binary_save_string),
10517         (gst_registry_binary_save_pad_template),
10518         (gst_registry_binary_save_feature),
10519         (gst_registry_binary_save_plugin),
10520         (gst_registry_binary_write_cache),
10521         (gst_registry_binary_check_magic),
10522         (gst_registry_binary_load_pad_template),
10523         (gst_registry_binary_load_feature),
10524         (gst_registry_binary_load_plugin),
10525         (gst_registry_binary_read_cache):
10526           comment typo and formatting
10527
10528         * gst/gstutils.c: (gst_element_state_get_name),
10529         (gst_element_state_change_return_get_name):
10530           remove obsolete breaks
10531
10532         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10533           add FIXME 0.11 and remove cpp comment
10534
10535 2007-01-29  Edward Hervey  <edward@fluendo.com>
10536
10537         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10538         Fix print statement in an even more portable way.
10539
10540 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10541
10542         * docs/gst/gstreamer-sections.txt:
10543         * gst/gstutils.h:
10544           API: add GST_ROUND_DOWN_* macros (#401781).
10545
10546 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10547
10548         * docs/gst/gstreamer.types.in:
10549         * gst/gstregistry.c: (gst_registry_class_init):
10550           Document registry signals and make gtk-doc pick them up (#401381).
10551
10552 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10553
10554         * docs/pwg/building-testapp.xml:
10555           Add some audioconverts and audioresample to the pipeline, and some
10556           more comments and error handling.
10557
10558 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10559
10560         * docs/manual/manual.xml:
10561         * docs/pwg/pwg.xml:
10562           Fix typo (#400987).
10563
10564 2007-01-26  Wim Taymans  <wim@fluendo.com>
10565
10566         * gst/gstcaps.c: (gst_static_caps_get):
10567         Init caps flags too.
10568
10569 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10570
10571         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10572
10573         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10574         If not using mmap'ed files try to seek to the end instead of the
10575         start to determine whether we can seek at all. This fixes the case
10576         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10577         seeks for everything afterwards fail. Fixes #400656
10578
10579 2007-01-25  Wim Taymans  <wim@fluendo.com>
10580
10581         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10582         Add some refcount debugging.
10583         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10584         in multiple streaming threads.
10585
10586 2007-01-25  Wim Taymans  <wim@fluendo.com>
10587
10588         Patch by: David Schleef <ds at schleef dot org>
10589
10590         * docs/libs/gstreamer-libs-sections.txt:
10591         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10592         * libs/gst/base/gstadapter.h:
10593         API: gst_adapter_copy() that can reduce the amount of memcpy when
10594         getting data from the adapter. Fixes #388201.
10595
10596 2007-01-25  Edward Hervey  <edward@fluendo.com>
10597
10598         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10599         In print statements, "%x" is for guint. Fixes build on macosx.
10600
10601 2007-01-24  Edward Hervey  <edward@fluendo.com>
10602
10603         * plugins/elements/gstmultiqueue.c:
10604         (gst_multi_queue_loop):
10605         Small fix.
10606         (single_queue_overrun_cb), (single_queue_underrun_cb),
10607         (single_queue_check_full), (gst_single_queue_new):
10608         Implement single queue growth system.
10609         This uses the extra-size properties, and will grow single queues by
10610         that much if one goes full whereas there are others empty. This is
10611         called extra-mode in the code.
10612         When a single queue's levels go back below the initial max-size
10613         limits, it is no longer in extra-mode. This is to ensure we don't
10614         consume too much memory.
10615         Fixes #399875
10616
10617 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10618
10619         * gst/gst.c: (gst_init_get_option_group):
10620           Make warning about late g_thread_init() calls a bit more explicit,
10621           so that it's more obvious to application developers what they need
10622           to do if a user files a bug against their application.
10623
10624 2007-01-22  Edward Hervey  <edward@fluendo.com>
10625
10626         * plugins/elements/gstmultiqueue.c:
10627         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10628         Remove previous hack of unsetting the flushing flag for the source pad
10629         instead of activating it. Instead, fix the source pad activate function
10630         so that it no longer depends on having a parent set or not.
10631
10632 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10633
10634         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10635
10636         * docs/manual/basics-bus.xml:
10637           Fix example code, gst_element_unref() doesn't exist any longer.
10638
10639 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10640
10641         Patch by: Mark Nauwelaerts <manauw at skynet be>
10642
10643         * gst/gstpad.c:
10644           Fix two docs typoes (#399094).
10645
10646 2007-01-19  Edward Hervey  <edward@fluendo.com>
10647
10648         * docs/faq/gst-uninstalled:
10649         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10650         depending on libgstbaseutils can work in uninstalled environment.
10651
10652 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10653
10654         * gst/gsttaglist.h:
10655         * gst/gsttagsetter.c:
10656         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10657         statement for new tag.
10658
10659 2007-01-17  Edward Hervey  <edward@fluendo.com>
10660
10661         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10662         When dynamically creating single queues, activate sinkpad before adding
10663         it.
10664         We should be doing the same thing for the source pad, but we can't
10665         since it would call a method which needs the parent to be set in order
10666         to work propertly. Instead of activating the source pad, we just unset
10667         the flushing flag, which is the minimal requirement for adding a pad
10668         to an element in a state greater than READY.
10669
10670 2007-01-17  Edward Hervey  <edward@fluendo.com>
10671
10672         * docs/faq/gst-uninstalled:
10673         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10674         Mac OS X.
10675
10676 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10677
10678         * tests/check/gst/gstabi.c:
10679         * tests/check/gst/struct_hppa.h:
10680         * tests/check/libs/libsabi.c:
10681         * tests/check/libs/struct_hppa.h:
10682           Add ABI structs for HPPA (see #393796).
10683
10684 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10685
10686         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10687           Actually write ABI structs to the file specified in the GST_ABI
10688           environment variable, as the message we print claims we would.
10689
10690 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10691
10692         * tests/check/gst/gsttask.c:
10693           Fix header comment.
10694
10695 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10696
10697         * gst/gsttaglist.c: (_gst_tag_initialize):
10698           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10699           previous two entries.
10700
10701 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10702
10703         * docs/gst/gstreamer-sections.txt:
10704         * gst/gsttaglist.c: (_gst_tag_initialize):
10705         * gst/gsttaglist.h:
10706           Add tag support for beat-per-minute.
10707
10708 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10709
10710         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10711         (gst_registry_binary_initialize_magic),
10712         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10713         (gst_registry_binary_save_pad_template),
10714         (gst_registry_binary_save_feature),
10715         (gst_registry_binary_save_plugin),
10716         (gst_registry_binary_write_cache),
10717         (gst_registry_binary_check_magic),
10718         (gst_registry_binary_load_pad_template),
10719         (gst_registry_binary_load_feature),
10720         (gst_registry_binary_load_plugin),
10721         (gst_registry_binary_read_cache):
10722         * gst/gstregistrybinary.h:
10723           Use glib types, cleanup comments, impement interfaces and uri-types.
10724
10725 2007-01-13  Andy Wingo  <wingo@pobox.com>
10726
10727         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10728         getrange() to return buffers with other caps, while we fix
10729         demuxers and typefind, or otherwise change part-negotiation.txt.
10730
10731 2007-01-12  Andy Wingo  <wingo@pobox.com>
10732
10733         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10734         Factor start/stop into this private function instead of partially
10735         in activate functions and partially in the change_state function.
10736         Fixes setup before the element has changed from READY->PAUSED, as
10737         is the case in pull-mode pipelines.
10738         (gst_base_transform_sink_activate_push)
10739         (gst_base_transform_src_activate_pull): Refactor to use
10740         gst_base_transform_activate().
10741         (gst_base_transform_change_state): Removed, not needed any more.
10742
10743         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10744         Truncate before fixating.
10745         
10746         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10747         Don't set_caps() if the result of fixating is ANY, as it's not
10748         supported, and not necessary in the case of a link with no
10749         template caps on either side. Fixes tests/check/libs/basesrc in
10750         some pull-mode tests.
10751
10752         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10753         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10754         (gst_base_transform_src_activate_pull): 
10755         Track the activation mode.
10756         (gst_base_transform_setcaps): In pull mode, when activating the
10757         src pad, after activating the sink pad, activate the sink pad's
10758         peer, as discussed in part-negotiation.txt.
10759
10760         * libs/gst/base/gstbasesrc.h: 
10761         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10762         vmethod, as in basesink.
10763
10764         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10765
10766         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10767         mode, first proxy the setcaps to the peer pad.
10768         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10769         new fixate vmethod.
10770         (gst_base_sink_default_activate_pull): Rename from
10771         gst_base_sink_activate_pull.
10772         (gst_base_sink_negotiate_pull): New function, performs negotiation
10773         in pull mode before calling ::activate_pull().
10774         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10775         vmethod instead of the default implementation. I have no idea how
10776         this worked before. Negotiate before calling activate_pull.
10777
10778         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10779         sink pads in pull mode. In addition to being correct, fixes
10780         filesrc ! decodebin ! identity ! fakesink.
10781         (gst_pad_get_range, gst_pad_pull_range): Don't call
10782         gst_pad_set_caps() if the caps changes; instead error out with
10783         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10784
10785 2007-01-12  Andy Wingo  <wingo@pobox.com>
10786
10787         * docs/design/part-negotiation.txt: Update with more policy.
10788
10789 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10790
10791         * libs/gst/check/gstbufferstraw.h:
10792         * libs/gst/check/gstcheck.h:
10793           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10794           belongs.
10795
10796 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10797
10798         * tests/check/Makefile.am:
10799         * tests/check/gst/.cvsignore:
10800         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10801         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10802         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10803         (GST_START_TEST), (gst_tag_setter_suite):
10804           Add minimal unit test for beforementioned GstTagSetter bug.
10805
10806 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10807
10808         Patch by: René Stadler <mail at renestadler dot de>
10809
10810         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10811           gst_tag_list_merge() returns a new list, so it's not the best idea
10812           to ingore its return value. Effectively meant that tags could only
10813           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10814           Also add function guard to require a non-NULL taglist as input (has
10815           always been so due to gst_tag_list_copy(), just making it explicit).
10816
10817 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10818
10819         * docs/random/draft-missing-plugins.txt:
10820           Some additions: mention new API that is supposed to be used at the
10821           various stages; short blob about new gst-inspect introspection
10822           option; mention potential future problem with plugins that have
10823           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10824
10825 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10826
10827         * tools/gst-inspect.c:
10828         (print_plugin_automatic_install_info_codecs),
10829         (print_plugin_automatic_install_info_protocols),
10830         (print_plugin_automatic_install_info), (main):
10831         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10832         introspect plugin files and get machine-parsable output that corresponds
10833         to the last bit of the missing-plugin installer string (small gotcha:
10834         doesn't take into account ranks).
10835
10836 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10837
10838         * configure.ac:
10839         * docs/gst/gstreamer-sections.txt:
10840         * gst/Makefile.am:
10841         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10842         (gst_registry_lookup_locked):
10843         * gst/gstregistry.h:
10844         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10845         (gst_registry_binary_initialize_magic),
10846         (gst_registry_binary_save_string),
10847         (gst_registry_binary_save_pad_template),
10848         (gst_registry_binary_save_feature),
10849         (gst_registry_binary_save_plugin),
10850         (gst_registry_binary_write_cache),
10851         (gst_registry_binary_check_magic),
10852         (gst_registry_binary_load_pad_template),
10853         (gst_registry_binary_load_feature),
10854         (gst_registry_binary_load_plugin),
10855         (gst_registry_binary_read_cache):
10856         * gst/gstregistrybinary.h:
10857         * gst/gstregistryxml.c: (load_feature),
10858         (gst_registry_xml_read_cache):
10859           commit binary registry (disabled by default, see #359653)
10860
10861 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10862
10863         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10864           Fix 'make check' too.
10865
10866 2007-01-10  Andy Wingo  <wingo@pobox.com>
10867
10868         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10869         notes.
10870         
10871         * docs/design/part-negotiation.txt: Update with, um, one way that
10872         pull-mode negotiation might work?
10873
10874         * gst/gstpad.h: 
10875         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10876         that the pad must be a src pad; makes sense to call it the other
10877         way in pull mode, and the logic is symmetric anyway.
10878
10879 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10880
10881         * plugins/elements/gstfilesink.c:
10882           Include <stdio.h> for fseeko().
10883
10884 2007-01-10  Wim Taymans  <wim@fluendo.com>
10885
10886         * gst/gstevent.c:
10887         * gst/gstevent.h:
10888         Reserve LATENCY event.
10889
10890 2007-01-09  Wim Taymans  <wim@fluendo.com>
10891
10892         * docs/design/draft-latency.txt:
10893         Updates.
10894
10895 2007-01-09  Wim Taymans  <wim@fluendo.com>
10896
10897         * docs/design/draft-latency.txt:
10898         Updates.
10899
10900         * gst/gstelement.h:
10901         * gst/gststructure.c:
10902         * gst/gsttrace.c:
10903         Small typo fixes.
10904
10905 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10906
10907         * tests/check/.cvsignore:
10908           Ignore test-registry.xml as well.
10909
10910 2007-01-09  Wim Taymans  <wim@fluendo.com>
10911
10912         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10913         unref data at the end when we are done with the pad.
10914
10915 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10916
10917         * docs/gst/gstreamer-sections.txt:
10918         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10919         (init_post), (gst_deinit), (gst_update_registry):
10920         * gst/gst.h:
10921           API: add gst_update_registry() (#391296).
10922
10923         * tests/check/Makefile.am:
10924         * tests/check/gst/gstregistry.c:
10925         * tests/check/gst/.cvsignore:
10926           Simple unit test for the above.
10927
10928 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10929
10930         * gst/gstregistry.c: (gst_registry_scan_path_level):
10931           Plugin extension on HP-UX is .sl, add that to the list of approved
10932           plugin extensions (see #393796).
10933
10934         * tests/check/gst/gstpad.c: (GST_START_TEST):
10935           ulong => gulong. Fixes compilation with HP-UX compiler.
10936
10937         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10938           Fix compilation if valgrind headers are not available.
10939
10940 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10941
10942         * win32/common/libgstreamer.def: 
10943           Add new exported function.
10944         * win32/vs6/libgstbase.dsp: 
10945           Add gstdataqueue.c to the build.
10946         * win32/vs6/libgstcoreelements.dsp:
10947           Add gstmultiqueue.c to the build.
10948         
10949 2007-01-06  Andy Wingo  <wingo@pobox.com>
10950
10951         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10952         activate_pull(), providing for a way to specialize the process of
10953         spawning a thread to pull on the sink pad. There is a default
10954         implementation.
10955
10956         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10957         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10958         (gst_base_sink_init): Renamed pad activation functions (inserting
10959         "_pad" in their names). Refactor to use the new activate_pull
10960         vmethod, as appropriate.
10961         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10962         default activate_pull function to start a task pulling from the
10963         sink pad, as before.
10964
10965         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10966         on the pads if necessary, as in push()/chain(). Update docs.
10967         Shouldn't affect existing pull() usage as it is currently only
10968         being used on buffers without caps.
10969
10970 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10971
10972         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10973         (init_pre):
10974           Call g_thread_init() first thing in gst_init() / gst_check_init().
10975           When initialisation is done via gst_init_get_option_group() and
10976           GOption parsing, issue a warning if the GLib thread system has not
10977           been initialised yet by the time gst_init_get_option_group() is
10978           called, as it's quite likely other GLib functions such as
10979           g_option_context_new() have been called already then, and
10980           g_thread_init() must be called before any other GLib function. The
10981           application in question must be fixed in that case, since memory
10982           corruption might happen otherwise.
10983           We issue the warning because even if the GLib folks decide to work
10984           around the problem on their end in future, this is still an issue
10985           with all GLib versions >= 2.10.0, so we should warn until we depend
10986           on a GLib version we know to be safe.
10987           Update documentation as well.
10988           Closes bug #391278.
10989
10990 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10991
10992         * tools/gst-inspect.c: (main):
10993         * tools/gst-launch.c: (main):
10994         * tools/gst-typefind.c: (main):
10995         * tools/gst-xmlinspect.c: (main):
10996           Call g_thread_init() really really early, before any other GLib
10997           function (see #342564 and recent discussion on gtk-devel-list).
10998
10999 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11000
11001         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
11002
11003         * gst/gst_private.h:
11004         * gst/gstconfig.h.in:
11005         * gst/gstinfo.h:
11006           On win32, all the __declspec stuff for symbol exporting is
11007           apparently only needed with MSVC, but doesn't work with MingW.
11008           Fixes compilation with MingW and #391909.
11009
11010 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11011
11012         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11013           Change some GST_ERROR_OBJECT that aren't really errors to
11014           GST_WARNING_OBJECT in order to reduce terminal spam.
11015
11016 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11017
11018         * tests/check/Makefile.am:
11019           disable test again, as there seem to be still race problems
11020
11021 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11022
11023         * tests/check/Makefile.am:
11024         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11025         (GST_START_TEST), (queue_suite):
11026           enable queue test again, add tests for the leaky behaviour
11027
11028 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11029
11030         * configure.ac:
11031         * tests/examples/Makefile.am:
11032           Compile adapter test/example only if the required headers are
11033           available (fixes #391915).
11034
11035 2007-01-01  David Schleef  <ds@schleef.org>
11036
11037         * gst/gstplugin.c:
11038           Restore the previous signal handler for SIGSEGV instead of
11039           setting to default, since we may have stolen it away from
11040           someone.  (i.e., Mono)
11041
11042 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11043
11044         * docs/random/draft-missing-plugins.txt:
11045           Some small additions and clarifications.
11046
11047 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11048
11049         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11050           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11051           since that can lead to random memory corruptions and crashes
11052           (may or may not be related to #383244, #386711, and #386711).
11053
11054 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11055
11056         * tests/check/.cvsignore:
11057         * tests/check/Makefile.am:
11058           sync .cvsignome and CLEANFILES
11059
11060 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11061
11062         * tests/check/Makefile.am:
11063           fix distcheck
11064
11065 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11066
11067         * docs/design/part-states.txt:
11068           two tiny additional comments
11069         
11070         * gst/gststructure.c:
11071           doc fixing
11072
11073         * tests/check/Makefile.am:
11074         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11075         (GST_START_TEST):
11076           disable test for now, unless it gets fixed
11077
11078 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11079
11080         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11081         (GST_START_TEST):
11082           fix race in underrun test
11083
11084 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11085
11086         * tests/check/elements/.cvsignore:
11087           ignore more
11088
11089         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11090         (GST_START_TEST):
11091           try to narrow test failure
11092
11093 2006-12-21  David Schleef  <ds@schleef.org>
11094
11095         * plugins/elements/gstfakesrc.c:
11096           Use g_random_int_range(), since it produces better random
11097           numbers in a range than almost-correct floating point code.
11098
11099 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11100
11101         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11102         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11103         (gst_check_teardown_sink_pad):
11104           do not automatically (de)activate pads
11105
11106         * tests/check/Makefile.am:
11107         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11108         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11109           add new, yet simple tests for queue
11110
11111         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11112         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11113         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11114         (GST_START_TEST):
11115         * tests/check/elements/identity.c: (cleanup_identity):
11116           consistent pad (de)activation
11117
11118 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11119
11120         Patch by: Sebastian Dröge  <slomo ubuntu com>
11121
11122         * libs/gst/base/gstcollectpads.c:
11123           Fix two doc typos (#387866).
11124
11125 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11126
11127         * docs/manual/advanced-dparams.xml:
11128           Fix typo (g_object_control_properties() doesn't exist).
11129
11130 2006-12-19  Edward Hervey  <edward@fluendo.com>
11131
11132         * gst/gstsegment.c: (gst_segment_set_seek):
11133         Fine tune the cases where the segment start/stop values are really
11134         updated.
11135         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11136         Add tests for the return values of gst_segment_set_seek().
11137
11138 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11139
11140         * gst/gst.c:
11141           Docs typo fix.
11142
11143         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11144         (gst_queue_init):
11145           Fix incorrect documentation and flesh it out a bit more.
11146           Set default values for the max properties on the GParamSpec as well,
11147           so it shows up correctly in gst-inspect.
11148
11149 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11150
11151         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11152           Correct docs of queue, add more detail and crosslink it more.
11153
11154 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11155
11156         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11157           Print additional debug info when the stream isn't perfectly
11158           timestamped; don't try to use invalid durations.
11159
11160 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11161
11162         * docs/design/Makefile.am:
11163           Dist new design docs.
11164
11165 2006-12-16  Wim Taymans  <wim@fluendo.com>
11166
11167         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11168
11169         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11170         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11171         (gst_collect_pads_stop), (gst_collect_pads_event),
11172         (gst_collect_pads_chain):
11173         * libs/gst/base/gstcollectpads.h:
11174         Add refcounting to the collectpads data so we can track when it's safe
11175         to free the data. Fixes #383382.
11176
11177 2006-12-15  Wim Taymans  <wim@fluendo.com>
11178
11179         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11180         (gst_collect_pads_remove_pad):
11181         Automatically activate/deactivate pads when they are added to a
11182         started/stoped collectpads.
11183
11184 2006-12-15  Wim Taymans  <wim@fluendo.com>
11185
11186         * gst/gstelement.c: (gst_element_add_pad):
11187         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11188         * gst/gstpad.c: (gst_pad_init):
11189         Set pads to FLUSHING when they are created. Check, warn and fix when a
11190         demuxer adds an inactive pad to itself when running. Fixes #339326.
11191
11192 2006-12-15  Wim Taymans  <wim@fluendo.com>
11193
11194         * gst/gstelement.c: (gst_element_class_init),
11195         (gst_element_default_send_event), (gst_element_send_event),
11196         (gst_element_default_query), (gst_element_query):
11197         Expose default element send_event and query handling as vmethods that
11198         subclasses can chain up to.
11199
11200 2006-12-15  Wim Taymans  <wim@fluendo.com>
11201
11202         * gst/gstelement.c: (gst_element_set_state_func):
11203         Small documentation fixes.
11204
11205 2006-12-15  Wim Taymans  <wim@fluendo.com>
11206
11207         * docs/design/draft-latency.txt:
11208         Checked in draft for handling latency in pipelines.
11209
11210 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11211
11212         * Makefile.am:
11213         * gstreamer.doap:
11214         * gstreamer.spec.in:
11215           adding .doap file
11216
11217 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11218
11219         * gst/gst.c: (init_pre), (init_post):
11220           init_pre() and init_post() might be called via our GOptionGroup or
11221           from gst_init(), and we should skip both of them if we've already
11222           been initialised, otherwise we will init some things twice or add
11223           two default log functions.
11224
11225 2006-12-13  Edward Hervey  <edward@fluendo.com>
11226
11227         * docs/manual/basics-bus.xml:
11228         No, gst_main_loop does not exist. Its g_main_loop.
11229         Discovered by somebody who abused the copy-paste technique of coding :)
11230
11231 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11232
11233         * gst/gstghostpad.c:
11234           Log ghostpad debug stuff to the GST_PADS category as well rather
11235           than just to the default category.
11236
11237 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11238
11239         * configure.ac:
11240         * gst/gst.c: (init_pre):
11241           Add some basic system details such as OS and architecture
11242           to the debug output if possible, courtesy of uname().
11243
11244 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11245
11246         * docs/gst/running.xml:
11247           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11248           environment variables.
11249
11250 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11251
11252         * tests/check/gst/gstbin.c: (GST_START_TEST):
11253         It is acceptable to have a refcount of 2 or 3 at this point in the
11254         test, because the pipeline might be just posting its state_change
11255         message. The next line then waits for that message to appear using
11256         bus_poll, so that should be fine too.
11257
11258 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11259
11260         * gst/gst.c: (ensure_current_registry_forking):
11261         Ignore EINTR when reading from the child registry pipe.
11262         Explicitly ignore the return value from close, since it makes no
11263         difference.
11264
11265         * gst/gstminiobject.c: (gst_mini_object_ref),
11266         (gst_mini_object_unref):
11267         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11268
11269         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11270         When removing cached plugins, remove their features too, so they're
11271         not visible after they've disappeared.
11272
11273         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11274         In the unlikely case that we are linking pads with no parents, don't
11275         crash trying to get the non-existent parent bin.
11276
11277         * gst/parse/grammar.y:
11278         Output debug in the PIPELINE category
11279
11280 2005-03-08  Wim Taymans  <wim@fluendo.com>
11281
11282         Patch by: René Stadler <mail at renestadler dot de>
11283
11284         * gst/gstclock.c: (gst_clock_new_periodic_id):
11285         Reject invalid clock times for interval of periodic ids.
11286         Fixes ##383506.
11287
11288 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11289
11290         * gst/gstelementfactory.c: (gst_element_factory_create):
11291         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11292         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11293         * tools/gst-inspect.c: (print_element_info):
11294         Fix refcounting of gst_plugin_feature_load to match the docs. 
11295         Fixes: #380129
11296
11297 2006-12-07  Wim Taymans  <wim@fluendo.com>
11298
11299         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11300         (gst_base_sink_get_position):
11301         Improve debugging of events.
11302
11303 2006-12-07  Wim Taymans  <wim@fluendo.com>
11304
11305         Patch by: René Stadler <mail at renestadler dot de>
11306
11307         * gst/gstclock.c: (gst_clock_id_wait):
11308         Make period ids add the interval to the origial requested time instead
11309         of the possibly updated time which can be wrong when there are multiple
11310         waiters for the same id. Fixes #382592.
11311
11312         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11313         (gst_system_clock_id_wait_jitter_unlocked),
11314         (gst_system_clock_id_wait_jitter):
11315         Fix restart in the async notify thread when an async entry is added to
11316         the front of the list. Fixes #381492. 
11317
11318         * tests/check/gst/gstsystemclock.c: (store_callback),
11319         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11320         Added test for multiple async waits.
11321         Added test for async wait order.
11322
11323 2006-12-07  Wim Taymans  <wim@fluendo.com>
11324
11325         * gst/gstbin.c: (gst_bin_query):
11326         Add some more docs about the POSITION query.
11327
11328 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11329
11330         * configure.ac:
11331         Bump version nano - back to CVS.
11332
11333 === release 0.10.11 ===
11334
11335 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11336
11337         * configure.ac:
11338           releasing 0.10.11, "Love never runs on time"
11339
11340 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11341
11342         * win32/common/libgstbase.def:
11343         * win32/common/libgstreamer.def:
11344         * win32/vs8/libgstbase.vcproj:
11345         * win32/vs8/libgstcoreelements.vcproj:
11346         * win32/vs8/libgstreamer.vcproj:
11347         Fix compilation on win32 under VS8
11348         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11349         Partially fixes #381175
11350
11351 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11352
11353         * gst/gstvalue.c: (gst_value_compare_fraction):
11354         If someone is foolish enough to compare 2 fractions with denominator =
11355         0, return UNORDERED rather than aborting.
11356
11357 2006-11-28  Edward Hervey  <edward@fluendo.com>
11358
11359         * libs/gst/base/Makefile.am:
11360         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11361         (gst_data_queue_base_init), (gst_data_queue_class_init),
11362         (gst_data_queue_init), (gst_data_queue_new),
11363         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11364         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11365         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11366         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11367         (gst_data_queue_set_flushing), (gst_data_queue_push),
11368         (gst_data_queue_pop), (gst_data_queue_drop_head),
11369         (gst_data_queue_set_property), (gst_data_queue_get_property):
11370         * libs/gst/base/gstdataqueue.h:
11371         New GstDataQueue object for threadsafe queueing. Most useful for
11372         elements that need some queueing functionnality.
11373         * docs/libs/gstreamer-libs-docs.sgml:
11374         * docs/libs/gstreamer-libs-sections.txt:
11375         Insert documentation for GstDataQueue
11376         * plugins/elements/Makefile.am:
11377         * plugins/elements/gstelements.c:
11378         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11379         (gst_multi_queue_class_init), (gst_multi_queue_init),
11380         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11381         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11382         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11383         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11384         (gst_multi_queue_loop), (gst_multi_queue_chain),
11385         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11386         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11387         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11388         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11389         (wake_up_next_non_linked), (compute_next_non_linked),
11390         (single_queue_overrun_cb), (single_queue_underrun_cb),
11391         (single_queue_check_full), (gst_single_queue_new):
11392         * plugins/elements/gstmultiqueue.h:
11393         New multiqueue element, using GstDataQueue. Used for queuing multiple
11394         streams.
11395         Closes #344639 and #347785
11396
11397 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11398
11399         * docs/pwg/advanced-types.xml:
11400           add more missing type details
11401
11402         * tools/gst-run.c: (main):
11403           remove unused variable
11404
11405 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11406
11407         * docs/libs/Makefile.am:
11408         * docs/libs/gstreamer-libs.types:
11409           add types of base classes to enable gobject specific stuff in the docs
11410
11411         * docs/random/ensonic/embedded.txt:
11412           more ideas about isolating platform specific things
11413
11414 2006-11-20  Wim Taymans  <wim@fluendo.com>
11415
11416         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11417
11418         * libs/gst/check/gstcheck.h:
11419         Fix compilation and running against 0.9.4. Fixes #377332.
11420
11421 2006-11-20  Wim Taymans  <wim@fluendo.com>
11422
11423         * gst/gstsegment.c: (gst_segment_set_seek),
11424         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11425         (gst_segment_to_running_time):
11426         Fix boundary checking in to_running_time() and to_stream_time().
11427         Fixes #377183.
11428
11429         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11430         stream and running time can now be calculated for the complete
11431         clipped segment.
11432
11433 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11434
11435         * gst/gstpad.c: (gst_pad_push_event):
11436           Can't access event structure after giving away ownership of
11437           the event.
11438
11439 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11440
11441         * docs/random/ensonic/embedded.txt:
11442         * docs/random/ensonic/profiling.txt:
11443         * docs/random/ensonic/receipies.txt:
11444           more thinking
11445
11446 2006-11-13  Wim Taymans  <wim@fluendo.com>
11447
11448         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11449
11450         * gst/gstpad.c:
11451         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11452
11453 2006-11-13  Wim Taymans  <wim@fluendo.com>
11454
11455         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11456
11457         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11458         Store new length in segment duration so we don't keep on calling the
11459         potentially expensize get_size() call. Fixes #370865.
11460
11461 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11462
11463         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11464
11465         * win32/common/libgstreamer.def:
11466           Add two missing symbols (#366492).
11467
11468 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11469
11470         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11471         (gst_adapter_take_buffer):
11472         Fix format string to use all its arguments.
11473         Remove useless >= check on a guint
11474
11475 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11476
11477         * tests/examples/adapter/.cvsignore:
11478         Ignore build file as commanded by the build-bot
11479
11480 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11481
11482         * tests/examples/adapter/Makefile.am:
11483         * tests/examples/adapter/adapter_test.c: (run_test_take),
11484         (run_test_take_buffer), (run_tests), (main):
11485
11486         Add new files from the previous commit
11487
11488 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11489
11490         * Makefile.am:
11491         * configure.ac:
11492         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11493         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11494         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11495         * libs/gst/base/gstadapter.h:
11496         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11497         (GST_START_TEST), (gst_adapter_suite):
11498         * tests/examples/Makefile.am:
11499         Do some optimisation work in GstAdapter to avoid copies in more cases.
11500         It could still do slightly better by merging buffers when
11501         gst_buffer_is_span_fast is true, but is already faster. 
11502
11503         Also, avoid traversing a single-linked list to append each incoming 
11504         buffer inside the adapter.
11505
11506         Add simple test app that times the adapter behaviour in different
11507         situations, and extend the unit test to check that bytes enter and
11508         exit the adapter in their original order.
11509
11510 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11511
11512         * docs/random/draft-missing-plugins.txt:
11513           Update: use element message instead of adding a new message
11514           type to the core; don't provide GStreamer API to initiate the
11515           plugin download, just provide API to compose the strings needed
11516           and let an external libgimmestuff handle the rest.
11517
11518 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11519
11520         * tools/gst-inspect.c: (print_element_properties_info):
11521         Print a string instead of 'unknown type' for GValueArray properties
11522
11523 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11524
11525         * docs/random/draft-missing-plugins.txt:
11526         More small fixes.
11527
11528 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11529
11530         * tests/examples/typefind/typefind.c: (type_found), (main):
11531           Make typefind element example work again (#371894); add a
11532           license header.
11533
11534 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11535
11536         * docs/random/draft-missing-plugins.txt:
11537           Commit initial draft about how to deal with missing plugins,
11538           needs work (API too).
11539
11540 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11541
11542         * docs/pwg/advanced-types.xml:
11543           documents the new caps elements (see #363118)
11544
11545 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11546
11547         * gst/gstplugin.c: (gst_plugin_load_file):
11548         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11549         (gst_file_src_map_region), (gst_file_src_start):
11550         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11551         (gst_file_index_commit):
11552           Use g_strerror() instead of strerror() - we want UTF-8.
11553
11554 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11555
11556         Patch by: Peter Kjellerstedt <pkj at axis com>
11557
11558         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11559           Another printf fix (#371493).
11560
11561 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11562
11563         * tests/check/gst/gsttag.c:
11564           relicence (okay with author=company)
11565
11566 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11567
11568         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11569         (gst_pad_push_event):
11570           Enhance debug and improve docs
11571         
11572         * gst/gsturi.c:
11573           Fix docs
11574
11575 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11576
11577         * docs/random/ensonic/distributed.txt:
11578         * docs/random/ensonic/profiling.txt:
11579           more ideas
11580
11581 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11582
11583         * docs/gst/gstreamer-sections.txt:
11584           add new API and fix the build
11585           
11586         * gst/gstbin.c: (gst_bin_recalc_state):
11587         * gst/gstelement.c: (gst_element_message_full),
11588         (gst_element_get_state_func), (gst_element_set_state_func):
11589           use new API and improve logging
11590         
11591         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11592         * gst/gstutils.h:
11593           API: add function to get StateChangereturn names to improve logs 
11594
11595 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11596
11597         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11598           I'm considering shooting the next person to put strerror stuff
11599           in the translateable part of the message.
11600
11601 2006-11-03  Wim Taymans  <wim@fluendo.com>
11602
11603         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11604         Get the type and printf conversion specifiers right.
11605
11606 2006-11-03  Wim Taymans  <wim@fluendo.com>
11607
11608         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11609
11610         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11611         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11612         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11613         Some small cleanups. Improve debugging.
11614         * gst/gstpad.h:
11615         Signal all waiting threads with a broadcast instead of just one.
11616         Fixes #369942.
11617
11618 2006-11-03  Wim Taymans  <wim@fluendo.com>
11619
11620         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11621         (gst_fd_src_create):
11622         Add some debugging. 
11623         Only update fd when it's different from the old.
11624
11625 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11626
11627         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11628           Printf fixes for PPC/OSX, take two (#369366).
11629
11630 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11631
11632         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11633
11634         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11635         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11636         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11637           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11638           don't cast to long long for portability reasons, but use
11639           GLib's types instead.
11640
11641 2006-10-30  Michael Smith  <msmith@fluendo.com>
11642
11643         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11644           Get the arguments to lseek() the right way around.
11645           Fixes 367677.
11646
11647 2006-10-30  Wim Taymans  <wim@fluendo.com>
11648
11649         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11650
11651         * gst/gstinfo.h:
11652         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11653
11654 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11655
11656         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11657
11658         * docs/design/part-MT-refcounting.txt:
11659         * docs/random/wtay/capsnego2-docs:
11660         * gst/gstclock.c:
11661         * gst/gstxml.c:
11662           Typo fixes (#366212).
11663
11664 2006-10-28  Wim Taymans  <wim@fluendo.com>
11665
11666         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11667
11668         * gst/gst.c:
11669         * win32/common/libgstbase.def:
11670         * win32/common/libgstreamer.def:
11671         * win32/vs8/libgstbase.vcproj:
11672         * win32/vs8/libgstcontroller.vcproj:
11673         Add needed entries in .def files.
11674         Use HAVE_UNISTD_H.
11675         Rearrange def files in vs8 solutions. Fixes #366286.
11676
11677 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11678
11679         * win32/common/gstconfig.h:
11680           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11681           hand-made win32 gstconfig.h. Fixes #366321.
11682
11683 2006-10-27  Wim Taymans  <wim@fluendo.com>
11684
11685         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11686         (gst_ghost_pad_new_full):
11687         Make acceptcaps return TRUE when we don't have a target, just like
11688         setcaps does.
11689
11690 2006-10-27  Wim Taymans  <wim@fluendo.com>
11691
11692         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11693         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11694
11695 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11696
11697         * gst/gststructure.c: (gst_structure_id_set_value):
11698           If someone tries to set a non-UTF8 string field on a structure,
11699           don't just print a warning, but also ignore the request and do
11700           not change/add that field to the structure.
11701
11702         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11703           Test for the above.
11704
11705 2006-10-25  David Schleef  <ds@schleef.org>
11706
11707         * gst/gstinfo.c:
11708           g_hash_table_insert() needs a cast to a non-const pointer duh.
11709
11710 2006-10-25  David Schleef  <ds@schleef.org>
11711
11712         * gst/gstinfo.c:
11713         * gst/gstinfo.h:
11714           Change name parameter of _gst_debug_register_funcptr to const
11715           to reflect the constness of its use in the function as well
11716           as to quiet a gcc warning.
11717
11718 2006-10-25  Edward Hervey  <edward@fluendo.com>
11719
11720         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11721         Don't push the buffer if it's empty.
11722         Closes #363095
11723
11724 2006-10-24  Wim Taymans  <wim@fluendo.com>
11725
11726         * gst/gstevent.h:
11727         Add small comment.
11728
11729         * libs/gst/base/gstbasetransform.c:
11730         (gst_base_transform_sink_eventfunc):
11731         Debug segment values *after* updating them as this is more
11732         interesting.
11733
11734 2006-10-23  Wim Taymans  <wim@fluendo.com>
11735
11736         * docs/design/part-events.txt:
11737         Update some docs.
11738
11739         * docs/design/part-block.txt:
11740         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11741         (gst_pad_push_event):
11742         Revert BLOCKING patch, it tries to be smart without really having a
11743         clear idea what or how. So, now we discard all FLUSHING events again on
11744         a blocking pad. Should fix gnonlin again.
11745
11746 2006-10-23  Wim Taymans  <wim@fluendo.com>
11747
11748         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11749
11750         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11751         (gst_base_src_start), (gst_base_src_activate_push):
11752         Make sure size is always initialized. Fixes #364388.
11753
11754 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11755
11756         * docs/random/ensonic/distributed.txt:
11757           add some ideas about doing distributed processing
11758
11759         * docs/random/ensonic/profiling.txt:
11760           get_rusage look promising
11761
11762 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11763
11764         * docs/manual/basics-helloworld.xml:
11765           Add a cast in example to fix compile warning
11766
11767 2006-10-18  Wim Taymans  <wim@fluendo.com>
11768
11769         * gst/gstsegment.c: (gst_segment_set_last_stop),
11770         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11771         Relax arg checking again, -1 is allowed.
11772
11773 2006-10-18  Wim Taymans  <wim@fluendo.com>
11774
11775         * gst/gstsegment.c: (gst_segment_set_last_stop),
11776         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11777         _set_last_stop() must be with a value != -1
11778         A _TYPE_SET to -1 means seek to 0.
11779         Calc last_stop correctly for negative rates.
11780         Make sure we work with positive durations when updating a segment.
11781
11782 2006-10-18  Wim Taymans  <wim@fluendo.com>
11783
11784         * docs/design/part-live-source.txt:
11785         * gst/gstclock.h:
11786         Small docs fixes.
11787
11788 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11789
11790         * gst/gstbuffer.h:
11791           Add an explicit cast to GstBuffer** to keep old code that added an
11792           explicit cast to GstMiniObject** for gst_mini_object_replace()
11793           compiling without warning.
11794
11795 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11796
11797         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11798           check for validity of dates
11799
11800 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11801
11802         * docs/gst/gstreamer-sections.txt:
11803           Forgot this one, makes gtk-doc shut up.
11804
11805 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11806
11807         Patch by: Peter Kjellerstedt <pkj at axis com>
11808
11809         * gst/gstobject.h:
11810           Don't define xmlNodePtr to gpointer if the core was built with
11811           --disable-loadsave and --disable-registry, this will break
11812           applications that want to use libxml2 but are buildling against a
11813           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11814           instead so we don't have to mess with the libxml2 namespace
11815           (#361675).
11816
11817 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11818
11819         * gst/gstbuffer.h:
11820           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11821           type-punned pointer warnings.
11822
11823 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11824
11825         * gst/gstelement.h:
11826           Add casts to the correct return type to state <=> state transition
11827           macros.
11828
11829 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11830
11831         * docs/design/part-live-source.txt:
11832           describe howto handle latency
11833         
11834         * docs/random/ensonic/profiling.txt:
11835           more ideas
11836
11837         * tools/gst-plot-timeline.py:
11838           fix log parsing for solaris, remove unused function
11839
11840 2006-10-16  Wim Taymans  <wim@fluendo.com>
11841
11842         * docs/design/part-trickmodes.txt:
11843         * gst/gstevent.c:
11844         Update some docs regarding reverse playback.
11845
11846 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11847
11848         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11849
11850         * win32/vs8/grammar.vcproj:
11851           Error out with a warning if glib-genmarshal.exe is not in path,
11852           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11853
11854 2006-10-13  Wim Taymans  <wim@fluendo.com>
11855
11856         * gst/gstsegment.c: (gst_segment_set_seek):
11857         When seeking to stop -1, set last_stop (current position) to the
11858         duration of the segment.
11859
11860 2006-10-13  Wim Taymans  <wim@fluendo.com>
11861
11862         * gst/gstelement.h:
11863         Clarify _NO_PREROLL a bit more.
11864
11865         * gst/gstevent.c:
11866         Fix docs.
11867
11868         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11869         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11870         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11871         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11872         due to wrong locking order. Fixes #361769.
11873         Remove some redundant/misplaced checks in pad_block.
11874
11875         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11876         For negative rates, count backwards from the duration.
11877
11878 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11879
11880         * gst/gsterror.c: (_gst_library_errors_init):
11881           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11882           up with something better).
11883
11884 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11885
11886         * win32/vs6/libgstreamer.dsp:
11887         * win32/vs7/libgstreamer.vcproj:
11888         * win32/vs8/libgstreamer.vcproj:
11889           Don't reference glib-compat.c which is currently not used and not
11890           disted; add gstquark.c which was recently added. Fixes #361730.
11891
11892 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11893
11894         * win32/common/libgstbase.def:
11895         * win32/common/libgstcontroller.def:
11896         * win32/common/libgstreamer.def:
11897           Add gst_caps_merge() and a bunch of other recently-added functions.
11898           Fixes #361732.
11899
11900 2006-10-11  Wim Taymans  <wim@fluendo.com>
11901
11902         * docs/plugins/gstreamer-plugins.args:
11903         * docs/plugins/inspect/plugin-coreelements.xml:
11904         * docs/plugins/inspect/plugin-coreindexers.xml:
11905         Update element args.
11906
11907         * gst/gstsystemclock.c:
11908         Small comment update.
11909
11910         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11911         (gst_tee_request_new_pad), (gst_tee_release_pad),
11912         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11913         (gst_tee_sink_activate_pull):
11914         * plugins/elements/gsttee.h:
11915         Some tee loving:
11916         Add default property defines.
11917         Implement release pad function.
11918         Give properties better blubs etc.
11919         Activate pads before adding them to a running tee.
11920         Do simple buffer_alloc on the first requested pad.
11921         Post error when activation fails.
11922
11923 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11924
11925         * gst/gst.c: (ensure_current_registry_forking):
11926           Check return value of write() to make compiler happy.
11927
11928 2006-10-11  Wim Taymans  <wim@fluendo.com>
11929
11930         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11931
11932         * plugins/elements/gstqueue.c: (gst_queue_chain):
11933         Recheck queue filledness after signalling the overrun when we're about
11934         to leak downstream because we released the lock when emitting the signal
11935         and the queue could be empty again. Fixes #352345.
11936
11937 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11938
11939         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11940           Fix refcounting here too, just like we did for _new_valist() a few
11941           days ago (#357180) (thanks to René Stadler). Also remove all those
11942           'Since: 0.9' from the gtk-doc blobs.
11943
11944         * tests/check/libs/controller.c: (controller_refcount_new_list),
11945         (gst_controller_suite):
11946           Unit test for the above.
11947
11948 2006-10-10  Wim Taymans  <wim@fluendo.com>
11949
11950         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11951
11952         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11953         (gst_pad_save_thyself):
11954         Update some docs.
11955         Write pad direction in XML output. Fixes #345496.
11956
11957 2006-10-10  Wim Taymans  <wim@fluendo.com>
11958
11959         Patch by: René Stadler <mail at renestadler dot de>
11960
11961         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11962         (gst_controller_new_list), (_gst_controller_dispose),
11963         (_gst_controller_finalize), (_gst_controller_class_init):
11964         Take ref to controlled object so that it cannot disappear. 
11965         Fixes #357432.
11966
11967 2006-10-10  Wim Taymans  <wim@fluendo.com>
11968
11969         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11970         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11971         (gst_check_teardown_sink_pad):
11972         Activate/deactivate pads in setup/teardown respectively.
11973
11974 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11975
11976         Patch by: Josep Torra Valles <josep@fluendo.com>
11977
11978         * gst/Makefile.am:
11979         Cast values when making gstenumtypes.h.  This pacifies Forte
11980         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11981         in the enumeration.
11982
11983 2006-10-09  Wim Taymans  <wim@fluendo.com>
11984
11985         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11986         Rename some more @cur to @start to fix docs. 
11987
11988         * gst/gstsegment.c: (gst_segment_set_seek):
11989         Fix typo.
11990         time and start must always stay in sync as defined in design doc.
11991
11992         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11993         Rename param to fix docs.
11994
11995         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11996         Check that start and time are in sync.
11997
11998         * tests/check/pipelines/parse-launch.c:
11999         (gst_parse_test_element_change_state):
12000         Activate pad before adding to the element.
12001
12002 2006-10-09  Wim Taymans  <wim@fluendo.com>
12003
12004         * docs/design/part-qos.txt:
12005         Fix typo.
12006
12007         * gst/gstevent.c:
12008         * gst/gstevent.h:
12009         Update seek event docs regarding negative rates.
12010         Rename @cur to @start. 
12011
12012         * gst/gstsegment.c: (gst_segment_set_seek):
12013         * gst/gstsegment.h:
12014         Update set_seek docs regarding negative rates.
12015         Correctly update last_stop to @stop when dealing with negative
12016         rates.
12017         Rename @cur to @start. 
12018
12019         * tests/check/gst/gstpad.c: (GST_START_TEST):
12020         Activate pads before trying to use them.
12021
12022         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12023         (gst_segment_suite):
12024         Add simple check for segments and negative rates.
12025
12026 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12027
12028         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12029         * gst/gsttaglist.h:
12030         * docs/gst/gstreamer-sections.txt:
12031           API: add gst_tag_list_is_empty() (#360467).
12032
12033         * tests/check/gst/gsttag.c: (GST_START_TEST):
12034           And a test case.
12035
12036 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12037
12038         * gst/gstmessage.h:
12039         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12040         a value that doesn't fit on enumeration.
12041
12042 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12043
12044         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12045         Remove local debugging system and use Gstreamer's instead.
12046
12047 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12048
12049         Patch by: Josep Torra Valles <josep@fluendo.com>
12050
12051         * common/m4/gst-error.m4:
12052         Disable warning of statement not reached on Forte.
12053         * gst/gstmessage.h:
12054         Fix warning on Forte (value doesn't fit on enumeration).
12055         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12056         Fix warning on Forte (value doesn't fit on enumeration).
12057         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12058         DEBUG macro says it takes minimum of 2 args and so Forte
12059         complains about the use with just 1 arg.
12060         * plugins/elements/gstfdsink.c:
12061         * plugins/elements/gstfdsrc.c:
12062         * plugins/elements/gstfilesink.c:
12063         * plugins/elements/gstfilesrc.c:
12064         Use correct return type for the uri handler implementations.
12065
12066         All these fix warnings in Forte.  Fixes bug #360860.
12067
12068 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12069
12070         * gst/gstelement.h:
12071           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12072           format string, so don't use G_GNUC_PRINTF for those versions.
12073
12074 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12075
12076         * gst/gsttaglist.c: (gst_is_tag_list):
12077         * gst/gsttaglist.h:
12078           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12079
12080         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12081           Small test for the above.
12082
12083 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12084
12085         * gst/gsttaglist.h:
12086           Less tabs, more spaces.
12087
12088 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12089
12090         * gst/gstinfo.h:
12091           Those two function declarations do actually belong there, revert
12092           commit from yesterday that turned them intro macros.
12093
12094 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12095
12096         Patch by: Josep Torra Valles <josep@fluendo.com>
12097
12098         * gst/gst.c: (gst_init_get_option_group):
12099         Fix empty declaration and type mismatch.
12100         * gst/gstbin.c: (gst_bin_change_state_func):
12101         Fix type mismatch.
12102         * gst/gstelement.c: (gst_element_continue_state),
12103         (gst_element_set_state_func), (gst_element_change_state),
12104         (gst_element_change_state_func):
12105         Fix type mismatches.
12106         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12107         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12108         Cast as appropriate.
12109         * gst/gstobject.c: (gst_class_signal_connect):
12110         Cast as appropriate.  The function pointer parameter really
12111         has the wrong type but would break API if we change it.
12112         * gst/gstquery.c:
12113         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12114         order of including string.h.
12115         * gst/gstutils.c: (gst_element_state_get_name):
12116         Remove unreachable line.
12117         * gst/gstxml.c: (gst_xml_parse_doc):
12118         Fix type mismatch.
12119         All these caught by Forte.
12120
12121 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12122
12123         Patch by: Josep Torra Valles <josep@fluendo.com>
12124
12125         * common/m4/gst-error.m4:
12126         Fixed bug #360151.
12127         We need to disable warnings on Forte for empty declarations
12128         due to gst-indent adding ;s to lines that just use macros
12129         where the macro actually doesn't need a ; at end to end
12130         statement.
12131
12132 2006-10-06  Wim Taymans  <wim@fluendo.com>
12133
12134         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12135         (gst_file_sink_close_file), (gst_file_sink_event),
12136         (gst_file_sink_render):
12137         Add some FIXME for the NEWSEGMENT handling.
12138
12139 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12140
12141         * gst/parse/grammar.y:
12142         Remove static function gst_parse_element_lock as all it does
12143         is return.  Looks like cruft from 0.8.
12144
12145 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12146
12147         Patch by: Josep Torra Valles <josep@fluendo.com>
12148
12149         * common/m4/gst-error.m4:
12150         * configure.ac:
12151         * libs/gst/net/Makefile.am:
12152         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12153         libresolv.
12154
12155 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12156
12157         * gst/gstpad.c: (pre_activate):
12158         * gst/gstregistry.c: (gst_registry_scan_path_level):
12159         * gst/gstregistryxml.c: (load_plugin):
12160         * libs/gst/controller/gstcontroller.c:
12161         (gst_controlled_property_set_interpolation_mode):
12162         * libs/gst/dataprotocol/dataprotocol.c:
12163         (gst_dp_packet_from_event_1_0):
12164         * libs/gst/net/gstnetclientclock.c:
12165         (gst_net_client_clock_observe_times):
12166         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12167           Printf fixes.
12168
12169 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12170
12171         * configure.ac:
12172         * docs/gst/gstreamer-sections.txt:
12173         * gst/gstconfig.h.in:
12174         * gst/gstelement.h:
12175         * gst/gstinfo.h:
12176           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12177           whether we can use G_GNUC_PRINTF in other header files and at
12178           least check the printf format/arguments of debug messages and
12179           GST_ELEMENT_ERROR messages when the printf extension is not
12180           being used.
12181           Replace more tabs with spaces in gstinfo.h and remove two spurious
12182           function declarations in GST_DISABLE_DEBUG part with macros.
12183
12184 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12185
12186         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12187           More docs for the sync-message signal (mention that it is not
12188           emitted by default); log message structures of messages posted on
12189           the bus as well.
12190
12191 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12192
12193         * gst/gst.c: (ensure_current_registry_forking):
12194         Use a pipe pair to receive status results from the forked child, and
12195         ignore the result from waitpid. Fixes #355499
12196
12197 2006-10-02  Wim Taymans  <wim@fluendo.com>
12198
12199         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12200         (gst_ghost_pad_suite):
12201         Fix leak in check.
12202
12203 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12204
12205         * gst/gstpad.c:
12206           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12207
12208 2006-10-02  Edward Hervey  <edward@fluendo.com>
12209
12210         * docs/design/part-block.txt:
12211         Further explain the use of flushing on blocked pads.
12212         * docs/gst/gstreamer-sections.txt:
12213         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12214         (gst_pad_push_event):
12215         * gst/gstpad.h:
12216         Added new GstPadFlag : GST_PAD_BLOCKING.
12217         Adds the notion of pads really blocking, which enables to properly
12218         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12219         Fixes #358999
12220         API: gst_pad_is_blocking()
12221         API: GST_PAD_IS_BLOCKING() macro
12222         API: GST_PAD_BLOCKING GstPadFlag
12223         
12224 2006-10-02  Wim Taymans  <wim@fluendo.com>
12225
12226         Patch by: mrcgran <mrc.gran at gmail dot com>
12227
12228         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12229         Filter the proxied caps against the padtemplate if we have one.
12230
12231         * gst/gstquery.c: (gst_query_new_segment):
12232         Add include for gstinfo.h so that compilation with
12233         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12234
12235 2006-10-02  Wim Taymans  <wim@fluendo.com>
12236
12237         Patch by: Alessandro Decina  <alessandro at nnva org>
12238
12239         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12240         (gst_file_sink_set_location), (gst_file_sink_open_file),
12241         (gst_file_sink_close_file), (gst_file_sink_event),
12242         (gst_file_sink_render):
12243         Set file to NULL when closing filesink so that we can set a new filename
12244         in READY. Fixes #358613.
12245
12246 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12247
12248         Patch by: Alessandro Decina  <alessandro at nnva org>
12249
12250         * gst/gstevent.c: (_gst_event_copy):
12251           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12252           with event structures by setting the parent refcount address of the
12253           copied structure to the address of the refcount member of the newly
12254           copied event rather than the address of the refcount member of the
12255           original event. Fixes #358737.
12256
12257         * tests/check/gst/gstevent.c: (GST_START_TEST):
12258           Unit test for the above.
12259
12260 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12261
12262         * docs/design/Makefile.am:
12263           Dist some more files.
12264
12265 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12266
12267         * tests/check/libs/controller.c: (GST_START_TEST),
12268         (gst_controller_suite):
12269           Add test for the previous fix; add some more tests
12270           for correct refcounting behaviour; fix a few leaks
12271           in test cases; call gst_controller_init() at start
12272           of all tests.
12273
12274 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12275
12276         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12277         (gst_controller_set_from_list):
12278           Don't g_return_val_if_fail() on timed values with invalid timestamps
12279           inside a critical section without unlocking the mutex. Spotted by
12280           René Stadler. (#357617)
12281           Also, fix up refcounting properly: when returning an existing
12282           controller, we should increase the reference only once and not
12283           once per property and when trying to control a property again
12284           we should also increase the refcount.
12285
12286 2006-09-29  Wim Taymans  <wim@fluendo.com>
12287
12288         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12289         * libs/gst/net/gstnettimeprovider.c:
12290         (gst_net_time_provider_thread):
12291         Stop reading commands when EOF as well.
12292
12293         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12294         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12295         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12296         Unify description of the dump property.
12297
12298 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12299
12300         * tests/examples/manual/.cvsignore:
12301         OK, so it's actually cvsignore that needs changing. Stop laughing.
12302
12303 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12304
12305         * tests/examples/manual/Makefile.am:
12306         Gah, declare vars *before* using them
12307
12308 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12309
12310         * gst/gst.c: (init_pre), (scan_and_update_registry),
12311         (ensure_current_registry_nonforking),
12312         (ensure_current_registry_forking), (ensure_current_registry),
12313         (init_post), (gst_debug_help), (gst_deinit):
12314         * gst/gst_private.h:
12315         * gst/gstregistry.c: (gst_registry_finalize),
12316         (gst_registry_remove_features_for_plugin_unlocked),
12317         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12318         (gst_registry_scan_path),
12319         (_priv_gst_registry_remove_cache_plugins),
12320         (_priv_gst_registry_cleanup):
12321         * gst/gstregistry.h:
12322         Re-commit the registry changes, along with an extra fix:
12323           When a cached plugin is encountered at a different file path,
12324           update the stored path in the registry cache so that the parent
12325           process knows where it actually is now when it re-reads the registry
12326           cache. Fixes the thing that broke distcheck with the previous commit.
12327
12328         * tests/check/Makefile.am:
12329         Clean up files named 'core' too when running make clean.
12330
12331         * tests/examples/manual/Makefile.am:
12332         Set up a registry path for running these tests, and clean it properly
12333         for distcheck.
12334
12335 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12336
12337         * configure.ac:
12338         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12339         want gmodule-no-export-2.0.pc instead so that we don't drag in
12340         --export-dynamic on every project that links to GStreamer.
12341
12342         Also, make our export regex only match the start of symbols, rather 
12343         than any symbol that contains '_gst' somewhere.
12344
12345         * libs/gst/check/Makefile.am:
12346         The libgstcheck we build does however need export-dynamic, as it
12347         produces some symbols that don't match our _gst... style regex.
12348         Fixes: #318031
12349
12350 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12351
12352         * gst/gst.c: (init_pre), (scan_and_update_registry),
12353         (ensure_current_registry_nonforking),
12354         (ensure_current_registry_forking), (ensure_current_registry),
12355         (init_post), (gst_debug_help), (gst_deinit):
12356         * gst/gst_private.h:
12357         * gst/gstregistry.c: (gst_registry_finalize),
12358         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12359         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12360         (_gst_registry_cleanup):
12361         * gst/gstregistry.h:
12362           Revert previous change until I figure out why it breaks distcheck.
12363
12364 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12365
12366         * gst/gst.c: (init_pre), (scan_and_update_registry),
12367         (ensure_current_registry_nonforking),
12368         (ensure_current_registry_forking), (ensure_current_registry),
12369         (init_post), (gst_debug_help), (gst_deinit):
12370
12371           Make init_pre and init_post take the full complement of GOptionFunc
12372           args so they can return useful GErrors. Make the registry updating
12373           functions do so.
12374
12375           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12376           ensure that the registry we're about to write out doesn't contain
12377           stale information about old-deleted plugin files.
12378
12379           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12380           that deletion of plugin files is considered a registry change.
12381
12382         * gst/gst_private.h:
12383         * gst/gstregistry.c: (gst_registry_finalize),
12384         (gst_registry_remove_features_for_plugin_unlocked),
12385         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12386         (gst_registry_scan_path),
12387         (_priv_gst_registry_remove_cache_plugins),
12388         (_priv_gst_registry_cleanup):
12389         * gst/gstregistry.h:
12390         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12391         by adding _priv prefix, so that they won't appear in the global
12392         symbol table. They still do atm though because of #318031. Move the
12393         prototypes to gst_private.h
12394
12395         When removing a plugin, remove all features for that plugin too. 
12396         Fixes #340878.
12397
12398 2006-09-27  Wim Taymans  <wim@fluendo.com>
12399
12400         * docs/random/moving-plugins:
12401         Make it clear that the "compiled-in descriptions" really mean
12402         the element details.
12403
12404         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12405         (gst_base_sink_wait_preroll):
12406         Update docs.
12407
12408         * docs/libs/gstreamer-libs-sections.txt:
12409         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12410         (gst_base_src_get_range), (gst_base_src_activate_push):
12411         * libs/gst/base/gstbasesrc.h:
12412         Added function to block while waiting for PLAYING, this function
12413         is used by live sources that block on the clock.
12414         API: gst_base_src_wait_playing()
12415
12416 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12417
12418         Patch by: Peter Kjellerstedt <pkj at axis com>
12419
12420         * Makefile.am:
12421           gst-element-check.m4 is generated and should therefore be
12422           copied from the build dir rather than the source dir (#357593).
12423           'make distcheck' hasn't noticed this because we were disting
12424           the file as well, so stop doing that.
12425
12426 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12427
12428         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12429           Add some tests for gst_caps_intersect().
12430
12431         * tools/gst-launch.c: (event_loop):
12432           Print all buffering percentages we get, even the 100% one.
12433
12434 2006-09-26  Wim Taymans  <wim@fluendo.com>
12435
12436         * tools/gst-inspect.c: (print_element_properties_info),
12437         (print_signal_info):
12438         Fix printing of flags to match the look of enums.
12439
12440 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12441
12442         * gst/gstelementfactory.c:
12443           Fix typo in docs blurb.
12444
12445 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12446
12447         * gst/gsturi.c: (search_by_entry):
12448           Don't assert/crash here if a uri handler doesn't return any
12449           supported protocols. The list of protocols could be generated
12450           dynamically at runtime or at plugin registration, and an error
12451           in the underlying library shouldn't be fatal (#353301).
12452
12453 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12454
12455         * gst/gstinfo.c:
12456           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12457           (spotted by Peter Kjellerstedt).
12458
12459 2006-09-23  Wim Taymans  <wim@fluendo.com>
12460
12461         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12462
12463         * libs/gst/base/gstbasesrc.c:
12464         (gst_base_src_default_check_get_range), (gst_base_src_start),
12465         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12466         (gst_base_src_change_state):
12467         Match _start/_stop calls in the activate functions. Remove redundant
12468         _stop call from the state change function. Fixes #356910.
12469         Turn failure DEBUG into ERROR. 
12470
12471 2006-09-22  Wim Taymans  <wim@fluendo.com>
12472
12473         * docs/design/part-buffering.txt:
12474         * gst/gstmessage.c: (gst_message_new_buffering),
12475         (gst_message_parse_buffering):
12476         Update docs about buffering.
12477
12478         * docs/design/part-trickmodes.txt:
12479         Fix typo.
12480
12481 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12482
12483         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12484         (gst_controller_new_list):
12485           Ref instances when returning them again (fixes #357180)
12486
12487 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12488
12489         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12490           Don't forget to release proxy lock when there's an error.
12491
12492 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12493
12494         * gst/gstcaps.h:
12495           Add extra initialisers for Caps things, to fix some plugin warnings
12496           when using -Wextra
12497
12498 2006-09-18  Wim Taymans  <wim@fluendo.com>
12499
12500         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12501           Also set template on the internal pad so that a getcaps from the 
12502           target pad returns the template caps.
12503
12504 2006-09-18  Wim Taymans  <wim@fluendo.com>
12505
12506         * gst/gstelement.c: (gst_element_post_message),
12507         (gst_element_dispose):
12508         Use _DEBUG_OBJECT some more.
12509
12510         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12511         Avoid typechecks.
12512
12513         * tools/gst-launch.c: (main):
12514         If the toplevel element is not a GstPipeline, it must be put in a
12515         pipeline so that a bus and clock is selected.
12516
12517 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12518
12519         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12520           JITTER, RATE, and LATENCY query should be handled by the
12521           default case and not by the CONVERT query code.
12522
12523 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12524
12525         * gst/gstformat.c: (gst_format_register):
12526           Fix locking order (must take lock before using n_values).
12527
12528         * gst/gstvalue.c: (gst_value_serialize_enum),
12529         (gst_value_deserialize_enum_iter_cmp),
12530         (gst_value_deserialize_enum):
12531           Fix serialisation/deserialisation of custom registered GstFormats.
12532
12533         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12534           Unit test for custom format serialisation/deserialisation.
12535
12536 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12537
12538         * docs/pwg/building-boiler.xml:
12539         * plugins/elements/gstcapsfilter.c:
12540         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12541         section.
12542
12543 2006-09-16  Edward Hervey  <edward@fluendo.com>
12544
12545         * libs/gst/base/gstbasetransform.c:
12546         (gst_base_transform_buffer_alloc):
12547         Check if requested caps are the same as the sinks caps IF
12548         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12549         is FALSE.
12550         This fixes the renegotiation issues stated in #352827.
12551
12552 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12553
12554         * configure.ac:
12555         * docs/manual/advanced-autoplugging.xml:
12556         * tests/examples/Makefile.am:
12557         * tests/examples/manual/.cvsignore:
12558         * tests/examples/manual/Makefile.am:
12559         * tests/examples/manual/extract.pl:
12560           Extract the manual examples again like we used to do.
12561           Fix one of them.
12562
12563 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12564
12565         * win32/common/config.h:
12566           update for version
12567
12568 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12569
12570         * gst/gsterror.c:
12571           Documents how to receive errors.
12572
12573 2006-09-15  Wim Taymans  <wim@fluendo.com>
12574
12575         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12576         (event_loop), (main):
12577         Added some comments here and there.
12578         Post an application message when an interrupt is caught instead of doing
12579         an uncontrolled state change.
12580         Clean up the event loop.
12581         Handle buffering messages, pause/resume the pipeline.
12582         Make shutdown because of an interrupt more reliable.
12583
12584 2006-09-15  Wim Taymans  <wim@fluendo.com>
12585
12586         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12587         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12588         (gst_base_sink_preroll_object):
12589         Make sure that our internal state is correct when we commit our state
12590         asynchronously. This solves a race where a state change to PLAYING
12591         could cause the sink to remain blocked in preroll in some situations.
12592
12593 2006-09-15  Wim Taymans  <wim@fluendo.com>
12594
12595         * tools/gst-inspect.c: (print_element_properties_info),
12596         (print_signal_info):
12597         List flags as hex so it's easier to deal with.
12598
12599 2006-09-15  Wim Taymans  <wim@fluendo.com>
12600
12601         * docs/libs/gstreamer-libs-sections.txt:
12602         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12603         (gst_base_sink_do_sync):
12604         * libs/gst/base/gstbasesink.h:
12605         Expose logic to wait for preroll so that subclasses such as audiosink
12606         can also use this method.
12607         API: gst_base_sink_wait_preroll()
12608
12609 2006-09-15  Wim Taymans  <wim@fluendo.com>
12610
12611         * gst/gstobject.c: (gst_object_set_parent):
12612         * gst/gstpipeline.c: (do_pipeline_seek):
12613         Small cleanups in docs and code.
12614
12615         * gst/gstsegment.c: (gst_segment_clip):
12616         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12617         if stop == start and start is in the segment, no clipping should be
12618         done. Also add a test for this.
12619
12620 2006-09-15  Wim Taymans  <wim@fluendo.com>
12621
12622         * docs/design/part-buffering.txt:
12623         * docs/gst/gstreamer-sections.txt:
12624         * gst/gstmessage.c: (gst_message_new_buffering),
12625         (gst_message_parse_buffering):
12626         * gst/gstmessage.h:
12627         Added methods to create and parse BUFFERING messages.
12628         Added preliminary docs about buffering.
12629         API: gst_message_new_buffering
12630         API: gst_message_parse_buffering
12631
12632 2006-09-06  Wim Taymans  <wim@fluendo.com>
12633
12634         * gst/gstbin.c:
12635         Update documentation.
12636
12637         * gst/gstelement.c: (gst_element_class_init),
12638         (gst_element_release_request_pad), (gst_element_set_clock),
12639         (gst_element_get_index), (gst_element_add_pad),
12640         (gst_element_remove_pad), (gst_element_get_random_pad),
12641         (gst_element_send_event), (gst_element_get_query_types),
12642         (gst_element_query), (gst_element_post_message),
12643         (gst_element_message_full), (gst_element_continue_state),
12644         (gst_element_lost_state), (gst_element_save_thyself),
12645         (gst_element_restore_thyself):
12646         Documentation updates.
12647         Rename last bit of the new-pad -> pad-added signal rename.
12648         Fix the case where an element query would only work if the source
12649         pad was linked.
12650         Avoid some useless type checking in message handling.
12651
12652         * gst/gstevent.c:
12653         * gst/gstevent.h:
12654         * gst/gstutils.c:
12655         Documentation updates.
12656
12657 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12658
12659         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12660           add an INFO line for when we actually update the fd
12661
12662 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12663
12664         * configure.ac:
12665           back to TRUNK
12666
12667 === release 0.10.10 ===
12668
12669 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12670
12671         * configure.ac:
12672           releasing 0.10.10, "Pais"
12673
12674 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12675
12676         * docs/manual/advanced-position.xml:
12677           Fix typo in sample code.
12678
12679 2006-09-05  Wim Taymans  <wim@fluendo.com>
12680
12681         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12682         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12683         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12684         * libs/gst/net/gstnetclientclock.h:
12685         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12686         * libs/gst/net/gstnettimepacket.h:
12687         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12688         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12689         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12690         * libs/gst/net/gstnettimeprovider.h:
12691         Make stuff compile on windows. Fixes #345295.
12692
12693 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12694
12695         * gst/gst.c: (ensure_current_registry_forking):
12696           Print better details when child was terminated by signal.
12697
12698 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12699
12700         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12701           Print a warning rather than g_assert() if a plugin feature
12702           is a URI handler but returns no protocols (#353976).
12703
12704 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12705
12706         * docs/random/moving-plugins:
12707         Fix two typos.         
12708
12709 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12710
12711         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12712           Fix locking order, handle NULL function values properly.
12713
12714         * gst/gstinfo.h:
12715           Fix docs.
12716
12717         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12718           Initialise variable before using it and fix debug statement to
12719           print the address of the function rather than the address of the
12720           variable on the stack holding the address of the function.
12721
12722 2006-09-01  Wim Taymans  <wim@fluendo.com>
12723
12724         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12725         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12726         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12727         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12728         (gst_ghost_pad_parent_unset),
12729         (gst_ghost_pad_internal_do_activate_push),
12730         (gst_ghost_pad_internal_do_activate_pull),
12731         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12732         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12733         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12734         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12735         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12736         (gst_ghost_pad_new_no_target_from_template),
12737         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12738         More cleanups.
12739         Avoid needless typechecking in macros.
12740         Since the internal pad is always present and never changes, there is
12741         no need to locking or ref when retrieving it.
12742         Improve debugging a bit.
12743         Handle link errors when setting the target. Fixes #341029.
12744
12745 2006-09-01  Wim Taymans  <wim@fluendo.com>
12746
12747         * docs/libs/gstreamer-libs-sections.txt:
12748         * docs/plugins/gstreamer-plugins-sections.txt:
12749         Fix docs some more.
12750
12751         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12752         (gst_collect_pads_event):
12753         * libs/gst/base/gstcollectpads.h:
12754         Documentation updates.
12755         Free queued buffer when removing a pad.
12756
12757 2006-08-31  Michael Smith  <msmith@fluendo.com>
12758
12759         * gst/gstutils.c: (gst_element_link_pads),
12760         (gst_element_link_pads_filtered):
12761           Ensure that we set a capsfilter to NULL if we failed to link it
12762           when doing filtered linking, to avoid criticals.
12763
12764           No need to check for unreffing srcpad, which is explicly NULLed
12765           above (a trivial code cleanup).
12766
12767 2006-08-31  Wim Taymans  <wim@fluendo.com>
12768
12769         * docs/design/part-gstghostpad.txt:
12770         Update ascii art in documentation.
12771
12772         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12773         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12774         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12775         (gst_ghost_pad_internal_do_activate_push),
12776         (gst_ghost_pad_internal_do_activate_pull),
12777         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12778         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12779         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12780         (gst_ghost_pad_set_target):
12781         Small cleanups and leak fixes.
12782         Remove some checks now that the internal pad is never NULL.
12783         Fix the case where linking pads without a target would create nasty
12784         criticals. Fixes #341029.
12785         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12786         value of _set_target().
12787
12788         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12789         (gst_ghost_pad_suite):
12790         Some more tests for creating and linking untargeted ghostpads.
12791
12792 2006-08-31  Edward Hervey  <edward@fluendo.com>
12793
12794         * docs/gst/gstreamer-sections.txt:
12795         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12796         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12797         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12798         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12799         (gst_ghost_pad_new_from_template),
12800         (gst_ghost_pad_new_no_target_from_template):
12801         * gst/gstghostpad.h:
12802         Refactored *_new() functions.
12803         Templates are now used as a g_object_new() parameter.
12804         Use template in _do_getcaps() if we don't have a target.
12805         Small documentation cleanups.
12806         Added two new constructors:
12807         gst_ghost_pad_new_from_template()
12808         gst_ghost_pad_new_no_target_from_template()
12809         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12810         (gst_ghost_pad_suite):
12811         Added tests for new ghostpad instanciation functions.
12812
12813         API additions: gst_ghost_pad_new_from_template,
12814         gst_ghost_pad_new_no_target_from_template
12815
12816 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12817
12818         * docs/random/ensonic/profiling.txt:
12819           Ideas about qos profiling.
12820
12821 2006-08-29  Wim Taymans  <wim@fluendo.com>
12822
12823         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12824         Code cleanups.
12825         Fix memleak.
12826
12827 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12828
12829         * gst/gstxml.c:
12830           Improve and detypofy docs.
12831
12832         * tests/check/Makefile.am:
12833         * tests/check/gst/.cvsignore:
12834         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12835           Add a basic test suite for GstXML.
12836
12837 2006-08-29  Wim Taymans  <wim@fluendo.com>
12838
12839         * gst/gstelement.c: (activate_pads), (clear_caps),
12840         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12841         Clear the pad caps when the element shut down all of the pads and
12842         is not streaming data that could modify the caps. 
12843         Fixes #352958.
12844
12845 2006-08-28  Michael Smith  <msmith@fluendo.com>
12846
12847         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12848           Revert previous change; I misunderstood single-segment mode.
12849
12850 2006-08-28  Michael Smith  <msmith@fluendo.com>
12851
12852         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12853           Unset DISCONT on buffers when using single-segment mode.
12854
12855 2006-08-28  Wim Taymans  <wim@fluendo.com>
12856
12857         * gst/gstcaps.c: (gst_caps_merge_structure):
12858         * gst/gstcaps.h:
12859         Fix docs and indentation again.
12860
12861         * tests/check/gst/gstquery.c: (GST_START_TEST):
12862         Fix leak in tests and add some more tests.
12863
12864 2006-08-28  Edward Hervey  <edward@fluendo.com>
12865
12866         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12867         Inform GstSegment of the last stop position in order for the current
12868         segment to have a proper duration if it doesn't have a specific stop
12869         position from which a duration could be calculated.
12870         This bug was noticeable when a non-flushing, non-update new segment was
12871         followed by another segment (all buffers from the new segment were being
12872         dropped).
12873
12874 2006-08-28  Wim Taymans  <wim@fluendo.com>
12875
12876         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12877         Small comment update.
12878
12879         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12880         (gst_identity_transform_ip):
12881         Drop-probability is broken, mention this in the code with a 
12882         FIXME and also in the property description.
12883         Make silent also be silent about the drop messages.
12884
12885 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12886
12887         * docs/manual/appendix-win32.xml:
12888           Remove mention of popt, we don't depend on that any
12889           longer (#353136). Add some comments pointing out that
12890           this section is slightly outdated.
12891
12892 2006-08-28  Wim Taymans  <wim@fluendo.com>
12893
12894         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12895
12896         * gst/gstquery.c: (gst_query_new_segment):
12897         * tests/check/gst/gstquery.c: (GST_START_TEST):
12898         Initialize variables when creating a new segment query.
12899         Fixes #353121.
12900
12901 2006-08-28  Wim Taymans  <wim@fluendo.com>
12902
12903         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12904
12905         * gst/gstelement.c: (gst_element_get_bus):
12906         * tests/check/gst/gstelement.c: (GST_START_TEST):
12907         Check for NULL before _reffing the bus. Fixes #353122.
12908
12909 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12910
12911         * docs/manual/basics-bus.xml:
12912           Docs update: fix wrong callback return value explanation; add
12913           some lines about the implicit relationship between main loop
12914           and main context; remove duplicate main loop variable declaration.
12915
12916 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12917
12918         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12919           Don't leak caps in unit test; add a few more simple
12920           checks. 
12921
12922 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12923
12924         * docs/gst/gstreamer-sections.txt:
12925         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12926         (gst_caps_structure_is_subset), (gst_caps_merge),
12927         (gst_caps_merge_structure):
12928         * gst/gstcaps.h:
12929         * libs/gst/base/gstbasetransform.c:
12930         (gst_base_transform_transform_caps):
12931         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12932           implement caps merging (fixes #352580)
12933
12934 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12935
12936         * tools/Makefile.am:
12937         * tools/gst-plot-timeline.py:
12938           add debug-log plotting developer tool (#340674)
12939
12940 2006-08-23  Wim Taymans  <wim@fluendo.com>
12941
12942         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12943         (gst_pad_stop_task):
12944         Improve debugging for task functions.
12945
12946         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12947         (gst_task_start), (gst_task_pause), (gst_task_join):
12948         Make sure that the task function started and finished after a 
12949         join(). 
12950         Don't try to push the task function on the threadpool multiple
12951         times.
12952         Improve the g_warning message with some useful suggestions
12953         about how to fix the problem. 
12954
12955 2006-08-23  Wim Taymans  <wim@fluendo.com>
12956
12957         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12958         Handle RESYNC correctly in _proxy_getcaps.
12959
12960 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12961
12962         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12963         (gst_xml_parse_memory), (gst_xml_get_element):
12964           Chain up to parent class in dispose function and also
12965           unref the elements in the toplevel_elements GList.
12966           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12967           Always return a reference in gst_xml_get_element() rather
12968           than only sometimes.
12969
12970         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12971           Don't leak GstXml object.
12972
12973 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12974
12975         * docs/gst/gstreamer-sections.txt:
12976         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12977         (gst_caps_merge):
12978         * gst/gstcaps.h:
12979         * libs/gst/base/gstbasetransform.c:
12980         (gst_base_transform_transform_caps):
12981           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12982           in a better way
12983
12984 2006-08-21  Edward Hervey  <edward@fluendo.com>
12985
12986         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12987         Implement GObject::dispose virtual method in GstXML so we can free the
12988         top_elements GList.
12989
12990 2006-08-21  Wim Taymans  <wim@fluendo.com>
12991
12992         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12993         (gst_buffer_create_sub):
12994         Copy duration/offset_end/caps when creating a subbuffer of the
12995         complete parent.
12996         Make the subbuffer read-only when we make the metadata writable for
12997         now. Fixes #351768.
12998
12999         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13000         Added check for metadata copy when creating subbuffers.
13001
13002 2006-08-21  Edward Hervey  <edward@fluendo.com>
13003
13004         * libs/gst/base/gstbasetransform.c:
13005         (gst_base_transform_buffer_alloc):
13006         Only call downstream buffer_alloc if transform element is passthrough
13007         or always_in_place. Closes #350449.
13008
13009 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13010
13011         * ChangeLog:
13012           ChangeLog surgery to add comments to previous changes
13013
13014 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13015
13016         * gst/gst.c:
13017           Add comments
13018
13019         * gst/gstpad.c: (gst_pad_set_active):
13020           Be more verbose in the log
13021
13022         * libs/gst/base/gstbasetransform.c:
13023         (gst_base_transform_transform_caps):
13024           Simplify caps to get rid of duplicates, fixes #345444
13025
13026 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13027
13028         * gst/gstvalue.c:
13029         * gst/gstvalue.h:
13030           Use these optimizations only internally.
13031
13032 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13033
13034         * gst/gstvalue.c: (gst_value_compare_list),
13035         (gst_value_compare_fraction_range),
13036         (gst_value_intersect_fraction_fraction_range),
13037         (gst_value_intersect_fraction_range_fraction_range),
13038         (gst_value_subtract_fraction_fraction_range),
13039         (gst_value_subtract_fraction_range_fraction_range),
13040         (gst_value_get_compare_func), (gst_value_compare),
13041         (gst_value_compare_with_func):
13042         * gst/gstvalue.h:
13043           Saves the expensive lookup of the compare function in many cases
13044          (#345444)
13045
13046 2006-08-18  Edward Hervey  <edward@fluendo.com>
13047
13048         * tests/check/gst/gstinfo.c: (gst_info_suite):
13049         Disable test that require gstdebug if it wasn't built in core.
13050
13051 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13052
13053         * docs/random/ensonic/logging.txt:
13054           update ideas
13055           
13056         * gst/gstinfo.c: (gst_debug_log_default):
13057           reorder fields, save some columns, add optional color codes for log
13058           levels
13059
13060 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13061
13062         * docs/random/ensonic/logging.txt:
13063           add ideas about making the logs a bit more useful
13064
13065 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13066
13067         * docs/pwg/advanced-events.xml:
13068         * docs/pwg/titlepage.xml:
13069           Update for 0.10 API (#340627). Add myself
13070           to authors list.
13071
13072 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13073
13074         * docs/libs/gstreamer-libs-docs.sgml:
13075         * docs/libs/gstreamer-libs-sections.txt:
13076         * libs/gst/check/gstbufferstraw.c:
13077           Make gstcheck stuff show up in docs (still needs to
13078           be documented properly though).
13079
13080 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13081
13082         * docs/gst/gstreamer-sections.txt:
13083         * gst/Makefile.am:
13084         * gst/gst.c: (init_post):
13085         * gst/gst_private.h:
13086         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13087         * gst/gstquark.h:
13088         * gst/gstquery.c: (gst_query_new_position),
13089         (gst_query_set_position), (gst_query_parse_position),
13090         (gst_query_new_duration), (gst_query_set_duration),
13091         (gst_query_parse_duration), (gst_query_new_convert),
13092         (gst_query_set_convert), (gst_query_parse_convert),
13093         (gst_query_new_segment), (gst_query_set_segment),
13094         (gst_query_parse_segment), (gst_query_new_seeking),
13095         (gst_query_set_seeking), (gst_query_parse_seeking):
13096         Add internal helpers for pre-registering quarks from static strings
13097         and using the quark values directly instead of looking them up when
13098         creating and parsing queries. Can be used for event construction too.
13099         Closes #350432.
13100
13101 2006-08-16  Wim Taymans  <wim@fluendo.com>
13102
13103         * gst/gstbin.c:
13104         Fix bogus docs.
13105
13106 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13107
13108         * gst/gstutils.c: (gst_util_set_value_from_string):
13109           Fix memleak (#351502).
13110
13111         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13112           Add unit test for most of gst_util_set_value_from_string()
13113           (not that one would want to encourage use of this function).
13114
13115 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13116
13117         * libs/gst/check/gstcheck.h:
13118           Use const gchar * variables in fail_unless_equals_string
13119           macro to avoid compiler warnings (and don't use tabs for
13120           indenting).
13121
13122 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13123
13124         * tools/gst-launch.c: (print_tag):
13125           More space on the left for the tag names, to cater
13126           for the 'extended comment' tag (not touching the
13127           string for the first line since it's translated).
13128
13129 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13130
13131         * libs/gst/check/gstcheck.h:
13132           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13133           print something when they fail.
13134
13135 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13136
13137         * docs/gst/gstreamer-sections.txt:
13138         * gst/gsttaglist.c: (_gst_tag_initialize):
13139         * gst/gsttaglist.h:
13140           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13141           Also change merge function for GST_TAG_COMMENT to
13142           use_first.
13143
13144 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13145
13146         * gst/gstinfo.c: (gst_debug_print_object):
13147           Make GST_PTR_FORMAT print messages as well.
13148
13149         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13150         (GST_START_TEST), (gst_info_suite):
13151           More tests.
13152
13153 2006-08-14  Edward Hervey  <edward@fluendo.com>
13154
13155         * gst/gstelementfactory.c: (gst_element_register):
13156         If the GstElementClass doesn't have a GstElementDetails with all fields
13157         filled up correctly (longname, description AND author), then error out
13158         nicely instead of crashing.
13159
13160 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13161
13162         * gst/gststructure.c:
13163           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13164
13165         * gst/gstvalue.h:
13166           Expand on the difference between arrays and lists as we use them.
13167           
13168 2006-08-14  Wim Taymans  <wim@fluendo.com>
13169
13170         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13171         If the parent state change function failed, don't assume we can safely
13172         stop the source, this will be done when the pads are deactivated.
13173
13174 2006-08-14  Wim Taymans  <wim@fluendo.com>
13175
13176         * gst/gstbuffer.c:
13177         * gst/gsttask.c: (gst_task_join):
13178         Small doc updates.
13179
13180         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13181         (gst_pad_stop_task):
13182         When pad (de)activation failed for some reason, restore the old
13183         activation mode and set the pad to flushing instead of assuming the
13184         pad is deactivated.
13185         If the _task_join() failed, reinstall the task on the pad so that it can
13186         be stopped later and return an error.
13187
13188 2006-08-11  Andy Wingo  <wingo@pobox.com>
13189
13190         * configure.ac:
13191         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13192         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13193         is only for users of API that don't want to see deprecated
13194         functions in the headers; people that want to compile out
13195         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13196         CFLAGS. Fixes the build of multifdsink, or will soon..
13197
13198 2006-08-11  Wim Taymans  <wim@fluendo.com>
13199
13200         * docs/gst/gstreamer-sections.txt:
13201         Add GstClockClass vmethod docs.
13202
13203         * gst/gstcaps.h:
13204         Mark #endif with comment for associated #if
13205
13206         * gst/gstclock.c: (gst_clock_id_wait):
13207         * gst/gstclock.h:
13208         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13209         most clock implementations.
13210         Document vmethods.
13211         Flesh out docs about resolution methods.
13212         API: GstClockClass::wait_jitter
13213
13214         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13215         (gst_system_clock_async_thread),
13216         (gst_system_clock_id_wait_jitter_unlocked),
13217         (gst_system_clock_id_wait_jitter):
13218         Use base class wait_jitter variant for improved performance
13219         due to less clock polling.
13220
13221 2006-08-11  Edward Hervey  <edward@fluendo.com>
13222
13223         * gst/gst.c: (gst_init_check), (init_post):
13224         Set gst as being initialized before scanning/updating the registry,
13225         since there might be my python plugin loader that calls gst_init() and
13226         we don't want to loop back in.
13227         Closes #350879
13228
13229 2006-08-11  Wim Taymans  <wim@fluendo.com>
13230
13231         * docs/design/part-qos.txt:
13232         Bring docs in line with the code. Mostly the sign of the jitter was
13233         wrong in the docs. Fixes #349943.
13234
13235         * gst/gstclock.c:
13236         Fix the docs for the jitter.
13237
13238         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13239         (gst_event_parse_tag), (gst_event_new_buffer_size),
13240         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13241         (gst_event_new_seek), (gst_event_parse_seek),
13242         (gst_event_new_navigation):
13243         Make sure the GstStructure has no parent when creating custom
13244         events.
13245         Add some more argument checking so that we avoid 0.0 rates.
13246         Flesh out the docs for the QoS event some more.
13247
13248 2006-08-11  Wim Taymans  <wim@fluendo.com>
13249
13250         * docs/gst/gstreamer-sections.txt:
13251         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13252         (ensure_current_registry_forking), (ensure_current_registry),
13253         (parse_one_option), (parse_goption_arg), (gst_deinit),
13254         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13255         * gst/gst.h:
13256         Doc updates.
13257         Added API and command line option to disable registry forking in
13258         addition to the environment variable.
13259         Constify some static arrays.
13260         Added some more debug.
13261         Don't deinit twice.
13262         API: gst_registry_fork_is_enabled()
13263         API: gst_registry_fork_set_enabled()
13264         API: --gst-disable-registry-fork command line option
13265         Fixes #348918.
13266
13267 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13268
13269         * gst/gst.c: (gst_init):
13270           Fix typo in error message.
13271
13272 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13273
13274         * libs/gst/controller/gstcontroller.h:
13275           fix ABI size-correction
13276
13277         * tests/check/libs/gdp.c: (gst_dp_suite):
13278           make tests that use deprecated API conditional
13279
13280 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13281
13282         * docs/libs/gstreamer-libs-sections.txt:
13283         * libs/gst/controller/gstcontroller.c:
13284         (_gst_controller_get_property), (_gst_controller_set_property),
13285         (_gst_controller_init), (_gst_controller_class_init):
13286         * libs/gst/controller/gstcontroller.h:
13287         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13288         (gst_object_set_control_rate):
13289           API: add gst_object_{s,g}et_control_rate(), add private data section,
13290           fix docs
13291
13292         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13293         * libs/gst/dataprotocol/dataprotocol.h:
13294           add deprecation guards to make gtk-doc happy and allow disabling cruft
13295
13296 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13297
13298         * tests/check/Makefile.am:
13299         * tests/check/gst/.cvsignore:
13300           Let's enable the new unit test as well.
13301
13302 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13303
13304         * configure.ac:
13305         * docs/gst/gstreamer-sections.txt:
13306         * gst/gstconfig.h.in:
13307         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13308         (_gst_info_printf_extension_ptr),
13309         (_gst_info_printf_extension_segment):
13310           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13311           register that lets us easily dump GstSegments into debug
13312           logs (#350419).
13313
13314         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13315         (info_segment_format_printf_extension), (gst_info_suite):
13316           Add simple unit test that logs a bunch of different segments (not
13317           valgrinded at the moment because of leaks in
13318           gst_debug_add_log_function).
13319
13320 2006-08-09  Edward Hervey  <edward@fluendo.com>
13321
13322         * libs/gst/base/gstbasetransform.c:
13323         (gst_base_transform_buffer_alloc):
13324         Even if we can't figure out the proper format to request downstream,
13325         call buffer_alloc() downstream with the input parameters without setting
13326         the caps on the srcpad. This will force negotiation in the chain
13327         function.
13328         Closes #350449
13329
13330 2006-08-08  Edward Hervey  <edward@fluendo.com>
13331
13332         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13333         Unlinking from a pad without a target is now a perfectly valid case
13334         which should NOT raise an assertion.
13335         This case would happen if a linked ghostpad its target set to NULL after
13336         it was previously linked.
13337
13338 2006-08-08  Edward Hervey  <edward@fluendo.com>
13339
13340         * tests/check/libs/gdp.c:
13341         Also comment out the test (see below).
13342
13343 2006-08-08  Edward Hervey  <edward@fluendo.com>
13344
13345         * tests/check/libs/gdp.c: (gst_dp_suite):
13346         Use the architecture information from config.h and not gcc macros
13347         in order to properly disable a test that fails on PPC64.
13348
13349 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13350
13351         * gst/gstelement.c: (gst_element_remove_pad):
13352           Don't crash printing the warning if the pad has no parent.
13353
13354 2006-08-02  Wim Taymans  <wim@fluendo.com>
13355
13356         * libs/gst/dataprotocol/dataprotocol.c:
13357         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13358         (gst_dp_crc), (gst_dp_header_payload_length),
13359         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13360         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13361         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13362         (gst_dp_event_from_packet), (gst_dp_validate_header),
13363         (gst_dp_validate_payload):
13364         Make debug category static
13365         Constify the crc table.
13366         Do some more arg checking in public functions.
13367         Fix some docs and do some small cleanups.
13368
13369         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13370         Add some more checks to see if GDP deals with bogus input.
13371
13372 2006-07-31  Wim Taymans  <wim@fluendo.com>
13373
13374         * gst/gstvalue.c: (gst_value_compare_list):
13375         Fix GstValueList comparison code. Fixes #347293.
13376
13377         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13378         Check to test GstValueList comparison.
13379
13380 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13381
13382         * gst/gstelementfactory.c: (gst_element_factory_create):
13383         Remove unnecessary ref/unref pair
13384
13385         * gst/parse/grammar.y:
13386         Make sure to free the parse buffer on all code paths.
13387         Move a g_free up to the error handler where it's easier to see.
13388
13389         * tests/check/gst/gstevent.c: (test_event):
13390         Extending timeout for downstream travelling events to 10 seconds to
13391         hopefully avoid intermittent failure on the buildbots.
13392
13393         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13394         Don't manually set the state of the src element - it will happen as a
13395         natural consequence of the pipeline changing state, and that way it
13396         will do it in the right order too.
13397
13398 2006-07-31  Wim Taymans  <wim@fluendo.com>
13399
13400         * libs/gst/base/gstbasetransform.c:
13401         (gst_base_transform_buffer_alloc):
13402         Use OBJECT_LOCK and refcounting to get the pad caps in the
13403         buffer_alloc function because the caps could change while we are
13404         busy with them. Fixes #349105
13405
13406 2006-07-31  Wim Taymans  <wim@fluendo.com>
13407
13408         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13409         Protect _PAD_CAPS with OBJECT_LOCK.
13410
13411 2006-07-31  Wim Taymans  <wim@fluendo.com>
13412
13413         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13414         (gst_pad_get_property), (gst_pad_activate_pull),
13415         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13416         (gst_pad_set_activate_function),
13417         (gst_pad_set_activatepull_function),
13418         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13419         (gst_pad_set_getrange_function),
13420         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13421         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13422         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13423         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13424         (gst_pad_set_acceptcaps_function),
13425         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13426         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13427         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13428         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13429         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13430         (gst_pad_configure_sink), (gst_pad_configure_src),
13431         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13432         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13433         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13434         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13435         (gst_pad_send_event):
13436         Use _DEBUG_OBJECT when it makes sense.
13437         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13438         Small cleanups and code reflows.
13439         Avoid caps refcounting in _accept_caps.
13440         Refactor alloc_buffer so that the code performed on the peer is in a
13441         separate function. Also if the pad does not implement a buffer alloc
13442         function, we should still check if the pad is flushing before falling
13443         back to the default allocator.
13444
13445 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13446
13447         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13448         Make all uses of identity and fakesink have silent=true to avoid
13449         serialising every passing data structure, which is breaking tests
13450         on FC4 for some unknown reason.
13451
13452 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13453
13454         * gst/parse/Makefile.am:
13455         * gst/parse/grammar.y:
13456         * gst/parse/parse.l:
13457           Reverted previous patch as it required to bump the flex dependency to
13458           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13459
13460 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13461
13462         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13463
13464         * gst/parse/Makefile.am:
13465         * gst/parse/grammar.y:
13466         * gst/parse/parse.l:
13467           push & pop the state of the lexer for reentrant use case
13468           Fixes #349180
13469
13470 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13471
13472         * libs/gst/base/gstbasesrc.h:
13473           Note in the docs that the ::newsegment vfunc is not actually used by
13474           GstBaseSrc.
13475
13476 2006-07-28  Wim Taymans  <wim@fluendo.com>
13477
13478         * libs/gst/base/gstcollectpads.c:
13479         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13480         (gst_collect_pads_clear), (gst_collect_pads_flush),
13481         (gst_collect_pads_event), (gst_collect_pads_chain):
13482         When flushing a pad, also clear the queued buffer so that we don't
13483         accidentally use it when we shouldn't.
13484         Fix leaks by inreffing incomming buffer.
13485         Flush out queued buffers in case of errors.
13486         Fixes #347452.
13487
13488 2006-07-28  Wim Taymans  <wim@fluendo.com>
13489
13490         * docs/random/phonon-gst:
13491         Random notes about a Phonon backend.
13492
13493 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13494
13495         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13496         Extra debug output
13497         * tests/check/libs/gdp.c: (gst_dp_suite):
13498         Take a whack at fixing the ppc compile using a different define to
13499         disable the broken test.
13500
13501         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13502         Remove excess g_print()
13503
13504 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13505
13506         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13507         Oops, meant to uncomment this line too to dampen the noise a bit.
13508
13509 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13510
13511         * gst/parse/grammar.y:
13512         * gst/parse/parse.l:
13513         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13514         (GST_START_TEST), (parse_suite):
13515         Fix some of the leaks exposed by extending the parse-launch testsuite,
13516         and move the 3 I can't figure out into a separate test that won't run
13517         the pipelines unless the appropriate line is uncommented.
13518
13519 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13520
13521         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13522           Requesting 0 bytes before the end of the file should result in
13523           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13524           unit test.
13525
13526 2006-07-27  Wim Taymans  <wim@fluendo.com>
13527
13528         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13529         Fix useless assert, a uint is always positive.
13530
13531         * gst/gststructure.c: (gst_structure_nth_field_name),
13532         (gst_structure_foreach), (gst_structure_map_in_place):
13533         Check input arguments for public functions to avoid obvious crashes.
13534
13535         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13536         * plugins/elements/gstfakesink.h:
13537         Do less useless typechecking.
13538
13539 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13540
13541         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13542           Do not use mmap() by default since there are a number of error
13543           conditions that we would like to handle in a non-fatal way that
13544           will result in a SIGBUS if we use mmap(). Examples: external
13545           devices (USB harddrive, portable music player) being unplugged
13546           while in use; file on mounted CD/DVD that can't be read because
13547           the medium is partly damaged. Fixes #348455 and #348475.
13548
13549 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13550
13551         * gst/gstquery.h:
13552         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13553         rates are a gdouble
13554
13555 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13556
13557         * gst/gstregistry.c:
13558           Move big documentation comment into class section header, so that it
13559           appears in the API docs.
13560
13561 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13562
13563         * docs/gst/gstreamer-sections.txt:
13564         Oops. Commit the docs additions too for new API.
13565         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13566
13567 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13568
13569         * gst/gststructure.c: (gst_structure_id_set),
13570         (gst_structure_id_set_valist):
13571         * gst/gststructure.h:
13572         Add API for setting values into structures without performing
13573         a quark lookup, if the appropriate quark is already known.
13574
13575         API: gst_structure_id_set
13576         API: gst_structure_id_set_valist
13577
13578         * gst/parse/grammar.y:
13579         * gst/parse/parse.l:
13580         Remove some dead code shown by the coverage information.
13581         Don't throw a critical g_warning when encountering a syntax error,
13582         just warn and let the normal error path handle it.
13583
13584         * plugins/elements/gstelements.c:
13585         Bump the rank of filesink up to PRIMARY so that it is preferred over
13586         gnomevfssink for file:// sink uri's
13587
13588         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13589         (GST_START_TEST), (run_delayed_test),
13590         (gst_parse_test_element_base_init),
13591         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13592         (gst_parse_test_element_change_state),
13593         (gst_register_parse_element), (parse_suite):
13594         Beef up the tests for parse syntax to check that more error cases
13595         fail as they are supposed to. Increases the test coverage a bit.
13596
13597 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13598
13599         * docs/manual/basics-elements.xml:
13600           Fix gst_element_link() example.
13601
13602         * gst/gstutils.c:
13603           Mention in API docs that one should usually gst_bin_add()
13604           elements to a bin or pipeline before doing the linking.
13605           
13606 2006-07-26  Wim Taymans  <wim@fluendo.com>
13607
13608         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13609         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13610         Avoid function call for known types by keeping the buffer and
13611         subbuffer GType global.
13612
13613         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13614         Random silly optimisations in read() path.
13615
13616 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13617
13618         * tools/gst-launch.c: (main):
13619           If the top-level of the parse is a normal bin, it doesn't do the
13620           right logic to run as a top-level element, so place it inside a
13621           pipeline.
13622
13623 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13624
13625         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13626           Remove superfluous g_object_notify() calls, GObject does
13627           that for us automatically.
13628
13629 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13630
13631         * gst/gstinfo.h:
13632           on Win32, use dllspec to export the debug category symbols
13633
13634 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13635
13636         * gst/gsttaglist.c: (_gst_tag_initialize):
13637           Allow more than one GST_TAG_IMAGE per taglist.
13638
13639 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13640
13641         * gst/gstminiobject.c:
13642           update docs
13643         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13644         (gst_fd_src_create):
13645           log recurring events at LOG level
13646           add more debug for when the fd gets set
13647
13648 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13649
13650         * gst/gstparse.c: (gst_parse_launch):
13651           Also remove reentrance checks if flex is MT safe (#348179)
13652          Fix my empty ChangeLog entry below
13653
13654 2006-07-21  Andy Wingo  <wingo@pobox.com>
13655
13656         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13657
13658         * libs/gst/check/Makefile.am
13659         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13660         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13661         * libs/gst/check/gstbufferstraw.h:
13662         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13663         functions, thus proving I am still a GStreamer haxor. OK I wrote
13664         them a long time ago, but anyways.
13665
13666 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13667
13668         * configure.ac:
13669         * gst/gstparse.c: (gst_parse_launch):
13670           Check for flex version and omit mutex if we have a MT save flex
13671           (fixes #348179)
13672
13673 2006-07-21  Wim Taymans  <wim@fluendo.com>
13674
13675         * gst/gstparse.c: (gst_parse_launch):
13676         Protect recursive calls to _parse with a recursive mutex
13677         and busy flag.
13678
13679 2006-07-21  Wim Taymans  <wim@fluendo.com>
13680
13681         * tests/check/gst/gstpad.c: (GST_START_TEST):
13682         Fix leak in test.
13683
13684 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13685
13686         * gst/gstparse.c: (gst_parse_launch):
13687           Do not hang on recursive usage of gst_parse_launch()
13688
13689 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13690
13691         * gst/gsttaglist.c:
13692           Add some more docs, comments and FIXME 0.11s here and there
13693           and also fix some typos.
13694
13695 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13696
13697         * gst/gstsegment.h:
13698           Convert tabs to spaces for better readability. 
13699
13700 2006-07-20  Edward Hervey  <edward@fluendo.com>
13701
13702         * tests/check/libs/gdp.c: (gst_dp_suite):
13703         the test_buffer test fails at line 140 on ppc64 at the following
13704         check:
13705         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13706                 GST_BUFFER_FLAG_IN_CAPS),
13707                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13708         See bug #348114 for more details.
13709
13710 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13711
13712         * docs/pwg/advanced-scheduling.xml:
13713         * gst/gstpad.c:
13714           Fix typos (#348000).
13715
13716 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13717
13718         * docs/pwg/intro-basics.xml:
13719           Fix wrong links (#347927).
13720
13721 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13722
13723         * gst/gstregistry.h:
13724         * gst/gstregistryxml.c: (load_feature),
13725         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13726         * win32/common/config.h:
13727           make --disable-index work (#342564)
13728
13729 2006-07-18  Wim Taymans  <wim@fluendo.com>
13730
13731         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13732
13733         * gst/Makefile.am:
13734         * gst/gsttrace.h:
13735         The attached patch adds two missing defines to gsttrace.h when tracing
13736         is disabled.  It also corrects one existing define.
13737         Fixes #347756.
13738
13739 2006-07-17  Wim Taymans  <wim@fluendo.com>
13740
13741         * docs/gst/gstreamer-sections.txt:
13742         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13743         * gst/gst.h:
13744         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13745         Add two functions to check and change the SIGSEGV behaviour
13746         when loading plugins.
13747         Don't mess with the SIGSEGV handler when we were told not to.
13748         Fixes #347794.
13749         API: gst_segtrap_is_enabled
13750         API: gst_segtrap_set_enabled
13751
13752 2006-07-14  Wim Taymans  <wim@fluendo.com>
13753
13754         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13755         * tests/check/elements/filesrc.c: (GST_START_TEST):
13756         Revert fix for regression in #347408 after release.
13757
13758 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13759
13760         Patch by: Antoine Tremblay <hexa00 at gmail com>
13761
13762         * gst/gstutils.c: (gst_element_unlink):
13763           Free iterator when done (#347311).
13764
13765         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13766           And add a test case for this.
13767
13768 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13769
13770         * configure.ac:
13771         Bump nano back to CVS
13772
13773 === release 0.10.9 ===
13774
13775 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13776
13777         * configure.ac:
13778           releasing 0.10.9, "On the road again"
13779
13780 2006-07-13  Wim Taymans  <wim@fluendo.com>
13781
13782         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13783         * tests/check/elements/filesrc.c: (GST_START_TEST):
13784         Revert pull-0 fix for release. Disable check. Fixes #347408.
13785
13786 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13787
13788         * libs/gst/dataprotocol/dataprotocol.c:
13789         (gst_dp_event_from_packet_1_0):
13790           Fixes #347337: failure to deserialize event packets with
13791           empty payload (only event type)
13792
13793 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13794
13795         * gst/Makefile.am:
13796           do not install a .c file in the header directory
13797
13798 2006-07-13  Edward Hervey  <edward@fluendo.com>
13799
13800         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13801         GhostPad no longer implicitely use the padtemplates of the targets.
13802         Fixes #347384
13803
13804 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13805
13806         * gst/gstvalue.c: (gst_value_compare_list),
13807         (gst_value_compare_array), (_gst_value_initialize):
13808         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13809         Make GstValueArray comparison be order dependent as designed.
13810         Add checks for value lists and value array comparisons.
13811         Fixes #347221
13812
13813 2006-07-11  Edward Hervey  <edward@fluendo.com>
13814
13815         * gst/gstbin.c: (activate_pads),
13816         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13817         (gst_bin_change_state_func):
13818         (de)activate src pads before calling state_change on the childs.
13819         This is to avoid the case where a src ghostpad is blocked (holding the
13820         stream lock), which would block the deactivation of the ghostpad's
13821         target pad.
13822         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13823         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13824         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13825         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13826         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13827         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13828         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13829         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13830         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13831         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13832         (gst_ghost_pad_class_init),
13833         (gst_ghost_pad_internal_do_activate_push),
13834         (gst_ghost_pad_internal_do_activate_pull),
13835         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13836         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13837         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13838         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13839         GhostPads now create their internal GstProxyPad at creation (and not
13840         when they're linked, as it was being done previously).
13841         The internal and target pads are linked straight away.
13842         The data will also travel through the other pad in order to make
13843         pad blocking and probes non-hackish (the probe/block now really happens
13844         on the GhostPad and not on the target).
13845         * gst/gstpad.c: (gst_pad_set_blocked_async),
13846         (gst_pad_link_prepare), (gst_pad_push_event):
13847         Remove previous ghostpad cruft.
13848         * gst/gstutils.c: (gst_pad_add_data_probe),
13849         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13850         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13851         (gst_pad_remove_buffer_probe):
13852         Remove previous ghost pad cruft.
13853         Added more detailed debug statements.
13854         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13855         Fix the testsuite for refcounting changes.
13856         The comments about who has references were correct, but the refcount
13857         being checked wasn't the same (!?!).
13858
13859         Fixes #341029
13860
13861 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13862
13863         * docs/gst/gstreamer-sections.txt:
13864         * gst/gstconfig.h.in:
13865         More docs for configuration options, add docs to gtk-doc.
13866
13867 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13868
13869         * gst/Makefile.am:
13870         * gst/gstconfig.h.in:
13871         * win32/common/config.h:
13872         Fix build when disabling tracing (fixes #344016). Also start to document
13873         the defines that disable the sub-systems.
13874
13875 2006-07-10  Edward Hervey  <edward@fluendo.com>
13876
13877         * gst/gst.c: (ensure_current_registry_forking):
13878         let's make valgrind happy...
13879
13880 2006-07-09  Wim Taymans  <wim@fluendo.com>
13881
13882         * gst/gstelement.c: (activate_pads),
13883         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13884         Better pad activation code: Reset the collect value too on resync.
13885         Add some comments.
13886
13887 2006-07-09  Wim Taymans  <wim@fluendo.com>
13888
13889         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13890         (gst_pad_activate_push):
13891         Use some more macros where it makes sense.
13892         Allow pad mode switching instead of asserting. When a pad
13893         is activated in one mode and we activate it in another, 
13894         deactivate it first before activating it in a different mode.
13895         Fixes #329198.
13896
13897 2006-07-08  Andy Wingo  <wingo@pobox.com>
13898
13899         * tools/gst-launch.c (main): Handle err == NULL.
13900
13901         * gst/gst.c (init_post, ensure_current_registry)
13902         (ensure_current_registry_forking)
13903         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13904         factoring out the registry scanning into separate functions. Don't
13905         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13906         Better environment var name/interface suggestions accepted.
13907
13908 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13909
13910         * gst/gstobject.c: (gst_object_set_name_default),
13911         (gst_object_set_name):
13912           Random micro-optimisation: don't use a hash table
13913           with strings as keys and the usual strdup/strcmp
13914           involved, but rather just use the GQuark of the
13915           type name as key, since it needs to be looked up
13916           anyway to get the type name string.
13917
13918         * tests/check/gst/gstobject.c: (GST_START_TEST):
13919           Fix various leaks.
13920
13921 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13922
13923         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13924         (gst_bin_iterate_all_by_interface):
13925           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13926           GTypes are gulongs and thus the top 4 bytes might be cut
13927           off on some platforms when doing GPOINTER_TO_INT, leading
13928           to invalid GTypes and bad things happening (see RH bug #179654).
13929           Also add a check to make sure the type passed in is really
13930           an interface type.
13931
13932 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13933
13934         * .cvsignore:
13935           Ignore more.
13936
13937 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13938
13939         * Makefile.am:
13940         * configure.ac:
13941         * gst-element-check.m4:
13942         * gst-element-check.m4.in:
13943           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13944           instead of the unversioned gst-inspect (#324176, #168659).
13945
13946 2006-07-06  Wim Taymans  <wim@fluendo.com>
13947
13948         * gst/gstmessage.h:
13949         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13950         warnings.
13951
13952 2006-07-06  Wim Taymans  <wim@fluendo.com>
13953
13954         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13955         (gst_base_src_wait), (gst_base_src_update_length),
13956         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13957         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13958         (gst_base_src_loop), (gst_base_src_start),
13959         (gst_base_src_activate_pull):
13960         Update docs.
13961         blocksize == 0 now means the default blocksize when working in push
13962         based mode.
13963         Remove some pointless asserts in _wait function.
13964         Fix offset/length calculations and EOS handling. We can now pull 0
13965         bytes as well, which is allowed.
13966         use _check_get_range() to decide if we can operate in _pull based
13967         mode.
13968         Fix refcounting leak when check_get_range function was not 
13969         implemented.
13970         API GstBaseSrc::blocksize range can be 0 too now (default)
13971
13972         * tests/check/elements/filesrc.c: (GST_START_TEST),
13973         (filesrc_suite):
13974         Added check to test _get_range() behaviour.
13975
13976 2006-07-06  Wim Taymans  <wim@fluendo.com>
13977
13978         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13979         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13980         (gst_pad_pull_range):
13981         * gst/gstpad.h:
13982         Lots of comments and docs added to the pad functions.
13983         Flesh out the expected behaviour of the get_range() functions.
13984
13985 2006-07-06  Wim Taymans  <wim@fluendo.com>
13986
13987         * gst/gstbus.h:
13988         * gst/gstclock.h:
13989         * gst/gstevent.h:
13990         * gst/gstiterator.h:
13991         * gst/gstpad.h:
13992         * gst/gstplugin.h:
13993         * gst/gsttask.h:
13994         Remove comma at end of enumerator list. 
13995
13996 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13997
13998         * win32/common/libgstbase.def:
13999         * win32/common/libgstdataprotocol.def:
14000         * win32/common/libsgtreamer.def:
14001         Add new exported functions.
14002
14003 2006-07-05  Wim Taymans  <wim@fluendo.com>
14004
14005         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14006         Add some more docs here and there.
14007
14008 2006-07-05  Wim Taymans  <wim@fluendo.com>
14009
14010         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14011         (gst_base_sink_loop), (gst_base_sink_get_position):
14012         When operating in pull mode update the offset so that we
14013         read sequentially.
14014
14015 2006-07-05  Wim Taymans  <wim@fluendo.com>
14016
14017         * gst/gstregistryxml.c: (read_string):
14018         Avoid strdup. (will happen in libxml, but hey!)
14019
14020         * gst/gsturi.c:
14021         Add some more docs.
14022
14023 2006-07-05  Wim Taymans  <wim@fluendo.com>
14024
14025         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14026         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14027         (gst_buffer_suite):
14028         No point in checking if the size of the subbuffer > 0, the
14029         code handles it correclty as demonstrated by unit test.
14030         Also add a unit test for the zero sized _new_and_alloc and
14031         _copy. Fixes #346663.
14032
14033 2006-07-05  Wim Taymans  <wim@fluendo.com>
14034
14035         * libs/gst/base/gstbasetransform.c:
14036         (gst_base_transform_prepare_output_buffer),
14037         (gst_base_transform_buffer_alloc),
14038         (gst_base_transform_handle_buffer):
14039         Make sure the buffer we pass to transform_ip has a refcount of
14040         1 and thus is writable. Fixes #343196
14041
14042 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14043
14044         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14045         (gst_file_src_init), (gst_file_src_set_property),
14046         (gst_file_src_get_property), (gst_file_src_map_region):
14047         * plugins/elements/gstfilesrc.h:
14048         Add "sequential" property, off by default, to use madvise and hint
14049         to the kernel that sequential access is desired.
14050         Touch all retrieved pages by default to ensure they are pulled
14051         into memory. (Closes #345720)
14052
14053 2006-07-03  Wim Taymans  <wim@fluendo.com>
14054
14055         * docs/design/part-block.txt:
14056         * docs/design/part-dynamic.txt:
14057         Small docs updates.
14058
14059 2006-07-03  Wim Taymans  <wim@fluendo.com>
14060
14061         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14062         (gst_caps_unref), (gst_static_caps_get),
14063         (gst_caps_append_structure):
14064         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14065         Use GSlice when the glib we build against is >= 2.10
14066
14067 2006-07-03  Wim Taymans  <wim@fluendo.com>
14068
14069         * gst/gstelement.c: (gst_element_pads_activate):
14070         Small cleanup in pad activation code.
14071
14072 2006-07-03  Wim Taymans  <wim@fluendo.com>
14073
14074         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14075
14076         * gst/gst-i18n-app.h:
14077         * gst/gst-i18n-lib.h:
14078         * tools/gst-inspect.c: (print_signal_info):
14079         The attached patch will make the inclusion of gettext.h unconditional in
14080         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14081         libintl.h in tools/gst-inspect.c.
14082         This allows use of --disable-nls again and fixes #344642.
14083
14084 2006-07-03  Edward Hervey  <edward@fluendo.com>
14085
14086         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14087         Implement pad blocking on events according to part-block.txt.
14088         More comments on behaviour.
14089         * tests/check/gst/gstevent.c: (test_event):
14090         Send event to peer pad of blocked pad (else it will block).
14091
14092 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14093
14094         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14095         (gst_check_run_suite):
14096           if we get the wrong message, give us the types as string
14097         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14098           Fix a translatable
14099         * tests/check/elements/filesrc.c: (GST_START_TEST):
14100           add a test for trying to open a non-existing file
14101
14102 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14103
14104         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14105           add a test for adding self
14106
14107 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14108
14109         * libs/gst/check/gstcheck.h:
14110           add some assert_ as alias for fail_unless_*
14111         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14112           increase test coverage
14113
14114 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14115
14116         * Makefile.am:
14117           include lcov.mak for lcov coverage generation
14118         * tools/Makefile.am:
14119           add to CLEANFILES
14120
14121 2006-07-02  Edward Hervey  <edward@fluendo.com>
14122
14123         * tests/check/elements/.cvsignore:
14124         moaping
14125
14126 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14127
14128         * configure.ac:
14129           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14130         * tests/check/Makefile.am:
14131           clean up gcov files
14132
14133 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14134
14135         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14136           remove gst_caps_simplify; it was not declared and not used
14137           and deprecated in 0.8
14138
14139 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14140
14141         * docs/faq/gst-uninstalled:
14142           don't put empty paths on PYTHONPATH
14143         * docs/gst/gstreamer-sections.txt:
14144           remove some symbols that are not there
14145
14146 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14147
14148         * gst/gstcaps.c: (gst_caps_compare_structures):
14149           whitespace fixes
14150         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14151         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14152           add more tests
14153
14154 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14155
14156         * libs/gst/dataprotocol/Makefile.am:
14157           build dataprotocol test by linking to the lib, instead of
14158           compiling the source, so we get coverage
14159         * tests/check/Makefile.am:
14160         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14161         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14162           add a test for filesrc
14163
14164 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14165
14166         * tests/check/gst/gststructure.c: (GST_START_TEST),
14167         (gst_structure_suite):
14168           Push coverage from 59.04% to 70.00%
14169
14170 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14171
14172         * tests/check/Makefile.am:
14173           gst-inspect every element; this makes sure that we also get
14174           coverage on element's get/set functions
14175
14176 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14177
14178         * configure.ac:
14179           set CFLAGS and friends to -O0 if gcov is being used
14180           add GCOV LIBS
14181         * gst/Makefile.am:
14182         * libs/gst/base/Makefile.am:
14183         * libs/gst/check/Makefile.am:
14184         * libs/gst/controller/Makefile.am:
14185         * libs/gst/dataprotocol/Makefile.am:
14186         * libs/gst/net/Makefile.am:
14187         * plugins/elements/Makefile.am:
14188         * plugins/indexers/Makefile.am:
14189           add makefile rules to generate gcov data and clean up
14190         * tests/check/Makefile.am:
14191           add a coverage target that generates an html overview
14192           of coverage data
14193
14194 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14195
14196         * tests/check/elements/fakesink.c:
14197         * tests/check/elements/fakesrc.c:
14198         * tests/check/elements/fdsrc.c:
14199         * tests/check/elements/identity.c:
14200         * tests/check/generic/sinks.c: (gst_sinks_suite):
14201         * tests/check/generic/states.c:
14202         * tests/check/gst/gst.c:
14203         * tests/check/gst/gstabi.c:
14204         * tests/check/gst/gstbin.c:
14205         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14206         * tests/check/gst/gstbus.c: (gst_bus_suite):
14207         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14208         * tests/check/gst/gstelement.c:
14209         * tests/check/gst/gstevent.c: (gst_event_suite):
14210         * tests/check/gst/gstghostpad.c:
14211         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14212         * tests/check/gst/gstmessage.c: (gst_message_suite):
14213         * tests/check/gst/gstminiobject.c:
14214         * tests/check/gst/gstobject.c:
14215         * tests/check/gst/gstpad.c:
14216         * tests/check/gst/gstpipeline.c:
14217         * tests/check/gst/gstplugin.c:
14218         * tests/check/gst/gstquery.c: (gst_query_suite):
14219         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14220         * tests/check/gst/gststructure.c:
14221         * tests/check/gst/gstsystemclock.c:
14222         * tests/check/gst/gsttag.c:
14223         * tests/check/gst/gsttask.c: (gst_task_suite):
14224         * tests/check/gst/gstutils.c:
14225         * tests/check/gst/gstvalue.c:
14226         * tests/check/libs/adapter.c:
14227         * tests/check/libs/basesrc.c:
14228         * tests/check/libs/collectpads.c:
14229         * tests/check/libs/controller.c:
14230         * tests/check/libs/gdp.c: (gst_dp_suite):
14231         * tests/check/libs/gstnetclientclock.c:
14232         * tests/check/libs/gstnettimeprovider.c:
14233         * tests/check/libs/libsabi.c: (libsabi_suite):
14234         * tests/check/libs/typefindhelper.c:
14235         * tests/check/pipelines/cleanup.c:
14236         * tests/check/pipelines/parse-launch.c:
14237         * tests/check/pipelines/simple-launch-lines.c:
14238         * tests/check/pipelines/stress.c: (stress_suite):
14239           use the new macro
14240
14241 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14242
14243         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14244         * libs/gst/check/gstcheck.h:
14245           create a macro and function so that the simple unit test
14246           case can be just one macro to create main()
14247
14248 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14249
14250         * gst/gstbin.c: (gst_bin_restore_thyself):
14251         * gst/gstxml.c: (gst_xml_make_element):
14252           Fix deserialisation from XML. Set parent manually
14253           instead of using gst_bin_add(), since gst_bin_add()
14254           will unlink all pads of the element being added.
14255           Fixes #341667.
14256
14257 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14258
14259         Patch by: Peter Kjellerstedt <pkj at axis com>
14260
14261         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14262           Fix missing g_strdup() and double free when using the
14263           --gst-plugin-load command line option (#346097).
14264
14265 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14266
14267         * gst/gstinfo.c:
14268           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14269
14270         * libs/gst/net/gstnetclientclock.c:
14271         * libs/gst/net/gstnettimeprovider.c:
14272           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14273
14274 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14275
14276         * docs/manual/advanced-dataaccess.xml:
14277           Fix buffer probe example compilation in
14278           ADM (#345708).
14279         
14280 2006-06-22  Edward Hervey  <edward@fluendo.com>
14281
14282         * gst/gstelement.c: (gst_element_pads_activate):
14283         We need to deactivate src pads first and then sink pads.
14284         The reason is the src pads might be blocking while holding the streaming
14285         lock, so we need to deactivate them first so that deactivating the sink
14286         pads doesn't block (since it will require the streaming lock).
14287
14288 2006-06-22  Wim Taymans  <wim@fluendo.com>
14289
14290         * libs/gst/base/gstbasetransform.c:
14291         (gst_base_transform_buffer_alloc):
14292         Forgot to remove two unneeded unrefs.
14293         Simplify a check _is_equal allready checks the obvious case.
14294
14295 2006-06-22  Wim Taymans  <wim@fluendo.com>
14296
14297         * docs/design/part-block.txt:
14298         Some docs about what pad_block should do.
14299
14300 2006-06-22  Wim Taymans  <wim@fluendo.com>
14301
14302         * gst/gstcaps.c: (gst_caps_replace):
14303         Fix crasher when passed NULL. Doc clarification.
14304         Optimize for the trivial case.
14305
14306         * gst/gstpipeline.c: (gst_pipeline_change_state):
14307         Small cleanups.
14308
14309         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14310         Small documentation cleanup.
14311
14312         * libs/gst/base/gstbasetransform.c:
14313         (gst_base_transform_buffer_alloc):
14314         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14315         is what we need and it avoids a whole lot of redundant 
14316         refcount operations.
14317
14318 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14319
14320         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14321
14322         * docs/manual/advanced-dataaccess.xml:
14323           Fix 'Embedding static elements' section to use
14324           GST_PLUGIN_DEFINE_STATIC (#345607).
14325
14326 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14327
14328         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14329           Attempt to 'fix' spuriously failing test case: it seems like the
14330           timeout of half a second is simply too small when the system is under
14331           load otherwise, and the timeout doesn't really seem to serve any
14332           particular purpose here. Give the pipeline a few seconds to preroll
14333           first, and then give it another half a second to go from PAUSED to
14334           PLAYING and marshal the message into the main thread.
14335
14336 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14337
14338         * tools/gst-feedback-m.m:
14339           Don't only use unversioned tools, try versioned tools as well
14340           (#345086).
14341
14342 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14343
14344         * gst/gstbus.c: (gst_bus_class_init):
14345           Fix some typos, make docs more explicit.
14346
14347 2006-06-20  Wim Taymans  <wim@fluendo.com>
14348
14349         * tests/check/gst/gstghostpad.c: (block_callback),
14350         (GST_START_TEST), (gst_ghost_pad_suite):
14351         Added some more ghostpad tests, mainly blocking
14352         and probes.
14353
14354 2006-06-16  Wim Taymans  <wim@fluendo.com>
14355
14356         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14357         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14358         (gst_file_sink_event), (gst_file_sink_render):
14359         * plugins/elements/gstfilesink.h:
14360         Check if we can seek in the file instead of assuming
14361         we always can. Post an error when we are asked to seek in a
14362         non-seekable file (like a fifo). Fixes #343312.
14363         Some cleanups.
14364
14365 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14366
14367         * tools/gst-launch.1.in:
14368           Un-garble (fourcc) bit in filtered caps section.
14369
14370 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14371
14372         * docs/manual/advanced-autoplugging.xml:
14373         * docs/manual/basics-helloworld.xml:
14374         * docs/manual/highlevel-components.xml:
14375           Don't leak bus reference in sample code.
14376
14377 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14378
14379         * autogen.sh:
14380           Add default for new --enable-plugin-docs switch.
14381
14382         * configure.ac:
14383           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14384           Fixes #344039.
14385
14386         * docs/Makefile.am:
14387           Use new ENABLE_PLUGIN_DOCS conditional.
14388
14389 2006-06-14  Wim Taymans  <wim@fluendo.com>
14390
14391         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14392         Make it clear with a FIXME and a real define what the #if 0
14393         previously disabled.
14394
14395 2006-06-14  Wim Taymans  <wim@fluendo.com>
14396
14397         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14398         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14399         * libs/gst/base/gstbasetransform.c:
14400         (gst_base_transform_sink_eventfunc):
14401         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14402         Don't randomly and silently reset a segment when the format 
14403         changes as this is a bug somewhere upstream. Fixes #330379.
14404
14405 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14406
14407         Patch by: Wouter Paesen  <wouter at kangaroot net>
14408
14409         * libs/gst/controller/gstcontroller.c:
14410         (gst_controlled_property_new):
14411           Fix controlling of float properties (#344849).
14412
14413         * tests/check/libs/controller.c:
14414         (gst_test_mono_source_get_property),
14415         (gst_test_mono_source_set_property),
14416         (gst_test_mono_source_class_init), (GST_START_TEST):
14417           While we're at it, add some float stuff to unit test.
14418
14419 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14420
14421         * docs/README:
14422         * docs/images/gdp-header.svg:
14423           add a gdp image
14424         * docs/libs/Makefile.am:
14425         * docs/libs/gdp-header.png:
14426         * libs/gst/dataprotocol/dataprotocol.c:
14427           add it to the API docs
14428         * docs/manual/intro-motivation.xml:
14429           fix typo
14430
14431 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14432
14433         * gst/gst.c: (scan_and_update_registry), (init_post):
14434           If the fork()'ed child process can't write the updated registry cache
14435           file to disk for some reason, make it exit with a failure exit code,
14436           so that the parent can then re-scan the plugins itself and update the
14437           registry structures in memory and work with that (rather than failing
14438           when creating elements because seemingly no plugins are available).
14439           Refactor registry scanning code into separate function for this and
14440           also separate fork() and non-fork() code paths. Fixes #344748.
14441
14442 2006-06-13  Wim Taymans  <wim@fluendo.com>
14443
14444         * docs/manual/advanced-dataaccess.xml:
14445         Fix wrong PluginDesc. Fixes #344755.
14446
14447 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14448
14449         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14450           Fix silly bug that prevented us from creating
14451           ~/.gstreamer-0.10 and writing the registry in one
14452           go (the first call to g_mkstemp() would overwrite the
14453           placeholder in the template string, so the second call
14454           to g_mkstemp() after creating the missing directory
14455           would then error out with 'invalid argument').
14456
14457 2006-06-13  Edward Hervey  <edward@fluendo.com>
14458
14459         * gst/gst.c: (init_post):
14460         Free string.
14461
14462 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14463
14464         * gst/glib-compat-private.h:
14465         * gst/glib-compat.c:
14466         * gst/glib-compat.h:
14467         * gst/gstvalue.c: (gst_value_serialize_flags):
14468           remove GLib 2.6 compatibility code
14469
14470 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14471
14472         * gst/parse/Makefile.am:
14473           Fix build with 'make -j N' even more (#340016).
14474
14475 2006-06-12  Wim Taymans  <wim@fluendo.com>
14476
14477         * docs/gst/gstreamer-sections.txt:
14478         Fix docs.
14479
14480 2006-06-12  Wim Taymans  <wim@fluendo.com>
14481
14482         * gst/gstsegment.c: (gst_segment_set_duration),
14483         (gst_segment_set_last_stop), (gst_segment_set_seek),
14484         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14485         (gst_segment_to_running_time), (gst_segment_clip):
14486         Use G_UNLIKELY to help the compiler a bit.
14487
14488 2006-06-12  Wim Taymans  <wim@fluendo.com>
14489
14490         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14491
14492         * gst/gstevent.c: (gst_event_get_type):
14493         * gst/gstmessage.c:
14494         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14495         (gst_pad_push):
14496         constify quark registration strings. Fixes #344115
14497         Avoid unneeded type checking is _pad_push() by internally
14498         calling gst_pad_chain_unchecked().
14499
14500 2006-06-12  Wim Taymans  <wim@fluendo.com>
14501
14502         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14503         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14504         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14505         (gst_buffer_is_span_fast), (gst_buffer_span):
14506         Init _type for consistency.
14507         Use _FLAGS macro to avoid type check.
14508         Avoid unneeded type checks in subbufer code.
14509
14510 2006-06-12  Wim Taymans  <wim@fluendo.com>
14511
14512         * gst/gst.c: (gst_debug_help):
14513         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14514         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14515         (gst_plugin_feature_list_free):
14516         * gst/gstregistry.c: (gst_registry_add_plugin),
14517         (gst_registry_add_feature), (gst_registry_plugin_filter),
14518         (gst_registry_feature_filter), (gst_registry_find_plugin),
14519         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14520         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14521         * gst/gstregistryxml.c: (load_feature),
14522         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14523         * gst/gstminiobject.c: (gst_mini_object_unref),
14524         (gst_mini_object_replace), (gst_value_mini_object_free),
14525         (gst_value_mini_object_copy):
14526         Use _CAST macros to avoid unneeded type checking.
14527         Added some more G_UNLIKELY.
14528
14529 2006-06-12  Wim Taymans  <wim@fluendo.com>
14530
14531         * gst/gstbuffer.h:
14532         Avoid unneeded type checking.
14533         API: GST_BUFFER_IS_DISCONT
14534
14535         * gst/gstminiobject.h:
14536         Avoid type check in flag accessor.
14537
14538         * gst/gstelementfactory.h:
14539         * gst/gstplugin.h:
14540         * gst/gstpluginfeature.h:
14541         Add _CAST macros.
14542         API: GST_ELEMENT_FACTORY_CAST
14543         API: GST_PLUGIN_CAST
14544         API: GST_PLUGIN_FEATURE_CAST
14545
14546 2006-06-12  Wim Taymans  <wim@fluendo.com>
14547
14548         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14549         (gst_object_unref):
14550         Add G_UNLIKELY in type registration.
14551         Avoid type check in _ref/_unref since that is also
14552         done in glib.
14553
14554 2006-06-12  Wim Taymans  <wim@fluendo.com>
14555
14556         * gst/gsterror.c: (gst_g_error_get_type):
14557         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14558         (gst_static_pad_template_get_type):
14559         * gst/gsttaglist.c: (gst_tag_list_get_type):
14560         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14561         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14562         * gst/gsturi.c: (gst_uri_handler_get_type):
14563         * gst/gstvalue.c: (gst_date_get_type):
14564         * gst/gstxml.c: (gst_xml_get_type):
14565         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14566         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14567         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14568         Add G_UNLIKELY in type registration.
14569
14570 2006-06-12  Wim Taymans  <wim@fluendo.com>
14571
14572         * tools/gst-inspect.c: (print_signal_info):
14573         Properly print enum values.
14574
14575 2006-06-12  Wim Taymans  <wim@fluendo.com>
14576
14577         * gst/gstinfo.c: (gst_debug_set_active),
14578         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14579         * gst/gstinfo.h:
14580         Add some G_[UN]LIKELY.
14581         Maintain __gst_debug_min to avoid formatting the arguments of
14582         debug messages that will be dropped anyway to avoid a lot of 
14583         overhead from the debugging system.
14584
14585 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14586
14587         * po/POTFILES.in:
14588         * po/POTFILES.skip:
14589           add missing files containing translatable strings, tell intltool about
14590           one exception
14591
14592 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14593
14594         * tests/check/libs/.cvsignore:
14595         add test-binary to ignore list
14596
14597 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14598
14599         * docs/libs/gstreamer-libs-docs.sgml:
14600         reorder (put dp into a chapter) and indent
14601
14602 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14603
14604         * configure.ac:
14605           back to HEAD
14606
14607 === release 0.10.8 ===
14608
14609 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14610
14611         * configure.ac:
14612           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14613
14614 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14615
14616         * gst/gst.c: (init_post):
14617           move pid declaration to declaration block
14618
14619 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14620
14621         * gst/gst.c: (init_post):
14622           use _exit() instead of exit() in our forked child; this ensures
14623           that none of the registered exit handlers from whatever is using
14624           GStreamer get executed.  This fixes gnome-mixer-applet failing
14625           to load, because ORBit would shut down.
14626           Spotted by: Edward Hervey  <edward@fluendo.com>
14627           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14628           Fixes #344474
14629
14630 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14631
14632         * configure.ac:
14633           back to TRUNK
14634
14635 === release 0.10.7 ===
14636
14637 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14638
14639         * configure.ac:
14640           releasing 0.10.7, "Soepeke, ik zie ou"
14641
14642 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14643
14644         * configure.ac:
14645         * po/af.po:
14646         * po/az.po:
14647         * po/bg.po:
14648         * po/ca.po:
14649         * po/cs.po:
14650         * po/de.po:
14651         * po/en_GB.po:
14652         * po/fr.po:
14653         * po/it.po:
14654         * po/nb.po:
14655         * po/nl.po:
14656         * po/ru.po:
14657         * po/sq.po:
14658         * po/sr.po:
14659         * po/sv.po:
14660         * po/tr.po:
14661         * po/uk.po:
14662         * po/vi.po:
14663         * po/zh_CN.po:
14664         * po/zh_TW.po:
14665         * win32/common/config.h:
14666           0.10.6.2 prerelease
14667
14668 2006-06-07  Wim Taymans  <wim@fluendo.com>
14669
14670         * gst/gstindex.c: (gst_index_gtype_resolver):
14671         * tools/gst-xmlinspect.c: (print_plugin_info):
14672         Fix leak spotted by coverity checker. Fixes #343827
14673         Fix another other leak found by paolo borelli.
14674
14675 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14676
14677         * libs/gst/dataprotocol/dataprotocol.c:
14678         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14679         (gst_dp_version_get_type), (gst_dp_init),
14680         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14681         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14682         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14683         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14684         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14685         (gst_dp_packetizer_free):
14686         * libs/gst/dataprotocol/dataprotocol.h:
14687           API: add a GstDPPacketizer object, and create/free functions
14688           API: add GstDPVersion enum
14689           Add 1.0 event function that uses the string serialization
14690           Serialize more useful buffer flags
14691           Fixes #343988
14692
14693 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14694
14695         * tests/check/Makefile.am:
14696         * tests/check/gst/gstabi.c:
14697         * tests/check/gst/struct_ppc64.h:
14698         * tests/check/libs/libsabi.c:
14699         * tests/check/libs/struct_ppc64.h:
14700           add ppc64 structure sizes
14701
14702 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14703
14704         * tests/check/Makefile.am:
14705         * tests/check/gst/gstabi.c:
14706         * tests/check/gst/struct_x86_64.h:
14707         * tests/check/libs/libsabi.c:
14708         * tests/check/libs/struct_x86_64.h:
14709           generate and add structure size lists for x86_64
14710
14711 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14712
14713         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14714         * libs/gst/check/gstcheck.h:
14715           factor out the method from tests that checks size of structures,
14716           and add code to generate the header containing these sizes
14717         * tests/check/gst/gstabi.c: (GST_START_TEST):
14718         * tests/check/gst/struct_i386.h:
14719         * tests/check/libs/libsabi.c: (GST_START_TEST):
14720         * tests/check/libs/struct_i386.h:
14721           use it
14722
14723 2006-06-06  Michael Smith  <msmith@fluendo.com>
14724
14725         * gst/gstsegment.h:
14726           Don't use c++-style comments, fixes #343929
14727
14728 2006-06-05  Edward Hervey  <edward@fluendo.com>
14729
14730         * gst/gst.c:
14731         plugin_paths is not used if we build without registry support.
14732
14733         * gst/gstsegment.c: (gst_segment_copy): 
14734         _copy() was always returning NULL...
14735
14736 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14737
14738         * libs/gst/dataprotocol/dataprotocol.c:
14739         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14740         (gst_dp_packet_from_event):
14741           factor out CRC code
14742
14743 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14744
14745         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14746           make sure we unset caps
14747
14748 2006-06-02  Michael Smith  <msmith@fluendo.com>
14749
14750         * libs/gst/check/gstcheck.c: (gst_check_init),
14751         (gst_check_chain_func):
14752         * libs/gst/check/gstcheck.h:
14753           Add a cond/mutex to the check support lib, signal this whenever we
14754           add to the buffers list. This will allow tests to not busy-wait on
14755           the buffer-list.
14756
14757 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14758
14759         * libs/gst/dataprotocol/dataprotocol.c:
14760         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14761         (gst_dp_packet_from_event):
14762           factor out some common header init code
14763
14764 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14765
14766         * docs/libs/gstreamer-libs-sections.txt:
14767         * docs/libs/tmpl/gstdataprotocol.sgml:
14768         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14769         * libs/gst/dataprotocol/dataprotocol.h:
14770           API: make gst_dp_crc() public
14771
14772 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14773
14774         * plugins/indexers/gstindexers.c: (plugin_init):
14775         conditionally register fileindexer (fixes #343598)
14776
14777 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14778
14779         * gst/gsttagsetter.h:
14780         Can't cast ifaces to a class
14781
14782         * libs/gst/net/gstnetclientclock.h:
14783         * libs/gst/net/gstnettimeprovider.h:
14784         * plugins/elements/gstfakesink.h:
14785         * plugins/elements/gstfakesrc.h:
14786         * plugins/elements/gstfdsink.h:
14787         * plugins/elements/gstfdsrc.h:
14788         * plugins/elements/gstfilesink.h:
14789         * plugins/elements/gstfilesrc.h:
14790         * plugins/elements/gstidentity.h:
14791         * plugins/elements/gstqueue.h:
14792         * plugins/elements/gsttee.h:
14793         * plugins/indexers/gstfileindex.c:
14794         * plugins/indexers/gstmemindex.c:
14795         * tests/old/examples/plugins/example.h:
14796         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14797
14798 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14799
14800         * libs/gst/dataprotocol/dataprotocol.c:
14801         (gst_dp_header_from_buffer):
14802           make sure we zero the whole ABI-compatible area
14803
14804 2006-06-01  Wim Taymans  <wim@fluendo.com>
14805
14806         Patch by: Alessandro Decina <alessandro at nnva dot org>
14807
14808         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14809         Make sure the EOS flag is cleared from pads after a flush
14810         or stop. Fixes #343538.
14811
14812         * tests/check/libs/collectpads.c: (GST_START_TEST),
14813         (gst_collect_pads_suite):
14814         Added test for collectpads reusage after EOS.
14815
14816 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14817
14818         * gst/gst.c:
14819          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14820         * win32/common/libgstbase.def:
14821          export gst_collect_pads_set_flushing
14822         * win32/common/libgstreamer.def:
14823          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14824          gst_value_fraction_multiply
14825         * win32/vs6/gst_inspect.dsp:
14826          add a link to intl.lib
14827
14828 2006-05-30  Wim Taymans  <wim@fluendo.com>
14829
14830         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14831         (gst_collect_pads_chain):
14832         Handle the case where a pad is removed from the collection
14833         that could cause the other pads to become collectable.
14834
14835 2006-05-30  Wim Taymans  <wim@fluendo.com>
14836
14837         * gst/gstelement.c:
14838         Clarify the use of _release_request_pad() and
14839         _get_request_pad() a bit better.
14840
14841         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14842         (gst_adapter_take_buffer):
14843         Fix some doc and comment typos.
14844
14845 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14846
14847         * docs/gst/gstreamer-sections.txt:
14848         * docs/libs/gstreamer-libs-sections.txt:
14849           add declared symbols
14850
14851 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14852
14853         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14854         Add debug that can be enabled using a #define at the top of the file,
14855         for dumping stats about how late/early we were when waking up from
14856         waiting on the clock.
14857
14858 2006-05-30  Wim Taymans  <wim@fluendo.com>
14859
14860         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14861         When rebuilding the pad list, don't leak the previous list.
14862
14863 2006-05-30  Wim Taymans  <wim@fluendo.com>
14864
14865         Patch by: Lutz Mueller <lutz at topfrose dot de>
14866
14867         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14868         (gst_base_src_get_query_types), (gst_base_src_update_length):
14869         Publish supported query types.
14870         Update last_stop field in get_range mode so the position
14871         query works. Fixes #342321.
14872
14873 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14874
14875         * docs/gst/gstreamer-sections.txt:
14876         * gst/gsttaglist.c: (_gst_tag_initialize):
14877         * gst/gsttaglist.h:
14878           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14879
14880 2006-05-30  Wim Taymans  <wim@fluendo.com>
14881
14882         Patch by: Alessandro Decina <alessandro at nnva dot org>
14883
14884         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14885         Unlock mutex when removing an unknown pad.
14886         Fixes #343334.
14887
14888         * tests/check/Makefile.am:
14889         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14890         (push_event), (setup), (teardown), (GST_START_TEST),
14891         (gst_collect_pads_suite), (main):
14892         Added collecpads check, disabled for now as check crashes for
14893         some reason.
14894
14895 2006-05-29  Wim Taymans  <wim@fluendo.com>
14896
14897         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14898         Don't leak pads lists.
14899
14900 2006-05-29  Wim Taymans  <wim@fluendo.com>
14901
14902         * docs/libs/gstreamer-libs-sections.txt:
14903         * libs/gst/base/gstcollectpads.c:
14904         (gst_collect_pads_set_flushing_unlocked),
14905         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14906         (gst_collect_pads_stop):
14907         * libs/gst/base/gstcollectpads.h:
14908         API: gst_collect_pads_set_flushing()
14909         Added api to set the pads to flushing, useful for seeking
14910         code in elements using collectpads.
14911         Clear segment when receiving a flush.
14912
14913 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14914
14915         * gst/gst.c: (add_path_func), (init_post):
14916           Don't scan registry paths passed via --gst-plugin-path immediately
14917           (will crash, because absolutely nothing is set up and no types are
14918           registered etc.); do this later in init_post(). Fixes #343057.
14919
14920 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14921
14922         * gst/gst.c: (init_post):
14923           if we have fork, fork while reading/rebuilding the registry
14924           so the parent doesn't take the hit of having all plugins loaded
14925           in memory.  Fixes #342777.
14926         * configure.ac:
14927           Check if we have fork()
14928         * win32/common/config.h.in:
14929           no fork() on win32
14930
14931 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14932
14933         * plugins/elements/gstelements.c:
14934         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14935         (gst_file_src_init), (gst_file_src_set_property),
14936         (gst_file_src_get_property), (gst_file_src_start):
14937         * plugins/elements/gstfilesrc.h:
14938           API: GstFileSrc::use-mmap
14939
14940         Add a use-mmap property to enable easier testing of all code paths.
14941         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14942         in the absence of gnomevfssrc. (Closes #340501)
14943
14944 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14945
14946         * tools/gst-inspect.c:
14947         Add missing include, removes warning of ngettext not being defined on
14948         some arches.
14949
14950 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14951
14952         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14953         Handle NULL input and output pointers silently as a failed conversion,
14954         rather than g_warnings.
14955
14956 2006-05-25  Wim Taymans  <wim@fluendo.com>
14957
14958         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14959         Initialize variable before using. Fixes #342820.
14960
14961 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14962
14963         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14964           Fix off-by-one bug that would only allow peeks of N-1 bytes
14965           from the start even if the buffer to typefind on contains
14966           in fact N bytes of data (makes vorbis typefinding from a
14967           vorbis identification header buffer work).
14968
14969         * tests/check/Makefile.am:
14970         * tests/check/libs/.cvsignore:
14971         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14972         (gst_typefindhelper_suite), (main), (foobar_typefind),
14973         (plugin_init):
14974           Add very basic unit test for gst_type_find_helper_for_buffer()
14975           that checks for the problem fixed above.
14976
14977 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14978
14979         * tools/gst-inspect.c: (print_interfaces),
14980         (print_element_properties_info), (print_element_list), (main):
14981           add more translatable strings
14982
14983 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14984
14985         Patch by: Julien Moutte  <julien at moutte net>
14986
14987         * docs/gst/gstreamer-sections.txt:
14988           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14989           
14990         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14991         (gst_fake_sink_preroll):
14992         * plugins/elements/gstfakesink.h:
14993           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14994
14995 2006-05-23  Wim Taymans  <wim@fluendo.com>
14996
14997         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14998         * gst/gstpad.h:
14999         Added _CUSTOM error and success GstFlowReturn that can be
15000         used be elements internally. 
15001         Added macro to check for SUCCESS flowreturns.
15002         API: GST_FLOW_CUSTOM_SUCCESS
15003         API: GST_FLOW_CUSTOM_ERROR
15004         API: GST_FLOW_IS_SUCCESS
15005
15006         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15007         Added check for GstFlowReturn sanity.
15008
15009 2006-05-23  Wim Taymans  <wim@fluendo.com>
15010
15011         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15012
15013         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15014         (gst_collect_pads_event):
15015         clear/reset segment info in FLUSH_STOP.
15016         Fixes #336929.
15017
15018 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15019
15020         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15021         (gst_collect_pads_check_collected):
15022         Flush queued buffer on _stop(), fixes playing again (#342454)
15023
15024 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15025
15026         * tests/check/gst/gststructure.c: (GST_START_TEST),
15027         (gst_structure_suite):
15028           add a test for a complete structure
15029
15030 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15031
15032         * docs/faq/developing.xml:
15033         * docs/faq/faq.xml:
15034         * docs/faq/troubleshooting.xml:
15035         * docs/faq/using.xml:
15036           Some minor FAQ updates that won't change the fact that
15037           our FAQ is badly structured, full of information hardly
15038           anyone new to GStreamer needs to know and lacking lots
15039           of information people constantly ask for.
15040           
15041 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15042
15043         * gst/gstpad.c: (gst_pad_set_caps):
15044           Short-circuit gst_pad_set_caps if setting the existing
15045           caps pointer again, and avoid printing debug and 
15046           reffing/unreffing the caps.
15047
15048         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15049           There's actually no need to set the caps before pushing -
15050           the acceptcaps method will handle it anyway.
15051
15052 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15053
15054         * docs/gst/gstreamer-sections.txt:
15055         * win32/common/libgstreamer.def:
15056         * gst/gstutils.c: (gst_element_seek_simple):
15057         * gst/gstutils.h:
15058           API: add gst_element_seek_simple() (#342238).
15059
15060 2006-05-18  Edward Hervey  <edward@fluendo.com>
15061
15062         * gst/gsttypefind.c: (gst_type_find_get_type):
15063         * gst/gsttypefind.h:
15064         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15065         registered for GstTypeFind pointers. This allows wrapping the structure
15066         in bindings (i.e. gst-python).
15067
15068 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15069
15070         * gst/gsttagsetter.c:
15071           Docs additions and fixes (see #339918).
15072
15073 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15074
15075         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15076         The caps intersection algorithm can produce multiple copies of the
15077         caps. Until that is fixed, we need to simplify the result to be
15078         sure whether the allowed caps are fixed or not.
15079
15080         * plugins/elements/gstqueue.c: (gst_queue_init),
15081         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15082         (gst_queue_push_one):
15083         Proxied buffer alloc should not set the caps on the source pad.
15084         When pushing buffers, we always accept the caps change that triggers.
15085         This prevents negotiation errors caused by caps changing mid-stream 
15086         and then being refused on our source pad (because upstream is now
15087         refusing those caps).
15088
15089 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15090
15091         * tests/examples/helloworld/helloworld.c: (main):
15092           Must plug audioconvert and audioresample between decoder
15093           and audio sink.
15094
15095 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15096
15097         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15098         (load_feature), (load_plugin):
15099         Allow empty strings for some of the plugin fields so we don't 
15100         drop valid plugin entries that were written out correctly
15101         (Fixes #341479)
15102
15103 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15104         
15105         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15106           Use g_remove and g_rename instead of remove and rename that don't 
15107           handle utf8 characters. rename was failing for users who had specific
15108           characters in their name then the registry was built at each 
15109           gstreamer init.
15110         * win32/vs6/gst_inspect.dsp:
15111         * win32/vs6/gst_launch.dsp:
15112         * win32/vs6/libgstbase.dsp:
15113         * win32/vs6/libgstcoreelements.dsp:
15114         * win32/vs6/libgstreamer.dsp:
15115           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15116           build of libgstreamer and clean unused libraries in projects link 
15117           settings.
15118
15119 2006-05-17  Edward Hervey  <edward@fluendo.com>
15120
15121         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15122         The queue is not responsible for pushing an EOS when receiving a fatal
15123         flow error. It's up to the real element driving the pipeline to do that.
15124
15125 2006-05-16  Edward Hervey  <edward@fluendo.com>
15126
15127         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15128         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15129         buffer returned a fatal error. It should just send an EOS and stop
15130         its task.
15131         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15132         when pushing buffers on the queue and will be able to handle the event.
15133
15134 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15135
15136         * docs/manual/basics-bins.xml:
15137         * docs/manual/basics-init.xml:
15138           Fix typos and minor errors in sample code (#341856).
15139
15140 2006-05-16  Wim Taymans  <wim@fluendo.com>
15141
15142         * docs/design/part-qos.txt:
15143         Fix indexes in formulas to make more sense.
15144
15145 2006-05-15  Wim Taymans  <wim@fluendo.com>
15146
15147         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15148         Don't report POSITION based on clock time if sync is
15149         disabled in a sink.
15150
15151 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15152
15153         * gst/gstobject.h:
15154           Add cast to make compiler happy - refcount variable was a gint
15155           in GstObject but is a guint in GObject and g_atomic_int_get()
15156           wants a gint *.
15157
15158 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15159
15160         * gst/parse/Makefile.am:
15161           chain commands using &&, which also makes parallel make work
15162
15163 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15164
15165         * docs/gst/gstreamer-sections.txt:
15166         * gst/gstevent.c:
15167         * gst/gstevent.h:
15168         * gst/gstmessage.h:
15169           Minor docs fixes.
15170
15171 === release 0.10.6 ===
15172
15173 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15174
15175         * configure.ac:
15176           releasing 0.10.6, "Take the cannoli"
15177
15178 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15179
15180         * tools/gst-launch.c: (print_tag):
15181           Fix use of uninitialized variable in the hypothetical
15182           case that some broken plugin creates a GST_TAG_IMAGE
15183           tag containing a NULL buffer (#341667).
15184
15185 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15186
15187         * tools/gst-launch.c: (print_tag):
15188           Print something more intelligible for image tags when
15189           using the -t switch (#341556).
15190
15191 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15192
15193         * Makefile.am:
15194           updates for win32
15195         * configure.ac:
15196           define GST_MAJORMINOR so we have it available in win32/common/config.h
15197           Possibly remove it from our Makefile.am files later
15198         * win32/common/config.h:
15199         * win32/common/config.h.in:
15200           added GST_MAJORMINOR
15201         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15202         * win32/common/gstversion.h:
15203           updated
15204
15205 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15206
15207         * win32/MANIFEST:
15208           Update win32 files listing.
15209         * win32/common/gstversion.h:
15210           Add GST_MAJORMINOR definition.
15211         * win32/common/libgstreamer.def:
15212           Add new exported functions.
15213           
15214 2006-05-12  Michael Smith  <msmith@fluendo.com>
15215
15216         * gst/gstplugin.c: (gst_plugin_load_file):
15217           If an so file has no plugin entry point, unload the module.
15218
15219 2006-05-11  Wim Taymans  <wim@fluendo.com>
15220
15221         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15222         (gst_queue_set_property):
15223         Don't forget to signal the _chain or _loop function 
15224         when the queue size or thresholds change since that might
15225         cause them to make progres again.
15226
15227 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15228
15229         * gst/gstclock.c: (gst_clock_class_init):
15230         * gst/gstindex.c: (gst_index_class_init):
15231         * gst/gstobject.c: (gst_object_class_init):
15232         * gst/gstpad.c: (gst_pad_class_init):
15233         * gst/gstpipeline.c: (gst_pipeline_class_init):
15234         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15235         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15236         * libs/gst/base/gstbasetransform.c:
15237         (gst_base_transform_class_init):
15238         * libs/gst/net/gstnetclientclock.c:
15239         (gst_net_client_clock_class_init):
15240         * libs/gst/net/gstnettimeprovider.c:
15241         (gst_net_time_provider_class_init):
15242         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15243         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15244         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15245         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15246         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15247         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15248         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15249         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15250         * plugins/elements/gsttee.c: (gst_tee_class_init):
15251         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15252         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15253           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15254
15255 2006-05-11  Wim Taymans  <wim@fluendo.com>
15256
15257         * gst/gstbuffer.c: (_gst_buffer_initialize):
15258         Register subbufer along with the buffer type so that
15259         it does not accidentally gets registered from N
15260         different streaming threads in a non threadsafe way.
15261
15262 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15263
15264         * gst/gstbuffer.h:
15265         * gst/gstevent.h:
15266         * gst/gstmessage.h:
15267           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15268           gst_event_ref() and gst_message_ref() functions again
15269           (ugly hack, please do fix if there's a better way besides
15270           overrides.txt, which doesn't seem to work).
15271
15272 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15273
15274         * libs/gst/check/gstcheck.h:
15275           add an assert for setting state to avoid lots of repetitive code
15276           in the future
15277
15278 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15279
15280         * gst/gstvalue.c: (gst_value_serialize_flags):
15281           fix a leak if no flags are set
15282         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15283           fix leak in tests
15284
15285 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15286
15287         * docs/manual/basics-pads.xml:
15288           Expand a bit on caps and filtered links and update
15289           examples that were still using the no longer existing
15290           gst_pad_link_filtered() (#338206).
15291
15292 2006-05-10  Wim Taymans  <wim@fluendo.com>
15293
15294         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15295         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15296         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15297         (gst_collect_pads_stop):
15298         * libs/gst/base/gstcollectpads.h:
15299         No need to call _stop in _finalize.
15300         Iterate the main pad list in _finalize.
15301         Added some more debug.
15302         Free lists and data in the right order.
15303         Also free data whem doing _remove_pad when stopped for
15304         backward compatibility protect ::started with PAD_LOCK as
15305         well.
15306
15307 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15308
15309         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15310         (gst_structure_parse_value):
15311           add some comments
15312           rename a method so that it actually says what it does better
15313
15314 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15315
15316         * gst/gstevent.c: (_gst_event_initialize):
15317         * gst/gstformat.c: (_gst_format_initialize):
15318           make sure some essential types used by events are registered
15319           as part of gst_init()
15320         * gst/gstvalue.c: (gst_value_serialize_flags):
15321           if no flags are set, serialize them to a value that represents NONE
15322           so that deserializing them works
15323         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15324           add tests for serialization and deserialization of flags
15325
15326 2006-05-10  Wim Taymans  <wim@fluendo.com>
15327
15328         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15329         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15330         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15331         (gst_collect_pads_event), (gst_collect_pads_chain):
15332         Update docs.
15333         Better debug info.
15334         Catch and return errors from the collect function
15335         Refuse data on eos pads.
15336
15337 2006-05-10  Edward Hervey  <edward@fluendo.com>
15338
15339         * gst/gstinterface.h:
15340         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15341         GInterface type checking.
15342         They were previously using non-defined macros.
15343
15344 2006-05-09  Wim Taymans  <wim@fluendo.com>
15345
15346         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15347         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15348         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15349         (gst_collect_pads_start), (gst_collect_pads_stop),
15350         (gst_collect_pads_peek), (gst_collect_pads_pop),
15351         (gst_collect_pads_available), (gst_collect_pads_read),
15352         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15353         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15354         (gst_collect_pads_chain):
15355         * libs/gst/base/gstcollectpads.h:
15356         Clean up the mess that is collectpads, add comments and
15357         FIXMEs where needed.
15358         Maintain a separate pad list so we can add pads while
15359         collecting the other ones. For this we need a new separate 
15360         lock (see comics).
15361         Fix memory leak in finalize.
15362         Refactor some weird code to set/unset pad flushing flags, mark
15363         with comments.
15364         Don't crash in _available, _read, _flush when we're EOS.
15365
15366         * tests/check/libs/.cvsignore:
15367         Ignore adapter check binary.
15368
15369 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15370
15371         * gst/gstindex.c: (gst_index_resolver_get_type):
15372         * plugins/elements/gstfakesink.c:
15373         (gst_fake_sink_state_error_get_type):
15374         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15375         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15376         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15377           Const-ify GEnumValue arrays.
15378
15379 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15380
15381         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15382           Add test case for flags + gst_buffer_make_metadata_writable().
15383
15384 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15385
15386         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15387           gst_buffer_make_metadata_writable() should maintain the
15388           buffer flags (those that make sense at least) (see #340859).
15389
15390 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15391
15392         * tools/gst-inspect.c:
15393         * tools/gst-launch.c:
15394         * tools/gst-typefind.c:
15395         * tools/gst-xmlinspect.c:
15396         * tools/tools.h:
15397           Fix up includes: need to include stdlib.h in tools.h for exit().
15398
15399 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15400
15401         * gst/gsttaglist.c: (_gst_tag_initialize):
15402         * gst/gsttaglist.h:
15403           API: add GST_TAG_IMAGE tag (#340721).
15404
15405 2006-05-08  Wim Taymans  <wim@fluendo.com>
15406
15407         * gst/gstquery.c:
15408         Added some docs for the segment query.
15409
15410 2006-05-08  Wim Taymans  <wim@fluendo.com>
15411
15412         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15413         (gst_base_src_loop), (gst_base_src_change_state):
15414         Always push non-flushing serialized events in the streaming 
15415         thread.
15416
15417 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15418
15419         * gst/gsterror.c: (_gst_stream_errors_init):
15420           Add a missing error string.
15421
15422 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15423
15424         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15425         Add applied_rate to the debug
15426
15427         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15428         Copy applied_rate into the outgoing NEWSEGMENT event
15429
15430 2006-05-08  Wim Taymans  <wim@fluendo.com>
15431
15432         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15433
15434         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15435         (gst_base_sink_change_state):
15436         call ::unlock before taking the PREROLL_LOCK so we can safely
15437         handle elements that lock in ::render.
15438         Fixes #340174.
15439
15440 2006-05-08  Edward Hervey  <edward@fluendo.com>
15441
15442         * autogen.sh: (CONFIGURE_DEF_OPT): 
15443         Darwin's libtoolize is in fact called glibtoolize.
15444         Adding glibtoolize to the list of accepted names for libtoolize.
15445
15446 2006-05-08  Wim Taymans  <wim@fluendo.com>
15447
15448         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15449         Unify error handling, don't post an error message
15450         when a push() returns EOS but perform our normal EOS
15451         handling code. Fixes #340772.
15452
15453 2006-05-08  Wim Taymans  <wim@fluendo.com>
15454
15455         * docs/design/part-overview.txt:
15456         Make upsteam/downstream concepts more clear.
15457         Give an example of serialized/non-serialized events.
15458
15459         * docs/design/part-events.txt:
15460         * docs/design/part-streams.txt:
15461         Mention applied_rate.
15462
15463         * docs/design/part-trickmodes.txt:
15464         Mention applied rate, flesh out some more use cases.
15465
15466         * gst/gstevent.c: (gst_event_new_new_segment),
15467         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15468         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15469         (gst_event_parse_tag), (gst_event_new_buffer_size),
15470         (gst_event_parse_buffer_size), (gst_event_new_qos),
15471         (gst_event_parse_qos), (gst_event_parse_seek),
15472         (gst_event_new_navigation):
15473         * gst/gstevent.h:
15474         Add applied_rate field to NEWSEGMENT event.
15475         API: gst_event_new_new_segment_full()
15476         API: gst_event_parse_new_segment_full()
15477
15478         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15479         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15480         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15481         * gst/gstsegment.h:
15482         Add applied_rate to GstSegment structure.
15483         Make calculation of stream_time and running_time more correct
15484         wrt rate/applied_rate.
15485         Add some more docs.
15486         API: GstSegment::applied_rate field
15487         API: gst_segment_set_newsegment_full();
15488
15489         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15490         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15491         * libs/gst/base/gstbasetransform.c:
15492         (gst_base_transform_sink_eventfunc),
15493         (gst_base_transform_handle_buffer):
15494         Parse and use applied_rate in the GstSegment field.
15495
15496         * tests/check/gst/gstevent.c: (GST_START_TEST):
15497         Add check for applied_rate field.
15498
15499         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15500         (gstsegments_suite):
15501         Add more checks for various GstSegment operations.
15502
15503 2006-05-08  Wim Taymans  <wim@fluendo.com>
15504
15505         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15506         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15507         (gst_base_sink_get_position), (gst_base_sink_change_state):
15508         Store the sync time of the buffer end position separatly in a
15509         new variable eos_rtime so we can properly sync the EOS event.
15510         Fixes #340697.
15511         Fix the docs for gst_base_sink_set_qos_enabled().
15512         Don't set segment start to invalid value when we receive a 
15513         non TIME newsegment.
15514         get closer to handling position reporting for negative rates 
15515         correctly.
15516
15517 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15518
15519         * gst/gstcaps.c:
15520         Docs about how to print caps for debug purposes.
15521
15522         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15523         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15524
15525 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15526
15527         * gst/gstelement.c:
15528           use full enum names and preprend a '%' in docs strings to make recent 
15529           gtk-doc turn that into a link
15530
15531 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15532
15533         * docs/manual/basics-bins.xml:
15534         * docs/manual/basics-bus.xml:
15535         * docs/manual/basics-pads.xml:
15536           Some typo fixes, some additions, some clarifications. 
15537
15538 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15539
15540         * tools/gst-inspect.c: (main):
15541         * tools/gst-launch.c: (main):
15542         * tools/gst-run.c: (main):
15543         * tools/gst-typefind.c: (main):
15544         * tools/gst-xmlinspect.c: (main):
15545           Use the string passed to g_option_context_new() for
15546           what it's intended for - the program name is already
15547           printed elsewhere.
15548
15549 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15550
15551         * tools/Makefile.am:
15552         * tools/gst-inspect.c: (main):
15553         * tools/gst-launch.c: (main):
15554         * tools/gst-xmlinspect.c: (main):
15555         * tools/tools.h:
15556           Add back --version command line option (#340460).
15557
15558         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15559           Add --version option and use GOption for argument parsing; refactor a
15560           bit; accept directories as arguments and recurse into them; lastly,
15561           print a decent error message when things go wrong.
15562
15563 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15564
15565         * docs/manual/basics-bins.xml:
15566         Don't mention GstThread (#340611)
15567         * docs/manual/basics-elements.xml:
15568         Update link to GObject tutorial (#340607)
15569         
15570 2006-05-05  Wim Taymans  <wim@fluendo.com>
15571
15572         * gst/gstbuffer.h:
15573         * gst/gstminiobject.c:
15574         Add note about refcounting and miniobject/buffer writeability
15575         to docs. Fixes #340604
15576
15577         * gst/gstelementfactory.h:
15578         Added some explanation about @klass.
15579
15580 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15581
15582         * docs/manual/intro-motivation.xml:
15583         * docs/manual/manual.xml:
15584         Avoid CORBA & Bonobo references (#340598)
15585
15586 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15587
15588         * docs/manual/basics-bus.xml:
15589         * docs/manual/basics-pads.xml:
15590         Fix up some inaccuracies and omissions (#340609)
15591         
15592 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15593
15594         * gst/gstghostpad.c:
15595           Small typo in docs (#340625)
15596
15597 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15598
15599         * gst/parse/Makefile.am:
15600           Make 'make -j' proof (see #340698).
15601
15602 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15603
15604         * configure.ac:
15605           Require GLib-2.8 here as well.
15606
15607 2006-05-05  Wim Taymans  <wim@fluendo.com>
15608
15609         * gst/glib-compat.c:
15610         * gst/gst.c: (init_pre):
15611         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15612         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15613         (gst_object_dispatch_properties_changed):
15614         * gst/gstobject.h:
15615         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15616         * gst/gststructure.c: (gst_structure_set_valist):
15617         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15618         Remove pre glib2.8 compatibility, fixes #340508
15619
15620 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15621
15622         * gst/gsttaglist.h:
15623           Mention type of tags in doc blurbs.
15624
15625 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15626
15627         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15628         (gst_pad_configure_src), (gst_pad_push):
15629         Restore acceptcaps checking behaviour now that good plugins have
15630         been released.
15631
15632 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15633
15634         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15635
15636         * gst/gst.c:
15637         * gst/gstbus.c:
15638         * gst/gstclock.c:
15639         * gst/gstevent.c:
15640         * gst/gstformat.c:
15641         * gst/gstmessage.c:
15642         * gst/gstparse.c:
15643         * gst/gstquery.c:
15644         * gst/gstutils.c:
15645         * gst/parse/Makefile.am:
15646         * libs/gst/base/gstadapter.c:
15647         * libs/gst/base/gstbasesrc.c:
15648         * libs/gst/base/gstpushsrc.c:
15649         * libs/gst/base/gsttypefindhelper.c:
15650         * plugins/elements/gstfakesrc.c:
15651         * plugins/elements/gstidentity.c:
15652           Make sure gstprivate.h and/or config.h are
15653           always included first, otherwise some of our
15654           defines (like _FILE_OFFSET_BITS) might be
15655           redefined in the system headers. Fixes build
15656           on opensolaris (#340016).
15657
15658 2006-05-04  Wim Taymans  <wim@fluendo.com>
15659
15660         * docs/libs/gstreamer-libs-sections.txt:
15661         API: addition: gst_adapter_take_buffer()
15662         
15663         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15664         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15665         (gst_adapter_available_fast):
15666         * libs/gst/base/gstadapter.h:
15667         Prepare for optimizing the hell out of this hugely inefficient
15668         piece of code. 
15669         Added gst_adapter_take_buffer() so we can at least start thinking
15670         about subbuffering and merging.
15671         Added some comments.
15672
15673         * tests/check/Makefile.am:
15674         * tests/check/libs/adapter.c: (GST_START_TEST),
15675         (gst_adapter_suite), (main):
15676         Added GstAdapter check.
15677
15678 2006-05-04  Wim Taymans  <wim@fluendo.com>
15679
15680         * docs/design/part-overview.txt:
15681         Fix some typos, add blurb about buffer flags.
15682
15683 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15684
15685         * docs/libs/gstreamer-libs-sections.txt:
15686           make sure GstBaseTransformClass shows up in the docs
15687         * libs/gst/base/gstbasetransform.c:
15688         * libs/gst/base/gstbasetransform.h:
15689           move docs so gtk-doc picks it up now
15690
15691 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15692
15693         * docs/libs/gstreamer-libs-sections.txt:
15694           add missing symbols to docs
15695
15696 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15697
15698         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15699           back out the newsegment handling change, see #340060 for ongoing
15700           discussion
15701
15702 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15703
15704         * tools/gst-run.c: (get_candidates), (main):
15705           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15706           work); fix typo in error message. Fixes #340079.
15707
15708 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15709
15710         * common/Makefile.am:
15711         * docs/Makefile.am:
15712         * docs/faq/Makefile.am:
15713         * docs/gst/Makefile.am:
15714         * docs/libs/Makefile.am:
15715         * docs/manual/Makefile.am:
15716         * docs/plugins/Makefile.am:
15717         * docs/pwg/Makefile.am:
15718         * docs/slides/Makefile.am:
15719         * docs/upload.mak:
15720         * common/upload.mak:
15721           move upload.mak to common
15722
15723 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15724
15725         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15726           add more asserts on refcounts
15727           do more cleanup at end of tests
15728           fix test leaks showing in FC5
15729
15730 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15731
15732         * plugins/elements/gsttypefindelement.c:
15733         (gst_type_find_element_handle_event):
15734         reverted wrong change and reflowed code to avoid others falling into
15735         this trap
15736
15737 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15738
15739         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15740           fix changelog entry about last collectpads change,
15741           add notes about proper fix
15742
15743 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15744
15745         * gst/gst.c:
15746         * gst/gstregistry.c: (gst_registry_scan_path_level),
15747         (gst_registry_scan_path):
15748         * gst/gstregistry.h:
15749           only write out registry if it has changed, fixes #338339
15750
15751 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15752
15753         * gst/gstbin.c:
15754         * gst/gstpipeline.c:
15755         * plugins/elements/gstcapsfilter.c:
15756         * plugins/elements/gstfakesink.c:
15757         * plugins/elements/gstfakesrc.c:
15758         * plugins/elements/gstfdsink.c:
15759         * plugins/elements/gstfdsrc.c:
15760         * plugins/elements/gstfilesink.c:
15761         * plugins/elements/gstfilesrc.c:
15762         * plugins/elements/gstidentity.c:
15763         * plugins/elements/gstqueue.c:
15764         * plugins/elements/gsttee.c:
15765         * plugins/elements/gsttypefindelement.c:
15766         (gst_type_find_element_handle_event):
15767           make GstElementDetails const
15768
15769 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15770
15771         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15772         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15773         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15774           more detailed debug and formatting cleanup,
15775           forward newsegments to src-pad (so that e.g. adder not eats them)
15776
15777 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15778
15779         * gst/gstutils.c: (gst_element_link_pads):
15780           cleanup double code
15781
15782 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15783
15784         * libs/gst/controller/gstcontroller.c:
15785         (gst_controller_sync_values):
15786           some little tuning
15787         * tests/check/libs/controller.c: (GST_START_TEST),
15788         (gst_controller_suite):
15789           a new test for live value handling
15790
15791 2006-04-28  Wim Taymans  <wim@fluendo.com>
15792
15793         * gst/gstutils.c: (push_and_ref):
15794         Added some more docs.
15795         Fix refcount issue whith gst_element_found_tags() helper 
15796         function. Fixes #338335
15797
15798         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15799         Added testsuite for gst_element_found_tags().
15800
15801 2006-04-28  Michael Smith  <msmith@fluendo.com>
15802
15803         * gst/gstvalue.c: (gst_value_serialize_flags):
15804           Avoid NULL dereference when trying to serialize flags containing
15805           invalid values.
15806
15807 2006-04-28  Michael Smith  <msmith@fluendo.com>
15808
15809         * plugins/elements/gsttypefindelement.c:
15810         (gst_type_find_element_handle_event):
15811           If we get EOS before any data is accumulated, don't use
15812           uninitialised local variables.
15813
15814 2006-04-28  Michael Smith  <msmith@fluendo.com>
15815
15816         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15817         (gst_dp_event_from_packet):
15818           Fixes in reading/writing events over GDP (not currently used?) - 
15819           dereferencing NULL events for unknown/invalid event types, memory
15820           leak, and change g_warning to GST_WARNING.
15821
15822 2006-04-28  Wim Taymans  <wim@fluendo.com>
15823
15824         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15825         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15826         (gst_base_sink_get_position), (gst_base_sink_change_state):
15827         When frame dropping is enabled, we should not ignore frames
15828         without a duration.
15829         Update some documentation.
15830
15831 2006-04-28  Wim Taymans  <wim@fluendo.com>
15832
15833         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15834         (gst_base_src_send_event), (gst_base_src_change_state):
15835         Documentation updates.
15836
15837 2006-04-28  Wim Taymans  <wim@fluendo.com>
15838
15839         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15840         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15841         handle EAGAIN, EINTR and short writes correctly. Also clean
15842         up some error cases, avoid a deadlock on bad file descriptors and
15843         use GST_DEBUG_OBJECT.
15844         Fixes #339843
15845
15846 2006-04-28  Wim Taymans  <wim@fluendo.com>
15847
15848         * gst/gstvalue.c: (gst_value_serialize_buffer),
15849         (gst_value_deserialize_buffer):
15850         Don't try to serialize a GValue with a NULL buffer. 
15851         Fixes #339821.
15852
15853         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15854         Added check for serialisation of NULL buffers.
15855
15856 2006-04-28  Wim Taymans  <wim@fluendo.com>
15857
15858         * gst/gstminiobject.c: (gst_value_take_mini_object):
15859         Taking a NULL miniobject is valid, fix the case where
15860         we try to unref the NULL miniobject.
15861
15862 2006-04-28  Wim Taymans  <wim@fluendo.com>
15863
15864         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15865
15866         * gst/gstbin.c: (gst_bin_handle_message_func):
15867         Update docs.
15868         Don't leak bin refcount when a state recalc is
15869         in progress and we delay another one #339808.
15870
15871 2006-04-28  Wim Taymans  <wim@fluendo.com>
15872
15873         * docs/design/part-TODO.txt:
15874         Mention QoS as an ongoing work item.
15875
15876         * docs/design/part-buffering.txt:
15877         New doc about buffering that needs to be fleshed out
15878         at some point.
15879
15880         * docs/design/part-qos.txt:
15881         More QoS policy for decoders/demuxers/transforms
15882
15883         * docs/design/part-trickmodes.txt:
15884         Small update.
15885
15886 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15887
15888         * configure.ac:
15889           back to HEAD
15890
15891 === release 0.10.5 ===
15892
15893 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15894
15895         * configure.ac:
15896           releasing 0.10.5, "Fogo"
15897
15898 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15899
15900         patch by: Wim Taymans
15901
15902         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15903         (gst_pad_configure_src), (gst_pad_push):
15904         * gst/gstpipeline.c: (gst_pipeline_init):
15905           Fix internal data flow errors.  Fixes #338711.
15906
15907 2006-04-12  Wim Taymans  <wim@fluendo.com>
15908
15909         * tests/check/gst/gstelement.c: (GST_START_TEST):
15910         Don't leak the factory.
15911
15912 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15913
15914         * configure.ac:
15915         * win32/common/config.h:
15916           prerelease
15917
15918 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15919
15920         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15921         (gst_controller_unset_all):
15922           Free allocated GstTimedValues when freeing list nodes.
15923           Should fix leaks 'make check-valgrind' complains about.
15924
15925         * win32/common/libgstcontroller.def:
15926           Add gst_controller_unset_all.
15927
15928 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15929
15930         * docs/libs/gstreamer-libs-sections.txt:
15931         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15932         (gst_controller_unset_all):
15933         * libs/gst/controller/gstcontroller.h:
15934         API: Added new method gst_controller_unset_all()
15935         fixed gst_controller_unset()
15936         * tests/check/libs/controller.c: (GST_START_TEST),
15937         (gst_controller_suite):
15938         Added two testcases for new and fixed method
15939
15940 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15941
15942         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15943           MSG_DONTWAIT is not defined on Cygwin, so work
15944           around that (fixes #317048).
15945           
15946 2006-04-11  Wim Taymans  <wim@fluendo.com>
15947
15948         * gst/gstelementfactory.c: (gst_element_register),
15949         (gst_element_factory_create), (gst_element_factory_make):
15950         Some cleanups.
15951         Fixed a FIXME.
15952         Updated docs (Fixes #131079)
15953
15954         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15955         Small cleanups.
15956
15957         * tests/check/gst/gstelement.c: (GST_START_TEST),
15958         (gst_element_suite):
15959         Added testcase for elementfactory class field.
15960
15961 2006-04-10  Wim Taymans  <wim@fluendo.com>
15962
15963         * gst/gstsegment.c:
15964         Added some more docs.
15965
15966         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15967         (gst_base_sink_reset_qos):
15968         Calculate more accurate rate values.
15969
15970 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15971
15972         * gst/gst_private.h:
15973           add a new #ifdef to use __declspec(dllimport) only for
15974           other modules and not for gstreamer core
15975         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15976           use gst_guint64_to_gdouble for conversion
15977         * win32/common/libgstreamer.def:
15978           add new exported functions
15979         * win32/vs6/gst_inspect.dsp:
15980         * win32/vs6/gst_launch.dsp:
15981         * win32/vs6/libgstbase.dsp:
15982         * win32/vs6/libgstcontroller.dsp:
15983         * win32/vs6/libgstcoreelements.dsp:
15984         * win32/vs6/libgstdataprotocol.dsp:
15985         * win32/vs6/libgstnet.dsp:
15986           update project files
15987
15988 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15989
15990         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15991         * gst/gstclock.c: (gst_clock_class_init):
15992         * gst/gstelement.c: (gst_element_class_init):
15993         * gst/gstindex.c: (gst_index_class_init):
15994         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15995         * gst/gstobject.c: (gst_object_class_init),
15996         (gst_signal_object_class_init):
15997         * gst/gstpad.c: (gst_pad_class_init):
15998         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15999         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16000         * gst/gstregistry.c: (gst_registry_class_init):
16001         * gst/gstsystemclock.c: (gst_system_clock_class_init):
16002         * gst/gsttask.c: (gst_task_class_init):
16003         * gst/gstxml.c: (gst_xml_class_init):
16004         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16005         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16006         (gst_base_src_loop):
16007         * libs/gst/controller/gstcontroller.c:/
16008         (_gst_controller_class_init):
16009         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16010         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16011         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16012         * tests/old/examples/plugins/example.c: (gst_example_class_init):
16013         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16014         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16015
16016 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16017
16018         * gst/gstpad.c: (gst_pad_link):
16019           Must set peer pads before calling the link function, otherwise
16020           a task started from a link function might get a flow-not-linked
16021           result when trying to push because the other thread where the
16022           linking happens hasn't had a chance to set the peers yet. This
16023           might happen for example when a queue gets linked to a downstream
16024           element, as queue starts a streaming task when its source pad
16025           gets linked. Happens in real life when playing back flac/musepack
16026           files in playbin (#332390).
16027           
16028 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16029
16030         * gst/gstindex.h:
16031         * gst/gstxml.h:
16032         * libs/gst/base/gstadapter.h:
16033         * libs/gst/base/gstbasesink.h:
16034         * libs/gst/base/gstbasesrc.h:
16035         * libs/gst/base/gstbasetransform.h:
16036         * libs/gst/base/gstcollectpads.h:
16037         * libs/gst/base/gstpushsrc.h:
16038         Fix broken GObject macros
16039
16040 2006-04-07  Wim Taymans  <wim@fluendo.com>
16041
16042         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16043         Initialize start and stop times, thanks valgrind.
16044
16045 2006-04-07  Wim Taymans  <wim@fluendo.com>
16046
16047         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16048         Be a bit nicer to badly behaving upstream elements that expect
16049         us to deal with non TIME segments and timestamps (such as fakesrc
16050         in the testsuite).
16051
16052 2006-04-07  Wim Taymans  <wim@fluendo.com>
16053
16054         * gst/gstbus.c:
16055         Small documentation clarification about the signal watch.
16056
16057         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16058         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16059         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16060         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16061         (gst_base_sink_get_position_last),
16062         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16063         Convert and store timestamps in stream time and running time, the
16064         raw timestamps are not useful, also document this better.
16065         Use different window sizes for good and bad QoS observations so
16066         we react to badness a little quicker.
16067         Keep track of the amount of rendered and dropped buffers.
16068         Send QoS timestamps in running time.
16069
16070         * libs/gst/base/gstbasetransform.c:
16071         (gst_base_transform_sink_eventfunc),
16072         (gst_base_transform_handle_buffer):
16073         Compare QoS timestamps against running time.
16074
16075 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16076
16077         * gst/gstpad.c:
16078           Typo fixes in docs.
16079
16080 2006-04-06  Michael Smith  <msmith@fluendo.com>
16081
16082         * gst/gstpad.c: (gst_pad_set_property):
16083           Use g_value_get_object() instead of g_value_dup_gst_object(),
16084           to avoid double-reffing the pad template (which we then sink,
16085           so this worked previously if (and only if) the pad template
16086           was floating.
16087
16088         * gst/gstpadtemplate.c: (gst_pad_template_init),
16089         (gst_pad_template_pad_created):
16090           Never return floating references to pad templates, create
16091           them as initially-sunken.
16092
16093           Document an extra function (and make this stop sinking our
16094           pad template, since that is now guaranteed to do nothing,
16095           since we created it sunken).
16096
16097         * gst/gstghostpad.c:
16098           Fix docs typo.
16099
16100 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16101
16102         * gst/gstinfo.c: (__gst_in_valgrind):
16103           Add some newlines.
16104
16105         * plugins/elements/gsttypefindelement.c:
16106         (gst_type_find_element_chain):
16107           Don't leak buffer caps.
16108
16109 2006-04-06  Michael Smith  <msmith@fluendo.com>
16110
16111         * gst/parse/grammar.y:
16112           Fix a leak in parse-launch for any source-or-sink named element 
16113           references used.
16114
16115         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16116           Unref the pipeline if it exists after we've failed parsing.
16117
16118 2006-04-05  Michael Smith  <msmith@fluendo.com>
16119
16120         * gst/gstpipeline.c: (gst_pipeline_init):
16121           When we create a pipeline bus, initially create it in flushing mode.
16122           Fixes leaks in at least one test, and makes a new pipeline work the
16123           same as one that has gone to READY and then back to NULL.
16124
16125         * gst/gstelement.c:
16126           Typo fix in docs.
16127
16128 2006-04-05  Michael Smith  <msmith@fluendo.com>
16129
16130         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16131           Unref a pad we reffed.
16132         * tests/check/gst/gstutils.c: (GST_START_TEST):
16133           Unref bins
16134
16135 2006-04-05  Michael Smith  <msmith@fluendo.com>
16136
16137         * gst/gstquery.c: (gst_query_set_formats),
16138         (gst_query_set_formatsv):
16139           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16140
16141 2006-04-05  Michael Smith  <msmith@fluendo.com>
16142
16143         * tests/check/generic/sinks.c: (GST_START_TEST):
16144           Fix a variety of memleaks in sinks check, which are only sometimes 
16145           shown by running the tests under valgrind (weird?).
16146
16147 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16148
16149         * docs/version.entities.in:
16150           Fix the substituted entity name after thomas' changes on the
16151           weekend.
16152
16153 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16154
16155         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16156         VALGRIND_PRINTF
16157         
16158 2006-04-05  Andy Wingo  <wingo@pobox.com>
16159
16160         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16161
16162         * libs/gst/base/gstbasetransform.c
16163         (gst_base_transform_sink_eventfunc): When resetting our segment on
16164         FLUSH_STOP, also update the flag saying we haven't seen a
16165         newsegment.
16166
16167 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16168
16169         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16170
16171         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16172         (gst_plugin_check_license):
16173           minor clean-ups: G_DEFINE_TYPE already takes care of the
16174           parent_class stuff, no need to do it twice. Mark array of
16175           license strings as constant. (#337103)
16176           
16177 2006-04-04  Michael Smith  <msmith@fluendo.com>
16178
16179         * tools/gst-inspect.c: (print_element_list):
16180           Free the right plugin list; fixes a memory leak.
16181
16182 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16183
16184         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16185
16186         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16187           Don't error out on empty buffers (#336945).
16188           
16189 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16190
16191         * docs/libs/gstreamer-libs-sections.txt:
16192         * gst/gsttaglist.c:
16193         * libs/gst/base/gstbasesink.c:
16194         * libs/gst/base/gstbasesink.h:
16195         * libs/gst/base/gstbasesrc.c:
16196         * libs/gst/base/gstbasesrc.h:
16197           Documentation updates. Make BaseSink and BaseSrc docs contain the
16198           class structure so that people can actually see the prototypes for
16199           virtual functions they're supposed to be overriding.
16200
16201 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16202
16203         * plugins/elements/gsttypefindelement.c:
16204         (gst_type_find_element_chain):
16205           More debug info; when skipping typefinding, send cached
16206           events in all cases.
16207
16208 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16209
16210         * configure.ac:
16211           use new AS_VERSION and AS_NANO macros
16212         * gst/gst-i18n-lib.h:
16213         * gst/gst.c:
16214         * gst/gsterror.c:
16215         * gst/gstversion.h.in:
16216         * win32/common/config.h:
16217         * win32/common/config.h.in:
16218           update accordingly
16219
16220 2006-03-31  Michael Smith  <msmith@fluendo.com>
16221
16222         * plugins/elements/gsttypefindelement.c:
16223         (gst_type_find_element_chain):
16224           Do not typefind content if the buffers already have caps.
16225           Neccesary for icydemux (#333657), and the right thing to do anyway.
16226
16227 2006-03-30  Wim Taymans  <wim@fluendo.com>
16228
16229         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16230         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16231         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16232         (gst_base_sink_record_qos_observation),
16233         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16234         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16235         (gst_base_sink_change_state):
16236         More QoS measurements as described in the design doc.
16237         Get rid of ringbuffer with observations, running average is
16238         more simple and equally good.
16239         Calculates valid proportion now.
16240         Added beginning of flood measurement.
16241
16242 2006-03-29  Wim Taymans  <wim@fluendo.com>
16243
16244         * docs/design/part-qos.txt:
16245         * gst/gstclock.c:
16246         Small documentation updates and additions.
16247
16248 2006-03-29  Wim Taymans  <wim@fluendo.com>
16249
16250         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16251         (gst_base_src_send_event), (gst_base_src_loop),
16252         (gst_base_src_change_state):
16253         Perform the EOS logic when we reach the segment stop position.
16254         Fix compilation on gcc4.1
16255
16256 2006-03-29  Wim Taymans  <wim@fluendo.com>
16257
16258         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16259
16260         * plugins/elements/gstqueue.c: (gst_queue_init),
16261         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16262         (gst_queue_set_property):
16263         * plugins/elements/gstqueue.h:
16264         In queue, when EOS is received, if minimum threshold > max_size -
16265         current_level, there is chance that queue blocks forever in conditional
16266         item del wait. This is because the queue is not emptied completely due
16267         to minimum threshold.  Here is another approach. Instead of setting
16268         cur_levels to max in EOS, just zero all minimum threshold levels. This
16269         should make sure that queue gives out all data. When going to READY
16270         (stop) state, just reset the original minimum threshold levels.
16271         Fixes #336336.
16272
16273 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16274
16275         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16276         (gst_type_find_element_handle_event),
16277         (gst_type_find_element_send_cached_events),
16278         (gst_type_find_element_change_state):
16279         * plugins/elements/gsttypefindelement.h:
16280           When typefinding is done in push mode, we should cache
16281           events we receive during typefinding instead of just
16282           dropping them (e.g. newsegment, custom events from
16283           dvdreadsrc etc.) and then send them out once we've
16284           determined the type of the stream (and decodebin
16285           has had a chance to plug in a decoder/demuxer).
16286           
16287 2006-03-27  Wim Taymans  <wim@fluendo.com>
16288
16289         * docs/design/part-qos.txt:
16290         First QoS ideas.
16291
16292 2006-03-27  Wim Taymans  <wim@fluendo.com>
16293
16294         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16295
16296         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16297         (gst_base_src_send_event), (gst_base_src_change_state):
16298         Handle element seek correctly when we are streaming.
16299         Fixes #326998.
16300
16301 2006-03-24  Michael Smith  <msmith@fluendo.com>
16302
16303         * docs/faq/gst-uninstalled:
16304           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16305           allow you to correctly run intalled applications built against old 
16306           core, using plugins that require updated core (e.g. running
16307           installed totem against a full uninstalled gstreamer stack)
16308
16309 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16310
16311         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16312         more debug details
16313
16314 2006-03-24  Wim Taymans  <wim@fluendo.com>
16315
16316         * docs/gst/gstreamer-sections.txt:
16317         Rearrange the order of the methods so that related methods
16318         are grouped together in sections.
16319
16320 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16321
16322         * gst/gstelement.c:
16323           Little clarification in the docs
16324
16325 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16326
16327         * docs/README:
16328         formatting fix
16329         * plugins/elements/gstidentity.c:
16330         * plugins/elements/gstqueue.c:
16331         * plugins/elements/gsttee.c:
16332         * plugins/elements/gsttypefindelement.c:
16333         GST_ELEMENT_DETAILS formatting
16334
16335 2006-03-24  Wim Taymans  <wim@fluendo.com>
16336
16337         * libs/gst/base/gstbasesink.h:
16338         Only add fields, not insert or we break ABI.
16339
16340 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16341
16342         * win32/common/libgstbase.def:
16343         * win32/common/libgstreamer.def:
16344           Update, add recently added functions.
16345
16346 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16347
16348         * docs/gst/gstreamer-sections.txt:
16349         * gst/gstutils.c: (gst_pad_query_peer_position),
16350         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16351         * gst/gstutils.h:
16352           API: add some new utility functions:
16353            - gst_pad_query_peer_position()
16354            - gst_pad_query_peer_duration()
16355            - gst_pad_query_peer_convert()
16356           
16357 2006-03-23  Wim Taymans  <wim@fluendo.com>
16358
16359         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16360         (gst_base_sink_init), (gst_base_sink_finalize),
16361         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16362         (gst_base_sink_set_property), (gst_base_sink_get_property),
16363         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16364         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16365         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16366         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16367         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16368         (gst_base_sink_preroll_object), (gst_base_sink_event),
16369         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16370         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16371         (gst_base_sink_query), (gst_base_sink_change_state):
16372         Decouple max-lateness and the fact that QoS messages are generated
16373         with a new property (qos).
16374         added API: GstBaseSink::async_play()
16375         Add vmethod so subclasses can be notified of ASYNC playing
16376         state changes.
16377         Collect timestamp start and stop to report better current
16378         position in EOS/PLAYING/PAUSED/READY/NULL.
16379         Refactor QoS/frame dropping and other measurements.
16380         API: GstBaseSrc::qos
16381         Fixes #326311
16382
16383         * libs/gst/base/gstbasesink.h:
16384         Added Private struct.
16385         API: gst_base_sink_set_qos_enabled()
16386         API: gst_base_sink_is_qos_enabled()
16387
16388 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16389
16390         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16391           If compiling against GLib-2.8 or newer, try to read the
16392           registry file using GMappedFile first before falling back
16393           to fopen() + fread() (#332151).
16394
16395 2006-03-22  Wim Taymans  <wim@fluendo.com>
16396
16397         * gst/gstinfo.c: (gst_debug_set_active),
16398         (gst_debug_category_set_threshold):
16399         Disable debugging unless explicitly activated.
16400         Fixes #335480.
16401
16402 2006-03-22  Wim Taymans  <wim@fluendo.com>
16403
16404         * gst/gstelement.c: (gst_element_set_locked_state),
16405         (gst_element_dispose):
16406         Cleanup the error case.
16407
16408         * gst/gstobject.c: (gst_object_dispose):
16409         print a critical when some object was disposed with
16410         a parent, also revive the object since it might
16411         crash the parent.
16412
16413 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16414
16415         * tools/gst-launch.1.in:
16416           Fix another typo.
16417
16418 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16419
16420         * configure.ac:
16421         * tests/check/Makefile.am:
16422           disable some tests when we don't have a registry
16423         * tests/check/gst/gstutils.c: (gst_utils_suite):
16424           don't build the part that needs parsing
16425
16426 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16427
16428         * gst/Makefile.am
16429         * tests/examples/Makefile.am:
16430           fix --disable-parse build
16431
16432 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16433
16434         * tools/gst-feedback.1.in:
16435           Fix typo: s/feeback/feedback/ (#133494).
16436
16437 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16438
16439         * tools/Makefile.am:
16440         * tools/gst-launch.1.in:
16441           Add FILES section and correct entry about GST_REGISTRY_PATH
16442           environment variable (#133495; #133494).
16443
16444 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16445
16446         * tools/Makefile.am:
16447         * tools/gst-md5sum.1.in:
16448         * tools/gst-md5sum.c:
16449           Remove gst-md5sum and man page (the md5sink element
16450           required was removed ages ago)
16451
16452 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16453
16454         * gst/gststructure.c: (gst_structure_id_set_value):
16455           Make sure that string fields in structures/taglists
16456           contain valid UTF-8 - we don't want to pass rubbish to
16457           applications because of a buggy plugin (cp. #334167).
16458
16459 2006-03-21  Edward Hervey  <edward@fluendo.com>
16460
16461         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16462         (gst_bin_handle_message_func):
16463         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16464         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16465         (gst_element_set_bus_func):
16466         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16467         * gst/gstminiobject.c: (gst_value_set_mini_object),
16468         (gst_value_take_mini_object):
16469         * gst/gstpad.c: (gst_pad_set_pad_template):
16470         * gst/gstpipeline.c: (gst_pipeline_dispose),
16471         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16472         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16473         (gst_collect_pads_chain):
16474         * libs/gst/net/gstnettimeprovider.c:
16475         (gst_net_time_provider_set_property):
16476         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16477         It's in fact all issues with gst_*object_replace().
16478
16479 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16480
16481         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16482         
16483         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16484         * pkgconfig/gstreamer-check.pc.in:
16485           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16486
16487 2006-03-21  Edward Hervey  <edward@fluendo.com>
16488
16489         * gst/gstbuffer.h:
16490         * gst/gstevent.h:
16491         * gst/gstmessage.h:
16492         gst_[buffer|event|message]_ref() macros are replaced by a static
16493         inline functions because gcc-4.1 will about if the return value
16494         isn't used.
16495         * tests/check/gst/gstevent.c: (event_probe):
16496         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16497
16498 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16499
16500         * gst/gstutils.h:
16501         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16502         the type' case. (Closes: #335195 for now). In the future, when we
16503         depend on GLib 2.10, we could also intern the type name using
16504         g_intern_static_string()
16505
16506 2006-03-20  Wim Taymans  <wim@fluendo.com>
16507
16508         * gst/gstbin.c: (gst_bin_handle_message_func),
16509         (bin_query_max_init), (bin_query_position_fold),
16510         (bin_query_position_done), (gst_bin_query):
16511         Position query should also take max of all streams.
16512
16513 2006-03-20  Wim Taymans  <wim@fluendo.com>
16514
16515         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16516         (gst_fake_src_finalize):
16517         Fix leaks in fakesrc.
16518
16519         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16520         Fix leaks in the testcase.
16521
16522 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16523
16524         * gst/gst_private.h:
16525           add win32 specific import decoration(__declspec(dllimport)) 
16526           for all extern GstDebugCategory * variables
16527         * win32/common/libgstbase.def:
16528         * win32/common/libgstcontroller.def:
16529         * win32/common/libgstreamer.def:
16530           Add some exports, remove empty lines
16531         * win32/common/libgstdataprotocol.def:
16532         * win32/common/libgstdataprotocol.dsp:
16533         * win32/common/libgstnet.def:
16534         * win32/common/libgstnet.dsp:
16535           new project files and exportation files added
16536         
16537 2006-03-19  Wim Taymans  <wim@fluendo.com>
16538
16539         * tests/check/libs/basesrc.c: (eos_event_counter):
16540         Use proper return value for probe.
16541
16542 2006-03-17  Wim Taymans  <wim@fluendo.com>
16543
16544         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16545         (gst_pad_push):
16546         Don't leak buffers, caps and pads on negotiation errors.
16547
16548 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16549
16550         * docs/faq/cvs.xml:
16551         * docs/faq/dependencies.xml:
16552         * docs/faq/developing.xml:
16553         * docs/faq/faq.xml:
16554         * docs/faq/general.xml:
16555         * docs/faq/getting.xml:
16556         * docs/faq/legal.xml:
16557         * docs/faq/troubleshooting.xml:
16558         * docs/faq/using.xml:
16559         Faq review and update.
16560
16561 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16562
16563         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16564         (gst_pad_push):
16565         Don't pound the cpu to pieces by checking get_caps when accept_caps
16566         is called with the same caps as the pad already has.
16567         Use GST_DEBUG_OBJECT when outputting caps change information.
16568
16569 2006-03-15  Wim Taymans  <wim@fluendo.com>
16570
16571         * gst/gstclock.c: (gst_clock_class_init):
16572         Fix docs.
16573
16574 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16575
16576         * gst/gstbuffer.h:
16577         Documentation fix.
16578
16579         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16580         (gst_pad_accept_caps), (gst_pad_configure_sink),
16581         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16582         Make the default acceptcaps behaviour be to check the requested 
16583         caps against the gst_pad_get_caps output. 
16584
16585         Ensure that gst_pad_accept_caps is used to check caps when a pad
16586         doesn't have a setcaps function, so that pads automatically refuse 
16587         caps that they don't allow in their pad template. (Fixes #332986)
16588
16589         When a buffer with attached caps is pushed, ensure that the source 
16590         pad receives those caps even if the element didn't call
16591         gst_pad_set_caps first.
16592
16593 2006-03-15  Wim Taymans  <wim@fluendo.com>
16594
16595         * libs/gst/base/gstadapter.c:
16596         Add some docs.
16597
16598 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16599
16600         * win32/common/libgstbase.def:
16601         * win32/common/libgstcontroller.def:
16602         * win32/common/libgstreamer.def:
16603           Add a whole bunch of missing functions (#334434).
16604
16605 2006-03-14  Wim Taymans  <wim@fluendo.com>
16606
16607         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16608         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16609         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16610         Better debug info when we receive a segment event.
16611         Reorganize a bit so we can pass the get_times() results around.
16612         Use the segment format when calculating the running time.
16613         Don't do QoS is sync is disabled or we have no clock or the
16614         element does not want us to sync to the clock.
16615         Don't drop buffers if QoS is disabled for now.
16616
16617 2006-03-14  Wim Taymans  <wim@fluendo.com>
16618
16619         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16620         Marked the stats property as unimplemented so people don't get
16621         wild ideas.
16622         Add debug message when regression goes wrong.
16623         Added some more docs.
16624
16625 2006-03-14  Wim Taymans  <wim@fluendo.com>
16626
16627         * gst/gstsegment.c: (gst_segment_to_stream_time):
16628         Return correct return type in case of errors.
16629
16630 2006-03-14  Wim Taymans  <wim@fluendo.com>
16631
16632         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16633           Don't segfault on invalid formats.
16634
16635 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16636
16637         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16638           Can't use gst_segment_to_running_time() when the segment
16639           is not in GST_TIME_FORMAT (like with filesink, for example).
16640           Stops flac encoding pipelines from spewing critical warnings
16641           at EOS (#331248).
16642           
16643 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16644
16645         * gst/gstpipeline.c: (gst_pipeline_class_init):
16646           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16647
16648         * plugins/elements/gsttypefindelement.c:
16649         (gst_type_find_element_handle_event):
16650           Don't try to typefind empty streams.
16651
16652 2006-03-14  Wim Taymans  <wim@fluendo.com>
16653
16654         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16655         (gst_base_sink_do_qos):
16656         Separate QoS calculation.
16657         Only drop buffers when lateness is bigger than the 
16658         duration of the buffer.
16659
16660 2006-03-13  Wim Taymans  <wim@fluendo.com>
16661
16662         * gst/gstpipeline.c: (gst_pipeline_set_property),
16663         (gst_pipeline_get_property), (do_pipeline_seek),
16664         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16665         (gst_pipeline_get_delay):
16666         Don't deadlock when reading properties.
16667
16668 2006-03-13  Wim Taymans  <wim@fluendo.com>
16669
16670         * libs/gst/base/gstbasetransform.c:
16671         (gst_base_transform_class_init), (gst_base_transform_init),
16672         (gst_base_transform_sink_event),
16673         (gst_base_transform_sink_eventfunc),
16674         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16675         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16676         (gst_base_transform_set_property),
16677         (gst_base_transform_get_property),
16678         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16679         (gst_base_transform_set_qos_enabled),
16680         (gst_base_transform_is_qos_enabled):
16681         * libs/gst/base/gstbasetransform.h:
16682         Make basetransform virtual method for src events too.
16683         Handle QOS in basetransform.
16684         API: gst_base_transform_update_qos()
16685         API: gst_base_transform_set_qos_enabled()
16686         API: gst_base_transform_is_qos_enabled()
16687
16688 2006-03-13  Wim Taymans  <wim@fluendo.com>
16689
16690         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16691         (gst_base_sink_do_sync):
16692         Small cleanups.
16693         Use QOS debug category.
16694
16695 2006-03-13  Wim Taymans  <wim@fluendo.com>
16696
16697         * plugins/elements/gstqueue.c:
16698         Very small doc update.
16699
16700 2006-03-13  Wim Taymans  <wim@fluendo.com>
16701
16702         * gst/gst_private.h:
16703         * gst/gstinfo.c: (_gst_debug_init):
16704         Added QOS debug category
16705
16706 2006-03-13  Wim Taymans  <wim@fluendo.com>
16707
16708         * docs/gst/gstreamer-sections.txt:
16709         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16710         * gst/gstbin.h:
16711         * gst/gstbus.c: (gst_bus_class_init):
16712         * gst/gstbus.h:
16713         * gst/gstclock.c:
16714         * gst/gstelement.c: (gst_element_set_locked_state):
16715         * gst/gstsegment.c:
16716         Documentation updates.
16717
16718         * gst/gstpipeline.c: (gst_pipeline_get_type),
16719         (gst_pipeline_class_init), (gst_pipeline_init),
16720         (gst_pipeline_dispose), (gst_pipeline_set_property),
16721         (gst_pipeline_get_property), (do_pipeline_seek),
16722         (gst_pipeline_send_event), (gst_pipeline_change_state),
16723         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16724         (gst_pipeline_get_delay):
16725         * gst/gstpipeline.h:
16726         Added methods for setting the delay.
16727         API: gst_pipeline_set_delay()
16728         API: gst_pipeline_get_delay()
16729         Add pipeline debug category
16730         Various cleanups.
16731         Updated docs.
16732         Don't reset stream time when seek failed.
16733
16734 2006-03-13  Wim Taymans  <wim@fluendo.com>
16735
16736         * docs/design/draft-klass.txt:
16737         * docs/design/part-clocks.txt:
16738         * docs/design/part-events.txt:
16739         * docs/design/part-gstbin.txt:
16740         * docs/design/part-gstpipeline.txt:
16741         * docs/design/part-messages.txt:
16742         * docs/design/part-negotiation.txt:
16743         * docs/design/part-overview.txt:
16744         * docs/design/part-preroll.txt:
16745         * docs/design/part-seeking.txt:
16746         * docs/design/part-states.txt:
16747         * docs/design/part-streams.txt:
16748         Documentation updates.
16749
16750 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16751
16752         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16753         us to leak strings...
16754
16755 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16756
16757         * libs/gst/net/gstnettimeprovider.c:
16758           fix docs
16759         * win32/common/config.h:
16760           update
16761
16762 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16763
16764         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16765
16766         * configure.ac:
16767           Don't check for libgnomeui (leftover from old examples
16768           that aren't built or disted any longer) (#334303).
16769           
16770 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16771
16772         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16773         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16774           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16775           there's no space left on the device.
16776
16777 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16778
16779         * gst/gstclock.h:
16780           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16781           to cast the input to GstClockTime before comparing with
16782           another GstClockTime value.
16783
16784 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16785
16786         * configure.ac:
16787           back to trunk
16788
16789 === release 0.10.4 ===
16790
16791 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16792
16793         * configure.ac:
16794           releasing 0.10.4, "Light"
16795
16796 2006-03-10  Michael Smith  <msmith@fluendo.com>
16797
16798         * libs/gst/dataprotocol/dataprotocol.c:
16799           Fix docs for dataprocotol to not get the return types completely
16800           wrong for a few functions.
16801
16802 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16803
16804         * docs/gst/gstreamer-sections.txt:
16805         * gst/gstpipeline.c: (gst_pipeline_class_init),
16806         (gst_pipeline_init), (gst_pipeline_set_property),
16807         (gst_pipeline_get_property), (gst_pipeline_change_state),
16808         (gst_pipeline_set_auto_flush_bus),
16809         (gst_pipeline_get_auto_flush_bus):
16810         * gst/gstpipeline.h:
16811           Add new API: gst_pipeline_set_auto_flush_bus() and
16812           gst_pipeline_get_auto_flush_bus() to disable automatic
16813           flushing of the pipeline's GstBus when going from READY
16814           to NULL state (#332045).
16815
16816 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16817
16818         * docs/gst/gstreamer-sections.txt:
16819         * gst/gsturi.c: (gst_uri_has_protocol):
16820         * gst/gsturi.h:
16821            Add new API: gst_uri_has_protocol() (#333779).
16822
16823 2006-03-09  Wim Taymans  <wim@fluendo.com>
16824
16825         * gst/gstclock.c: (gst_clock_entry_new),
16826         (gst_clock_id_compare_func), (gst_clock_id_wait),
16827         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16828         (gst_clock_init), (gst_clock_get_internal_time),
16829         (gst_clock_set_master), (do_linear_regression),
16830         (gst_clock_add_observation), (gst_clock_set_property):
16831         * gst/gstclock.h:
16832         Review docs.
16833         Small cleanups.
16834         Fix a possible segfault when the window-size is made smaller.
16835         Calculate jitter before performing the clock wait. Ideally
16836         the clock implementation should calculate jitter but we need
16837         API breakage for that.
16838
16839         * gst/gstsystemclock.c: (gst_system_clock_init):
16840         Docs review.
16841         
16842         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16843         Remove leftover else
16844
16845         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16846         (gst_systemclock_suite):
16847         Added check to test GST_CLOCK_DIFF.
16848
16849 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16850
16851         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16852         (gst_type_find_helper_get_range):
16853           If we are provided with the size, we should implement
16854           GstTypeFind::get_length, so that typefind functions who
16855           want to can actually peek at the middle of a file.
16856
16857 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16858
16859         * docs/manual/advanced-dataaccess.xml:
16860           Add some very very basic error checking.
16861
16862         * docs/pwg/appendix-checklist.xml:
16863           Some updates to the list of things to check when writing an element.
16864
16865 2006-03-08  Wim Taymans  <wim@fluendo.com>
16866
16867         * docs/design/part-element-transform.txt:
16868         Added some docs about the design of tranform elements.
16869
16870         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16871         (gst_base_src_loop), (gst_base_src_change_state):
16872         Mark buffers with the DISCONT flag.
16873
16874 2006-03-08  Michael Smith  <msmith@fluendo.com>
16875
16876         * gst/gstregistry.h:
16877         * gst/gstregistryxml.c: (gst_registry_save),
16878         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16879         (gst_registry_xml_save_pad_template),
16880         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16881         (gst_registry_xml_write_cache):
16882           Rewrite registry-saving to avoid race conditions and check for
16883           failed writes.
16884
16885 2006-03-08  Wim Taymans  <wim@fluendo.com>
16886
16887         * libs/gst/base/gstbasetransform.c:
16888         (gst_base_transform_transform_caps),
16889         (gst_base_transform_transform_size),
16890         (gst_base_transform_prepare_output_buffer),
16891         (gst_base_transform_get_unit_size),
16892         (gst_base_transform_buffer_alloc),
16893         (gst_base_transform_handle_buffer),
16894         (gst_base_transform_change_state):
16895         Cleanups, separate normal flow from errors, add sensible
16896         DEBUG lines.
16897         Don't try to renegotiate when allocating an output buffer.
16898         Also copy DISCONT buffer flag when copying a buffer.
16899         Reset the transform after we finish streaming, not during.
16900
16901 2006-03-08  Wim Taymans  <wim@fluendo.com>
16902
16903         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16904         Use last buffer timestamp in qos message.
16905
16906 2006-03-07  Wim Taymans  <wim@fluendo.com>
16907
16908         Patch by: Christophe Fergeau
16909
16910         * docs/pwg/advanced-tagging.xml:
16911         * docs/pwg/building-pads.xml:
16912           fixes #333416
16913
16914 2006-03-07  Wim Taymans  <wim@fluendo.com>
16915
16916         * docs/libs/gstreamer-libs-sections.txt:
16917         Added basesink new methods.
16918
16919         * gst/gstevent.c:
16920         * gst/gstevent.h:
16921         Docs updates. Flesh out the QoS docs.
16922
16923         * libs/gst/base/gstadapter.c:
16924         Small doc clarification about ownership and flushing.
16925
16926         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16927         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16928         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16929         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16930         * libs/gst/base/gstbasesink.h:
16931         API additions: 
16932         Added new methods to allow subclass to control max-lateness 
16933         and sync.
16934         Generate very basic QoS events based on last sync observation.
16935         Updated docs, fix typo, added some QoS blurb.
16936
16937         * libs/gst/base/gstbasesrc.c:
16938         Remove obsolete _get_state() calls from docs.
16939
16940 2006-03-07  Wim Taymans  <wim@fluendo.com>
16941
16942         * docs/libs/gstreamer-libs-sections.txt:
16943         * libs/gst/base/gstbasetransform.h:
16944         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16945         Fix docs for GstBaseSrc.
16946
16947 2006-03-07  Wim Taymans  <wim@fluendo.com>
16948
16949         * docs/gst/gstreamer-sections.txt:
16950         * gst/gstbuffer.h:
16951         * gst/gstvalue.c:
16952         * libs/gst/base/gstbasetransform.h:
16953         Small documentation fixes.
16954
16955 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16956
16957         * gst/gstvalue.c:
16958           Document thread-unsafety of gst_value_register_foo_func()
16959           when used at the same time as gst_value_foo() (#322628).
16960
16961 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16962
16963         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16964         (gst_push_src_check_get_range):
16965           Push sources don't support pull mode by default.
16966
16967 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16968
16969         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16970         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16971         (gst_base_src_default_check_get_range):
16972         * libs/gst/base/gstbasesrc.h:
16973           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16974           provide default implementation, and rename
16975           gst_base_src_check_get_range() to
16976           gst_base_src_pad_check_get_range() for clarity.
16977
16978 2006-03-06  Wim Taymans  <wim@fluendo.com>
16979
16980         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16981         Make property overridable.
16982
16983 2006-03-06  Wim Taymans  <wim@fluendo.com>
16984
16985         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16986         (gst_base_sink_init), (gst_base_sink_set_property),
16987         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16988         * libs/gst/base/gstbasesink.h:
16989         API addition: Make max-lateness a property.
16990
16991 2006-03-06  Wim Taymans  <wim@fluendo.com>
16992
16993         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16994         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16995         Don't ever draw a frame that is >10ms late.
16996
16997 2006-03-06  Michael Smith  <msmith@fluendo.com>
16998
16999         * gst/gstmessage.c: (_gst_message_copy):
17000           When copying a message, set the parent_refcount of the enclosed
17001           structure to point at the copy, not the original message.
17002
17003 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17004
17005         Patch by: Christophe Fergeau
17006
17007         * gst/gstutils.h:
17008           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17009           usable in c++ code (#333417)
17010
17011 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17012
17013         * gst/gstclock.h:
17014           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17015
17016 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17017
17018         * libs/gst/base/gstbasetransform.c:
17019         (gst_base_transform_transform_caps):
17020           Make sure caps are writable before passing them to
17021           gst_caps_append().
17022
17023 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17024
17025         * gst/gsterror.h:
17026           Fix some minor docs errors.
17027
17028 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17029
17030           Patch by: Ross Burton <ross at burtonini dot com>
17031
17032         * gst/gsterror.c: (_gst_resource_errors_init):
17033         * gst/gsterror.h:
17034           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17035
17036 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17037
17038         * gst/gst.c:
17039         Add a check and output a g_warning when GStreamer is built
17040         against GLib 2.6 but running against 2.8 or higher, and vice 
17041         versa. (Closes: #323542)
17042
17043 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17044
17045         * gst/parse/parse.l:
17046           Commit patch for parse_launch syntax from #331255. Removes 
17047           support for quoted strings and mimetypes when writing filtered 
17048           caps. See the bug report for more details - I'm pretty sure this
17049           obscure feature is not in use by _anyone_ anywhere.
17050
17051           With this simple change, the size of the gstreamer.so here 
17052           drops from 2193KB to 1565KB.
17053
17054 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17055
17056         * plugins/elements/gsttypefindelement.h:
17057         * plugins/elements/gsttypefindelement.c:
17058         (gst_type_find_element_src_event), (start_typefinding),
17059         (stop_typefinding), (gst_type_find_element_handle_event),
17060         (gst_type_find_element_chain),
17061         (gst_type_find_element_chain_do_typefinding):
17062           Use gst_type_find_helper_for_buffer() for chain-based
17063           typefinding.
17064
17065 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17066
17067         * plugins/elements/gsttypefindelement.c:
17068         (gst_type_find_element_class_init),
17069         (gst_type_find_element_set_property),
17070         (gst_type_find_element_get_property):
17071           Deprecate "maximum" property (not only was it only taken into
17072           account for typefinding in push-mode anyway, it also was never
17073           actually possible to set it in the first place because the
17074           property was registered with the numeric property ID for the
17075           "minimum" property). Register "maximum" property correctly,
17076           for the sake of future copy'n'pasters. Remove some cruft
17077           from property get/set functions.
17078
17079 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17080
17081         * plugins/elements/gsttypefindelement.c:
17082         (gst_type_find_element_activate):
17083           Use gst_type_find_helper_get_range() here, so we
17084           can honour the "minimum" property and also emit
17085           the signal with the correct probability of the found caps.
17086
17087 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17088
17089         * docs/libs/gstreamer-libs-sections.txt:
17090         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17091         (helper_find_suggest), (gst_type_find_helper_get_range),
17092         (gst_type_find_helper):
17093         * libs/gst/base/gsttypefindhelper.h:
17094           New API: gst_type_find_helper_get_range() (#333042).
17095
17096 2006-03-02  Michael Smith  <msmith@fluendo.com>
17097
17098         * gst/gstregistryxml.c: (load_feature):
17099           Asserting on a failure to read part of the registry is Not Cool.
17100           Just log a warning and return NULL (which is already handled)
17101
17102 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17103
17104         * win32/common/libgstbase.def:
17105           added export of gst_type_find_helper_for_buffer
17106         * win32/common/libgstbase.def:
17107           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17108           gst_ghost_pad_get_target
17109
17110 2006-02-28  Wim Taymans  <wim@fluendo.com>
17111
17112         * docs/design/draft-klass.txt:
17113         We use Filter now.
17114         Added Connector to mark elements that are only used to
17115         allow pipeline connections.
17116         Moved Debug to extra feature since most of them are 
17117         functionally something else.
17118
17119 2006-02-28  Wim Taymans  <wim@fluendo.com>
17120
17121         * docs/design/draft-klass.txt:
17122         Some updates and clarifications.
17123
17124 2006-02-28  Wim Taymans  <wim@fluendo.com>
17125
17126         * docs/design/draft-klass.txt:
17127         Proposal for klass field values.
17128
17129         * docs/design/part-streams.txt:
17130         Start of a doc describing stream anatomy.
17131
17132 2006-02-28  Wim Taymans  <wim@fluendo.com>
17133
17134         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17135         Help the compiler a bit with type registration.
17136         Use existing forward cod path instead of duplicating it when 
17137         handling a message.
17138         
17139         * gst/gstbus.c: (gst_bus_get_type):
17140         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17141         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17142         * gst/gstclock.c: (gst_clock_get_type):
17143         * gst/gstelement.c: (gst_element_get_type),
17144         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17145         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17146         * gst/gstminiobject.c: (gst_mini_object_get_type):
17147         * gst/gstpad.c: (gst_pad_get_type):
17148         * gst/gstsegment.c: (gst_segment_get_type):
17149         * gst/gststructure.c: (gst_structure_get_type):
17150         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17151         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17152         * gst/gstvalue.c:
17153         Help compiler with type registration.
17154
17155         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17156         Small doc update.
17157
17158 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17159
17160         * plugins/elements/gsttypefindelement.c:
17161         (gst_type_find_element_handle_event):
17162           When we get an EOS event and have not found a type yet
17163           (most likely because we had not yet accumulated
17164           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17165           type given the data we have so far. Fixes typefinding
17166           for very short streams again, most notably quicktime
17167           redirections as used on Apple's trailer site (#331701).
17168
17169 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17170
17171         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17172         (gst_type_find_helper):
17173           Try typefinding factories with the highest rank first.
17174
17175 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17176
17177         * docs/libs/gstreamer-libs-docs.sgml:
17178         * docs/libs/gstreamer-libs-sections.txt:
17179         * libs/gst/base/gsttypefindhelper.c:
17180           Add section for typefind helper and add documentation
17181           for the old and the new function.
17182
17183 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17184
17185         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17186         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17187         (gst_type_find_helper_for_buffer):
17188         * libs/gst/base/gsttypefindhelper.h:
17189           New API: gst_type_find_helper_for_buffer() (#332723).
17190           
17191 2006-02-27  Michael Smith  <msmith@fluendo.com>
17192
17193         Patch by: Loïc Minier
17194
17195         * configure.ac:
17196         * docs/Makefile.am:
17197         * docs/slides/Makefile.am:
17198           prevent CVS directories getting disted.
17199
17200 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17201
17202         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17203           Use the REFCOUNTING category for caps refcounting.
17204           
17205 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17206
17207         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17208           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17209
17210 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17211
17212         * plugins/elements/gsttypefindelement.c:
17213         (gst_type_find_element_activate):
17214           Use gst_pad_check_pull_range() before _activate_pull()
17215           to avoid unnecessary open/close (see #331690).
17216
17217 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17218
17219         * gst/gstutils.c:
17220           Docs enhancement: make it crystal clear what the
17221           gst_pad_add_*_probe() callbacks should look like.
17222
17223 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17224
17225         * libs/gst/base/gstbasesrc.c:
17226           Document how applications can stop recording from
17227           live sources (see #330996).
17228
17229 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17230
17231         * tests/check/Makefile.am:
17232         * tests/check/libs/basesrc.c: (eos_event_counter),
17233         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17234         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17235         (gst_basesrc_suite), (main):
17236           ... and add some tests for the base source EOS stuff.
17237
17238 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17239
17240         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17241           Test case originally showed the problem fixed below,
17242           but was then amended. Add checks back at the place
17243           where they used to be.
17244
17245 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17246
17247         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17248         (gst_base_src_init), (gst_base_src_loop),
17249         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17250         (gst_base_src_change_state):
17251         * libs/gst/base/gstbasesrc.h:
17252           Don't unconditionally send EOS when going from PAUSED to
17253           READY state, esp. make sure we don't send two EOS events
17254           in some cases (e.g. one when reaching EOS and one when
17255           going from PAUSED to READY). Also, we don't want to send
17256           EOS events when operating in pull mode. However, we do
17257           want to send an EOS event when shutting down a live
17258           source explicitly, for example (fixes #330996).
17259           
17260 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17261
17262         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17263           Update src->read_position after a seek when not using mmap.
17264           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17265
17266 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17267
17268         * gst/Makefile.am:
17269         * gst/gstparse.h:
17270         * gst/gstutils.c:
17271         * gst/gstutils.h:
17272         Make things work with --disable-parse as they do with 
17273         --disable-load-save - the symbols involved disappear, but the
17274         header is still installed and GST_DISABLE_PARSE is included via
17275         gstconfig.h
17276
17277 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17278
17279         * libs/gst/base/gstbasetransform.c:
17280         (gst_base_transform_change_state): Fix a stupid bug. I was 
17281         sure I compiled that.
17282
17283 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17284
17285         * gst/gstpad.c: (gst_pad_set_blocked_async):
17286         * gst/gstutils.c: (gst_pad_add_data_probe),
17287         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17288         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17289         (gst_pad_remove_buffer_probe): Make those function act on the
17290         ghostpad target when it's a ghostpad. (Closes #331727)
17291
17292 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17293
17294         * libs/gst/base/gstbasetransform.c:
17295         (gst_base_transform_change_state): Make basetransform reusable.
17296         (Closes #331898)
17297
17298 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17299
17300         * docs/random/release:
17301         Move the current documentation of how to do a release to the top
17302         of the file.
17303
17304         * gst/gstbin.c: (gst_bin_class_init),
17305         (gst_bin_handle_message_func):
17306         Allow multiple state-recalculation threads. (Closes #328873)
17307
17308 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17309
17310         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17311         * gst/gstpad.c: (gst_pad_set_event_function),
17312         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17313         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17314         2 strings. You can't use the STR_NULL macro on that.
17315
17316 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17317
17318         * gst/gstpad.c: (gst_pad_set_event_function),
17319         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17320         (gst_pad_set_getcaps_function)
17321         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17322           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17323           So now, we can use --gst-debug-level=5 on Windows
17324         * win32/common/libgstcontroller.def:
17325           Added export of gst_controller_init
17326         * win32/vs6/libgstcontroller.dsp:
17327           Fixed Release post build configuration
17328
17329 2006-02-17  Wim Taymans  <wim@fluendo.com>
17330
17331         * tests/check/gst/gstquery.c: (GST_START_TEST):
17332         Added another check.
17333
17334 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17335
17336         * plugins/elements/gsttypefindelement.c: (find_peek):
17337           We can do peeks at non-zero offsets, as long as they
17338           fall within the buffer we have.
17339
17340 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17341
17342         * tests/check/Makefile.am:
17343         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17344         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17345         (parse_suite), (main):
17346           Add testsuite for parse launch syntax
17347
17348 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17349
17350         * plugins/elements/gsttypefindelement.c:
17351         (gst_type_find_element_chain):
17352           When typefinding is unsuccessful in the chain function, don't
17353           error out immediately. Only error out with NO_CAPS_FOUND if
17354           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17355           otherwise simply wait for more data so we can try typefinding
17356           again with more data later. Also, don't attempt to typefind
17357           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17358           this should improve typefinding from network sources where the
17359           size of the first buffer can be somewhat random.
17360
17361 2006-02-14  Wim Taymans  <wim@fluendo.com>
17362
17363         * docs/gst/gstreamer-sections.txt:
17364         * gst/gstpadtemplate.c:
17365         * gst/gstpadtemplate.h:
17366         Fix padtemplate docs, fixes #328805.
17367
17368 2006-02-14  Wim Taymans  <wim@fluendo.com>
17369
17370         * tools/gst-launch.c: (main):
17371         NO_PREROLL is not an ERROR so don't send confusing messages
17372         to the user.
17373
17374 2006-02-14  Wim Taymans  <wim@fluendo.com>
17375
17376         Patch by: Torsten Schoenfeld
17377
17378         * gst/gstregistry.c: (gst_registry_get_default),
17379         (_gst_registry_cleanup):
17380         Protect default registry with lock and ref/sink it.
17381         Fixes #324818
17382
17383 2006-02-14  Wim Taymans  <wim@fluendo.com>
17384
17385         * gst/gstbuffer.c:
17386         * gst/gstquery.c: (gst_query_list_add_format),
17387         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17388         (gst_query_parse_formats_nth):
17389         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17390         Docs fixes.
17391
17392 2006-02-14  Wim Taymans  <wim@fluendo.com>
17393
17394         * docs/gst/gstreamer-sections.txt:
17395         Reworked query docs.
17396
17397         * gst/gstquery.c: (gst_query_new_formats),
17398         (gst_query_list_add_format), (gst_query_set_formats),
17399         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17400         (gst_query_parse_formats_nth):
17401         * gst/gstquery.h:
17402         Flesh out formats query, added some new methods.
17403         Fix part of #324398.
17404
17405         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17406         Added query creation tests.
17407
17408 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17409
17410         * gst/gstpad.c: (fixate_value):
17411         Add a default fixation for fraction lists.
17412
17413 2006-02-13  Wim Taymans  <wim@fluendo.com>
17414
17415         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17416         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17417         (gst_task_join):
17418         * gst/gsttask.h:
17419         Detect and warn for obvious deadlocks. fixes #320340
17420         Fix error case where lock was not released.
17421
17422         * tests/check/Makefile.am:
17423         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17424         (task_func), (gst_element_suite), (main):
17425         Add task check.
17426
17427 2006-02-13  Wim Taymans  <wim@fluendo.com>
17428
17429         * docs/gst/gstreamer-sections.txt:
17430         * gst/gstbus.c:
17431         Add new functions to docs.
17432
17433 2006-02-13  Wim Taymans  <wim@fluendo.com>
17434
17435         * docs/design/part-TODO.txt:
17436         Updated TODO list, basesrc supports seeking to non-bytes
17437         formats.
17438
17439         * docs/design/part-element-sink.txt:
17440         Update docs.
17441
17442         * gst/gstbin.c: (bin_replace_message),
17443         (gst_bin_handle_message_func):
17444         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17445         * gst/gstevent.c: (gst_event_finalize):
17446         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17447         (gst_pad_send_event):
17448         Use shiny new _TYPE_NAME macros.
17449
17450         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17451         Move debug statement up.
17452
17453         * gst/gstelement.c: (gst_element_set_locked_state):
17454         Add some debugging.
17455
17456 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17457
17458         * docs/gst/gstreamer-sections.txt:
17459         * gst/gstmessage.h:
17460         * gst/gstquery.h:
17461           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17462           macros (#330906). Also, document the already existing
17463           GST_QUERY_TYPE macro.
17464
17465 2006-02-13  Wim Taymans  <wim@fluendo.com>
17466
17467         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17468         (event_probe), (GST_START_TEST):
17469         Only events up to the pipeline EOS are counted, there are
17470         some more when going to NULL currently which we don't care
17471         about for now.
17472
17473 2006-02-13  Wim Taymans  <wim@fluendo.com>
17474
17475         * gst/gstpad.c: (gst_pad_send_event):
17476         Correctly check flushing and emit probes. fixes #330125
17477
17478 2006-02-10  Andy Wingo  <wingo@pobox.com>
17479
17480         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17481         structure.
17482         (gst_bus_init): Cache the location of the private data in the
17483         instance structure.
17484         (gst_bus_enable_sync_message_emission) 
17485         (gst_bus_disable_sync_message_emission): Implement new public
17486         functions.
17487         (gst_bus_post): Emit the sync-message signal if the user asked for
17488         it. Fixes #330684.
17489
17490         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17491         location of the bus-private structure.
17492         (gst_bus_enable_sync_message_emission)
17493         (gst_bus_disable_sync_message_emission): API addition
17494
17495 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17496
17497         Patch by: Vincent Torri
17498
17499         * docs/pwg/building-boiler.xml:
17500         PWG patch from #326800
17501
17502 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17503
17504         * configure.ac:
17505         * docs/Makefile.am:
17506         * docs/design/Makefile.am:
17507           Dist design docs.
17508
17509 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17510
17511         * configure.ac:
17512           back to CVS
17513
17514 === release 0.10.3 ===
17515
17516 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17517
17518         * configure.ac:
17519           releasing 0.10.3, "Like a virgin"
17520
17521 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17522
17523         * configure.ac:
17524           2nd prerelease of 0.10.3
17525           Bump libtool versioning.
17526
17527 2006-02-07  Andy Wingo  <wingo@pobox.com>
17528
17529         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17530         update last_stop if we're in TIME format and the timestamp is
17531         valid.
17532
17533         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17534         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17535         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17536         If we get a new newsegment with a different format, adapt
17537         accordingly.
17538
17539         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17540         of 0. Not a problem, really.
17541
17542         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17543         warn if sync=true.
17544
17545 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17546
17547         * configure.ac:
17548           Prelease of 0.10.3
17549
17550 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17551
17552         * win32/vs7:
17553           project files updated to the default vs7 configuration
17554         * win32/common/libgstbase.def:
17555         * win32/common/libgstreamer.def:
17556           added new symbols,
17557           removed empty lines,
17558           sorted all exported symbols alphabetically
17559         * win32/common/dirent.c:
17560         * win32/common/dirent.h:
17561         * win32/common/gchar.h:
17562           use windows line end.
17563           
17564 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17565
17566         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17567           Send EOS event when stopping.
17568
17569 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17570
17571         * docs/README:
17572           Tell folks what to do if the plugin-foobar.xml file
17573           hasn't been generated for a newly-added plugin.
17574
17575 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17576
17577         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17578         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17579         (gst_collect_pads_start), (gst_collect_pads_stop),
17580         (gst_collect_pads_event): Collectpads now holds a reference
17581         to the GstPad that was added. Indeed we don't want to look
17582         at pads that might just go away with no warning...
17583
17584 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17585
17586         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17587         (gst_collect_pads_start), (gst_collect_pads_stop),
17588         (gst_collect_pads_event), (gst_collect_pads_chain):
17589         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17590         Mark Nauwelaerts's patch on bug #328491.
17591
17592 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17593
17594         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17595         (gst_utils_suite):
17596           Add some simple tests for gst_parse_bin_from_description() and
17597           gst_bin_find_unconnected_pad() (#329069).
17598
17599 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17600
17601         * tools/gst-launch.c: (event_loop), (main):
17602           Catch errors during preroll (#320084).
17603
17604 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17605
17606         * plugins/elements/gsttypefindelement.c:
17607         (gst_type_find_element_activate):
17608           Post TYPE_NOT_FOUND error message when typefinding
17609           is unsuccessful in the activate function as well.
17610
17611 2006-02-02  Wim Taymans  <wim@fluendo.com>
17612
17613         * docs/design/part-element-sink.txt:
17614         Updated doc.
17615
17616 2006-02-02  Wim Taymans  <wim@fluendo.com>
17617
17618         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17619         (gst_base_sink_render_object),
17620         (gst_base_sink_queue_object_unlocked):
17621         Only keep track of prerollable items when we are 
17622         prerolling.
17623         Before rendering after preroll, always check if we
17624         have queued items.
17625         Added some more debugging.
17626
17627 2006-02-02  Wim Taymans  <wim@fluendo.com>
17628
17629         * gst/gstelement.c: (gst_element_continue_state),
17630         (gst_element_set_state_func), (gst_element_change_state):
17631         Fixed #326576, been running this for quite some time with
17632         no regressions at all.
17633
17634 2006-02-02  Wim Taymans  <wim@fluendo.com>
17635
17636         * common/gst.supp:
17637         Added more suppressions
17638
17639 2006-02-02  Wim Taymans  <wim@fluendo.com>
17640
17641         * docs/design/part-element-sink.txt:
17642         Updated document.
17643
17644         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17645         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17646         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17647         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17648         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17649         (gst_base_sink_preroll_object),
17650         (gst_base_sink_queue_object_unlocked),
17651         (gst_base_sink_queue_object), (gst_base_sink_event),
17652         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17653         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17654         (gst_base_sink_get_position), (gst_base_sink_change_state):
17655         * libs/gst/base/gstbasesink.h:
17656         Totally refactored matching the design doc.
17657         Use two segments, one to clip incomming buffers and another to
17658         perform sync.
17659         Handle queueing correctly, bypass the queue when playing.
17660         Make EOS cancelable.
17661         Handle errors correctly when operating in pull based mode.
17662
17663         * tests/check/elements/fakesink.c: (GST_START_TEST),
17664         (fakesink_suite):
17665         Added new check for sinks.
17666
17667 2006-02-02  Wim Taymans  <wim@fluendo.com>
17668
17669         * gst/gstsegment.c: (gst_segment_clip):
17670         No reason to refuse to clip when start == -1
17671
17672 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17673
17674         * docs/README:
17675         * docs/manual/intro-basics.xml:
17676         * docs/manual/intro-preface.xml:
17677         * docs/manual/manual.xml:
17678         * docs/pwg/advanced-dparams.xml:
17679         * docs/pwg/intro-basics.xml:
17680         * docs/pwg/intro-preface.xml:
17681         * docs/pwg/pwg.xml:
17682           describe dparams (controller) for plugins
17683           unify docs a little more
17684
17685 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17686
17687         * docs/gst/gstreamer-sections.txt:
17688         * gst/gstutils.c: (element_find_unconnected_pad),
17689         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17690         * gst/gstutils.h:
17691           Add new API: gst_parse_bin_from_description() and
17692           gst_bin_find_unconnected_pad() (#329069).
17693
17694 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17695
17696         * docs/manual/README:
17697           uncover a nasty detail of the docs build
17698
17699 2006-01-31  Wim Taymans  <wim@fluendo.com>
17700
17701         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17702         Don't cache duration messages if we're not going to use or
17703         free them.
17704
17705 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17706
17707         * docs/manual/advanced-dparams.xml:
17708         * docs/pwg/advanced-dparams.xml:
17709           more dparam docs
17710         * gst/gstindex.c:
17711           fix docs
17712         * libs/gst/controller/lib.c: (gst_controller_init):
17713           init just once
17714
17715 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17716
17717         * gst/gstelement.c: (gst_element_message_full):
17718           also show file/line/func if no additional debug was given
17719
17720 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17721         
17722         * win32/vs7/grammar.vcproj:
17723           activate copy of autogenerated files for Release mode
17724
17725 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17726         
17727         * win32/common/libgstreamer.def:
17728           export gst_value_compare
17729
17730 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17731
17732         * plugins/elements/Makefile.am:
17733         * plugins/elements/gstelements.c:
17734         * plugins/elements/gstfdsink.c: (_do_init),
17735         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17736         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17737         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17738         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17739         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17740         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17741         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17742         * plugins/elements/gstfdsink.h:
17743         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17744
17745 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17746
17747         * docs/manual/advanced-dparams.xml:
17748           describe controller
17749         * docs/manual/advanced-position.xml:
17750         * docs/manual/basics-init.xml:
17751         * docs/manual/manual.xml:
17752         * docs/manual/titlepage.xml:
17753         * docs/pwg/pwg.xml:
17754         * docs/pwg/titlepage.xml:
17755           cleanup xml (more to come)
17756         * libs/gst/controller/gstcontroller.c:
17757           fix typo
17758
17759 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17760         
17761         * win32/vs6/grammar.dsp:
17762           add autogen of gstmarshal.c,h for Release mode
17763                 
17764 2006-01-30  Wim Taymans  <wim@fluendo.com>
17765
17766         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17767         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17768         (gst_base_sink_handle_object), (gst_base_sink_event),
17769         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17770         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17771         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17772         (gst_base_sink_deactivate), (gst_base_sink_activate),
17773         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17774         (gst_base_sink_query), (gst_base_sink_change_state):
17775         Basesink cleanups, remove some old code.
17776         Handle the case where a subclass can preroll in the render
17777         method (mostly audiosinks).
17778         Handle more events.
17779         Remove some locks around variables that are now protected
17780         with the PREROLL_LOCK (clock_id, flushing, ..).
17781         Optimize position query some more, do correct locking.
17782         Remove old code to push queue in state change, this is not
17783         needed anymore since preroll blocks on all prerollable items 
17784         now.
17785         Almost implemented as described in design doc.
17786
17787 2006-01-30  Wim Taymans  <wim@fluendo.com>
17788
17789         * tests/check/gst/gstbin.c: (GST_START_TEST):
17790         Wait for refcount to settle down before checking.
17791
17792 2006-01-30  Wim Taymans  <wim@fluendo.com>
17793
17794         * docs/design/part-element-sink.txt:
17795         Pseudo code overview of desired sink behaviour regarding
17796         preroll.
17797
17798 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17799         * win32/vs6/grammar.dsp:
17800           fix some bugs in Release mode for autogenerated files
17801                 
17802 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17803         * win32/common/libgstbase.def:
17804         * win32/common/libgstreamer.def:
17805           export some new symbols: gst_base_src_set_format,
17806           gst_iterator_next, gst_structure_set_valist
17807
17808 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17809
17810         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17811         Set pad functions unconditionally. Fixes #329105.
17812
17813 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17814         * win32/vs8:
17815           add vs8 project files created by Sergey Scobich
17816
17817 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17818
17819         * gst/gstutils.c: (gst_element_unlink_pads):
17820         Don't leak pad references.
17821
17822         * tests/check/elements/fakesink.c: (GST_START_TEST):
17823         * tests/check/generic/sinks.c: (GST_START_TEST):
17824         * tests/check/generic/states.c: (GST_START_TEST):
17825         * tests/check/gst/gstbin.c: (GST_START_TEST):
17826         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17827         * tests/check/gst/gstelement.c: (GST_START_TEST):
17828         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17829         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17830         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17831         Fix a bunch of leaks. Make generic/sinks.c
17832         use a bit less cpu by slowing the buffer rate
17833         between fakesrc and fakesink.
17834         
17835 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17836         * gst/gstcaps.c:
17837         * gst/gstelement.c: (gst_element_send_event):
17838         * gst/gstevent.c:
17839         * gst/gstinfo.c:
17840         * gst/gstiterator.c:
17841         * gst/gstiterator.h:
17842         * gst/gstpad.c: (gst_pad_send_event):
17843         * gst/gststructure.c:
17844         * gst/gsturi.c:
17845         * gst/gstutils.c:
17846         * gst/gstvalue.c:
17847         * libs/gst/base/gstadapter.c:
17848           doc fixes, to link to function, just write gst_cool_function(), don't
17849           prefix with '#'
17850
17851 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17852
17853         * plugins/elements/gsttee.c: (gst_tee_do_push),
17854         (gst_tee_handle_buffer):
17855         Always prefer an actual return value from a src
17856         pad in place of NOT_LINKED. This means we return
17857         WRONG_STATE when all src pads are WRONG_STATE
17858         instead of NOT_LINKED.
17859
17860         Lock when replacing the last message to prevent
17861         racing with the get_property method.
17862
17863         Add debug output
17864
17865 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17866
17867         * tests/check/Makefile.am:
17868         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17869         (main):
17870         Add a very simple check that should have caught the memleak I fixed
17871         last night (if not for the slice allocator hiding it)
17872
17873 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17874
17875         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17876         (gst_bin_remove_func), (gst_bin_handle_message_func),
17877         (bin_query_duration_fold), (bin_query_generic_fold):
17878         Clean up references to the clock provider when disposed or when
17879         handling a clock-lost message from it.
17880
17881         Unref sinks when performing a query via gst_iterator_fold, as the
17882         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17883
17884         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17885         (gst_clock_set_master):
17886         Drop our reference to the master clock, if any, when we are disposed.
17887
17888         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17889         Chain up in dispose. 
17890
17891 2006-01-26  Wim Taymans  <wim@fluendo.com>
17892
17893         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17894         Add some debugging.
17895
17896 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17897
17898         * plugins/elements/gsttee.c: (gst_tee_do_push),
17899         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17900         handles pad being NOT_LINKED or in WRONG_STATE.
17901
17902 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17903
17904         * win32/MANIFEST:
17905           more updating
17906
17907 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17908
17909         * win32/MANIFEST:
17910           remove obsolete entry
17911
17912 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17913
17914         * docs/gst/gstreamer-sections.txt:
17915         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17916         (gst_bin_iterate_sources), (gst_bin_send_event):
17917         * gst/gstbin.h:
17918         * gst/gstelement.c: (gst_element_send_event):
17919         * gst/gstevent.c:
17920         * gst/gstpad.c: (gst_pad_send_event):
17921           added code for downstream events, reviewed docs in gstevent.c
17922
17923 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17924
17925         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17926         We only query position using the clock in the playing state.
17927         Query peer in the other cases.
17928         * win32/common/config.h: Updates.
17929
17930 2006-01-24  Wim Taymans  <wim@fluendo.com>
17931
17932         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17933         A clock entry that is scheduled for the exact time of the
17934         clock is still in time.
17935
17936         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17937         (gst_base_sink_do_sync):
17938         Add some more debug info.
17939
17940 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17941
17942         * win32/vs7:
17943           Add new vs7 project files and solution.
17944
17945 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17946
17947         * win32/vs7:
17948           all files removed as they were out-dated.
17949
17950 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17951
17952         * docs/random/release:
17953           update notes
17954         * gst/gstbin.c: (gst_bin_init):
17955         * gst/gstbus.c: (gst_bus_new):
17956         * gst/gstbus.h:
17957         * gst/gstpipeline.c: (gst_pipeline_init):
17958           use gst_bus_new(), improve logging, fix docs
17959         * win32/common/config.h:
17960           update for cvs build
17961
17962 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17963
17964         * autogen.sh:
17965           up required version of automake to 1.7
17966
17967 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17968
17969         * win32/common/libgstreamer.def:
17970           export gst_buffer_is_metadata_writable
17971
17972 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17973
17974         * docs/gst/gstreamer-sections.txt:
17975         * gst/gstevent.h:
17976           Add gst_event_replace() (#327001)
17977
17978 2006-01-20  Wim Taymans  <wim@fluendo.com>
17979
17980         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17981         Make it actually compile too..
17982
17983 2006-01-20  Wim Taymans  <wim@fluendo.com>
17984
17985         * gst/gstcaps.c:
17986         Clarify behaviour of _is_equal() when passing NULL parameters.
17987
17988         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17989         (gst_pad_set_caps):
17990         Cleanups. Don't unref NULL caps.
17991         When setting the same caps, protect caps of the pad with
17992         proper lock.
17993         Use full functionality of _is_equal() when comparing caps.
17994
17995 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17996
17997         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17998         Don't loop infinitely if there are no buffers to present. Partially
17999         fixes #327197, but collectpads is just broken for reusing elements
18000         to do multiple encodes atm.
18001
18002 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18003
18004         * tools/gst-inspect.c: (print_element_features):
18005         * tools/gst-xmlinspect.c: (main):
18006         URL_HANDLER is not a plugin feature we can search for in
18007         the registry.
18008
18009 2006-01-19  Edward Hervey  <edward@fluendo.com>
18010
18011         * gst/gstelement.c: (gst_element_pads_activate): 
18012         When activating, do src pads first, then sink pads.
18013         When de-activating, do sink pads first, then src pads.
18014
18015 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18016
18017         * docs/gst/gstreamer-sections.txt:
18018         Add gst_index_add_associationv to the docs
18019
18020 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18021
18022         * gst/gstevent.c:
18023           Fix docs typo
18024
18025         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18026         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18027           Do some refactoring. Doesn't actually change functionality,
18028           but makes landing the DRAIN event easier later.
18029
18030 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18031
18032         * docs/pwg/advanced-scheduling.xml:
18033           Update from 0.9.x to 0.10 API and make example a bit
18034           clearer.
18035
18036 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18037
18038         * docs/gst/gstreamer-sections.txt:
18039         Add gst_buffer_(is|make)_metadata_writable methods.
18040
18041 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18042
18043         * docs/design/part-sparsestreams.txt:
18044         Update sparse streams doc, hopefully for greater clarity
18045
18046 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18047
18048         * docs/design/part-events.txt:
18049         Remove mention of FILLER events.
18050         Add DRAIN event.
18051
18052         * docs/design/part-sparsestreams.txt:
18053         Write some things about using NEWSEGMENT to keep sparse streams
18054         flowing.
18055
18056 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18057
18058         * gst/gstbin.c: (gst_bin_dispose):
18059           Guard gst_object_unref call against a NULL object (dispose
18060           can theoretically be called multiple times).
18061           
18062 2006-01-18  Wim Taymans  <wim@fluendo.com>
18063
18064         * gst/gstbin.c: (gst_bin_element_set_state):
18065         * gst/gstclock.c: (gst_clock_id_wait):
18066         Added some more debug info.
18067
18068         * libs/gst/base/gstadapter.c:
18069         Added more docs.
18070
18071         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18072         (gst_base_sink_do_sync), (gst_base_sink_chain):
18073         Added some comments.
18074
18075 2006-01-18  Wim Taymans  <wim@fluendo.com>
18076
18077         * tests/check/Makefile.am:
18078         * tests/check/elements/fakesink.c: (chain_async_buffer),
18079         (chain_async), (chain_async_return), (GST_START_TEST),
18080         (fakesink_suite), (main):
18081         Added fakesink test that checks prerolling and clipping
18082         behaviour.
18083
18084         * tests/check/gst/gstutils.c: (GST_START_TEST):
18085         Make check run faster so that buildbots don't timeout.
18086
18087 2006-01-18  Wim Taymans  <wim@fluendo.com>
18088
18089         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18090         (gst_base_sink_do_sync):
18091         Some cleanups.
18092         When the sink finishes blocking on the preroll buffer, it can
18093         immediatly render it instead of rendering when the next buffer
18094         arrives.
18095
18096 2006-01-18  Wim Taymans  <wim@fluendo.com>
18097
18098         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18099         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18100         (gst_base_sink_chain):
18101         Small cleanups.
18102         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18103         Don't store _last_stop if the buffer is dropped.
18104
18105 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18106
18107         * plugins/elements/gsttypefindelement.c:
18108         (gst_type_find_element_class_init):
18109           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18110           object method handler that sets the caps on the pad and we want
18111           that to happen before we emit the signal (fixes e.g. feeding a
18112           plain text file to decodebin).
18113
18114 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18115
18116         * gst/gstplugin.c: Add MPL and Proprietary as license options
18117
18118 2006-01-18  Andy Wingo  <wingo@pobox.com>
18119
18120         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18121         symbol was exported before, it appears this was just an oversight.
18122         Fixes #168703.
18123         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18124
18125         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18126         prototype to gint. OK since this prototype was not in the header.
18127
18128 2006-01-17  Andy Wingo  <wingo@pobox.com>
18129
18130         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18131         registry while we remove plugins.
18132
18133         * tools/gst-inspect.c (print_element_info): Don't unref the
18134         factory arg, that should be the responsibility of whatever code
18135         received the ref. Fixes a double-free when called from
18136         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18137         (main): Unref the factory if we have one.
18138         (print_element_list): No change -- relies on the
18139         plugin_feature_list_free to free the list of features.
18140
18141 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18142
18143         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18144         (gst_buffer_make_metadata_writable):
18145         * gst/gstbuffer.h:
18146         * libs/gst/base/gstbasetransform.c:
18147         (gst_base_transform_prepare_output_buf):
18148         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18149         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18150           Replace gst_buffer_(make|is)_metadata_writable patch now
18151           that the release is out.
18152
18153 2006-01-17  Andy Wingo  <wingo@pobox.com>
18154
18155         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18156         in the present tense without reference to versions.
18157
18158         * gst/gstregistry.c (gst_registry_add_plugin)
18159         (gst_registry_remove_plugin, gst_registry_remove_feature)
18160         (gst_registry_find_feature, gst_registry_get_feature_list)
18161         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18162         (gst_registry_lookup, gst_registry_scan_path)
18163         (_gst_registry_remove_cache_plugins)
18164         (gst_registry_get_feature_list_by_plugin): Add argument
18165         validation.
18166
18167 === release 0.10.2 ===
18168
18169 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18170
18171         * configure.ac:
18172           releasing 0.10.2, "If man is five"
18173
18174 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18175
18176         * gst/gstbuffer.c:
18177         * gst/gstbuffer.h:
18178         * libs/gst/base/gstbasetransform.c:
18179         (gst_base_transform_prepare_output_buf):
18180         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18181         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18182           Back out patch until after the release.
18183
18184 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18185
18186         * gst/gstminiobject.c:
18187           Spelling fix in docs.
18188         * ChangeLog - remove conflict indicator
18189
18190 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18191
18192         Reviewed By: Andy Wingo
18193
18194         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18195         (gst_buffer_make_metadata_writable):
18196         * gst/gstbuffer.h:
18197           Add gst_buffer_(is|make)_metadata_writable as analogues of
18198           gst_buffer_(is|make)_writable.
18199
18200         * libs/gst/base/gstbasetransform.c:
18201         (gst_base_transform_prepare_output_buf):
18202         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18203           Use name gst_buffer_(is|make)_metadata_writable functions.
18204
18205         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18206           Test gst_buffer_(is|make)_metadata_writable
18207         
18208           (Closes: #324162)
18209
18210 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18211
18212         * docs/manual/Makefile.am:
18213           don't do parallel make
18214         * configure.ac:
18215           AC_SUBST HOST_CPU
18216         * win32/common/config.h.in:
18217           add generations for HOST_CPU and GST_MAJORMINOR
18218         * win32/common/config.h:
18219           commit generated result
18220
18221 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18222
18223         * docs/manual/appendix-integration.xml:
18224           Update GNOME integration section to use gst_init_get_option_group()
18225           instead of the old popt stuff (#322911). Also, GNOME applications
18226           should  now use gconf*sink and gconf*src instead of the old gconf
18227           helper lib we had.
18228
18229 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18230
18231
18232         * docs/gst/gstreamer-docs.sgml:
18233         * docs/gst/gstreamer-sections.txt:
18234         * docs/libs/gstreamer-libs-sections.txt:
18235           add new API entries to the docs
18236         * libs/gst/controller/Makefile.am:
18237         * libs/gst/controller/gstcontroller.c:
18238         * libs/gst/controller/gstcontroller.h:
18239         * libs/gst/controller/gstcontrollerprivate.h:
18240         * libs/gst/controller/gsthelper.c:
18241         * libs/gst/controller/gstinterpolation.c:
18242           move private structs to private header
18243         * po/README:
18244           gstreamer-0.7 -> gstreamer-0.10
18245         * tests/check/libs/struct_i386.h:
18246           remove private structs
18247
18248 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18249
18250         * plugins/indexers/Makefile.am:
18251           Fixes as part of #317048
18252
18253 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18254
18255         * plugins/indexers/Makefile.am:
18256           fix #316086 - compilation when mmap is missing
18257
18258 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18259
18260         * libs/gst/base/gstbasesink.c:
18261           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18262           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18263         * win32/common/config.h:
18264           added some defines GST_MAJORMINOR and HOST_CPU
18265         * win32/common/libgstbase.def:
18266         * win32/common/libgstreamer.def:
18267           added some exported functions.
18268
18269 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18270
18271         * libs/gst/controller/gstcontroller.c:
18272         (gst_controlled_property_set_interpolation_mode),
18273         (gst_controlled_property_new):
18274         * libs/gst/controller/gstcontroller.h:
18275         * libs/gst/controller/gstinterpolation.c:
18276         (interpolate_none_get_string_value_array):
18277           make G_TYPE_STRING controlable
18278
18279 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18280
18281         * tools/README:
18282         * tools/gst-feedback.1.in:
18283         * tools/gst-inspect.1.in:
18284         * tools/gst-launch.1.in:
18285         * tools/gst-md5sum.1.in:
18286         * tools/gst-typefind.1.in:
18287         * tools/gst-xmlinspect.1.in:
18288         * tools/gst-xmllaunch.1.in:
18289           cleanup man-pages, remove reference to gst-register, document env-vars
18290
18291 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18292
18293         * gst/gstbuffer.c: (gst_buffer_span):
18294           gst_buffer_span should copy the timestamp of the first buffer
18295           if they were both originally overlapping subbuffers of the 
18296           same parent, using the same logic as the 'slow copy' case.
18297
18298 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18299
18300         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18301           Need to awaken ALL the pads when we pop a buffer, otherwise
18302           collectpads only works when there is 2 input streams.
18303
18304 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18305
18306         * docs/random/ensonic/media-device-daemon.txt:
18307           more ideas (dbus)
18308         * gst/gstbuffer.c:
18309           fix doc example, add clarification
18310         * tools/gst-launch.1.in:
18311           add initial info about GST_PLUGIN_PATH, needs more work
18312
18313 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18314
18315         * docs/manual/basics-bins.xml:
18316         * docs/manual/basics-elements.xml:
18317         * docs/manual/intro-basics.xml:
18318           Some more minor docs additions and updates.
18319
18320 2006-01-11  Wim Taymans  <wim@fluendo.com>
18321
18322         * docs/manual/basics-bins.xml:
18323         * docs/manual/basics-elements.xml:
18324         Some small fixes as pointed out by Ser-ver on IRC.
18325
18326 2006-01-10  Edward Hervey  <edward@fluendo.com>
18327
18328         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18329         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18330         the single-segment mode.
18331
18332 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18333
18334         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18335
18336         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18337         (gst_base_src_perform_seek), (gst_base_src_send_event),
18338         (gst_base_src_set_property), (gst_base_src_get_property),
18339         (gst_base_src_loop), (gst_base_src_start),
18340         (gst_base_src_activate_push):
18341         * libs/gst/base/gstbasesrc.h:
18342           Name (private) union; makes Sun's Forte compiler happy (#324900).
18343
18344 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18345
18346         * README:
18347           gst-register is gone.
18348
18349 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18350
18351         * gst/gstvalue.c: (_gst_value_initialize):
18352           make the G_TYPE_DATE instantiation work if debug is disabled
18353
18354 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18355
18356         * gst/gstmessage.c: (gst_message_parse_tag),
18357         (gst_message_parse_error), (gst_message_parse_warning):
18358           Don't crash when return location for error/warning debug
18359           string is NULL; add fact that return locations can be
18360           NULL to docs where appropriate.
18361
18362 2006-01-05  Wim Taymans  <wim@fluendo.com>
18363
18364         * gst/gstplugin.c: (gst_plugin_load_file):
18365         Replace strdup by g_strdup.
18366
18367 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18368
18369         * docs/pwg/advanced-types.xml:
18370           fix doc borkage
18371
18372 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18373
18374         submitted by: Abel Cheung
18375
18376         * po/LINGUAS:
18377         * po/zh_TW.po:
18378           Added Chinese (traditional) translation
18379
18380 2006-01-04  Wim Taymans  <wim@fluendo.com>
18381
18382         * docs/manual/basics-pads.xml:
18383         * docs/plugins/Makefile.am:
18384         * docs/plugins/gstreamer-plugins-docs.sgml:
18385         * docs/plugins/gstreamer-plugins-sections.txt:
18386         * docs/pwg/advanced-clock.xml:
18387         * docs/pwg/advanced-scheduling.xml:
18388         * docs/pwg/advanced-types.xml:
18389         * plugins/elements/gstfdsink.c:
18390         * plugins/elements/gstfdsrc.c:
18391         * plugins/elements/gstfdsrc.h:
18392         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18393         * plugins/elements/gstidentity.h:
18394         * plugins/elements/gstqueue.h:
18395         * plugins/elements/gsttee.c:
18396         * plugins/elements/gsttee.h:
18397         * plugins/elements/gsttypefindelement.c:
18398         (gst_type_find_element_class_init):
18399         * plugins/elements/gsttypefindelement.h:
18400         Small updates to various docs.
18401         Added core plugins to docs.
18402
18403 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18404
18405         * common/gst.supp:
18406           add a suppression for liboil's uninitialized variable
18407
18408 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18409
18410         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18411
18412         * gst/gstutils.h:
18413           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18414           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18415           compiler switch is being used (#325429).
18416
18417 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18418
18419         * gst/gstbin.c: (gst_bin_query):
18420           Disable duration query caching in bins until it gets
18421           fixed (see #324807).
18422
18423 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18424
18425         * tools/gst-inspect.c: (print_element_properties_info):
18426           Handle properties of POINTER and BOXED type.
18427
18428 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18429
18430         * gst/gst.c: (init_post):
18431           Init tags stuff and some other things before loading
18432           any static plugins (there may be other static plugins
18433           than just the GStreamer ones, and they may want to
18434           register their own tags or formats or whatever, and
18435           preferably without segfaulting).
18436
18437         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18438           Print at least a warning in the debug logs if we drop a
18439           query just because we don't know how to adjust the value
18440           in the particular format.
18441
18442 2005-12-24  David Schleef  <ds@schleef.org>
18443
18444         * tools/gstreamer-completion:
18445           Replacement for gst-complete written in sh and sed.  Only
18446           completes names of features, but that's 90% of what I want
18447           it for.  Properties are not available in registry.xml.  (Maybe
18448           they should be...)
18449
18450 === release 0.10.1 ===
18451
18452 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18453
18454         * configure.ac:
18455           releasing 0.10.1, "Nollaig chridheil"
18456
18457 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18458
18459         * docs/faq/cvs.xml:
18460           Add missing quote, should be make ERROR_CFLAGS="".
18461
18462 2005-12-20  Wim Taymans  <wim@fluendo.com>
18463
18464         * docs/design/part-trickmodes.txt:
18465         More documentation on trickmodes.
18466
18467 2005-12-20  Edward Hervey  <edward@fluendo.com>
18468
18469         * gst/gstcaps.c: (gst_static_caps_get_type):
18470         * gst/gstcaps.h:
18471           API addition: GST_TYPE_STATIC_CAPS
18472         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18473         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18474         * gst/gstpadtemplate.h:
18475           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18476         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18477         bindings.
18478
18479 2005-12-18  Wim Taymans  <wim@fluendo.com>
18480
18481         * libs/gst/base/gstadapter.c:
18482         * libs/gst/base/gstadapter.h:
18483         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18484         (gst_base_sink_get_position):
18485         * libs/gst/base/gstbasesink.h:
18486         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18487         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18488         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18489         (gst_base_src_send_event), (gst_base_src_update_length),
18490         (gst_base_src_get_range), (gst_base_src_loop),
18491         (gst_base_src_start):
18492         * libs/gst/base/gstbasesrc.h:
18493         * libs/gst/base/gstbasetransform.h:
18494         * libs/gst/base/gstcollectpads.h:
18495         * libs/gst/base/gstpushsrc.c:
18496         * libs/gst/base/gstpushsrc.h:
18497         * libs/gst/dataprotocol/dataprotocol.c:
18498         * libs/gst/dataprotocol/dataprotocol.h:
18499         * libs/gst/net/gstnetclientclock.h:
18500         * libs/gst/net/gstnettimeprovider.h:
18501         Documentation updates.
18502
18503 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18504
18505         * docs/manual/basics-helloworld.xml:
18506           Remove superfluous closing bracket in helloworld example.
18507
18508 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18509
18510         * tools/gst-launch.1.in:
18511           Update gst-launch man page; add a section with useful
18512           environment variables. Fixes #323882.
18513
18514 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18515
18516         * gst/gst.c:
18517         * gst/gst_private.h:
18518           change some char* into char[]
18519
18520 2005-12-16  Wim Taymans  <wim@fluendo.com>
18521
18522         * gst/gstregistryxml.c: (load_feature):
18523         Cleanups.
18524         Don't use g_object_unref on GstObjects so that we avoid
18525         leaks on unsafe glibs.
18526
18527 2005-12-16  Wim Taymans  <wim@fluendo.com>
18528
18529         * gst/gstbin.c: (gst_bin_recalc_state):
18530         Small doc updates.
18531
18532 2005-12-16  Wim Taymans  <wim@fluendo.com>
18533
18534         * common/check.mak:
18535         Added make forever target for check.
18536
18537 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18538
18539         * gst/gst.c: (init_post):
18540           make the registry cache file HOST_CPU-dependent
18541
18542 2005-12-16  Andy Wingo  <wingo@pobox.com>
18543
18544         * plugins/elements/gstbufferstore.c
18545         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18546         return value.
18547
18548         * tests/check/gst/gstobject.c
18549         (test_fake_object_name_threaded_unique): Pay attention to
18550         g_list_sort return value.
18551
18552 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18553
18554         * tools/gst-feedback-m.m:
18555           Update for 0.9/0.10 (fixes #323870).
18556
18557 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18558
18559         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18560           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18561           
18562         * tests/check/gst/gstminiobject.c: (my_foo_init),
18563         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18564         (test_value_collection), (gst_mini_object_suite):
18565           Add test to ensure refcounts end up as expected when passing
18566           GstMiniObjects through g_object_get() and g_object_set().
18567
18568 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18569
18570         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18571         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18572         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18573         of collectpads. This version removes a lot of races without
18574         touching API/ABI. Yay !
18575
18576 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18577
18578         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18579           Don't allow activation of a srcpad in pull_range if it has no
18580           getrange function.
18581           Change some debug statements to be a little clearer
18582
18583         * plugins/elements/gsttypefindelement.c:
18584         (gst_type_find_handle_src_query):
18585           Check that we have a peer before executing queries thereupon.
18586
18587         * tests/examples/metadata/read-metadata.c: (message_loop):
18588           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18589           immediately return us any available message with 0 timeout.
18590
18591 2005-12-12  Michael Smith  <msmith@fluendo.com>
18592
18593         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18594           Don't unref factories after calling them.
18595         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18596         * plugins/elements/gsttypefindelement.c:
18597         (gst_type_find_element_chain):
18598           Free lists of factories after using them. Fixing typefinding memory
18599           leaks.
18600
18601 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18602
18603         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18604         (gst_plugin_feature_load):
18605           more meaningful debug output
18606         * configure.ac:
18607         * tests/Makefile.am:
18608         * tests/old/examples/Makefile.am:
18609           make make distcheck happy again
18610
18611 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18612
18613         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18614           Catch the special case where we are operating chain-based,
18615           but the downstream peer pad has no chain function. Emit a
18616           custom error message in this case instead of letting the
18617           core generate one implying that this is some sort of core
18618           bug. It's not, it just means that whatever got plugged
18619           into the pipeline downstream when we announced the type
18620           can only operate pull-based, while our source can only
18621           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18622           Error string has not been marked for translation yet, as
18623           it probably needs some more work first.
18624
18625         (gst_type_find_element_get_best_possibility):
18626           Add helper function to find the best of all available
18627           found possibilities that qualify given the min. threshold.
18628
18629         (gst_type_find_element_handle_event):
18630           Fix the case where we get an EOS while still in TYPEFIND
18631           mode (we want to chose the best of all possible types,
18632           not just the first type that happens to be in our unsorted
18633           list of possible types).
18634
18635         (gst_type_find_element_chain):
18636           Make sure we return GST_FLOW_ERROR when we errored out
18637           in stop_typefinding(); also, don't just find the best of
18638           all found type entries and then use the last examined
18639           type entry, but actually use the best entry.
18640
18641 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18642
18643         * tests/examples/typefind/typefind.c: (type_found):
18644         * tests/examples/xml/runxml.c: (xml_loaded):
18645           More gcc4 fixes and a mem leak fix.
18646
18647 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18648
18649         * tests/examples/xml/createxml.c: (object_saved):
18650           gcc 4 fixes
18651
18652 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18653
18654         * tests/Makefile.am:
18655           enable the examples even more
18656
18657 2005-12-12  Andy Wingo  <wingo@pobox.com>
18658
18659         * libs/gst/net/gstnettimeprovider.c
18660         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18661         (gst_net_time_provider_set_property)
18662         (gst_net_time_provider_get_property):
18663         API addition: Export "active" as a GObject property.
18664         (gst_net_time_provider_thread): Only respond to time queries if
18665         the time provider is active.
18666
18667         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18668         NetTimeProvider, preserving binary compat.
18669
18670 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18671
18672         * tests/examples/controller/audio-example.c: (main):
18673         * tests/examples/launch/Makefile.am:
18674           convert comments again
18675
18676 2005-12-12  Wim Taymans  <wim@fluendo.com>
18677
18678         * libs/gst/base/gstpushsrc.c:
18679         Fix typo.
18680
18681 2005-12-12  Wim Taymans  <wim@fluendo.com>
18682
18683         * docs/libs/gstreamer-libs-sections.txt:
18684         Added new symbol to docs.
18685
18686         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18687         (gst_base_src_init), (gst_base_src_set_format),
18688         (gst_base_src_default_query), (gst_base_src_query),
18689         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18690         (gst_base_src_perform_seek), (gst_base_src_send_event),
18691         (gst_base_src_default_event), (gst_base_src_event_handler),
18692         (gst_base_src_set_property), (gst_base_src_get_property),
18693         (gst_base_src_wait), (gst_base_src_do_sync),
18694         (gst_base_src_update_length), (gst_base_src_get_range),
18695         (gst_base_src_check_get_range), (gst_base_src_loop),
18696         (gst_base_src_default_negotiate), (gst_base_src_start),
18697         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18698         (gst_base_src_change_state):
18699         * libs/gst/base/gstbasesrc.h:
18700         Implement seeking to other formats than _BYTES.
18701         Implement more seeking methods correctly.
18702         Doc updates.
18703         Added query vmethod.
18704         Added do_seek vmethod to make life easier for subclasses
18705         when seeking.
18706         API addition: gst_base_src_set_format()
18707
18708 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18709
18710         * tests/examples/Makefile.am:
18711           added that too
18712
18713 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18714
18715         * configure.ac:
18716         * docs/random/ensonic/media-device-daemon.txt:
18717         * tests/examples/controller/.cvsignore:
18718         * tests/examples/controller/Makefile.am:
18719         * tests/examples/controller/audio-example.c: (main):
18720         * tests/examples/helloworld/.cvsignore:
18721         * tests/examples/helloworld/Makefile.am:
18722         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18723         * tests/examples/launch/.cvsignore:
18724         * tests/examples/launch/Makefile.am:
18725         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18726         * tests/examples/metadata/.cvsignore:
18727         * tests/examples/metadata/Makefile.am:
18728         * tests/examples/metadata/read-metadata.c: (message_loop),
18729         (make_pipeline), (print_tag), (main):
18730         * tests/examples/queue/.cvsignore:
18731         * tests/examples/queue/Makefile.am:
18732         * tests/examples/queue/queue.c: (event_loop), (main):
18733         * tests/examples/typefind/.cvsignore:
18734         * tests/examples/typefind/Makefile.am:
18735         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18736         (main):
18737         * tests/examples/xml/.cvsignore:
18738         * tests/examples/xml/Makefile.am:
18739         * tests/examples/xml/createxml.c: (object_saved), (main):
18740         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18741         * tests/old/examples/Makefile.am:
18742         * tests/old/examples/TODO:
18743         * tests/old/examples/controller/.cvsignore:
18744         * tests/old/examples/controller/Makefile.am:
18745         * tests/old/examples/controller/audio-example.c:
18746         * tests/old/examples/helloworld/.cvsignore:
18747         * tests/old/examples/helloworld/Makefile.am:
18748         * tests/old/examples/helloworld/helloworld.c:
18749         * tests/old/examples/launch/.cvsignore:
18750         * tests/old/examples/launch/Makefile.am:
18751         * tests/old/examples/launch/mp3parselaunch.c:
18752         * tests/old/examples/launch/mp3play:
18753         * tests/old/examples/manual/Makefile.am:
18754         * tests/old/examples/metadata/Makefile.am:
18755         * tests/old/examples/metadata/read-metadata.c:
18756         * tests/old/examples/queue/.cvsignore:
18757         * tests/old/examples/queue/Makefile.am:
18758         * tests/old/examples/queue/queue.c:
18759         * tests/old/examples/typefind/.cvsignore:
18760         * tests/old/examples/typefind/Makefile.am:
18761         * tests/old/examples/typefind/typefind.c:
18762         * tests/old/examples/xml/.cvsignore:
18763         * tests/old/examples/xml/Makefile.am:
18764         * tests/old/examples/xml/createxml.c:
18765         * tests/old/examples/xml/runxml.c:
18766           applied some simple fixing to some examples
18767           re-enabled the working examples
18768
18769 2005-12-12  Wim Taymans  <wim@fluendo.com>
18770
18771         * gst/gstsegment.c: (gst_segment_init),
18772         (gst_segment_set_last_stop), (gst_segment_set_seek),
18773         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18774         (gst_segment_to_running_time):
18775         Added more documentation.
18776         Make sure the last_pos value is updated properly.
18777         Make sure to_stream_time and to_running_time don't
18778         operate on wrong values.
18779
18780         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18781         Update check.
18782
18783 2005-12-12  Michael Smith  <msmith@fluendo.com>
18784
18785         * plugins/elements/gsttypefindelement.c: (free_entry),
18786         (gst_type_find_element_chain):
18787           Now that we're not leaking factories, make sure we keep references
18788           to them while we need them.
18789
18790 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18791
18792         * tests/check/gst/struct_i386.h:
18793           ifdef out the XML structs
18794
18795 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18796
18797         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18798           floor is not needed, F is always positive; this obviates the
18799           need for adding -lm when building without libxml
18800
18801 2005-12-12  Wim Taymans  <wim@fluendo.com>
18802
18803         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18804         Take current playback rate into account when reporting
18805         the position.
18806
18807 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18808
18809         * docs/manual/mime-world.fig:
18810           Let's try this again, this time with a file that is
18811           actually in XFig format.
18812
18813 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18814
18815         * docs/manual/mime-world.fig:
18816           Add audioconvert element to diagram so that it
18817           matches the text and the code (fixes #319526).
18818
18819 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18820
18821         * docs/pwg/building-chainfn.xml:
18822         * docs/pwg/building-pads.xml:
18823         * docs/pwg/building-state.xml:
18824         * docs/pwg/other-source.xml:
18825           Update state change stuff for 0.10 (fixes #322969).
18826
18827 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18828
18829         * docs/manual/advanced-dataaccess.xml:
18830         * docs/manual/appendix-checklist.xml:
18831         * docs/manual/appendix-programs.xml:
18832         * docs/manual/basics-pads.xml:
18833         * docs/manual/highlevel-components.xml:
18834         * docs/manual/manual.xml:
18835           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18836           add converters in front of pipelines; remove curly
18837           brackets for threads stuff, they no longer exist; use
18838           GST_TYPE_FRACTION for framerates; update some pieces of
18839           code to 0.10, but there's plenty more to do.
18840
18841         * docs/manual/appendix-porting.xml:
18842           Expand on asynchroneous state changes; s/0.9/0.10/;
18843           mention disappearance of gst_init_get_popt_table()
18844           (fixes #322916).
18845
18846 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18847
18848         * docs/faq/using.xml:
18849           Spider no longer exists, and neither does gst-launch-ext.
18850           Update examples to use decodebin and playbin and put
18851           converters in front of sinks (fixes #323726).
18852
18853 2005-12-09  Michael Smith  <msmith@fluendo.com>
18854
18855         * plugins/elements/gsttypefindelement.c: (find_peek),
18856         (gst_type_find_element_chain):
18857           Fix leaking element factories in typefinding.
18858           Fix problem where we forgot about a probable type on non-seekable
18859           files, and thus later mis-typefound it.
18860
18861 2005-12-09  Michael Smith  <msmith@fluendo.com>
18862
18863         * common/m4/gst-makecontext.m4:
18864         * common/m4/gst-mcsc.m4:
18865         * configure.ac:
18866         * win32/common/config.h:
18867         * win32/common/config.h.in:
18868           Remove makecontext stuff; not used in 0.10 and causes problems on
18869           HPUX according to bug #322441
18870
18871 2005-12-07  Wim Taymans  <wim@fluendo.com>
18872
18873         * tests/check/Makefile.am:
18874         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18875         (main):
18876         * tests/check/libs/struct_i386.h:
18877         Added ABI check for libs
18878
18879 2005-12-07  Wim Taymans  <wim@fluendo.com>
18880
18881         * tests/check/Makefile.am:
18882         And add the struct_i386.h to dist.
18883
18884 2005-12-07  Wim Taymans  <wim@fluendo.com>
18885
18886         * tests/check/Makefile.am:
18887         * tests/check/gst/.cvsignore:
18888         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18889         (main):
18890         * tests/check/gst/struct_i386.h:
18891         Added check for ABI compatibility.
18892
18893 2005-12-07  Wim Taymans  <wim@fluendo.com>
18894
18895         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18896         (gst_fake_src_get_times), (gst_fake_src_create):
18897         Fix broken sync option, fixes #323259
18898
18899 2005-12-07  Wim Taymans  <wim@fluendo.com>
18900
18901         * gst/gstbuffer.c:
18902         Small docs update.
18903
18904         * gst/gstcaps.c: (gst_caps_is_equal):
18905         Don't assert on NULL <--> X. Fixes #323260
18906
18907         * gst/gstminiobject.c: (gst_mini_object_replace):
18908         If we're doing atomic operations, we might just as well use
18909         the proper way to get an atomic pointer.
18910
18911         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18912         Clean up debugging.
18913
18914 2005-12-07  Michael Smith  <msmith@fluendo.com>
18915
18916         * gst/parse/grammar.y:
18917           Remove handling of { } for threads.
18918
18919 2005-12-06  David Schleef  <ds@schleef.org>
18920
18921         * libs/gst/base/gstbasetransform.c: speling fix.
18922
18923 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18924
18925         * docs/libs/tmpl/gstdataprotocol.sgml:
18926         * docs/random/omega/testing/gstobject.c:
18927         * gst/gst.c:
18928         * gst/gstclock.c:
18929         * gst/gstelement.c:
18930         * gst/gstelementfactory.c:
18931         * gst/gsterror.c:
18932         * gst/gstevent.c:
18933         * gst/gstghostpad.c:
18934         * gst/gstinfo.c:
18935         * gst/gstpadtemplate.c:
18936         * gst/gstregistryxml.c:
18937         * gst/gsttaglist.c:
18938         * gst/gsttagsetter.c:
18939         * gst/gsttypefind.c:
18940         * gst/gstvalue.c:
18941         * libs/gst/base/gstbasesrc.c:
18942         * libs/gst/net/gstnetclientclock.c:
18943         * libs/gst/net/gstnettimeprovider.c:
18944         * plugins/elements/gstfakesrc.c:
18945         * plugins/elements/gstfdsrc.c:
18946         * plugins/elements/gstfilesrc.c:
18947         * plugins/elements/gstidentity.c:
18948         * plugins/elements/gstqueue.c:
18949         * plugins/elements/gsttypefindelement.c:
18950         * plugins/indexers/gstfileindex.c:
18951         * plugins/indexers/gstmemindex.c:
18952         * tests/check/gst/gsttag.c:
18953         * tests/old/examples/cutter/cutter.c:
18954         * tests/old/examples/mixer/mixer.c:
18955         * tests/old/examples/xml/runxml.c: (main):
18956         * tests/old/testsuite/caps/normalisation.c:
18957         * tests/old/testsuite/debug/global.c:
18958         * tests/old/testsuite/parse/parse1.c:
18959         * tools/gst-xmlinspect.c:
18960         * win32/common/dirent.c:
18961           expand tabs
18962
18963 === release 0.10.0 ===
18964
18965 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18966
18967         * configure.ac:
18968           releasing 0.10.0, "Maroilles"
18969
18970 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18971
18972         submitted by: Funda Wang <fundawang@linux.net.cn>
18973
18974         * po/LINGUAS:
18975         * po/zh_CN.po:
18976           added Chinese (Traditional) translation
18977
18978 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18979
18980         * docs/gst/gstreamer-sections.txt:
18981         * docs/libs/tmpl/gstdataprotocol.sgml:
18982         * docs/random/thomasvs/TODO:
18983         * gst/gstutils.c:
18984         * gst/gstutils.h:
18985           fix docs
18986
18987 2005-12-05  Andy Wingo  <wingo@pobox.com>
18988
18989         patch by: Wim Taymans <wim@fluendo.com>
18990
18991         * libs/gst/base/gstbasetransform.c
18992         (gst_base_transform_prepare_output_buf)
18993         (gst_base_transform_buffer_alloc):
18994         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18995         alloc_buffer_and_set_caps.
18996
18997         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18998         set_caps on the source pad.
18999         (gst_pad_alloc_buffer_and_set_caps): New function, does what
19000         alloc_buffer used to do. Fixes #322874.
19001
19002         * docs/gst/gstreamer-sections.txt: 
19003         * docs/design/part-negotiation.txt: 
19004         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19005         changes.
19006
19007 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19008
19009         patch by: Sebastien Moutte
19010
19011         * win32/MANIFEST:
19012         * win32/common/config.h.in:
19013         * win32/vs6/libgstcontroller.dsp:
19014           win32 build fixes
19015
19016 2005-12-05  Wim Taymans  <wim@fluendo.com>
19017
19018         * gst/gstcaps.c: (gst_caps_is_equal):
19019         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19020         (gst_fake_src_create):
19021         Back out previous code changes, leave doc updates, file bugs 
19022         instead. 
19023
19024 2005-12-05  Wim Taymans  <wim@fluendo.com>
19025
19026         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19027         (gst_fake_src_get_times), (gst_fake_src_create):
19028         * plugins/elements/gstfakesrc.h:
19029         Fix broken sync code.
19030
19031 2005-12-05  Wim Taymans  <wim@fluendo.com>
19032
19033         * gst/gstcaps.c: (gst_caps_is_equal):
19034         Comparing NULL against !NULL yields different caps, not a
19035         failure.
19036
19037 2005-12-05  Wim Taymans  <wim@fluendo.com>
19038
19039         * gst/gstpipeline.c:
19040         Fix small typo in docs.
19041
19042 2005-12-05  Andy Wingo  <wingo@pobox.com>
19043
19044         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19045
19046         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19047         registries/plugins with a MAJORMINOR one.
19048         (plugin_desc): Rename library from gstcoreleements to
19049         staticelements. Fixes #323222.
19050
19051 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19052
19053         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19054           Change debug category to 'collectpads' from 'collect_pads'
19055           (fixes #323250).
19056
19057 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19058
19059         patch by: Sebastien Moutte
19060
19061         * libs/gst/controller/gstinterpolation.c:
19062           use convert function for uint64/double
19063         * win32/vs6/libgstcontroller.dsp:
19064           link to GLib
19065
19066 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19067
19068         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19069         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19070         * gst/gstutils.h:
19071         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19072           add tests that seem to show that the guint64/gdouble conversions
19073           are correct.
19074
19075 2005-12-02  Wim Taymans  <wim@fluendo.com>
19076
19077         * gst/gstregistry.c: (gst_registry_add_path):
19078         * gst/gstregistry.h:
19079         * gst/gstregistryxml.c:
19080         Fix docs again.
19081
19082 2005-12-02  Wim Taymans  <wim@fluendo.com>
19083
19084         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19085         (gst_util_uint64_scale_int):
19086         Small cleanup.
19087
19088         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19089         Add debug log line.
19090
19091         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19092         Add FIXME.
19093
19094 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19095
19096         * win32/MANIFEST:
19097         * win32/common/config.h:
19098         * win32/vs6/gstreamer.dsw:
19099         * win32/vs6/libgstcoreelements.dsp:
19100         * win32/vs6/libgstelements.dsp:
19101           renamed core elements plugin
19102
19103 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19104
19105         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19106         (get_candidates):
19107           do piece-wise major/minor comparison so 0.9 < 0.10
19108           also allow .exe extensions for tools
19109
19110 2005-12-02  Michael Smith  <msmith@fluendo.com>
19111
19112         * gst/gst.c:
19113           Escape a % to make gtkdoc happier; bug 322958.
19114
19115 === release 0.9.7 ===
19116
19117 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19118
19119         * configure.ac:
19120           releasing 0.9.7, "My Dog Has No Nose"
19121
19122 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19123
19124         * common/gst-xmlinspect.py:
19125         * configure.ac:
19126         * docs/libs/tmpl/gstdataprotocol.sgml:
19127         * docs/random/release:
19128         * po/af.po:
19129         * po/az.po:
19130         * po/bg.po:
19131         * po/ca.po:
19132         * po/cs.po:
19133         * po/de.po:
19134         * po/en_GB.po:
19135         * po/fr.po:
19136         * po/it.po:
19137         * po/nb.po:
19138         * po/nl.po:
19139         * po/ru.po:
19140         * po/sq.po:
19141         * po/sr.po:
19142         * po/sv.po:
19143         * po/tr.po:
19144         * po/uk.po:
19145         * po/vi.po:
19146         * win32/common/config.h:
19147         * win32/common/config.h.in:
19148         * win32/vs6/gst_inspect.dsp:
19149         * win32/vs6/gst_launch.dsp:
19150         * win32/vs6/libgstbase.dsp:
19151         * win32/vs6/libgstelements.dsp:
19152         * win32/vs6/libgstreamer.dsp:
19153         * win32/vs7/GStreamer.vcproj:
19154         * win32/vs7/gst-inspect.vcproj:
19155         * win32/vs7/gst-launch.vcproj:
19156         * win32/vs7/libgstbase.vcproj:
19157           bump GST_MAJORMINOR to 0.10
19158           reset libtool version
19159
19160 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19161
19162         * po/LINGUAS:
19163         * po/bg.po:
19164           Added Bulgarian translation by (Alexander Shopov)
19165
19166 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19167
19168         * tests/check/gst/gstplugin.c:
19169           fix test
19170
19171 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19172
19173         * common/gst-xmlinspect.py:
19174         * common/gtk-doc-plugins.mak:
19175         * configure.ac:
19176         * docs/Makefile.am:
19177         * docs/gst/Makefile.am:
19178         * docs/gst/gstreamer-docs.sgml:
19179         * docs/gst/gstreamer-sections.txt:
19180         * docs/gst/gstreamer.types:
19181         * docs/gst/gstreamer.types.in:
19182         * docs/plugins/Makefile.am:
19183         * docs/plugins/gstreamer-plugins-docs.sgml:
19184         * docs/plugins/gstreamer-plugins-sections.txt:
19185         * docs/plugins/gstreamer-plugins.types:
19186         * docs/plugins/inspect.stamp:
19187         * docs/plugins/inspect/plugin-coreelements.xml:
19188         * docs/plugins/inspect/plugin-coreindexers.xml:
19189         * docs/plugins/scanobj-build.stamp:
19190         * gstreamer.spec.in:
19191         * plugins/elements/Makefile.am:
19192         * plugins/elements/gstelements.c:
19193         * plugins/elements/gstfakesink.c:
19194         * plugins/elements/gstfakesrc.c:
19195         * plugins/elements/gstfilesink.c:
19196         * plugins/elements/gstfilesrc.c:
19197         * plugins/elements/gstqueue.c:
19198         * plugins/indexers/Makefile.am:
19199         * plugins/indexers/gstindexers.c:
19200           document core plugins in a separate document just like all the
19201           others
19202           rename these plugins to something starting with core
19203
19204 2005-12-01  Andy Wingo  <wingo@pobox.com>
19205
19206         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19207         padding here before, but it missed the commit.
19208
19209 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19210
19211         * libs/gst/controller/gstinterpolation.c:
19212           whitespace prices have crashed, we should feel free to use some now
19213           use gst_guint64_to_gdouble
19214
19215 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19216
19217         * libs/gst/controller/gstcontroller.c:
19218         * libs/gst/controller/gsthelper.c:
19219         * libs/gst/controller/gstinterpolation.c:
19220         * libs/gst/controller/lib.c:
19221           wrap config.h include
19222
19223 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19224
19225         * docs/gst/gstreamer-sections.txt:
19226           update docs
19227
19228 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19229
19230         * plugins/elements/gstelements.c:
19231         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19232         (gst_fd_sink__class_init), (gst_fd_sink__init),
19233         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19234         (gst_fd_sink__get_property):
19235         * plugins/elements/gstfdsink.h:
19236         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19237         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19238         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19239         (gst_fd_src_unlock), (gst_fd_src_set_property),
19240         (gst_fd_src_get_property), (gst_fd_src_create),
19241         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19242         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19243         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19244         (gst_fd_src_uri_handler_init):
19245         * plugins/elements/gstfdsrc.h:
19246         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19247           more anal cleanup
19248
19249 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19250
19251         * docs/gst/Makefile.am:
19252         * docs/gst/gstreamer.types.in:
19253         * gst/Makefile.am:
19254           fix the docs build
19255
19256 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19257
19258         * configure.ac:
19259         * gst/Makefile.am:
19260         * gst/gst.c:
19261         * gst/gstplugin.h:
19262         * gst/gstregistry.h:
19263         * tests/benchmarks/complexity.c:
19264         * tests/benchmarks/mass-elements.c:
19265         * tests/check/Makefile.am:
19266         * tools/Makefile.am:
19267         * tools/gst-inspect.c:
19268         * tools/gst-xmlinspect.c:
19269           various fixes to make
19270           --disable-nls --disable-registry --disable-loadsave
19271           --disable-parse --disable-gst-debug
19272           work and get the core .so down to 360444 bytes after stripping
19273
19274 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19275
19276         * Makefile.am:
19277         * configure.ac:
19278           descend into tests
19279         * docs/random/thomasvs/TODO:
19280         * tests/Makefile.am:
19281         * tests/README:
19282           add a README
19283
19284 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19285
19286         * win32/GStreamer.vcproj:
19287         * win32/MANIFEST:
19288         * win32/Makefile:
19289         * win32/Makefile.inspect:
19290         * win32/Makefile.launch:
19291         * win32/Makefile.register:
19292         * win32/README.txt:
19293         * win32/gst-inspect.vcproj:
19294         * win32/gst-launch.vcproj:
19295         * win32/gst-register.vcproj:
19296         * win32/gstelements.vcproj:
19297         * win32/gstgetbits.def:
19298         * win32/gstgetbits.vcproj:
19299         * win32/gstreamer-dbg.def:
19300         * win32/gstreamer.def:
19301         * win32/libgstbase.def:
19302         * win32/libgstbase.vcproj:
19303         * win32/link_oldruntime.c:
19304         * win32/mman.c:
19305         * win32/mman.h:
19306         * win32/mman.inl:
19307         * win32/msvc71.sln:
19308           move even more stuff, win32/ is nice and clean now
19309
19310 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19311
19312         * libs/gst/control/.cvsignore:
19313         * win32/MANIFEST:
19314         * win32/config.h:
19315         * win32/dirent.c:
19316         * win32/dirent.h:
19317         * win32/gstbytestream.def:
19318         * win32/gstbytestream.vcproj:
19319         * win32/gstconfig.h:
19320         * win32/gstenumtypes.c:
19321         * win32/gstenumtypes.h:
19322         * win32/gstoptimalscheduler.vcproj:
19323         * win32/gstversion.h:
19324         * win32/gtchar.h:
19325         * win32/testsuite/bins.vcproj:
19326         * win32/testsuite/bytestream.vcproj:
19327         * win32/testsuite/caps.vcproj:
19328         * win32/testsuite/cleanup.vcproj:
19329         * win32/testsuite/clock.vcproj:
19330         * win32/testsuite/debug.vcproj:
19331         * win32/testsuite/dlopen.vcproj:
19332         * win32/testsuite/dynparams.vcproj:
19333         * win32/testsuite/elements.vcproj:
19334         * win32/testsuite/ghostpads.vcproj:
19335         * win32/testsuite/indexers.vcproj:
19336         * win32/testsuite/negotiation.vcproj:
19337         * win32/testsuite/parse.vcproj:
19338         * win32/testsuite/plugin.vcproj:
19339         * win32/testsuite/refcounting.vcproj:
19340         * win32/testsuite/schedulers.vcproj:
19341         * win32/testsuite/states.vcproj:
19342         * win32/testsuite/tags.vcproj:
19343         * win32/testsuite/threads.vcproj:
19344           remove old win32 stuff that isn't maintained and should be
19345           reorganized
19346
19347 2005-11-30  Andy Wingo  <wingo@pobox.com>
19348
19349         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19350         loading the gst.interfaces python module bork.
19351
19352         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19353         available since GLib 2.2. Fixes #318031.
19354
19355 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19356
19357         * Makefile.am:
19358         * check/.cvsignore:
19359         * check/Makefile.am:
19360         * check/elements/.cvsignore:
19361         * check/elements/fakesrc.c:
19362         * check/elements/fdsrc.c:
19363         * check/elements/identity.c:
19364         * check/generic/.cvsignore:
19365         * check/generic/states.c:
19366         * check/gst-libs/.cvsignore:
19367         * check/gst-libs/controller.c:
19368         * check/gst-libs/gdp.c:
19369         * check/gst/.cvsignore:
19370         * check/gst/capslist.h:
19371         * check/gst/gst.c:
19372         * check/gst/gstbin.c:
19373         * check/gst/gstbuffer.c:
19374         * check/gst/gstbus.c:
19375         * check/gst/gstcaps.c:
19376         * check/gst/gstelement.c:
19377         * check/gst/gstevent.c:
19378         * check/gst/gstghostpad.c:
19379         * check/gst/gstiterator.c:
19380         * check/gst/gstmessage.c:
19381         * check/gst/gstminiobject.c:
19382         * check/gst/gstobject.c:
19383         * check/gst/gstpad.c:
19384         * check/gst/gstpipeline.c:
19385         * check/gst/gstplugin.c:
19386         * check/gst/gstsegment.c:
19387         * check/gst/gststructure.c:
19388         * check/gst/gstsystemclock.c:
19389         * check/gst/gsttag.c:
19390         * check/gst/gstutils.c:
19391         * check/gst/gstvalue.c:
19392         * check/net/.cvsignore:
19393         * check/net/gstnetclientclock.c:
19394         * check/net/gstnettimeprovider.c:
19395         * check/pipelines/.cvsignore:
19396         * check/pipelines/cleanup.c:
19397         * check/pipelines/simple_launch_lines.c:
19398         * check/pipelines/stress.c:
19399         * check/states/.cvsignore:
19400         * check/states/sinks.c:
19401         * configure.ac:
19402         * examples/Makefile.am:
19403         * examples/appreader/.cvsignore:
19404         * examples/appreader/Makefile.am:
19405         * examples/appreader/appreader.c:
19406         * examples/controller/.cvsignore:
19407         * examples/controller/Makefile.am:
19408         * examples/controller/audio-example.c:
19409         * examples/cutter/.cvsignore:
19410         * examples/cutter/Makefile.am:
19411         * examples/cutter/cutter.c:
19412         * examples/cutter/cutter.h:
19413         * examples/events/Makefile.am:
19414         * examples/events/seek.c:
19415         * examples/helloworld/.cvsignore:
19416         * examples/helloworld/Makefile.am:
19417         * examples/helloworld/helloworld.c:
19418         * examples/helloworld2/.cvsignore:
19419         * examples/helloworld2/Makefile.am:
19420         * examples/helloworld2/helloworld2.c:
19421         * examples/launch/.cvsignore:
19422         * examples/launch/Makefile.am:
19423         * examples/launch/mp3parselaunch.c:
19424         * examples/launch/mp3play:
19425         * examples/manual/.cvsignore:
19426         * examples/manual/Makefile.am:
19427         * examples/manual/extract.pl:
19428         * examples/metadata/Makefile.am:
19429         * examples/metadata/read-metadata.c:
19430         * examples/mixer/.cvsignore:
19431         * examples/mixer/Makefile.am:
19432         * examples/mixer/mixer.c:
19433         * examples/mixer/mixer.h:
19434         * examples/pingpong/.cvsignore:
19435         * examples/pingpong/Makefile.am:
19436         * examples/pingpong/pingpong.c:
19437         * examples/plugins/.cvsignore:
19438         * examples/plugins/Makefile.am:
19439         * examples/plugins/example.c:
19440         * examples/plugins/example.h:
19441         * examples/pwg/.cvsignore:
19442         * examples/pwg/Makefile.am:
19443         * examples/pwg/extract.pl:
19444         * examples/queue/.cvsignore:
19445         * examples/queue/Makefile.am:
19446         * examples/queue/queue.c:
19447         * examples/queue2/.cvsignore:
19448         * examples/queue2/Makefile.am:
19449         * examples/queue2/queue2.c:
19450         * examples/queue3/.cvsignore:
19451         * examples/queue3/Makefile.am:
19452         * examples/queue3/queue3.c:
19453         * examples/queue4/.cvsignore:
19454         * examples/queue4/Makefile.am:
19455         * examples/queue4/queue4.c:
19456         * examples/retag/.cvsignore:
19457         * examples/retag/Makefile.am:
19458         * examples/retag/retag.c:
19459         * examples/retag/transcode.c:
19460         * examples/thread/.cvsignore:
19461         * examples/thread/Makefile.am:
19462         * examples/thread/thread.c:
19463         * examples/typefind/.cvsignore:
19464         * examples/typefind/Makefile.am:
19465         * examples/typefind/typefind.c:
19466         * examples/xml/.cvsignore:
19467         * examples/xml/Makefile.am:
19468         * examples/xml/createxml.c:
19469         * examples/xml/runxml.c:
19470         * tests/Makefile.am:
19471         * tests/check/Makefile.am:
19472         * testsuite/.cvsignore:
19473         * testsuite/Makefile.am:
19474         * testsuite/Rules:
19475         * testsuite/caps/.cvsignore:
19476         * testsuite/caps/Makefile.am:
19477         * testsuite/caps/app_fixate.c:
19478         * testsuite/caps/audioscale.c:
19479         * testsuite/caps/caps.c:
19480         * testsuite/caps/caps.h:
19481         * testsuite/caps/caps_strings:
19482         * testsuite/caps/compatibility.c:
19483         * testsuite/caps/deserialize.c:
19484         * testsuite/caps/enumcaps.c:
19485         * testsuite/caps/eratosthenes.c:
19486         * testsuite/caps/filtercaps.c:
19487         * testsuite/caps/fixed.c:
19488         * testsuite/caps/fraction-convert.c:
19489         * testsuite/caps/fraction-multiply-and-zero.c:
19490         * testsuite/caps/intersect2.c:
19491         * testsuite/caps/intersection.c:
19492         * testsuite/caps/normalisation.c:
19493         * testsuite/caps/random.c:
19494         * testsuite/caps/renegotiate.c:
19495         * testsuite/caps/sets.c:
19496         * testsuite/caps/simplify.c:
19497         * testsuite/caps/string-conversions.c:
19498         * testsuite/caps/structure.c:
19499         * testsuite/caps/subtract.c:
19500         * testsuite/caps/union.c:
19501         * testsuite/debug/.cvsignore:
19502         * testsuite/debug/Makefile.am:
19503         * testsuite/debug/category.c:
19504         * testsuite/debug/commandline.c:
19505         * testsuite/debug/global.c:
19506         * testsuite/debug/output.c:
19507         * testsuite/debug/printf_extension.c:
19508         * testsuite/dlopen/.cvsignore:
19509         * testsuite/dlopen/Makefile.am:
19510         * testsuite/dlopen/dlopen_gst.c:
19511         * testsuite/dlopen/loadgst.c:
19512         * testsuite/elements/.cvsignore:
19513         * testsuite/elements/Makefile.am:
19514         * testsuite/elements/gst-inspect-check.in:
19515         * testsuite/elements/struct_i386.h:
19516         * testsuite/elements/struct_size.c:
19517         * testsuite/indexers/.cvsignore:
19518         * testsuite/indexers/Makefile.am:
19519         * testsuite/indexers/cache1.c:
19520         * testsuite/indexers/indexdump.c:
19521         * testsuite/parse/.cvsignore:
19522         * testsuite/parse/Makefile.am:
19523         * testsuite/parse/parse1.c:
19524         * testsuite/parse/parse2.c:
19525         * testsuite/plugin/.cvsignore:
19526         * testsuite/plugin/Makefile.am:
19527         * testsuite/plugin/README:
19528         * testsuite/plugin/dynamic.c:
19529         * testsuite/plugin/linked.c:
19530         * testsuite/plugin/loading.c:
19531         * testsuite/plugin/registry.c:
19532         * testsuite/plugin/static.c:
19533         * testsuite/plugin/static2.c:
19534         * testsuite/plugin/testplugin.c:
19535         * testsuite/plugin/testplugin2.c:
19536         * testsuite/plugin/testplugin2_s.c:
19537         * testsuite/plugin/testplugin_s.c:
19538         * testsuite/refcounting/.cvsignore:
19539         * testsuite/refcounting/Makefile.am:
19540         * testsuite/refcounting/bin.c:
19541         * testsuite/refcounting/element.c:
19542         * testsuite/refcounting/element_pad.c:
19543         * testsuite/refcounting/mainloop.c:
19544         * testsuite/refcounting/mem.c:
19545         * testsuite/refcounting/mem.h:
19546         * testsuite/refcounting/object.c:
19547         * testsuite/refcounting/pad.c:
19548         * testsuite/refcounting/sched.c:
19549         * testsuite/refcounting/thread.c:
19550         * testsuite/states/.cvsignore:
19551         * testsuite/states/Makefile.am:
19552         * testsuite/states/bin.c:
19553         * testsuite/states/locked.c:
19554         * testsuite/states/parent.c:
19555         * testsuite/threads/.cvsignore:
19556         * testsuite/threads/159566.c:
19557         * testsuite/threads/159852.c:
19558         * testsuite/threads/Makefile.am:
19559         * testsuite/threads/queue.c:
19560         * testsuite/threads/signals.c:
19561         * testsuite/threads/staticrec.c:
19562         * testsuite/threads/thread.c:
19563         * testsuite/threads/threadb.c:
19564         * testsuite/threads/threadc.c:
19565         * testsuite/threads/threadd.c:
19566         * testsuite/threads/threade.c:
19567         * testsuite/threads/threadf.c:
19568         * testsuite/threads/threadg.c:
19569         * testsuite/threads/threadh.c:
19570         * testsuite/threads/threadi.c:
19571           move all of these under tests
19572
19573 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19574
19575         * configure.ac:
19576         * tests/Makefile.am:
19577           fix distcheck
19578
19579 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19580
19581         * docs/gst/gstreamer-sections.txt:
19582         * tests/sched/.cvsignore:
19583         * tests/sched/Makefile.am:
19584         * tests/sched/cases/(fs-fs).xml:
19585         * tests/sched/cases/(fs-i-fs).xml:
19586         * tests/sched/cases/(fs-i-i-fs).xml:
19587         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19588         * tests/sched/dynamic-pipeline.c:
19589         * tests/sched/interrupt1.c:
19590         * tests/sched/interrupt2.c:
19591         * tests/sched/interrupt3.c:
19592         * tests/sched/runtestcases:
19593         * tests/sched/runxml.c:
19594         * tests/sched/sched-stress.c:
19595         * tests/sched/sort.c:
19596         * tests/sched/testcases:
19597         * tests/sched/testcases1.tc:
19598         * tests/seeking/.cvsignore:
19599         * tests/seeking/Makefile.am:
19600         * tests/seeking/seeking1.c:
19601         * tests/threadstate/.cvsignore:
19602         * tests/threadstate/Makefile.am:
19603         * tests/threadstate/test1.c:
19604         * tests/threadstate/test2.c:
19605         * tests/threadstate/threadstate1.c:
19606         * tests/threadstate/threadstate2.c:
19607         * tests/threadstate/threadstate3.c:
19608         * tests/threadstate/threadstate4.c:
19609         * tests/threadstate/threadstate5.c:
19610           remove obsolete tests
19611         * configure.ac:
19612         * tests/bench-complexity.scm:
19613         * tests/bench-mass_elements.scm:
19614         * tests/complexity.c:
19615         * tests/complexity.gnuplot:
19616         * tests/instantiate/.cvsignore:
19617         * tests/instantiate/Makefile.am:
19618         * tests/instantiate/caps.c:
19619         * tests/mass_elements.c:
19620         * tests/network-clock-utils.scm:
19621         * tests/network-clock.scm:
19622         * tests/plot-data:
19623         First pass at cleaning up tests/ dir before moving the rest
19624         Combined with CVS surgery
19625
19626 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19627
19628         * po/POTFILES.in:
19629           queue has moved, update
19630
19631 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19632
19633         * docs/gst/gstreamer-sections.txt:
19634           remove double entries from the docs
19635         * gst/gst_private.h:
19636         * gst/gstinfo.c: (_gst_debug_init):
19637           remove the THREAD debug category
19638         * gst/Makefile.am:
19639         * gst/gstqueue.c:
19640         * gst/gstqueue.h:
19641         * docs/gst/gstreamer.types:
19642         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19643         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19644           completely move queue and fix up debugging categories
19645
19646 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19647
19648         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19649           make initialization portable, using LL is not
19650
19651 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19652
19653         * win32/common/gstconfig.h:
19654           add large padding
19655
19656 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19657
19658         * win32/common/libgstreamer.def:
19659           rename symbols; sort base section
19660
19661 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19662
19663         * gst/gstclock.c: (do_linear_regression):
19664           remove crack non-portable handrolled DEBUG macro
19665
19666 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19667
19668         * docs/random/release:
19669           update notes
19670         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19671         (gst_object_flags_get_type), (register_gst_bin_flags),
19672         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19673         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19674         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19675         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19676         (gst_caps_flags_get_type), (register_gst_clock_return),
19677         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19678         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19679         (gst_clock_flags_get_type), (register_gst_state),
19680         (gst_state_get_type), (register_gst_state_change_return),
19681         (gst_state_change_return_get_type), (register_gst_state_change),
19682         (gst_state_change_get_type), (register_gst_element_flags),
19683         (gst_element_flags_get_type), (register_gst_core_error),
19684         (gst_core_error_get_type), (register_gst_library_error),
19685         (gst_library_error_get_type), (register_gst_resource_error),
19686         (gst_resource_error_get_type), (register_gst_stream_error),
19687         (gst_stream_error_get_type), (register_gst_event_type_flags),
19688         (gst_event_type_flags_get_type), (register_gst_event_type),
19689         (gst_event_type_get_type), (register_gst_seek_type),
19690         (gst_seek_type_get_type), (register_gst_seek_flags),
19691         (gst_seek_flags_get_type), (register_gst_format),
19692         (gst_format_get_type), (register_gst_index_certainty),
19693         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19694         (gst_index_entry_type_get_type),
19695         (register_gst_index_lookup_method),
19696         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19697         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19698         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19699         (gst_index_flags_get_type), (register_gst_debug_level),
19700         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19701         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19702         (gst_iterator_result_get_type), (register_gst_iterator_item),
19703         (gst_iterator_item_get_type), (register_gst_message_type),
19704         (gst_message_type_get_type), (register_gst_mini_object_flags),
19705         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19706         (gst_pad_link_return_get_type), (register_gst_flow_return),
19707         (gst_flow_return_get_type), (register_gst_activate_mode),
19708         (gst_activate_mode_get_type), (register_gst_pad_direction),
19709         (gst_pad_direction_get_type), (register_gst_pad_flags),
19710         (gst_pad_flags_get_type), (register_gst_pad_presence),
19711         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19712         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19713         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19714         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19715         (gst_plugin_flags_get_type), (register_gst_rank),
19716         (gst_rank_get_type), (register_gst_query_type),
19717         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19718         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19719         (gst_tag_flag_get_type), (register_gst_task_state),
19720         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19721         (gst_alloc_trace_flags_get_type),
19722         (register_gst_type_find_probability),
19723         (gst_type_find_probability_get_type), (register_gst_uri_type),
19724         (gst_uri_type_get_type), (register_gst_parse_error),
19725         (gst_parse_error_get_type):
19726         * win32/common/gstenumtypes.h:
19727         * win32/common/gstversion.h:
19728           update visual studio generated files
19729
19730 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19731
19732         * win32/vs6/libgstbase.dsp:
19733         * win32/vs6/libgstelements.dsp:
19734           update project files for new locations
19735
19736 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19737
19738         * Makefile.am:
19739           remove some files
19740         * README:
19741           reinstate and update
19742         * DEVEL:
19743         * REQUIREMENTS:
19744           removed
19745         * LICENSE:
19746         * docs/random/LICENSE:
19747           moved to random
19748
19749 2005-11-30  Edward Hervey  <edward@fluendo.com>
19750
19751         * gst/gsttypefind.c: (gst_type_find_register):
19752         * gst/gsttypefind.h:
19753         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19754         (gst_type_find_factory_dispose):
19755         * gst/gsttypefindfactory.h:
19756         Fix memory leak in GstTypeFindFactory.
19757
19758 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19759
19760         * gst/gst.c:
19761         * plugins/elements/Makefile.am:
19762         * plugins/elements/gstelements.c:
19763         * plugins/elements/gstqueue.c:
19764           move queue from core to the elements plugin
19765
19766 2005-11-29  Andy Wingo  <wingo@pobox.com>
19767
19768         * libs/gst/base/gstbasetransform.h: 
19769         * libs/gst/base/gstbasesrc.h: 
19770         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19771
19772         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19773         of pointers by which to pad very extensible base classes (like the
19774         ones in libs/gst/base).
19775
19776 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19777
19778         * docs/gst/gstreamer-docs.sgml:
19779         * docs/gst/gstreamer-sections.txt:
19780         * docs/libs/gstreamer-libs-docs.sgml:
19781         * docs/libs/gstreamer-libs-sections.txt:
19782           moving documentation from core to lib
19783
19784 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19785
19786         * check/Makefile.am:
19787         * configure.ac:
19788         * docs/gst/Makefile.am:
19789         * gst/Makefile.am:
19790         * gst/base/.cvsignore:
19791         * gst/base/Makefile.am:
19792         * gst/base/README:
19793         * gst/base/gstadapter.c:
19794         * gst/base/gstadapter.h:
19795         * gst/base/gstbasesink.c:
19796         * gst/base/gstbasesink.h:
19797         * gst/base/gstbasesrc.c:
19798         * gst/base/gstbasesrc.h:
19799         * gst/base/gstbasetransform.c:
19800         * gst/base/gstbasetransform.h:
19801         * gst/base/gstcollectpads.c:
19802         * gst/base/gstcollectpads.h:
19803         * gst/base/gstpushsrc.c:
19804         * gst/base/gstpushsrc.h:
19805         * gst/base/gsttypefindhelper.c:
19806         * gst/base/gsttypefindhelper.h:
19807         * gst/check/Makefile.am:
19808         * gst/check/gstcheck.c:
19809         * gst/check/gstcheck.h:
19810         * gst/net/Makefile.am:
19811         * gst/net/gstnet.h:
19812         * gst/net/gstnetclientclock.c:
19813         * gst/net/gstnetclientclock.h:
19814         * gst/net/gstnettimepacket.c:
19815         * gst/net/gstnettimepacket.h:
19816         * gst/net/gstnettimeprovider.c:
19817         * gst/net/gstnettimeprovider.h:
19818         * libs/gst/Makefile.am:
19819         * libs/gst/base/Makefile.am:
19820         * libs/gst/base/gstbasetransform.c:
19821         * libs/gst/check/Makefile.am:
19822         * plugins/elements/Makefile.am:
19823         * po/POTFILES.in:
19824           CVS surgery + support to move base, check, and net out of gst
19825           and into libs/gst
19826
19827 2005-11-29  Andy Wingo  <wingo@pobox.com>
19828
19829         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19830
19831         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19832         padding.
19833
19834         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19835
19836         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19837
19838         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19839
19840         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19841         padding; reduces object size by about 30%. We don't expect
19842         anything else to go into gstobject.
19843
19844         * gst/gstminiobject.h (struct _GstMiniObject)
19845         (struct _GstMiniObjectClass): Only one pointer of padding; the
19846         payload is only a pointer and two ints anyway. For the class there
19847         are only two methods as well.
19848         
19849         * gst/gstelement.h (struct _GstElementClass): Removed
19850         the state_changed signal callback, it is not used.
19851
19852 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19853
19854         * docs/gst/gstreamer.types:
19855           fix includes, though they are a little dinky
19856
19857 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19858
19859         * check/Makefile.am:
19860           look in the right place for elements, a lot more chance of
19861           success
19862         * gst/Makefile.am:
19863           remove indexers and elements subdirs
19864         * plugins/Makefile.am:
19865           make indexers conditional
19866
19867 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19868
19869         * Makefile.am:
19870         * configure.ac:
19871         * plugins/elements/Makefile.am:
19872         * plugins/elements/gstcapsfilter.c:
19873         * plugins/elements/gstfilesink.c:
19874         * plugins/elements/gstfilesrc.c:
19875         * plugins/elements/gstidentity.c:
19876         * plugins/indexers/Makefile.am:
19877           do CVS surgery and related build fixery to move elements
19878           and indexers in a new gstreamer/plugins directory, out of the
19879           gst/ directory
19880
19881 2005-11-29  Andy Wingo  <wingo@pobox.com>
19882
19883         * check/Makefile.am:
19884         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19885         * pkgconfig/gstreamer-net.pc.in:
19886         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19887         #322257.
19888
19889 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19890
19891         * tools/Makefile.am:
19892         * tools/gst-complete.1.in:
19893         * tools/gst-complete.c:
19894         * tools/gst-compprep.1.in:
19895         * tools/gst-compprep.c:
19896           removing -compprep and -complete
19897
19898 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19899
19900         * gst/gstevent.c: (gst_event_new_new_segment),
19901         (gst_event_parse_new_segment):
19902         * gst/gstevent.h:
19903           fix #320529 - clean up new_segment API and structure.
19904           Let's hope everyone was using the methods, and not the structure.
19905
19906 2005-11-29  Edward Hervey  <edward@fluendo.com>
19907
19908         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19909         (gst_base_sink_event), (gst_base_sink_do_sync),
19910         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19911         Properly handle non GST_FORMAT_TIME segment
19912         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19913         Properly handle non GST_FORMAT_TIME segment
19914         * gst/gstsegment.c:
19915         This function is valid if the accumulator is 0 and the format
19916         is different from the requested format.
19917         
19918 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19919
19920         * docs/gst/gstreamer-sections.txt:
19921         Add gst_query_new_seeking and gst_query_parse_seeking to the
19922         docs.
19923
19924 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19925
19926         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19927           Treat a pad alloc with new caps the same as if we were not
19928           negotiated, in order to allow a changing upstream output
19929           to produce a new format of data.
19930
19931 2005-11-29  Edward Hervey  <edward@fluendo.com>
19932
19933         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19934         (gst_base_transform_event), (gst_base_transform_eventfunc):
19935         The event virtual method is now properly implemented, with a default
19936         handler
19937         Sub classes should call the parent_class event method. They should
19938         return FALSE if they had a problem handling the given event, or don't
19939         want GstBaseTransform to send that even downstream
19940         * gst/elements/gstidentity.c: (gst_identity_class_init),
19941         (gst_identity_init), (gst_identity_event),
19942         (gst_identity_transform_ip), (gst_identity_set_property),
19943         (gst_identity_get_property):
19944         * gst/elements/gstidentity.h:
19945         Added the single-segment boolean property.
19946         If set to TRUE, it will output a single segment of data, starting from
19947         0, will eat up all incoming newsegment, and modify the timestamp of the
19948         buffers accordingly
19949
19950 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19951
19952         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19953           Don't ref NULL target pad (#322751). Improve docs.
19954
19955 2005-11-29  Michael Smith  <msmith@fluendo.com>
19956
19957         * gst/gstregistryxml.c: (load_plugin):
19958           Don't crash if we failed to load a feature from a plugin. 
19959
19960 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19961
19962         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19963         (GST_START_TEST):
19964           use more check API and less GLib API
19965
19966 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19967
19968         * Makefile.am:
19969           don't run checks if we don't have check
19970         * common/check.mak:
19971           remove the registry when running make torture
19972         * docs/gst/gstreamer-sections.txt:
19973           remove second multiply
19974         * gst/gstqueue.c: (gst_queue_loop):
19975           fix a compile warning when disabling debug
19976
19977 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19978
19979         * gst/gstinfo.h:
19980         Hey! Let's print the pad name if the pointer != NULL instead
19981         of when it == NULL :-)
19982
19983 2005-11-28  Wim Taymans  <wim@fluendo.com>
19984
19985         * check/gst/gstutils.c: (GST_START_TEST):
19986         Updated check, add some scaling accuracy checking code.
19987
19988         * gst/gstutils.c: (gst_util_div128_64),
19989         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19990         (gst_util_uint64_scale_int):
19991         Fix 6 times faster division code. Optimize for common 
19992         1/1 and less common X/1 cases.
19993
19994 2005-11-28  Wim Taymans  <wim@fluendo.com>
19995
19996         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19997         More checks.
19998
19999         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20000         (do_linear_regression), (gst_clock_add_observation):
20001         Cleanups.
20002         Release lock when the clock cannot be slaved.
20003         Catch the case where the regression returned an invalid denominator.
20004
20005         * gst/gstutils.c: (gst_util_div128_64_iterate),
20006         (gst_util_div128_64), (gst_util_uint64_scale_int64),
20007         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20008         Add protentially more performant non-iterative 128/64 divide function
20009         that unfortunatly does not work yet.
20010         Shortcut the trivial 0/X = 0 case.
20011         Remove the warnings on overflow.
20012
20013 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20014
20015         * gst/gstplugin.c: (gst_plugin_register_func):
20016           everything causing a plugin not to load should be at least a WARNING
20017
20018 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20019
20020         * docs/random/ensonic/dparams.txt:
20021           some TODOs for the next dev cycle
20022         * libs/gst/controller/gstcontroller.c:
20023         (gst_controlled_property_set_interpolation_mode),
20024         (gst_controlled_property_new):
20025         * libs/gst/controller/gstcontroller.h:
20026           use base type to assign acccessor functions
20027
20028 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20029
20030         * check/Makefile.am:
20031         Oops, that should have been top_srcdir
20032
20033 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20034
20035         * check/Makefile.am:
20036         * check/elements/fdsrc.c: (GST_START_TEST):
20037         Use a cmdline define to specify the location of a file to use for
20038         testing, to avoid breaking distcheck.
20039
20040 2005-11-28  Andy Wingo  <wingo@pobox.com>
20041
20042         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20043
20044 2005-11-28  Edward Hervey  <edward@fluendo.com>
20045
20046         * tools/gst-launch.c: (main):
20047         Clarify the output strings, makes it easier to translate.
20048         Fixes #322626
20049
20050 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20051
20052         * gst/Makefile.am:
20053           don't try and build net if we don't even have <sys/socket.h>
20054
20055 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20056
20057         * check/Makefile.am:
20058         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20059         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20060           Add tests for fdsrc seekability
20061
20062         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20063         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20064         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20065         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20066         * gst/elements/gstfdsrc.h:
20067           fdsrc should not be a 'live' source.
20068           Implement seeking on seekable fd's.
20069
20070         * gst/gstquery.c: (gst_query_new_seeking),
20071         (gst_query_parse_seeking):
20072         * gst/gstquery.h:
20073           Implement SEEKING query functions: 
20074             *_new_seeking and *_parse_seeking
20075
20076 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20077
20078         * gst/gstelement.c: (gst_element_dispose):
20079           don't loop forever
20080
20081         * gst/gstiterator.c:
20082         * gst/gststructure.c:
20083           doc fixes
20084
20085         * libs/gst/controller/gstcontroller.c:
20086         (gst_controlled_property_set_interpolation_mode):
20087         * libs/gst/controller/gstcontroller.h:
20088         * libs/gst/controller/gstinterpolation.c:
20089         (interpolate_none_get_enum_value_array):
20090           support controlling enums
20091
20092 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20093
20094         * gst/gstvalue.c:
20095           Improve documentation for gst_value_union().
20096
20097         * gst/gstvalue.h:
20098           Change return value for union, intersect and subtract functions
20099           from gint to gboolean.
20100
20101 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20102
20103         * gst/gstvalue.c: (gst_value_serialize_any_list),
20104         (gst_value_transform_any_list_string),
20105         (gst_value_deserialize_list), (gst_value_deserialize_array),
20106         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20107         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20108         (gst_value_set_fraction_range_full),
20109         (gst_value_deserialize_fraction_range),
20110         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20111         (gst_value_deserialize_boolean),
20112         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20113         (gst_value_serialize_float), (gst_value_deserialize_float),
20114         (gst_string_wrap), (gst_value_deserialize_string),
20115         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20116         (gst_value_union_int_range_int_range),
20117         (gst_value_intersect_int_range_int_range),
20118         (gst_value_intersect_double_range_double_range),
20119         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20120         (gst_value_subtract_int_range_int_range),
20121         (gst_value_subtract_double_double_range),
20122         (gst_value_subtract_double_range_double_range),
20123         (gst_value_deserialize_fraction):
20124         * gst/gstvalue.h:
20125           Use gint, gdouble and gchar in our API instead of int, double and
20126           char (and make usage in gstvalue.c more consistent).
20127
20128 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20129
20130         * check/Makefile.am:
20131         * libs/gst/controller/Makefile.am:
20132         * libs/gst/dataprotocol/Makefile.am:
20133           fix up Makefile.am and remove GST_ENABLE_NEW
20134
20135 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20136
20137         * configure.ac:
20138         * gst/Makefile.am:
20139         * gst/base/Makefile.am:
20140         * gst/check/Makefile.am:
20141         * gst/elements/Makefile.am:
20142         * gst/net/Makefile.am:
20143           update LDFLAGS use some more
20144
20145 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20146
20147         * common/m4/gst-doc.m4:
20148           Fixes #312589
20149
20150 2005-11-26  Edward Hervey  <edward@fluendo.com>
20151
20152         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20153         This shouldn't issue a g_warning since it returns NULL if it
20154         couldn't find the plugin, and all functions using this behave
20155         properly on a NULL return. Switching to a GST_WARNING.
20156
20157 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20158
20159         * gst/gstbin.c: (gst_bin_handle_message_func):
20160         Don't leak clock messages.
20161
20162 2005-11-25  Wim Taymans  <wim@fluendo.com>
20163
20164         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20165         (gst_util_uint64_scale_int):
20166         Optimisations, remove unneeded vars.
20167
20168 2005-11-25  Wim Taymans  <wim@fluendo.com>
20169
20170         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20171         Added more checks for the high precision uint64 cases.
20172
20173         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20174         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20175         Implement high precision (guint64 * guint64) / guint64.
20176
20177 2005-11-24  Wim Taymans  <wim@fluendo.com>
20178
20179         * gst/base/gstbasesrc.c: (gst_base_src_query):
20180         Fix wrong percentage query.
20181
20182         * gst/gstutils.c: (gst_util_uint64_scale),
20183         (gst_util_uint64_scale_int):
20184         Add some more common cases that can be handled 
20185         efficiently to _scale.
20186
20187 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20188
20189         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20190         (gst_mini_object_suite):
20191           don't use check calls from threads; check probably isn't
20192           threadsafe and using a lock to make it threadsafe would
20193           defeat the purpose of this check
20194         * gst/check/gstcheck.c:
20195         * gst/check/gstcheck.h:
20196           use GST_DEBUG some more
20197
20198 2005-11-24  Wim Taymans  <wim@fluendo.com>
20199
20200         * gst/gstutils.c: (gst_util_uint64_scale),
20201         (gst_util_uint64_scale_int):
20202         Chain trivial case to _scale_int.
20203
20204 2005-11-24  Wim Taymans  <wim@fluendo.com>
20205
20206         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20207         Added test for scaling.
20208
20209         * gst/gstclock.h:
20210         Small doc fix.
20211
20212         * gst/gstutils.c: (gst_util_uint64_scale_int):
20213         Implemented high precision scaling code.
20214
20215 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20216
20217         * gst/gstinfo.h:
20218           do not crash on pad==NULL
20219
20220 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20221
20222         Patch by: Stefan Kost
20223
20224         * common/gtk-doc.mak:
20225         * docs/gst/Makefile.am:
20226         * docs/libs/Makefile.am:
20227           Fix distcheck issues for the libraries docs build
20228           Closes #319599.
20229
20230 2005-11-24  Michael Smith <msmith@fluendo.com>
20231
20232         * docs/manual/basics-helloworld.xml:
20233           Fix bug #315027: memory leak in example code in docs.
20234
20235 2005-11-24  Michael Smith <msmith@fluendo.com>
20236
20237         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20238           Unlock the PREROLL_LOCK in a failure case.
20239
20240 2005-11-24  Wim Taymans  <wim@fluendo.com>
20241
20242         * docs/gst/gstreamer-sections.txt:
20243         * gst/base/gstadapter.h:
20244         * gst/base/gstbasesink.h:
20245         * gst/base/gstbasesrc.h:
20246         * gst/base/gstbasetransform.h:
20247         * gst/base/gstpushsrc.h:
20248         * gst/elements/gstfakesink.h:
20249         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20250         * gst/elements/gstfakesrc.h:
20251         * gst/elements/gstfilesink.h:
20252         * gst/elements/gstfilesrc.h:
20253         * gst/gst.c:
20254         * gst/gstbin.c:
20255         * gst/gstbuffer.c: (_gst_buffer_copy):
20256         * gst/gstbus.h:
20257         * gst/gstcaps.c:
20258         * gst/gstchildproxy.c:
20259         * gst/gstclock.c:
20260         * gst/gstelement.c:
20261         * gst/gstelementfactory.c:
20262         * gst/gstelementfactory.h:
20263         * gst/gstevent.c:
20264         * gst/gstghostpad.h:
20265         * gst/gstindex.h:
20266         * gst/gstinterface.h:
20267         * gst/gstminiobject.c:
20268         * gst/gstminiobject.h:
20269         * gst/gstpad.c:
20270         * gst/gstpad.h:
20271         * gst/gstpadtemplate.h:
20272         * gst/gstpipeline.h:
20273         * gst/gstpluginfeature.h:
20274         * gst/gstquery.h:
20275         * gst/gstqueue.h:
20276         * gst/gsttaglist.c:
20277         * gst/gsttaglist.h:
20278         * gst/gsttagsetter.c:
20279         * gst/gsttagsetter.h:
20280         * gst/gsttrace.c:
20281         * gst/gsttrace.h:
20282         * gst/gsttypefind.h:
20283         * gst/gsturi.h:
20284         * gst/gstvalue.c:
20285         * gst/net/gstnetclientclock.c:
20286         * gst/net/gstnetclientclock.h:
20287         * gst/net/gstnettimepacket.c:
20288         * gst/net/gstnettimeprovider.c:
20289         * gst/net/gstnettimeprovider.h:
20290         Doc fixes.
20291
20292 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20293
20294         * configure.ac: back to HEAD
20295
20296 === release 0.9.6 ===
20297
20298 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20299
20300         * configure.ac:
20301           releasing 0.9.6, "Always On Time"
20302
20303 2005-11-23  Wim Taymans  <wim@fluendo.com>
20304
20305         * docs/gst/gstreamer-sections.txt:
20306         * gst/glib-compat.c:
20307         * gst/gsttagsetter.c:
20308         * gst/gstvalue.c:
20309         * gst/net/gstnetclientclock.c:
20310         * gst/net/gstnettimepacket.h:
20311         Doc updates.
20312
20313 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20314
20315         * docs/faq/using.xml:
20316         * docs/libs/tmpl/gstcontrol.sgml:
20317         * docs/manual/advanced-dparams.xml:
20318         * docs/manual/appendix-checklist.xml:
20319         * docs/manual/basics-elements.xml:
20320         * docs/pwg/other-source.xml:
20321         * docs/random/moving-plugins:
20322         * gst/gstpad.c:
20323         * tools/gst-launch.1.in:
20324           remove mentions of sinesrc
20325
20326 2005-11-23  Michael Smith <msmith@fluendo.com>
20327
20328         * docs/gst/gstreamer-sections.txt:
20329           Update for new API and API changes.
20330         * gst/gstobject.h:
20331           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20332         * gst/gstvalue.c:
20333           Documentation typo fix.
20334         * gst/net/gstnettimepacket.c:
20335           Documentation fixes for arguments.
20336
20337 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20338
20339         * gst/gststructure.c: (gst_structure_get_fraction),
20340         (gst_structure_parse_value),
20341         (gst_structure_fixate_field_nearest_fraction):
20342         * gst/gststructure.h:
20343         * gst/gstutils.c: (gst_util_uint64_scale_int):
20344         * gst/gstutils.h:
20345         * scripts/update-funcnames:
20346         API Changes. 
20347         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20348         Make gst_structure_fixate_field_nearest_fraction take a numerator
20349         and denominator argument instead of a GValue
20350         add gst_structure_get_fraction helper function.
20351
20352 2005-11-23  Wim Taymans  <wim@fluendo.com>
20353
20354         * docs/design/part-TODO.txt:
20355         Update TODO.
20356
20357         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20358         * gst/net/gstnetclientclock.h:
20359         Use parent fields for timeout and window_size.
20360
20361 2005-11-23  Andy Wingo  <wingo@pobox.com>
20362
20363         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20364         rate_num/rate_denom change.
20365
20366         * gst/net/gstnetclientclock.c
20367         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20368         OBJECT_LOCK. Don't call add_observation with the lock.
20369
20370         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20371         fraction.
20372         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20373         rate fraction.
20374         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20375         deal with rate as a fraction whose numerator and denominator are
20376         GstClockTime values.
20377         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20378         master; the other fields are protected by the SLAVE_LOCK.
20379         (do_linear_regression): Note that this must be called with the
20380         SLAVE_LOCK.
20381         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20382         OBJECT_LOCK. Call set_calibration instead of touching the
20383         variables directly.
20384         (gst_clock_set_property, gst_clock_get_property): Protect
20385         master/slave parameters with the SLAVE_LOCK.
20386
20387         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20388         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20389         note that all of the instance variables that add_observation and
20390         the set_master functions use are protected by that lock and not
20391         the OBJECT_LOCK.
20392         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20393
20394         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20395         the caller to take the object lock.
20396
20397 2005-11-23  Wim Taymans  <wim@fluendo.com>
20398
20399         * gst/gsterror.c: (_gst_core_errors_init):
20400         * gst/gsterror.h:
20401         Add error for clock stuff.
20402
20403         * gst/gstpipeline.c: (gst_pipeline_change_state),
20404         (gst_pipeline_set_clock):
20405         Post clock error when clock cannot be used in a pipeline.
20406
20407 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20408
20409         * docs/gst/gstreamer-sections.txt:
20410           make two symbols from gstinfo private for the docs
20411         * gst/base/gstcollectpads.h:
20412         * gst/gstutils.c:
20413           fix doc typos, update docs
20414
20415 2005-11-22  Wim Taymans  <wim@fluendo.com>
20416
20417         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20418         (gst_base_sink_wait), (gst_base_sink_do_sync),
20419         (gst_base_sink_handle_event):
20420         * gst/base/gstbasesink.h:
20421         No need to store the clock, the parent element class already
20422         has it.
20423
20424         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20425         Updates for clock_set returning a gboolean
20426
20427         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20428         (gst_clock_id_wait_async), (gst_clock_class_init),
20429         (gst_clock_init), (gst_clock_finalize),
20430         (gst_clock_get_internal_time), (gst_clock_get_time),
20431         (gst_clock_slave_callback), (gst_clock_set_master),
20432         (gst_clock_get_master), (do_linear_regression),
20433         (gst_clock_add_observation), (gst_clock_set_property),
20434         (gst_clock_get_property):
20435         * gst/gstclock.h:
20436         Implement master/slave. When setting a clock as a slave, a
20437         periodic timeout is scheduled to sample master and slave times.
20438         Then the slave clock is recalibrated to match offset and rate
20439         of the master clock.
20440         Update logging a bit.
20441         Add flag so that a clock can state that is cannot be slaved to
20442         another clock.
20443
20444         * gst/gstelement.c: (gst_element_set_clock):
20445         * gst/gstelement.h:
20446         The set clock returns a gboolean for when an element cannot
20447         deal with the selected clock in the pipeline. 
20448
20449         * gst/gstpipeline.c: (gst_pipeline_change_state),
20450         (gst_pipeline_set_clock):
20451         * gst/gstpipeline.h:
20452         Handle the case where the selected clock cannot be set on
20453         the pipeline.
20454
20455         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20456         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20457         (gst_net_client_clock_set_property),
20458         (gst_net_client_clock_get_property),
20459         (gst_net_client_clock_observe_times):
20460         * gst/net/gstnetclientclock.h:
20461         Use regression code in GstClock parent, remove duplicated
20462         functionality.
20463
20464 2005-11-22  Michael Smith <msmith@fluendo.com>
20465
20466         * gst/gstutils.c: (gst_util_clock_time_scale):
20467         * gst/gstutils.h:
20468         * docs/gst/gstreamer-sections.txt:
20469           Rename method to have extra underscore.
20470
20471 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20472
20473         * gst/elements/Makefile.am:
20474         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20475         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20476         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20477         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20478         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20479         * gst/elements/gstfakesrc.h:
20480         * gst/gstqueue.c: (queue_leaky_get_type):
20481           correctly fix GEnumValues so that nick is the short lowercase
20482           dashed tag
20483         * tools/gst-inspect.c: (print_element_properties_info):
20484           also show the nick, since it's useful to use from parse_launch
20485           syntax
20486           Fixes #322139
20487
20488 2005-11-22  Michael Smith <msmith@fluendo.com>
20489
20490         * gst/gstutils.c: (gst_util_clocktime_scale):
20491         * gst/gstutils.h:
20492         * docs/gst/gstreamer-sections.txt:
20493           Add util method for scaling a clocktime by a fraction. Useful 
20494           implementation is left as an exercise for the reader.
20495
20496 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20497
20498         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20499         If needed, allocate storage in the destination value during
20500         collection.
20501
20502 2005-11-22  Edward Hervey  <edward@fluendo.com>
20503
20504         * docs/gst/gstreamer-sections.txt:
20505         * gst/Makefile.am:
20506         * gst/gst.h:
20507         * gst/gsturitype.c:
20508         * gst/gsturitype.h:
20509         * gst/gstutils.c: (gst_util_set_object_arg):
20510         * tools/gst-compprep.c: (main):
20511         * tools/gst-inspect.c: (print_element_properties_info):
20512         Removed GstURI, closes bug #321061
20513
20514 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20515
20516         * check/gst/gststructure.c: (GST_START_TEST):
20517         * gst/gststructure.c: (gst_structure_parse_value):
20518           Oops, broke automatic string type parsing.
20519           Add a test to catch it in future.
20520
20521 2005-11-22  Andy Wingo  <wingo@pobox.com>
20522
20523         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20524         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20525         Actually rename the function implementations. Grr.
20526
20527 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20528
20529         * check/gst/capslist.h:
20530           Comment test cases
20531         * check/gst/gststructure.c: (GST_START_TEST),
20532         (gst_structure_suite):
20533           Test automatic value type detection in gst_structure_from_string.
20534         * gst/gststructure.c: (gst_structure_parse_value):
20535           Add fraction as a type we try and guess automatically in
20536           caps/structure strings.
20537
20538 2005-11-22  Andy Wingo  <wingo@pobox.com>
20539
20540         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20541
20542         * gst/gsttagsetter.h:
20543         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20544         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20545         (gst_tag_setter_add_tag_valist)
20546         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20547         _add_values, _add_valist, and _add_valist_values. Since this is an
20548         interface the function suffixes should be more explicit so
20549         language binding don't end up with element.add_valist ->
20550         gst_tag_setter_add_valist, for example. Fixes #322069.
20551
20552 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20553
20554         * check/gst/gstcaps.c: (GST_START_TEST):
20555           Extend caps string tests to check that a caps to string
20556           conversion is reversible and produces the same caps.
20557
20558         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20559           Output "fraction" as the generic type fraction range, so caps
20560           serialisation and deserialisation works.
20561         * check/gst/capslist.h:
20562         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20563           Support 'MIN' and 'MAX' for deserialising fractions.
20564
20565 2005-11-22  Andy Wingo  <wingo@pobox.com>
20566
20567         * gst/gstevent.h (gst_event_new_new_segment)
20568         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20569         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20570         Renamed from *_newsegment, *_buffersize, *_notarget.
20571
20572         * scripts/update-funcnames: New script, performs the changes
20573         listed above.
20574
20575 2005-11-22  Wim Taymans  <wim@fluendo.com>
20576
20577         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20578         Make sure the GstFlowReturn is returned.
20579
20580         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20581         (gst_bus_add_signal_watch):
20582         * gst/gstbus.h:
20583         add gst_bus_add_signal_watch_full.
20584
20585         * gst/gstplugin.c: (gst_plugin_load_file):
20586         Small style cleanup.
20587
20588 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20589
20590         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20591           Block the fakesrc srcpad when we send an event, to avoid
20592           contention on the stream_lock causing random test failures.
20593
20594 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20595
20596         * check/gst/gstvalue.c: (GST_START_TEST):
20597         * gst/gstvalue.c: (gst_value_fraction_subtract):
20598           Fix subtraction.
20599
20600 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20601
20602         * gst/gst.h:
20603           include "gstchildproxy.h"
20604         * gst/gstchildproxy.h:
20605         * libs/gst/controller/gstcontroller.h:
20606           use G_GNUC_NULL_TERMINATED
20607
20608 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20609
20610         * check/gst/capslist.h:
20611         * check/gst/gstcaps.c: (GST_START_TEST):
20612         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20613         * gst/gststructure.c: (gst_structure_parse_range),
20614         (gst_structure_fixate_field_nearest_fraction):
20615         * gst/gststructure.h:
20616         * gst/gstvalue.c: (gst_value_init_fraction_range),
20617         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20618         (gst_value_collect_fraction_range),
20619         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20620         (gst_value_set_fraction_range_full),
20621         (gst_value_get_fraction_range_min),
20622         (gst_value_get_fraction_range_max),
20623         (gst_value_serialize_fraction_range),
20624         (gst_value_transform_fraction_range_string),
20625         (gst_value_compare_fraction_range),
20626         (gst_value_deserialize_fraction_range),
20627         (gst_value_intersect_fraction_fraction_range),
20628         (gst_value_intersect_fraction_range_fraction_range),
20629         (gst_value_subtract_fraction_fraction_range),
20630         (gst_value_subtract_fraction_range_fraction),
20631         (gst_value_subtract_fraction_range_fraction_range),
20632         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20633         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20634         (gst_value_transform_string_fraction), (_gst_value_initialize):
20635         * gst/gstvalue.h:
20636           Implement fraction ranges and extend GstFraction to support
20637           arithmetic subtraction, as well as deserialization from integer
20638           strings such as "100"
20639           Add a testsuite as for int and double range set operations
20640
20641 2005-11-21  Andy Wingo  <wingo@pobox.com>
20642
20643         * gst/gsttaglist.h: 
20644         * gst/gstcaps.h: 
20645         * gst/gststructure.h: Add glib-compat.h.
20646
20647 2005-11-21  Wim Taymans  <wim@fluendo.com>
20648
20649         * gst/gstbin.c: (gst_bin_change_state_func):
20650         Fix for #321595
20651
20652 2005-11-21  Wim Taymans  <wim@fluendo.com>
20653
20654         * gst/gstsegment.h:
20655         And add a nice define too.
20656
20657 2005-11-21  Wim Taymans  <wim@fluendo.com>
20658
20659         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20660         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20661         (gst_segment_set_duration), (gst_segment_set_last_stop),
20662         (gst_segment_set_seek), (gst_segment_set_newsegment),
20663         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20664         (gst_segment_clip):
20665         * gst/gstsegment.h:
20666         Make binding friendly.
20667
20668 2005-11-21  Andy Wingo  <wingo@pobox.com>
20669
20670         * gst/gsttagsetter.h: 
20671         * gst/gsttaglist.h: 
20672         * gst/gststructure.h: 
20673         * gst/gstcaps.h: 
20674         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20675         #319940.
20676
20677         * gst/gsterror.c (_gst_core_errors_init):
20678         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20679         category.
20680
20681         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20682         (noinst_HEADERS): noinst the -private.
20683
20684 2005-11-21  Michael Smith <msmith@fluendo.com>
20685
20686         * gst/gstplugin.h:
20687         * gst/gstregistry.h:
20688           Remove unimplemented declarations for which we can see no sensible
20689           use.
20690
20691 2005-11-21  Andy Wingo  <wingo@pobox.com>
20692
20693         * gst/gst.h: Include glib-compat.h.
20694
20695         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20696
20697         * gst/glib-compat.c: Include the public and the private header.
20698
20699         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20700
20701         * gst/gstvalue.c: 
20702         * gst/gstpad.c: 
20703         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20704
20705         * check/gst/gstevent.c (create_custom_events): Check that
20706         FLUSH_STOP is serialized.
20707
20708         * check/elements/identity.c (event_func): 
20709         * check/elements/fakesrc.c (event_func): No stream lock, the core
20710         takes it.
20711
20712         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20713         stream lock taking, yay.
20714
20715         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20716         ensure that core takes the stream lock.
20717
20718         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20719         lock name change.
20720
20721         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20722         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20723         it already. For the flush start we do take it though so we get the
20724         right preroll state change messages.
20725
20726         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20727         the stream lock here, the core does it for us.
20728
20729         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20730         GST_STREAM_GET_LOCK.
20731         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20732         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20733         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20734         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20735         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20736         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20737
20738         * gst/gstpad.c: Update for stream lock name change.
20739
20740         * gst/base/gstbasesink.c: Update for preroll lock name change.
20741
20742 2005-11-21  Wim Taymans  <wim@fluendo.com>
20743
20744         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20745         (gst_clock_get_master):
20746         * gst/gstclock.h:
20747         * gst/gstsystemclock.c: (gst_system_clock_init):
20748         Convert Clock flags to object flags.
20749         Added methods to manage master/slave clocks.
20750
20751 2005-11-21  Wim Taymans  <wim@fluendo.com>
20752
20753         * check/gst/gstsegment.c: (GST_START_TEST):
20754         * docs/design/part-TODO.txt:
20755         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20756         (gst_base_sink_event), (gst_base_sink_do_sync),
20757         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20758         (gst_base_sink_query), (gst_base_sink_change_state):
20759         * gst/base/gstbasesink.h:
20760         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20761         (gst_base_src_default_newsegment),
20762         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20763         (gst_base_src_get_range), (gst_base_src_loop),
20764         (gst_base_src_change_state):
20765         * gst/base/gstbasesrc.h:
20766         * gst/base/gstbasetransform.c:
20767         (gst_base_transform_prepare_output_buf),
20768         (gst_base_transform_event), (gst_base_transform_change_state):
20769         * gst/base/gstbasetransform.h:
20770         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20771         (gst_collect_pads_event):
20772         * gst/base/gstcollectpads.h:
20773         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20774         (gst_fake_src_create):
20775         * gst/elements/gstfakesrc.h:
20776         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20777         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20778         (gst_segment_set_last_stop), (gst_segment_set_seek),
20779         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20780         (gst_segment_to_running_time), (gst_segment_clip):
20781         * gst/gstsegment.h:
20782         More segment updates, replace code in plugins with segment
20783         helper functions.
20784
20785 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20786
20787         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20788         Don't ignore sscanf results
20789
20790 2005-11-21  Andy Wingo  <wingo@pobox.com>
20791
20792         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20793
20794         * *.h:
20795         * *.c: Ran scripts/update-macros. Oh yes.
20796
20797         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20798         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20799         GST_GET_LOCK, etc.
20800
20801         * scripts/update-macros: New script. Run it on your files to
20802         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20803         well.
20804
20805 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20806
20807         * docs/gst/Makefile.am:
20808         * docs/gst/gstreamer-docs.sgml:
20809         * docs/gst/gstreamer-sections.txt:
20810         * docs/gst/gstreamer.types:
20811         * gst/gstinfo.h:
20812           more docs fixes, add new api to the docs
20813
20814 2005-11-21  Andy Wingo  <wingo@pobox.com>
20815
20816         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20817         state_broadcast call.
20818
20819         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20820
20821 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20822
20823         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20824         function calls for arrays.
20825
20826 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20827
20828         * docs/random/ensonic/media-device-daemon.txt:
20829           wild idea, can this be done?
20830         * docs/gst/gstreamer-sections.txt:
20831         * gst/gsterror.h:
20832         * gst/gstfilter.c:
20833         * gst/gstfilter.h:
20834         * gst/gstplugin.h:
20835         * gst/gstpluginfeature.c:
20836         * gst/gsttrace.c:
20837         * gst/gstvalue.c:
20838         * gst/gstvalue.h:
20839           doc fixes and additions
20840
20841 2005-11-21  Andy Wingo  <wingo@pobox.com>
20842
20843         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20844         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20845         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20846         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20847         private to the basesrc implementation.
20848
20849         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20850         behalf of event function if necessary. It should no longer be
20851         necessary to take the stream lock in pad's event functions. Fixes
20852         #320299.
20853
20854 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20855         * docs/gst/gstreamer-sections.txt:
20856         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20857         (gst_structure_fixate_field_nearest_double),
20858         (gst_structure_fixate_field_boolean):
20859         * gst/gststructure.h:
20860         * win32/common/libgstreamer.def:
20861         * win32/gstreamer.def:
20862
20863         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20864         (#322027)
20865
20866 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20867
20868         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20869         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20870         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20871         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20872         (gst_fdsrc_uri_handler_init):
20873         * gst/elements/gstfdsrc.h:
20874           Port fd:// URI handler from 0.8 to fdsrc
20875
20876 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20877
20878         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20879         (gst_value_serialize_fourcc):
20880         * gst/gstvalue.h:
20881           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20882           consistent with our other format defines (#320324).
20883
20884 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20885
20886         * gst/gstvalue.c: (gst_value_is_fixed):
20887           Revert previous commit. Value lists are by definition
20888           not fixed, as they are a list of possible values.
20889
20890 2005-11-21  Andy Wingo  <wingo@pobox.com>
20891
20892         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20893         during the stable series if we need it. Fixes #319178.
20894
20895         * gst/gstevent.c (gst_event_new_filler): Removed.
20896
20897         * check/gst/gstevent.c: Update comment about filler events.
20898
20899 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20900
20901         * gst/gstvalue.c: (gst_value_is_fixed):
20902           Should handle both value arrays and value lists.
20903
20904 2005-11-21  Andy Wingo  <wingo@pobox.com>
20905
20906         patch by: Alessandro Dessina <alessandro nnva org>
20907
20908         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20909         functions to access arrays. Fixes #321962.
20910
20911 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20912
20913         * docs/gst/gstreamer.types:
20914           gst_collectpads_get_type => gst_collect_pads_get_type.
20915           
20916         * gst/base/gstbasetransform.c:
20917           Remove unused SIGNAL_HANDOFF enum.
20918
20919 2005-11-21  Andy Wingo  <wingo@pobox.com>
20920
20921         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20922         the event type (upstream, downstream, serialized). Renamed
20923         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20924         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20925         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20926
20927         * gst/gstevent.c: Update for new CUSTOM event names.
20928
20929         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20930
20931         * gst/gstevent.h:
20932         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20933         bug #319392.
20934
20935 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20936
20937         * docs/gst/gstreamer-sections.txt:
20938         * win32/common/libgstbase.def:
20939         * win32/libgstbase.def:
20940         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20941         (gst_collect_pads_class_init), (gst_collect_pads_init),
20942         (gst_collect_pads_finalize), (gst_collect_pads_new),
20943         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20944         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20945         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20946         (gst_collect_pads_start), (gst_collect_pads_stop),
20947         (gst_collect_pads_peek), (gst_collect_pads_pop),
20948         (gst_collect_pads_available), (gst_collect_pads_read),
20949         (gst_collect_pads_flush), (gst_collect_pads_event),
20950         (gst_collect_pads_chain):
20951         * gst/base/gstcollectpads.h:
20952           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20953           unimplemented functions as unimplemented. Add padding to
20954           GstCollectData. (#320766, #320423)
20955
20956 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20957
20958         * gst/gstmessage.c:
20959           Improve docs for DURATION message (usage of duration parameter)
20960           (#320113)
20961
20962 2005-11-20  Wim Taymans  <wim@fluendo.com>
20963
20964         * check/Makefile.am:
20965         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20966         (main):
20967         * gst/Makefile.am:
20968         * gst/gst.h:
20969         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20970         (gst_segment_set_seek), (gst_segment_set_newsegment),
20971         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20972         (gst_segment_clip):
20973         * gst/gstsegment.h:
20974         Added segment helper structure and methods. Not fully implemented
20975         yet.
20976         Added segment check.
20977
20978 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20979
20980         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20981           Add a deserialisation test for fractions
20982         * examples/metadata/read-metadata.c: (message_loop),
20983         (make_pipeline), (main):
20984           Fix up metadata reading sample.
20985         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20986           Debug format fix
20987         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20988           Don't try and fixate empty caps
20989         * gst/gst_private.h:
20990           Wrap in G_BEGIN_DECLS/G_END_DECLS
20991         * gst/gstvalue.c: (gst_value_collect_fraction),
20992         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20993         (gst_value_transform_string_fraction),
20994         (gst_value_compare_fraction):
20995           Add some extra guards to ensure that we don't end up 
20996           with an invalid denominator of 0 in a gstfraction and
20997           that fractions always get reduced.
20998
20999 2005-11-20  Wim Taymans  <wim@fluendo.com>
21000
21001         * docs/gst/gstreamer-sections.txt:
21002         * gst/gstbuffer.h:
21003         * gst/gstelement.c:
21004         * gst/gstformat.c:
21005         * gst/gstformat.h:
21006         * gst/gstindex.h:
21007         * gst/gstquery.c:
21008         * gst/gstquery.h:
21009         * gst/gstvalue.c:
21010         Doc fixes.
21011
21012 2005-11-20  Wim Taymans  <wim@fluendo.com>
21013
21014         * docs/design/part-TODO.txt:
21015         * gst/gstcaps.h:
21016         Make a proper enum of the flag.
21017
21018 2005-11-19  Wim Taymans  <wim@fluendo.com>
21019
21020         * docs/design/part-TODO.txt:
21021         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21022         (gst_format_to_quark), (gst_format_register):
21023         * gst/gstformat.h:
21024         * gst/gstquery.c: (_gst_query_initialize),
21025         (gst_query_type_get_name), (gst_query_type_to_quark),
21026         (gst_query_type_register):
21027         * gst/gstquery.h:
21028         Add type to quark and type to string conversions.
21029
21030 2005-11-19  Andy Wingo  <wingo@pobox.com>
21031
21032         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21033         #320097.
21034
21035 2005-11-19  Wim Taymans  <wim@fluendo.com>
21036
21037         * docs/design/part-TODO.txt:
21038         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21039         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21040         (gst_bin_handle_message_func):
21041         * gst/gstbin.h:
21042         Make message handling overridable.
21043
21044 2005-11-19  Andy Wingo  <wingo@pobox.com>
21045
21046         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21047
21048         * gst/gstclock.h:
21049         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21050         be a GstClockTime.
21051         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21052         is a GstClockTime. Fixes #321710.
21053
21054         * gst/gstclock.h (GstClock): Remove offset property. Add
21055         internal_calibration and external_calibration. Fix padding. Pad
21056         also by GstClockTime so we don't run into problems.
21057
21058         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21059         (gst_clock_get_rate_offset): Remove.
21060         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21061
21062         * gst/gstutils.h:
21063         * gst/gstutils.c (g_static_rec_cond_wait)
21064         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21065
21066         * gst/gstbin.c: Remove terrible continue_state prototype.
21067
21068         * gst/gstelement.h (gst_element_continue_state): Make public.
21069
21070         * gst/gstelement.h:
21071         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21072         by continue_state. Fixes #319389.
21073
21074         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21075         Really fixes #168438. However I don't see anywhere where the
21076         filter function is called... stupid GStreamer...
21077         
21078         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21079         don't have a dispose function, so it won't get called when the
21080         object is unreffed, but oh well!
21081
21082         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21083         allows a destroy function to be set so user_data can be freed.
21084         Fixes #168438.
21085         (gst_index_set_filter): Call gst_index_set_filter_full.
21086
21087         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21088
21089         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21090         string should produce an error, given the lack of a way to
21091         represent NULL strings. Fixes #165650.
21092         
21093         * gst/gstvalue.h: 
21094         * gst/gstvalue.c (gst_value_array_append_value) 
21095         (gst_value_array_prepend_value, gst_value_array_get_size) 
21096         (gst_value_array_get_value): New API, copied from
21097         gst_value_list_*, only operates on arrays.
21098         (gst_value_list_append_value, gst_value_list_prepend_value) 
21099         (gst_value_list_concat, gst_value_list_get_size) 
21100         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21101
21102         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21103         init_list, because it works on both.
21104         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21105         (gst_value_copy_list_or_array): Renamed from copy_list.
21106         (gst_value_free_list_or_array): Renamed from free_list.
21107         (gst_value_collect_list_or_array): Renamed from collect_list.
21108         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21109         (gst_value_list_or_array_peek_pointer): Renamed from
21110         list_peek_pointer.
21111         (_gst_value_array_value_table, _gst_value_list_value_table):
21112         Update value table functions.
21113         (gst_value_compare_list_or_array): Renamed from compare_list.
21114
21115         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21116         some constness.
21117
21118         * gst/gsttaglist.c:
21119         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21120         GstTagList*. Fixes #143472.
21121
21122         * gst/gststructure.h: Clarify what the foreach/map functions can
21123         or can't do to their arguments.
21124
21125 2005-11-18  Wim Taymans  <wim@fluendo.com>
21126
21127         * gst/gstclock.c: (gst_clock_set_calibration),
21128         (gst_clock_get_calibration):
21129         Doc and API fixes.
21130         Calibration can be set with internal time equal to current
21131         internal time too.
21132
21133 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21134
21135         * gst/gsterror.c:
21136         * gst/gsterror.h:
21137           document
21138
21139 2005-11-18  Andy Wingo  <wingo@pobox.com>
21140
21141         * configure.ac: 
21142         * pkgconfig/gstreamer-net.pc.in:
21143         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21144         * pkgconfig/Makefile.am: Add net pkgconfig files.
21145
21146 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21147
21148         * gst/gstcaps.c:
21149         * gst/gstghostpad.c:
21150         * gst/gsttrace.c:
21151         * gst/gstvalue.c:
21152         * gst/gstvalue.h:
21153           docs fixes
21154
21155 2005-11-18  Andy Wingo  <wingo@pobox.com>
21156
21157         * gst/net/gstnetclientclock.c: Turn off debugging.
21158
21159         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21160         times connverge somewhat. Can't make a real test.
21161
21162         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21163         integer arithmetic. Return the minimum of the domain, which can be
21164         set as "internal" for gst_clock_set_calibration.
21165         (gst_net_client_clock_observe_times): Call _set_calibration.
21166         (gst_net_client_clock_new): Call _set_calibration instead of
21167         rate_offset.
21168
21169         * check/net/gstnetclientclock.c (test_functioning): Use the right
21170         adjustment api.
21171
21172         * gst/gstclock.h:
21173         * gst/gstclock.c (gst_clock_get_calibration) 
21174         (gst_clock_set_calibration): New functions, obsolete the ones I
21175         added yesterday. Doh. Precision issues mean we have to extrapolate
21176         from a point in the more recent past than 1970.
21177         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21178         obsolete.
21179         (gst_clock_adjust_unlocked): Use the right calibration data.
21180
21181 2005-11-18  Edward Hervey  <edward@fluendo.com>
21182
21183         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21184         Also reset the ->current_* values in READY->PAUSED
21185
21186 2005-11-18  Andy Wingo  <wingo@pobox.com>
21187
21188         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21189         Whoops, check the right fd. Also add some debugging.
21190         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21191         (do_linear_regression): Add a crapload of debugging. Subtract off
21192         the minimum values from the input series to discard unneeded bits.
21193         Use only int arithmetic. There is still double arithmetic when
21194         calculating the intercept that needs fixing. Return boolean to
21195         indicate success; FALSE would mean the domain or range is too
21196         great. Still needs fixes.
21197
21198 2005-11-18  Wim Taymans  <wim@fluendo.com>
21199
21200         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21201         For the current position in stream time, we need to subtract
21202         accumulated time.
21203         
21204         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21205         Release lock before calling the callback function of async
21206         entries.
21207
21208 2005-11-18  Andy Wingo  <wingo@pobox.com>
21209
21210         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21211         Port goes all the way to MAXUINT16.
21212
21213         * gst/net/gstnettimeprovider.c: Make the port range the same as
21214         for the kernel: 0 assigns, otherwise ports are less than
21215         MAXUINT16.
21216
21217         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21218         port change.
21219
21220         * check/net/gstnetclientclock.c (test_functioning): Add the start
21221         of another test. 
21222
21223 2005-11-18  Wim Taymans  <wim@fluendo.com>
21224
21225         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21226         (gst_bin_remove_func), (bin_bus_handler):
21227         * gst/gstbin.h:
21228         Removing a clock provider from a bin, triggers a clock lost message
21229         so that a new clock will be selected.
21230         Adding a clock to a bin triggers a clock provider message.
21231         Make sure we reselect a clock when we received a clock lost message.
21232         Keep a reference to the element that provided the clock.
21233
21234 2005-11-18  Andy Wingo  <wingo@pobox.com>
21235
21236         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21237         the clock initially so it produces values around the base time.
21238         (gst_net_client_clock_class_init): Typo fix.
21239         (gst_net_client_clock_thread): Add note on when the socket gets
21240         closed.
21241
21242 2005-11-17  Wim Taymans  <wim@fluendo.com>
21243
21244         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21245         Free remote and local time arrays.
21246
21247 2005-11-17  Wim Taymans  <wim@fluendo.com>
21248
21249         * gst/net/gstnetclientclock.c: (do_linear_regression),
21250         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21251         Fix compilation, uninitialized vars and a forgotten continue.
21252
21253 2005-11-17  Andy Wingo  <wingo@pobox.com>
21254
21255         * check/Makefile.am (check_PROGRAMS): 
21256         * check/net/gstnetclientclock.c: Add a most minimal test for the
21257         net client clock. More to come later.
21258
21259         * gst/net/gstnet.h: 
21260         * gst/net/Makefile.am: Add netclientclock.
21261
21262         * gst/net/gstnetclientclock.h:
21263         * gst/net/gstnetclientclock.c: New files, implement an untested
21264         GstClock that takes its time from a network time provider.
21265         Implements the algorithm in network-clock.scm.
21266
21267         * tests/network-clock.scm (*window-size*): Rename from
21268         *queue-length*.
21269         * tests/network-clock.scm (network-time): 
21270         * tests/network-clock-utils.scm (q-push): Update callers.
21271
21272 2005-11-17  Wim Taymans  <wim@fluendo.com>
21273
21274         * gst/gstbin.c: (gst_bin_provide_clock_func),
21275         (gst_bin_sort_iterator_new):
21276         And unref the child too..
21277
21278 2005-11-17  Wim Taymans  <wim@fluendo.com>
21279
21280         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21281         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21282         Refactor the sort iterator so it can be used while holding the
21283         LOCK too.
21284         Make clock selection select a clock closest to the source.
21285
21286 2005-11-17  Michael Smith <msmith@fluendo.com>
21287
21288         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21289         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21290         * gst/gstclock.h:
21291           Anonymous structs are a gcc (and some other compilers) extension, so
21292           don't use them. Since this is only for ABI-compatibility, and our
21293           API/ABI freeze is over in a few days, this whole thing will only
21294           last a few days, so don't bother trying to think up a meaningful
21295           name for the struct.
21296
21297 2005-11-17  Andy Wingo  <wingo@pobox.com>
21298
21299         * gst/gstclock.h (GstClock): Add rate and offset properties,
21300         preserving ABI stability. Add rate/offset accessors. Will file bug
21301         for the freeze break.
21302
21303         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21304         and offset, trying to keep precision and avoiding
21305         underflow/overflow.
21306         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21307         functions. Make gst_clock_set_time_adjust obsolete.
21308         (gst_clock_set_time_adjust): Note that this function is obsolete.
21309         Will file bug soon.
21310
21311         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21312         greppable by using GST_PADDING-1+1.
21313
21314 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21315
21316         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21317
21318         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21319           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21320
21321         * gst/gstpadtemplate.h:
21322         * gst/gstpluginfeature.h:
21323           Don't use c++ style comments in headers (#321638).
21324
21325 2005-11-16  Andy Wingo  <wingo@pobox.com>
21326
21327         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21328         buffer.
21329
21330         * check/net/gstnettimeprovider.c: Check to see that the time
21331         provider actually provides times. Works, yo!
21332
21333 2005-11-16  Wim Taymans  <wim@fluendo.com>
21334
21335         * check/Makefile.am:
21336         Enable more tests.
21337
21338         * check/elements/fakesrc.c: (GST_START_TEST):
21339         Set element to NULL before disposing it.
21340
21341 2005-11-16  Andy Wingo  <wingo@pobox.com>
21342
21343         * gst/net/Makefile.am:
21344         * gst/net/gstnet.h:
21345         * gst/net/gstnettimeprovider.c: 
21346         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21347         provider, include it from gstnet.h, and add it to the build.
21348
21349         * gst/net/gstnettimepacket.h: 
21350         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21351         sending and receiving.
21352
21353 2005-11-16  Wim Taymans  <wim@fluendo.com>
21354
21355         * check/Makefile.am:
21356         Enable valgrind check.
21357
21358         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21359         (gst_fake_src_alloc_buffer):
21360         Fix memleak.
21361
21362 2005-11-16  Wim Taymans  <wim@fluendo.com>
21363
21364         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21365         Call parent finalize too.
21366
21367 2005-11-16  Wim Taymans  <wim@fluendo.com>
21368
21369         * check/Makefile.am:
21370         Enable valgrind check that should work fine now.
21371
21372         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21373         * gst/gstqueue.c: (gst_queue_init):
21374         Fix memleaks in pad allocation.
21375
21376 2005-11-16  Andy Wingo  <wingo@pobox.com>
21377
21378         * gst/net/Makefile.am:
21379         * gst/net/gstnet.h: New part of core to hold network elements and
21380         objects. Put in core because it exposes API that applications want
21381         to use. The library is named libgstnet-tempname right now because
21382         of the existing libgstnet in gst-plugins-base. Solution is
21383         probably to rename the one in plugins-base; will file a bug for
21384         the freeze break.
21385
21386         * gst/net/gstnettimeprovider.c: 
21387         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21388         get_time call over the network.
21389
21390         * configure.ac: 
21391         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21392
21393         * check/Makefile.am:
21394         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21395         get additions shortly.
21396
21397 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21398
21399         * gst/gstpad.c: (gst_pad_new_from_static_template):
21400         * gst/gstpad.h:
21401           add gst_pad_new_from_static_template functions
21402         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21403         (gst_check_setup_sink_pad):
21404         * gst/elements/gsttee.c: (gst_tee_init):
21405           and use them
21406
21407 2005-11-16  Wim Taymans  <wim@fluendo.com>
21408
21409         * gst/gstpad.c: (gst_pad_pause_task):
21410         Removed warning, it's not really an error either.
21411
21412 2005-11-16  Wim Taymans  <wim@fluendo.com>
21413
21414         * gst/base/gstbasetransform.c:
21415         (gst_base_transform_prepare_output_buf),
21416         (gst_base_transform_event):
21417         Check if the caps are NULL, this can happen if the element
21418         is shutting down and the pad caps are set to NULL.
21419
21420 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21421
21422         * gst/elements/gsttee.c: (gst_tee_init):
21423           fix pad template leak in tee
21424
21425 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21426
21427         * gst/glib-compat.c: (g_value_dup_gst_object):
21428         * gst/glib-compat.h:
21429         * gst/gstpad.c: (gst_pad_set_property):
21430           use gst_object_ref when setting the pad template; this will
21431           trigger the pad template leaks on GLib 2.6 and the slaves
21432
21433 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21434
21435         * gst/glib-compat.c: (gst_flags_get_first_value):
21436         * gst/glib-compat.h:
21437         * gst/gstregistryxml.c:
21438           remove functions copied from GLib 2.6
21439
21440 2005-11-16  Michael Smith <msmith@fluendo.com>
21441
21442         * gst/Makefile.am:
21443           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21444           do, but only breaks with newer valgrind versions. We're not a
21445           valgrind tool, we have no link-time dependencies on libcoregrind.
21446
21447 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21448
21449         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21450           some debug changes
21451         * gst/gstmessage.h:
21452           typo fixes
21453
21454 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21455
21456         * gst/base/gstbasesrc.c: (gst_base_src_init):
21457         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21458         * gst/gstqueue.c: (gst_queue_init):
21459         * gst/gstregistryxml.c: (load_feature):
21460           Revert all these unrefs, they don't even pass make check !
21461
21462 2005-11-15  Johan Dahlin  <johan@gnome.org>
21463
21464         * gst/base/gstbasesrc.c: (gst_base_src_init):
21465         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21466         * gst/gstqueue.c: (gst_queue_init): 
21467         Free pad templates, fixes a couple of leaks.
21468
21469 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21470
21471         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21472
21473         * gst/gstpad.c: (gst_pad_get_property):
21474           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21475           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21476           (#321452)
21477
21478 2005-11-15  Wim Taymans  <wim@fluendo.com>
21479
21480         * gst/gstevent.c:
21481         Small doc update.
21482
21483 2005-11-15  Andy Wingo  <wingo@pobox.com>
21484
21485         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21486
21487         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21488         using GST_CLOCK_TIME_NONE to disable base time management.
21489         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21490         time if it was NONE before.
21491         (gst_pipeline_change_state): Only munge the base time if
21492         stream_time != GST_CLOCK_TIME_NONE.
21493
21494         * check/gst/gstpipeline.c (test_base_time): Punt around the
21495         problem of the probe not being called, because that's not the
21496         issue I'm looking at. Add a check that setting stream_time to NONE
21497         disables base time management.
21498         
21499 2005-11-15  Wim Taymans  <wim@fluendo.com>
21500
21501         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21502         segment_stop == -1 at startup.
21503
21504         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21505         (gst_base_transform_change_state):
21506         Init segment values at start.
21507
21508 2005-11-15  Wim Taymans  <wim@fluendo.com>
21509
21510         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21511         0 segment values are 0 in any format.
21512
21513         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21514         * gst/base/gstbasetransform.h:
21515         Parse newsegment correctly in basetransform
21516
21517         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21518         Sync to clock using updated segment values.
21519
21520 2005-11-15  Andy Wingo  <wingo@pobox.com>
21521
21522         * check/gst/gstpipeline.c (test_base_time): Add check that the
21523         base time and stream time are reset correctly.
21524
21525 2005-11-15  Wim Taymans  <wim@fluendo.com>
21526
21527         * docs/design/part-TODO.txt:
21528         Some more TODO items.
21529
21530 2005-11-15  Andy Wingo  <wingo@pobox.com>
21531
21532         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21533         error if the user selected "no clock" as the clocking method.
21534
21535         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21536         timestamps with live capture.
21537
21538         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21539         is 0 but we are a live source, timestamp the buffers using the
21540         element's clock.
21541
21542 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21543
21544         * docs/gst/gstreamer-sections.txt:
21545         * gst/gsterror.c:
21546         * gst/gstghostpad.c:
21547         * gst/gstobject.h:
21548         * gst/gstxml.c:
21549           more section docs
21550
21551 2005-11-14  Wim Taymans  <wim@fluendo.com>
21552
21553         * common/gst.supp:
21554           add suppressions from Wim's Debian machine
21555
21556 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21557
21558         * common/gst.supp:
21559           add suppressions from Andy's AMD64 Ubuntu machine
21560
21561 2005-11-14  Andy Wingo  <wingo@pobox.com>
21562
21563         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21564         STATE_LOCK not necessary. Fixes #311489.
21565
21566         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21567         #305291.
21568
21569         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21570         this function is not implemented.
21571
21572 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21573
21574         * gst/base/gstbasetransform.c:
21575         (gst_base_transform_prepare_output_buf):
21576         Ref the source pad caps while we need them.
21577         Fixes (#321386)
21578
21579 2005-11-11  Wim Taymans  <wim@fluendo.com>
21580
21581         * docs/gst/gstreamer-sections.txt:
21582         Added some docs for GstCollectData.
21583
21584         * gst/base/gstadapter.c:
21585         Some small code example fix.
21586
21587         * gst/base/gstcollectpads.c:
21588         * gst/base/gstcollectpads.h:
21589         Document some more.
21590
21591 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21592
21593         * configure.ac: back to HEAD
21594
21595 === release 0.9.5 ===
21596
21597 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21598
21599         * configure.ac:
21600           releasing 0.9.5, "Bike Lunch Day"
21601
21602 2005-11-11  Wim Taymans  <wim@fluendo.com>
21603
21604         * gst/gstbuffer.c: (_gst_buffer_copy):
21605         Copy more flags.
21606
21607         * gst/gstcaps.c: (gst_caps_is_equal):
21608         Fix some docs.
21609         Make _is_equal fast in the trivial cases.
21610
21611         * gst/gstminiobject.c:
21612         * gst/gstminiobject.h:
21613         More docs. Spifify .h file.
21614
21615         * gst/gstutils.c:
21616         Small doc update.
21617
21618 2005-11-11  Wim Taymans  <wim@fluendo.com>
21619
21620         * gst/base/gstbasetransform.c:
21621         (gst_base_transform_prepare_output_buf),
21622         (gst_base_transform_handle_buffer):
21623         Small cleanups.
21624         If we're processing a buffer and need to allocate an output
21625         buffer, we cannot accept a format change. If we did get a 
21626         format change, we have to alloc a buffer ourselves of the 
21627         right size.
21628
21629 2005-11-11  Wim Taymans  <wim@fluendo.com>
21630
21631         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21632         While checking the flag for reentrancy in the gstcaps function
21633         is nice to detect recursive invocations, it also makes it 
21634         impossible to call getcaps from multiple threads, which must be
21635         possible. So, checking for recursive calls has to go.
21636
21637 2005-11-11  Michael Smith <msmith@fluendo.com>
21638
21639         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21640           Don't sync on buffers that fall partially outside our current
21641           segment. Prevents an assertion failure/abort playing some files.
21642
21643 2005-11-10  Andy Wingo  <wingo@pobox.com>
21644
21645         * check/gst/gstbin.c (test_message_state_changed_children): Style
21646         fix..
21647
21648         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21649         gst_bus_poll with the signal watch. Ensures that poll and a signal
21650         watch see the same messages.
21651
21652         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21653         a poll and a watch at the same time get the same messages.
21654
21655 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21656
21657         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21658         * gst/gstcaps.c: (gst_caps_intersect):
21659           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21660           and it's not needed.
21661
21662 2005-11-10  Wim Taymans  <wim@fluendo.com>
21663
21664         * docs/design/part-TODO.txt:
21665         Updated todo.
21666
21667 2005-11-10  Wim Taymans  <wim@fluendo.com>
21668
21669         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21670         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21671         (gst_base_src_do_sync), (gst_base_src_get_range):
21672         Implement clock sync in base class.
21673
21674 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21675
21676         patch by: Tim-Philipp Müller <tim at centricular dot net>
21677
21678         * gst/gststructure.c: (gst_structure_parse_field),
21679         (gst_structure_from_string):
21680           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21681           so that gst_parse_launch() can deal with spaces in filtered link
21682           caps (fixes #164479)
21683         * check/gst/capslist.h:
21684         * check/gst/gststructure.c: (GST_START_TEST):
21685           add unit tests for this change
21686
21687 2005-11-10  Wim Taymans  <wim@fluendo.com>
21688
21689         * docs/gst/gstreamer-sections.txt:
21690         * gst/gstelement.c:
21691         * gst/gstelement.h:
21692         Fix docs, move some STATE macros to private.
21693
21694 2005-11-10  Wim Taymans  <wim@fluendo.com>
21695
21696         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21697         Added check for bug #317341
21698
21699         * gst/gstbuffer.c:
21700         * gst/gstbuffer.h:
21701         Some more spiffifying.
21702
21703         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21704         Call peer linkfunction if we are a source pad. Totally fixes
21705         #317341
21706
21707         * gst/gstpad.c:
21708         Update docs, source pads should call the peer linkfunction
21709         so they can atomically perform the pad link.
21710
21711 2005-11-09  Wim Taymans  <wim@fluendo.com>
21712
21713         * gst/gstbuffer.c:
21714         * gst/gstbuffer.h:
21715         Uber-spiffy-spiffify some more.
21716
21717 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21718
21719         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21720         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21721         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21722         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21723         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21724         * gst/gstpad.c: (gst_pad_init):
21725           Use GST_DEBUG_FUNCPTR() more extensively.
21726
21727 2005-11-09  Wim Taymans  <wim@fluendo.com>
21728
21729         * gst/gstobject.c: (gst_object_class_init):
21730         * gst/gstobject.h:
21731         Documentation fixes.
21732
21733 2005-11-09  Edward Hervey  <edward@fluendo.com>
21734
21735         * gst/gsttypefindfactory.c:
21736         Fix docs.
21737         
21738 2005-11-09  Edward Hervey  <edward@fluendo.com>
21739
21740         * gst/base/gsttypefindhelper.c:
21741         * gst/gsttypefind.c:
21742         * gst/gsttypefind.h:
21743         Fix docs.
21744
21745 2005-11-09  Wim Taymans  <wim@fluendo.com>
21746
21747         * gst/gstiterator.c:
21748         Fix revision data.
21749
21750         * gst/gsttask.c:
21751         * gst/gsttask.h:
21752         Fix docs.
21753
21754 2005-11-09  Wim Taymans  <wim@fluendo.com>
21755
21756         * gst/gstevent.h:
21757         * gst/gsturi.h:
21758         Fix docs.
21759
21760 2005-11-09  Wim Taymans  <wim@fluendo.com>
21761
21762         * docs/gst/gstreamer-sections.txt:
21763         Moved the message async delivery private lock and cond
21764         to the private section.
21765
21766         * gst/gstmessage.c:
21767         * gst/gstmessage.h:
21768         Fixed docs.
21769
21770 2005-11-09  Edward Hervey  <edward@fluendo.com>
21771
21772         * docs/gst/gstreamer-sections.txt:
21773         * gst/gsturi.c:
21774         * gst/gsturi.h:
21775         Document GstURIHandler
21776
21777 2005-11-09  Wim Taymans  <wim@fluendo.com>
21778
21779         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21780         (gst_iterator_find_custom):
21781         * gst/gstiterator.h:
21782         Fix iterator docs.
21783
21784 2005-11-09  Wim Taymans  <wim@fluendo.com>
21785
21786         * gst/gstbin.h:
21787         Document another field.
21788
21789         * gst/gststructure.c:
21790         * gst/gststructure.h:
21791         Document.
21792
21793 2005-11-09  Wim Taymans  <wim@fluendo.com>
21794
21795         * gst/gstbin.h:
21796         Documented structs.
21797
21798 2005-11-09  Wim Taymans  <wim@fluendo.com>
21799
21800         * docs/gst/gstreamer-sections.txt:
21801         Added some new macros.
21802
21803         * gst/gstclock.c:
21804         * gst/gstclock.h:
21805         * gst/gstobject.h:
21806         Docs updates.
21807
21808 2005-11-09  Wim Taymans  <wim@fluendo.com>
21809
21810         * docs/design/part-TODO.txt:
21811         Some more items for the TODO
21812
21813         * gst/gstcaps.c:
21814         * gst/gstcaps.h:
21815         Document GstCaps.
21816
21817 2005-11-09  Andy Wingo  <wingo@pobox.com>
21818
21819         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21820         to work on something else now tho...
21821
21822         * gst/base/gstadapter.c: More adapter docs.
21823
21824         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21825         (gst_file_sink_stop): New functions, replace the state change
21826         handler.
21827         (gst_file_sink_class_init): Hook up the start and stop functions.
21828         (gst_file_sink_base_init): Don't set the state change handler any
21829         more. It was a bit ugly too, being set from here...
21830         (gst_file_sink_get_property, gst_file_sink_set_property):
21831         Cleanups...
21832         (gst_file_sink_set_location): More robust check that doesn't call
21833         GST_STATE. Ugggggg.
21834
21835 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21836
21837         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21838           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21839
21840 2005-11-08  Wim Taymans  <wim@fluendo.com>
21841
21842         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21843         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21844         (gst_base_sink_chain), (gst_base_sink_change_state):
21845         * gst/base/gstbasesink.h:
21846         * gst/base/gstbasesrc.h:
21847         * gst/gstelement.h:
21848         * gst/gstevent.h:
21849         Avoid excessive typechecking in macros.
21850
21851         * gst/gstminiobject.c: (gst_mini_object_get_type),
21852         (gst_mini_object_init), (gst_mini_object_new),
21853         (gst_mini_object_free):
21854         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21855         (gst_object_finalize):
21856         Remove cruft code, optimize alloc_trace.
21857
21858 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21859
21860         * docs/faq/gst-uninstalled:
21861           fix up PS1 for systems that try to reset it
21862
21863 2005-11-07  Wim Taymans  <wim@fluendo.com>
21864
21865         * gst/base/gstbasesrc.c: (gst_base_src_init),
21866         (gst_base_src_get_range):
21867         Set the segment_end to -1 initially. Fixed typefind.
21868
21869 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21870
21871         * gst/base/gstadapter.c:
21872           Debug category should be 'adapter', not 'GstAdapter'.
21873           
21874         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21875         (gst_collectpads_class_init), (gst_collectpads_init),
21876         (gst_collectpads_peek), (gst_collectpads_pop),
21877         (gst_collectpads_event), (gst_collectpads_chain):
21878           Add debug category and some debugging output. Use boilerplate
21879           macros. Remove some extraneous words from docs.
21880
21881 2005-11-05  Andy Wingo  <wingo@pobox.com>
21882
21883         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21884         macro.
21885
21886 2005-11-04  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 added
21895
21896 2005-11-04  Wim Taymans  <wim@fluendo.com>
21897
21898         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21899         Small update to stop at the configured segment_end
21900         position.
21901
21902 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21903
21904         * gst/gstregistry.c:
21905         * gst/gstregistry.h:
21906           added missing docs
21907
21908 2005-11-04  Edward Hervey  <edward@fluendo.com>
21909
21910         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21911         Check if we are doing a segment seek and have arrived at the
21912         end of that segment.
21913
21914 2005-11-04  Wim Taymans  <wim@fluendo.com>
21915
21916         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21917         Don't leak a mutex unlock in case of an error.
21918
21919         * gst/gstbus.h:
21920         Doc fixes.
21921
21922 2005-11-04  Wim Taymans  <wim@fluendo.com>
21923
21924         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21925         (gst_bus_post):
21926         Get the context to wake up only once.
21927
21928 2005-11-03  Wim Taymans  <wim@fluendo.com>
21929
21930         * check/states/sinks.c: (GST_START_TEST):
21931         Uncomment fixed check.
21932
21933         * docs/design/part-TODO.txt:
21934         Updated TODO.
21935
21936         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21937         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21938         (gst_base_sink_get_position):
21939         If we are going to PLAYING, post the right pending state
21940         when we post the intermediate paused message.
21941
21942         * gst/gstelement.c: (gst_element_continue_state),
21943         (gst_element_set_state_func), (gst_element_change_state):
21944         Don't post state changes that were between the same state
21945         and were not ASYNC.
21946
21947 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21948
21949         * docs/gst/gstreamer-sections.txt:
21950         * gst/gstcaps.h:
21951         * gst/gstinfo.c:
21952         * gst/gstminiobject.h:
21953         * gst/gstobject.h:
21954         * gst/gstutils.h:
21955           more docs and doc style fixes
21956
21957 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21958
21959         * docs/gst/gstreamer-sections.txt:
21960         * gst/gstelement.c:
21961         * gst/gstminiobject.c:
21962         doc fixes
21963
21964 2005-11-03  Andy Wingo  <wingo@pobox.com>
21965
21966         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21967         state-changed messages actually have the right order and the right
21968         values.
21969
21970 2005-11-03  Wim Taymans  <wim@fluendo.com>
21971
21972         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21973         Added some more checks. Specifically the case where NO_PREROLL
21974         elements are in the pipeline.
21975
21976         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21977         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21978         (gst_base_sink_get_position):
21979         Post READY->PAUSED state change messages too.
21980         Fix bug where VOID was posted as pending state...
21981
21982         * gst/gstbin.c: (gst_bin_recalc_state):
21983         use _element_continue_state() to continue the state change.
21984
21985         * gst/gstelement.c: (gst_element_continue_state),
21986         (gst_element_commit_state), (gst_element_set_state_func),
21987         (gst_element_change_state), (gst_element_change_state_func):
21988         Lots of state change cleanups, assign the STATE_RETURN in
21989         a new continue_state() function that also propagates the
21990         last return value from a state change to the app.
21991         Update some debug statements with proper category.
21992
21993 2005-11-03  Wim Taymans  <wim@fluendo.com>
21994
21995         * docs/design/part-events.txt:
21996         * docs/design/part-gstpipeline.txt:
21997         * docs/design/part-messages.txt:
21998         * docs/design/part-overview.txt:
21999         * docs/design/part-seeking.txt:
22000         * docs/design/part-states.txt:
22001         * docs/design/part-trickmodes.txt:
22002         * docs/manual/advanced-position.xml:
22003         Small docs updates.
22004
22005         * gst/gstobject.h:
22006         People think !! is ugly, this looks better.
22007
22008         * gst/gstpad.c: (gst_pad_set_blocked_async):
22009         Remove !! since it's fixed elsewhere now.
22010
22011 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22012
22013         * gst/gstminiobject.h:
22014         * gst/gstobject.h:
22015           Add !! to _FLAG_IS_SET macros to make the result boolean.
22016
22017 2005-11-03  Edward Hervey  <edward@fluendo.com>
22018
22019         * gst/gstpad.c: (gst_pad_set_blocked_async):
22020         comparing a flag and a gboolean rarely returns coherent results...
22021         Added two characters (!!) to make that work correctly.
22022         
22023 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22024
22025         * gst/gstbus.c: (gst_bus_class_init):
22026           Fix some typos.
22027           
22028         * gst/gstqueue.c: (gst_queue_loop):
22029           Don't assume a miniobject that isn't a buffer is an
22030           event (it could be that there is a refcounting
22031           problem somewhere and the pointer is stale and
22032           refers to an already destroyed miniobject).
22033
22034 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22035
22036         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22037
22038 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22039
22040         * docs/manual/advanced-position.xml:
22041           Update seek example and explanations to current 0.9 API.
22042
22043         * gst/elements/gsttypefindelement.c:
22044         (gst_type_find_element_activate):
22045           Remove FIXME comment now that the found caps
22046           are unreffed.
22047
22048 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22049
22050         * gst/gstregistryxml.c: (load_feature):
22051           Add another GST_STR_NULL instance
22052
22053 2005-11-02  Edward Hervey  <edward@fluendo.com>
22054
22055         * gst/gstpad.c: (handle_pad_block):
22056         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22057         
22058 2005-11-02  Wim Taymans  <wim@fluendo.com>
22059
22060         * gst/gstbin.c:
22061         Fix typo in docs.
22062
22063         * gst/gstelement.c: (gst_element_commit_state):
22064         Remove unused value.
22065
22066         * gst/gstiterator.c:
22067         Mention that the returned element is reffed in the docs.
22068
22069 2005-11-02  Wim Taymans  <wim@fluendo.com>
22070
22071         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22072         (gst_pad_push), (gst_pad_push_event):
22073         Unlock blocked pads when they are flushed.
22074
22075 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22076
22077         * docs/README:
22078         * docs/gst/gstreamer-sections.txt:
22079         * gst/gstbin.c:
22080           doc updates
22081         * gst/gstregistry.c: (gst_registry_scan_path_level):
22082           fix for a nasty little missed situation where an installed plug-in
22083           which was in the cache did not get overridden by an uninstalled one
22084           which was earlier in the plugin path because the newly created plugin
22085           for the uninstalled one (not in the registry) didn't get its
22086           ->registered set to TRUE
22087
22088 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22089
22090         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22091         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22092         (gst_collectpads_is_active), (gst_collectpads_collect),
22093         (gst_collectpads_collect_range), (gst_collectpads_start),
22094         (gst_collectpads_stop), (gst_collectpads_peek),
22095         (gst_collectpads_pop), (gst_collectpads_available),
22096         (gst_collectpads_read), (gst_collectpads_flush):
22097           Guard public API with assertions.
22098         
22099         * gst/gstpad.c:
22100           Fix docs for gst_pad_set_link_function().
22101
22102 2005-11-02  Johan Dahlin  <johan@gnome.org>
22103
22104         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22105         Unref found_caps after we used it.
22106
22107 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22108
22109         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22110           Don't try to ref NULL.
22111
22112 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22113
22114         * win32/common/config.h.in:
22115           provide a GST_FUNCTION that just gives a string for now
22116
22117 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22118
22119         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22120         (gst_object_flags_get_type), (register_gst_bin_flags),
22121         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22122         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22123         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22124         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22125         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22126         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22127         (gst_clock_flags_get_type), (register_gst_state),
22128         (gst_state_get_type), (register_gst_state_change_return),
22129         (gst_state_change_return_get_type), (register_gst_state_change),
22130         (gst_state_change_get_type), (register_gst_element_flags),
22131         (gst_element_flags_get_type), (register_gst_core_error),
22132         (gst_core_error_get_type), (register_gst_library_error),
22133         (gst_library_error_get_type), (register_gst_resource_error),
22134         (gst_resource_error_get_type), (register_gst_stream_error),
22135         (gst_stream_error_get_type), (register_gst_event_type),
22136         (gst_event_type_get_type), (register_gst_seek_type),
22137         (gst_seek_type_get_type), (register_gst_seek_flags),
22138         (gst_seek_flags_get_type), (register_gst_format),
22139         (gst_format_get_type), (register_gst_index_certainty),
22140         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22141         (gst_index_entry_type_get_type),
22142         (register_gst_index_lookup_method),
22143         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22144         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22145         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22146         (gst_index_flags_get_type), (register_gst_debug_level),
22147         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22148         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22149         (gst_iterator_result_get_type), (register_gst_iterator_item),
22150         (gst_iterator_item_get_type), (register_gst_message_type),
22151         (gst_message_type_get_type), (register_gst_mini_object_flags),
22152         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22153         (gst_pad_link_return_get_type), (register_gst_flow_return),
22154         (gst_flow_return_get_type), (register_gst_activate_mode),
22155         (gst_activate_mode_get_type), (register_gst_pad_direction),
22156         (gst_pad_direction_get_type), (register_gst_pad_flags),
22157         (gst_pad_flags_get_type), (register_gst_pad_presence),
22158         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22159         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22160         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22161         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22162         (gst_plugin_flags_get_type), (register_gst_rank),
22163         (gst_rank_get_type), (register_gst_query_type),
22164         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22165         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22166         (gst_tag_flag_get_type), (register_gst_task_state),
22167         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22168         (gst_alloc_trace_flags_get_type),
22169         (register_gst_type_find_probability),
22170         (gst_type_find_probability_get_type), (register_gst_uri_type),
22171         (gst_uri_type_get_type), (register_gst_parse_error),
22172         (gst_parse_error_get_type):
22173         * win32/common/gstversion.h:
22174           update win32 copies
22175
22176 2005-11-01  Luca Ognibene  <luogni@tin.it>
22177
22178         * gst/gst.c:
22179           fix docs. popt is dead, long live GOption.
22180
22181 2005-10-31  Wim Taymans  <wim@fluendo.com>
22182
22183         * gst/gstbuffer.h:
22184         Small doc fix.
22185
22186 2005-10-31  Andy Wingo  <wingo@pobox.com>
22187
22188         * Boo!
22189
22190         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22191
22192         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22193         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22194         the possibility of deadlocks here if code calling notify() or
22195         set() has a lock that can be taken in another notify handler (ABBA
22196         with class lock and e.g. python GIL state lock).
22197
22198 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22199
22200         * gst/gstbus.c: Doc updates.
22201
22202 2005-10-28  Wim Taymans  <wim@fluendo.com>
22203
22204         * docs/design/part-TODO.txt:
22205         * gst/gstiterator.c:
22206         * gst/gstsystemclock.c:
22207         * gst/gstsystemclock.h:
22208         Doc updates.
22209
22210 2005-10-28  Edward Hervey  <edward@fluendo.com>
22211
22212         * docs/gst/gstreamer-docs.sgml:
22213         * docs/gst/gstreamer-sections.txt:
22214         the GstURIType documentation page is private, it only defines GstURIType
22215         which should be defined in the GstURIHandler page
22216         
22217 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22218
22219         * gst/gstbin.c: (gst_bin_class_init):
22220         * gst/gstbin.h:
22221         * gst/gstutils.c:
22222         Documentation updates.
22223
22224 2005-10-28  Wim Taymans  <wim@fluendo.com>
22225
22226         * docs/gst/gstreamer-sections.txt:
22227         * gst/gstclock.c:
22228         * gst/gstclock.h:
22229         Documented the clocks.
22230
22231 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22232
22233         * docs/gst/gstreamer-sections.txt:
22234           move some macros to private sections
22235         * gst/gstminiobject.c:
22236         * gst/gstminiobject.h:
22237           add descriptions provided by ds and some more
22238         * gst/gstpad.h:
22239           mark macro as to be removed
22240
22241 2005-10-28  Wim Taymans  <wim@fluendo.com>
22242
22243         * docs/design/part-TODO.txt:
22244         Add an item to TODO.
22245
22246         * gst/gstiterator.c: (gst_iterator_fold),
22247         (gst_iterator_find_custom):
22248         * gst/gstiterator.h:
22249         Add iterator docs.
22250
22251 2005-10-28  Wim Taymans  <wim@fluendo.com>
22252
22253         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22254         (gst_base_transform_init):
22255         Don't leak class.
22256
22257         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22258         An EOS event marks the queue as completely filled.
22259
22260 2005-10-27  Wim Taymans  <wim@fluendo.com>
22261
22262         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22263         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22264         Some more debugging.
22265
22266         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22267         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22268         (gst_base_transform_event), (gst_base_transform_getrange),
22269         (gst_base_transform_chain):
22270         * gst/base/gstbasetransform.h:
22271         Fix debugging,
22272         Protect transform and concurrent buffer alloc with a new lock.
22273         Try not to break ABI/API.
22274
22275 2005-10-27  Wim Taymans  <wim@fluendo.com>
22276
22277         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22278         (gst_base_src_init), (gst_base_src_query),
22279         (gst_base_src_default_newsegment),
22280         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22281         (gst_base_src_send_event), (gst_base_src_event_handler),
22282         (gst_base_src_pad_get_range), (gst_base_src_loop),
22283         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22284         (gst_base_src_start), (gst_base_src_deactivate),
22285         (gst_base_src_activate_push), (gst_base_src_change_state):
22286         Move some stuff around and cleanup things.
22287
22288 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22289
22290         * gst/base/gstbasesrc.c: (gst_base_src_query):
22291           Add missing break statements.
22292
22293 2005-10-27  Wim Taymans  <wim@fluendo.com>
22294
22295         * check/gst/gstbin.c: (GST_START_TEST):
22296         An extra refcount is taken in basesrc.
22297
22298         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22299         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22300         (gst_base_src_loop):
22301         Small cleanups, check for flushing after being unlocked from the 
22302         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22303         Don't send out EOS when going to READY.
22304
22305 2005-10-27  Wim Taymans  <wim@fluendo.com>
22306
22307         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22308         (gst_base_sink_get_position):
22309         Some more debug.
22310
22311         * gst/gstbin.c: (message_check), (bin_replace_message),
22312         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22313         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22314         (bin_query_duration_init), (bin_query_duration_fold),
22315         (bin_query_duration_done), (bin_query_generic_fold),
22316         (gst_bin_query):
22317         * tools/gst-launch.c: (main):
22318         Remove old option.
22319
22320 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22321
22322         * examples/controller/audio-example.c: (main):
22323         * examples/queue/queue.c: (event_loop):
22324         * gst/base/gstbasetransform.h:
22325         * gst/gstelement.c: (gst_element_send_event):
22326         * gst/gstevent.h:
22327         * gst/gstpad.c: (gst_pad_send_event):
22328           fixing examples
22329           fixing docs typos
22330           changing log priority in error situations
22331
22332 2005-10-25  Wim Taymans  <wim@fluendo.com>
22333
22334         * gst/gstbin.c: (message_check), (bin_replace_message),
22335         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22336         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22337         (bin_query_duration_init), (bin_query_duration_fold),
22338         (bin_query_duration_done), (bin_query_generic_fold),
22339         (gst_bin_query):
22340         Some doc and debug updates.
22341         Cache previously requested query DURATION for speed. invalidate
22342         cached duration if element posts a DURATION message.
22343
22344 2005-10-25  Wim Taymans  <wim@fluendo.com>
22345
22346         * docs/design/part-TODO.txt:
22347         Update TODO.
22348
22349         * gst/gstbin.c: (message_check), (bin_replace_message),
22350         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22351         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22352         (bin_query_duration_init), (bin_query_duration_fold),
22353         (bin_query_duration_done), (bin_query_generic_fold),
22354         (gst_bin_query):
22355         Handle SEGMENT_START/DONE messages correctly.
22356         More evolved query algorithm that handles duration queries
22357         correctly.
22358
22359         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22360         (gst_element_get_state_func), (gst_element_abort_state),
22361         (gst_element_commit_state), (gst_element_lost_state):
22362         Some more debugging.
22363
22364         * gst/gstmessage.h:
22365         Added doc.
22366
22367 2005-10-25  Wim Taymans  <wim@fluendo.com>
22368
22369         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22370         Don't use invalid stream_time.
22371
22372         * gst/gstevent.c: (gst_event_new_newsegment):
22373         stream_time in newsegment cannot be undefined.
22374
22375 2005-10-24  Wim Taymans  <wim@fluendo.com>
22376
22377         * gst/gstbus.c:
22378         Doc fix.
22379
22380         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22381         (gst_queue_loop):
22382         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22383
22384 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22385
22386         * docs/libs/tmpl/gstdparam.sgml:
22387         * docs/libs/tmpl/gstdplinint.sgml:
22388         * docs/libs/tmpl/gstdpman.sgml:
22389         * docs/libs/tmpl/gstdpsmooth.sgml:
22390         * docs/libs/tmpl/gstunitconvert.sgml:
22391           these are obsolete
22392
22393 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22394
22395         * configure.ac:
22396           back to HEAD
22397
22398 === release 0.9.4 ===
22399
22400 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22401
22402         * configure.ac:
22403           releasing 0.9.4, "Tyrannosaurus Rex"
22404
22405 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22406
22407         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22408         (gst_file_sink_get_current_offset):
22409           Use fseeko() and ftello() if available. When falling back on
22410           lseek() to get the current offset, fflush() first to make sure
22411           everything is up-to-date and we get the right offset.
22412
22413 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22414
22415         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22416         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22417         * gst/gsterror.c: (_gst_stream_errors_init):
22418         * gst/gsterror.h:
22419         * gst/gstqueue.c: (gst_queue_loop):
22420         * po/POTFILES.in:
22421           remove prematurely added error category and clean up the instances
22422
22423 2005-10-21  Wim Taymans  <wim@fluendo.com>
22424
22425         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22426         (gst_base_sink_get_position), (gst_base_sink_query),
22427         (gst_base_sink_change_state):
22428         Simply set the right flag when going to playing, that's all
22429         we need to do instead of calling a function inside the object
22430         lock (that could take the lock as well and deadlock)
22431
22432 2005-10-21  Wim Taymans  <wim@fluendo.com>
22433
22434         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22435         (gst_base_src_loop):
22436         Don't warn, the peer element knows what to do best when
22437         the seek failed, it might try something else.
22438
22439 2005-10-21  Wim Taymans  <wim@fluendo.com>
22440
22441         * gst/base/gstbasesrc.c: (gst_base_src_init),
22442         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22443         Fix seeking.
22444
22445 2005-10-21  Wim Taymans  <wim@fluendo.com>
22446
22447         * docs/design/part-segments.txt:
22448         More docs.
22449
22450         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22451         Correctly set caps, even on the subbufer.
22452
22453 2005-10-21  Wim Taymans  <wim@fluendo.com>
22454
22455         * docs/gst/gstreamer-docs.sgml:
22456         * docs/gst/gstreamer-sections.txt:
22457         * gst/gstelement.h:
22458         * gst/gstevent.c:
22459         * gst/gstevent.h:
22460         * gst/gstmessage.h:
22461         * gst/gstpad.h:
22462         * gst/gstparse.h:
22463         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22464         * gst/gsttask.h:
22465         * gst/gstutils.c:
22466         * gst/gstutils.h:
22467         And 2% more doc coverage.
22468
22469 2005-10-21  Andy Wingo  <wingo@pobox.com>
22470
22471         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22472         position reporting.
22473
22474 2005-10-20  Wim Taymans  <wim@fluendo.com>
22475
22476         * gst/gsterror.c: (gst_error_get_message):
22477         * gst/gstparse.h:
22478         * gst/gstquery.h:
22479         * gst/gststructure.c:
22480         * gst/gsttrace.c:
22481         * gst/gstutils.c:
22482         More docs.
22483
22484 2005-10-20  Wim Taymans  <wim@fluendo.com>
22485
22486         * gst/gstbuffer.h:
22487         * gst/gstpad.c:
22488         * gst/gstparse.c:
22489         Another 1% more coverage.
22490
22491 2005-10-20  Wim Taymans  <wim@fluendo.com>
22492
22493         * docs/gst/gstreamer-sections.txt:
22494         * gst/gstelement.c: (gst_element_get_state_func),
22495         (gst_element_abort_state), (gst_element_commit_state),
22496         (gst_element_lost_state):
22497         * gst/gstevent.h:
22498         * gst/gstquery.c: (gst_query_set_position),
22499         (gst_query_parse_position), (gst_query_set_duration),
22500         (gst_query_parse_duration), (gst_query_new_convert):
22501         * gst/gstutils.c:
22502         Yay! 1% more docs coverage.
22503
22504 2005-10-20  Wim Taymans  <wim@fluendo.com>
22505
22506         * gst/gstpad.h:
22507         * gst/gstquery.c: (gst_query_set_position),
22508         (gst_query_parse_position), (gst_query_set_duration),
22509         (gst_query_parse_duration), (gst_query_new_convert):
22510         * gst/gstquery.h:
22511         * gst/gstutils.c: (gst_element_query_convert):
22512         * gst/gstutils.h:
22513         Docs and consistency fixes.
22514
22515 2005-10-20  Wim Taymans  <wim@fluendo.com>
22516
22517         * gst/gsttask.c:
22518         * gst/gsttask.h:
22519         More docs.
22520
22521 2005-10-20  Wim Taymans  <wim@fluendo.com>
22522
22523         * gst/gstbin.c: (message_check), (bin_replace_message),
22524         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22525         (update_degree), (gst_bin_sort_iterator_next),
22526         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22527         Reworked the message handling a bit, cache the messages instead of
22528         only the senders. alows us to do more in the future.
22529
22530 2005-10-20  Wim Taymans  <wim@fluendo.com>
22531
22532         * docs/design/part-TODO.txt:
22533         Update TODO
22534
22535         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22536         (gst_base_sink_query):
22537         Don't use clock time to report position when in EOS.
22538
22539 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22540
22541         * tools/gst-inspect.c: (print_interfaces),
22542         (print_element_properties_info), (print_element_info):
22543           Fix interface output with gst-inspect -a; don't print
22544           newlines after double/float properties.
22545
22546 2005-10-20  Wim Taymans  <wim@fluendo.com>
22547
22548         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22549         (gst_base_sink_query):
22550         Speed up current position calculation.
22551
22552         * gst/base/gstbasesrc.c: (gst_base_src_query),
22553         (gst_base_src_default_newsegment):
22554         Correctly set stream position in newsegment.
22555
22556         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22557         (update_degree), (gst_bin_sort_iterator_next),
22558         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22559         * gst/gstmessage.c: (gst_message_new_custom):
22560         Clean up debugging info
22561
22562         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22563         (gst_queue_loop), (gst_queue_handle_src_query):
22564         Pause task faster.
22565
22566 2005-10-19  Wim Taymans  <wim@fluendo.com>
22567
22568         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22569         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22570         Fix query handling again.
22571
22572 2005-10-19  Wim Taymans  <wim@fluendo.com>
22573
22574         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22575         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22576         * gst/base/gstbasesrc.c: (gst_base_src_query):
22577         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22578         * gst/elements/gsttypefindelement.c:
22579         (gst_type_find_handle_src_query), (find_element_get_length),
22580         (gst_type_find_element_activate):
22581         API change fix.
22582
22583         * gst/gstquery.c: (gst_query_new_position),
22584         (gst_query_set_position), (gst_query_parse_position),
22585         (gst_query_new_duration), (gst_query_set_duration),
22586         (gst_query_parse_duration), (gst_query_set_segment),
22587         (gst_query_parse_segment):
22588         * gst/gstquery.h:
22589         Bundling query position/duration is not a good idea since duration
22590         does not change much and we don't want to recalculate it for every
22591         position query, so they are separated again..
22592         Base value in segment query is not needed.
22593
22594         * gst/gstqueue.c: (gst_queue_handle_src_query):
22595         * gst/gstutils.c: (gst_element_query_position),
22596         (gst_element_query_duration), (gst_pad_query_position),
22597         (gst_pad_query_duration):
22598         * gst/gstutils.h:
22599         Updates for query API change.
22600         Added some docs here and there.
22601
22602 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22603
22604         * check/gst/gstbin.c: (GST_START_TEST):
22605         * check/gst/gstghostpad.c: (GST_START_TEST):
22606         * check/pipelines/cleanup.c: (GST_START_TEST):
22607           wait on thread to die so we can check refcount correctly
22608
22609 2005-10-18  Wim Taymans  <wim@fluendo.com>
22610
22611         * check/pipelines/stress.c: (GST_START_TEST):
22612         Make check a little more time consuming.
22613
22614 2005-10-18  Wim Taymans  <wim@fluendo.com>
22615
22616         * check/Makefile.am:
22617         * check/pipelines/stress.c: (GST_START_TEST),
22618         (simple_launch_lines_suite), (main):
22619         Small state change torture test.
22620
22621         * docs/design/part-states.txt:
22622         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22623         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22624         (gst_base_sink_change_state):
22625         Never take state lock from streaming thread, clean up ugly
22626         hacks. Unfortunatly core does not yet support nice ways to
22627         async commit state.
22628         
22629         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22630         (bin_bus_handler):
22631         Start state recalc if a STATE_DIRTY message is posted, but only
22632         on the toplevel bin.
22633
22634         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22635         (gst_element_get_state_func), (gst_element_abort_state),
22636         (gst_element_commit_state), (gst_element_lost_state),
22637         (gst_element_set_state_func), (gst_element_change_state):
22638         * gst/gstelement.h:
22639         State variables are now protected with the LOCK, the state
22640         lock is only used to serialize _set_state().
22641
22642 2005-10-18  Wim Taymans  <wim@fluendo.com>
22643
22644         * check/gst/gstbin.c: (GST_START_TEST):
22645         * check/gst/gstmessage.c: (GST_START_TEST):
22646         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22647         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22648         (bin_bus_handler):
22649         * gst/gstelement.c: (gst_element_abort_state),
22650         (gst_element_commit_state), (gst_element_lost_state):
22651         * gst/gstmessage.c: (gst_message_new_state_changed),
22652         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22653         (gst_message_new_segment_done), (gst_message_new_duration),
22654         (gst_message_parse_state_changed),
22655         (gst_message_parse_segment_start),
22656         (gst_message_parse_segment_done), (gst_message_parse_duration):
22657         * gst/gstmessage.h:
22658         * tools/gst-launch.c: (event_loop):
22659         Seriously, this is better than a previous commit as we only need
22660         to notify the fact that an element changed state in a streaming
22661         thread, marking the state of the parents dirty, hence the 
22662         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22663         message.
22664
22665 2005-10-18  Wim Taymans  <wim@fluendo.com>
22666
22667         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22668         (gst_bin_recalc_func):
22669         * gst/gstelement.c: (gst_element_set_clock),
22670         (gst_element_abort_state), (gst_element_lost_state):
22671         Cleanups, prepare for state change fixes.
22672
22673 2005-10-18  Wim Taymans  <wim@fluendo.com>
22674
22675         * gst/gstbin.h:
22676         * gst/gstelement.c: (gst_element_class_init),
22677         (gst_element_set_state), (gst_element_set_state_func):
22678         * gst/gstelement.h:
22679         Pending ABI changes.
22680         GThreadPool in GstBinClass to monitor async state changes.
22681         state_cookie in GstElement to detect concurrent gst/set state.
22682         set_state is now virtual too in case a very complicated element
22683         has to be constructed.
22684
22685 2005-10-18  Wim Taymans  <wim@fluendo.com>
22686
22687         * check/gst/gstbin.c: (GST_START_TEST):
22688         * check/gst/gstmessage.c: (GST_START_TEST):
22689         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22690         * gst/gstbin.c: (bin_bus_handler):
22691         * gst/gstelement.c: (gst_element_commit_state),
22692         (gst_element_lost_state):
22693         * gst/gstmessage.c: (gst_message_new_state_changed),
22694         (gst_message_new_segment_start), (gst_message_new_segment_done),
22695         (gst_message_new_duration), (gst_message_parse_state_changed),
22696         (gst_message_parse_segment_start),
22697         (gst_message_parse_segment_done), (gst_message_parse_duration):
22698         * gst/gstmessage.h:
22699         * tools/gst-launch.c: (event_loop):
22700         Make messages future proof.
22701         state-change gets a flag if it was a message comming from the
22702         streaming thread.
22703         segment-start/stop can also be specified in other formats.
22704         A message to notify an app that a pipeline changed playback 
22705         duration.
22706         Also fix a GstMessage leak in -launch
22707
22708 2005-10-18  Andy Wingo  <wingo@pobox.com>
22709
22710         * gst/gstelement.c (gst_element_dispose): More helpful message.
22711
22712 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22713
22714         reviewed by: <delete if not using a buddy>
22715
22716         * common/gtk-doc.mak:
22717
22718 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22719
22720         * gst/gstregistry.c: (gst_registry_scan_path_level):
22721           unref a plug-in we get that was already initialized
22722
22723 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22724
22725         * docs/gst/gstreamer-sections.txt:
22726         * docs/libs/gstreamer-libs-sections.txt:
22727         * gst/gstelement.h:
22728           add new api entries
22729           hide internal macro
22730
22731 2005-10-17  Andy Wingo  <wingo@pobox.com>
22732
22733         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22734         cleanup.
22735
22736         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22737
22738         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22739
22740         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22741         (gst_element_get_state_func): Better debug message.
22742         (gst_element_commit_state): s/INFO/DEBUG/.
22743         (gst_element_lost_state, gst_element_change_state): 
22744
22745         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22746         (gst_message_new_custom): s/INFO/LOG/.
22747
22748 2005-10-17  Michael Smith <msmith@fluendo.com>
22749
22750         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22751           Check if end time is valid using end time, not start time.
22752
22753 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22754
22755         * check/gst-libs/controller.c: (GST_START_TEST),
22756         (gst_controller_suite):
22757         * libs/gst/controller/gstcontroller.c:
22758         (gst_controlled_property_set_interpolation_mode):
22759         * libs/gst/controller/gstcontroller.h:
22760         * libs/gst/controller/gstinterpolation.c:
22761         * testsuite/controller/.cvsignore:
22762         * testsuite/controller/Makefile.am:
22763         * testsuite/controller/interpolator.c:
22764           merge controller testsuites
22765           fix broken tests
22766           remove mem-chunk from docs
22767
22768 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22769
22770         * gst/gstmemchunk.c:
22771         * gst/gstmemchunk.h:
22772         * gst/gsttrashstack.c:
22773         * gst/gsttrashstack.h:
22774           out.  get out.  you're fired.  to the Attic !
22775
22776 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22777
22778         * gst/gstcaps.c: (gst_caps_intersect):
22779           fix signedness issues in a (hopefully) correct way
22780         * gst/gstelement.c: (gst_element_pads_activate):
22781           some debugging
22782         * gst/gstobject.c: (gst_object_set_parent):
22783           some debugging
22784
22785 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22786
22787         * gst/gstvalue.h: Fix prototypes.
22788
22789 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22790
22791         * docs/gst/gstreamer-sections.txt:
22792         * gst/gst.c: (gst_version_string):
22793         * gst/gst.h:
22794         * gst/gstversion.h.in:
22795         * win32/common/libgstreamer.def:
22796           add gst_version_string ()
22797
22798 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22799
22800         * configure.ac:
22801           clean up further
22802         * gst/gst.c: (init_post):
22803         * win32/common/config.h.in:
22804           it's PLUGINDIR now
22805         * gst/gstcaps.c: (gst_caps_intersect):
22806           use gint64, the range could be bigger than a guint
22807
22808 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22809
22810         * gst/gstclock.h:
22811           document potential problem in 2038
22812
22813 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22814
22815         * gst/gstcaps.c: (gst_caps_intersect):
22816           Fix guint j diving under 0
22817
22818 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22819
22820         * configure.ac:
22821         * win32/common/config.h:
22822         * win32/common/config.h.in:
22823           check for process.h, declares getpid() on Windows
22824         * gst/gstinfo.c:
22825           include process.h if we have it
22826         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22827         * gst/gstmemchunk.h:
22828           fix signedness issues
22829         * win32/common/libgstreamer.def:
22830           fix get_type's
22831
22832 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22833
22834         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22835         fix. Because of unsigned ints, caps intersection was going nuts and
22836         trying to access structures with G_MAXUINT index. That fixes
22837         videotestsrc ! ffmpegcolorspace ! fakesink
22838         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22839         consistency.
22840
22841 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22842
22843         * configure.ac:
22844           use the gettext macro
22845         * gst/elements/gstelements.c:
22846         * gst/gst.c:
22847         * gst/indexers/gstindexers.c:
22848           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22849         * win32/common/config.h:
22850           updated config.h
22851         * win32/common/config.h.in:
22852           add the template to generate config.h
22853         * win32/common/gstenumtypes.c:
22854         * win32/common/gstversion.h:
22855           updated copies
22856
22857 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22858
22859         * gst/gst.c: (gst_version):
22860         * gst/gstversion.h.in:
22861           add the nano
22862
22863 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22864
22865         * gst/gstevent.h:
22866           Oops, add missing closing bracket.
22867
22868 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22869
22870         * configure.ac:
22871           use common m4's for argument checking
22872
22873 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22874
22875         * docs/gst/gstreamer-sections.txt:
22876         * gst/gstevent.h:
22877           Add GST_EVENT_TYPE_NAME() macro.
22878
22879 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22880
22881         * gst/gstinfo.c:
22882         * gst/gstpluginfeature.c:
22883         * gst/gsttask.c:
22884           privatize more symbols
22885
22886 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22887
22888         * configure.ac:
22889           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22890           everything that uses GStreamer API should have the includes
22891
22892 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22893
22894         * docs/gst/gstreamer-sections.txt:
22895         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22896         * gst/gstvalue.h:
22897           give each value a _get_type, removes the DATA exports
22898
22899 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22900
22901         * gst/gst.c:
22902         * gst/gst.h:
22903           remove _gst_registry_auto_load, not used anymore
22904         * gst/gstbin.c: (gst_bin_get_type):
22905         * gst/gstbin.h:
22906         * gst/gstelement.c: (gst_element_get_type):
22907         * gst/gstelement.h:
22908         * gst/gstobject.c: (gst_object_get_type):
22909         * gst/gstobject.h:
22910         * gst/gstpad.c: (gst_pad_get_type):
22911         * gst/gstpad.h:
22912           make _get_type functions similar, fixes data export from library
22913
22914 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22915
22916         * configure.ac:
22917           correctly make conditionals
22918         * gst/elements/Makefile.am:
22919         * gst/elements/gstelements.c:
22920           fix typo causing fdsrc not to build
22921
22922 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22923
22924         * testsuite/Makefile.am:
22925         * testsuite/bytestream/.cvsignore:
22926         * testsuite/bytestream/Makefile.am:
22927         * testsuite/bytestream/filepadsink.c:
22928         * testsuite/bytestream/gstbstest.c:
22929         * testsuite/bytestream/test1.c:
22930         * testsuite/bytestream/testfile1:
22931         * testsuite/caps/normalisation.c:
22932         * testsuite/caps/random.c: (main):
22933         * testsuite/cleanup/.cvsignore:
22934         * testsuite/cleanup/Makefile.am:
22935         * testsuite/cleanup/cleanup1.c:
22936         * testsuite/cleanup/cleanup2.c:
22937         * testsuite/cleanup/cleanup3.c:
22938         * testsuite/cleanup/cleanup4.c:
22939         * testsuite/cleanup/cleanup5.c:
22940         * testsuite/controller/interpolator.c:
22941         * testsuite/debug/printf_extension.c: (main):
22942         * testsuite/elements/tee.c:
22943         * testsuite/negotiation/.cvsignore:
22944         * testsuite/negotiation/Makefile.am:
22945         * testsuite/negotiation/pad_link.c:
22946         * testsuite/pad/Makefile.am:
22947         * testsuite/pad/chainnopull.c:
22948         * testsuite/pad/getnopush.c:
22949         * testsuite/pad/link.c:
22950         * testsuite/refcounting/sched.c: (create_pipeline):
22951         * testsuite/registry/Makefile.am:
22952         * testsuite/registry/gst-print-formats.c:
22953         * testsuite/schedulers/.cvsignore:
22954         * testsuite/schedulers/142183-2.c:
22955         * testsuite/schedulers/142183.c:
22956         * testsuite/schedulers/143777-2.c:
22957         * testsuite/schedulers/143777.c:
22958         * testsuite/schedulers/147713.c:
22959         * testsuite/schedulers/147819.c:
22960         * testsuite/schedulers/147894-2.c:
22961         * testsuite/schedulers/147894.c:
22962         * testsuite/schedulers/Makefile.am:
22963         * testsuite/schedulers/group_link.c:
22964         * testsuite/schedulers/queue_link.c:
22965         * testsuite/schedulers/relink.c:
22966         * testsuite/schedulers/unlink.c:
22967         * testsuite/schedulers/unref.c:
22968         * testsuite/schedulers/useless_iteration.c:
22969         * testsuite/states/bin.c:
22970           clean out/remove some stuff from the testsuite directories
22971
22972 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22973
22974         * configure.ac:
22975           check for some headers
22976         * gst/elements/Makefile.am:
22977         * gst/elements/gstelements.c:
22978           don't compile fdsrc without sys/socket.h
22979         * gst/indexers/Makefile.am:
22980         * gst/indexers/gstindexers.c: (plugin_init):
22981           don't compile fileindex without mmap
22982
22983 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22984
22985         * configure.ac:
22986           reorganize
22987           clean up
22988           document more
22989           remove cruft
22990         * check/Makefile.am:
22991         * docs/gst/Makefile.am:
22992         * examples/helloworld/Makefile.am:
22993         * gst/Makefile.am:
22994         * gst/base/Makefile.am:
22995         * gst/check/Makefile.am:
22996         * gst/elements/Makefile.am:
22997         * gst/indexers/Makefile.am:
22998         * gst/parse/Makefile.am:
22999         * libs/gst/controller/Makefile.am:
23000         * libs/gst/dataprotocol/Makefile.am:
23001         * examples/helloworld/helloworld.c: (event_loop):
23002           compile fixes, though it's not being compiled currently
23003
23004 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23005
23006         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23007           Add some simple tests for the new taglist date API.
23008
23009 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23010
23011         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23012         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23013           Beautify 'last-message' output: print 'none' for buffer timestamps
23014           and durations if none is set; improve alignment with next messages.
23015
23016 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23017
23018         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23019         * gst/gstpluginfeature.h:
23020         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23021         * gst/gstregistry.h:
23022         * docs/gst/gstreamer-sections.txt:
23023           Add new API to check plugin feature version requirements.
23024
23025         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23026           Some basic tests for the above.         
23027
23028 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23029
23030         * gst/gststructure.c: (gst_structure_to_string):
23031           guard against NULL printf - happens when for example
23032           a message structure with GstClock gets serialized
23033
23034 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23035
23036         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23037           Fix presumable copy'n'pasto.
23038
23039 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23040
23041         * gst/elements/gstfakesrc.h:
23042         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23043         * gst/elements/gsttypefindelement.c:
23044           fix some signedness
23045         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23046           I wonder if this could actually write +2GB files before
23047
23048 2005-10-13  Andy Wingo  <wingo@pobox.com>
23049
23050         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23051         Fix Timmeke Waymans bug.
23052         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23053         string of the proper length to gst_caps_from_string. There's a
23054         potential for, before this fix, that this could cause someone
23055         connecting over the network to cause a segfault if the payload is
23056         not NUL-terminated.
23057
23058 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23059
23060         * docs/design/draft-push-pull.txt:
23061         * docs/design/part-overview.txt:
23062         * docs/random/TODO-pre-0.9:
23063         * docs/random/old/ChangeLog.gstreamer:
23064         * gst/base/gstpushsrc.c:
23065         * gst/gstclock.c:
23066           fixed typos
23067
23068 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23069
23070         * gst/glib-compat.c: (gst_flags_get_first_value):
23071         * gst/glib-compat.h:
23072         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23073         (gst_value_compare_double), (gst_value_serialize_flags):
23074           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23075           infinite loop
23076
23077 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23078
23079         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23080         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23081           fix up debugging
23082         * tools/gst-launch.c: (event_loop):
23083           print out clock nicely
23084
23085 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23086
23087         * docs/gst/gstreamer-sections.txt:
23088         * gst/gsttaglist.h:
23089         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23090         (gst_tag_list_get_date_index):
23091           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23092           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23093
23094 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23095
23096         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23097         (gst_collectpads_chain):
23098         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23099         in CollectData.
23100
23101 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23102
23103         * docs/gst/gstreamer-sections.txt:
23104         * gst/gst.c:
23105         * gst/gsterror.h:
23106         * tools/gst-inspect.c: (main):
23107         * tools/gst-launch.c: (main):
23108         * tools/gst-run.c: (main):
23109         * tools/gst-xmlinspect.c: (main):
23110           fix GOption context leaks
23111           doc fixes
23112
23113 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23114
23115         * gst/gstbus.c:
23116           use HAVE_UNISTD_H
23117         * win32/common/config.h:
23118           update config
23119         * win32/vs6/grammar.dsp:
23120         * win32/vs6/libgstelements.dsp:
23121         * win32/vs6/libgstreamer.dsp:
23122           update vs6 files
23123
23124 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23125
23126         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23127         * gst/base/gstbasesrc.c: (gst_base_src_query):
23128           fix more guint64<->gdouble conversions
23129
23130 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23131
23132         * Makefile.am:
23133           add win32-update target
23134         * win32/common/gstconfig.h:
23135         * win32/common/gstenumtypes.c:
23136         * win32/common/gstenumtypes.h:
23137         * win32/common/gstversion.h:
23138           add files that visual studio can't generate
23139
23140 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23141
23142         * Makefile.am:
23143           add a win32-update target
23144         * configure.ac:
23145
23146 2005-10-12  Wim Taymans  <wim@fluendo.com>
23147
23148         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23149         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23150         * gst/gstelement.c: (gst_element_commit_state),
23151         (gst_element_set_state):
23152         Protect flags with proper lock.
23153         unref provided cached clock in dispose.
23154
23155 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23156
23157         * gst/gst.c:
23158         * gst/gstminiobject.h:
23159         * gst/gstpad.h:
23160         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23161           removed unused flags from miniobject
23162           doc fixes
23163
23164 2005-10-12  Wim Taymans  <wim@fluendo.com>
23165
23166         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23167         (gst_file_sink_event), (gst_file_sink_render):
23168         Flush before seeking.
23169
23170 2005-10-12  Andy Wingo  <wingo@pobox.com>
23171
23172         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23173         always been the case.
23174
23175 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23176
23177         * check/gst/gstbin.c: (GST_START_TEST):
23178         * docs/gst/gstreamer-sections.txt:
23179         * gst/base/gstbasesink.c: (gst_base_sink_init):
23180         * gst/base/gstbasesrc.c: (gst_base_src_init),
23181         (gst_base_src_get_range), (gst_base_src_check_get_range),
23182         (gst_base_src_start), (gst_base_src_stop):
23183         * gst/base/gstbasesrc.h:
23184         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23185         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23186         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23187         (bin_bus_handler):
23188         * gst/gstbin.h:
23189         * gst/gstbuffer.h:
23190         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23191         * gst/gstbus.h:
23192         * gst/gstelement.c: (gst_element_is_locked_state),
23193         (gst_element_set_locked_state), (gst_element_commit_state),
23194         (gst_element_set_state):
23195         * gst/gstelement.h:
23196         * gst/gstindex.c: (gst_index_init):
23197         * gst/gstindex.h:
23198         * gst/gstminiobject.h:
23199         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23200         (gst_object_set_parent):
23201         * gst/gstobject.h:
23202         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23203         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23204         * gst/gstpad.h:
23205         * gst/gstpadtemplate.h:
23206         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23207         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23208         * gst/gstpipeline.h:
23209         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23210         (gst_file_index_commit):
23211         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23212         * testsuite/pad/link.c: (gst_test_src_init),
23213         (gst_test_filter_init), (gst_test_sink_init):
23214         * testsuite/states/locked.c: (main):
23215           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23216           moved bitshift from macro to enum definition
23217
23218 2005-10-12  Wim Taymans  <wim@fluendo.com>
23219
23220         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23221         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23222         (gst_file_sink_render):
23223         Some more debugging info.
23224
23225 2005-10-12  Wim Taymans  <wim@fluendo.com>
23226
23227         * docs/design/part-states.txt:
23228         * tools/gst-launch.c: (main):
23229         Some doc updates.
23230         Revert non-intentional change.
23231
23232 2005-10-12  Wim Taymans  <wim@fluendo.com>
23233
23234         * check/gst/gstbin.c: (GST_START_TEST):
23235         * check/gst/gstelement.c: (GST_START_TEST):
23236         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23237         * check/gst/gstghostpad.c: (GST_START_TEST):
23238         * check/gst/gstpipeline.c: (GST_START_TEST):
23239         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23240         * check/states/sinks.c: (GST_START_TEST):
23241         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23242         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23243         (gst_bin_remove_func), (gst_bin_get_state_func),
23244         (gst_bin_recalc_state), (gst_bin_change_state_func),
23245         (bin_bus_handler):
23246         * gst/gstelement.c: (gst_element_get_state_func),
23247         (gst_element_get_state), (gst_element_abort_state),
23248         (gst_element_commit_state), (gst_element_set_state),
23249         (gst_element_change_state), (gst_element_change_state_func):
23250         * gst/gstelement.h:
23251         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23252         (gst_pipeline_provide_clock_func):
23253         * gst/gstutils.c: (gst_element_link_pads_filtered):
23254         * tools/gst-launch.c: (main):
23255         * tools/gst-typefind.c: (main):
23256         Use GstClockTime in _get_state() instead of GTimeVal.
23257         Remove old code in gstutils.c
23258
23259 2005-10-12  Andy Wingo  <wingo@pobox.com>
23260
23261         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23262         removed.
23263
23264         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23265         there is no task. Shouldn't affect any code, as nothing in our
23266         plugins checks this return value.
23267         (gst_pad_stop_task): Also take the stream lock if the pad has no
23268         task. Docs updated.
23269
23270 2005-10-12  Wim Taymans  <wim@fluendo.com>
23271
23272         * gst/gstpad.c: (pre_activate), (post_activate),
23273         (gst_pad_activate_pull), (gst_pad_activate_push):
23274         Cleanup activation code. Reset old state if
23275         activation failed.
23276
23277 2005-10-12  Wim Taymans  <wim@fluendo.com>
23278
23279         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23280         (gst_base_sink_change_state):
23281         No need to prerol after receiving EOS.
23282
23283         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23284         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23285         * gst/elements/gstidentity.c: (gst_identity_event):
23286         Print events more verbosely.
23287
23288 2005-10-12  Wim Taymans  <wim@fluendo.com>
23289
23290         * check/Makefile.am:
23291         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23292         * check/states/sinks2.c:
23293         Moved sinks2 testcode in sinks check.
23294
23295         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23296         (gst_bin_remove_func), (gst_bin_recalc_state),
23297         (gst_bin_change_state_func), (bin_bus_handler):
23298         Fix potential race condition when _get_state() iterated over an
23299         ASYNC element right before it posted a state completion.
23300
23301         * gst/gstclock.h:
23302         Do proper cast here.
23303
23304         * gst/gstevent.c: (gst_event_new_newsegment),
23305         (gst_event_parse_newsegment):
23306         A playback rate of 0.0 is not allowed.
23307
23308 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23309
23310         * win32/common/config.h:
23311         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23312         (_trewinddir), (_ttelldir), (_tseekdir):
23313         * win32/common/dirent.h:
23314         * win32/common/gtchar.h:
23315         * win32/common/libgstbase.def:
23316         * win32/common/libgstreamer.def:
23317         * win32/vs6/grammar.dsp:
23318         * win32/vs6/gst_inspect.dsp:
23319         * win32/vs6/gst_launch.dsp:
23320         * win32/vs6/gstreamer.dsw:
23321         * win32/vs6/libgstbase.dsp:
23322         * win32/vs6/libgstelements.dsp:
23323         * win32/vs6/libgstreamer.dsp:
23324           Visual Studio 6 project files, and a new common directory.
23325           Phear.
23326
23327 2005-10-11  Wim Taymans  <wim@fluendo.com>
23328
23329         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23330         (gst_base_sink_do_sync), (gst_base_sink_query),
23331         (gst_base_sink_change_state):
23332         * gst/base/gstbasesink.h:
23333         Correctly parse newsegment info.
23334
23335 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23336
23337         * gst/gst.c: (init_post):
23338           split plugin paths correctly
23339
23340 2005-10-11  Wim Taymans  <wim@fluendo.com>
23341
23342         * check/gst/gstevent.c: (GST_START_TEST):
23343         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23344         (gst_base_sink_change_state):
23345         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23346         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23347         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23348         * gst/gstevent.c: (gst_event_new_newsegment),
23349         (gst_event_parse_newsegment):
23350         * gst/gstevent.h:
23351         Added extra flag to newsegment for future API freeze.
23352         Updated check and base elements.
23353
23354 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23355
23356         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23357         (gst_collectpads_add_pad), (gst_collectpads_pop),
23358         (gst_collectpads_event), (gst_collectpads_chain):
23359         * gst/base/gstcollectpads.h: Handle EOS correctly.
23360
23361 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23362
23363         * tools/gst-launch.c: (main):
23364           more null protecting
23365
23366 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23367
23368         * gst/gst-i18n-lib.h:
23369           check for ENABLE_NLS, not GETTEXT_PACKAGE
23370         * gst/gstregistry.c: (gst_registry_add_plugin),
23371         (gst_registry_scan_path_level),
23372         (_gst_registry_remove_cache_plugins):
23373           protect possibly NULL strings
23374         * gst/parse/types.h:
23375           config.h already included before
23376         * tools/gst-inspect.c: (main):
23377           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23378           check for ENABLE_NLS, not GETTEXT_PACKAGE
23379         * tools/gst-launch.c: (main):
23380           check for ENABLE_NLS, not GETTEXT_PACKAGE
23381
23382 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23383
23384         * configure.ac:
23385           if we don't have glib, fail before testing 2.8
23386         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23387           fix a leak, should fix plugins-base testsuite
23388
23389 2005-10-11  Andy Wingo  <wingo@pobox.com>
23390
23391         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23392         take the mode we're going to as an arg. Go head and set the mode
23393         and flushing flags now, so that if the activate function starts a
23394         thread all the flags will be in the right state.
23395         (post_activate): Renamed also. Just handle making sure streaming
23396         finishes for the deactivation case, and setting the deactivated
23397         mode.
23398         (gst_pad_set_active): Complain loudly if deactivation fails.
23399         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23400         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23401         remove the terrible hack.
23402
23403 2005-10-11  Wim Taymans  <wim@fluendo.com>
23404
23405         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23406         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23407         (gst_bin_recalc_state), (gst_bin_change_state_func),
23408         (gst_bin_dispose), (bin_bus_handler):
23409         * gst/gstbin.h:
23410         Prepare to make current EOS message queue more generic.
23411         Fix some typos.
23412
23413         * gst/gstevent.c: (gst_event_new_newsegment),
23414         (gst_event_parse_newsegment):
23415         * gst/gstevent.h:
23416         Rename base to stream_time.
23417
23418         * gst/gstmessage.h:
23419         Fix typo in docs.
23420
23421 2005-10-11  Wim Taymans  <wim@fluendo.com>
23422
23423         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23424         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23425         (gst_bin_change_state_func), (bin_bus_handler):
23426         * gst/gstbin.h:
23427         Work on proper clock selection.
23428
23429 2005-10-11  Edward Hervey  <edward@fluendo.com>
23430
23431         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23432         * libs/gst/controller/gstcontroller.h:
23433         Added GList* version of _remove_properties() in order to be able to wrap
23434         it in bindings.
23435
23436 2005-10-11  Wim Taymans  <wim@fluendo.com>
23437
23438         * docs/design/part-states.txt:
23439         Some more docs.
23440
23441         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23442         (gst_bin_change_state_func), (bin_bus_handler):
23443         Doc updates. Don't distribute the same clock over and over again.
23444
23445         * gst/gstclock.c:
23446         * gst/gstclock.h:
23447         Doc updates.
23448
23449         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23450         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23451         (gst_pad_send_event):
23452         * gst/gstpad.h:
23453         Make probe emission threadsafe again.
23454         Register quarks and move _get_name() from utils.
23455         Doc updates.
23456
23457         * gst/gstpipeline.c: (gst_pipeline_class_init),
23458         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23459         Only redistribute the clock of it changed.
23460
23461         * gst/gstsystemclock.h:
23462         Doc updates. 
23463
23464         * gst/gstutils.c:
23465         * gst/gstutils.h:
23466         Moved the _flow_get_name() to GstPad.
23467
23468 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23469
23470         * check/gst-libs/gdp.c: (GST_START_TEST):
23471         * check/gst/gstcaps.c: (GST_START_TEST):
23472         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23473         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23474         (gst_dp_packet_from_caps):
23475           fix more valgrind warnings before turning up the heat
23476
23477 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23478
23479         * gst/parse/grammar.y:
23480           some cleanup before the hacking
23481
23482 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23483
23484         * gst/base/gstbasesrc.c: (gst_base_src_query):
23485           use conversions
23486         * gst/gstutils.c: (gst_guint64_to_gdouble),
23487         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23488         * gst/gstutils.h:
23489           externalize, basesrc uses it
23490           obviously the implementation needs testing
23491
23492 2005-10-10  Wim Taymans  <wim@fluendo.com>
23493
23494         * tests/sched/Makefile.am:
23495         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23496         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23497
23498 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23499
23500         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23501           apparently converting from guint64 to double is not implemented
23502           on MSVC
23503
23504 2005-10-10  Wim Taymans  <wim@fluendo.com>
23505
23506         * check/Makefile.am:
23507         * check/generic/states.c: (GST_START_TEST):
23508         * check/gst/gstbin.c: (GST_START_TEST):
23509         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23510         * check/states/sinks.c: (GST_START_TEST):
23511         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23512         (main):
23513         Check fixes, use API as stated in design docs, remove hacks.
23514
23515         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23516         (gst_base_sink_change_state):
23517         Catch stopping our task while we're shutting down.
23518
23519         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23520         (gst_bin_remove_func), (gst_bin_get_state_func),
23521         (gst_bin_recalc_state), (gst_bin_change_state_func),
23522         (bin_bus_handler):
23523         * gst/gstbin.h:
23524         * gst/gstelement.c: (gst_element_init),
23525         (gst_element_get_state_func), (gst_element_abort_state),
23526         (gst_element_commit_state), (gst_element_lost_state),
23527         (gst_element_set_state), (gst_element_change_state),
23528         (gst_element_change_state_func):
23529         * gst/gstelement.h:
23530         New state change algorithm (see #318116)
23531
23532         * gst/gstpipeline.c: (gst_pipeline_class_init),
23533         (gst_pipeline_init), (gst_pipeline_set_property),
23534         (gst_pipeline_get_property), (do_pipeline_seek),
23535         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23536         * gst/gstpipeline.h:
23537         Remove crude state change hacks.
23538
23539         * gst/gstutils.h:
23540         Remove crude hacks.
23541
23542         * tools/gst-launch.c: (main):
23543         Fixes for state change. Needs some more work to fully use the
23544         new stuff.
23545
23546 2005-10-10  Andy Wingo  <wingo@pobox.com>
23547
23548         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23549
23550         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23551         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23552         issue.
23553
23554 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23555
23556         * gst/gstiterator.c: (gst_iterator_new):
23557           Fix my previous commit: GTypes passed to gst_iterator_new()
23558           can be fundamental types.
23559
23560 2005-10-10  Wim Taymans  <wim@fluendo.com>
23561
23562         * gst/gstelement.c: (gst_element_iterate_pad_list),
23563         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23564         (gst_element_iterate_sink_pads):
23565         Use src/sink pads lists for the respective iterators instead
23566         of filtering.
23567
23568 2005-10-10  Andy Wingo  <wingo@pobox.com>
23569
23570         Merged in popt removal + GOption addition patch from Ronald, bug
23571         #169772.
23572
23573         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23574         GstElement macros around, remove popt-related symbols, add goption
23575         stuff.
23576
23577         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23578         
23579         * docs/gst/Makefile.am:
23580         * docs/libs/Makefile.am: No POPT_CFLAGS.
23581         
23582         * examples/manual/Makefile.am:
23583         * docs/manual/basics-init.xml: Doc updates with an example.
23584         
23585         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23586         (gst_init), (parse_one_option), (parse_goption_arg):
23587         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23588         bit of hand merging and debugging to get the GOption stuff working
23589         tho.
23590         
23591         * tests/Makefile.am:
23592         * tools/Makefile.am:
23593         * tools/gst-inspect.c: (main):
23594         * tools/gst-launch.c: (main):
23595         * tools/gst-run.c: (main):
23596         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23597
23598 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23599
23600         * gst/gstiterator.c: (gst_iterator_new):
23601           Add assertions to make sure passed GType is likely to really
23602           be a GType (as the compiler won't catch it if the size and
23603           GType arguments get mixed up, see #318447).
23604
23605 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23606
23607         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23608
23609         * gst/gstbin.c: (gst_bin_iterate_sorted):
23610           Pass GType and size arguments to gst_iterator_new() in the right
23611           order (maybe we should make _new() take the GType as first argument
23612           just like _new_list()?) (#318447).
23613           
23614
23615 2005-10-10  Wim Taymans  <wim@fluendo.com>
23616
23617         * gst/gstelement.c: (gst_element_finalize):
23618         And free the GStaticRecMutex too
23619
23620 2005-10-10  Andy Wingo  <wingo@pobox.com>
23621
23622         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23623         Allocate and free the mutex properly.
23624
23625         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23626         New macros.
23627         (GstElement): The state_lock is now recursive. Rebuild your
23628         plugins, suckers. Old macros adapted.
23629
23630         * docs/gst/gstreamer-sections.txt: Doc updates.
23631
23632         * gst/gstutils.h:
23633         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23634         (g_static_rec_cond_wait): Ported from state changes patch, while
23635         we wait on bug #317802 to be solved in a well-distributed GLib.
23636
23637         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23638         gst_element_change_state, variable name changes.
23639         (gst_element_change_state): Split out of gst_element_set_state in
23640         preparation for the state change merge. Doesn't pay attention to
23641         the 'transition' argument.
23642         (gst_element_set_state): Updates, hopefully purely cosmetic.
23643         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23644         state change patch.
23645         (gst_element_get_state_func): Renamed from get_state, cosmetic
23646         changes.
23647
23648 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23649
23650         * gst/elements/gstelements.c:
23651         * win32/GStreamer.vcproj:
23652         * win32/config.h:
23653         * win32/dirent.c: (_tseekdir):
23654         * win32/gst-inspect.vcproj:
23655         * win32/gst-launch.vcproj:
23656         * win32/gstconfig.h:
23657         * win32/gstelements.vcproj:
23658         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23659         * win32/gstreamer.def:
23660         * win32/msvc71.sln:
23661           updates for the win32 build (patch from Sebastien Moutte)
23662
23663 2005-10-10  Andy Wingo  <wingo@pobox.com>
23664
23665         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23666         gst_bin_get_state, cleaned up (but no logic changes).
23667         (bin_element_is_sink): Comment updates.
23668         (sink_iterator_filter): Remove needless cast.
23669         (gst_bin_iterate_sinks): Doc update.
23670         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23671         cleaned up (but no logic changes).
23672
23673         * check/states/sinks.c (test_src_sink): Cleanups from the state
23674         change patch.
23675         (test_livesrc_sink): Sync on the state.
23676
23677         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23678         the state change patch.
23679
23680         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23681         change patch.
23682
23683         * check/gst/gstbin.c: Merge in some style fixes and additional
23684         checks from Wim's state change patch.
23685
23686 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23687
23688         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23689         (gst_type_find_helper):
23690           Check whether we have the requested data already in our list of
23691           cached buffers before pulling a new buffer; also make the buffer
23692           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23693
23694 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23695
23696         * gst/gstcaps.c:
23697         * gst/gstevent.c:
23698           doc updates
23699         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23700           don't use long long, it's not portable.  Replacing with
23701           gint64 seems to work; let's hope no skeletons fall out of the closet.
23702
23703 2005-10-10  Andy Wingo  <wingo@pobox.com>
23704
23705         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23706
23707 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23708
23709         * docs/gst/gstreamer-sections.txt:
23710         * gst/gstevent.c:
23711         * gst/gstevent.h:
23712         * gst/gstinfo.c:
23713         * gst/gstinfo.h:
23714         * gst/gstmessage.c: (gst_message_parse_state_changed):
23715         * gst/gstpad.c:
23716         * gst/gstpad.h:
23717           more docs, fix compilation
23718
23719 2005-10-09  Philippe Khalaf <burger@speedy.org>
23720         * gst/gstmessage.c:
23721           Fixed a few forgotten variables on previous commit
23722
23723 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23724
23725         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23726           Fix evil typefind crasher: getrange() might return a short
23727           buffer at the end of a file, but gst_type_find_peek() must
23728           either return the full data as requested or NULL, but
23729           never a short buffer.
23730
23731 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23732
23733         * gst/gstmessage.c: (gst_message_new_state_changed),
23734         (gst_message_parse_state_changed):
23735         * gst/gstmessage.h:
23736           don't use "new", it's a C++ keyword
23737
23738 2005-10-08  Wim Taymans  <wim@fluendo.com>
23739
23740         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23741         * gst/gstelement.c: (gst_element_post_message):
23742         * gst/gstpipeline.c: (gst_pipeline_change_state):
23743         Small docs and debug updates.
23744
23745 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23746
23747         * docs/gst/gstreamer-sections.txt:
23748         * gst/gstelementfactory.c:
23749         * gst/gstevent.c:
23750         * gst/gsttaglist.c:
23751           more docs
23752
23753 2005-10-08  Wim Taymans  <wim@fluendo.com>
23754
23755         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23756         (gst_bin_dispose), (bin_bus_handler):
23757         Fix typos, add comments.
23758         Clear EOS list when going to PAUSED from any direction and do it
23759         in a threadsafe way.
23760         Get base time in a threadsafe way too.
23761         Fix confusing debug in the change_state function.
23762         Various other small cleanups.
23763         
23764         * gst/gstelement.c: (gst_element_post_message):
23765         Fix very verbose bus posting code.
23766
23767         * gst/gstpipeline.c: (gst_pipeline_class_init),
23768         (gst_pipeline_set_property), (gst_pipeline_get_property),
23769         (gst_pipeline_change_state):
23770         Small ARG_ -> PROP_ cleanup
23771
23772 2005-10-08  Wim Taymans  <wim@fluendo.com>
23773
23774         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23775         Do a less CPU demanding EOS check because we can.
23776
23777 2005-10-08  Wim Taymans  <wim@fluendo.com>
23778
23779         * libs/gst/dataprotocol/dataprotocol.c:
23780         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23781         (gst_dp_packet_from_event):
23782         * libs/gst/dataprotocol/dataprotocol.h:
23783         * libs/gst/dataprotocol/dp-private.h:
23784         It's about time we bump the version number.
23785         Since event types don't fit in the guint8 anymore describing
23786         the payload type, make payload type 16 bits wide.
23787
23788 2005-10-08  Wim Taymans  <wim@fluendo.com>
23789
23790         * docs/design/part-TODO.txt:
23791         * docs/design/part-clocks.txt:
23792         * docs/design/part-events.txt:
23793         * docs/design/part-gstbin.txt:
23794         * docs/design/part-gstelement.txt:
23795         * docs/design/part-gstpipeline.txt:
23796         * docs/design/part-live-source.txt:
23797         * docs/design/part-messages.txt:
23798         * docs/design/part-overview.txt:
23799         * docs/design/part-states.txt:
23800         Many doc updates.
23801
23802 2005-10-08  Wim Taymans  <wim@fluendo.com>
23803
23804         * gst/gstevent.c:
23805         * gst/gstevent.h:
23806         Fix event quark registration.
23807         Add some space between events so we can insert them in the
23808         right groups.
23809
23810 2005-10-08  Wim Taymans  <wim@fluendo.com>
23811
23812         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23813         (gst_base_sink_handle_buffer):
23814         Better log message.
23815
23816         * gst/gstbus.h:
23817         * gst/gstelement.h:
23818         More docs.
23819
23820         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23821         (gst_queue_set_property), (gst_queue_get_property):
23822         * gst/gstqueue.h:
23823         Remove old unused properties.
23824
23825 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23826         * docs/gst/gstreamer-sections.txt:
23827         * gst/gstmessage.c:
23828         * gst/gstmessage.h:
23829         * gst/gstminiobject.c:
23830         * gst/gstminiobject.h:
23831         * gst/gstobject.h:
23832         * gst/gstpad.h:
23833         * gst/gstutils.h:
23834           lots of new docs and doc fixes
23835
23836 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23837
23838         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23839         * gst/gstplugin.h:
23840         * gst/gstregistry.c: (gst_registry_lookup_locked),
23841         (gst_registry_scan_path_level):
23842         * gst/gstregistryxml.c: (load_plugin):
23843           Only ever load one plugin for a given plugin basename.
23844           This ensures correct overriding of GST_PLUGIN_PATH over
23845           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23846           system installed plugins.
23847
23848 2005-10-08  Wim Taymans  <wim@fluendo.com>
23849
23850         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23851         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23852         Prepare for doing QOS.
23853
23854 2005-10-08  Wim Taymans  <wim@fluendo.com>
23855
23856         * check/gst/gstbin.c: (GST_START_TEST):
23857         * check/pipelines/cleanup.c: (GST_START_TEST):
23858         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23859         Allow new clock message too.
23860
23861 2005-10-08  Wim Taymans  <wim@fluendo.com>
23862
23863         * gst/gstmessage.c: (gst_message_new_error),
23864         (gst_message_new_warning), (gst_message_new_tag),
23865         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23866         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23867         (gst_message_new_segment_start), (gst_message_new_segment_done),
23868         (gst_message_parse_state_changed),
23869         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23870         (gst_message_parse_new_clock):
23871         * gst/gstmessage.h:
23872         Also carry the clock in question.
23873
23874 2005-10-08  Wim Taymans  <wim@fluendo.com>
23875
23876         * gst/gstmessage.c: (gst_message_new_custom),
23877         (gst_message_new_eos), (gst_message_new_error),
23878         (gst_message_new_warning), (gst_message_new_tag),
23879         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23880         (gst_message_new_new_clock), (gst_message_new_segment_start),
23881         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23882         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23883         * gst/gstmessage.h:
23884         Clean up.
23885         Added clock related messages.
23886
23887         * gst/gstpipeline.c: (gst_pipeline_change_state):
23888         Post message when the clock changed.
23889
23890         * tools/gst-launch.c: (event_loop):
23891         Print new clock.
23892
23893 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23894
23895         * tools/gst-inspect.c: (print_element_properties_info):
23896           Can't pass NULL strings to g_print() on windows.
23897
23898 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23899
23900         * docs/Makefile.am:
23901         * docs/gst/Makefile.am:
23902         * docs/gst/gstreamer-docs.sgml:
23903         * docs/gst/running.xml:
23904         * docs/version.entities.in:
23905           add a chapter on running GStreamer.
23906           document GST_DEBUG and GST_PLUGIN* env vars
23907
23908 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23909
23910         * Makefile.am:
23911           remove include dir
23912         * configure.ac:
23913           remove PLUGINS_BUILDDIR stuff
23914         * gst/gst.c: (init_post):
23915           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23916         * idiottest.mak:
23917           remove, it was condescending and not needed
23918
23919 2005-10-08  Wim Taymans  <wim@fluendo.com>
23920
23921         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23922         (gst_base_sink_handle_object), (gst_base_sink_event),
23923         (gst_base_sink_wait), (gst_base_sink_handle_event),
23924         (gst_base_sink_change_state):
23925         * gst/base/gstbasesink.h:
23926         Repost EOS message while going to PLAYING if still EOS.
23927         Make sure that when receiving a FLUSH_START we don't attempt
23928         to sync on the clock anymore.
23929
23930 2005-10-08  Wim Taymans  <wim@fluendo.com>
23931
23932         * tools/gst-launch.c: (event_loop):
23933         Better message printout.
23934
23935 2005-10-08  Wim Taymans  <wim@fluendo.com>
23936
23937         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23938         (gst_bin_child_proxy_get_children_count):
23939         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23940         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23941         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23942         (gst_child_proxy_set_valist):
23943         * gst/parse/grammar.y:
23944         Make ChildProxy threadsafe and fix mem leaks.
23945
23946 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23947
23948         * gst/gst.c: (init_post):
23949           debug the GST_PLUGIN_ env vars
23950
23951 2005-10-08  Wim Taymans  <wim@fluendo.com>
23952
23953         * check/gst/gstbin.c: (GST_START_TEST):
23954         * check/gst/gstmessage.c: (GST_START_TEST):
23955         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23956         * gst/gstelement.c: (gst_element_commit_state),
23957         (gst_element_lost_state):
23958         * gst/gstmessage.c: (gst_message_new_state_changed),
23959         (gst_message_parse_state_changed):
23960         * gst/gstmessage.h:
23961         * tools/gst-launch.c: (event_loop):
23962         Added extra field to STATE_CHANGE message with the pending
23963         state, which will be different from the new state soon.
23964
23965 2005-10-08  Wim Taymans  <wim@fluendo.com>
23966
23967         * gst/gstbus.c: (gst_bus_pop):
23968         * gst/gstclock.c:
23969         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23970         Small cleanups and doc updates.
23971
23972 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23973
23974         * gst/gst.c: (init_pre):
23975         * gst/gstbin.c: (gst_bin_add_func):
23976           log distributing clocks and base time
23977         * gst/gstregistry.c: (gst_registry_add_plugin),
23978         (gst_registry_scan_path_level), (gst_registry_scan_path):
23979           clean up the debugging output a little
23980         * gst/gstutils.c: (gst_element_state_get_name):
23981           warn about a memleak (I've actually seen this be used, though
23982           it was probably a bug)
23983
23984 2005-10-07  Wim Taymans  <wim@fluendo.com>
23985
23986         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23987         (gst_base_src_init), (gst_base_src_default_newsegment),
23988         (gst_base_src_newsegment), (gst_base_src_do_seek),
23989         (gst_base_src_loop), (gst_base_src_start):
23990         * gst/base/gstbasesrc.h:
23991         Make the newsegment event customizable by subclasses.
23992
23993 2005-10-07  Wim Taymans  <wim@fluendo.com>
23994
23995         * gst/gstevent.c: (gst_event_new_buffersize),
23996         (gst_event_parse_buffersize):
23997         * gst/gstevent.h:
23998         New event for future idea.
23999
24000 2005-10-07  Andy Wingo  <wingo@pobox.com>
24001
24002         * gst/gstelement.c (gst_element_post_message): Doc update.
24003
24004         * docs/gst/gstreamer-sections.txt: Update.
24005
24006         * gst/gstmessage.c (gst_message_new_application): Made into a
24007         function like honest API calls.
24008         (gst_message_new_element): New message type.
24009
24010         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24011
24012         * check/elements/fakesrc.c (test_no_preroll): New check, checks
24013         that setting a live fakesrc to PAUSED returns NO_PREROLL both
24014         times.
24015
24016         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24017         NO_PREROLL from gst_element_change_state to fall through.
24018
24019 2005-10-07  Wim Taymans  <wim@fluendo.com>
24020
24021         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24022         (gst_ghost_pad_do_activate_push):
24023         Activating a ghostpad with no internal pad in push mode
24024         is ok.
24025
24026 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24027
24028         * gst/gstobject.h:
24029           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24030           Fixes compilation on Windows.
24031
24032 2005-10-07  Michael Smith <msmith@fluendo.com>
24033
24034         * tools/gst-inspect.c:
24035           Print out feature and plugin count at the end when printing out
24036           all features.
24037
24038 2005-10-04  Michael Smith <msmith@fluendo.com>
24039
24040         * gst/gsterror.c: (_gst_stream_errors_init):
24041           Add another error string used in a few existing plugins.
24042
24043         * gst/gstplugin.c:
24044         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24045         * tools/gst-inspect.c: (print_element_info):
24046           When a feature disappears from a plugin (and the feature exists in
24047           the cached registry file), things went horribly wrong. This isn't a
24048           complete fix, we should actually be removing the 'missing' features
24049           from the features list when we load the actual plugin. That's not
24050           yet implemented. 
24051
24052 2005-10-04  Johan Dahlin  <johan@gnome.org>
24053
24054         * check/gst/gstiterator.c: (GST_START_TEST):
24055         * gst/gstbin.c: (gst_bin_iterate_elements),
24056         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24057         * gst/gstelement.c: (gst_element_iterate_pads):
24058         * gst/gstformat.c: (gst_format_iterate_definitions):
24059         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24060         (gst_iterator_new_list), (gst_iterator_filter):
24061         * gst/gstiterator.h:
24062         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24063         Add a GType to GstIterator, update callsites and tests.
24064
24065 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24066
24067         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24068           give events a chance to be handled by event probes when the pad
24069           is not linked
24070
24071 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24072
24073         * gst/gstevent.c: (gst_event_type_get_name),
24074         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24075         * gst/gstevent.h:
24076           add string representations for event types
24077
24078 2005-10-06  Wim Taymans  <wim@fluendo.com>
24079
24080         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24081         Don't use NULL pointers.
24082
24083 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24084
24085         * gst/gst_private.h:
24086         * gst/gstbus.c:
24087         * gst/gstelement.c:
24088         * gst/gstinfo.c:
24089         * gst/gstpluginfeature.c:
24090           widen the debug category in output to fit the biggest one we have
24091           add a bus category and use it
24092           play with the colors
24093           fix up some categories
24094
24095 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24096
24097         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24098           add push activation of sink ghost pads.
24099           Andye, please verify
24100
24101 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24102
24103         * gst/gstutils.c: (gst_element_link_pads):
24104           fix a bug in the case where neither element has a pad
24105         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24106           add a test for that case
24107
24108 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24109
24110         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24111           emit have-data before checking for peers.  This allows
24112           for probe handlers to connect elements.  This helps autopluggers.
24113         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24114         (gst_pad_suite):
24115           add six checks, linked/unlinked with no/true/false probe
24116
24117 2005-10-04  Wim Taymans  <wim@fluendo.com>
24118
24119         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24120         (gst_fake_sink_event), (gst_fake_sink_preroll),
24121         (gst_fake_sink_render), (gst_fake_sink_change_state):
24122         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24123         (gst_fake_src_get_property), (gst_fake_src_create),
24124         (gst_fake_src_stop):
24125         * gst/elements/gstidentity.c: (gst_identity_stop):
24126         Protect last_message with lock.
24127
24128 2005-10-04  Edward Hervey  <edward@fluendo.com>
24129
24130         * gst/gstformat.h: 
24131         Added precision in the comments for GST_FORMAT_DEFAULT
24132
24133 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24134
24135         * tools/gst-launch.c: (main):
24136           Don't try to run erroneous pipelines.
24137
24138 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24139
24140         * gst/gstbus.c: We don't need this header.
24141
24142 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24143
24144         * configure.ac:
24145           back to development
24146
24147 === release 0.9.3 ===
24148
24149 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24150
24151         * README:
24152         * configure.ac:
24153           Releasing 0.9.3, "Unregistered"
24154
24155 2005-10-03  Andy Wingo  <wingo@pobox.com>
24156
24157         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24158         whereby calling a pad's activatepush() function can start a thread
24159         that starts to push or pull before the pad gets the FLUSHING flag
24160         unset. Hack around it by holding the stream lock until the flag is
24161         set. Need to replace this with a proper solution. Together with
24162         the ghost pad fixes, this fixes mp3 playing/tagreading.
24163
24164         * docs/design/part-gstghostpad.txt: Add a note about activation of
24165         proxy pads outside of ghost pads.
24166
24167         * gst/gstghostpad.c: Implement the ghost pad activation design.
24168
24169 2005-10-02  Andy Wingo  <wingo@pobox.com>
24170
24171         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24172         It is volatile, after all.
24173
24174         * docs/design/part-gstghostpad.txt: Flesh out activation with
24175         ghost pads.
24176
24177         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24178         GST_DEBUG_FUNCPTR.
24179
24180 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24181
24182         * configure.ac:
24183           Fix (unused) AM_CONDITIONAL tests.
24184
24185 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24186
24187         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24188
24189         * gst/gstutils.c: (gst_pad_query_convert):
24190           Add assertion that makes sure src_val is >=0, just like
24191           gst_query_new_convert() has. (#315895)
24192
24193 2005-09-30  Edward Hervey  <edward@fluendo.com>
24194
24195         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24196         Let's not iterate pads we're not interested in, it avoids getting 
24197         sky-high refcounts on sinkpad.
24198
24199 2005-09-30  Wim Taymans  <wim@fluendo.com>
24200
24201         * gst/gstelement.c: (gst_element_set_state),
24202         (gst_element_change_state):
24203         Small tweak, element in ASYNC remains ASYNC.
24204
24205 2005-09-30  Wim Taymans  <wim@fluendo.com>
24206
24207         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24208         Only error is an error.
24209
24210         * gst/gstbin.c: (gst_bin_change_state):
24211         Better debugging.
24212
24213         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24214         Also call pad_block in pad alloc.
24215
24216         * gst/gstutils.c: (gst_flow_get_name):
24217         Better debugging.
24218
24219 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24220
24221         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24222         (gst_base_src_get_range):
24223           Fix documentation typos. Add some more debug info.
24224
24225 2005-09-29  David Schleef  <ds@schleef.org>
24226
24227         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24228           more end-user friendly.
24229         * tools/gst-inspect.c: (main): Check if command-line argument is
24230           a file and attempt to load that file as a plugin.
24231
24232 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24233
24234         * check/gst/gstbin.c:
24235         * check/states/sinks.c:
24236           fix tests for the new warning
24237         * check/gst/gstpipeline.c:
24238           add a test for pipeline and bus interaction
24239         * gst/gstelement.c:
24240           elements should be NULL if they get disposed; add a warning if not
24241
24242 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24243
24244         * gst/gstobject.c:
24245           for 2.6 refcounting, make debug log more correct by printing
24246           the actual refcounts at the time of swap (Wim)
24247
24248 2005-09-29  Andy Wingo  <wingo@pobox.com>
24249
24250         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24251         removes signal watches previously added via
24252         gst_bus_add_signal_watch.
24253         (gst_bus_add_signal_watch): Don't return the source id, just store
24254         it on the bus if there wasn't an id already.
24255
24256         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24257         add_signal_watch and remove_signal_watch.
24258
24259 2005-09-29  Edward Hervey  <edward@fluendo.com>
24260
24261         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24262         Better if we actually iterate the list :)
24263
24264 2005-09-29  Wim Taymans  <wim@fluendo.com>
24265
24266         * check/gst/gstbin.c: (GST_START_TEST):
24267         Change for new bus API.
24268
24269         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24270         (send_messages), (GST_START_TEST), (gstbus_suite):
24271         Change for new bus signal API.
24272
24273         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24274         (gst_bus_source_prepare), (gst_bus_source_check),
24275         (gst_bus_create_watch), (gst_bus_add_watch_full),
24276         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24277         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24278         * gst/gstbus.h:
24279         Remove support for multiple GSources operating on different
24280         message types as it is too complex and unneeded when using
24281         signals.
24282         Added support for receiving signals from the bus.
24283
24284 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24285
24286         * docs/libs/tmpl/gstdataprotocol.sgml:
24287         * docs/manual/advanced-dataaccess.xml:
24288         * gst/elements/gstcapsfilter.c:
24289         * gst/gstutils.c:
24290           rename filter-caps to caps property
24291
24292 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24293
24294         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24295           More robust fraction string parsing.
24296
24297         * docs/pwg/appendix-porting.xml:
24298           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24299
24300 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24301
24302         * gst/gstcaps.c: (gst_caps_do_simplify):
24303           Thou shalt not free a structure and then continue using it
24304           in the next loop iteration.
24305
24306         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24307         (gst_caps_suite):
24308           Add test case for caps simplification.
24309
24310 2005-09-29  Wim Taymans  <wim@fluendo.com>
24311
24312         * check/gst/gstbin.c: (GST_START_TEST):
24313         Oops.
24314
24315 2005-09-29  Wim Taymans  <wim@fluendo.com>
24316
24317         * check/gst/gstbin.c: (GST_START_TEST):
24318         Add bus to bin.
24319
24320         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24321         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24322         (find_element), (gst_bin_sort_iterator_next),
24323         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24324         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24325         (gst_bin_change_state), (gst_bin_dispose):
24326         A bin does not have a bus, it gets the bus from the parent.
24327
24328         * gst/gstelement.c: (gst_element_requires_clock),
24329         (gst_element_provides_clock), (gst_element_is_indexable),
24330         (gst_element_is_locked_state), (gst_element_change_state),
24331         (gst_element_set_bus_func):
24332         Small cleanups.
24333
24334         * gst/gstpipeline.c: (gst_pipeline_class_init),
24335         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24336         The pipeline provides a bus.
24337
24338 2005-09-28  Johan Dahlin  <johan@gnome.org>
24339
24340         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24341         gst_structure_get_enum instead of gst_structure_get_int
24342
24343         * gst/gststructure.c (gst_structure_get_enum): Impl.
24344
24345         * gst/gststructure.h (gst_structure_get_enum): Add
24346
24347         * docs/gst/gstreamer-sections.txt: Ditto
24348
24349         * gst/gstmessage.c (gst_message_new_state_changed): Use
24350         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24351         which does introspection.
24352         Reviewed by Christian Schaller
24353
24354 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24355
24356         * gst/gstinfo.c: (gst_debug_log_default):
24357           don't do dummy g_strdup()s
24358         * libs/gst/controller/gstcontroller.c:
24359         (on_object_controlled_property_changed),
24360         (gst_controlled_property_new), (gst_controller_new_valist),
24361         (gst_controller_new_list),
24362         (gst_controller_remove_properties_valist), (gst_controller_set),
24363         (gst_controller_get), (gst_controller_sync_values),
24364         (gst_controller_get_value_array), (_gst_controller_class_init),
24365         (gst_controller_get_type):
24366         * libs/gst/controller/gstcontroller.h:
24367         * libs/gst/controller/gstinterpolation.c:
24368         (gst_controlled_property_find_timed_value_node):
24369           convert // to /**/ comments
24370
24371 2005-09-28  Wim Taymans  <wim@fluendo.com>
24372
24373         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24374         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24375         (gst_bus_sync_signal_handler):
24376         * gst/gstbus.h:
24377         Added async-message and sync-message signals to the bus.
24378         Added helper BusFunc to emit signals for all posted messages.
24379
24380         * gst/gstmessage.c: (gst_message_type_get_name),
24381         (gst_message_type_to_quark), (gst_message_get_type):
24382         * gst/gstmessage.h:
24383         Register quarks for message names.
24384
24385 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24386
24387         * docs/libs/gstreamer-libs-sections.txt:
24388         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24389         (gst_controller_new_list):
24390         * libs/gst/controller/gstcontroller.h:
24391           added another constructor for language bindings
24392
24393 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24394
24395         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24396           add another check
24397         * gst/gstbus.c:
24398           add some doc
24399         * gst/gstinfo.c: (_gst_debug_init):
24400           slightly more readable color for refcount debugging
24401
24402 2005-09-28  Wim Taymans  <wim@fluendo.com>
24403
24404         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24405         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24406         (find_element), (gst_bin_sort_iterator_next),
24407         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24408         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24409         (gst_bin_change_state), (gst_bin_dispose):
24410         Small doc fixes. get_clock -> provide_clock.
24411
24412         * gst/gstelement.c: (gst_element_class_init),
24413         (gst_element_provides_clock), (gst_element_provide_clock),
24414         (gst_element_get_clock), (gst_element_commit_state),
24415         (gst_element_lost_state):
24416         * gst/gstelement.h:
24417         Make get/set_clock() symetric. Add provide_clock vmethod since
24418         that is actually what this function does.
24419
24420         * gst/gstpipeline.c: (gst_pipeline_class_init),
24421         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24422         (gst_pipeline_get_clock):
24423         get_clock -> provide_clock.
24424
24425 2005-09-28  Andy Wingo  <wingo@pobox.com>
24426
24427         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24428         lieu of real docs...
24429
24430         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24431
24432 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24433
24434         * gst/elements/gstcapsfilter.c:
24435         * gst/elements/gstfakesink.c:
24436         * gst/elements/gstfakesrc.c:
24437         * gst/elements/gstfdsink.c:
24438         * gst/elements/gstfdsrc.c:
24439         * gst/elements/gstfilesink.c:
24440         * gst/elements/gstfilesrc.c:
24441         * gst/elements/gstidentity.c:
24442         * gst/elements/gsttee.c:
24443         * gst/elements/gsttypefindelement.c:
24444           Make element details static.
24445
24446 2005-09-28  Wim Taymans  <wim@fluendo.com>
24447
24448         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24449         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24450         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24451         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24452         (gst_bin_change_state), (gst_bin_dispose):
24453         Some documentation updates.
24454         Clean up dispose handlers.
24455
24456         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24457         * gst/gstpad.c: (gst_pad_dispose):
24458         Clean up dispose handler.
24459
24460         * gst/gstpipeline.c: (gst_pipeline_change_state):
24461         Removed spurious UNLOCK.
24462
24463 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24464
24465         * docs/gst/gstreamer-sections.txt:
24466         * gst/base/gstbasesrc.h:
24467         * gst/gstelement.h:
24468         * gst/gstevent.h:
24469         * gst/gstobject.h:
24470         * gst/gstpad.h:
24471         * gst/gstpipeline.c:
24472         * gst/gstpipeline.h:
24473         * gst/gstutils.h:
24474         * gst/gstxml.h:
24475           added two new functions to the docs
24476                 documents all undocumented GstXXXFlags
24477                 completed some incomplete docs 
24478
24479 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24480
24481         * gst/gstbin.c: (gst_bin_dispose):
24482         * gst/gstelement.c: (gst_element_dispose):
24483           remove now useless and leaky resurrection code in dispose
24484         * gst/base/gstbasesrc.c: (gst_base_src_init):
24485         * gst/gstelementfactory.c: (gst_element_factory_create):
24486         * gst/gstobject.c: (gst_object_set_parent):
24487           add some debugging
24488
24489 2005-09-27  Wim Taymans  <wim@fluendo.com>
24490
24491         * docs/design/part-TODO.txt:
24492         Update TODO.
24493
24494         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24495         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24496         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24497         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24498         (gst_bin_change_state):
24499         * gst/gstelement.h:
24500         Remove element variable, we keep element info in the iterator now.
24501
24502 2005-09-27  Andy Wingo  <wingo@pobox.com>
24503
24504         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24505         values.
24506
24507 2005-09-27  Wim Taymans  <wim@fluendo.com>
24508
24509         * check/gst/gstbin.c: (GST_START_TEST):
24510         Enable check that works now.
24511
24512         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24513         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24514         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24515         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24516         (gst_bin_change_state):
24517         * gst/gstbin.h:
24518         Redid the state change algorithm using a topological sort algo.
24519         Handles all cases correctly.
24520         Exposed iterator for state change order.
24521
24522         * gst/gstelement.h:
24523         Temp storage for state changes. Need to get rid of this soon.
24524
24525 2005-09-27  Wim Taymans  <wim@fluendo.com>
24526
24527         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24528         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24529         (link_fold_func), (gst_pad_proxy_setcaps):
24530         Leak fixes, the fold functions need to unref the passed object and
24531         _get_parent_*() returns ref to parent.
24532
24533 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24534
24535         * check/gst/gstbuffer.c: (test_make_writable):
24536           Plug leak in test case and fix 'make check-valgrind'
24537
24538 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24539
24540         * gst/gstbuffer.c: (gst_subbuffer_init):
24541           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24542           works correctly in all circumstances (we could have just copied
24543           the parent buffer's readonly flag, but conceptually it seems
24544           cleaner to mark all subbuffers as read-only). (based on patch
24545           by Alessandro Decina, #314710).
24546         
24547         * check/gst/gstbuffer.c: (create_read_only_buffer),
24548         (test_make_writable), (test_subbuffer_make_writable),
24549         (gst_test_suite):
24550           Add some tests for gst_buffer_make_writable().
24551
24552 2005-09-27  Wim Taymans  <wim@fluendo.com>
24553
24554         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24555         use gst_object_has_ancestor().
24556
24557         * gst/gstobject.c: (gst_object_has_ancestor):
24558         * gst/gstobject.h:
24559         gst_object_has_ancestor() copied from gstbin.c as it is a
24560         useful function.
24561
24562         * tests/instantiate/create.c: (create_all_elements):
24563         * tests/lat.c: (handoff_src), (handoff_sink):
24564         * tests/sched/runxml.c: (main):
24565         * tests/seeking/seeking1.c: (main):
24566         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24567         (main):
24568         Fix compilation of some tests.
24569
24570 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24571
24572         * gst/gsterror.h:
24573           Remove comment. GST_TYPE_G_ERROR is here to stay,
24574           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24575           (#316961, #300610).
24576
24577 2005-09-26  Wim Taymans  <wim@fluendo.com>
24578
24579         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24580         Added check that shows error in state change order.
24581
24582 2005-09-26  Wim Taymans  <wim@fluendo.com>
24583
24584         * gst/gstbin.c: (gst_bin_change_state):
24585         Make state change function use 3 queues again, we were
24586         adding elements in the wrong order.
24587
24588         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24589         Some debug info,
24590
24591         * gst/gstpad.c: (gst_pad_dispose):
24592         Added some debug info first.
24593
24594 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24595
24596         * docs/design/draft-push-pull.txt:
24597         * docs/design/part-events.txt:
24598         * docs/design/part-overview.txt:
24599         * docs/design/part-scheduling.txt:
24600           Replace all _pull_region() with _pull_range()
24601           
24602 2005-09-26  Andy Wingo  <wingo@pobox.com>
24603
24604         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24605
24606         * check/gst-libs/controller.c: Update for controller api change.
24607
24608         * configure.ac: 
24609         * tests/Makefile.am:
24610         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24611         over by GLib bug 118439.
24612         
24613         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24614         routines to a function.
24615
24616         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24617
24618         * libs/gst/controller/gsthelper.c:
24619         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24620         (gst_object_sync_values): Renamed from sink_values. Ugh.
24621
24622         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24623
24624         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24625         Renamed from controller_key, as it is exported.
24626
24627         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24628
24629 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24630
24631         * gst/Makefile.am:
24632         * gst/gst.h:
24633         * gst/gstpad.h:
24634         * gst/gstpadtemplate.h:
24635         * gst/gstquery.c:
24636         * gst/gstquery.h:
24637         * gst/gstqueryutils.c:
24638         * gst/gstqueryutils.h:
24639           remove queryutils headers after moving the two used functions
24640           to gstquery.  also fixes build problem for gstsiddec
24641
24642 2005-09-26  Michael Smith <msmith@fluendo.com>
24643
24644         * tools/gst-launch.1.in:
24645         Correct documentation in manpage of debug syntax
24646
24647 2005-09-26  Wim Taymans  <wim@fluendo.com>
24648
24649         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24650         (gst_base_src_is_seekable), (gst_base_src_change_state):
24651         Some more debugging info.
24652
24653 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24654
24655         * docs/gst/gstreamer-sections.txt:
24656         * gst/base/gstbasetransform.h:
24657         * gst/gstindex.h:
24658           added more docs
24659
24660 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24661
24662         * docs/gst/.cvsignore:
24663         * docs/gst/tmpl/.cvsignore:
24664         * docs/gst/tmpl/gstpipeline.sgml:
24665         * docs/gst/tmpl/gstplugin.sgml:
24666         * gst/gstpipeline.c:
24667         * gst/gstplugin.c:
24668         * gst/gstplugin.h:
24669           inlined the last two docs files
24670           removed the tmpl directory from cvs (no more conflicts here!)
24671
24672 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24673
24674         * docs/gst/gstreamer-sections.txt:
24675         * docs/gst/tmpl/.cvsignore:
24676         * docs/gst/tmpl/gstpad.sgml:
24677         * docs/gst/tmpl/gstpadtemplate.sgml:
24678         * gst/Makefile.am:
24679         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24680         (gst_pad_finalize), (gst_pad_set_pad_template):
24681         * gst/gstpad.h:
24682         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24683         (gst_pad_template_class_init), (gst_pad_template_init),
24684         (gst_pad_template_dispose), (name_is_valid),
24685         (gst_static_pad_template_get), (gst_pad_template_new),
24686         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24687         (gst_pad_template_pad_created):
24688         * gst/gstpadtemplate.h:
24689           inlined two more docs
24690           factored gstpadtemplate out of gstpad
24691
24692 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24693
24694         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24695         (test_children_state_change_order_semi_sink):
24696           Fix test case: we can't rely on a fixed state change order when
24697           going from READY => PAUSED because the sink might commit its 
24698           new state first when the first buffer created by the source 
24699           reaches the sink before the source has finished its change state.
24700           (Test case still fails at times, see #316856, comment 5 onwards)
24701
24702 2005-09-24  Wim Taymans  <wim@fluendo.com>
24703
24704         * docs/design/part-events.txt:
24705         * docs/design/part-gstbus.txt:
24706         * docs/design/part-gstpipeline.txt:
24707         * docs/design/part-messages.txt:
24708         * docs/design/part-overview.txt:
24709         * docs/design/part-segments.txt:
24710         * gst/gstbin.c:
24711         * gst/gstbuffer.c:
24712         * gst/gstclock.c:
24713         * gst/gstelement.c:
24714         * gst/gstevent.c:
24715         * gst/gstfilter.c:
24716         * gst/gstiterator.c:
24717         Various documentation updates.
24718
24719 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24720
24721         * gst/gstclock.h:
24722           Well, that's embarassing.  Luckily we weren't using
24723           GST_CLOCK_DIFF anywhere.
24724
24725 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24726
24727         * common/gtk-doc.mak:
24728           don't fail on building XML, FC4 slave shows a bunch of doc
24729           missing bits that I don't get
24730         * gst/gstpad.c:
24731         * gst/gstpipeline.c:
24732         * gst/gststructure.c:
24733           some doc updates
24734
24735 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24736
24737         * docs/design/part-gstbin.txt:
24738         * docs/design/part-gstbus.txt:
24739         * gst/gstbus.c:
24740           Add blurb about how the bus goes into flushing mode and
24741           drops all messages when its bin goes from READY into NULL 
24742           state.
24743
24744 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24745
24746         * docs/gst/gstreamer-sections.txt:
24747         * gst/gststructure.c: (gst_structure_get_clock_time):
24748         * gst/gststructure.h:
24749           add a method to get a GstClockTime out of a structure
24750
24751 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24752
24753         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24754         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24755           Added test to check state change order in bins (can still be made
24756           to fail here under heavy disk load; bails out with 'Push on pad
24757           fakesink:sink0, but it was not activated in push mode').
24758
24759         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24760           Fix state change order when there is only a semi sink (#316856)
24761
24762         * gst/gstbus.c: (gst_bus_class_init):
24763           Use _class_peek_parent(), not _class_ref(); fix docs to say
24764           'default main context' instead of 'mainloop' where that is
24765           what's meant.
24766
24767         * gst/gstelement.c: (gst_element_commit_state),
24768         (gst_element_set_state):
24769           Fix typos in debug messages
24770
24771 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24772
24773         * docs/README:
24774         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24775         * gst/gstpluginfeature.c:
24776         * gst/gstutils.c:
24777           various doc updates
24778         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24779           change an assert into an error until it gets fixed properly
24780
24781 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24782
24783         * docs/gst/gstreamer-sections.txt:
24784         * docs/gst/tmpl/.cvsignore:
24785         * docs/gst/tmpl/gstelement.sgml:
24786         * docs/gst/tmpl/gstinfo.sgml:
24787         * docs/gst/tmpl/gstobject.sgml:
24788         * gst/gstelement.c:
24789         * gst/gstelement.h:
24790         * gst/gstinfo.c:
24791         * gst/gstinfo.h:
24792         * gst/gstobject.c: (gst_object_class_init):
24793         * gst/gstobject.h:
24794           inlined 3 more biiiig doc files and added some missing docs on the fly
24795
24796 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24797
24798         * check/gst/.cvsignore:
24799         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24800         * gst/gstregistryxml.c: (load_plugin),
24801         (gst_registry_xml_save_plugin):
24802           put back source in registry.  add checks for find_plugin.
24803         * testsuite/states/bin.c: (assert_state), (empty_bin),
24804         (test_adding_one_element), (main):
24805         * testsuite/states/locked.c: (main):
24806           some compile/run fixes
24807
24808 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24809
24810         * check/gst/gstvalue.c: (GST_START_TEST):
24811           fix leaks in the test itself
24812
24813 2005-09-22  Wim Taymans  <wim@fluendo.com>
24814
24815         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24816         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24817         (gst_base_sink_query):
24818         Prepare for more accurate position reporting and query
24819         handling.
24820
24821         * gst/gstelement.c: (gst_element_send_event),
24822         (gst_element_set_state):
24823         Add some comment.
24824
24825 2005-09-22  Wim Taymans  <wim@fluendo.com>
24826
24827         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24828         (gst_query_parse_segment):
24829         * gst/gstquery.h:
24830         More documentation.
24831         Add segment query for future use.
24832
24833 2005-09-22  Wim Taymans  <wim@fluendo.com>
24834
24835         * gst/gstbin.c: (gst_bin_add_func):
24836         Some more debug info.
24837
24838         * gst/gstelement.c: (gst_element_send_event):
24839         Simplify send_event
24840
24841         * gst/gstelement.h:
24842         Don't know how flags got broken.
24843
24844         * gst/gstquery.h:
24845         Added new query.
24846
24847 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24848
24849         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24850           Add simplistic test suite for GST_TYPE_DATE serialisation and
24851           deserialisation.
24852
24853 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24854
24855         * docs/gst/gstreamer-sections.txt:
24856         * gst/gststructure.c: (gst_structure_set_valist),
24857         (gst_structure_get_date):
24858         * gst/gststructure.h:
24859         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24860         (gst_date_copy), (gst_value_compare_date),
24861         (gst_value_serialize_date), (gst_value_deserialize_date),
24862         (gst_value_transform_date_string),
24863         (gst_value_transform_string_date), (_gst_value_initialize):
24864         * gst/gstvalue.h:
24865           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24866           bunch of utility functions along with a hack that checks that
24867           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24868           is required. Part of the grand scheme in #170777.
24869
24870 2005-09-22  Andy Wingo  <wingo@pobox.com>
24871
24872         * gst/gstconfig.h.in: Psych out gtk-doc.
24873
24874         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24875
24876         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24877
24878         * tools/gst-inspect.c (print_element_list): Plug some
24879         inconsequential leaks.
24880
24881         * gst/gstregistry.c (gst_registry_get_default): Doc.
24882
24883         * check/gst/gstplugin.c: 
24884         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24885         * gst/gstelementfactory.c (gst_element_factory_create): 
24886         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24887         refcount changes.
24888
24889         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24890         (gst_plugin_feature_load): Doc, don't eat refs.
24891
24892         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24893         (gst_plugin_list_free): Doc.
24894         (gst_plugin_load_file): Doc updates.
24895
24896         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24897         accessors returning refcounted objects, return a ref.
24898
24899         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24900         accessor for caps. IDEMPOTENCE. Oh yes.
24901
24902 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24903
24904         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24905
24906         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24907         (_gst_debug_register_funcptr):
24908           Add mutex to serialise access to the hash table with
24909           the function pointer => function name string mapping;
24910           make that hash table static scope (#316809).
24911
24912         * gst/registries/.cvsignore:
24913           Remove left-over file.
24914
24915 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24916
24917         * docs/pwg/appendix-porting.xml:
24918           And something about newsegment events and caps-on-buffers to
24919           the porting guide (feel free to improve).
24920
24921 2005-09-21  Andy Wingo  <wingo@pobox.com>
24922
24923         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24924         data and event probes on the same pad.
24925         (test_buffer_probe_once): Test that removing probes from within
24926         the probe functions works.
24927
24928 2005-09-21  Andy Wingo  <wingo@pobox.com>
24929
24930         * check/gst/gstutils.c: New file.
24931         (test_buffer_probe_n_times): A simple buffer probe test. More to
24932         come, foolios.
24933
24934         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24935         have-data::buffer, not have-data.
24936         (gst_pad_add_event_probe): Likewise for have-data::event.
24937         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24938         peer' isn't quite right yet though.
24939         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24940         (gst_pad_remove_data_probe): Change to take the guint handler_id
24941         as their arg, not the function+data, which is more glib-like.
24942
24943         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24944         the signal emission to indicate if the data is a buffer or an
24945         event.
24946         (gst_pad_get_type): Initialize buffer and event quarks.
24947         (gst_pad_class_init): have-data is now a detailed signal, yes it
24948         is.
24949
24950 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24951
24952         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24953         * gst/gstutils.c: (gst_util_set_value_from_string),
24954         (gst_util_set_object_arg):
24955           Don't put functional code in g_return_if_fail() or
24956           g_return_val_if_fail() statements, otherwise things will 
24957           break when G_DISABLE_CHECKS is defined during compilation.
24958
24959 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24960
24961         * docs/gst/tmpl/.cvsignore:
24962         * docs/gst/tmpl/gstvalue.sgml:
24963         * gst/gstvalue.c:
24964         * gst/gstvalue.h:
24965           inlied another one and added  some obvious docs
24966
24967 2005-09-21  Wim Taymans  <wim@fluendo.com>
24968
24969         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24970         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24971         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24972         (gst_fdsrc_get_property), (gst_fdsrc_create):
24973         * gst/elements/gstfdsrc.h:
24974         Properly implement fdsrc. Removed signal and timeout,
24975         better implemented somewhere else.
24976
24977 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24978
24979         * docs/gst/tmpl/.cvsignore:
24980         * docs/gst/tmpl/gstimplementsinterface.sgml:
24981         * gst/gstinterface.c:
24982           inlined more docs
24983
24984 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24985
24986         * docs/gst/gstreamer-sections.txt:
24987         * docs/gst/tmpl/.cvsignore:
24988         * docs/gst/tmpl/gstenumtypes.sgml:
24989           remove obsolete doc file
24990
24991 2005-09-21  David Schleef  <ds@schleef.org>
24992
24993         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24994         little beer, fix a little leak.
24995
24996 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24997
24998         * docs/gst/gstreamer-docs.sgml:
24999         * docs/gst/gstreamer-sections.txt:
25000         * docs/gst/tmpl/.cvsignore:
25001         * gst/Makefile.am:
25002         * gst/gst.h:
25003         * gst/gstbin.c:
25004         * gst/gstelement.h:
25005         * gst/gstindex.c: (gst_index_class_init):
25006         * gst/gstindex.h:
25007         * gst/gstindexfactory.c: (gst_index_factory_get_type),
25008         (gst_index_factory_class_init), (gst_index_factory_init),
25009         (gst_index_factory_finalize), (gst_index_factory_new),
25010         (gst_index_factory_destroy), (gst_index_factory_find),
25011         (gst_index_factory_create), (gst_index_factory_make):
25012         * gst/gstindexfactory.h:
25013         * gst/gstpluginfeature.c:
25014         * gst/gstpluginfeature.h:
25015         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25016           more docs inlined, splitted gstindex.{c,h}
25017
25018 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25019
25020         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25021           fix a leak
25022
25023 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25024
25025         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25026           Set sync to FALSE by default.
25027
25028 2005-09-20  Wim Taymans  <wim@fluendo.com>
25029
25030         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25031         (gst_base_sink_init):
25032         Make sync property settable from subclass.
25033
25034         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25035         (gst_fake_sink_change_state):
25036         Set sync to FALSE by default.
25037
25038 2005-09-20  Wim Taymans  <wim@fluendo.com>
25039
25040         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25041         * tools/gst-launch.c: (main):
25042         The timeout handler should have lower priority than the source
25043         so we don't timeout before popping a message with 0 timeout.
25044         Dump error messages after failed state change.
25045
25046 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25047
25048         * tools/gst-inspect.c: (print_element_properties_info):
25049           Fix two typos.
25050
25051 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25052
25053         * check/gst/gstevent.c:
25054         * gst/elements/gstfakesink.c:
25055         * gst/elements/gstfakesink.h:
25056           remove the sync property from fakesink.
25057           has the side effect of setting sync TRUE
25058           for fakesink, which is a change.  Anyone who knows how
25059           to fix this nicely in a GObject-y way, feel free.
25060
25061 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25062
25063         * docs/gst/gstreamer-docs.sgml:
25064           remove probe refsection
25065
25066 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25067
25068         * check/Makefile.am:
25069           disable valgrinding the controller test again
25070         * docs/gst/gstreamer-sections.txt:
25071           update for api-changes
25072
25073 2005-09-20  Wim Taymans  <wim@fluendo.com>
25074
25075         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25076         (gst_base_sink_set_property), (gst_base_sink_get_property),
25077         (gst_base_sink_do_sync):
25078         * gst/base/gstbasesink.h:
25079         Added sync property to basesink to disable clock sync.
25080
25081 2005-09-20  Andy Wingo  <wingo@pobox.com>
25082
25083         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25084         eating the caller's refcount.
25085
25086         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25087         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25088         refcount.
25089
25090         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25091         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25092         of GLib 2.8 public, so we can know which refcount to check in
25093         tests.
25094
25095         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25096         (gst_object_init): Only set the gst refcount if we're going ahead
25097         with the refcount hack.
25098
25099 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25100
25101         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25102         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25103           more leaks plumbed, added more debug-logging
25104         * gst/gstmacros.h:
25105           whitespace fix
25106
25107 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25108
25109         * gst/gstmessage.c:
25110           remove include of gstmemchunk.h
25111
25112 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25113
25114         * gst/gstclock.c: (_gst_clock_id_free):
25115           Commit from the Political Party For More Atomic CVS Commits,
25116           so that people don't waste too much of their day fishing
25117           out obvious leaks out of massive commits.
25118           Oh, and fix a pretty damn obvious leak in the memchunk
25119           removal code.
25120
25121 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25122
25123         * check/Makefile.am:
25124         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25125           plug mem-leak, re-add to valgrindable tests
25126
25127 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25128
25129         * gst/gstplugin.h:
25130           unbreak the build for those who have chronic arthritis
25131           and typing "make check" is just too taxing on the hands
25132
25133 2005-09-20  Andy Wingo  <wingo@pobox.com>
25134
25135         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25136         really want it out, you should fix plugins at the same time.
25137
25138 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25139
25140         * configure.ac:
25141         * docs/gst/gstreamer-sections.txt:
25142         * gst/gstobject.c:
25143           added missing symbols to api docs
25144           disable ref-count hack if we have glib >= 2.8
25145
25146 2005-09-19  David Schleef  <ds@schleef.org>
25147
25148         * docs/gst/Makefile.am: Ignore a few more internal headers
25149         * docs/gst/gstreamer-docs.sgml: Remove old sections
25150         * docs/gst/gstreamer-sections.txt: Remove old sections
25151         * docs/gst/tmpl/gstobject.sgml: update
25152         * docs/gst/tmpl/gstplugin.sgml: update
25153         * docs/gst/tmpl/gstpluginfeature.sgml: update
25154         * docs/random/ds/0.9-suggested-changes: update.
25155         * gst/Makefile.am: remove memchunk and trashstack, since they're
25156           not used.
25157         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25158         * gst/gst.h: don't include some headers
25159         * gst/gstchildproxy.c: add gstmarshal.h
25160         * gst/gstclock.c: Don't use memchunks
25161         * gst/gstminiobject.c: Add some docs
25162         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25163         * gst/gstobject.h: same
25164         * gst/gstplugin.c: include gstmacros.h
25165         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25166         * gst/gstquery.c: don't use memchunks
25167         * gst/gstregistry.c: rename gst_registry_deinit()
25168         * gst/gstregistry.h: same
25169
25170 2005-09-19  David Schleef  <ds@schleef.org>
25171
25172         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25173         * docs/libs/gstreamer-libs-sections.txt:
25174         * docs/libs/tmpl/gstgetbits.sgml:
25175         * docs/libs/tmpl/gstputbits.sgml:
25176
25177 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25178
25179         * win32/gstenumtypes.c:
25180         * win32/gstenumtypes.h:
25181           Update.
25182
25183 2005-09-19  Wim Taymans  <wim@fluendo.com>
25184
25185         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25186         Automatically PAUSE and RESUME a pipeline when a flushing seek
25187         is performed.
25188
25189 2005-09-19  Andy Wingo  <wingo@pobox.com>
25190
25191         * gst/gstregistry.h: Spacing fixen.
25192
25193 2005-09-19  Wim Taymans  <wim@fluendo.com>
25194
25195         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25196         Handle state change failure more correctly.
25197
25198 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25199
25200         * check/Makefile.am:
25201         * check/pipelines/cleanup.c: (run_pipeline):
25202         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25203         (GST_START_TEST):
25204           enable cleanup again after fixing the leak
25205         * docs/README:
25206           some more info on docs
25207
25208 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25209
25210         * check/Makefile.am:
25211           re-enable tests now that leaks are plugged
25212         * check/gst/gst.c:
25213         * check/gst/gstbin.c:
25214         * check/gst/gstpipeline.c:
25215           add some more tests while fixing leaks
25216         * common/check.mak:
25217           make sure binaries are uptodate when valgrinding/gdbing
25218         * gst/gst.c:
25219         * gst/gstelementfactory.c:
25220           remove a ref too many, and add a FIXME for when we get
25221           round to disposing of classes
25222         * gst/gstplugin.c:
25223           fix the refcounting when loading a plugin from a file and
25224           the code pretends that the pointer is the same even though
25225           of course it can change
25226         * gst/gstpluginfeature.c:
25227           unref plugins marked cached (a bit confusing as a name)
25228           as the docs state should be done
25229           various doc additions to explain refcounting
25230         * gst/gstregistry.c:
25231         * gst/gstregistryxml.c:
25232           debugging
25233
25234 2005-09-19  Wim Taymans  <wim@fluendo.com>
25235
25236         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25237         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25238         (send_messages), (GST_START_TEST), (gstbus_suite):
25239         * check/gst/gstpipeline.c: (GST_START_TEST):
25240         * check/pipelines/cleanup.c: (run_pipeline):
25241         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25242         (GST_START_TEST):
25243         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25244         (gst_bus_source_check), (gst_bus_source_dispatch),
25245         (gst_bus_create_watch), (gst_bus_add_watch_full),
25246         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25247         * gst/gstbus.h:
25248         * tools/gst-launch.c: (event_loop):
25249         * tools/gst-md5sum.c: (event_loop):
25250         GstBusHandler -> GstBusFunc, return value has the same meaning as
25251         any other GSource (FALSE == remove source).
25252         _add_watch() and _add_watch_full() now take a MessageType mask to
25253         only handle specific types of messages.
25254         _poll() returns the GstMessage instead of the message type to avoid
25255         race conditions.
25256         _have_pending() takes a MessageType mask now too.
25257         Added testsuite for multiple bus watches.
25258         Fix testsuites and applications for new bus API.
25259
25260 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25261
25262         * check/Makefile.am:
25263           mark a bunch of the tests as to fix until we fix them
25264
25265 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25266
25267         * common/check.mak:
25268           use GST_PLUGIN settings for valgrind tests as well, so we're
25269           valgrinding the correct thing
25270         * gst/gst.c: (init_post):
25271           plug another leak
25272
25273 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25274
25275         * gst/gst.c: (init_post), (gst_deinit):
25276         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25277         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25278         * gst/gstindex.c: (gst_index_factory_class_init),
25279         (gst_index_factory_finalize):
25280         * gst/gstobject.c: (gst_object_dispose):
25281         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25282         (gst_plugin_load_file), (gst_plugin_desc_free):
25283         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25284         (gst_plugin_feature_finalize):
25285         * gst/gstregistry.c: (gst_registry_class_init),
25286         (gst_registry_init), (gst_registry_finalize),
25287         (gst_registry_get_default), (gst_registry_deinit):
25288         * gst/gstregistry.h:
25289         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25290           various cleanups and memleak plugging.  make valgrind is happy now.
25291
25292 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25293
25294         * common/check.mak:
25295           add a check-valgrind target
25296
25297 2005-09-18  David Schleef  <ds@schleef.org>
25298
25299         * tools/gst-inspect.c: Revert the GOption code.
25300
25301 2005-09-17  David Schleef  <ds@schleef.org>
25302
25303         * check/Makefile.am: Fix environment variables.
25304         * check/gst/gstplugin.c: Fix for API changes.
25305         * tools/gst-inspect.c: Fix for API changes.
25306         * tools/gst-xmlinspect.c: Fix for API changes.
25307         * gst/gstelementfactory.c:
25308         * gst/gstplugin.c:
25309         * gst/gstplugin.h:
25310         * gst/gstpluginfeature.c:
25311         * gst/gstpluginfeature.h:
25312         * gst/gstregistry.c:
25313         * gst/gstregistry.h:
25314         * gst/gstregistryxml.c:
25315         * gst/gsttypefind.c:
25316         * gst/gsttypefindfactory.c:
25317         * gst/indexers/gstfileindex.c:
25318         * gst/indexers/gstmemindex.c:
25319         * gst/schedulers/Makefile.am:
25320           Change registry to keep track of both plugins and features,
25321           removing the feature tracking from plugins themselves.
25322
25323 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25324
25325         * check/Makefile.am:
25326         * tools/gst-register.1.in:
25327           remove gst-register
25328
25329 2005-09-15  David Schleef  <ds@schleef.org>
25330
25331         * check/gst/gstplugin.c:
25332         * gst/gstelementfactory.c:
25333         * gst/gstplugin.c:
25334         * gst/gstpluginfeature.c:
25335         * gst/gstregistry.c:
25336           Getting tired of debugging.  Disabled all the unreffing of
25337           plugins and features, which fixes the segfaults, but of
25338           course leaks like crazy.  At least playbin works.
25339
25340 2005-09-15  David Schleef  <ds@schleef.org>
25341
25342         * check/gst/gstplugin.c: (register_check_elements),
25343         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25344         More testing
25345         * gst/elements/gsttypefindelement.c: Fix refcounting.
25346         * gst/gsttypefind.c:
25347         * gst/gsttypefindfactory.c:
25348         * gst/gsttypefindfactory.h:
25349
25350 2005-09-15  David Schleef  <ds@schleef.org>
25351
25352         * gst/gstindex.c: get refcounting correct.
25353         * gst/gstregistry.c: Handle the case where a feature/plugin is
25354           not found.
25355
25356 2005-09-15  David Schleef  <ds@schleef.org>
25357
25358         * check/Makefile.am:
25359         * check/gst/gstplugin.c: Add test
25360         * gst/gstplugin.c: Fix problems noticed by testsuite
25361         * gst/gstplugin.h:
25362         * gst/gstregistry.c: 
25363         * gst/gstregistry.h:
25364
25365 2005-09-15  David Schleef  <ds@schleef.org>
25366
25367         * gst/gstplugin.c: Implement semi-decent recounting and locking
25368           in plugins and plugin features.
25369         * gst/gstplugin.h:
25370         * gst/gstpluginfeature.c:
25371         * gst/gstpluginfeature.h:
25372         * gst/gstregistry.c:
25373
25374 2005-09-15  Michael Smith <msmith@fluendo.com>
25375
25376         * gst/gstregistry.c: (gst_registry_get_feature_list):
25377           Implement this. Makes oggdemux work; decodebin still broken.
25378
25379 2005-09-14  David Schleef  <ds@schleef.org>
25380
25381         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25382           #316076)
25383         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25384         * gst/check/Makefile.am:
25385         * libs/gst/controller/Makefile.am:
25386         * libs/gst/dataprotocol/Makefile.am:
25387
25388 2005-09-14  David Schleef  <ds@schleef.org>
25389
25390         * configure.ac: Remove getbits library.  Nothing uses it, and
25391           it should be in something like liboil if someone did want
25392           to use it.
25393         * libs/gst/Makefile.am:
25394         * libs/gst/getbits/Makefile.am:
25395         * libs/gst/getbits/gbtest.c:
25396         * libs/gst/getbits/getbits.c:
25397         * libs/gst/getbits/getbits.h:
25398         * libs/gst/getbits/gstgetbits_generic.c:
25399         * libs/gst/getbits/gstgetbits_i386.s:
25400         * libs/gst/getbits/gstgetbits_inl.h:
25401
25402 2005-09-14  David Schleef  <ds@schleef.org>
25403
25404         * gst/Makefile.am: Dist glib-compat.h
25405
25406 2005-09-14  David Schleef  <ds@schleef.org>
25407
25408         * configure.ac: Remove gst/registries, since it's no longer used.
25409         * gst/registries/Makefile.am:
25410         * gst/registries/gstlibxmlregistry.c:
25411         * gst/registries/gstlibxmlregistry.h:
25412         * gst/registries/gstxmlregistry.c:
25413         * gst/registries/gstxmlregistry.h:
25414         * gst/registries/registrytest.c:
25415
25416 2005-09-14  David Schleef  <ds@schleef.org>
25417
25418         * gst/glib-compat.h:
25419         * gst/gstregistryxml.c:
25420           Convergence is near.  Seriously.
25421
25422 2005-09-14  David Schleef  <ds@schleef.org>
25423
25424         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25425         * gst/glib-compat.h:
25426           Attempt #4 to appease the buildbots.
25427
25428 2005-09-14  David Schleef  <ds@schleef.org>
25429
25430         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25431           Attempt #3.
25432
25433 2005-09-14  David Schleef  <ds@schleef.org>
25434
25435         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25436         Attempt #2.
25437
25438 2005-09-14  David Schleef  <ds@schleef.org>
25439
25440         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25441           the new functions.
25442
25443 2005-09-14  David Schleef  <ds@schleef.org>
25444
25445         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25446         * gst/glib-compat.h: Add some functions that are in newer versions
25447           of glib than we care to require.
25448         * gst/gstregistryxml.c: Use them.
25449
25450 2005-09-14  David Schleef  <ds@schleef.org>
25451
25452         * po/POTFILES.in: remove gst-register.c
25453
25454 2005-09-14  David Schleef  <ds@schleef.org>
25455
25456         * docs/gst/gstreamer-docs.sgml:
25457         * docs/gst/gstreamer-sections.txt:
25458         * docs/gst/gstreamer.types:
25459         * docs/gst/tmpl/gstelement.sgml:
25460         * docs/gst/tmpl/gstplugin.sgml:
25461         * docs/gst/tmpl/gstpluginfeature.sgml:
25462           Documentation updates for registry changes.
25463
25464 2005-09-14  David Schleef  <ds@schleef.org>
25465
25466         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25467           because we don't require glib-2.8.
25468
25469 2005-09-14  David Schleef  <ds@schleef.org>
25470
25471         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25472           registries directory.
25473
25474 2005-09-14  David Schleef  <ds@schleef.org>
25475
25476         * check/Makefile.am:
25477         * check/generic/states.c:
25478         * gst/Makefile.am:
25479         * gst/gst.c:
25480         * gst/gst.h:
25481         * gst/gst_private.h:
25482         * gst/gstelementfactory.c:
25483         * gst/gstindex.c:
25484         * gst/gstinfo.c:
25485         * gst/gstplugin.c:
25486         * gst/gstplugin.h:
25487         * gst/gstpluginfeature.c:
25488         * gst/gstpluginfeature.h:
25489         * gst/gstregistry.c:
25490         * gst/gstregistry.h:
25491         * gst/gstregistrypool.c: remove
25492         * gst/gstregistrypool.h: remove
25493         * gst/gsttypefind.c:
25494         * gst/gsttypefindfactory.c:
25495         * gst/gsturi.c:
25496         * tools/Makefile.am:
25497         * tools/gst-compprep.c:
25498         * tools/gst-inspect.c:
25499         * tools/gst-register.c: remove
25500         * tools/gst-xmlinspect.c:
25501           Registry rewrite.  Changes registry from being a file created
25502           by a tool into a simple cache file created automatically by 
25503           libgstreamer.  Removed gst-register (because it's no longer
25504           needed).  Remove registry pools, because we only have one
25505           registry implementation (XML).  Fix up other subsystems as
25506           necessary.
25507
25508 2005-09-13  Michael Smith <msmith@fluendo.com>
25509
25510         * gst/gstconfig.h.in:
25511           Don't Use windows linking attributes for MinGW. Fixes #316157
25512
25513 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25514
25515         * gst/gstutils.c: (set_state_async_thread_func),
25516         (gst_element_set_state_async):
25517           Apparently people think it's better if this function doesn't
25518           try to set the state to whatever state was asked for on the first
25519           call to this function for any object.  Seriously.
25520
25521 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25522
25523         * check/gst/gstpipeline.c: (GST_START_TEST):
25524         * docs/gst/gstreamer-sections.txt:
25525         * gst/gstutils.c: (set_state_async_thread_func),
25526         (gst_element_set_state_async):
25527         * gst/gstutils.h:
25528           add a "gst_element_set_state_async" method that
25529           sets the state and starts a thread to make sure the state
25530           change completes as best as it can
25531
25532 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25533
25534         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25535           codify design+behaviour in testsuite after discussion
25536
25537 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25538
25539         * docs/gst/tmpl/gstelement.sgml:
25540         * docs/manual/appendix-quotes.xml:
25541           add a quote
25542         * gst/gstelement.c: (gst_element_set_state):
25543           add some debug
25544
25545 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25546
25547         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25548         (gst_base_transform_prepare_output_buf),
25549         (gst_base_transform_handle_buffer):
25550         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25551         (gst_capsfilter_prepare_buf):
25552           Remove the requirement for sub-classes to call the parent
25553           implementation of prepare_output_buffer with a wrapper function.
25554           
25555         * gst/gsttaglist.h:
25556         * gst/gsttagsetter.h:
25557           Fix #define wrapper
25558
25559 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25560
25561         * docs/gst/gstreamer-sections.txt:
25562           more doc cleanups
25563
25564 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25565
25566         * docs/gst/gstreamer-sections.txt:
25567         * docs/gst/tmpl/gstelement.sgml:
25568         * docs/gst/tmpl/gstplugin.sgml:
25569         * gst/gstminiobject.c:
25570         * gst/gstvalue.h:
25571           docs now stop throwing warnings
25572
25573 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25574
25575         * docs/gst/gstreamer-sections.txt:
25576         * docs/gst/gstreamer.types:
25577         * docs/gst/tmpl/gstpad.sgml:
25578         * docs/gst/tmpl/gsttypes.sgml:
25579         * gst/base/gstadapter.h:
25580         * gst/base/gstbasesink.h:
25581         * gst/base/gstbasesrc.h:
25582         * gst/gstbin.h:
25583         * gst/gstbuffer.h:
25584         * gst/gstbus.h:
25585         * gst/gstcaps.h:
25586         * gst/gstclock.h:
25587         * gst/gstelement.h:
25588         * gst/gstevent.h:
25589         * gst/gstmessage.h:
25590         * gst/gstpad.h:
25591         * gst/gststructure.c:
25592         * gst/registries/gstlibxmlregistry.h:
25593           various documentation fixes
25594
25595 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25596
25597         * docs/gst/gstreamer-sections.txt:
25598         * docs/gst/tmpl/gstvalue.sgml:
25599           rearrange gstvalue section
25600         * gst/gstutils.c: (gst_element_state_get_name):
25601           NONE -> VOID
25602         * gst/gstvalue.c: (_gst_value_initialize):
25603         * gst/gstvalue.h:
25604           doc updates
25605
25606 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25607
25608         * check/gst-libs/controller.c:
25609           Header include fix.
25610         * gst/base/gstbasetransform.c:
25611         (gst_base_transform_default_prepare_buf),
25612         (gst_base_transform_handle_buffer):
25613         * gst/base/gstbasetransform.h:
25614           Some more basetransform changes and fixes to enable sub-classes
25615           that modify buffer metadata only.
25616         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25617         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25618         (gst_capsfilter_prepare_buf):
25619           If the output pad has fixed allowed caps and input buffers 
25620           don't have any, set the fixed caps on outgoing buffers.
25621
25622 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25623         * check/elements/identity.c: (GST_START_TEST):
25624           Make the error a little clearer when the test fails because
25625           identity made a copy of the buffer.
25626         * docs/gst/gstreamer-sections.txt:
25627           New symbols in gstbasetransform.h
25628         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25629         (gst_base_transform_init), (gst_base_transform_transform_size),
25630         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25631         (gst_base_transform_default_prepare_buf),
25632         (gst_base_transform_get_unit_size),
25633         (gst_base_transform_buffer_alloc),
25634         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25635         (gst_base_transform_change_state),
25636         (gst_base_transform_set_passthrough),
25637         (gst_base_transform_set_in_place),
25638         (gst_base_transform_is_in_place):
25639         * gst/base/gstbasetransform.h:
25640           Change BaseTransform to separate in_place operate from same_caps
25641           output. in_place implies that the element can perform the transform
25642           on incoming buffers in-place, even if the caps on the output are
25643           different.
25644           Sub-class elements can now implement special buffer allocation
25645           methods for outgoing buffers if they wish to.
25646           Big documentation addition.
25647         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25648         * gst/elements/gstelements.c:
25649           Changes for basetransform modifications.
25650         * gst/elements/Makefile.am:
25651         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25652           Compile fix. Extra debug output.
25653
25654 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25655
25656         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25657         (gst_pad_suite):
25658           add tests for valid pad naming
25659         * gst/check/gstcheck.c: (gst_check_log_message_func),
25660         (gst_check_log_critical_func):
25661           add ASSERT_WARNING
25662           remove printing of code, it is fragile when the code contains
25663           % and the line number is enough info
25664         * gst/check/gstcheck.h:
25665         * gst/gstpad.c: (gst_pad_template_new):
25666           fix memleaks
25667
25668 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25669
25670         * configure.ac:
25671           say what CHECK flags we use
25672         * docs/libs/gstreamer-libs.types:
25673         * libs/gst/controller/Makefile.am:
25674         * libs/gst/controller/gst-controller.c:
25675         * libs/gst/controller/gst-controller.h:
25676         * libs/gst/controller/gst-helper.c:
25677         * libs/gst/controller/gst-interpolation.c:
25678         * libs/gst/controller/gstcontroller.c:
25679         * libs/gst/controller/gsthelper.c:
25680         * libs/gst/controller/gstinterpolation.c:
25681         * tools/gst-inspect.c: (print_plugin_info):
25682           we don't use dashes in header names
25683
25684 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25685
25686         * check/Makefile.am:
25687         * check/gst/.cvsignore:
25688         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25689         (gst_pipeline_suite), (main):
25690           adding a test for pipelines and state changes
25691         * gst/gstutils.c: (get_state_func):
25692           add some debugging
25693         * gstreamer.spec.in:
25694           fix up spec file
25695
25696 2005-09-08  Michael Smith <msmith@fluendo.com>
25697
25698         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25699         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25700         (gst_file_src_is_seekable), (gst_file_src_get_size),
25701         (gst_file_src_start):
25702         * gst/elements/gstfilesrc.h:
25703           Various fixes for unseekable, unmmapable, and non-normal files, so
25704           that fallback to read() rather than mmap() works.
25705         * gst/gstevent.c: (gst_event_new_newsegment):
25706           Allow newsegment events with segment_start == segment_end, as will
25707           correctly happen if you use filesrc on a zero-size file, for
25708           example.
25709
25710 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25711
25712         * gst/gstplugin.c: (gst_plugin_load_file):
25713           Call g_module_close when we don't load the module
25714
25715         * gst/registries/gstlibxmlregistry.c:
25716         (gst_xml_registry_get_property):
25717           Port leak fix from 0.8
25718
25719 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25720
25721         * docs/gst/gstreamer-docs.sgml:
25722         * docs/gst/tmpl/.cvsignore:
25723         * docs/gst/tmpl/gsttrace.sgml:
25724         * docs/gst/tmpl/gsttrashstack.sgml:
25725         * gst/Makefile.am:
25726         * gst/gst.h:
25727         * gst/gstelement.h:
25728         * gst/gstevent.h:
25729         * gst/gstmessage.c:
25730         * gst/gstmessage.h:
25731         * gst/gsttag.c:
25732         * gst/gsttag.h:
25733         * gst/gsttaginterface.c:
25734         * gst/gsttaginterface.h:
25735         * gst/gsttaglist.c:
25736         * gst/gsttaglist.h:
25737         * gst/gsttagsetter.c:
25738         * gst/gsttagsetter.h:
25739         * gst/gsttrace.c:
25740         * gst/gsttrace.h:
25741         * gst/gsttrashstack.c:
25742           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25743           inlined docs for gsttrace, gsttrashstack
25744
25745 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25746
25747         * gst/Makefile.am:
25748         * gst/elements/gstbufferstore.h:
25749         * gst/elements/gsttypefindelement.c:
25750         * gst/elements/gsttypefindelement.h:
25751         * gst/gst.h:
25752         * gst/gsttypefind.c:
25753         * gst/gsttypefind.h:
25754         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25755         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25756         (gst_type_find_factory_dispose),
25757         (gst_type_find_factory_unload_thyself),
25758         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25759         (gst_type_find_factory_get_caps),
25760         (gst_type_find_factory_get_extensions),
25761         (gst_type_find_factory_call_function):
25762         * gst/gsttypefindfactory.h:
25763         * gst/registries/gstlibxmlregistry.c:
25764         * gst/registries/gstxmlregistry.c:
25765           splitted gsttypefind into gsttypefind, gsttypefindfactory
25766
25767 2005-09-07  Andy Wingo  <wingo@pobox.com>
25768
25769         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25770         condition whereby the pad's task function is entered before the
25771         pad_mode variable was set.
25772
25773 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25774
25775         * gst/gstpad.c: (gst_pad_alloc_buffer):
25776           Catch misbehaving pad_alloc functions that don't
25777           set up caps and do it for them.
25778
25779 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25780
25781         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25782           test for pipe!=NULL
25783         * docs/gst/tmpl/.cvsignore:
25784         * docs/gst/tmpl/gstmemchunk.sgml:
25785         * docs/gst/tmpl/gstparse.sgml:
25786         * docs/gst/tmpl/gsttaglist.sgml:
25787         * docs/gst/tmpl/gsttagsetter.sgml:
25788         * docs/gst/tmpl/gsttypefind.sgml:
25789         * docs/gst/tmpl/gsttypefindfactory.sgml:
25790         * gst/gstmemchunk.c:
25791         * gst/gstparse.c:
25792         * gst/gsttag.c:
25793         * gst/gsttaginterface.c:
25794         * gst/gsttypefind.c:
25795         * gst/gsttypefind.h:
25796           inlined more docs
25797
25798 === release 0.9.2 ===
25799
25800 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25801
25802         * NEWS:
25803         * RELEASE:
25804         * configure.ac:
25805           releasing 0.9.2, "South"
25806
25807 2005-09-05  Andy Wingo  <wingo@pobox.com>
25808
25809         * gst/registries/gstxmlregistry.h:
25810         * gst/registries/gstxmlregistry.c: Um... resurrect...
25811         
25812         * gst/registries/gstxmlregistry.h:
25813         * gst/registries/gstxmlregistry.c: and update to newer API.
25814         Incidentally they should be a bit faster now that they don't have
25815         to parse the caps.
25816         
25817 2005-09-05  Andy Wingo  <wingo@pobox.com>
25818
25819         * gst/registries/gstxmlregistry.h:
25820         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25821         replaced by the libxml registry a while back
25822
25823 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25824
25825         * docs/gst/tmpl/gstplugin.sgml:
25826         * gst/elements/gstelements.c:
25827         * gst/gst.c:
25828         * gst/gstplugin.c: (gst_plugin_register_func),
25829         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25830         (gst_plugin_get_source):
25831         * gst/gstplugin.h:
25832         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25833         (gst_xml_registry_save_plugin):
25834         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25835         (gst_xml_registry_save_plugin):
25836         * tools/gst-inspect.c: (print_plugin_info):
25837           add a "source" plugin description field, to represent the source
25838           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25839           will set it to PACKAGE, which is automake's idea of the name of
25840           the source project.
25841
25842 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25843
25844         * Makefile.am:
25845         * autogen.sh:
25846         * configure.ac:
25847         * docs/Makefile.am:
25848         * docs/faq/Makefile.am:
25849         * docs/gst/tmpl/gstelement.sgml:
25850         * docs/gst/tmpl/gsttypes.sgml:
25851         * docs/htmlinstall.mak:
25852         * docs/manual/Makefile.am:
25853         * docs/pwg/Makefile.am:
25854           reorganize doc build a little
25855           split out docbook and gtk-doc stuff
25856           have two separate --enable's and enable them through autogen
25857           but disable by default in configure (to be similar to other
25858           projects)
25859         * gstreamer.spec.in:
25860           clean up docs install
25861         * po/af.po:
25862         * po/az.po:
25863         * po/ca.po:
25864         * po/cs.po:
25865         * po/de.po:
25866         * po/en_GB.po:
25867         * po/fr.po:
25868         * po/it.po:
25869         * po/nb.po:
25870         * po/nl.po:
25871         * po/ru.po:
25872         * po/sq.po:
25873         * po/sr.po:
25874         * po/sv.po:
25875         * po/tr.po:
25876         * po/uk.po:
25877         * po/vi.po:
25878           translation updates
25879
25880 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25881
25882         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25883           Add comment.
25884           
25885         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25886         (gst_fake_sink_change_state):
25887           Make state change function thread-safe.
25888           
25889         * gst/gstpad.c: (gst_pad_alloc_buffer):
25890           Set offset on generic buffer allocated by fallback.
25891
25892 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25893
25894         * docs/gst/gstreamer-sections.txt:
25895         * docs/gst/tmpl/gstelement.sgml:
25896         * gst/gstpad.c:
25897         * libs/gst/controller/gst-controller.c:
25898         (gst_controlled_property_set_interpolation_mode),
25899         (gst_controlled_property_new),
25900         (gst_controller_find_controlled_property):
25901          run the wingo-magic script against the docs
25902
25903 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25904
25905         * docs/gst/gstreamer-docs.sgml:
25906         * docs/gst/gstreamer-sections.txt:
25907         * docs/gst/tmpl/.cvsignore:
25908         * docs/gst/tmpl/gstelementdetails.sgml:
25909         * docs/gst/tmpl/gstelementfactory.sgml:
25910         * gst/gst.c:
25911         * gst/gstbus.c:
25912         * gst/gstelementfactory.c:
25913         * gst/gstelementfactory.h:
25914           merged elementdetails docs into elementfactory docs
25915           inlined both
25916
25917 2005-09-02  Andy Wingo  <wingo@pobox.com>
25918
25919         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25920         consider this enum an enum and not a flags.
25921
25922 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25923
25924         * docs/gst/gstreamer-docs.sgml:
25925         * docs/gst/tmpl/.cvsignore:
25926         * docs/gst/tmpl/gstghostpad.sgml:
25927         * docs/gst/tmpl/gstiterator.sgml:
25928         * docs/gst/tmpl/gstmacros.sgml:
25929         * docs/gst/tmpl/gstrealpad.sgml:
25930         * docs/gst/tmpl/gstregistry.sgml:
25931         * docs/gst/tmpl/gstregistrypool.sgml:
25932         * docs/gst/tmpl/gststructure.sgml:
25933         * docs/gst/tmpl/gstsystemclock.sgml:
25934         * docs/gst/tmpl/gsttrace.sgml:
25935         * gst/gstghostpad.c:
25936         * gst/gstmacros.h:
25937         * gst/gstmemchunk.c:
25938         * gst/gstmemchunk.h:
25939         * gst/gstqueue.c:
25940         * gst/gstregistry.c:
25941         * gst/gstregistrypool.c:
25942         * gst/gststructure.c:
25943         * gst/gstsystemclock.c:
25944           more docs inlined
25945
25946 2005-09-02  Andy Wingo  <wingo@pobox.com>
25947
25948         * gst/gstelement.h (GstState): Renamed from GstElementState,
25949         changed to be a normal enum instead of flags.
25950         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25951         munged to be GST_STATE_CHANGE_*.
25952         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25953         work with the new state representation.
25954         (GstStateChange): New enumeration of possible state transitions.
25955         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25956         (GstElementClass::change_state): Pass the GstStateChange along as
25957         an argument. Helps language bindings, so they don't have to use
25958         tricky lock-needing macros like GST_STATE_CHANGE ().
25959
25960         * scripts/update-states (file): New script. Run it on a file to
25961         update it for state naming and API changes. Updates files in
25962         place.
25963
25964         * All files updated for the new API.
25965
25966 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25967
25968         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25969         * gst/gstutils.c: (gst_util_set_value_from_string),
25970         (gst_util_set_object_arg):
25971           fix a bunch of unchecked return values
25972         * tools/gst-complete.c: (main):
25973         * gstreamer.spec.in:
25974           clean up a little
25975
25976 2005-09-01  Wim Taymans  <wim@fluendo.com>
25977
25978         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25979         (gst_base_sink_event), (gst_base_sink_do_sync),
25980         (gst_base_sink_handle_event):
25981         * gst/base/gstbasesink.h:
25982         Handle newsegments more correctly.
25983
25984         * gst/gstbus.c:
25985         Fix docs.
25986
25987         * gst/gstevent.c: (gst_event_new_newsegment):
25988         A newsegment cannot have a start_time of -1
25989
25990 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25991
25992         * win32/gstenumtypes.c:
25993         * win32/gstenumtypes.h:
25994           Update
25995
25996 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25997
25998         * libs/gst/controller/gst-controller.c:
25999         (gst_controlled_property_set_interpolation_mode),
26000         (gst_controlled_property_new):
26001          fixed boolean again
26002
26003 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
26004
26005         * docs/faq/gst-uninstalled:
26006           add -good
26007         * gst/gstevent.c:
26008         * gst/gstevent.h:
26009           remove wrong docs
26010         * gst/gstutils.c: (gst_element_link_filtered):
26011         * gst/gstutils.h:
26012           add gst_element_link_filtered
26013
26014 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26015
26016         * docs/gst/gstreamer-docs.sgml:
26017         * docs/gst/gstreamer-sections.txt:
26018         * docs/gst/tmpl/.cvsignore:
26019         * docs/gst/tmpl/gsterror.sgml:
26020         * docs/gst/tmpl/gstfilter.sgml:
26021         * docs/gst/tmpl/gsturihandler.sgml:
26022         * docs/gst/tmpl/gsturitype.sgml:
26023         * docs/gst/tmpl/gstutils.sgml:
26024         * docs/gst/tmpl/gstxml.sgml:
26025         * gst/gsterror.c:
26026         * gst/gsterror.h:
26027         * gst/gstfilter.c:
26028         * gst/gsturi.c:
26029         * gst/gsturitype.c:
26030         * gst/gstutils.c:
26031         * gst/gstxml.c:
26032           inlined more docs, fixed double id-ref
26033
26034 2005-08-31  Wim Taymans  <wim@fluendo.com>
26035
26036         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26037         (gst_base_transform_handle_buffer):
26038         Passthrough elements don't need the caps as they don't care.
26039
26040 2005-08-31  Wim Taymans  <wim@fluendo.com>
26041
26042         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26043         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26044         Don't leak refcounts on buffers.
26045
26046 2005-08-31  Wim Taymans  <wim@fluendo.com>
26047
26048         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26049         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26050         (gst_base_transform_chain), (gst_base_transform_change_state):
26051         * gst/base/gstbasetransform.h:
26052         Handle the case where we are not negotiated more gracefully.
26053
26054 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26055
26056         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26057         (gst_file_src_map_region):
26058           Set READONLY flag on mmap'ed buffers, otherwise
26059           gst_buffer_make_writable() won't work properly (#314708).
26060
26061 2005-08-31  Wim Taymans  <wim@fluendo.com>
26062
26063         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26064         passthrough elements can even do inplace on non writable
26065         buffers (as they don't touch them).
26066
26067 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26068
26069         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26070         (gst_test_mono_source_set_property),
26071         (gst_test_mono_source_class_init), (GST_START_TEST),
26072         (gst_controller_suite):
26073           more tests (hehe I have the most)
26074         * gst/gstbus.c:
26075           describe popping messages whenusing mulltiple sources
26076         * libs/gst/controller/gst-controller.c:
26077         (gst_controlled_property_set_interpolation_mode),
26078         (gst_controlled_property_new):
26079         * libs/gst/controller/gst-controller.h:
26080         * libs/gst/controller/gst-interpolation.c:
26081           implement boolean properties
26082
26083 2005-08-31  Wim Taymans  <wim@fluendo.com>
26084
26085         * gst/gstminiobject.c: (gst_mini_object_ref):
26086         Cannot assert that the refcount has to be positive
26087         since a disposed object can be resurrected.
26088
26089 2005-08-31  Wim Taymans  <wim@fluendo.com>
26090
26091         * gst/gstpad.c: (gst_pad_init):
26092         Revert change, need to first fix badly behaving 
26093         apps.
26094
26095 2005-08-30  Wim Taymans  <wim@fluendo.com>
26096
26097         * check/elements/fakesrc.c: (setup_fakesrc):
26098         * check/elements/identity.c: (setup_identity):
26099         Activate pads before using them.
26100
26101 2005-08-30  Wim Taymans  <wim@fluendo.com>
26102
26103         * gst/base/gstadapter.c: (gst_adapter_flush):
26104         Flushing out 0 bytes is ok for this function.
26105
26106         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26107         no newsegment gives a warning and sets the start/stop to 
26108         invalid.
26109
26110         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26111         (gst_base_transform_set_passthrough):
26112         Some debug info.
26113
26114         * gst/gstminiobject.c: (gst_mini_object_ref):
26115         Check refcount here too.
26116
26117         * gst/gstpad.c: (gst_pad_init):
26118         Pads are initially flushing and refusing data.
26119
26120         * gst/gstutils.c: (gst_element_link_pads_filtered):
26121         When adding a capsfilter element make sure it has the
26122         same state as the parent bin.
26123
26124 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26125
26126         * docs/gst/tmpl/.cvsignore:
26127         * docs/gst/tmpl/gstformat.sgml:
26128         * docs/gst/tmpl/gstversion.sgml:
26129         * gst/gstbus.h:
26130         * gst/gstformat.c:
26131         * gst/gstformat.h:
26132         * gst/gstversion.h.in:
26133           more docs and two more inlined
26134
26135 2005-08-30  Wim Taymans  <wim@fluendo.com>
26136
26137         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26138         Don't sync to clock.
26139
26140 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26141
26142         * docs/gst/gstreamer-sections.txt:
26143           ultral33t func10ns deserve to appear in the docs actually
26144         * docs/gst/tmpl/.cvsignore:
26145         * docs/gst/tmpl/gstcompat.sgml:
26146         * docs/gst/tmpl/gstconfig.sgml:
26147         * gst/check/gstcheck.c:
26148         * gst/gstcompat.h:
26149         * gst/gstconfig.h.in:
26150           inlined more docs
26151
26152 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26153
26154         * docs/gst/tmpl/.cvsignore:
26155         * docs/gst/tmpl/gstquery.sgml:
26156         * docs/gst/tmpl/gstutils.sgml:
26157         * gst/gstquery.c:
26158         * gst/gstquery.h:
26159           inlined and extended docs
26160
26161 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26162
26163         * check/gst-libs/controller.c: (GST_START_TEST),
26164         (gst_controller_suite):
26165           more tests
26166         * docs/gst/tmpl/gstutils.sgml:
26167         * docs/libs/gstreamer-libs-sections.txt:
26168         * docs/libs/tmpl/gstdataprotocol.sgml:
26169           include path fixes
26170         * examples/controller/audio-example.c: (main):
26171           controller example works now
26172         * gst/gstclock.h:
26173           doc fixes
26174         * tools/gst-inspect.c: (print_element_properties_info):
26175           show param spec flags
26176
26177 2005-08-29  Andy Wingo  <wingo@pobox.com>
26178
26179         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26180
26181 2005-08-28  Andy Wingo  <wingo@pobox.com>
26182
26183         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26184         as having two arguments instead of just one. Allows superclasses
26185         to access information on subclasses -- see the terrible for() loop
26186         in gtype.c:g_type_create_instance for the reason why. All callers
26187         changed.
26188
26189 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26190
26191         * docs/design/part-messages.txt:
26192           update info
26193         * docs/gst/tmpl/.cvsignore:
26194         * docs/gst/tmpl/gstcaps.sgml:
26195         * docs/gst/tmpl/gstclock.sgml:
26196         * gst/gstbus.c:
26197         * gst/gstcaps.c:
26198         * gst/gstcaps.h:
26199         * gst/gstclock.c:
26200         * gst/gstclock.h:
26201         * gst/gstmessage.c:
26202           added descriptions for bus and message
26203           inline caps and clock docs
26204
26205 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26206
26207         * gst/gstmessage.c:
26208         * gst/gstmessage.h:
26209           doc fixes
26210
26211 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26212
26213         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26214           fix div-by-zero
26215
26216 2005-08-26  Andy Wingo  <wingo@pobox.com>
26217
26218         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26219         element_set_state's return val.
26220         (test_2_elements): Add test that's been disabled for months.
26221
26222         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26223         can-activate-pull properties.
26224
26225         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26226         can-activate-pull properties. Implement is_seekable so fakesrc can
26227         operate in pull mode.
26228
26229         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26230         properties.
26231         (gst_base_sink_activate, gst_base_sink_activate_pull)
26232         (gst_base_sink_activate_push): Make activation mode choosing work.
26233         Cleanups.
26234         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26235         is right. Make pull mode work. Post an eos before pausing in pull
26236         mode.
26237         (gst_base_sink_change_state): Pay attention to the core's
26238         change_state() return val.
26239         
26240         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26241         has-getrange properties. Cleanups.
26242         
26243         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26244         has_getrange and replace with can_activate_pull and
26245         can_activate_push.
26246
26247         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26248         locking comments. Remove has_loop, has_chain and replace with
26249         can_activate_pull and can_activate_push.
26250
26251 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26252
26253         * configure.ac:
26254         * examples/Makefile.am:
26255         * examples/metadata/Makefile.am:
26256         * examples/metadata/read-metadata.c: (message_loop),
26257         (have_pad_handler), (make_pipeline), (print_tag), (main):
26258           Add metadata reading example that loops over a list of filenames,
26259           dumping any tags found.
26260
26261         * gst/gstbus.c: (gst_bus_dispose):
26262         * gst/gstelement.c: (gst_element_dispose):
26263           Release a few potentially-held references in dispose.
26264
26265 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26266
26267         * docs/gst/tmpl/gstminiobject.sgml:
26268           do *not* add tmpl/*.sgml files to CVS!
26269
26270 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26271
26272         * libs/gst/bytestream/.cvsignore:
26273         * libs/gst/bytestream/Makefile.am:
26274         * libs/gst/bytestream/adapter.c:
26275         * libs/gst/bytestream/adapter.h:
26276         * libs/gst/bytestream/bytestream.c:
26277         * libs/gst/bytestream/bytestream.h:
26278         * libs/gst/bytestream/filepad.c:
26279         * libs/gst/bytestream/filepad.h:
26280           removing obsolete files
26281
26282 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26283
26284         * docs/gst/gstreamer-docs.sgml:
26285         * docs/libs/gstreamer-libs-docs.sgml:
26286           disabed additional index entries again, as this makes docs-gen just
26287           slow and they aren't useful yet
26288         * docs/libs/gstreamer-libs-sections.txt:
26289           little -section.txt cleanup for libs
26290
26291 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26292
26293         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26294         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26295           fix up some debugging
26296         (gst_base_transform_get_unit_size),
26297         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26298         (gst_base_transform_handle_buffer):
26299         * gst/base/gstbasetransform.h:
26300           handle and store timed NEWSEGMENT events so that subclasses that
26301           calculate time by counting samples have a segment_start time they
26302           need to add to their timestamps - see audioresample
26303
26304 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26305
26306         * gst/gstbin.h:
26307           removed ';' from the end of macro defs
26308         * docs/gst/gstreamer-docs.sgml:
26309         * docs/gst/gstreamer-sections.txt:
26310         * docs/gst/tmpl/.cvsignore:
26311         * gst/gstbus.h:
26312         * gst/gstelement.c: (gst_element_class_init),
26313         (gst_element_set_state), (activate_pads),
26314         (gst_element_save_thyself):
26315         * gst/gstevent.c: (gst_event_new_newsegment):
26316         * gst/gstevent.h:
26317         * gst/gstiterator.c:
26318         * gst/gstiterator.h:
26319         * gst/gstpad.c:
26320         * gst/gstprobe.h:
26321         * gst/gstutils.c: (gst_pad_query_convert):
26322         * gst/gstutils.h:
26323           fixed parameter name mismatches between source, header and docs
26324           added some more docs, resolved the last batch of unused elements in
26325           docs (now someone needs to doc them)
26326
26327 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26328
26329         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26330         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26331           don't walk through the plugins backwards.  Where is all this
26332           reversed logic coming from ?
26333
26334 2005-08-25  Wim Taymans  <wim@fluendo.com>
26335
26336         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26337         (gst_base_transform_transform_size),
26338         (gst_base_transform_configure_caps),
26339         (gst_base_transform_get_unit_size),
26340         (gst_base_transform_buffer_alloc),
26341         (gst_base_transform_change_state):
26342         * gst/base/gstbasetransform.h:
26343         Cache caps unit_size.
26344         Make sure we cannot negotiate up and downstream at the
26345         same time.
26346
26347 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26348
26349         * gst/gst.c: (init_pre), (init_post):
26350           register the installed plugin path after the env var
26351         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26352         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26353           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26354           directories, so the tests can prefer uninstalled over installed
26355
26356 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26357
26358         * gst/base/gstbasetransform.h:
26359           comment
26360         * gst/gstpad.c:
26361           add to docs
26362
26363 2005-08-25  Wim Taymans  <wim@fluendo.com>
26364
26365         * gst/gstbin.c: (bin_bus_handler):
26366         Be a bit more conservative about the posted message.
26367         
26368         * gst/gstbus.c: (gst_bus_post):
26369         Some cleanups, warn wrong return values.
26370
26371 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26372
26373         * check/gst/gstbin.c: (GST_START_TEST):
26374         * gst/gstbin.c: (bin_bus_handler):
26375         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26376         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26377         (gst_message_new_warning), (gst_message_new_tag),
26378         (gst_message_new_state_changed), (gst_message_new_segment_start),
26379         (gst_message_new_segment_done), (gst_message_new_custom):
26380         * gst/gstmessage.h:
26381         * tools/gst-launch.c: (event_loop):
26382         * tools/gst-md5sum.c: (event_loop):
26383           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26384
26385 2005-08-25  Wim Taymans  <wim@fluendo.com>
26386
26387         * check/generic/states.c: (GST_START_TEST):
26388         Cleanup can be done at the end.
26389
26390         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26391         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26392         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26393         Oh boy.. Thanks for finding this, Thomas. 
26394
26395 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26396
26397         * docs/gst/gstreamer.types:
26398           added missing types
26399
26400 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26401
26402         * docs/gst/gstreamer-docs.sgml:
26403         * docs/gst/gstreamer-sections.txt:
26404         * docs/gst/tmpl/.cvsignore:
26405         * gst/gstbin.c:
26406         * gst/gstiterator.c:
26407         * gst/gstutils.c:
26408         * gst/registries/gstxmlregistry.h:
26409           added missing classes and symbols (123 more to go)
26410           removed removed symbols from section file
26411           fixed many doc-comments
26412
26413 2005-08-24  Wim Taymans  <wim@fluendo.com>
26414
26415         * check/generic/states.c: (GST_START_TEST):
26416         Make sure all tasks are stopped.
26417
26418         * check/gst/gstbin.c: (GST_START_TEST):
26419         Unref after usage for proper valgrinding.
26420
26421         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26422         Really wait for the task to stop before destroying the
26423         mutex.
26424
26425         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26426         (gst_queue_src_activate_push):
26427         Small cleanups. Don't stop the task when we did not start
26428         it.
26429
26430         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26431         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26432         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26433         (gst_task_join):
26434         * gst/gsttask.h:
26435         Protect the stream lock with the object lock.
26436         Disallow setting the stream lock when running.
26437         Add cleanup_all to wait for the threadpool to finish.
26438         Remove code to autoallocate a mutex if none was provided.
26439         Add _join() to wait for a task to stop.
26440         Protect the thread pool with a global lock.
26441
26442 2005-08-24  Wim Taymans  <wim@fluendo.com>
26443
26444         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26445         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26446         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26447         * gst/base/gstbasesink.h:
26448         Handle newsegment events correctly.
26449         Drop buffers out of the segment range.
26450
26451 2005-08-22  Andy Wingo  <wingo@pobox.com>
26452
26453         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26454         macro, implements an interface and gstimplementsinterface for a
26455         new type.
26456
26457 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26458
26459         * check/Makefile.am:
26460         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26461           add a test that does a bunch of state changes on elements
26462           needs some fixing for valgrind
26463         * check/states/sinks.c: (gst_object_suite):
26464           whitespace
26465         * gst/gstcaps.h:
26466           add prototype for gst_caps_is_equal_fixed
26467         * gst/gstplugin.c:
26468         * gst/gstregistrypool.c:
26469           doc fixes
26470
26471 2005-08-24  Andy Wingo  <wingo@pobox.com>
26472
26473         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26474         convert a negative value. Doesn't make much sense. Mostly this is
26475         here to force callers to ensure -1 maps to -1.
26476
26477 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26478
26479         * docs/pwg/advanced-types.xml:
26480           Well done to Michael for catching my deliberate introduction
26481           of this spelling mistake. 
26482         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26483         * gst/gstelement.h:
26484           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26485           unlink pads before removing the element from the bin.
26486
26487 2005-08-24  Andy Wingo  <wingo@pobox.com>
26488
26489         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26490         the same thing as GST_DEBUG=*:4.
26491         (parse_debug_level, parse_debug_category): New helper parsers.
26492
26493 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26494
26495         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26496         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26497         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26498         (gst_base_transform_buffer_alloc),
26499         (gst_base_transform_handle_buffer):
26500           use gboolean return values and pointers to size so we can use the
26501           full GST_BUFFER_SIZE range (guint) for buffer sizes
26502           use GstPadDirection for transform_caps
26503         * gst/base/gstbasetransform.h:
26504           rename get_size to get_unit_size since that's what it is
26505         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26506           use GstPadDirection for transform_caps
26507         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26508         * gst/gstutils.h:
26509           cleanup and debugging
26510
26511 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26512
26513         * gst/gstelement.c: (gst_element_class_init),
26514         (gst_element_set_state), (activate_pads),
26515         (gst_element_save_thyself):
26516         * tools/gst-compprep.c: (main):
26517         * tools/gst-inspect.c: (print_element_properties_info):
26518         * tools/gst-xmlinspect.c: (print_element_properties):
26519           Fixed long standing mem-leak
26520
26521 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26522
26523         * check/gst/gstbin.c: (GST_START_TEST):
26524         * gst/gstbin.c: (bin_bus_handler):
26525         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26526         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26527         (gst_message_new_warning), (gst_message_new_tag),
26528         (gst_message_new_state_changed), (gst_message_new_segment_start),
26529         (gst_message_new_segment_done), (gst_message_new_custom):
26530         * gst/gstmessage.h:
26531         * tools/gst-launch.c: (event_loop):
26532         * tools/gst-md5sum.c: (event_loop):
26533           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26534           that applications can sensibly post custom messages with references
26535           to their own objects.
26536
26537 2005-08-24  Andy Wingo  <wingo@pobox.com>
26538
26539         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26540         already.
26541
26542 2005-08-24  Wim Taymans  <wim@fluendo.com>
26543
26544         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26545         (gst_base_transform_transform_caps),
26546         (gst_base_transform_transform_size),
26547         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26548         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26549         (gst_base_transform_handle_buffer):
26550         * gst/base/gstbasetransform.h:
26551         Many fixes and new features added by Thomas. Can now also do
26552         transforms with variable sizes and a custom fixate_caps function.
26553
26554 2005-08-24  Wim Taymans  <wim@fluendo.com>
26555
26556         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26557         Some debugging.
26558
26559         * gst/gstclock.h:
26560         Cast to ClockTime before formatting to time.
26561
26562         * gst/gstutils.h:
26563         Cleanups.
26564
26565 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26566
26567         * check/gst-libs/controller.c: (GST_START_TEST),
26568         (gst_controller_suite):
26569         * docs/gst/tmpl/gstcaps.sgml:
26570         * docs/gst/tmpl/gstghostpad.sgml:
26571         * docs/gst/tmpl/gstquery.sgml:
26572         * docs/gst/tmpl/gstutils.sgml:
26573         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26574         (gst_object_sink_values), (gst_object_get_value_arrays),
26575         (gst_object_get_value_array):
26576           gracefully handle helper method calls to objects that are not beeing
26577           controlled, added test case for that          
26578
26579 2005-08-23  Wim Taymans  <wim@fluendo.com>
26580
26581         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26582         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26583         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26584         (gst_event_parse_qos), (gst_event_new_seek),
26585         (gst_event_parse_seek):
26586         * gst/gstevent.h:
26587         Some more debugging output and doc cleanups.
26588
26589         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26590         Fix possible deadlock.
26591
26592 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26593
26594         * docs/gst/gstreamer-docs.sgml:
26595         * docs/gst/gstreamer-sections.txt:
26596         * docs/gst/gstreamer.types:
26597         * docs/gst/tmpl/.cvsignore:
26598         * gst/gstbin.h:
26599         * gst/gstbus.c:
26600         * gst/gstelement.c:
26601         * gst/gstevent.h:
26602           added 100 symbols from gstreamer-unused.txt to the right sections
26603           fixed more broken comments
26604           added GstBus to docs
26605
26606 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26607
26608         * docs/gst/gstreamer-sections.txt:
26609         * docs/gst/tmpl/.cvsignore:
26610         * docs/gst/tmpl/gstbin.sgml:
26611         * docs/gst/tmpl/gstbuffer.sgml:
26612         * gst/base/gstbasesrc.c:
26613         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26614         * gst/gstbuffer.c:
26615         * gst/gstbuffer.h:
26616         * tools/gst-launch.1.in:
26617           inlined more doc comments, added missing comments and fixed comments
26618           fixed typos
26619
26620 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26621
26622         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26623           some debugging
26624         * gst/gstcaps.h:
26625           whitespace fixes
26626         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26627           more debugging
26628         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26629         * gst/gststructure.h:
26630           add a fixate function for booleans; add a FIXME that these func
26631           names should probably be gst_structure_fixate_*
26632
26633 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26634
26635         * docs/gst/gstreamer-docs.sgml:
26636         * docs/gst/gstreamer-sections.txt:
26637         * gst/Makefile.am:
26638         * gst/gstbin.c: (gst_bin_get_type),
26639         (gst_bin_child_proxy_get_child_by_index),
26640         (gst_bin_child_proxy_get_children_count),
26641         (gst_bin_child_proxy_init):
26642         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26643         (gst_child_proxy_get_child_by_index),
26644         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26645         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26646         (gst_child_proxy_get), (gst_child_proxy_set_property),
26647         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26648         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26649         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26650         * gst/gstchildproxy.h:
26651         * gst/parse/grammar.y:
26652         * tools/gst-inspect.c: (print_interfaces),
26653         (print_element_properties_info), (print_element_info):
26654           ported gstchildproxy over from 0.8
26655           ported gst-inspect fixes and enhancements over from 0.8
26656
26657 2005-08-22  Wim Taymans  <wim@fluendo.com>
26658
26659         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26660         (gst_base_transform_handle_buffer):
26661         Also call the transform function if we have ANY caps.
26662
26663         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26664         Fix debug info.
26665
26666 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26667
26668         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26669           Don't pretend to handle seek events if the source is not seekable
26670
26671 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26672
26673         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26674           Remove extra parameter to debug output
26675
26676         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26677         (gst_base_src_do_seek), (gst_base_src_activate_push):
26678           Fix seek event handling.
26679
26680         * gst/gstpipeline.c: (gst_pipeline_change_state):
26681         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26682         (gst_queue_src_activate_push):
26683           Don't start the src pad task on FLUSH_STOP if the pad
26684           isn't linked.
26685           Debug changes.
26686
26687 2005-08-22  Wim Taymans  <wim@fluendo.com>
26688
26689         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26690         Added check for gst_static_caps_get() refcounting.
26691
26692 2005-08-22  Wim Taymans  <wim@fluendo.com>
26693
26694         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26695         Make _static_caps_get() refcounting sane.
26696         
26697         * gst/gstelement.c: (gst_element_set_state):
26698         Add g_return_val_if_fail() to protect against segfaults.
26699
26700 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26701
26702         * docs/gst/tmpl/gstevent.sgml:
26703         * gst/gstevent.c:
26704         * gst/gstevent.h:
26705           inlined remaining docs, added missing doc comments
26706
26707 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26708
26709         * check/gst/gstbin.c: (GST_START_TEST):
26710           since we don't know when preroll is done, use refcount range
26711           check for the sink
26712         * gst/check/gstcheck.h:
26713           add macro for checking refcount range
26714
26715 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26716
26717         * check/Makefile.am:
26718           clean up environment for when registry gets built versus
26719           when actual tests are run; valgrind seems to not report
26720           leaks if GST_PLUGIN_PATH is set to some specific values
26721         * check/gst/gstbin.c: (GST_START_TEST):
26722           add more refcounting checks; maybe this exposes a
26723           preroll lock bug ?
26724         * common/check.mak:
26725         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26726         * gst/check/gstcheck.h:
26727         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26728         (gst_bin_change_state):
26729         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26730           add/fix debugging/whitespace
26731
26732 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26733
26734         * check/gst/gstevent.c: (event_probe), (test_event),
26735         (GST_START_TEST):
26736          Er, don't call gst_bin_watch_for_state_change you idiot.
26737
26738 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26739
26740         * check/Makefile.am:
26741           Use CHECK_CFLAGS and CHECK_LIBS
26742         * check/gst/gstevent.c: (event_probe), (test_event),
26743         (GST_START_TEST):
26744           Don't leak events.
26745         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26746         (gst_base_src_start), (gst_base_src_stop),
26747         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26748         (gst_base_src_change_state):
26749           Sprinkle gst_base_src_stop liberally around error paths to fix
26750           problems reusing a source after failed state changes.
26751         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26752         (helper_find_suggest), (gst_type_find_helper):
26753           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26754         * gst/gstevent.h:
26755         * docs/gst/tmpl/gstevent.sgml:
26756           Migrate part of the docs from the SGML file. Wait for ensonic to
26757           tell me how I did it wrong ;)
26758         * tools/gst-typefind.c: (main):
26759           Extra robustness to state changes between files.
26760
26761 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26762
26763         * check/Makefile.am:
26764           don't valgrind the controller test - it's leaking - Stefan, HELP
26765         * gst/check/gstcheck.c: (gst_check_message_error),
26766         (gst_check_chain_func), (gst_check_setup_element),
26767         (gst_check_teardown_element), (gst_check_setup_src_pad),
26768         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26769         (gst_check_teardown_sink_pad):
26770         * gst/check/gstcheck.h:
26771           add a bunch of methods to set up elements, and src and sink pads
26772         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26773         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26774         (GST_START_TEST):
26775           use them
26776         * gst/gstmessage.c:
26777         * gst/gsttag.h:
26778           whitespace/doc fixes
26779
26780 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26781
26782         * gst/gstelement.h:
26783           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26784           be handled by the application and not always printed as well
26785
26786 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26787
26788         * check/Makefile.am:
26789           set GST_TOOLS_DIR
26790         * gst/check/gstcheck.c: (gst_check_message_error):
26791         * gst/check/gstcheck.h:
26792           add a fail_unless_equals_int
26793           add fail_unless for error messages
26794
26795 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26796
26797         * check/Makefile.am:
26798         * check/gst.supp:
26799         * common/Makefile.am:
26800         * common/check.mak:
26801         * common/gst.supp:
26802           factor out some of the common stuff so we can use it
26803
26804 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26805
26806         * check/Makefile.am:
26807         * check/gst/gstiterator.c: (GST_START_TEST):
26808         * check/gst/gstsystemclock.c: (GST_START_TEST),
26809         (gst_systemclock_suite):
26810         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26811         * gst/gstclock.c:
26812           valgrind more tests
26813
26814 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26815
26816         * check/elements/.cvsignore:
26817         * check/elements/gstfakesrc.c:
26818           rename to name of element
26819         * check/elements/identity.c: (chain_func), (event_func),
26820         (setup_identity), (cleanup_identity), (GST_START_TEST),
26821         (identity_suite), (main):
26822           add a test for identity
26823         * check/Makefile.am:
26824         * pkgconfig/Makefile.am:
26825         * pkgconfig/gstreamer-check.pc.in:
26826         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26827         * gst/check:
26828         * gst/Makefile.am:
26829         * configure.ac:
26830           move the check stuff to a library that gets installed
26831         * check/gst-libs/controller.c: (GST_START_TEST):
26832         * check/gst-libs/gdp.c:
26833         * check/gst/gst.c: (GST_START_TEST):
26834         * check/gst/gstbin.c:
26835         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26836         * check/gst/gstbus.c:
26837         * check/gst/gstcaps.c: (GST_START_TEST):
26838         * check/gst/gstelement.c:
26839         * check/gst/gstghostpad.c:
26840         * check/gst/gstiterator.c:
26841         * check/gst/gstmessage.c:
26842         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26843         * check/gst/gstobject.c:
26844         * check/gst/gstpad.c: (GST_START_TEST):
26845         * check/gst/gststructure.c: (GST_START_TEST):
26846         * check/gst/gstsystemclock.c: (GST_START_TEST),
26847         (gst_systemclock_suite):
26848         * check/gst/gsttag.c: (gst_tag_suite):
26849         * check/gst/gstvalue.c:
26850         * check/pipelines/cleanup.c:
26851         * check/pipelines/simple_launch_lines.c:
26852         * check/states/sinks.c:
26853           change include statement
26854
26855         * docs/gst/gstreamer-sections.txt:
26856         * docs/gst/tmpl/gstpad.sgml:
26857           document more pad stuff
26858         * gst/gstminiobject.c: (gst_mini_object_ref),
26859         (gst_mini_object_unref):
26860           debug refcounting
26861
26862 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26863
26864         * docs/gst/tmpl/gst.sgml:
26865         * gst/gst.c:
26866           eliminate another tmpl file, fix spelling in the long-description
26867
26868 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26869
26870         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26871         (test_event), (timediff), (gstevents_suite):
26872           Should fix build on 64-bit arch's
26873
26874 2005-08-18  Andy Wingo  <wingo@pobox.com>
26875
26876         Make sure that when a pipeline goes to PLAYING, that data has
26877         actually hit the sink.
26878
26879         * check/states/sinks.c (test_sink): A sink that doesn't get any
26880         data shouldn't return SUCCESS for going to either PLAYING or
26881         PAUSED. Test also the return values on the way back down.
26882
26883         * gst/gstelement.c (gst_element_set_state): When changing the
26884         state of an element currently changing state asynchronously, go to
26885         lost-state after commiting the pending state. Makes future calls
26886         to get_state continue to return ASYNC.
26887
26888         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26889         ASYNC when going to PLAYING if we still don't have preroll, as can
26890         happen with live sources.
26891
26892 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26893
26894         * docs/pwg/advanced-types.xml:
26895           Hack long paragraph into 2 chunks as a workaround for buggy
26896           jadetex version in sid and breezy that loops infinitely and
26897           eats all RAM.
26898
26899 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26900
26901         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26902         (test_event), (timediff), (gstevents_suite):
26903           Provide more error margin in clock measurements to allow for 
26904           g_get_current_time inaccuracies.
26905
26906 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26907
26908         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26909         (test_event), (timediff), (gstevents_suite):
26910            Fix error message output so I might be able to tell why the
26911            test works here but fails on the build farm.
26912
26913 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26914
26915         * check/Makefile.am:
26916         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26917         (test_event), (timediff), (gstevents_suite), (main):
26918           I wrote a test!
26919
26920         * docs/design/part-seeking.txt:
26921           Spelling correction
26922
26923         * docs/gst/tmpl/gstevent.sgml:
26924         * docs/gst/tmpl/gstfakesrc.sgml:
26925           Docs updates.
26926
26927         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26928           Treat a buffer-without-newsegment the same as a receiving 
26929           a newsegment not in time format, and disable syncing to the clock
26930           with a warning.
26931
26932         * gst/gstbus.c: (gst_bus_set_sync_handler):
26933           Assert if anyone tries to replace the existing sync_handler for bus, 
26934           as only the owner should be setting it.
26935
26936         * gst/gstevent.h:
26937           Have a fixed set of custom event enums with events identified by
26938           their structure name (as in 0.8), rather than a free-for-all
26939           allowing collisions between enum values from different plugins.
26940
26941         * gst/gstpad.c: (gst_pad_class_init):
26942           Docs change.
26943           
26944         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26945           Handle out-of-band downstream events from the sending thread.
26946
26947 2005-08-17  Andy Wingo  <wingo@pobox.com>
26948
26949         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26950         play-timeout==0 to mean no timeout at all. In that case, don't
26951         bother with a get_state or a warning, just return directly, even
26952         if it's ASYNC.
26953
26954         * gst/base/gstbasetransform.c: Debug changes.
26955
26956         * gst/gstutils.h:
26957         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26958         ensure bins post state change messages. A bit of a hack but I can't
26959         think of a way to avoid it.
26960
26961         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26962
26963 2005-08-16  Andy Wingo  <wingo@pobox.com>
26964
26965         * gst/base/gstadapter.h:
26966         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26967         peek() but you own the data. Not terribly efficient atm.
26968
26969 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26970
26971         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26972         (gst_element_found_tags):
26973         * gst/gstutils.h:
26974           Add two utility functions for tag handling.
26975
26976 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26977
26978         * docs/manual/advanced-dataaccess.xml:
26979         * docs/manual/basics-helloworld.xml:
26980           Fix docs to use _bin_add() before _link(), which fixes the examples
26981           with recent core versions (reported by Madhan Raj M
26982           <raj_madan@rediffmail.com>, #313199).
26983
26984 2005-08-16  Wim Taymans  <wim@fluendo.com>
26985
26986         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26987         Added subtract checks.
26988
26989         * docs/design/part-events.txt:
26990         Some more docs about newsegment
26991
26992         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26993         Fix FIXME
26994
26995         * gst/gstcaps.c: (gst_caps_to_string):
26996         Add comments, cleanups.
26997         
26998         * gst/gstelement.c: (gst_element_save_thyself):
26999         cleanups
27000         
27001         * gst/gstvalue.c: (gst_value_collect_int_range),
27002         (gst_string_unwrap), (gst_value_union_int_int_range),
27003         (gst_value_union_int_range_int_range),
27004         (gst_value_intersect_int_int_range),
27005         (gst_value_intersect_int_range_int_range),
27006         (gst_value_intersect_double_double_range),
27007         (gst_value_intersect_double_range_double_range),
27008         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27009         (gst_value_subtract_int_range_int),
27010         (gst_value_subtract_double_range_double),
27011         (gst_value_subtract_double_range_double_range),
27012         (gst_value_subtract_from_list), (gst_value_subtract_list),
27013         (gst_value_can_compare), (gst_value_compare_fraction):
27014         Cleanups, add comments, remove unneeded asserts.
27015
27016 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27017
27018         * tools/gst-launch.c: (event_loop):
27019           don't convert NULL structures to strings
27020
27021 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27022
27023         * docs/gst/gstreamer-sections.txt:
27024           made some defines private
27025         * docs/gst/tmpl/gstconfig.sgml:
27026         * docs/gst/tmpl/gstqueue.sgml:
27027         * docs/gst/tmpl/gsttaglist.sgml:
27028         * docs/gst/tmpl/gsttypes.sgml:
27029         * docs/gst/tmpl/gstutils.sgml:
27030         * docs/pwg/appendix-porting.xml:
27031         * gst/base/gstbasesink.h:
27032         * gst/base/gstbasesrc.c:
27033         * gst/base/gstbasesrc.h:
27034         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27035         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27036         * gst/gstelement.c: (gst_element_class_init):
27037         * gst/gstpad.c: (gst_pad_class_init):
27038         * gst/gstqueue.c: (gst_queue_class_init):
27039         * gst/gstxml.c: (gst_xml_class_init):
27040           documented all undocumented signal inline
27041         * libs/gst/controller/gst-controller.h:
27042           added padding
27043
27044 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27045
27046         * docs/pwg/appendix-porting.xml:
27047           Document _set_link_function -> _set_setcaps_function.
27048
27049 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27050
27051         * check/Makefile.am:
27052           add a .check target for running the check
27053         * check/gst-libs/controller.c: (GST_START_TEST):
27054           cosmetic fixups
27055         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27056           complete checks for gstbuffer; would be nice if I could get the
27057           gcov stuff to work so I can see if I actually completed gstbuffer.c
27058         * check/gstcheck.h:
27059           add ASSERT_BUFFER_REFCOUNT
27060
27061 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27062
27063         * docs/gst/gstreamer-sections.txt:
27064         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27065         * gst/gsttag.h:
27066           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27067           spew out a warning if a tag that is already registered
27068           is re-registered, unless it is re-registered with a 
27069           different type (#308438).
27070
27071 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27072
27073         * docs/pwg/appendix-porting.xml:
27074         * docs/pwg/building-state.xml:
27075           Add some paragraphs about state changes in 0.9 to the PWG
27076           and the porting guide, in particular about the new meaning
27077           of GST_STATE_PAUSED and how to write state change functions
27078           with concurrent access by multiple threads in mind.
27079
27080 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27081
27082         * docs/gst/gstreamer-docs.sgml:
27083         * docs/libs/gstreamer-libs-docs.sgml:
27084           added deprecation and since indexes
27085         * libs/gst/controller/gst-controller.c:
27086         * libs/gst/controller/gst-helper.c:
27087           added since tags
27088
27089
27090 2005-08-11  Wim Taymans  <wim@fluendo.com>
27091
27092         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27093         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27094         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27095         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27096         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27097         (gst_ghost_pad_set_target):
27098         Actually implement (re)setting the target on a ghostpad
27099         as described in the docs.
27100
27101 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27102
27103         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27104           Check whether GST_DEBUG_NO_COLOR environment variable is
27105           set and disable coloured debug output if that is the case.
27106
27107 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27108
27109         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27110         (gst_type_find_helper):
27111           The memory returned by gst_type_find_peek() needs to
27112           stay valid until the end of a typefind function, and
27113           typefind functions may keep results from different 
27114           offsets around, so we can't just unref the buffer from
27115           the previous _peek(), but have to save all buffers 
27116           returned by _peek() until typefinding is done and only
27117           free them then.
27118
27119 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27120
27121         * docs/gst/gstreamer-sections.txt:
27122         * gst/gstutils.h:
27123           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27124
27125 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27126
27127         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27128           Fix a pretty good memleak.
27129
27130 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27131
27132         * gst/gstiterator.h:
27133           Fix wrong include and 'make distcheck'.
27134
27135 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27136
27137         * gst/gstbin.c: (bin_bus_handler):
27138           Use gst_element_post_message() instead.
27139
27140 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27141
27142         * gst/base/gstadapter.h:
27143         * gst/base/gstbasesink.h:
27144         * gst/base/gstbasesrc.h:
27145         * gst/base/gstbasetransform.h:
27146         * gst/base/gstcollectpads.h:
27147         * gst/base/gstpushsrc.h:
27148         * gst/gstiterator.h:
27149           Add padding to our base elements' class and instance structs and
27150           to GstIterator (you will need to rebuild all plugins and apps!)
27151
27152 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27153
27154         * gst/gstbin.c: (bin_bus_handler):
27155           Make default message forwarding from child->bus to bin->bus
27156           threadsafe and make it not emit warnings if the parent has no bus.
27157
27158 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27159
27160         * gst/gstelement.c: (activate_pads):
27161           On paused->ready, set pad->caps to NULL, as is the documented
27162           behaviour in this state change. Fixes playback of series of
27163           media files when visualization is enabled in Totem.
27164
27165 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27166
27167         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27168           Allow NULL as filter-caps (which means "any").
27169
27170 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27171
27172         * docs/libs/gstreamer-libs-sections.txt:
27173         * libs/gst/controller/gst-controller.c:
27174         * libs/gst/controller/gst-controller.h:
27175         * libs/gst/controller/gst-helper.c:
27176           adding more entries to the docs and fix small doc-bugs
27177
27178 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27179
27180         * docs/gst/gstreamer-docs.sgml:
27181         * docs/gst/gstreamer-sections.txt:
27182         * docs/gst/gstreamer.types:
27183         * docs/gst/tmpl/gstbasesink.sgml:
27184         * docs/gst/tmpl/gstbasesrc.sgml:
27185         * docs/gst/tmpl/gstbasetransform.sgml:
27186         * docs/gst/tmpl/gstfakesrc.sgml:
27187         * gst/base/gstcollectpads.c:
27188         * gst/base/gstcollectpads.h:
27189         * libs/gst/controller/gst-controller.c:
27190         * libs/gst/controller/gst-controller.h:
27191         * libs/gst/controller/gst-helper.c:
27192         * libs/gst/controller/gst-interpolation.c:
27193         * libs/gst/controller/lib.c:
27194           added long/short desc for controller docs
27195           added collectpads base class docs
27196           added correct includes to base-class docs
27197
27198 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27199
27200         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27201         (gst_test_mono_source_set_property),
27202         (gst_test_mono_source_class_init), (GST_START_TEST),
27203         (gst_controller_suite):
27204         * docs/gst/gstreamer-docs.sgml:
27205         * docs/gst/gstreamer-sections.txt:
27206         * docs/gst/gstreamer.types:
27207         * docs/libs/gstreamer-libs-docs.sgml:
27208         * docs/libs/gstreamer-libs-sections.txt:
27209         * gst/base/gstadapter.c:
27210         * libs/gst/controller/gst-controller.c:
27211         (gst_controlled_property_new), (gst_controlled_property_free),
27212         (gst_controller_new_valist),
27213         (gst_controller_remove_properties_valist),
27214         (gst_controller_sink_values), (_gst_controller_finalize):
27215         * libs/gst/controller/gst-controller.h:
27216         * libs/gst/controller/gst-helper.c:
27217         (gst_object_control_properties), (gst_object_uncontrol_properties),
27218         (gst_object_get_controller), (gst_object_set_controller),
27219         (gst_object_sink_values), (gst_object_get_value_arrays),
27220         (gst_object_get_value_array):
27221           more tests (and fixes) for the controller
27222           more docs for the controller
27223           integrated companies docs for the adapter 
27224
27225 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27226
27227         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27228         (GST_START_TEST), (fakesrc_suite):
27229           add tests for sizetype
27230
27231 2005-08-04  Andy Wingo  <wingo@pobox.com>
27232
27233         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27234         fixes buffer_alloc proxying among other things.
27235
27236         * gst/base/gstbasetransform.c:
27237         * gst/base/gstbasetransform.h:
27238         Revert patch to gstbasetransform from 7-28 removing
27239         delay_configure.
27240
27241         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27242         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27243         Semantics changed, should return not the size of the output buffer
27244         but the byte size of a buffer with a given caps.
27245
27246         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27247         debug object.
27248         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27249         out) are not the pad caps until setcaps finishes.
27250         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27251         not-in-place case as well. Deal with changing from in-place to
27252         not-in-place within calling pad_alloc_buffer. Still a bit
27253         concerned about the overhead here...
27254
27255 2005-08-03  Andy Wingo  <wingo@pobox.com>
27256
27257         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27258         fixating is an error.
27259
27260 2005-08-04  Edward Hervey  <edward@fluendo.com>
27261
27262         * gst/base/gstadapter.h: 
27263         Added gst_adapter_get_type() to the header
27264
27265 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27266
27267         * check/Makefile.am:
27268         * check/gst-libs/controller.c:
27269         * libs/gst/controller/gst-controller.c:
27270         (gst_controller_new_valist):
27271           added check test suite for the controller
27272         * gst/base/gstpushsrc.c:
27273           fixed a doc typo
27274
27275 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27276
27277         * docs/gst/Makefile.am:
27278         * docs/gst/gstreamer-docs.sgml:
27279         * docs/gst/gstreamer-sections.txt:
27280         * docs/gst/gstreamer.types:
27281         * docs/gst/tmpl/gstfakesrc.sgml:
27282         * gst/base/README:
27283         * gst/base/gstbasesink.c:
27284         * gst/base/gstbasesink.h:
27285         * gst/base/gstbasesrc.c:
27286         * gst/base/gstbasesrc.h:
27287         * gst/base/gstbasetransform.c:
27288         * gst/base/gstpushsrc.c:
27289         * gst/base/gstpushsrc.h:
27290           add short/long description docs to base classes
27291           add pushsrc to the docs
27292           remove consolidated doc fragments
27293
27294 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27295
27296         * configure.ac:
27297         * docs/libs/Makefile.am:
27298         * docs/libs/gstreamer-libs-docs.sgml:
27299         * docs/libs/gstreamer-libs-sections.txt:
27300         * docs/libs/gstreamer-libs.types:
27301         * examples/Makefile.am:
27302         * examples/controller/.cvsignore:
27303         * examples/controller/Makefile.am:
27304         * examples/controller/audio-example.c: (main):
27305         * libs/gst/Makefile.am:
27306         * libs/gst/controller/.cvsignore:
27307         * libs/gst/controller/Makefile.am:
27308         * libs/gst/controller/gst-controller.c:
27309         (on_object_controlled_property_changed), (gst_timed_value_compare),
27310         (gst_timed_value_find),
27311         (gst_controlled_property_set_interpolation_mode),
27312         (gst_controlled_property_new), (gst_controlled_property_free),
27313         (gst_controller_find_controlled_property),
27314         (gst_controller_new_valist), (gst_controller_new),
27315         (gst_controller_remove_properties_valist),
27316         (gst_controller_remove_properties), (gst_controller_set),
27317         (gst_controller_set_from_list), (gst_controller_unset),
27318         (gst_controller_get), (gst_controller_get_all),
27319         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27320         (gst_controller_get_value_array),
27321         (gst_controller_set_interpolation_mode),
27322         (_gst_controller_finalize), (_gst_controller_init),
27323         (_gst_controller_class_init), (gst_controller_get_type):
27324         * libs/gst/controller/gst-controller.h:
27325         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27326         (g_object_uncontrol_properties), (g_object_get_controller),
27327         (g_object_set_controller), (g_object_sink_values),
27328         (g_object_get_value_arrays), (g_object_get_value_array):
27329         * libs/gst/controller/gst-interpolation.c:
27330         (gst_controlled_property_find_timed_value_node),
27331         (interpolate_none_get), (interpolate_trigger_get),
27332         (interpolate_trigger_get_value_array):
27333         * libs/gst/controller/lib.c: (gst_controller_init):
27334         * pkgconfig/Makefile.am:
27335         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27336         * pkgconfig/gstreamer-control.pc.in:
27337         * testsuite/Makefile.am:
27338         * testsuite/controller/.cvsignore:
27339         * testsuite/controller/Makefile.am:
27340         * testsuite/controller/interpolator.c: (main):
27341           added controller code
27342           removed dparam pc files
27343
27344 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27345         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27346         (gst_collectpads_stop):
27347           Broadcast the condition when shutting down, to make sure we wake all
27348           threads up. Shut down pads on finalize, for safety.
27349
27350 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27351         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27352         (gst_base_transform_handle_buffer),
27353         (gst_base_transform_change_state):
27354           Handle PAUSED->READY->PAUSED transition after negotiation
27355           occurred already.
27356         * gst/gstmessage.c: (gst_message_init):
27357           Extra piece of debug for new messages.
27358
27359 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27360
27361         * configure.ac:
27362         * docs/gst/tmpl/gstbasesrc.sgml:
27363         * docs/gst/tmpl/gstelement.sgml:
27364         * docs/gst/tmpl/gstevent.sgml:
27365         * docs/gst/tmpl/gstfakesrc.sgml:
27366         * docs/gst/tmpl/gstformat.sgml:
27367         * docs/gst/tmpl/gstghostpad.sgml:
27368         * docs/gst/tmpl/gstpad.sgml:
27369         * docs/gst/tmpl/gstquery.sgml:
27370         * docs/gst/tmpl/gststructure.sgml:
27371         * docs/gst/tmpl/gsttaglist.sgml:
27372         * docs/gst/tmpl/gstvalue.sgml:
27373         * docs/libs/gstreamer-libs-docs.sgml:
27374         * docs/libs/gstreamer-libs-sections.txt:
27375         * docs/libs/gstreamer-libs.types:
27376         * libs/gst/Makefile.am:
27377         * libs/gst/control/.cvsignore:
27378         * libs/gst/control/Makefile.am:
27379         * libs/gst/control/control.c:
27380         * libs/gst/control/control.h:
27381         * libs/gst/control/dparam.c:
27382         * libs/gst/control/dparam.h:
27383         * libs/gst/control/dparam_smooth.c:
27384         * libs/gst/control/dparam_smooth.h:
27385         * libs/gst/control/dparamcommon.h:
27386         * libs/gst/control/dparammanager.c:
27387         * libs/gst/control/dparammanager.h:
27388         * libs/gst/control/dplinearinterp.c:
27389         * libs/gst/control/dplinearinterp.h:
27390         * libs/gst/control/unitconvert.c:
27391         * libs/gst/control/unitconvert.h:
27392         * testsuite/Makefile.am:
27393         * testsuite/dynparams/.cvsignore:
27394         * testsuite/dynparams/Makefile.am:
27395         * testsuite/dynparams/dparamstest.c:
27396         * tools/Makefile.am:
27397         * tools/gst-inspect.c: (print_element_info), (main):
27398         * tools/gst-xmlinspect.c: (print_element_info), (main):
27399           deactivate and remove dparams (libgstcontrol)
27400
27401 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27402
27403         * gst/elements/gsttypefindelement.c:
27404         (gst_type_find_element_have_type), (gst_type_find_element_init),
27405         (stop_typefinding), (gst_type_find_element_handle_event),
27406         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27407         * gst/elements/gsttypefindelement.h:
27408           Set caps on all outgoing buffers, not just the first one.
27409
27410 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27411
27412         * gst/elements/gsttypefindelement.c:
27413         (gst_type_find_element_have_type),
27414         (gst_type_find_element_check_set_buffer_caps),
27415         (gst_type_find_element_init), (stop_typefinding),
27416         (gst_type_find_element_handle_event),
27417         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27418         * gst/elements/gsttypefindelement.h:
27419           Set caps on first outgoing buffer when we've found the type.
27420
27421 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27422
27423         * docs/gst/gstreamer-docs.sgml:
27424         * docs/gst/gstreamer-sections.txt:
27425         * docs/gst/tmpl/gstscheduler.sgml:
27426         * docs/gst/tmpl/gstschedulerfactory.sgml:
27427           Remove some old cruft from docs.
27428
27429 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27430
27431         * gst/gstpad.h:
27432           Fix inline docs for GstPadLinkReturn.
27433           
27434         * gst/gststructure.c: (gst_structure_has_name):
27435         * gst/gststructure.h:
27436         * docs/gst/gstreamer-sections.txt:
27437           New API: gst_structure_has_name().
27438
27439 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27440
27441         * configure.ac:
27442           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27443           and _LARGEFILE_SOURCE in config.h as required. Do not 
27444           export those flags in our .pc files any longer (#142209).
27445
27446           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27447
27448         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27449         (gst_file_sink_do_seek), (gst_file_sink_event),
27450         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27451           Redo seek/tell calls with large file support in mind; add some
27452           debugging messages; add log message that tells us when large
27453           file support is unavailable or not enabled for some reason.
27454
27455         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27456           Add log message that tells us when large file support 
27457           is unavailable or not enabled for some reason.
27458
27459 2005-07-29  Wim Taymans  <wim@fluendo.com>
27460
27461         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27462         Added test for removing an element with ghostpad from a bin.
27463         Fixed test as current implementation does the right thing.
27464
27465         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27466         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27467         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27468         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27469         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27470         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27471         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27472         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27473         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27474         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27475         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27476         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27477         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27478         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27479         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27480         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27481         * gst/gstghostpad.h:
27482         Clean up ghostpads, remove properties for internal stuff.
27483         Make threadsafe.
27484         Fix refcounting.
27485         Prepare for switching targets, not all use cases work yet.
27486
27487 2005-07-29  Wim Taymans  <wim@fluendo.com>
27488
27489         * docs/design/part-gstghostpad.txt:
27490         Small update.
27491
27492         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27493         (gst_bin_remove_func):
27494         Unlinking pads while holding the bin LOCK is not a good
27495         idea.
27496
27497         * gst/gstpad.c: (gst_pad_class_init),
27498         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27499         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27500         No prob setting template after creating the pad.
27501
27502 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27503
27504         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27505         (gst_bus_peek), (gst_bus_source_dispatch),
27506         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27507         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27508           gst_bus_poll may be called from other threads. Handle
27509           this nicely by not making poll_data disappear off the
27510           stack once gst_bus_poll returns.
27511           gst_bus_peek now increments the refcount on the returned
27512           message.
27513
27514 2005-07-29  Wim Taymans  <wim@fluendo.com>
27515
27516         * docs/design/part-gstghostpad.txt:
27517         Overview of current GhostPad datastructures and use
27518         cases for changing the target.
27519
27520 2005-07-28  Wim Taymans  <wim@fluendo.com>
27521
27522         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27523         Added checks for hierarchy consistency whan adding linked
27524         elements to bins.
27525
27526         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27527         Added check to test element scheduling without bin/pipeline.
27528
27529         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27530         First add elements to bin, then link.
27531         
27532         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27533         (gst_bin_remove_func):
27534         Unlink pads from elements added/removed from bin to maintain
27535         hierarchy consistency.
27536
27537 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27538
27539         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27540         (gst_base_transform_handle_buffer):
27541         * gst/base/gstbasetransform.h:
27542           Remove broken delay_configure (fixes renegotiation of software
27543           scaling pipelines); remove some leftover printf()s.
27544
27545 2005-07-28  Wim Taymans  <wim@fluendo.com>
27546
27547         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27548         Added some more tests for wrong hierarchy
27549
27550         * docs/design/part-overview.txt:
27551         Some updates.
27552
27553         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27554         Cleanups.
27555
27556         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27557         (gst_element_dispose):
27558         Some more cleanups.
27559
27560         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27561         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27562         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27563         (gst_pad_set_caps), (gst_pad_send_event):
27564         Check for correct hierarchy when linking pads. Moving to
27565         strict requirement for ghostpads when linking elements in
27566         different bins.
27567
27568         * gst/gstpad.h:
27569         Clean ups. Added WRONG_HIERARCHY return value.
27570
27571 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27572
27573         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27574           Better debug if no transform is possible.
27575
27576 2005-07-27  Wim Taymans  <wim@fluendo.com>
27577
27578         * docs/random/wtay/network-transp:
27579         Some old doc I had.
27580
27581 2005-07-27  Wim Taymans  <wim@fluendo.com>
27582
27583         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27584         (gst_dp_event_from_packet):
27585         Fix serialization of seek events.
27586
27587 2005-07-27  Wim Taymans  <wim@fluendo.com>
27588
27589         * check/gst-libs/gdp.c: (GST_START_TEST):
27590         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27591         Fix compilation and fix event serialization.
27592
27593 2005-07-27  Wim Taymans  <wim@fluendo.com>
27594
27595         * CHANGES-0.9:
27596         * docs/design/part-TODO.txt:
27597         * docs/design/part-events.txt:
27598         Some docs updates
27599
27600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27601         (gst_base_sink_event), (gst_base_sink_do_sync),
27602         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27603         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27604         (gst_base_src_do_seek), (gst_base_src_event_handler),
27605         (gst_base_src_loop):
27606         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27607         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27608         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27609         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27610         (gst_base_transform_set_passthrough),
27611         (gst_base_transform_is_passthrough):
27612         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27613         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27614         Event updates.
27615
27616         * gst/gstbuffer.h:
27617         Use faster casts.
27618
27619         * gst/gstelement.c: (gst_element_seek):
27620         * gst/gstelement.h:
27621         Update gst_element_seek.
27622
27623         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27624         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27625         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27626         (gst_event_new_eos), (gst_event_new_newsegment),
27627         (gst_event_parse_newsegment), (gst_event_new_tag),
27628         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27629         (gst_event_parse_qos), (gst_event_new_seek),
27630         (gst_event_parse_seek), (gst_event_new_navigation):
27631         * gst/gstevent.h:
27632         Make GstEvent use GstStructure. Add parsing code, make sure the
27633         API is sufficiently generic.
27634         Mark possible directions of events and serialization.
27635
27636         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27637         (_gst_message_copy), (gst_message_new_segment_start),
27638         (gst_message_new_segment_done), (gst_message_new_custom),
27639         (gst_message_parse_segment_start),
27640         (gst_message_parse_segment_done):
27641         Small cleanups.
27642
27643         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27644         (gst_pad_set_caps), (gst_pad_send_event):
27645         Update for new events. 
27646         Catch events sent in wrong directions.
27647
27648         * gst/gstqueue.c: (gst_queue_link_src),
27649         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27650         (gst_queue_handle_src_query):
27651         Event updates.
27652
27653         * gst/gsttag.c:
27654         * gst/gsttag.h:
27655         Remove event code from this file.
27656
27657         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27658         (gst_dp_event_from_packet):
27659         Event updates.
27660
27661 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27662
27663         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27664         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27665         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27666           Make debugging actually useful.
27667
27668 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27669
27670         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27671         (gst_pad_fixate_caps):
27672           Implement default fixation once again, so that gst_pad_fixate()
27673           actually does anything at all. This probably needs to be some
27674           sort of a last resort, and use profile-based fixation first, but
27675           since that doesn't exist yet, this is the best we have. Fixes
27676           visualization in Totem.
27677
27678 2005-07-22  Wim Taymans  <wim@fluendo.com>
27679
27680         * docs/design/part-events.txt:
27681         Small update.
27682
27683         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27684         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27685         (gst_base_sink_activate_pull):
27686         Some more comments.
27687
27688         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27689         (gst_fake_src_create):
27690         Fix handoff marshall.
27691
27692         * gst/elements/gstidentity.c: (gst_identity_class_init),
27693         (gst_identity_transform_ip):
27694         We're a real inplace element.
27695
27696         * gst/gstbus.c: (gst_bus_post):
27697         Added some comments.
27698
27699         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27700         * tests/muxing/case1.c: (main):
27701         * tests/sched/dynamic-pipeline.c: (main):
27702         * tests/sched/interrupt1.c: (main):
27703         * tests/sched/interrupt2.c: (main):
27704         * tests/sched/interrupt3.c: (main):
27705         * tests/sched/runxml.c: (main):
27706         * tests/sched/sched-stress.c: (main):
27707         * tests/seeking/seeking1.c: (event_received), (main):
27708         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27709         (main):
27710         * tests/threadstate/threadstate3.c: (main):
27711         * tests/threadstate/threadstate4.c: (main):
27712         * tests/threadstate/threadstate5.c: (main):
27713         Fix the tests.
27714
27715 2005-07-21  Wim Taymans  <wim@fluendo.com>
27716
27717         * docs/design/part-seeking.txt:
27718         Some small additions.
27719
27720         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27721         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27722         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27723         * gst/base/gstbasesink.h:
27724         discont values are gint64, handle the math correctly.
27725
27726         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27727         Make the basesrc report error if the source pad is not linked.
27728
27729         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27730         (gst_queue_loop), (gst_queue_handle_src_query),
27731         (gst_queue_src_activate_push):
27732         Make queue collect data even if the srcpad is not linked.
27733         Start pushing out data as soon as it is linked.
27734
27735         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27736         * gst/gstutils.h:
27737         Added gst_flow_get_name() to ease error reporting.
27738
27739 2005-07-20  Wim Taymans  <wim@fluendo.com>
27740
27741         * gst/gstmessage.c: (gst_message_new_segment_start),
27742         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27743         (gst_message_parse_segment_done):
27744         * gst/gstmessage.h:
27745         Added a bunch of messages for advanced seeking.
27746
27747         * gst/parse/grammar.y:
27748         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27749         (gst_dpman_state_changed):
27750         Fix some new-pad -> pad-added signals
27751
27752 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27753
27754         * docs/manual/appendix-porting.xml:
27755         * docs/pwg/appendix-porting.xml:
27756           Document new-pad/state-change signal renames and the FixedList
27757           type rename.
27758
27759 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27760
27761         * docs/manual/advanced-autoplugging.xml:
27762         * docs/manual/basics-helloworld.xml:
27763         * docs/manual/basics-pads.xml:
27764         * docs/random/ds/0.9-suggested-changes:
27765         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27766         * gst/gstelement.h:
27767         * gst/gstevent.h:
27768         * gst/gstformat.h:
27769         * gst/gstquery.h:
27770         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27771         (gst_structure_parse_array), (gst_structure_parse_value):
27772         * gst/gstvalue.c: (gst_type_is_fixed),
27773         (gst_value_list_prepend_value), (gst_value_list_append_value),
27774         (gst_value_list_get_size), (gst_value_list_get_value),
27775         (gst_value_transform_array_string), (gst_value_serialize_array),
27776         (gst_value_deserialize_array), (gst_value_intersect_array),
27777         (gst_value_is_fixed), (_gst_value_initialize):
27778         * gst/gstvalue.h:
27779           GstElement::new-pad -> pad-added, GstElement::state-change ->
27780           state-changed, GstValueFixedList -> GstValueArray, add format and
27781           flags as their own arguments in gst_element_seek() (should improve
27782           "bindeability"), remove function generators since they don't work
27783           under a whole bunch of compilers (they were deprecated already
27784           anyway).
27785
27786 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27787
27788         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27789         (_gst_debug_register_funcptr):
27790         * gst/gstinfo.h:
27791           Fix illegal cast on some platforms (#309253).
27792
27793 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27794
27795         * gst/gstmessage.c: (gst_message_new_custom):
27796         * gst/gstmessage.h:
27797           Add _new_custom, make _new_application a macro to _new_custom.
27798
27799 2005-07-20  Wim Taymans  <wim@fluendo.com>
27800
27801         * gst/base/gstbasesrc.c: (gst_base_src_init),
27802         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27803         * gst/base/gstbasesrc.h:
27804         Add a gboolean to decide when to push out a discont.
27805
27806         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27807         (gst_queue_loop), (gst_queue_handle_src_query),
27808         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27809         (gst_queue_set_property), (gst_queue_get_property):
27810         Some cleanups.
27811
27812         * tests/threadstate/threadstate1.c: (main):
27813         Make a thread test compile and run... very silly..
27814
27815
27816 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27817
27818         * docs/manual/appendix-porting.xml:
27819           Mention removal of libgstgconf-0.9.la and existence of gconf
27820           elements.
27821
27822 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27823
27824         * docs/pwg/advanced-clock.xml:
27825         * docs/pwg/appendix-porting.xml:
27826         * docs/pwg/intro-preface.xml:
27827         * docs/pwg/other-base.xml:
27828         * docs/pwg/other-manager.xml:
27829         * docs/pwg/other-nton.xml:
27830         * docs/pwg/other-ntoone.xml:
27831         * docs/pwg/other-oneton.xml:
27832         * docs/pwg/pwg.xml:
27833           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27834           demuxer), remove n-to-n (was never written), fix some code examples
27835           and links and update the porting section to include all this.
27836
27837 2005-07-19  Wim Taymans  <wim@fluendo.com>
27838
27839         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27840         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27841         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27842         (gst_queue_src_activate_push), (gst_queue_change_state),
27843         (gst_queue_get_property):
27844         * gst/gstqueue.h:
27845         Propagate GstFlowReturn more intelligently upstream and output
27846         an ERROR/EOS when streaming stopped due to fatal error.
27847
27848 2005-07-19  Wim Taymans  <wim@fluendo.com>
27849
27850         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27851         Don't block forever for the state change to complete, the
27852         pipeline already did with a sensible timeout.
27853
27854 2005-07-19  Wim Taymans  <wim@fluendo.com>
27855
27856         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27857         Make sure we never call the create function is we
27858         got deactivated.
27859
27860 2005-07-19  Andy Wingo  <wingo@pobox.com>
27861
27862         * gst/parse/parse.l: Attempt to solve bug #172815.
27863
27864 2005-07-19  Wim Taymans  <wim@fluendo.com>
27865
27866         * docs/design/part-clocks.txt:
27867         * docs/design/part-events.txt:
27868         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27869         Small docs updates.
27870         Only update the seeking values when we are not
27871         busy streaming.
27872
27873 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27874
27875         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27876           Oops, ignore the result of gst_pad_push_event here.
27877
27878 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27879
27880         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27881         (gst_base_src_activate_push):
27882           Send discont event from the loop function, as pads
27883           aren't activated yet in the activate_push handler.
27884
27885         * gst/gstbin.c: (bin_bus_handler):
27886           Don't leak element name.
27887
27888 2005-07-18  Andy Wingo  <wingo@pobox.com>
27889
27890         * configure.ac: Use AS_LIBTOOL_TAGS.
27891
27892 2005-07-18  Wim Taymans  <wim@fluendo.com>
27893
27894         * docs/gst/gstreamer.types:
27895         Remove deleted types.
27896
27897 2005-07-18  Wim Taymans  <wim@fluendo.com>
27898
27899         * check/elements/gstfakesrc.c: (GST_START_TEST):
27900         * configure.ac:
27901         * gst/Makefile.am:
27902         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27903         (init_popt_callback):
27904         * gst/gst.h:
27905         * gst/gst_private.h:
27906         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27907         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27908         * gst/gstbin.h:
27909         * gst/gstbus.h:
27910         * gst/gstconfig.h.in:
27911         * gst/gstelement.c: (gst_element_class_init),
27912         (gst_element_set_base_time), (gst_element_get_base_time),
27913         (iterator_fold_with_resync), (gst_element_change_state),
27914         (gst_element_dispose), (gst_element_get_bus):
27915         * gst/gstelement.h:
27916         * gst/gstelementfactory.h:
27917         * gst/gsterror.c: (_gst_core_errors_init):
27918         * gst/gsterror.h:
27919         * gst/gstevent.h:
27920         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27921         * gst/gstindex.c:
27922         * gst/gstinfo.c: (_gst_debug_init):
27923         * gst/gstmessage.c: (_gst_message_copy):
27924         * gst/gstmessage.h:
27925         * gst/gstminiobject.h:
27926         * gst/gstobject.c:
27927         * gst/gstobject.h:
27928         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27929         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27930         * gst/gstpad.h:
27931         * gst/gstparse.h:
27932         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27933         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27934         (gst_pipeline_get_last_stream_time):
27935         * gst/gstpipeline.h:
27936         * gst/gstpluginfeature.h:
27937         * gst/gstquery.h:
27938         * gst/gstscheduler.c:
27939         * gst/gstscheduler.h:
27940         * gst/gststructure.h:
27941         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27942         (gst_task_finalize), (gst_task_func), (gst_task_create),
27943         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27944         (gst_task_stop), (gst_task_pause):
27945         * gst/gsttask.h:
27946         * gst/gsttypefind.h:
27947         * gst/gsttypes.h:
27948         * gst/registries/gstlibxmlregistry.c: (load_feature),
27949         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27950         * gst/registries/gstxmlregistry.c:
27951         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27952         * gst/schedulers/threadscheduler.c:
27953         * libs/gst/control/dparammanager.h:
27954         * tools/gst-inspect.c: (print_element_list),
27955         (print_plugin_features), (print_element_features):
27956         * tools/gst-xmlinspect.c: (print_element_list),
27957         (print_plugin_info), (main):
27958         Removed plugable schedulers.
27959         Removed Scheduler/Manager from elements.
27960         Removed gsttypes.h, rearranged includes.
27961         Removed dependency pad<->element, element<>pipeline, and
27962         various others,  fix includes.
27963         implement gst_pad_get_parent() with gst_object_get_parent()
27964         Make GstTask sefcontained.
27965         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27966         timeout.
27967         Fix endless loop in iterator_fold_with_resync.
27968
27969
27970 2005-07-18  Wim Taymans  <wim@fluendo.com>
27971
27972         * gst/Makefile.am:
27973         * gst/gstarch.h:
27974         Remove old file.
27975
27976 2005-07-18  Wim Taymans  <wim@fluendo.com>
27977
27978         * gst/Makefile.am:
27979         No more cothreads.h
27980
27981 2005-07-18  Wim Taymans  <wim@fluendo.com>
27982
27983         * gst/cothreads.c:
27984         * gst/cothreads.h:
27985         Let's remove these.
27986
27987 2005-07-18  Wim Taymans  <wim@fluendo.com>
27988
27989         * docs/design/part-dynamic.txt:
27990         * docs/design/part-events.txt:
27991         * docs/design/part-seeking.txt:
27992         Some more docs in the works.
27993
27994         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27995         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27996         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27997         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27998         (gst_base_transform_handle_buffer),
27999         (gst_base_transform_sink_activate_push),
28000         (gst_base_transform_src_activate_pull),
28001         (gst_base_transform_set_passthrough),
28002         (gst_base_transform_is_passthrough):
28003         Refcounting fixes.
28004
28005         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28006         Cleanups.
28007
28008         * gst/gstevent.c: (gst_event_finalize):
28009         Set SRC to NULL.
28010
28011         * gst/gstutils.c: (gst_element_unlink),
28012         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28013         (gst_pad_proxy_setcaps):
28014         * gst/gstutils.h:
28015         Add _get_parent_element() to get a pads parent as an element.
28016
28017 2005-07-18  Wim Taymans  <wim@fluendo.com>
28018
28019         * check/gst/gstbin.c: (GST_START_TEST):
28020         Remove bogus test.
28021
28022 2005-07-18  Wim Taymans  <wim@fluendo.com>
28023
28024         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28025         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28026         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28027         (gst_base_sink_event), (gst_base_sink_do_sync),
28028         (gst_base_sink_chain), (gst_base_sink_loop),
28029         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28030         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28031         Refcounting fixes.
28032         Fix logic for returning ASYNC when not prerolled.
28033
28034 2005-07-18  Wim Taymans  <wim@fluendo.com>
28035
28036         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28037         Fix nasty refcount bug.
28038
28039 2005-07-16 Philippe Khalaf <burger@speedy.org>
28040
28041         * gst/elements/gstfdsrc.c:
28042         * gst/elements/gstfdsrc.h:
28043         * gst/elements/gstelements.c:
28044         * gst/elements/Makefile.am:
28045         Ported fdsrc to 0.9.
28046
28047 2005-07-16  Wim Taymans  <wim@fluendo.com>
28048
28049         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28050         (gst_base_sink_do_sync):
28051         Fix compile error.
28052
28053 2005-07-16  Wim Taymans  <wim@fluendo.com>
28054
28055         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28056         (gst_base_sink_event), (gst_base_sink_get_times),
28057         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28058         * gst/base/gstbasesink.h:
28059         Store and use discont values when syncing buffers as described
28060         in design docs.
28061         
28062         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28063         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28064         (gst_base_src_activate_push):
28065         Push discont event when starting.
28066
28067         * gst/elements/gstidentity.c: (gst_identity_transform):
28068         Small cleanups.
28069
28070         * gst/gstbin.c: (gst_bin_change_state):
28071         Small cleanups in base_time  distribution.
28072
28073         * gst/gstelement.c: (gst_element_set_base_time),
28074         (gst_element_get_base_time), (gst_element_change_state):
28075         * gst/gstelement.h:
28076         Added methods for the base_time of the element.
28077         Some MT fixes.
28078
28079         * gst/gstpipeline.c: (gst_pipeline_send_event),
28080         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28081         (gst_pipeline_get_last_stream_time):
28082         * gst/gstpipeline.h:
28083         MT fixes.
28084         Handle seeking as described in design doc, remove stream_time
28085         hack.
28086         Cleanups clock and stream_time selection code. Added accessors
28087         for the stream_time.
28088         
28089
28090 2005-07-16  Andy Wingo  <wingo@pobox.com>
28091
28092         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28093         (#305291).
28094
28095 2005-07-16  Wim Taymans  <wim@fluendo.com>
28096
28097         * check/gst/gstbin.c: (GST_START_TEST):
28098         Make elements silent as the deep_notify refs the
28099         parent, which might make the test fail.
28100
28101         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28102         Don't hold the lock for too long.
28103
28104 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28105
28106         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28107           Don't unref the caps we passed to gst_caps_make_writable() after
28108           passing them. gst_caps_make_writable() will do that for us.
28109
28110 2005-07-15  Andy Wingo  <wingo@pobox.com>
28111
28112         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28113         (#157311).
28114
28115         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28116         own marshalling function for the handoff signal. Properly type the
28117         buffer as a buffer. Fixes some warnings. Should do a more general
28118         solution.
28119         (gst_identity_class_init): Plug into the right marshaller.
28120
28121 2005-07-15  Wim Taymans  <wim@fluendo.com>
28122
28123         * docs/design/part-TODO.txt:
28124         * docs/design/part-clocks.txt:
28125         * docs/design/part-element-sink.txt:
28126         * docs/design/part-events.txt:
28127         * docs/design/part-gstpipeline.txt:
28128         Updated docs, mostly DISCONT related.
28129
28130 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28131
28132         * docs/pwg/building-pads.xml:
28133           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28134
28135 2005-07-15  Andy Wingo  <wingo@pobox.com>
28136
28137         * tools/gst-typefind.c: Update, add copyright block.
28138
28139         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28140         Normalize and truncate caps before fixation.
28141
28142         * gst/gstcaps.h:
28143         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28144         discards all but the first structure from its argument.
28145
28146 2005-07-15  Wim Taymans  <wim@fluendo.com>
28147
28148         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28149         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28150         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28151         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28152         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28153         (gst_base_transform_chain), (gst_base_transform_change_state),
28154         (gst_base_transform_set_passthrough),
28155         (gst_base_transform_is_passthrough):
28156         * gst/base/gstbasetransform.h:
28157         Make passthrough work using the bufferpools.
28158         Changed API a bit, subclasses have to write into a buffer
28159         provided by the base class.
28160         More debug info in nego functions.
28161         
28162         * gst/elements/gstidentity.c: (gst_identity_init),
28163         (gst_identity_transform):
28164         Port to new base class.
28165
28166 2005-07-15  Wim Taymans  <wim@fluendo.com>
28167
28168         * gst/gstmessage.c: (gst_message_new_state_changed):
28169         * tools/gst-launch.c: (event_loop), (main):
28170         Totally dump messages in -launch with the -m option.
28171         Fix message name for State messages,
28172
28173 2005-07-14  Wim Taymans  <wim@fluendo.com>
28174
28175         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28176         Post error messages on errors.
28177
28178 2005-07-14  Wim Taymans  <wim@fluendo.com>
28179
28180         * gst/gstcaps.c: (gst_caps_do_simplify):
28181         Remove debug info.
28182
28183         * gst/gsterror.h:
28184         Define error for stream stopped.
28185
28186         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28187         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28188         Do proper return values.
28189
28190         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28191         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28192         (gst_pad_get_range):
28193         Better return values.
28194
28195         * gst/gstpad.h:
28196         Reorganise return values, add macro to check for fatal errors.
28197
28198         * gst/gstqueue.c: (gst_queue_chain):
28199         Return proper GstFlowReturn values,
28200
28201 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28202
28203         * docs/gst/gstreamer-sections.txt:
28204         * docs/gst/gstreamer.types:
28205         * docs/gst/tmpl/gst.sgml:
28206         * docs/gst/tmpl/gstbasesink.sgml:
28207         * docs/gst/tmpl/gstbasesrc.sgml:
28208         * docs/gst/tmpl/gstbasetransform.sgml:
28209         * docs/gst/tmpl/gstbin.sgml:
28210         * docs/gst/tmpl/gstbuffer.sgml:
28211         * docs/gst/tmpl/gstcaps.sgml:
28212         * docs/gst/tmpl/gstclock.sgml:
28213         * docs/gst/tmpl/gstcompat.sgml:
28214         * docs/gst/tmpl/gstconfig.sgml:
28215         * docs/gst/tmpl/gstelement.sgml:
28216         * docs/gst/tmpl/gstelementdetails.sgml:
28217         * docs/gst/tmpl/gstelementfactory.sgml:
28218         * docs/gst/tmpl/gstenumtypes.sgml:
28219         * docs/gst/tmpl/gsterror.sgml:
28220         * docs/gst/tmpl/gstevent.sgml:
28221         * docs/gst/tmpl/gstfakesink.sgml:
28222         * docs/gst/tmpl/gstfakesrc.sgml:
28223         * docs/gst/tmpl/gstfilesink.sgml:
28224         * docs/gst/tmpl/gstfilesrc.sgml:
28225         * docs/gst/tmpl/gstfilter.sgml:
28226         * docs/gst/tmpl/gstformat.sgml:
28227         * docs/gst/tmpl/gstghostpad.sgml:
28228         * docs/gst/tmpl/gstimplementsinterface.sgml:
28229         * docs/gst/tmpl/gstindex.sgml:
28230         * docs/gst/tmpl/gstindexfactory.sgml:
28231         * docs/gst/tmpl/gstinfo.sgml:
28232         * docs/gst/tmpl/gstiterator.sgml:
28233         * docs/gst/tmpl/gstmacros.sgml:
28234         * docs/gst/tmpl/gstmemchunk.sgml:
28235         * docs/gst/tmpl/gstminiobject.sgml:
28236         * docs/gst/tmpl/gstobject.sgml:
28237         * docs/gst/tmpl/gstpad.sgml:
28238         * docs/gst/tmpl/gstpadtemplate.sgml:
28239         * docs/gst/tmpl/gstparse.sgml:
28240         * docs/gst/tmpl/gstpipeline.sgml:
28241         * docs/gst/tmpl/gstplugin.sgml:
28242         * docs/gst/tmpl/gstpluginfeature.sgml:
28243         * docs/gst/tmpl/gstquery.sgml:
28244         * docs/gst/tmpl/gstqueue.sgml:
28245         * docs/gst/tmpl/gstregistry.sgml:
28246         * docs/gst/tmpl/gstregistrypool.sgml:
28247         * docs/gst/tmpl/gstscheduler.sgml:
28248         * docs/gst/tmpl/gstschedulerfactory.sgml:
28249         * docs/gst/tmpl/gststructure.sgml:
28250         * docs/gst/tmpl/gstsystemclock.sgml:
28251         * docs/gst/tmpl/gsttaglist.sgml:
28252         * docs/gst/tmpl/gsttagsetter.sgml:
28253         * docs/gst/tmpl/gsttrace.sgml:
28254         * docs/gst/tmpl/gsttrashstack.sgml:
28255         * docs/gst/tmpl/gsttypefind.sgml:
28256         * docs/gst/tmpl/gsttypefindfactory.sgml:
28257         * docs/gst/tmpl/gsttypes.sgml:
28258         * docs/gst/tmpl/gsturihandler.sgml:
28259         * docs/gst/tmpl/gsturitype.sgml:
28260         * docs/gst/tmpl/gstutils.sgml:
28261         * docs/gst/tmpl/gstvalue.sgml:
28262         * docs/gst/tmpl/gstversion.sgml:
28263         * docs/gst/tmpl/gstxml.sgml:
28264         * docs/libs/tmpl/gstcontrol.sgml:
28265         * docs/libs/tmpl/gstdataprotocol.sgml:
28266         * docs/libs/tmpl/gstdparam.sgml:
28267         * docs/libs/tmpl/gstdplinint.sgml:
28268         * docs/libs/tmpl/gstdpman.sgml:
28269         * docs/libs/tmpl/gstdpsmooth.sgml:
28270         * docs/libs/tmpl/gstgetbits.sgml:
28271         * docs/libs/tmpl/gstunitconvert.sgml:
28272         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28273         (gst_push_src_base_init), (gst_push_src_class_init),
28274         (gst_push_src_init), (gst_push_src_create):
28275         * gst/base/gstpushsrc.h:
28276         * gst/elements/gstelements.c:
28277         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28278         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28279         (gst_fake_sink_init), (gst_fake_sink_set_property),
28280         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28281         (gst_fake_sink_event), (gst_fake_sink_preroll),
28282         (gst_fake_sink_render), (gst_fake_sink_change_state):
28283         * gst/elements/gstfakesink.h:
28284         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28285         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28286         (gst_fake_src_base_init), (gst_fake_src_class_init),
28287         (gst_fake_src_init), (gst_fake_src_event_handler),
28288         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28289         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28290         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28291         (gst_fake_src_create_buffer), (gst_fake_src_create),
28292         (gst_fake_src_start), (gst_fake_src_stop):
28293         * gst/elements/gstfakesrc.h:
28294         * gst/elements/gstfilesink.c: (_do_init),
28295         (gst_file_sink_base_init), (gst_file_sink_class_init),
28296         (gst_file_sink_init), (gst_file_sink_dispose),
28297         (gst_file_sink_set_location), (gst_file_sink_set_property),
28298         (gst_file_sink_get_property), (gst_file_sink_open_file),
28299         (gst_file_sink_close_file), (gst_file_sink_query),
28300         (gst_file_sink_event), (gst_file_sink_render),
28301         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28302         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28303         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28304         * gst/elements/gstfilesink.h:
28305         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28306         (gst_file_src_class_init), (gst_file_src_init),
28307         (gst_file_src_finalize), (gst_file_src_set_location),
28308         (gst_file_src_set_property), (gst_file_src_get_property),
28309         (gst_file_src_map_region), (gst_file_src_map_small_region),
28310         (gst_file_src_create_mmap), (gst_file_src_create_read),
28311         (gst_file_src_create), (gst_file_src_is_seekable),
28312         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28313         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28314         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28315         (gst_file_src_uri_handler_init):
28316         * gst/elements/gstfilesrc.h:
28317           more autistic cleanliness in functions/names/defines
28318
28319 2005-07-13  Andy Wingo  <wingo@pobox.com>
28320
28321         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28322         source couldn't negotiate.
28323
28324         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28325         connections again.
28326
28327         * gst/gstutils.h:
28328         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28329         function. I am channeling Hades. Put your boots on suckers!!!
28330
28331 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28332
28333         * testsuite/caps/Makefile.am:
28334         * testsuite/caps/value_compare.c:
28335         * testsuite/caps/value_intersect.c:
28336         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28337           move two testsuite apps over to the check dir
28338
28339 2005-07-12  Wim Taymans  <wim@fluendo.com>
28340
28341         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28342         Added more debug info in the negotiate process.
28343
28344         * gst/gstmessage.h:
28345         Prepare for segment playback.
28346
28347         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28348         Better debugging.
28349
28350         * gst/gstutils.c:
28351         Some more docs.
28352
28353         * tools/gst-launch.c: (main):
28354         NULL pipeline on errors.
28355
28356 2005-07-12  Andy Wingo  <wingo@pobox.com>
28357
28358         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28359         not it comes from a malloc region. Make sure our copy gets freed.
28360
28361 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28362
28363         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28364         * check/gst/gstmessage.c: (GST_START_TEST):
28365         * check/gst/gststructure.c: (GST_START_TEST),
28366         (gst_structure_suite), (main):
28367           more testing
28368         * gst/gstelement.c: (gst_element_message_full):
28369           clean up GError and debug string now that they get copied
28370         * gst/gstmessage.c: (gst_message_new_error),
28371         (gst_message_new_warning), (gst_message_parse_error),
28372         (gst_message_parse_warning):
28373           use GST_TYPE_G_ERROR for structure_new, and take copies of
28374           arguments, so that we don't mess up refcounting
28375
28376 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28377
28378         * check/Makefile.am:
28379           add per-test valgrind targets
28380         * check/gst-libs/gdp.c: (GST_START_TEST),
28381         (gst_data_protocol_suite), (main):
28382           clean up
28383
28384 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28385
28386         * check/Makefile.am:
28387           instate more valgrindable tests
28388         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28389         (GST_START_TEST), (fakesrc_suite):
28390         * check/gst/gstpad.c: (GST_START_TEST):
28391         * check/gst/gststructure.c: (GST_START_TEST):
28392           fix test leaks
28393         * docs/gst/tmpl/gstminiobject.sgml:
28394         * gst/gstpad.c: (gst_pad_finalize):
28395           fix the static mutex leak
28396
28397 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28398
28399         * check/Makefile.am:
28400           add two more tests for valgrinding
28401         * check/gst/gstvalue.c: (GST_START_TEST):
28402           test refcount of deserialized buffer, found a leak
28403         * docs/gst/gstreamer-docs.sgml:
28404         * docs/gst/gstreamer-sections.txt:
28405         * docs/gst/gstreamer.types:
28406         * docs/gst/tmpl/gstminiobject.sgml:
28407           add miniobject to docs
28408         * gst/gstminiobject.c:
28409           add some docs
28410         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28411         (gst_string_unwrap):
28412           fix a hard-to-find invalid write for one of the tests
28413           fix a leak for deserialized buffers
28414
28415 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28416
28417         * docs/pwg/advanced-events.xml:
28418         * docs/pwg/advanced-request.xml:
28419         * docs/pwg/advanced-scheduling.xml:
28420         * docs/pwg/appendix-porting.xml:
28421         * docs/pwg/building-boiler.xml:
28422         * docs/pwg/intro-preface.xml:
28423         * docs/pwg/other-ntoone.xml:
28424           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28425           of example code and explanation for pad activation, loop() and
28426           getrange() functions and a bit more. Remove old comments pointing
28427           to loop-functions.
28428         * examples/pwg/Makefile.am:
28429           Add loop/getrange examples.
28430
28431 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28432
28433         * configure.ac:
28434           check for valgrind binary + some fixes
28435         * check/gst.supp:
28436           valgrind suppressions for the tests
28437         * check/Makefile.am:
28438           add a valgrind: target that valgrinds the unit tests
28439         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28440         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28441         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28442         * check/gst/gstghostpad.c:
28443           added some cleanup
28444         * check/gst/gstdata.c:
28445           removed
28446         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28447         (thread_unref), (gst_mini_object_suite), (main):
28448           added
28449         * gst/gst.c: (gst_deinit):
28450         * gst/gst.h:
28451           add a method to clean up.
28452         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28453         (gst_system_clock_obtain):
28454           allow for disposing the system clock.
28455         * tools/gst-launch.c: (main):
28456           deinit
28457
28458 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28459
28460         * docs/gst/tmpl/gstbasesrc.sgml:
28461         * docs/gst/tmpl/gstfakesrc.sgml:
28462         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28463         (gst_base_src_init), (gst_base_src_set_property),
28464         (gst_base_src_get_property), (gst_base_src_get_range),
28465         (gst_base_src_start):
28466         * gst/base/gstbasesrc.h:
28467           add num-buffers property
28468         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28469         (gst_fakesrc_init), (gst_fakesrc_set_property),
28470         (gst_fakesrc_get_property), (gst_fakesrc_create),
28471         (gst_fakesrc_start):
28472           remove num-buffers property
28473
28474 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28475
28476         * docs/gst/gstreamer-sections.txt:
28477         * docs/gst/tmpl/gstbasesink.sgml:
28478         * docs/gst/tmpl/gstbasesrc.sgml:
28479         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28480         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28481         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28482         (gst_base_sink_set_property), (gst_base_sink_get_property),
28483         (gst_base_sink_handle_object), (gst_base_sink_event),
28484         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28485         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28486         (gst_base_sink_loop), (gst_base_sink_deactivate),
28487         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28488         (gst_base_sink_change_state):
28489         * gst/base/gstbasesink.h:
28490         * gst/base/gstbasesrc.h:
28491         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28492         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28493         (gst_filesink_init):
28494           more macro splitting
28495
28496 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28497
28498         * gst/gstelement.c: (gst_element_get_bus):
28499           add debug
28500         * tools/gst-launch.c: (check_intr), (event_loop):
28501           fix bus leaks
28502
28503 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28504
28505         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28506           fix a caps leak
28507
28508 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28509
28510         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28511         (gst_base_src_finalize):
28512           add finalize method and clean up properly
28513         * gst/gstpipeline.c: (gst_pipeline_dispose):
28514           add debug
28515
28516 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28517
28518         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28519         (gst_bin_suite):
28520           add more things to check
28521         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28522         * gst/gstelement.c:
28523           more debug
28524
28525 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28526
28527         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28528         (GST_START_TEST), (fakesrc_suite):
28529         * check/gst-libs/gdp.c: (GST_START_TEST):
28530         * check/gst/gst.c: (GST_START_TEST):
28531         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28532         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28533         * check/gst/gstbus.c: (GST_START_TEST):
28534         * check/gst/gstcaps.c: (GST_START_TEST):
28535         * check/gst/gstdata.c: (GST_START_TEST):
28536         * check/gst/gstelement.c: (GST_START_TEST):
28537         * check/gst/gstghostpad.c: (GST_START_TEST):
28538         * check/gst/gstiterator.c: (GST_START_TEST):
28539         * check/gst/gstmessage.c: (GST_START_TEST):
28540         * check/gst/gstobject.c: (GST_START_TEST):
28541         * check/gst/gstpad.c: (GST_START_TEST):
28542         * check/gst/gststructure.c: (GST_START_TEST):
28543         * check/gst/gstsystemclock.c: (GST_START_TEST),
28544         (gst_systemclock_suite):
28545         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28546         * check/gst/gstvalue.c: (GST_START_TEST):
28547         * check/pipelines/cleanup.c: (GST_START_TEST):
28548         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28549         * check/states/sinks.c: (GST_START_TEST):
28550         * check/gstcheck.c: (gst_check_init):
28551         * check/gstcheck.h:
28552           add debugging category
28553           use GST_START_TEST now, so we add a debug line
28554
28555 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28556
28557         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28558           add test for state change message on a bin
28559         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28560           add another test
28561         * gst/gstbin.c: (gst_bin_init):
28562         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28563         * gst/gstelement.c: (gst_element_post_message),
28564         (gst_element_set_state):
28565         * gst/gstelementfactory.c: (gst_element_factory_create):
28566         * gst/gstmessage.c: (gst_message_new):
28567         * gst/gstscheduler.c:
28568           various debugging additions and cleanups
28569
28570 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28571
28572         * check/Makefile.am:
28573         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28574         (main):
28575           adding tests for elements
28576         * gst/gstelement.c: (gst_element_dispose):
28577
28578 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28579
28580         * gst/registries/gstlibxmlregistry.c: (load_feature):
28581           plug more leaks.  A simple gst_init() now is leakfree, yay.
28582
28583 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28584
28585         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28586         (gst_xml_registry_load):
28587           plug another memleak
28588
28589 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28590
28591         * configure.ac:
28592           use GST_SET_ERROR_CFLAGS
28593         * docs/faq/cvs.xml:
28594           change to ERROR_CFLAGS
28595
28596 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28597
28598         * configure.ac:
28599           make GST_ERROR_CFLAGS overridable and re-enable Werror
28600         * docs/faq/cvs.xml:
28601           add a note about error CFLAGS
28602         * docs/gst/tmpl/gstfakesrc.sgml:
28603         * gst/elements/gstfakesrc.c:
28604           comment out some unused code
28605         * gst/gst.c: (split_and_iterate):
28606         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28607         (load_feature):
28608           plug some memleaks
28609
28610 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28611
28612         * common/Makefile.am:
28613         * common/gtk-doc.mak:
28614         * docs/gst/Makefile.am:
28615           factor out gtk-doc.mak
28616
28617 2005-07-07  Wim Taymans  <wim@fluendo.com>
28618
28619         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28620         (gst_thread_scheduler_dispose):
28621         Unlock the STREAM_LOCK completely.
28622
28623 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28624
28625         * check/Makefile.am:
28626         * check/elements/.cvsignore:
28627         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28628         (START_TEST), (fakesrc_suite), (main):
28629         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28630         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28631         (gst_fakesrc_create), (gst_fakesrc_start):
28632         * gst/elements/gstfakesrc.h:
28633           adding a first element test
28634
28635 2005-07-07  Andy Wingo  <wingo@pobox.com>
28636
28637         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28638         debug message.
28639
28640 2005-07-07  Wim Taymans  <wim@fluendo.com>
28641
28642         * gst/gstquery.c:
28643         * gst/gstquery.h:
28644         Remove old types
28645
28646 2005-07-07  Wim Taymans  <wim@fluendo.com>
28647
28648         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28649         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28650         Allow subclasses to implement their own negotiation.
28651
28652 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28653
28654         * docs/design/part-gstbin.txt:
28655         * docs/design/part-gstpipeline.txt:
28656           Update design notes to reflect the movement of
28657           responsibility for bus handling from GstPipeline to
28658           GstBin
28659
28660 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28661
28662         * configure.ac:
28663           Remove unnecessary queue2/3/4 examples.
28664
28665 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28666
28667         * examples/Makefile.am:
28668         * examples/helloworld/helloworld.c: (event_loop), (main):
28669         * examples/queue/queue.c: (event_loop), (main):
28670         * examples/queue2/queue2.c: (main):
28671           Update a couple of the examples to work again.
28672
28673         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28674         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28675          Spelling corrections and extra debug.
28676         
28677         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28678         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28679         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28680         * gst/gstbin.h:
28681         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28682         (gst_pipeline_change_state):
28683         * gst/gstpipeline.h:
28684           Move the bus handler for children to the GstBin, and create a
28685           separate bus for receiving messages from children to the one the
28686           bus sends 'upwards' on.
28687
28688 2005-07-06  Wim Taymans  <wim@fluendo.com>
28689
28690         * gst/base/README:
28691         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28692         (gst_base_sink_handle_object), (gst_base_sink_loop),
28693         (gst_base_sink_change_state):
28694         * gst/base/gstbasesink.h:
28695         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28696         (gst_base_src_init), (gst_base_src_setcaps),
28697         (gst_base_src_getcaps), (gst_base_src_loop),
28698         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28699         (gst_base_src_start), (gst_base_src_change_state):
28700         * gst/base/gstbasesrc.h:
28701         Make basesrc negotiate.
28702         Handle the case where preroll fails in basesink.
28703         Update README.
28704
28705 2005-07-06  Wim Taymans  <wim@fluendo.com>
28706
28707         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28708         Implement the fixate function.
28709         Clean up acceptcaps.
28710
28711 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28712
28713         * docs/pwg/building-filterfactory.xml:
28714         * docs/pwg/pwg.xml:
28715           Remove never-written filter-factory chapter; I'll add the various
28716           base classes to part 4 ("other element types") later on.
28717
28718 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28719
28720         * docs/pwg/advanced-negotiation.xml:
28721         * docs/pwg/building-boiler.xml:
28722         * docs/pwg/building-pads.xml:
28723         * docs/pwg/pwg.xml:
28724         * examples/pwg/Makefile.am:
28725           Add a chapter on caps negotiation, simplify the original code
28726           samples a bit w.r.t. caps negotiation, add link to the advanced
28727           section. Add a bunch of examples showing different use cases of
28728           different types of caps negotiation. Upstream renegotiation isn't
28729           fully documented yet since nobody knows how that works.
28730
28731 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28732
28733         * check/gst/gstpad.c:
28734         * check/gstcheck.c:
28735         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28736           if pad has no parent, return NULL as list of internal links
28737
28738 2005-07-05  Andy Wingo  <wingo@pobox.com>
28739
28740         * gst/elements/gstfilesrc.c:
28741         * gst/elements/gstfakesrc.c: 
28742         * gst/base/gstpushsrc.c:
28743         * gst/base/gstbasesrc.h: 
28744         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28745         
28746 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28747
28748         * Makefile.am:
28749           better report generation target (lcov needs a patch)
28750
28751 2005-07-05  Andy Wingo  <wingo@pobox.com>
28752
28753         * gst/elements, testsuite: Null if we got it...
28754
28755 2005-07-05  Wim Taymans  <wim@fluendo.com>
28756
28757         * configure.ac:
28758         * libs/gst/dataprotocol/Makefile.am:
28759         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28760         * libs/gst/dataprotocol/dataprotocol.h:
28761         * pkgconfig/Makefile.am:
28762         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28763         * pkgconfig/gstreamer-dataprotocol.pc.in:
28764         Ported dataprotol to 0.9. 
28765         Added pkgconfig files.
28766
28767 2005-07-05  Andy Wingo  <wingo@pobox.com>
28768
28769         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28770         Default to returning TRUE for the case when tranform_caps returns
28771         a fixed caps, like for identity or volume.
28772
28773         * check/gst/gstbus.c (pound_bus_with_messages): 
28774         * check/gst/gstmessage.c (START_TEST): 
28775         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28776         message API change.
28777
28778         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28779         logic weaks here: always run transform_caps, trying passthrough
28780         operation only if the original caps intersects with the transform.
28781
28782         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28783         source and sink caps.
28784
28785         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28786         Intersect the peer caps with the pad template before going into
28787         transform_caps.
28788         (gst_base_transform_transform_caps): More debugging.
28789
28790         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28791         src argument.
28792
28793 2005-07-04  Edward Hervey  <edward@fluendo.com>
28794
28795         * gst/gstutils.c:
28796         * gst/gstutils.h:
28797         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28798         in bindings.
28799
28800 2005-07-04  Andy Wingo  <wingo@pobox.com>
28801
28802         * check/gst/gstpad.c: Only set explicit caps on pads.
28803
28804 2005-07-01  Andy Wingo  <wingo@pobox.com>
28805
28806         * tests/network-clock.scm: Commentary update.
28807
28808         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28809         Didn't really make sense, not implementable with basetransform,
28810         etc.
28811         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28812         attempt at implementing the sync property, needs an unlock method.
28813
28814         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28815         New func, by default returns the same caps (the identity
28816         transformation).
28817         (gst_base_transform_getcaps): Uses transform_caps to return
28818         something sensible.
28819         (gst_base_transform_setcaps): Complicated logic to get caps on
28820         both pads, even if they are different, and to call set_caps once
28821         for every time both pads get their caps set.
28822         (gst_base_transform_handle_buffer): Give the ref to the transform
28823         function. Allows in-place modification of the buffer.
28824
28825         * gst/base/gstbasetransform.h (transform_caps): New class method.
28826         Given caps on one side, what can I do on the other.
28827         (set_caps): Take two caps, one for each side of the element.
28828
28829         * gst/gstpad.h:
28830         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28831         caps in place. This is safe because we can check the mutability of
28832         the caps, and a good idea because fixate functions are just called
28833         as a matter of last resort. (Not actually implemented.)
28834         (gst_pad_set_caps): If the caps we're setting is actually the same
28835         as the existing pad caps, just update the pointer without calling
28836         setcaps. Assert that caps is either NULL or fixed, as per the
28837         docs.
28838
28839         * gst/gstghostpad.c: Update for fixate changes.
28840
28841 2005-07-02  Andy Wingo  <wingo@pobox.com>
28842
28843         * gst/gstcaps.c:
28844         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28845         two refcounts makes it immutable, which is enough. Doc more.
28846
28847 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28848
28849         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28850           Put the mini_object into GValue as a mini_object,
28851           not a gpointer, since that's how we declared
28852           the signal.
28853
28854 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28855
28856         * examples/pwg/Makefile.am:
28857           Fix buildbot again.
28858
28859 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28860
28861         * docs/pwg/building-testapp.xml:
28862           Add extra check.
28863         * examples/pwg/Makefile.am:
28864           Fix buildbot.
28865
28866 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28867
28868         * configure.ac:
28869         * examples/Makefile.am:
28870         * examples/pwg/Makefile.am:
28871         * examples/pwg/extract.pl:
28872           Enable building the PWG examples.
28873         * docs/pwg/advanced-interfaces.xml:
28874           Add URI interface stub.
28875         * docs/pwg/advanced-types.xml:
28876         * docs/pwg/other-autoplugger.xml:
28877         * docs/pwg/appendix-porting.xml:
28878         * docs/pwg/pwg.xml:
28879           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28880         * docs/pwg/building-boiler.xml:
28881         * docs/pwg/building-chainfn.xml:
28882         * docs/pwg/building-pads.xml:
28883         * docs/pwg/building-props.xml:
28884         * docs/pwg/building-state.xml:
28885         * docs/pwg/building-testapp.xml:
28886           Update the building-*.xml parts for 0.9 changes. All examples
28887           code blocks compile in examples/pwg/*.
28888
28889 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28890
28891         * docs/manual/advanced-autoplugging.xml:
28892         * docs/manual/appendix-checklist.xml:
28893         * docs/manual/appendix-integration.xml:
28894         * docs/manual/highlevel-components.xml:
28895           Fix playbin/decodebin examples, update docs a bit, mention bus
28896           instead of signals in various places, mention kmplayer and
28897           kaffeine since they have a working GStreamer backend in the KDE
28898           section.
28899
28900 2005-06-30  Wim Taymans  <wim@fluendo.com>
28901
28902         * CHANGES-0.9:
28903         * docs/design/draft-ghostpads.txt:
28904         * docs/design/draft-push-pull.txt:
28905         * docs/design/draft-query.txt:
28906         * docs/design/part-TODO.txt:
28907         * docs/design/part-query.txt:
28908         Added CHANGES-0.9 doc, updated status of other docs.
28909         
28910         * gst/gstquery.h:
28911         Remove "hmm" macro
28912
28913 2005-06-30  Wim Taymans  <wim@fluendo.com>
28914
28915         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28916         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28917         (gst_base_sink_change_state):
28918         * gst/base/gstbasesink.h:
28919         Some tweaks, only EOS and a buffer complete a preroll.
28920
28921 2005-06-30  Andy Wingo  <wingo@pobox.com>
28922
28923         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28924         activate_push down to the internal pad as well.
28925
28926 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28927
28928         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28929
28930         * gst/gsttaginterface.c:
28931           Some documentation fixes (#307394 and #307397).
28932
28933 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28934
28935         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28936
28937         * gst/gstvalue.c: (gst_value_intersect_list):
28938           Fix memleak (#309125).
28939
28940 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28941
28942         * docs/manual/advanced-dataaccess.xml:
28943           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28944         * docs/manual/basics-pads.xml:
28945           Add reference for filtered caps to above chapter.
28946
28947 2005-06-30  Wim Taymans  <wim@fluendo.com>
28948
28949         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28950         (gst_bin_change_state):
28951         Probes are gone.
28952         Lame attempt at making the state change function a bit
28953         more readable.
28954
28955 2005-06-30  Wim Taymans  <wim@fluendo.com>
28956
28957         * docs/design/part-clocks.txt:
28958         * docs/design/part-element-sink.txt:
28959         * docs/design/part-events.txt:
28960         * docs/design/part-preroll.txt:
28961         * docs/design/part-states.txt:
28962         Some more tweeks and additions to the docs.
28963
28964 2005-06-30  Wim Taymans  <wim@fluendo.com>
28965
28966         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28967         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28968         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28969         (gst_pad_check_pull_range), (gst_pad_get_range),
28970         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28971         * gst/gstpad.h:
28972         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28973         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28974         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28975         (gst_pad_remove_buffer_probe):
28976         Removed atomic operations, use existing LOCK.
28977         Move exception handling out of main code path.
28978
28979 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28980
28981         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28982         (silly_return_true_function), (gst_pad_class_init),
28983         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28984         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28985         (gst_pad_send_event):
28986           Fix accumulator, add default value by using _emitv() instead
28987           of _emit() for signal emission.
28988
28989 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28990
28991         * docs/manual/advanced-dataaccess.xml:
28992         * examples/manual/Makefile.am:
28993           Add probe example.
28994         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28995           Make work (??).
28996
28997 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28998
28999         * gst/elements/gstfilesink.c: (gst_filesink_render):
29000           Simplify code so that we don't have to handle short
29001           writes and return GST_FLOW_ERROR if an error occured.
29002
29003 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29004
29005         * docs/gst/gstreamer-docs.sgml:
29006           Remove probes more.
29007
29008 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29009
29010         * docs/gst/gstreamer-sections.txt:
29011         * docs/gst/tmpl/gstpad.sgml:
29012         * docs/gst/tmpl/gstprobe.sgml:
29013         * gst/Makefile.am:
29014         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29015         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29016         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29017         (gst_pad_push_event), (gst_pad_send_event):
29018         * gst/gstpad.h:
29019         * gst/gstutils.c: (gst_pad_add_data_probe),
29020         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29021         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29022         (gst_pad_remove_buffer_probe):
29023         * gst/gstutils.h:
29024           Remove old probes, add new g-signal-based probes and some utility
29025           functions.
29026
29027 2005-06-29  Edward Hervey  <edward@fluendo.com>
29028
29029         * gst/gstelementfactory.c:
29030         * gst/gstutils.h:
29031         * gst/gstutils.c:
29032         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29033         the definition to the header file.
29034
29035 2005-06-29  Andy Wingo  <wingo@pobox.com>
29036
29037         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29038         plugins from the source directory.
29039
29040 2005-06-29  Wim Taymans  <wim@fluendo.com>
29041
29042         * docs/gst/tmpl/gstbuffer.sgml:
29043         * docs/gst/tmpl/gstclock.sgml:
29044         Some fixings for blantently wrong text.
29045
29046 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29047
29048         * check/Makefile.am:
29049         * gst/gst.c: (add_path_func), (init_pre):
29050         * gst/gstregistry.c: (gst_registry_add_path):
29051           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29052           only scan the GST_PLUGIN_PATH locations, and not add
29053           system locations
29054
29055 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29056
29057         * docs/gst/gstreamer-sections.txt:
29058         * docs/gst/tmpl/gstbasesrc.sgml:
29059         * gst/gstelement.c:
29060         * gst/gstelement.h:
29061         * gst/gstevent.c:
29062         * gst/gstutils.c:
29063           doc fixes
29064
29065 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29066
29067         * docs/manual/advanced-autoplugging.xml:
29068           Fix autoplugging example.
29069
29070 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29071
29072         * docs/manual/advanced-autoplugging.xml:
29073         * docs/manual/mime-world.fig:
29074           Try to get autoplugging working, fix type detection. Fix text
29075           in hello-world image.
29076
29077 2005-06-29  Wim Taymans  <wim@fluendo.com>
29078
29079         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29080         (gst_base_sink_change_state):
29081         Small debug line.
29082
29083         * gst/gstclock.h:
29084         map SIGNAL and BROADCAST to the right function.
29085
29086         * gst/gstobject.h:
29087         Remove redundant braces.
29088
29089         * gst/gstpad.c: (gst_pad_set_caps):
29090         Don't call setcaps function when reseting caps to NULL.
29091
29092         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29093         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29094         (gst_system_clock_id_unschedule):
29095         Use BROADCAST as this is what we do.
29096
29097 2005-06-29  Wim Taymans  <wim@fluendo.com>
29098
29099         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29100         We are actually prerolling before commiting the state
29101         change. 
29102
29103 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29104
29105         * docs/manual/advanced-clocks.xml:
29106         * docs/manual/advanced-interfaces.xml:
29107         * docs/manual/advanced-metadata.xml:
29108         * docs/manual/advanced-position.xml:
29109         * docs/manual/advanced-schedulers.xml:
29110         * docs/manual/advanced-threads.xml:
29111         * docs/manual/appendix-porting.xml:
29112         * docs/manual/basics-bins.xml:
29113         * docs/manual/basics-bus.xml:
29114         * docs/manual/basics-elements.xml:
29115         * docs/manual/basics-helloworld.xml:
29116         * docs/manual/basics-pads.xml:
29117         * docs/manual/highlevel-components.xml:
29118         * docs/manual/manual.xml:
29119         * docs/manual/thread.fig:
29120           Update (until threads/scheduling) Application Development Manual;
29121           remove GstThread, add GstBus, add simple porting checklist, add
29122           documentation for tag writing, clocks, make all examples until this
29123           part compile and run.
29124         * examples/manual/Makefile.am:
29125           Update from changes to Application Development Manual; add bus
29126           example, remove thread example.
29127
29128 2005-06-28  Wim Taymans  <wim@fluendo.com>
29129
29130         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29131         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29132         (gst_bus_source_dispatch):
29133         Add debugging messages.
29134         Make internal methods static.
29135         Handle the case where the bus is flushed in the handler.
29136         
29137         * gst/gstelement.c: (gst_element_get_bus):
29138         Fix refcount in _get_bus();
29139
29140         * gst/gstpipeline.c: (gst_pipeline_change_state),
29141         (gst_pipeline_get_clock_func):
29142         Clock refcounting fixes.
29143         Handle the case where preroll timed out more gracefully.
29144         
29145         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29146         Clean up the internal thread in dispose. This is needed
29147         for subclasses that actually get disposed.
29148         
29149         * gst/schedulers/threadscheduler.c:
29150         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29151         (gst_thread_scheduler_dispose):
29152         Free thread pool in dispose.
29153
29154 2005-06-28  Andy Wingo  <wingo@pobox.com>
29155
29156         * tests/network-clock-utils.scm (debug, print-event): New utils.
29157
29158         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29159         (*packet-loss*): Unified loss probability.
29160         (network-time): Report out-of-band events.
29161
29162         * tests/plot-data: Add support for out-of-band events. Hack it
29163         into this script instead of passing it down the pipe; should fix
29164         this later.
29165
29166 2005-06-28  Wim Taymans  <wim@fluendo.com>
29167
29168         * docs/gst/gstreamer.types:
29169         * docs/gst/tmpl/gstbasesrc.sgml:
29170         * docs/gst/tmpl/gstpad.sgml:
29171         Docs fixes.
29172
29173 2005-06-28  Wim Taymans  <wim@fluendo.com>
29174
29175         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29176         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29177         (gst_proxy_pad_do_fixatecaps):
29178         Correctly proxy the check_pull_range function.
29179
29180 2005-06-28  Andy Wingo  <wingo@pobox.com>
29181
29182         * tests/network-clock.scm: Removed need for slib.
29183         
29184 2005-06-28  Wim Taymans  <wim@fluendo.com>
29185
29186         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29187         (gst_basesink_preroll_queue_flush):
29188         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29189         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29190         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29191         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29192         (gst_proxy_pad_set_property):
29193         * gst/gstpad.c:
29194         * gst/gstpad.h:
29195         * gst/gstqueue.c: (gst_queue_init):
29196         The deprecated pad loop function is removed now.
29197
29198 2005-06-28  Andy Wingo  <wingo@pobox.com>
29199
29200         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29201         New parameters, simulate network packet loss.
29202
29203         * tests/network-clock-utils.scm: Initialize the RNG.
29204
29205 2005-06-28  Wim Taymans  <wim@fluendo.com>
29206
29207         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29208         (gst_basesink_event), (gst_basesink_deactivate):
29209         Flushing the preroll queue always needs to unlock the waiters.
29210
29211 2005-06-28  Edward Hervey  <edward@fluendo.com>
29212
29213         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29214         Wheen a seek was successful on a pipeline, set the stream_time to the
29215         seek offset in order to have a synchronized stream_time.
29216
29217 2005-06-28  Wim Taymans  <wim@fluendo.com>
29218
29219         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29220         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29221         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29222         (gst_proxy_pad_do_fixatecaps):
29223         Call wrapper function instead of just calling the function
29224         pointers. This takes care of any locking and whatmore.
29225
29226 2005-06-28  Wim Taymans  <wim@fluendo.com>
29227
29228         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29229         (gst_pad_pull_range):
29230         * gst/gstpad.h:
29231         CONNECTED -> LINKED.
29232
29233 2005-06-28  Andy Wingo  <wingo@pobox.com>
29234
29235         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29236         source-munging commit!!!
29237
29238         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29239         (gst_object_sink): Take gpointer arguments, not GstObject --
29240         avoids casts. Like GLib.
29241
29242         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29243         activate.
29244
29245 2005-06-27  Andy Wingo  <wingo@pobox.com>
29246
29247         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29248         remaining buffer.
29249
29250         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29251         returns a sorted copy of the trace list.
29252         (gst_alloc_trace_print_live): New API, only prints traces with
29253         live objects. Sort the list.
29254         (gst_alloc_trace_print_all): Sort the list.
29255         (gst_alloc_trace_print): Align columns.
29256
29257         * gst/elements/gstttypefindelement.c:
29258         * gst/elements/gsttee.c:
29259         * gst/base/gstbasesrc.c:
29260         * gst/base/gstbasesink.c:
29261         * gst/base/gstbasetransform.c:
29262         * gst/gstqueue.c: Adapt for pad activation changes.
29263
29264         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29265         sched.
29266         (gst_pipeline_dispose): Drop ref on sched.
29267
29268         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29269         (gst_pad_activate_default): Push mode by default.
29270         (pre_activate_switch, post_activate_switch): New stubs, things to
29271         do before and after switching activation modes on pads.
29272         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29273         the pad's activate function to choose which mode to activate.
29274         Shortcut on deactivation and call the right function directly.
29275         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29276         mode.
29277         (gst_pad_activate_push): New API, same for push mode.
29278         (gst_pad_set_activate_function) 
29279         (gst_pad_set_activatepull_function) 
29280         (gst_pad_set_activatepush_function): Setters for new API.
29281
29282         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29283         Trace all miniobjects.
29284         (gst_mini_object_make_writable): Unref the arg if we copy, like
29285         gst_caps_make_writable.
29286
29287         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29288
29289         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29290         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29291         Adapt for new pad API.
29292
29293         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29294
29295         * gst/gstelement.h:
29296         * gst/gstelement.c (gst_element_iterate_src_pads) 
29297         (gst_element_iterate_sink_pads): New API functions.
29298         
29299         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29300         should fold into gstiterator.c in some form.
29301         (gst_element_pads_activate): Simplified via use of fold and
29302         delegation of decisions to gstpad->activate.
29303
29304         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29305         help in debugging.
29306
29307         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29308         class once in init, like gstmessage. Didn't run into this issue
29309         but it seems correct. Don't initialize a trace, gstminiobject does
29310         that.
29311
29312         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29313         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29314         to the bus.
29315         (assert_live_count): New util function, uses alloc traces to check
29316         cleanup.
29317
29318         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29319         To be modified when unlink drops the internal pad.
29320
29321 2005-06-27  Wim Taymans  <wim@fluendo.com>
29322
29323         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29324         (gst_bin_change_state):
29325         Cleanup the get_state() function a little, make sure it
29326         iterates the same set of elements.
29327         Added stub iterate_state_order().
29328
29329 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29330
29331         * docs/gst/gstreamer-docs.sgml:
29332         * docs/gst/gstreamer-sections.txt:
29333         * docs/gst/gstreamer.types:
29334         * docs/gst/tmpl/gstbasesink.sgml:
29335         * docs/gst/tmpl/gstbasesrc.sgml:
29336         * docs/gst/tmpl/gstbasetransform.sgml:
29337         * docs/gst/tmpl/gstelement.sgml:
29338         * docs/gst/tmpl/gstiterator.sgml:
29339         * gst/base/gstbasesrc.c:
29340         * gst/base/gstbasesrc.h:
29341         * gst/base/gstbasetransform.h:
29342         * gst/gstelement.c:
29343         * gst/gstiterator.h:
29344           adding basetransform and iterator docs
29345
29346 2005-06-27  Andy Wingo  <wingo@pobox.com>
29347
29348         * docs/design/part-activation.txt: Notes on how activation should
29349         work -- not quite implemented yet.
29350
29351 2005-06-25  Wim Taymans  <wim@fluendo.com>
29352
29353         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29354         At least get the chain function correct, needs more
29355         fixing.
29356
29357 2005-06-25  Wim Taymans  <wim@fluendo.com>
29358
29359         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29360         (gst_basesink_handle_object), (gst_basesink_event),
29361         (gst_basesink_do_sync), (gst_basesink_handle_event),
29362         (gst_basesink_change_state):
29363         * gst/gsttask.h:
29364         Right, two problems here: ghostpads don't take locks and
29365         glib _rec_mutex_lock_full() with depth==0 still locks.
29366         Catch illegal locking and g_warn them.
29367
29368 2005-06-25  Wim Taymans  <wim@fluendo.com>
29369
29370         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29371         Have to check for completion now...
29372
29373 2005-06-25  Wim Taymans  <wim@fluendo.com>
29374
29375         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29376         (gst_basesink_handle_object), (gst_basesink_event),
29377         (gst_basesink_do_sync), (gst_basesink_handle_event),
29378         (gst_basesink_change_state):
29379         * gst/gstpad.h:
29380         Unlock STREAM_LOCK whatever the recursion was.
29381
29382 2005-06-25  Wim Taymans  <wim@fluendo.com>
29383
29384         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29385         (gst_basesink_preroll_queue_empty),
29386         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29387         (gst_basesink_event), (gst_basesink_do_sync),
29388         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29389         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29390         (gst_basesink_change_state):
29391         Reworked the base sink, handle event and buffer serialisation
29392         correctly and removed possible deadlock.
29393         Handle EOS correctly.
29394
29395 2005-06-25  Wim Taymans  <wim@fluendo.com>
29396
29397         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29398         (gst_pipeline_change_state):
29399         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29400         Allow elements to post EOS in the state change function.
29401         Fix up -launch, make it exit the poll loop when the
29402         pipeline actually changed state.
29403         Fix up warning parsing in -launch.
29404
29405 2005-06-25  Wim Taymans  <wim@fluendo.com>
29406
29407         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29408         (gst_tee_sink_activate):
29409         Core takes STREAM_LOCK for us now.
29410
29411 2005-06-25  Wim Taymans  <wim@fluendo.com>
29412
29413         * gst/gstelement.c: (gst_element_get_state_func),
29414         (gst_element_set_state):
29415         * gst/gstelement.h:
29416         * gst/gstmessage.c: (gst_message_parse_error),
29417         (gst_message_parse_warning):
29418         Keep track of current target state while performing a state
29419         change so that subclasses can do something interesting.
29420         Fix parsing of warning/error messages when GError is NULL.
29421
29422 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29423
29424         * docs/gst/Makefile.am:
29425         * docs/gst/gstreamer-docs.sgml:
29426         * docs/gst/gstreamer-sections.txt:
29427         * docs/gst/gstreamer.types:
29428         * docs/gst/tmpl/gstbasesink.sgml:
29429         * docs/gst/tmpl/gstbasesrc.sgml:
29430         * docs/gst/tmpl/gstbin.sgml:
29431         * docs/gst/tmpl/gstcompat.sgml:
29432         * docs/gst/tmpl/gstfakesink.sgml:
29433         * docs/gst/tmpl/gstfakesrc.sgml:
29434         * docs/gst/tmpl/gstfilesink.sgml:
29435         * docs/gst/tmpl/gstfilesrc.sgml:
29436         * docs/gst/tmpl/gstindex.sgml:
29437         * docs/manual/appendix-quotes.xml:
29438         * gst/base/gstbasesrc.h:
29439         * gst/elements/gstfakesrc.h:
29440         * gst/gstmessage.h:
29441           start pulling in base classes and elements in our docs
29442
29443 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29444
29445         * docs/gst/Makefile.am:
29446         * docs/libs/Makefile.am:
29447           fixed make distcheck with gtk-doc 1.3
29448
29449 2005-06-23  Wim Taymans  <wim@fluendo.com>
29450
29451         * gst/gstelement.c: (gst_element_get_state_func),
29452         (gst_element_set_state), (gst_element_change_state):
29453         When the state did not change, also report NO_PREROLL
29454         when it matters.
29455
29456 2005-06-23  Wim Taymans  <wim@fluendo.com>
29457
29458         * gst/gstpad.c: (gst_pad_event_default):
29459         * gst/gstqueue.c: (gst_queue_loop):
29460         No unsafe task pausing please.
29461
29462 2005-06-23  Wim Taymans  <wim@fluendo.com>
29463
29464         * gst/schedulers/threadscheduler.c:
29465         (gst_thread_scheduler_task_start),
29466         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29467         Ref the task before pushing it on the threadpool. This
29468         makes sure that we have a ref when the threadfunction is
29469         actually called.
29470
29471 2005-06-23  Andy Wingo  <wingo@pobox.com>
29472
29473         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29474         offset is greater than the file's size.
29475
29476         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29477         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29478         * gst/gstobject.c (gst_object_class_init): Make the class lock
29479         recursive. Wim won't let me drop deep_notify. Decodebin works
29480         again, whoopdy doo.
29481
29482         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29483         internal pad, and hacks accordingly. Doesn't do it on the target
29484         pad because we change its caps. Probably catches all cases of
29485         interest tho.
29486         (gst_ghost_pad_set_property): Connect to notify::caps as
29487         appropritate.
29488
29489         * tests/network-clock.scm (plot-simulation): Pipe data to the
29490         elite python skript.
29491
29492         * tests/network-clock-utils.scm (define-parameter): New macro,
29493         defines a parameter that can be set via the command line.
29494         (set-parameter!, parse-parameter-arguments): Command line args
29495         parser.
29496
29497         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29498         stdin.
29499
29500 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29501
29502         * gst/elements/gsttypefindelement.c:
29503         (gst_type_find_element_handle_event):
29504           Don't restart typefinding on a discont.
29505         * gst/gstelement.c: (gst_element_set_state):
29506           Debug spelling fix.
29507         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29508           Allow changing mode of an active pad.
29509           Debug output fixes.
29510         * gst/registries/gstlibxmlregistry.c: (load_feature):
29511           Don't cast a static pad template to a normal pad template.
29512
29513 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29514
29515         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29516         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29517           remove gst_strtoll completely, since it didn't actually do
29518           anything more than what g_ascii_strtoull already does.
29519           check for range errors when deserializing
29520           do a cast for the unsigned cases; but further fixing needs
29521           a decision on what the interpretation of "(int)" and
29522           deserialization should be for values that fall outside the
29523           type's boundaries (ie, refuse, or interpret as casting)
29524
29525 2005-06-23  Wim Taymans  <wim@fluendo.com>
29526
29527         * check/Makefile.am:
29528         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29529         * docs/design/part-live-source.txt:
29530         * docs/design/part-states.txt:
29531         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29532         (gst_basesrc_set_live), (gst_basesrc_is_live),
29533         (gst_basesrc_get_range), (gst_basesrc_activate),
29534         (gst_basesrc_change_state):
29535         * gst/base/gstbasesrc.h:
29536         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29537         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29538         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29539         * gst/gstelement.c: (gst_element_get_state_func),
29540         (gst_element_set_state):
29541         * gst/gstelement.h:
29542         * gst/gsttypes.h:
29543         * tools/gst-launch.c: (event_loop), (main):
29544         Added support for live sources and other elements that
29545         cannot do preroll.
29546         Updated design docs, added live-source design doc.
29547         Implemented live source functionality in basesrc
29548         Fix error condition in _bin_get_state()
29549         Implement live source handling in -launch.
29550         Added check for live sources.
29551         Fixed case in GstBin where elements were changed state
29552         multiple times.
29553
29554
29555 2005-06-23  Andy Wingo  <wingo@pobox.com>
29556
29557         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29558         borken refcounting.
29559
29560         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29561         gst_caps_replace takes care of this for us.
29562
29563         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29564         gst_pad_set_caps on the target, not just its setcaps() function.
29565
29566         * tests/network-clock.scm: 
29567         * tests/network-clock-utils.scm: A network clock simulator.
29568         Something of an algorithmic testbed before doing something in C.
29569
29570 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29571
29572         * check/Makefile.am:
29573         * check/gst/capslist.h:
29574           copy over from 0.8, and add two with bitmasks specified with
29575           (int) 0xFF...
29576         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29577           add test to parse everything from capslist.h
29578         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29579         (main):
29580           add test for structure deserialization
29581         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29582           add tests for deserialization of strings to int types
29583         * gst/gststructure.c: (gst_structure_nth_field_name):
29584         * gst/gststructure.h:
29585           add a way to get the name of a field referenced by index
29586         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29587           instead of checking if the resulting long long lies between
29588           min and max, we check if the long long would fit into
29589           a number of bytes for the final type.
29590           This fixes cases where a string represents 2^32 - 1, which
29591           when cast to int would be the (valid) -1, but is bigger than
29592           G_MAXINT
29593
29594 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29595
29596         * gst/parse/grammar.y:
29597           add a log line for type deserialization
29598
29599 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29600
29601         * check/gst/gstvalue.c: (START_TEST):
29602         * gst/gstvalue.c: (gst_value_deserialize):
29603           return long long, not int, so gint64 deserialization actually
29604           works.  Is there any flag that makes the compiler check this ?
29605           Fixes #308559
29606
29607 2005-06-22  Wim Taymans  <wim@fluendo.com>
29608
29609         * gst/gstbuffer.h:
29610         Added convenience macros for setting buffers in GValue.
29611
29612 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29613
29614         * check/gst/.cvsignore:
29615         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29616           add a test deserializing int64, and comment part out because
29617           it fails, yay !
29618
29619 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29620
29621         * check/Makefile.am:
29622         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29623         * testsuite/Makefile.am:
29624         * testsuite/caps/Makefile.am:
29625         * testsuite/caps/value_serialize.c:
29626         * testsuite/test_gst_init.c:
29627           move a value_serialize test over
29628
29629 2005-06-20  Wim Taymans  <wim@fluendo.com>
29630
29631         * gst/gstpad.c:
29632         Small doc updates.
29633         
29634         * gst/gstvalue.c: (gst_value_compare_buffer),
29635         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29636         (gst_value_compare_flags), (gst_value_serialize_flags),
29637         (gst_value_deserialize_flags), (_gst_value_initialize):
29638         Fix serialisation of buffers, they are not boxed types anymore
29639
29640 2005-06-20  Wim Taymans  <wim@fluendo.com>
29641
29642         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29643         Testcase to show error in buffer-on-caps serialisation.
29644
29645 2005-06-20  Andy Wingo  <wingo@pobox.com>
29646
29647         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29648         will be adding to later.
29649
29650         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29651         if its socks fill with rocks.
29652         (gst_system_clock_obtain): Set the name on object construction.
29653         Avoid double-checked locking.
29654
29655 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29656
29657         * gst/gsturi.c: (gst_element_make_from_uri):
29658           Fix potential endless loop.
29659
29660 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29661
29662         * check/Makefile.am:
29663           add gsttag
29664         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29665         (main):
29666           move over from testsuite dir and clean up
29667         * configure.ac:
29668         * gst/gsttag.c:
29669         * testsuite/Makefile.am:
29670         * testsuite/tags/.cvsignore:
29671         * testsuite/tags/Makefile.am:
29672         * testsuite/tags/merge.c:
29673           remove testsuite/tags
29674
29675 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29676
29677         * docs/gst/gstreamer-sections.txt:
29678         * docs/gst/tmpl/gstenumtypes.sgml:
29679         * win32/gstenumtypes.c:
29680           clean up documentation build a little
29681
29682 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29683
29684         * check/gstcheck.h:
29685           add macros for checking refcounts on objects and caps
29686         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29687           add some more unit tests
29688         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29689         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29690           fix leaked refcounts (I hope :)) so unittest works
29691         * gst/gstpad.h:
29692           whitespace removal
29693
29694 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29695
29696         * configure.ac: back to HEAD
29697
29698 === release 0.9.1 ===
29699
29700 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29701
29702         * NEWS:
29703         * RELEASE:
29704           updated
29705
29706 2005-06-17  Andy Wingo  <wingo@pobox.com>
29707
29708         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29709         assert; it's always possible that the pad gets deactivated in
29710         between the checks in gstpad.c and the implementation. Rely on
29711         finish_preroll() to return a FLUSHING or similar instead of on the
29712         assert.
29713         
29714         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29715         clock and post an EOS message if we come out of finish_preroll in
29716         the playing state.
29717
29718 2005-06-16  David Schleef  <ds@schleef.org>
29719
29720         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29721         (gst_capsfilter_set_property): Allow NULL as possible value
29722         for filter_caps property, indicating GST_CAPS_ANY.
29723
29724 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29725
29726         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29727           fix debug output
29728         * gst/schedulers/Makefile.am:
29729           use libgst prefix
29730         * gstreamer.spec.in:
29731           fix spec for it
29732
29733 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29734
29735         * gstreamer.spec.in:
29736           clean up
29737
29738 2005-06-08  Andy Wingo  <wingo@pobox.com>
29739
29740         * gst/gstutils.c: RPAD fixes all around.
29741         (gst_element_link_pads): Refcounting fixes.
29742
29743         * tools/gst-inspect.c:
29744         * tools/gst-xmlinspect.c:
29745         * parse/grammar.y:
29746         * gst/base/gsttypefindhelper.c:
29747         * gst/base/gstbasesink.c:
29748         * gst/gstqueue.c: RPAD fixes.
29749
29750         * gst/gstghostpad.h:
29751         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29752         pads. The tricky thing is they provide both source and sink
29753         interfaces, since they proxy the internal pad for the external
29754         pad, and vice versa. Implement with lower-level ProxyPad objects,
29755         with the interior proxy pad as a child of the exterior ghost pad.
29756         Should write a doc on this.
29757         
29758         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29759         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29760         gst_object API.
29761         
29762         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29763         pads are real pads. No ghost pads in this file. Not documenting
29764         the myriad s/RPAD/PAD/ and REALIZE fixes.
29765         (gst_pad_class_init): Add properties for "direction" and
29766         "template". Both are construct-only, so they can't change during
29767         the life of the pad. Fixes properly deriving from GstPad.
29768         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29769         derived objects, just set properties when creating the objects via
29770         g_object_new.
29771         (gst_pad_get_parent): Implement as a function, return NULL if the
29772         parent is not an element.
29773         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29774         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29775         
29776         * gst/gstobject.c (gst_object_class_init): Make name a construct
29777         property. Don't set it in the object init.
29778
29779         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29780         with UNKNOWN direction.
29781         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29782         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29783         (gst_element_remove_pad): Remove ghost-pad special cases.
29784         (gst_element_pads_activate): Remove rpad cruft.
29785
29786         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29787         catch the pad's-parent-not-an-element case.
29788
29789         * gst/gst.h: Include gstghostpad.h.
29790
29791         * gst/gst.c (init_post): No more real, ghost pads.
29792
29793         * gst/Makefile.am: Add gstghostpad.[ch].
29794
29795         * check/Makefile.am:
29796         * check/gst/gstbin.c:
29797         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29798         into a bin creates ghost pads, and that the refcounts are right.
29799         Partly moved from gstbin.c.
29800
29801 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29802
29803         * check/gst-libs/.cvsignore:
29804         * check/gst/.cvsignore:
29805         * check/pipelines/.cvsignore:
29806           ignore more
29807         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29808         (START_TEST), (cleanup_suite), (main):
29809           add some tests related to cleanup after running pipelines
29810
29811 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29812
29813         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29814           add a testsuite for GstBuffer
29815
29816 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29817
29818         * gst/gstminiobject.h:
29819           add defines for accessing the refcount
29820
29821 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29822
29823         * Makefile.am: added support for html unit test coverage reports
29824
29825 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29826
29827         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29828           Free existing caps if the capsfilter changes. Add a FIXME about
29829           setting those caps on the pads.
29830
29831         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29832           Before adding a ghost pad to a parent bin, check that there isn't
29833           already one for the element on the bin. Prevents infinite recursion
29834           when using decodebin in parse pipelines. Andy says he'll rewrite the
29835           way this works anyway, so ignore the hack.
29836
29837 2005-06-02  Andy Wingo  <wingo@pobox.com>
29838
29839         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29840         file size, pass it on to the type find helper.
29841
29842         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29843         segment_start and segment_end properly according to the seek
29844         method. Segment_end is still a bit flaky because offset can be
29845         negative for CUR and END cases, but it takes -1 as an "unset"
29846         value.
29847
29848 2005-06-02  Wim Taymans  <wim@fluendo.com>
29849
29850         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29851         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29852         (gst_basesink_activate):
29853         * gst/base/gstbasesink.h:
29854         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29855         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29856         (gst_pad_query), (gst_pad_start_task):
29857         * gst/gstpad.h:
29858         * gst/gstqueue.c: (gst_queue_bufferalloc),
29859         (gst_queue_handle_sink_event), (gst_queue_chain):
29860         Bufferalloc: return GstFlowReturn to more accuratly report
29861         why allocation failed.
29862
29863 2005-06-02  Wim Taymans  <wim@fluendo.com>
29864
29865         * gst/gstpipeline.c: (gst_pipeline_send_event):
29866         Take snapshot of state without blocking.
29867
29868 2005-06-02  Wim Taymans  <wim@fluendo.com>
29869
29870         * docs/design/part-TODO.txt:
29871         * docs/design/part-caps.txt:
29872         * docs/design/part-clocks.txt:
29873         * docs/design/part-negotiation.txt:
29874         * docs/design/part-preroll.txt:
29875         Small doc updates 
29876
29877 2005-05-30  Wim Taymans  <wim@fluendo.com>
29878
29879         * gst/elements/gstidentity.c: (gst_identity_event),
29880         (gst_identity_transform), (gst_identity_get_property):
29881         Protect last_message property as it is accessed from
29882         multiple threads.
29883
29884 2005-05-30  Wim Taymans  <wim@fluendo.com>
29885
29886         * gst/gstelement.c: (gst_element_init),
29887         (gst_element_pads_activate), (gst_element_change_state):
29888         Slicker pad activation code.
29889
29890 2005-05-30  Wim Taymans  <wim@fluendo.com>
29891
29892         * gst/Makefile.am:
29893         * gst/gstelement.h:
29894         * gst/gstelementfactory.h:
29895         * gst/gsttypes.h:
29896         Move elementfactory methods to separate .h file.
29897
29898 2005-05-30  Wim Taymans  <wim@fluendo.com>
29899
29900         * docs/design/part-overview.txt:
29901         * gst/gstsystemclock.h:
29902         Small typo fixes, doc updates.
29903
29904 2005-05-30  Wim Taymans  <wim@fluendo.com>
29905
29906         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29907         (init_popt_callback):
29908         Remove cpu-opt flag.
29909
29910 2005-05-30  Wim Taymans  <wim@fluendo.com>
29911
29912         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29913         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29914         * gst/gstbuffer.h:
29915         Avoid typechecking in places where not needed.
29916         Added accessor for malloc_data.
29917
29918 2005-05-30  Wim Taymans  <wim@fluendo.com>
29919
29920         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29921         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29922         (gst_pad_configure_sink), (gst_pad_configure_src),
29923         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29924         (gst_pad_start_task):
29925         Propagate errors from _set_caps() in configure_src/sink
29926         functions instead of returning TRUE.
29927         FLUSH events can travel up and downstream
29928
29929
29930 2005-05-30  Wim Taymans  <wim@fluendo.com>
29931
29932         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29933         (gst_basesink_activate):
29934         Handle EOS in preroll.
29935
29936 2005-05-30  Wim Taymans  <wim@fluendo.com>
29937
29938         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29939         (gst_queue_loop), (gst_queue_handle_src_event):
29940         Remove old pieces of code
29941         Flushing the queue in an upstream event is a very bad idea.
29942
29943 2005-05-26  Andy Wingo  <wingo@pobox.com>
29944
29945         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29946         gst_value_set_mini_object so as to add a ref on the object (which
29947         will be removed when the value is unset).
29948
29949         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29950         arg type in ::handoff.
29951
29952         * gst/gstelement.c (gst_element_change_state): Also deactivate
29953         pads in READY->NULL, just in case the element didn't make it to
29954         PAUSED. Wingo tested, Wim approved.
29955
29956 2005-05-26  Wim Taymans  <wim@fluendo.com>
29957
29958         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29959         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29960         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29961         A flushing pad cannot be used to alloc_buffer from.
29962
29963 2005-05-26  Wim Taymans  <wim@fluendo.com>
29964
29965         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29966         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29967         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29968         (gst_bus_create_watch), (gst_bus_add_watch_full):
29969         * gst/gstbus.h:
29970         Implement a real GSource and use g_main_context_wakeup() to
29971         signal new messages instead of the socketpair.
29972
29973 2005-05-25  Wim Taymans  <wim@fluendo.com>
29974
29975         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29976         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29977         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29978         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29979         (gst_pad_send_event), (gst_pad_start_task):
29980         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29981         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29982         (gst_queue_sink_activate), (gst_queue_src_activate),
29983         (gst_queue_change_state):
29984         * gst/gstqueue.h:
29985         Fix state changes for non sinks. We now change sinks, then elements
29986         with unconnected srcpads, then the rest.
29987         More efficient queue unlocking in flush and state changes.
29988         Set the pad activate mode even if it does not have an activate
29989         function.
29990
29991 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29992
29993         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29994           Don't go in pull mode for non-seekable sources.
29995         * gst/elements/gsttypefindelement.h:
29996         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29997         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29998         (free_entry), (stop_typefinding),
29999         (gst_type_find_element_handle_event), (find_peek),
30000         (gst_type_find_element_chain), (do_pull_typefind),
30001         (gst_type_find_element_change_state):
30002           Allow typefinding (w/o seeking) in push-mode, simplified version
30003           of what was in 0.8.
30004         * gst/gstutils.c: (gst_buffer_join):
30005         * gst/gstutils.h:
30006           gst_buffer_join() from 0.8.
30007
30008 2005-05-25  Wim Taymans  <wim@fluendo.com>
30009
30010         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30011         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30012         (gst_pad_send_event), (gst_pad_start_task):
30013         Disable attempt at mode switching until it is figured out.
30014
30015 2005-05-25  Wim Taymans  <wim@fluendo.com>
30016
30017         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30018         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30019         (gst_basesink_finish_preroll), (gst_basesink_chain),
30020         (gst_basesink_loop), (gst_basesink_activate),
30021         (gst_basesink_change_state):
30022         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30023         (gst_basesrc_get_range), (gst_basesrc_loop),
30024         (gst_basesrc_activate):
30025         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30026         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30027         (gst_real_pad_init), (gst_real_pad_set_property),
30028         (gst_real_pad_get_property), (gst_pad_set_active),
30029         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30030         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30031         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30032         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30033         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30034         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30035         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30036         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30037         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30038         (gst_pad_stop_task):
30039         * gst/gstpad.h:
30040         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30041         (gst_queue_loop), (gst_queue_src_activate):
30042         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30043         (gst_task_get_state):
30044         * gst/gsttask.h:
30045         * gst/schedulers/threadscheduler.c:
30046         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30047         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30048         in task function.
30049         Remove ACTIVE pad flag, use FLUSHING everywhere
30050         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30051         functions.
30052         Add locks around IS_FLUSHING when reading.
30053         Take STREAM lock in chain(), get_range() functions so plugins
30054         don't need to take it anymore.
30055         
30056
30057
30058 2005-05-25  Wim Taymans  <wim@fluendo.com>
30059
30060         * tools/gst-launch.c: (event_loop):
30061         Unref message after using its contents instead of
30062         before.
30063
30064 2005-05-24  Wim Taymans  <wim@fluendo.com>
30065
30066         * docs/design/draft-ghostpads.txt:
30067         * docs/design/draft-push-pull.txt:
30068         * docs/design/draft-query.txt:
30069         * docs/design/part-overview.txt:
30070         Docs updates, added general overview doc.
30071
30072 2005-05-21  David Schleef  <ds@schleef.org>
30073
30074         * docs/gst/tmpl/old/GstBin.sgml:
30075         * docs/gst/tmpl/old/GstBuffer.sgml:
30076         * docs/gst/tmpl/old/GstCaps.sgml:
30077         * docs/gst/tmpl/old/GstClock.sgml:
30078         * docs/gst/tmpl/old/GstCompat.sgml:
30079         * docs/gst/tmpl/old/GstData.sgml:
30080         * docs/gst/tmpl/old/GstElement.sgml:
30081         * docs/gst/tmpl/old/GstEvent.sgml:
30082         * docs/gst/tmpl/old/GstIndex.sgml:
30083         * docs/gst/tmpl/old/GstStructure.sgml:
30084         * docs/gst/tmpl/old/GstTag.sgml:
30085         * docs/gst/tmpl/old/cothreads.sgml:
30086         * docs/gst/tmpl/old/cothreads_compat.sgml:
30087         * docs/gst/tmpl/old/gettext.sgml:
30088         * docs/gst/tmpl/old/gobject2gtk.sgml:
30089         * docs/gst/tmpl/old/grammar.tab.sgml:
30090         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30091         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30092         * docs/gst/tmpl/old/gst_private.sgml:
30093         * docs/gst/tmpl/old/gstaggregator.sgml:
30094         * docs/gst/tmpl/old/gstarch.sgml:
30095         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30096         * docs/gst/tmpl/old/gstbufferstore.sgml:
30097         * docs/gst/tmpl/old/gstdata_private.sgml:
30098         * docs/gst/tmpl/old/gstdisksink.sgml:
30099         * docs/gst/tmpl/old/gstdisksrc.sgml:
30100         * docs/gst/tmpl/old/gstelementfactory.sgml:
30101         * docs/gst/tmpl/old/gstextratypes.sgml:
30102         * docs/gst/tmpl/old/gstfakesink.sgml:
30103         * docs/gst/tmpl/old/gstfakesrc.sgml:
30104         * docs/gst/tmpl/old/gstfdsink.sgml:
30105         * docs/gst/tmpl/old/gstfdsrc.sgml:
30106         * docs/gst/tmpl/old/gstfilesink.sgml:
30107         * docs/gst/tmpl/old/gstfilesrc.sgml:
30108         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30109         * docs/gst/tmpl/old/gstidentity.sgml:
30110         * docs/gst/tmpl/old/gstindexfactory.sgml:
30111         * docs/gst/tmpl/old/gstmarshal.sgml:
30112         * docs/gst/tmpl/old/gstmd5sink.sgml:
30113         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30114         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30115         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30116         * docs/gst/tmpl/old/gstpipefilter.sgml:
30117         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30118         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30119         * docs/gst/tmpl/old/gstshaper.sgml:
30120         * docs/gst/tmpl/old/gstspider.sgml:
30121         * docs/gst/tmpl/old/gstspideridentity.sgml:
30122         * docs/gst/tmpl/old/gststatistics.sgml:
30123         * docs/gst/tmpl/old/gsttee.sgml:
30124         * docs/gst/tmpl/old/gsttimecache.sgml:
30125         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30126         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30127         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30128         * docs/gst/tmpl/old/types.sgml:
30129           I didn't intend to add these or check them in.
30130
30131 2005-05-19  David Schleef  <ds@schleef.org>
30132
30133         * configure.ac: Use -no-common everywhere.  In a sane world, it
30134           would be the default in libtool, because without it, you can't
30135           build DLLs on Windows.
30136         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30137         * docs/gst/gstreamer-sections.txt:
30138         * docs/gst/tmpl/gstcpu.sgml:
30139         * docs/gst/tmpl/gstdata.sgml:
30140         * docs/gst/tmpl/gstthread.sgml:
30141
30142 2005-05-19  David Schleef  <ds@schleef.org>
30143
30144         * gst/gstminiobject.c: (gst_value_set_mini_object),
30145         (gst_value_take_mini_object), (gst_value_get_mini_object):
30146         * gst/gstminiobject.h: Add GValue set/get functions.
30147
30148 2005-05-19  Wim Taymans  <wim@fluendo.com>
30149
30150         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30151         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30152         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30153         * gst/gstbuffer.h:
30154         * gst/gstbus.c: (gst_bus_post):
30155         * gst/gstelement.c: (gst_element_get_random_pad):
30156         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30157         Make subbufer unref the parent in finalize.
30158         some more debugging info.
30159
30160
30161 2005-05-19  Wim Taymans  <wim@fluendo.com>
30162
30163         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30164         (gst_basesink_init), (gst_basesink_finalize),
30165         (gst_basesink_activate), (gst_basesink_change_state):
30166         Don't free preroll queue too early.
30167
30168 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30169
30170         * gst/Makefile.am:
30171         * gst/ROADMAP:
30172           Hi, I'm outdated. Please shoot me.
30173
30174 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30175
30176         * gst/gstpipeline.c: (gst_pipeline_send_event):
30177           Do not access variables after they have been deleted.
30178
30179 2005-05-19  Wim Taymans  <wim@fluendo.com>
30180
30181         * tools/gst-inspect.c: (print_plugin_features):
30182         A plugin feature does unfortunatly not use the
30183         object name yet...
30184
30185 2005-05-18  Wim Taymans  <wim@fluendo.com>
30186
30187         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30188         Port _span() functions to new subbuffers.
30189
30190 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30191
30192         * gst/gstbin.c: (gst_bin_add_func):
30193           Fix clock settery in bins when adding kids after the clock has
30194           been selected.
30195
30196 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30197
30198         * gst/elements/gstidentity.c: (gst_identity_class_init):
30199           Workaround until signals support GstMiniObject.
30200
30201 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30202
30203         * gst/gstbuffer.c:
30204         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30205
30206 2005-05-18  Wim Taymans  <wim@fluendo.com>
30207
30208         * gst/base/Makefile.am:
30209         * gst/base/gstadapter.c: (gst_adapter_base_init),
30210         (gst_adapter_class_init), (gst_adapter_init),
30211         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30212         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30213         (gst_adapter_flush), (gst_adapter_available),
30214         (gst_adapter_available_fast):
30215         * gst/base/gstadapter.h:
30216         Ported and added adapter to the base classes.
30217
30218 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30219
30220         * gst/gst.c:
30221         * gst/gstmessage.c:
30222           Make sure the class is reffed/unreffed once before threads can be
30223           used.  Fixes #304551.
30224
30225 2005-05-17  Wim Taymans  <wim@fluendo.com>
30226
30227         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30228         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30229         * gst/gstminiobject.c: (gst_mini_object_get_type),
30230         (gst_mini_object_free):
30231         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30232         (gst_pad_push), (gst_pad_push_event):
30233         * gst/gstqueue.c: (gst_queue_change_state):
30234         Don't queue buffers in basesink when we are flushing.
30235         Unref buffer when flushing in basesink.
30236         Flush queue when going to READY
30237         Unref buffer when _push() returns an error.
30238         Don't free MiniObject instance when refcount is incremented
30239         in _finalize() so that we can recover objects.
30240
30241 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30242
30243         * docs/manual/advanced-schedulers.xml:
30244         * docs/manual/appendix-checklist.xml:
30245         * docs/pwg/advanced-clock.xml:
30246         * docs/pwg/advanced-interfaces.xml:
30247         * docs/pwg/advanced-request.xml:
30248         * docs/pwg/advanced-types.xml:
30249         * docs/pwg/intro-preface.xml:
30250         * examples/plugins/example.c: (gst_example_get_type),
30251         (gst_example_class_init), (gst_example_chain),
30252         (gst_example_set_property), (gst_example_get_property),
30253         (gst_example_change_state), (plugin_init):
30254         * examples/plugins/example.h:
30255           small doc fixes
30256
30257 2005-05-17  Wim Taymans  <wim@fluendo.com>
30258
30259         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30260         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30261         * gst/gstqueue.c: (gst_queue_change_state):
30262         Clear queue when going to READY.
30263         Remove IN_SETCAPS flag too.
30264
30265 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30266
30267         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30268           Remove implicit cast from gboolean to GstElementStateReturn;
30269           make sure we still return failure in paused => ready case if
30270           the parent class fails to change state and our own stop 
30271           vfunc succeeds.
30272
30273 2005-05-17  Wim Taymans  <wim@fluendo.com>
30274
30275         * tools/gst-launch.c: (event_loop):
30276         Message was unreffed too soon.
30277
30278 2005-05-16  Andy Wingo  <wingo@pobox.com>
30279
30280         * gst/gstbin.c (sink_iterator_filter): Err... um...
30281
30282         * check/gst/gstbin.c (test_ghost_pads): New test for the
30283         ghosting-if-elements-not-in-same-bin behavior.
30284
30285 2005-05-16  David Schleef  <ds@schleef.org>
30286
30287         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30288         accessing refcount directly.
30289
30290 2005-05-15  David Schleef  <ds@schleef.org>
30291
30292         * check/Makefile.am: remove GstData checks
30293         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30294         * gst/Makefile.am: add miniobject, remove data
30295         * gst/gst.h: add miniobject, remove data
30296         * gst/gstdata.c: remove
30297         * gst/gstdata.h: remove
30298         * gst/gstdata_private.h: remove
30299         * gst/gsttypes.h: remove GstEvent and GstMessage
30300         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30301         * gst/gstmarshal.list: change BOXED -> OBJECT
30302
30303         Implement GstMiniObject.
30304         * gst/gstminiobject.c:
30305         * gst/gstminiobject.h:
30306
30307         Modify to be subclasses of GstMiniObject.
30308         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30309         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30310         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30311         (gst_subbuffer_get_type), (gst_subbuffer_init),
30312         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30313         (gst_buffer_span):
30314         * gst/gstbuffer.h:
30315         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30316         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30317         (_gst_event_copy), (gst_event_new):
30318         * gst/gstevent.h:
30319         * gst/gstmessage.c: (_gst_message_initialize),
30320         (gst_message_get_type), (gst_message_class_init),
30321         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30322         (gst_message_new), (gst_message_new_error),
30323         (gst_message_new_warning), (gst_message_new_tag),
30324         (gst_message_new_state_changed), (gst_message_new_application):
30325         * gst/gstmessage.h:
30326         * gst/gstprobe.c: (gst_probe_perform),
30327         (gst_probe_dispatcher_dispatch):
30328         * gst/gstprobe.h:
30329         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30330         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30331         (_gst_query_copy), (gst_query_new):
30332
30333         Update elements for GstData -> GstMiniObject changes
30334         * gst/gstquery.h:
30335         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30336         (gst_queue_chain), (gst_queue_loop):
30337         * gst/elements/gstbufferstore.c:
30338         (gst_buffer_store_add_buffer_func),
30339         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30340         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30341         (gst_fakesink_render):
30342         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30343         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30344         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30345         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30346         (gst_filesrc_create_read):
30347         * gst/elements/gstidentity.c: (gst_identity_class_init):
30348         * gst/elements/gsttypefindelement.c:
30349         (gst_type_find_element_src_event), (free_entry_buffers),
30350         (gst_type_find_element_handle_event):
30351         * libs/gst/dataprotocol/dataprotocol.c:
30352         (gst_dp_header_from_buffer):
30353         * libs/gst/dataprotocol/dataprotocol.h:
30354         * libs/gst/dataprotocol/dp-private.h:
30355
30356 2005-05-15  David Schleef  <ds@schleef.org>
30357
30358         * gst/elements/gstelements.c: Don't include headers that were
30359         just removed.
30360
30361 2005-05-15  David Schleef  <ds@schleef.org>
30362
30363         * gst/elements/Makefile.am: Remove some elements that don't
30364         need to be in the core (or even exist at all).
30365         * gst/elements/gstaggregator.c:
30366         * gst/elements/gstaggregator.h:
30367         * gst/elements/gstmd5sink.c:
30368         * gst/elements/gstmd5sink.h:
30369         * gst/elements/gstmultifilesrc.c:
30370         * gst/elements/gstmultifilesrc.h:
30371         * gst/elements/gstpipefilter.c:
30372         * gst/elements/gstpipefilter.h:
30373         * gst/elements/gstshaper.c:
30374         * gst/elements/gstshaper.h:
30375         * gst/elements/gststatistics.c:
30376         * gst/elements/gststatistics.h:
30377         * po/POTFILES.in: Remove above files.
30378
30379 2005-05-14  Andy Wingo  <wingo@pobox.com>
30380
30381         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30382         so as to get the refs right.
30383         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30384         unreffing objects that don't pass the filter.
30385
30386         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30387         gst_element_set_bus.
30388         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30389         normal cases, this will destroy the bus.
30390
30391         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30392         object.
30393
30394         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30395         has no sinks.
30396
30397 2005-05-13  Andy Wingo  <wingo@pobox.com>
30398
30399         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30400         gst_pad_link, call pad_link_maybe_ghosting,
30401         (pad_link_maybe_ghosting): Links pads, making sure that the
30402         elements being linked are in the same bin.
30403         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30404         Helpers for pad_link_maybe_ghosting.
30405
30406 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30407
30408         * configure.ac:
30409           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30410
30411 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30412
30413         * docs/design/part-element-source.txt:
30414           Mention GstPushSrc
30415
30416 2005-05-12  Wim Taymans  <wim@fluendo.com>
30417
30418         * gst/base/gstbasesink.c: (gst_basesink_init),
30419         (gst_basesink_activate):
30420         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30421         (gst_basesrc_is_seekable):
30422         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30423         (bin_element_is_sink), (gst_bin_change_state):
30424         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30425         * gst/gstelement.h:
30426         Identify sinks by their flag to avoid overly complicated
30427         checks (fow now).
30428         Do state changes even for elements not reachable from the
30429         sinks.
30430         BaseSink is a sink now :)
30431         Some more debugging info in the basesrc.
30432
30433
30434 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30435
30436         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30437           Implement _query on a bin, similar to _send_event.
30438
30439 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30440
30441         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30442           Discont event offset format should be GST_FORMAT_BYTES,
30443           not GST_FORMAT_TIME.
30444
30445 2005-05-12  Wim Taymans  <wim@fluendo.com>
30446
30447         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30448         Same fix as Ronald's but without the signal. 
30449
30450 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30451
30452         * gst/gstutils.c: (gst_element_query_position):
30453           No, an element is not a pad.
30454
30455 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30456
30457         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30458         (gst_bin_get_state):
30459           If a child is removed from a bin while we remove the child from
30460           the bin and while we're retrieving its state, signal this to the
30461           get_state function so we abort the wait (instead of waiting for
30462           a timeout) and can immediately re-iterate over all other elements.
30463
30464 2005-05-12  Wim Taymans  <wim@fluendo.com>
30465
30466         * gst/base/Makefile.am:
30467         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30468         (gst_basesrc_start):
30469         * gst/base/gstbasesrc.h:
30470         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30471         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30472         (gst_pushsrc_init), (gst_pushsrc_create):
30473         * gst/base/gstpushsrc.h:
30474         Added is_seekable to BaseSrc
30475         Added simple PushSrc.
30476
30477 2005-05-11  Wim Taymans  <wim@fluendo.com>
30478
30479         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30480         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30481         (gst_element_link_pads), (gst_element_query_position),
30482         (gst_element_query_convert), (intersect_caps_func),
30483         (gst_pad_query_position), (gst_pad_query_convert):
30484         Fix refcounting in utils function.
30485         No point in trying to activate a pad when it's added, it could
30486         be added from the state change function and then we deadlock, the
30487         element has to decide what to do.
30488
30489 2005-05-10  Andy Wingo  <wingo@pobox.com>
30490
30491         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30492         *all* the arguments.
30493
30494         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30495         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30496         lock (according to the docs -- if this is wrong change the docs).
30497
30498         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30499         flush messages in the NULL state.
30500
30501         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30502         message immediately and return.
30503         (gst_bus_set_flushing): New function. If a bus is flushing, it
30504         flushes out any queued messages and immediately unrefs new
30505         messages. This is so when an element goes to NULL, all of the
30506         unhandled messages coming from it can be freed, and their
30507         references to the element dropped. In other words: message source
30508         ref considered harmful :P
30509
30510         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30511         we're finished with it.
30512
30513         * gst/gstmessage.c (gst_message_new_state_changed): 
30514
30515 2005-05-10  Wim Taymans  <wim@fluendo.com>
30516
30517         * gst/gstvalue.c: (gst_value_compare_flags),
30518         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30519         (_gst_value_initialize):
30520         Added flags serialize/deserialize/compare code.
30521
30522 2005-05-09  Andy Wingo  <wingo@pobox.com>
30523
30524         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30525         Intersect the peer's caps with our caps.
30526
30527 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30528
30529         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30530         * gst/elements/gsttypefindelement.c: (find_peek):
30531           Handle negative offsets better. Fixes decodebin.
30532
30533 2005-05-09  Wim Taymans  <wim@fluendo.com>
30534
30535         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30536         (gst_base_transform_event):
30537         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30538         Implement accept_caps.
30539         Fix silly lock/unlock mismatch in base class.
30540
30541 2005-05-09  Wim Taymans  <wim@fluendo.com>
30542
30543         * docs/design/draft-push-pull.txt:
30544         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30545         * gst/elements/gstfilesink.c: (gst_filesink_init),
30546         (gst_filesink_query):
30547         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30548         (gst_type_find_handle_src_query), (find_element_get_length):
30549         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30550         * gst/gstelement.h:
30551         * gst/gstmessage.c:
30552         * gst/gstmessage.h:
30553         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30554         (gst_real_pad_get_caps_unlocked),
30555         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30556         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30557         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30558         (gst_real_pad_dispose), (gst_real_pad_finalize),
30559         (gst_pad_load_and_link), (gst_pad_save_thyself),
30560         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30561         (gst_pad_check_pull_range), (gst_pad_pull_range),
30562         (gst_pad_template_get_type), (gst_pad_template_class_init),
30563         (gst_pad_template_init), (gst_pad_template_dispose),
30564         (name_is_valid), (gst_static_pad_template_get),
30565         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30566         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30567         (gst_pad_get_element_private), (gst_pad_start_task),
30568         (gst_pad_pause_task), (gst_pad_stop_task),
30569         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30570         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30571         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30572         (gst_ghost_pad_new):
30573         * gst/gstpad.h:
30574         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30575         (gst_query_new_position), (gst_query_set_position),
30576         (gst_query_parse_position), (gst_query_new_convert),
30577         (gst_query_set_convert), (gst_query_parse_convert):
30578         * gst/gstquery.h:
30579         * gst/gstqueryutils.c:
30580         * gst/gstqueryutils.h:
30581         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30582         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30583         (gst_queue_handle_src_query):
30584         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30585         (gst_element_query_position), (gst_element_query_convert),
30586         (intersect_caps_func), (gst_pad_query_position),
30587         (gst_pad_query_convert):
30588         * gst/gstutils.h:
30589         * tools/gst-inspect.c: (print_pad_info):
30590         * tools/gst-xmlinspect.c: (print_element_info):
30591         Remove old query functions. Ported old code.
30592         Added position/convert helper functions to gstutils.
30593         Reordered gstpad.c code, grouping relevant things.
30594         Remove gst_message_new(), always need to speficy a specific
30595         message.
30596
30597
30598 2005-05-09  Andy Wingo  <wingo@pobox.com>
30599
30600         * gst/gstiterator.h: Add some includes.
30601
30602         * gst/gstqueryutils.h: Include more headers.
30603
30604         * gst/gstpad.h:
30605         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30606         some uses of gst_pad_query.
30607
30608         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30609         NULL out parameters.
30610         (gst_query_new_position): New proc, allocates a new position
30611         query.
30612
30613         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30614         gstqueryutils.c to the build.
30615
30616         * gst/gststructure.c (gst_structure_set_valist): Implement with
30617         the generic G_VALUE_COLLECT.
30618         
30619 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30620
30621         * gst/Makefile.am: (gst_headers):
30622         Added gstqueryutils.h to the list of headers to install, that was
30623         a 'nachty' move wingo :)
30624
30625 2005-05-06  Andy Wingo  <wingo@pobox.com>
30626
30627         * gst/gstquery.h
30628         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30629         GstData, init a memchunk.
30630         (standard_definitions): Add a few query types, deprecate a few.
30631         (gst_query_get_type): New proc.
30632         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30633         implementation.
30634         (gst_query_new_application, gst_query_get_structure): New public
30635         procs.
30636
30637         * docs/design/draft-query.txt: Removed LINKS from the query types,
30638         because all the rest can be dispatched to other pads -- seemed
30639         ugly to have a query that couldn't be dispatched. internal_links
30640         is fine as a pad method.
30641
30642         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30643         in gstpad.c, but maintain binary compatibility for the moment.
30644         Will fix before 0.9 is out.
30645
30646         * gst/gstqueryutils.c: 
30647         * gst/gstqueryutils.h: New files, implement 3 methods for each
30648         query type: parse_query, parse_response, and set. Probably need an
30649         allocator as well.
30650
30651         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30652
30653         * gst/elements/gstfilesink.c (gst_filesink_query2):
30654         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30655         query_types, and formats methods.
30656
30657         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30658         (gst_pad_set_query2_function): New functions.
30659         (gst_real_pad_init): Set query2_default as the default query2
30660         function. Basically just dispatches to internally linked pads.
30661
30662         Needs review!
30663         
30664         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30665         without using the atomic operations. Only one thread can possibly
30666         be accessing the data at this point. Changed so as to avoid
30667         gst_atomic operations.
30668
30669 2005-05-06  Wim Taymans  <wim@fluendo.com>
30670
30671         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30672         Also set caps if we use the fallback buffer alloc.
30673
30674 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30675
30676         * docs/gst/Makefile.am:
30677         * docs/gst/gstreamer-docs.sgml:
30678         * docs/gst/gstreamer-sections.txt:
30679         * docs/gst/tmpl/gstatomic.sgml:
30680         * docs/gst/tmpl/gstmemchunk.sgml:
30681         * testsuite/elements/struct_i386.h:
30682         * win32/GStreamer.vcproj:
30683         * win32/Makefile:
30684           Purge GstAtomic stuff from docs and win32 makefiles as well
30685
30686 2005-05-06  Wim Taymans  <wim@fluendo.com>
30687
30688         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30689         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30690         * gst/gstpad.c: (gst_pad_peer_get_caps):
30691         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30692         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30693         (gst_queue_src_activate), (gst_queue_change_state):
30694         * gst/gstqueue.h:
30695         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30696         (intersect_caps_func):
30697         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30698         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30699         Some fixes for the peer_get_caps() change.
30700
30701 2005-05-06  Wim Taymans  <wim@fluendo.com>
30702
30703         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30704         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30705         (gst_basesink_activate):
30706         Actually do something with error codes returned from the push
30707         functions.
30708
30709 2005-05-06  Wim Taymans  <wim@fluendo.com>
30710
30711         * docs/design/part-element-sink.txt:
30712         * docs/design/part-element-source.txt:
30713         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30714         (gst_basesink_event), (gst_basesink_activate):
30715         * gst/base/gstbasesink.h:
30716         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30717         (gst_basesrc_activate):
30718         * gst/base/gstbasesrc.h:
30719         * gst/gstelement.c: (gst_element_pads_activate):
30720         Some more documentation.
30721         Fixed scheduling decision in _pads_activate().
30722
30723 2005-05-05  Andy Wingo  <wingo@pobox.com>
30724
30725         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30726         the test suite.
30727
30728 2005-05-05  Wim Taymans  <wim@fluendo.com>
30729
30730         * gst/base/Makefile.am:
30731         * gst/base/gstbasesink.h:
30732         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30733         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30734         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30735         (gst_collectpads_class_init), (gst_collectpads_init),
30736         (gst_collectpads_finalize), (gst_collectpads_new),
30737         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30738         (find_pad), (gst_collectpads_remove_pad),
30739         (gst_collectpads_is_active), (gst_collectpads_collect),
30740         (gst_collectpads_collect_range), (gst_collectpads_start),
30741         (gst_collectpads_stop), (gst_collectpads_peek),
30742         (gst_collectpads_pop), (gst_collectpads_available),
30743         (gst_collectpads_read), (gst_collectpads_flush),
30744         (gst_collectpads_chain):
30745         * gst/base/gstcollectpads.h:
30746         * gst/elements/Makefile.am:
30747         * gst/elements/gstelements.c:
30748         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30749         (gst_fakesink_get_times), (gst_fakesink_event),
30750         (gst_fakesink_preroll), (gst_fakesink_render):
30751         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30752         (gst_filesink_init), (gst_filesink_set_location),
30753         (gst_filesink_open_file), (gst_filesink_close_file),
30754         (gst_filesink_pad_query), (gst_filesink_event),
30755         (gst_filesink_render), (gst_filesink_change_state):
30756         * gst/elements/gstfilesink.h:
30757         Added object to help in making collect pad based elements.
30758         Ported filesink.
30759         Make event function in sink baseclass return gboolean.
30760
30761 2005-05-05  Wim Taymans  <wim@fluendo.com>
30762
30763         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30764         (gst_bin_get_by_name):
30765         * gst/gstbuffer.h:
30766         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30767         (gst_clock_finalize):
30768         * gst/gstdata.c: (gst_data_replace):
30769         * gst/gstdata.h:
30770         * gst/gstelement.c: (gst_element_request_pad),
30771         (gst_element_pads_activate):
30772         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30773         (gst_object_unref):
30774         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30775         (gst_pad_set_checkgetrange_function),
30776         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30777         (gst_pad_check_pull_range), (gst_pad_pull_range),
30778         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30779         (gst_pad_pause_task), (gst_pad_stop_task):
30780         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30781         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30782         Fix name lookup in GstBin.
30783         Added _data_replace() function and _buffer_replace()
30784         Use finalize method to clean up clock.
30785         Fix refcounting on request pads.
30786         Fix pad schedule mode error.
30787         Some more object refcounting debug info,
30788
30789
30790 2005-05-04  Andy Wingo <wingo@pobox.com>
30791
30792         * check/Makefile.am:
30793         * docs/gst/tmpl/gstatomic.sgml:
30794         * docs/gst/tmpl/gstplugin.sgml:
30795         * gst/base/gstbasesink.c: (gst_basesink_activate):
30796         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30797         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30798         (gst_basesrc_query), (gst_basesrc_set_property),
30799         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30800         (gst_basesrc_activate):
30801         * gst/base/gstbasesrc.h:
30802         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30803         (gst_base_transform_src_activate):
30804         * gst/elements/gstelements.c:
30805         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30806         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30807         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30808         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30809         (gst_type_find_element_checkgetrange),
30810         (gst_type_find_element_activate):
30811         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30812         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30813         (gst_caps_load_thyself):
30814         * gst/gstelement.c: (gst_element_pads_activate),
30815         (gst_element_save_thyself), (gst_element_restore_thyself):
30816         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30817         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30818         * gst/gstpad.h:
30819         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30820         (gst_xml_parse_file), (gst_xml_parse_memory),
30821         (gst_xml_get_element), (gst_xml_make_element):
30822         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30823         (_file_index_id_save_xml), (gst_file_index_commit):
30824         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30825         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30826         (load_paths):
30827         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30828         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30829         * tools/gst-complete.c: (main):
30830         * tools/gst-compprep.c: (main):
30831         * tools/gst-inspect.c: (print_element_properties_info):
30832         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30833         * tools/gst-xmlinspect.c: (print_element_properties):
30834         GCC 4 fixen.
30835         
30836 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30837
30838         * gst/gstplugin.c: (gst_plugin_check_module),
30839         (gst_plugin_check_file), (gst_plugin_load_file):
30840             apply patch from #172526 to make register work on MacOSX
30841
30842 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30843
30844         * docs/gst/tmpl/gstconfig.sgml:
30845         * gst/gstconfig.h.in:
30846           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30847         * testsuite/debug/printf_extension.c: (main):
30848           Do not use GST_PTR_FORMAT on pointers to types with
30849           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30850         * testsuite/elements/property.h:
30851           use correct printf format
30852
30853 2005-05-02  Wim Taymans  <wim@fluendo.com>
30854
30855         * docs/design/draft-push-pull.txt:
30856         * docs/design/draft-query.txt:
30857         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30858         (gst_basesrc_start):
30859         Added draft for new query API.
30860         Added draft for better selecting scheduling methods.
30861         Make basesrc ignore length if the subclass does not support
30862         it.
30863
30864 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30865
30866         * gst/Makefile.am:
30867           possible fixes for automake-1.5 - _LIBADD is reserved
30868
30869 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30870
30871         * docs/faq/Makefile.am:
30872         * docs/manual/Makefile.am:
30873         * docs/manuals.mak:
30874         * docs/pwg/Makefile.am:
30875         * gst/Makefile.am:
30876           possible fixes for automake-1.5
30877
30878 2005-04-28  Wim Taymans  <wim@fluendo.com>
30879
30880         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30881         (gst_basesink_pad_getcaps), (gst_basesink_init),
30882         (gst_basesink_do_sync):
30883         * gst/gstclock.c: (gst_clock_entry_new):
30884         * gst/gstevent.c: (gst_event_discont_get_value):
30885         * gst/gstpipeline.c: (pipeline_bus_handler),
30886         (gst_pipeline_change_state):
30887         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30888         Better debugging of clocking info.
30889         Allow NULL values when getting discont values.
30890
30891 2005-04-27  Wim Taymans  <wim@fluendo.com>
30892
30893         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30894         * check/gst/gstpad.c: (gst_pad_suite):
30895         Increase timeout for checks.
30896
30897 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30898
30899         * check/Makefile.am:
30900           fix the broken rule for cleanup.  Apparently this rule is
30901           only needed on FC2, so maybe this warrants further autotool
30902           inspection.
30903
30904 2005-04-26  Wim Taymans  <wim@fluendo.com>
30905
30906         * gst/gsttrashstack.h:
30907         Ooohh. a nasty one! After having a failed pop() from the stack,
30908         it's possible that the stack is empty. In that case, don't
30909         follow the NULL pointer.
30910
30911 2005-04-25  Wim Taymans  <wim@fluendo.com>
30912
30913         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30914         (gst_pad_set_checkgetrange_function),
30915         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30916         (gst_pad_check_pull_range), (gst_pad_pull_range),
30917         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30918         (gst_pad_pause_task), (gst_pad_stop_task):
30919         * gst/gstplugin.c: (gst_plugin_load):
30920         * gst/gstplugin.h:
30921         Remove gst_library_load as it does more harm than good with
30922         the new g_module flags.
30923         Revert bogus caps template check in pad linking, pad caps
30924         are important when linking not the template, which is more
30925         general than the current caps.
30926
30927 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30928
30929         * gst/autoplug/.cvsignore:
30930         * gst/autoplug/Makefile.am:
30931         * gst/autoplug/gstsearchfuncs.c:
30932         * gst/autoplug/gstsearchfuncs.h:
30933         * gst/autoplug/gstspider.c:
30934         * gst/autoplug/gstspider.h:
30935         * gst/autoplug/gstspideridentity.c:
30936         * gst/autoplug/gstspideridentity.h:
30937         * gst/autoplug/spidertest.c:
30938           Die, spider, die.
30939
30940 2005-04-25  Wim Taymans  <wim@fluendo.com>
30941
30942         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30943         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30944         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30945         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30946         * gst/gstpad.h:
30947         Added stubs for unimplemented functions. 
30948
30949 2005-04-24  David Schleef  <ds@schleef.org>
30950
30951         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30952         please fix.
30953
30954 2005-04-24  David Schleef  <ds@schleef.org>
30955
30956         Convert everything from GstAtomicInt to g_atomic_int_*, and
30957         remove gstatomic.
30958         * gst/Makefile.am:
30959         * gst/gstatomic.c:
30960         * gst/gstatomic.h:
30961         * gst/gstatomic_impl.h:
30962         * gst/gstbuffer.c:
30963         * gst/gstcaps.c:
30964         * gst/gstcaps.h:
30965         * gst/gstclock.c:
30966         * gst/gstclock.h:
30967         * gst/gstdata.c:
30968         * gst/gstdata.h:
30969         * gst/gstdata_private.h:
30970         * gst/gstevent.c:
30971         * gst/gstinfo.c:
30972         * gst/gstinfo.h:
30973         * gst/gstmessage.c:
30974         * gst/gstobject.c:
30975         * gst/gstobject.h:
30976         * gst/gststructure.c:
30977         * gst/gststructure.h:
30978         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30979         * gst/gstutils.h:
30980
30981 2005-04-24  David Schleef  <ds@schleef.org>
30982
30983         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30984         make the regressions tests work.  Remove some code that is no
30985         longer true.
30986         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30987         Disable warning for pads without templates.
30988
30989 2005-04-24  David Schleef  <ds@schleef.org>
30990
30991         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30992         functions that handle filtered links.
30993         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30994         removed functions.
30995         * gst/gstutils.c: Fix/remove utility functions that handle
30996         filtered caps.
30997         * gst/gstutils.h:
30998         * gst/gstvalue.c: Add serialization/deserialization of caps
30999         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
31000         requires fixing so that the filter caps notation creates
31001         a capsfilter element and sets the filter_caps property.  I
31002         think everyone probably wants to keep the shorthand notation.
31003         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31004         * docs/gst/tmpl/gstpad.sgml:
31005
31006         * gst/elements/gstelements.c: Register capsfilter element.
31007         * gst/Makefile.am: fix spacing
31008         * docs/random/ds/0.9-suggested-changes: random
31009
31010 2005-04-23  David Schleef  <ds@schleef.org>
31011
31012         * gst/elements/Makefile.am:
31013         * gst/elements/gstcapsfilter.c: New element that acts like an
31014         identity, but filters caps.  Will eventually replace filtered
31015         caps in pad linking.
31016         * gst/gstutils.c: (gst_element_create_all_pads): New function
31017         to create all the ALWAYS pads that are registered with an
31018         element class.  This functionality should eventually be
31019         merged in with GstElement initialization.
31020         * gst/gstutils.h:
31021         * testsuite/trigger/README: part of trigger test code that should
31022         have been checked in a long time ago.
31023
31024 2005-04-23  David Schleef  <ds@schleef.org>
31025
31026         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31027         needed with new versions of libtool (nobody will confirm this),
31028         and hard to carry around.
31029         * gst/autoplug/Makefile.am:
31030         * gst/base/Makefile.am:
31031         * gst/elements/Makefile.am:
31032         * gst/indexers/Makefile.am:
31033         * gst/schedulers/Makefile.am:
31034         * libs/gst/bytestream/Makefile.am:
31035         * libs/gst/control/Makefile.am:
31036         * libs/gst/dataprotocol/Makefile.am:
31037         * libs/gst/getbits/Makefile.am:
31038
31039 2005-04-21  Wim Taymans  <wim@fluendo.com>
31040
31041         * docs/design/draft-push-pull.txt:
31042         * docs/design/part-MT-refcounting.txt:
31043         * docs/design/part-TODO.txt:
31044         * docs/design/part-caps.txt:
31045         * docs/design/part-events.txt:
31046         * docs/design/part-gstbus.txt:
31047         * docs/design/part-gstpipeline.txt:
31048         * docs/design/part-messages.txt:
31049         * docs/design/part-push-pull.txt:
31050         * docs/design/part-query.txt:
31051         Some more docs.
31052
31053 2005-04-21  Wim Taymans  <wim@fluendo.com>
31054
31055         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31056         (gst_message_new), (gst_message_new_error),
31057         (gst_message_new_warning), (gst_message_new_tag),
31058         (gst_message_new_state_changed), (gst_message_new_application),
31059         (gst_message_get_structure):
31060         * gst/gstmessage.h:
31061         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31062         (gst_structure_copy_conditional):
31063         Use parent refcount in GstMessage to ensure GstStructure
31064         consistency.
31065         Cleaned up headers a bit.
31066         
31067
31068 2005-04-20  Wim Taymans  <wim@fluendo.com>
31069
31070         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31071         (gst_basesink_pad_getcaps), (gst_basesink_init),
31072         (gst_basesink_chain_unlocked):
31073         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31074         (gst_type_find_helper):
31075         * gst/elements/gsttypefindelement.c:
31076         (gst_type_find_element_have_type), (gst_type_find_element_init),
31077         (stop_typefinding), (gst_type_find_element_handle_event),
31078         (find_suggest), (gst_type_find_element_chain),
31079         (gst_type_find_element_checkgetrange),
31080         (gst_type_find_element_getrange), (do_typefind),
31081         (gst_type_find_element_activate):
31082         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31083         (gst_buffer_default_free), (gst_buffer_default_copy),
31084         (gst_buffer_set_caps):
31085         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31086         (gst_caps_replace):
31087         * gst/gstmessage.c: (gst_message_new),
31088         (gst_message_new_state_changed):
31089         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31090         (gst_pad_set_checkgetrange_function),
31091         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31092         (gst_pad_set_caps), (gst_pad_check_pull_range),
31093         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31094         * gst/gstpad.h:
31095         * gst/gsttypefind.c: (gst_type_find_register):
31096         Make gst_caps_replace() work like other _replace() functions.
31097         Use _caps_replace() where possible.
31098         Make sure _message_new() initialises its field.
31099         Add gst_static_pad_template_get_caps()
31100
31101
31102 2005-04-18  Andy Wingo  <wingo@pobox.com>
31103
31104         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31105         on the peer, not the pad. I think that was a typo. Pass an extra
31106         arg to see if random access is possible. Activate the pads as
31107         PULL_RANGE if possible.
31108
31109         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31110
31111         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31112         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31113         to PROP_....
31114
31115 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31116
31117         * docs/faq/using.xml:
31118           Add note on gstreamer-properties (#154996).
31119
31120 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31121
31122         * docs/random/bbb/optional-properties:
31123           Some analysis on optional properties.
31124
31125 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31126
31127         * docs/gst/tmpl/gstelementfactory.sgml:
31128         * gst/gstelement.h:
31129         * gst/gstelementfactory.c: (gst_element_factory_init),
31130         (gst_element_factory_cleanup), (gst_element_register),
31131         (__gst_element_factory_add_static_pad_template),
31132         (gst_element_factory_get_static_pad_templates),
31133         (gst_element_factory_can_src_caps),
31134         (gst_element_factory_can_sink_caps):
31135         * gst/registries/Makefile.am:
31136         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31137         (gst_xml_registry_class_init), (gst_xml_registry_init),
31138         (gst_xml_registry_new), (gst_xml_registry_set_property),
31139         (gst_xml_registry_get_property), (get_time), (make_dir),
31140         (gst_xml_registry_get_perms_func),
31141         (plugin_times_older_than_recurse), (plugin_times_older_than),
31142         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31143         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31144         (add_to_char_array), (read_string), (read_uint), (read_enum),
31145         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31146         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31147         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31148         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31149         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31150         (gst_xml_registry_rebuild):
31151         * gst/registries/gstlibxmlregistry.h:
31152         * tools/gst-compprep.c: (main):
31153         * tools/gst-inspect.c: (print_pad_templates_info):
31154         * tools/gst-xmlinspect.c: (print_element_info):
31155           Use libxml2 for registry parsing, use staticpadtemplates in
31156           elementfactories. Makes gst_init() +/- 10x faster.
31157
31158 2005-04-12  Wim Taymans  <wim@fluendo.com>
31159
31160         * gst/base/Makefile.am:
31161         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31162         (gst_basesink_pad_getcaps), (gst_basesink_init),
31163         (gst_basesink_event), (gst_basesink_change_state):
31164         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31165         (gst_basesrc_init), (gst_basesrc_query),
31166         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31167         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31168         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31169         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31170         (gst_basesrc_stop), (gst_basesrc_activate),
31171         (gst_basesrc_change_state):
31172         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31173         (helper_find_suggest), (gst_type_find_helper):
31174         * gst/base/gsttypefindhelper.h:
31175         * gst/elements/Makefile.am:
31176         * gst/elements/gstelements.c:
31177         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31178         (gst_fakesink_get_times), (gst_fakesink_event),
31179         (gst_fakesink_preroll), (gst_fakesink_render):
31180         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31181         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31182         (gst_fakesrc_get_property), (gst_fakesrc_create),
31183         (gst_fakesrc_start), (gst_fakesrc_stop):
31184         * gst/elements/gstfakesrc.h:
31185         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31186         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31187         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31188         (gst_filesrc_create_read), (gst_filesrc_create),
31189         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31190         (gst_filesrc_start):
31191         * gst/elements/gsttypefindelement.c:
31192         (gst_type_find_element_have_type), (gst_type_find_element_init),
31193         (start_typefinding), (stop_typefinding), (push_buffer_store),
31194         (gst_type_find_element_handle_event),
31195         (gst_type_find_element_chain),
31196         (gst_type_find_element_checkgetrange),
31197         (gst_type_find_element_getrange), (do_typefind),
31198         (gst_type_find_element_activate),
31199         (gst_type_find_element_change_state):
31200         * gst/elements/gsttypefindelement.h:
31201         * gst/gstpipeline.c: (pipeline_bus_handler):
31202         Added typefind helper.
31203         Small preroll fix in the base sink.
31204         Disable typefind code in basesrc.
31205         Crude port of typefindelement.
31206         Fakesrc cleanups.
31207
31208
31209 2005-04-11  Wim Taymans  <wim@fluendo.com>
31210
31211         * check/gst/gstbus.c: (gstbus_suite):
31212         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31213         * check/gstcheck.h:
31214           Fix up the timeout so that the test does not fail.
31215
31216 2005-04-06  Wim Taymans  <wim@fluendo.com>
31217
31218         * gst/base/README:
31219         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31220         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31221         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31222         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31223         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31224         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31225         (gst_basesrc_stop), (gst_basesrc_activate),
31226         (gst_basesrc_change_state), (basesrc_find_peek),
31227         (basesrc_find_suggest), (gst_basesrc_type_find):
31228         * gst/base/gstbasesrc.h:
31229         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31230         (gst_filesrc_class_init), (gst_filesrc_init),
31231         (gst_filesrc_finalize), (gst_filesrc_set_location),
31232         (gst_filesrc_set_property), (gst_filesrc_get_property),
31233         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31234         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31235         (gst_filesrc_create_read), (gst_filesrc_create),
31236         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31237         * gst/elements/gstfilesrc.h:
31238         * gst/gstelement.c: (gst_element_get_state_func),
31239         (gst_element_lost_state), (gst_element_pads_activate):
31240         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31241         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31242         (gst_pad_pull_range):
31243         * gst/gstpad.h:
31244         More work on the generic source base class, implement seeking,
31245         query.
31246         Make filesrc extend the base source class.
31247         Added gst_pad_set_checkgetrange_function to GstPad.
31248
31249 2005-04-06  Andy Wingo  <wingo@pobox.com>
31250
31251         * pkgconfig/gstreamer-base.pc.in:
31252         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31253
31254         * pkgconfig/Makefile.am:
31255         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31256
31257 2005-04-04  Wim Taymans  <wim@fluendo.com>
31258
31259         * gst/base/Makefile.am:
31260         * gst/base/README:
31261         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31262         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31263         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31264         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31265         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31266         (gst_basesrc_base_init), (gst_basesrc_class_init),
31267         (gst_basesrc_init), (gst_basesrc_get_formats),
31268         (gst_basesrc_get_query_types), (gst_basesrc_query),
31269         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31270         (gst_basesrc_set_property), (gst_basesrc_get_property),
31271         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31272         (gst_basesrc_loop), (gst_basesrc_activate),
31273         (gst_basesrc_change_state):
31274         * gst/base/gstbasesrc.h:
31275         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31276         (gst_fakesrc_class_init), (gst_fakesrc_init),
31277         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31278         (gst_fakesrc_get_property), (gst_fakesrc_create):
31279         * gst/elements/gstfakesrc.h:
31280         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31281         (gst_filesrc_open_file), (gst_filesrc_loop),
31282         (gst_filesrc_activate), (filesrc_find_peek),
31283         (gst_filesrc_type_find):
31284         Made base source class, make fakesrc extend it.
31285         Add comments to basesink class.
31286         Some filesrc cleanup.
31287
31288 2005-03-31  David Schleef  <ds@schleef.org>
31289
31290         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31291         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31292         expected to link against libgstreamer.
31293         * gst/base/Makefile.am: link against libgstreamer
31294         * gst/elements/Makefile.am: same
31295
31296 2005-03-31  Andy Wingo  <wingo@pobox.com>
31297
31298         * tests/instantiate/Makefile.am:
31299         * tests/instantiate/caps.c: Add test to test speed of caps copy
31300         and free.
31301
31302         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31303         GMemChunk to be fair.
31304
31305         * gst/gsttrashstack.h: Remove warning about using the fallback
31306         trash stack implementation, it's still faster than malloc.
31307
31308 2005-03-30  Andy Wingo  <wingo@pobox.com>
31309
31310         * tests/complexity.c: Add a copyright.
31311
31312 2005-03-31  Wim Taymans  <wim@fluendo.com>
31313
31314         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31315         (gst_base_transform_class_init), (gst_base_transform_init),
31316         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31317         (gst_base_transform_get_property),
31318         (gst_base_transform_sink_activate),
31319         (gst_base_transform_src_activate),
31320         (gst_base_transform_change_state):
31321         * gst/base/gstbasetransform.h:
31322         * gst/elements/gstidentity.c: (gst_identity_class_init),
31323         (gst_identity_event), (gst_identity_check_perfect),
31324         (gst_identity_transform), (gst_identity_start),
31325         (gst_identity_stop):
31326         Added start/stop methods to transform base class so subclasses 
31327         don't need to deal with state changes even.
31328
31329 2005-03-31  Wim Taymans  <wim@fluendo.com>
31330
31331         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31332         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31333         * gst/gstevent.h:
31334         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31335         (gst_pad_pull_range):
31336         Added rate to the discont event to prepare for variable speed
31337         and reverse playback.
31338
31339 2005-03-29  David Schleef  <ds@schleef.org>
31340
31341         * configure.ac:
31342         * testsuite/trigger/Makefile.am:
31343         * testsuite/trigger/trigger.c: A little example program to show
31344         how trigger-based elements can work.
31345
31346 2005-03-29  Wim Taymans  <wim@fluendo.com>
31347
31348         * gst/base/Makefile.am:
31349         * gst/base/README:
31350         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31351         (gst_basesink_base_init), (gst_basesink_class_init),
31352         (gst_basesink_pad_getcaps), (gst_basesink_init),
31353         (gst_basesink_activate), (gst_basesink_change_state):
31354         * gst/base/gstbasesink.h:
31355         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31356         (gst_base_transform_base_init), (gst_base_transform_finalize),
31357         (gst_base_transform_class_init), (gst_base_transform_init),
31358         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31359         (gst_base_transform_event), (gst_base_transform_getrange),
31360         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31361         (gst_base_transform_set_property),
31362         (gst_base_transform_get_property),
31363         (gst_base_transform_sink_activate),
31364         (gst_base_transform_src_activate),
31365         (gst_base_transform_change_state):
31366         * gst/base/gstbasetransform.h:
31367         * gst/elements/gstidentity.c: (gst_identity_finalize),
31368         (gst_identity_class_init), (gst_identity_init),
31369         (gst_identity_event), (gst_identity_check_perfect),
31370         (gst_identity_transform), (gst_identity_set_property),
31371         (gst_identity_get_property), (gst_identity_change_state):
31372         * gst/elements/gstidentity.h:
31373         * gst/gstelement.c: (gst_element_get_state_func),
31374         (gst_element_lost_state), (gst_element_pads_activate):
31375         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31376         (gst_pad_check_pull_range), (gst_pad_pull_range):
31377         * gst/gstpad.h:
31378         Simplify pad activation.
31379         Added function to check if pull_range can be performed.
31380         Error out when pulling inactive or flushing pads.
31381         Removed const from refcounted types as it does not make sense.
31382         Simplify pad templates in basesink
31383         Added base class for simple 1-to-1 transforms.
31384         Make identity subclass the base transform.
31385
31386 2005-03-29  Andy Wingo  <wingo@pobox.com>
31387
31388         * docs/libs/gstreamer-libs-overrides.txt: 
31389         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31390         really don't understand what's going on, but like whatever. I want
31391         green buildbot!
31392
31393         * docs/gst/Makefile.am:
31394         * docs/libs/Makefile.am: Dist the overrides files.
31395
31396         * check/Makefile.am (clean-local): Remove .libs directories.
31397
31398         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31399         elements to EXTRA_DIST, so po/ files are happy.
31400
31401         * po/POTFILES.in: Er, remove it here.
31402
31403         * po/POTFILES: Remove gstspider.c.
31404
31405         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31406
31407         * docs/libs/gstreamer-libs-docs.sgml: 
31408         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31409         bytestream.
31410
31411         * tests/complexity.c (main): Set the length of the preroll queue
31412         on the sinks to prevent a lockup.
31413
31414         * libs/gst/dataprotocol/Makefile.am: 
31415         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31416         the same as the one in check/gst-libs/gdp.c.
31417
31418         * po/, docs/gst/: Commit automatic changes to docs and po files.
31419
31420         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31421         the versioned libgstbase.
31422
31423         * check/Makefile.am: Depend on an unversioned gst-register, seems
31424         to make autoconf happier.
31425
31426         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31427
31428 2005-03-28  Wim Taymans  <wim@fluendo.com>
31429
31430         * configure.ac:
31431         * docs/design/part-gstelement.txt:
31432         * docs/design/part-negotiation.txt:
31433         * docs/design/part-preroll.txt:
31434         * docs/design/part-scheduling.txt:
31435         * docs/design/part-states.txt:
31436         * gst/Makefile.am:
31437         * gst/base/Makefile.am:
31438         * gst/base/README:
31439         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31440         (gst_basesink_base_init), (gst_basesink_class_init),
31441         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31442         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31443         (gst_basesink_set_pad_functions),
31444         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31445         (gst_basesink_set_property), (gst_basesink_get_property),
31446         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31447         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31448         (gst_basesink_preroll_queue_push),
31449         (gst_basesink_preroll_queue_empty),
31450         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31451         (gst_basesink_event), (gst_basesink_get_times),
31452         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31453         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31454         (gst_basesink_loop), (gst_basesink_activate),
31455         (gst_basesink_change_state):
31456         * gst/base/gstbasesink.h:
31457         * gst/elements/Makefile.am:
31458         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31459         (gst_fakesink_class_init), (gst_fakesink_init),
31460         (gst_fakesink_set_property), (gst_fakesink_get_property),
31461         (gst_fakesink_get_times), (gst_fakesink_event),
31462         (gst_fakesink_preroll), (gst_fakesink_render),
31463         (gst_fakesink_change_state):
31464         * gst/elements/gstfakesink.h:
31465         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31466         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31467         * gst/gstelement.c: (gst_element_add_pad),
31468         (gst_element_get_state_func), (gst_element_abort_state),
31469         (gst_element_commit_state), (gst_element_lost_state),
31470         (gst_element_set_state), (gst_element_pads_activate):
31471         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31472         * gst/gstpipeline.c: (gst_pipeline_send_event),
31473         (gst_pipeline_change_state):
31474         Added state change code.
31475         Added/updated docs.
31476         Added sink base class, make fakesink extend the base class.
31477         Small cleanups in GstPipeline.
31478
31479 2005-03-26  David Schleef  <ds@schleef.org>
31480
31481         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31482         is broken and should be implemented in a different library.
31483         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31484         * gst/gst.h: remove gstcpu.h
31485         * gst/gstcpu.c: remove
31486         * gst/gstcpu.h: remove
31487         * gst/Makefile.am.future: Remove this file.  It's ancient.
31488
31489 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31490
31491         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31492         (gst_bin_send_event):
31493           Add default event/set_manager handlers. The set_manager handler
31494           takes care that the manager is distributed over kids that were
31495           already in the bin before the manager was set. The event handler
31496           is a utility virtual function that sends the event over all sinks,
31497           so that gst_element_send_event (bin, event); has the expected
31498           behaviour.
31499         * gst/gstpad.c: (gst_pad_event_default):
31500           Re-install default event handling for discontinuities, so that
31501           seeking works without requiring hacks in applications or extra
31502           code in sinks.
31503         * gst/gstpipeline.c: (gst_pipeline_class_init),
31504         (gst_pipeline_send_event):
31505           Half hack, half utility: set a pipeline to PAUSED for seek events,
31506           since that is the only way we can guarantee a/v sync. Means that
31507           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31508           and it "just works".
31509
31510 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31511
31512         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31513           Lock/unlock mismatch.
31514
31515 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31516
31517         * docs/faq/gst-uninstalled:
31518           add gst-plugins-base
31519         * docs/gst/Makefile.am:
31520           don't error out until docs are fixed
31521         * docs/gst/gstreamer.types:
31522           remove thread
31523
31524 2005-03-22  Wim Taymans  <wim@fluendo.com>
31525
31526         * check/Makefile.am:
31527         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31528         * gst/gststructure.c: (gst_structure_set_valist),
31529         (gst_structure_copy_conditional):
31530         Activated more tests.
31531         Added message test.
31532         Added G_TYPE_POINTER to GstStructure.
31533         
31534
31535 2005-03-22  Wim Taymans  <wim@fluendo.com>
31536
31537         * docs/design/part-TODO.txt:
31538         * docs/design/part-events.txt:
31539         * docs/design/part-gstbin.txt:
31540         * docs/design/part-gstbus.txt:
31541         * docs/design/part-gstpipeline.txt:
31542         * docs/design/part-messages.txt:
31543         * gst/gstbus.c:
31544         * gst/gstmessage.c:
31545         Docs updates
31546
31547 2005-03-21  Wim Taymans  <wim@fluendo.com>
31548
31549         * gst/gstbus.c: (gst_bus_post):
31550         Fix copy-and-paste error.
31551
31552 2005-03-21  Wim Taymans  <wim@fluendo.com>
31553
31554         * check/Makefile.am:
31555         * gst/Makefile.am:
31556         * gst/elements/Makefile.am:
31557         * gst/elements/gstelements.c:
31558         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31559         (gst_fakesink_event), (gst_fakesink_chain):
31560         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31561         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31562         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31563         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31564         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31565         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31566         (gst_fakesrc_loop), (gst_fakesrc_activate),
31567         (gst_fakesrc_change_state):
31568         * gst/elements/gstfakesrc.h:
31569         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31570         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31571         (gst_filesrc_open_file), (gst_filesrc_loop),
31572         (gst_filesrc_activate), (gst_filesrc_change_state),
31573         (filesrc_find_peek), (filesrc_find_suggest),
31574         (gst_filesrc_type_find):
31575         * gst/elements/gstidentity.c: (gst_identity_finalize),
31576         (gst_identity_class_init), (gst_identity_init),
31577         (gst_identity_proxy_getcaps), (identity_queue_push),
31578         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31579         (gst_identity_getrange), (gst_identity_chain),
31580         (gst_identity_sink_loop), (gst_identity_src_loop),
31581         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31582         (gst_identity_set_property), (gst_identity_get_property),
31583         (gst_identity_change_state):
31584         * gst/elements/gstidentity.h:
31585         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31586         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31587         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31588         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31589         (gst_tee_sink_activate):
31590         * gst/elements/gsttee.h:
31591         * gst/gst.c: (gst_register_core_elements), (init_post):
31592         * gst/gst.h:
31593         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31594         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31595         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31596         (gst_bin_change_state):
31597         * gst/gstbin.h:
31598         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31599         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31600         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31601         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31602         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31603         (bus_watch_callback), (bus_watch_destroy),
31604         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31605         (poll_timeout), (gst_bus_poll):
31606         * gst/gstbus.h:
31607         * gst/gstcaps.h:
31608         * gst/gstdata.h:
31609         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31610         (gst_element_post_message), (gst_element_message_full),
31611         (gst_element_get_state_func), (gst_element_get_state),
31612         (gst_element_abort_state), (gst_element_commit_state),
31613         (gst_element_lost_state), (gst_element_set_state),
31614         (gst_element_pads_activate), (gst_element_change_state),
31615         (gst_element_dispose), (gst_element_set_manager_func),
31616         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31617         (gst_element_set_manager), (gst_element_get_manager),
31618         (gst_element_set_bus), (gst_element_get_bus),
31619         (gst_element_set_scheduler), (gst_element_get_scheduler):
31620         * gst/gstelement.h:
31621         * gst/gstevent.c: (gst_event_new_segment_seek),
31622         (gst_event_new_flush):
31623         * gst/gstevent.h:
31624         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31625         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31626         (gst_message_new_eos), (gst_message_new_error),
31627         (gst_message_new_warning), (gst_message_new_tag),
31628         (gst_message_new_state_changed), (gst_message_new_application),
31629         (gst_message_get_structure), (gst_message_parse_tag),
31630         (gst_message_parse_state_changed), (gst_message_parse_error),
31631         (gst_message_parse_warning):
31632         * gst/gstmessage.h:
31633         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31634         (gst_real_pad_set_property), (gst_pad_set_active),
31635         (gst_pad_is_active), (gst_pad_set_blocked_async),
31636         (gst_pad_set_blocked), (gst_pad_is_blocked),
31637         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31638         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31639         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31640         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31641         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31642         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31643         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31644         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31645         (gst_pad_set_caps), (gst_pad_configure_sink),
31646         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31647         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31648         (gst_real_pad_dispose), (gst_real_pad_finalize),
31649         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31650         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31651         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31652         * gst/gstpad.h:
31653         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31654         (pipeline_bus_handler), (gst_pipeline_change_state),
31655         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31656         * gst/gstpipeline.h:
31657         * gst/gstprobe.h:
31658         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31659         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31660         (gst_queue_link_src), (gst_queue_bufferalloc),
31661         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31662         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31663         (gst_queue_loop), (gst_queue_handle_src_event),
31664         (gst_queue_handle_src_query), (gst_queue_src_activate),
31665         (gst_queue_change_state):
31666         * gst/gstqueue.h:
31667         * gst/gstscheduler.c: (gst_scheduler_init),
31668         (gst_scheduler_dispose), (gst_scheduler_create_task),
31669         (gst_scheduler_factory_create):
31670         * gst/gstscheduler.h:
31671         * gst/gststructure.c: (gst_structure_get_type),
31672         (gst_structure_copy_conditional):
31673         * gst/gststructure.h:
31674         * gst/gsttaginterface.h:
31675         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31676         (gst_task_init), (gst_task_dispose), (gst_task_create),
31677         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31678         (gst_task_pause):
31679         * gst/gsttask.h:
31680         * gst/gstthread.c:
31681         * gst/gstthread.h:
31682         * gst/gsttypes.h:
31683         * gst/schedulers/Makefile.am:
31684         * gst/schedulers/cothreads_compat.h:
31685         * gst/schedulers/entryscheduler.c:
31686         * gst/schedulers/faircothreads.c:
31687         * gst/schedulers/faircothreads.h:
31688         * gst/schedulers/fairscheduler.c:
31689         * gst/schedulers/gstbasicscheduler.c:
31690         * gst/schedulers/gstoptimalscheduler.c:
31691         * gst/schedulers/gthread-cothreads.h:
31692         * gst/schedulers/threadscheduler.c:
31693         (gst_thread_scheduler_task_get_type),
31694         (gst_thread_scheduler_task_class_init),
31695         (gst_thread_scheduler_task_init),
31696         (gst_thread_scheduler_task_start),
31697         (gst_thread_scheduler_task_stop),
31698         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31699         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31700         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31701         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31702         (plugin_init):
31703         * libs/gst/Makefile.am:
31704         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31705         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31706         (gst_file_pad_parent_set):
31707         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31708         (gst_dp_event_from_packet):
31709         * tests/complexity.c: (main):
31710         * tests/mass_elements.c: (main):
31711         * testsuite/states/locked.c: (message_received), (main):
31712         * testsuite/states/parent.c: (main):
31713         * tools/gst-inspect.c: (print_element_flag_info),
31714         (print_implementation_info), (print_pad_info):
31715         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31716         (main):
31717         * tools/gst-md5sum.c: (event_loop), (main):
31718         * tools/gst-typefind.c: (main):
31719         * tools/gst-xmlinspect.c: (print_element_info):
31720         Next big merge.
31721         Added GstBus for mainloop integration.
31722         Added GstMessage for sending notifications on the bus.
31723         Added GstTask as an abstraction for pipeline entry points.
31724         Removed GstThread.
31725         Removed Schedulers.
31726         Simplified GstQueue for multithreaded core.
31727         Made _link threadsafe, removed old capsnego.
31728         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31729         Added pad blocking functions.
31730         Reworked scheduling functions in GstPad to prepare for
31731         scheduling updates soon.
31732         Moved events out of data stream.
31733         Simplified GstEvent types.
31734         Added return values to push/pull.
31735         Removed clocking from GstElement.
31736         Added prototypes for state change function for next merge.
31737         Removed iterate from bins and state change management.
31738         Fixed some elements, disabled others for now.
31739         Fixed -inspect and -launch.
31740         Added check for GstBus.
31741
31742 2005-03-10  Wim Taymans  <wim@fluendo.com>
31743
31744         * docs/design/part-MT-refcounting.txt:
31745         * docs/design/part-clocks.txt:
31746         * docs/design/part-gstelement.txt:
31747         * docs/design/part-gstobject.txt:
31748         * docs/design/part-standards.txt:
31749         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31750         (gst_bin_remove_func), (gst_bin_remove):
31751         * gst/gstbin.h:
31752         * gst/gstbuffer.c:
31753         * gst/gstcaps.h:
31754         * testsuite/clock/clock1.c: (main):
31755         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31756         (main):
31757         * testsuite/dlopen/loadgst.c: (do_test):
31758         * testsuite/refcounting/bin.c: (add_remove_test1),
31759         (add_remove_test2), (main):
31760         * testsuite/refcounting/element.c: (main):
31761         * testsuite/refcounting/element_pad.c: (main):
31762         * testsuite/refcounting/pad.c: (main):
31763         * tools/gst-launch.c: (sigint_handler_sighandler):
31764         * tools/gst-typefind.c: (main):
31765         Doc updates.
31766         Added doc about clock.
31767         removed gst_bin_iterate_recurse_up(), marked methods
31768         for removal.
31769         Fix more testsuites.
31770
31771 2005-03-09  Wim Taymans  <wim@fluendo.com>
31772
31773         * gst/gstpad.c: (gst_pad_get_direction),
31774         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31775         (gst_pad_collect_valist):
31776         * testsuite/bins/interface.c: (main):
31777         * testsuite/caps/audioscale.c: (test_caps):
31778         * testsuite/caps/caps.c: (test1), (test2), (test3):
31779         * testsuite/caps/deserialize.c: (main):
31780         * testsuite/caps/enumcaps.c: (main):
31781         * testsuite/caps/filtercaps.c: (main):
31782         * testsuite/caps/intersect2.c: (main):
31783         * testsuite/caps/random.c: (main):
31784         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31785         * testsuite/caps/sets.c: (check_caps):
31786         * testsuite/caps/simplify.c: (check_caps), (main):
31787         * testsuite/caps/subtract.c: (check_caps):
31788         Fix _pad_get_direction wrt ghostpads.
31789         Fix caps testsuite.
31790
31791 2005-03-09  Wim Taymans  <wim@fluendo.com>
31792
31793         * check/Makefile.am:
31794         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31795         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31796         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31797         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31798         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31799         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31800         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31801         (bin_element_is_sink), (gst_bin_iterate_sinks),
31802         (gst_bin_iterate_all_by_interface):
31803         * gst/gstbin.h:
31804         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31805         (gst_element_change_state), (gst_element_dispose),
31806         (gst_element_finalize), (gst_element_set_loop_function):
31807         * gst/gstelement.h:
31808         * gst/gstiterator.c: (find_custom_fold_func):
31809         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31810         (gst_pad_collectv), (gst_pad_collect_valist),
31811         (gst_pad_template_new):
31812         * gst/gstpipeline.c: (gst_pipeline_class_init),
31813         (gst_pipeline_dispose), (gst_pipeline_set_property),
31814         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31815         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31816         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31817         * gst/gstutils.h:
31818         * gst/schedulers/entryscheduler.c:
31819         * gst/schedulers/gstbasicscheduler.c:
31820         (gst_basic_scheduler_cothreaded_chain),
31821         (gst_basic_scheduler_chain_add_element):
31822         * testsuite/bins/interface.c: (main):
31823         Added GstBin test.
31824         Added GstSystemClock test.
31825         Implemented clock distribution code in GstBin.
31826         Implemented iterate sinks method for future use.
31827         Rearranged gstelement.h
31828         Fix GstIterator comparison bug.
31829         Moved some code to GstPipeline, mostly clocking related.
31830
31831 2005-03-09  Wim Taymans  <wim@fluendo.com>
31832
31833         * configure.ac:
31834         * gst/gst_private.h:
31835         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31836         (gst_bin_remove_func), (gst_bin_remove),
31837         (gst_bin_get_by_name_recurse_up):
31838         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31839         (gst_clock_id_compare_func), (gst_clock_id_wait),
31840         (gst_clock_id_wait_async), (gst_clock_init),
31841         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31842         * gst/gstelement.h:
31843         * gst/gstinfo.c: (_gst_debug_init):
31844         * gst/gstobject.h:
31845         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31846         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31847         * gst/gstpad.h:
31848         Bump version number, we're now 0.9.0
31849         Add future debugging category.
31850         Fix NULL _unref() in _get_by_name_recurse_up
31851         Rearrange gstpad.h.
31852         Update some docs.
31853
31854 2005-03-08  Wim Taymans  <wim@fluendo.com>
31855
31856         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31857         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31858         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31859         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31860         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31861         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31862         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31863         * gst/elements/gstidentity.c: (gst_identity_class_init):
31864         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31865         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31866         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31867         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31868         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31869         (gst_tee_link):
31870         * gst/gstelement.c: (gst_element_class_init),
31871         (gst_element_base_class_init), (gst_element_init),
31872         (gst_element_get_random_pad), (gst_element_wait_state_change),
31873         (gst_element_change_state), (gst_element_dispose),
31874         (gst_element_finalize), (gst_element_set_loop_function):
31875         * gst/gstelement.h:
31876         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31877         * gst/gstthread.c: (gst_thread_class_init),
31878         (gst_thread_release_children_locks), (gst_thread_change_state):
31879         * gst/schedulers/gstbasicscheduler.c:
31880         (gst_basic_scheduler_loopfunc_wrapper),
31881         (gst_basic_scheduler_chain_wrapper),
31882         (gst_basic_scheduler_src_wrapper),
31883         (gst_basic_scheduler_remove_element):
31884         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31885         Remove threadsafe properties. Fix elements because GObject
31886         complains when installing a property before declaring a
31887         set/get_property handler.
31888         Rearrange gstelement.h file, use STATE macros for state locks.
31889         Free mutexes in the finalize method instead of dispose.
31890
31891 2005-03-08  Wim Taymans  <wim@fluendo.com>
31892
31893         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31894         * gst/gstthread.c: (gst_thread_release_children_locks):
31895         Added parentage check.
31896         Fix build og GstThread again.
31897
31898 2005-03-08  Wim Taymans  <wim@fluendo.com>
31899
31900         * docs/design/part-MT-refcounting.txt:
31901         * docs/design/part-conventions.txt:
31902         * docs/design/part-gstobject.txt:
31903         * docs/design/part-relations.txt:
31904         * docs/design/part-standards.txt:
31905         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31906         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31907         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31908         (gst_bin_iterate_all_by_interface):
31909         * gst/gstbuffer.h:
31910         * gst/gstclock.h:
31911         * gst/gstelement.c: (gst_element_class_init),
31912         (gst_element_change_state), (gst_element_set_loop_function):
31913         * gst/gstelement.h:
31914         * gst/gstiterator.c:
31915         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31916         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31917         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31918         (gst_object_set_parent), (gst_object_unparent),
31919         (gst_object_check_uniqueness):
31920         * gst/gstobject.h:
31921         Docs updates, clean up some headers.
31922
31923 2005-03-07  Wim Taymans  <wim@fluendo.com>
31924
31925         * check/.cvsignore:
31926         * check/Makefile.am:
31927         * check/gst-libs/.cvsignore:
31928         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31929         * check/gst/.cvsignore:
31930         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31931         (START_TEST), (gstbus_suite), (main):
31932         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31933         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31934         (gst_data_suite), (main):
31935         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31936         (add_fold_func), (gstiterator_suite), (main):
31937         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31938         (thread_name_object), (thread_name_object_default),
31939         (gst_object_name_compare), (gst_object_suite), (main):
31940         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31941         (gst_pad_suite), (main):
31942         * check/gstcheck.c: (gst_check_log_message_func),
31943         (gst_check_log_critical_func), (gst_check_init):
31944         * check/gstcheck.h:
31945         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31946         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31947         Added checks.
31948
31949 2005-03-07  Wim Taymans  <wim@fluendo.com>
31950
31951         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31952         (gst_list_iterator_next), (gst_list_iterator_resync),
31953         (gst_list_iterator_free), (gst_iterator_new_list),
31954         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31955         (gst_iterator_free), (gst_iterator_push), (filter_next),
31956         (filter_resync), (filter_uninit), (filter_free),
31957         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31958         (gst_iterator_foreach), (find_custom_fold_func),
31959         (gst_iterator_find_custom):
31960         * gst/gstiterator.h:
31961         Added missing files.
31962
31963 2005-03-07  Wim Taymans  <wim@fluendo.com>
31964
31965         * Makefile.am:
31966         * configure.ac:
31967         * docs/design/part-MT-refcounting.txt:
31968         * docs/design/part-conventions.txt:
31969         * docs/design/part-gstobject.txt:
31970         * docs/design/part-relations.txt:
31971         * examples/mixer/mixer.c: (main):
31972         * examples/thread/thread.c: (eos), (main):
31973         * gst/Makefile.am:
31974         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31975         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31976         (gst_spider_plug_from_srcpad):
31977         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31978         (gst_spider_identity_change_state),
31979         (gst_spider_identity_sink_loop_type_finding):
31980         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31981         * gst/elements/gstidentity.c: (gst_identity_init):
31982         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31983         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31984         * gst/elements/gsttypefindelement.c: (free_entry):
31985         * gst/gst.c:
31986         * gst/gst.h:
31987         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31988         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31989         (gst_bin_set_index), (gst_bin_set_element_sched),
31990         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31991         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31992         (gst_bin_iterate_elements), (iterate_child_recurse),
31993         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31994         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31995         (compare_interface), (gst_bin_get_by_interface),
31996         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31997         * gst/gstbin.h:
31998         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31999         (gst_buffer_default_free), (gst_buffer_default_copy),
32000         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32001         (gst_buffer_create_sub):
32002         * gst/gstbuffer.h:
32003         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32004         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32005         (gst_caps_unref), (gst_static_caps_get),
32006         (gst_caps_remove_and_get_structure), (gst_caps_append),
32007         (gst_caps_append_structure), (gst_caps_remove_structure),
32008         (gst_caps_copy_nth), (gst_caps_set_simple),
32009         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32010         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32011         (gst_caps_structure_intersect_field), (gst_caps_intersect),
32012         (gst_caps_structure_subtract_field), (gst_caps_subtract),
32013         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32014         (gst_caps_structure_figure_out_union),
32015         (gst_caps_switch_structures), (gst_caps_do_simplify),
32016         (gst_caps_replace), (gst_caps_from_string),
32017         (gst_caps_copy_conditional):
32018         * gst/gstcaps.h:
32019         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32020         (_gst_clock_id_free), (gst_clock_id_unref),
32021         (gst_clock_id_compare_func), (gst_clock_id_wait),
32022         (gst_clock_id_wait_async), (gst_clock_class_init),
32023         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32024         (gst_clock_get_time), (gst_clock_set_time_adjust),
32025         (gst_clock_set_property), (gst_clock_get_property):
32026         * gst/gstclock.h:
32027         * gst/gstcompat.h:
32028         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32029         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32030         * gst/gstdata.h:
32031         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32032         (gst_element_requires_clock), (gst_element_provides_clock),
32033         (gst_element_set_clock), (gst_element_clock_wait),
32034         (gst_element_wait), (gst_element_set_time_delay),
32035         (gst_element_is_indexable), (gst_element_add_pad),
32036         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32037         (pad_compare_name), (gst_element_get_static_pad),
32038         (gst_element_request_pad), (gst_element_get_request_pad),
32039         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32040         (gst_element_class_get_pad_template_list),
32041         (gst_element_class_get_pad_template), (gst_element_error_func),
32042         (gst_element_get_random_pad), (gst_element_get_event_masks),
32043         (gst_element_send_event), (gst_element_seek),
32044         (gst_element_get_query_types), (gst_element_query),
32045         (gst_element_get_formats), (gst_element_convert),
32046         (gst_element_is_locked_state), (gst_element_set_locked_state),
32047         (gst_element_sync_state_with_parent), (gst_element_change_state),
32048         (gst_element_finalize), (gst_element_yield),
32049         (gst_element_interrupt), (gst_element_set_scheduler),
32050         (gst_element_get_scheduler), (gst_element_set_loop_function):
32051         * gst/gstelement.h:
32052         * gst/gstevent.h:
32053         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32054         (gst_format_get_by_nick), (gst_format_get_details),
32055         (gst_format_iterate_definitions):
32056         * gst/gstformat.h:
32057         * gst/gstindex.c: (gst_index_gtype_resolver):
32058         * gst/gstinfo.c:
32059         * gst/gstinfo.h:
32060         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32061         (gst_mem_chunk_free):
32062         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32063         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32064         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32065         (gst_object_dispatch_properties_changed),
32066         (gst_object_set_name_default), (gst_object_set_name),
32067         (gst_object_get_name), (gst_object_set_name_prefix),
32068         (gst_object_get_name_prefix), (gst_object_set_parent),
32069         (gst_object_get_parent), (gst_object_unparent),
32070         (gst_object_check_uniqueness), (gst_object_save_thyself),
32071         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32072         (gst_object_set_property), (gst_object_get_property),
32073         (gst_object_get_path_string):
32074         * gst/gstobject.h:
32075         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32076         (gst_real_pad_init), (gst_real_pad_get_property),
32077         (gst_pad_custom_new), (gst_pad_get_direction),
32078         (gst_pad_set_active), (gst_pad_is_active),
32079         (gst_pad_set_event_function), (gst_pad_is_linked),
32080         (gst_pad_link_free), (gst_pad_link_intersect),
32081         (gst_pad_link_fixate), (gst_pad_set_caps),
32082         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32083         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32084         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32085         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32086         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32087         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32088         (gst_pad_realize), (gst_pad_get_allowed_caps),
32089         (gst_real_pad_dispose), (gst_real_pad_finalize),
32090         (gst_pad_collectv), (gst_pad_collect_valist),
32091         (gst_pad_template_dispose), (gst_pad_template_new),
32092         (gst_pad_get_internal_links):
32093         * gst/gstpad.h:
32094         * gst/gstpipeline.c: (gst_pipeline_dispose),
32095         (gst_pipeline_change_state):
32096         * gst/gstpipeline.h:
32097         * gst/gstplugin.c:
32098         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32099         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32100         * gst/gstpluginfeature.h:
32101         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32102         * gst/gstquery.c: (_gst_query_type_initialize),
32103         (gst_query_type_register), (gst_query_type_get_by_nick),
32104         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32105         * gst/gstquery.h:
32106         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32107         * gst/gstscheduler.c: (gst_scheduler_add_element),
32108         (gst_scheduler_factory_create):
32109         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32110         (gst_structure_free), (gst_structure_set_name),
32111         (gst_structure_id_set_value), (gst_structure_set_value),
32112         (gst_structure_set_valist), (gst_structure_remove_field),
32113         (gst_structure_remove_fields),
32114         (gst_structure_remove_fields_valist),
32115         (gst_structure_remove_all_fields), (gst_structure_foreach),
32116         (gst_structure_map_in_place),
32117         (gst_caps_structure_fixate_field_nearest_int),
32118         (gst_caps_structure_fixate_field_nearest_double):
32119         * gst/gststructure.h:
32120         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32121         (gst_system_clock_init), (gst_system_clock_dispose),
32122         (gst_system_clock_async_thread),
32123         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32124         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32125         * gst/gstsystemclock.h:
32126         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32127         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32128         * gst/gsttaginterface.c:
32129         * gst/gstthread.c: (gst_thread_dispose),
32130         (gst_thread_release_children_locks), (gst_thread_change_state),
32131         (gst_thread_main_loop):
32132         * gst/gsttrashstack.h:
32133         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32134         * gst/gsttypes.h:
32135         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32136         (gst_element_request_pad), (gst_element_get_pad_from_template),
32137         (gst_element_request_compatible_pad),
32138         (gst_element_get_compatible_pad_filtered),
32139         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32140         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32141         (gst_element_link_many), (gst_element_link),
32142         (gst_element_link_pads), (gst_element_unlink_pads),
32143         (gst_element_unlink_many), (gst_element_unlink),
32144         (gst_pad_can_link_filtered), (gst_pad_can_link),
32145         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32146         (gst_object_default_error), (gst_bin_add_many),
32147         (gst_bin_remove_many), (gst_element_populate_std_props),
32148         (gst_element_class_install_std_props), (gst_buffer_merge),
32149         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32150         (link_fold_func), (gst_pad_proxy_setcaps):
32151         * gst/gstutils.h:
32152         * gst/gstvalue.c: (gst_value_deserialize_string):
32153         * gst/parse/grammar.y:
32154         * gst/schedulers/gstbasicscheduler.c:
32155         (gst_basic_scheduler_cothreaded_chain),
32156         (gst_basic_scheduler_chain_recursive_add),
32157         (gst_basic_scheduler_pad_link):
32158         * gst/schedulers/gstoptimalscheduler.c:
32159         (get_group_schedule_function),
32160         (gst_opt_scheduler_state_transition),
32161         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32162         * libs/gst/bytestream/bytestream.c:
32163         * libs/gst/dataprotocol/dataprotocol.c:
32164         (gst_dp_header_from_buffer):
32165         * po/nb.po:
32166         * po/ru.po:
32167         * tests/threadstate/threadstate2.c: (eos):
32168         * tools/gst-compprep.c: (main):
32169         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32170         (print_pad_info), (print_children_info):
32171         * tools/gst-launch.c: (idle_func), (main):
32172         * tools/gst-md5sum.c: (idle_func), (main):
32173         * tools/gst-xmlinspect.c: (print_element_info):
32174         First THREADED backport attempt, focusing on adding locks and
32175         making sure the API is threadsafe. Needs more work. More docs
32176         follow this week.
32177
32178 2005-02-24  Andy Wingo  <wingo@pobox.com>
32179
32180         * tests/bench-complexity.scm:
32181         * tests/complexity.gnuplot: New files, good for running complexity
32182         benchmarks.
32183
32184         * tests/Makefile.am:
32185         * tests/complexity.c: New test, sets up N elements, at each level
32186         teeing into M streams per element. Eeeenteresting.
32187
32188         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32189         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32190         running bench-mass_elements.scm.
32191
32192         * tests/bench-mass_elements.scm: New script, runs mass_elements
32193         for various numbers of identities, outputting the results to a
32194         file. Requires guile 1.6. Just for testing.
32195
32196 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32197
32198         * gst/schedulers/fairscheduler.c:
32199           compile with debug disabled
32200
32201 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32202
32203         * configure.ac:
32204           hunting season on 0.9 is now OPEN